Commit 7053d7b
committed
fix(skills): monit cards invoked four nonexistent tools
`monit-agent.md` ran `host.top` / `host.disk` and `monit.md` ran `host.cpu` /
`host.mem`. None of the four exist. monit-agent v0.0.7 registers exactly:
host → os.overview, os.top_processes, net.tcp_ping, http.get, shell.exec;
mysql → mysql.overview, mysql.lock_contention, mysql.query.
An agent copying these gets `unknown_tool`, and the `host.top` example also
passed `limit`, which is not a parameter of anything (`os.top_processes` takes
`top_n` / `sort_by`, and the agent validates with `additionalProperties:false`,
so a wrong key is a hard `invalid_args`, not a silent no-op).
The generated help in this repo (zz_generated_diagnostics.go,
zz_generated_response_help.go) was already correct — only these hand-written
cards drifted, because nothing checks their JSON bodies against the registry.
Replacements verified live against a real dev target. Deliberately kept
separate from the SDK-bump branch so it can land without waiting on that.1 parent d1e052f commit 7053d7b
2 files changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| |||
0 commit comments