WeKnora/cli/internal/cmdutil
drakezhang a788115ef3 docs(cli): sweep stale wire vocab from AGENTS.md and close the CI gap that let it drift
The v0.9/v0.10 renames left `agent_invoke`, `session continue-stream`, and three
deleted `mcp.*` error codes documented as current, so agents integrating against
AGENTS.md branch on a surface the CLI no longer has.

Two gaps let this drift sit undetected:

- check-skill-wire-vocab.sh already banned every one of these terms, but only
  scanned skills/. The authoritative contract doc that skills are condensed from
  was never checked. Scan AGENTS.md and README.md too, and assert the scan
  targets exist so coverage cannot silently shrink again. CHANGELOG.md stays out
  of scope: recording a rename requires naming the legacy term.
- errors_doc_test.go only verified code -> doc, so a removed code could linger in
  the reference table forever. Add the reverse direction.

Also drops the matching `mcp.*` reference from the ExitCode doc comment.
2026-08-20 18:16:21 +08:00
..
agentconfig.go refactor(cli): envelope sweep — Emit shape, batch ops, MCP StructuredContent, api flag cleanup 2026-05-27 10:56:34 +08:00
agentconfig_test.go chore(cli): polish + docs sync + pre-PR audit fixes 2026-05-16 16:56:33 +08:00
agenthelp.go feat(cli): agent-first WeKnora CLI 2026-07-06 22:53:01 +08:00
agenthelp_test.go feat(cli): --format json default + NDJSON event stream + context→profile cascade + help calibration + docs (BREAKING) 2026-05-27 10:56:34 +08:00
authrefresh.go refactor(cli): finish context→profile cascade + post-review hardening (BREAKING) 2026-05-27 10:56:34 +08:00
authretry.go refactor(cli): finish context→profile cascade + post-review hardening (BREAKING) 2026-05-27 10:56:34 +08:00
authretry_test.go refactor(cli): drop aiclient package; align AGENTS.md with mainstream 2026-05-15 12:03:56 +08:00
batch.go feat(cli)!: v0.10 reliability, agent-UX, and command-surface hardening 2026-07-06 22:53:01 +08:00
batch_test.go feat(cli)!: v0.10 reliability, agent-UX, and command-surface hardening 2026-07-06 22:53:01 +08:00
charcheck.go feat(cli): agent-first WeKnora CLI 2026-07-06 22:53:01 +08:00
charcheck_test.go feat(cli): agent-first WeKnora CLI 2026-07-06 22:53:01 +08:00
confirm.go fix(cli): preserve agent update flags in retry_argv 2026-08-10 19:33:39 +08:00
confirm_test.go fix(cli): preserve agent update flags in retry_argv 2026-08-10 19:33:39 +08:00
dryrun.go feat(cli): agent-first WeKnora CLI 2026-07-06 22:53:01 +08:00
dryrun_test.go feat(cli): agent-first WeKnora CLI 2026-07-06 22:53:01 +08:00
errors.go feat(cli)!: v0.10 reliability, agent-UX, and command-surface hardening 2026-07-06 22:53:01 +08:00
errors_codes_test.go refactor(cli): drop aiclient package; align AGENTS.md with mainstream 2026-05-15 12:03:56 +08:00
errors_doc_test.go docs(cli): sweep stale wire vocab from AGENTS.md and close the CI gap that let it drift 2026-08-20 18:16:21 +08:00
errors_retry_test.go feat(cli)!: v0.10 reliability, agent-UX, and command-surface hardening 2026-07-06 22:53:01 +08:00
errors_test.go fix(cli): align stream error handling after output-mode merge 2026-07-03 00:30:34 +08:00
exit.go docs(cli): sweep stale wire vocab from AGENTS.md and close the CI gap that let it drift 2026-08-20 18:16:21 +08:00
exit_test.go feat(cli): agent-first WeKnora CLI 2026-07-06 22:53:01 +08:00
factory.go feat(cli)!: v0.10 reliability, agent-UX, and command-surface hardening 2026-07-06 22:53:01 +08:00
factory_test.go feat(cli)!: v0.10 reliability, agent-UX, and command-surface hardening 2026-07-06 22:53:01 +08:00
format.go feat(cli)!: v0.10 reliability, agent-UX, and command-surface hardening 2026-07-06 22:53:01 +08:00
format_envelope_test.go feat(cli): agent-first WeKnora CLI 2026-07-06 22:53:01 +08:00
format_test.go feat(cli)!: v0.10 reliability, agent-UX, and command-surface hardening 2026-07-06 22:53:01 +08:00
host.go refactor(cli): drop aiclient package; align AGENTS.md with mainstream 2026-05-15 12:03:56 +08:00
input.go feat(cli): agent-first WeKnora CLI 2026-07-06 22:53:01 +08:00
input_test.go feat(cli): agent-first WeKnora CLI 2026-07-06 22:53:01 +08:00
kb.go refactor(cli): drop aiclient package; align AGENTS.md with mainstream 2026-05-15 12:03:56 +08:00
loglevel.go refactor(cli): envelope sweep — Emit shape, batch ops, MCP StructuredContent, api flag cleanup 2026-05-27 10:56:34 +08:00
loglevel_test.go feat(cli): --log-level + kb/agent status & check + cross-cutting refactor 2026-05-18 11:10:19 +08:00
model.go feat(cli): agent-first WeKnora CLI 2026-07-06 22:53:01 +08:00
model_test.go feat(cli): agent-first WeKnora CLI 2026-07-06 22:53:01 +08:00
profilename.go feat(cli): agent-first WeKnora CLI 2026-07-06 22:53:01 +08:00
profilename_test.go feat(cli)!: v0.10 reliability, agent-UX, and command-surface hardening 2026-07-06 22:53:01 +08:00
risk.go feat(cli)!: v0.10 reliability, agent-UX, and command-surface hardening 2026-07-06 22:53:01 +08:00
risk_help_test.go feat(cli): --dry-run + risk metadata + validation parity on 19 mutations 2026-05-28 19:29:50 +08:00
risk_test.go feat(cli): --dry-run + risk metadata + validation parity on 19 mutations 2026-05-28 19:29:50 +08:00
suggest.go feat(cli): agent-first WeKnora CLI 2026-07-06 22:53:01 +08:00
suggest_test.go feat(cli): agent-first WeKnora CLI 2026-07-06 22:53:01 +08:00