Gap detection and verifier creation. Reports tools without verifier coverage, suggests verifiers by output group, generates verifier stubs and barrel registration.
Scan the tool registry for tools without verifier coverage, then generate verifier stubs for each gap.
Read tools/index.js to list all registered tools.
Read verification/index.js (or verifiers/index.js) to list all registered verifiers.
A verifier gap exists when a tool name has no corresponding verifier registration.
Print a gap table: | Tool | Has Verifier? | |------|--------------| | get_portfolio_value | ✗ MISSING | | list_accounts | ✓ |
If no gaps, print "All tools have verifier coverage." and stop.
List the tools with missing verifiers. Ask the user which ones to generate stubs for (default: all).
For each selected tool, generate verification/<name>.verifier.js:
/**
* Verifier for <tool_name>.
* Called after every tool execution with (args, result).
* Return: { outcome: 'pass'|'warn'|'block', message: string|null }
*/
export const <camelCaseName>Verifier = {
name: '<name>_verifier',
// Tools this verifier applies to ('*' for all tools)
tools: ['<tool_name>'],
async verify(args, result) {
// TODO: implement verification logic
// Common checks:
// - result.status === 200 (HTTP success)
// - required fields present in result.body
// - no negative values for financial amounts
// - data freshness (timestamp within acceptable window)
if (result.error) {
return { outcome: 'warn', message: `Tool returned error: ${result.error}` };
}
return { outcome: 'pass', message: null };
}
};
Add export lines to verification/index.js (create if absent):
export { <camelCaseName>Verifier } from './<name>.verifier.js';
Print:
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer