Repository navigation
fix(cli): neutral send_feedback description and mcp docs drift test - #587
Conversation
…inst drift Signed-off-by: Nik Cubrilovic <[email protected]>
|
Reviewed the diff. I found no blocking issues. The description change is accurate and the new tests are a useful guard. I did not run the tests myself.
|
|
Status: ready for review. All 15 checks pass, including the secret scan. The bot review found no critical, high or medium issues (one low and three nits, left as is), so no fix round was needed. One open item outside this PR: |
|
Reviewed the diff: description rewrite, new
The change is small and the tests are reasonable. The docs-vs- |
There is no issue for this change, so the criteria below come from the task brief and there is no issue to reference.
Acceptance criteria
apps/cli/src/mcp/tools/feedback-tools.ts;tests/mcp/docs-sync.test.ts("never instruct the model to call a tool unprompted", "send_feedback says what it does and when a user wants it").tests/mcp/docs-sync.test.ts("carry no plan or upgrade pitch") runs over every tool the CLI server lists.squirrel mcpserver does not registerget_credit_balance. It exists only on the hosted server, whose source is not in this repo. The hosted tools table indocs/developers/mcp.mdxalready describes it in one neutral line ("Monthly and pack credit buckets for the org."), so there is nothing to change here. The hosted description needs the same rewrite where that code lives.tests/mcp/docs-sync.test.ts("lists exactly the tools the server exposes, once each") fails if a tool is added or removed without a row.tests/mcp/server.test.tstreats send_feedback as an unauthenticated tool, since its old description only passed the auth-note check by accident (the word "session").bun testfordocs-sync,feedback-tools,server(20 pass);bun run typecheck,lint, rootformat:checkclean;make validatein docs passes. The secret-scan hook (detect-secrets) is not installed in this environment, so it was not run; the diff adds no secrets.Agent skill
The squirrelscan agent skill does not need a change: no tool name, argument or behavior changed, only the send_feedback description text.