Skip to content

docs: fix CLI reference drift in README and AGENTS.md#128

Merged
mrwadams merged 1 commit into
masterfrom
docs/doc-review-fixes
Jun 27, 2026
Merged

docs: fix CLI reference drift in README and AGENTS.md#128
mrwadams merged 1 commit into
masterfrom
docs/doc-review-fixes

Conversation

@mrwadams

Copy link
Copy Markdown
Owner

Summary

Doc-review audit of the docs against the actual code surfaced a cluster of drift in the README's CLI reference plus a stale card list in AGENTS.md. Every fix here was verified against the code/config — no speculative changes.

High — documented invocations that would error

  • --model flag doesn't exist. The analyze example and Common-flags table used --model; the CLI actually exposes two tiers, --worker-model and --architect-model. Updated the example and split the table row in two.
  • stride-gpt config isn't a command. Only analyze/quick/reports are real subcommands; config lives at /config inside the REPL. Reworded the install step.

Medium

  • Bogus [ui] pip extra in the repo-layout note — pyproject.toml defines no extras; the web UI installs via apps/web/requirements.txt.
  • Stale model versions — Features list and example ids said GPT-5.2 / Claude 4.5; the catalogue ships GPT-5.4/5.5 and Claude 4.6/4.8 (models.py).
  • Dead TOC anchors#star-the-repo (section is now "Support the Project") and #roadmap (no such section).
  • AGENTS.md card catalogue omitted the mitre_enterprise and mitre_atlas reference cards shipped in 0.17.

Low

  • TOC also missing the "Repository layout" and "Security Best Practices" sections — rebuilt the TOC to match the real heading set.

Changelog history (the v0.15 entries mentioning GPT-5.2 / Claude 4.5) was intentionally left frozen.

Test plan

  • Docs-only change; no code touched.
  • Verified every replacement against stride_gpt/cli.py, stride_gpt/models.py, pyproject.toml, and the core/prompts/threat_model/ card directory.
  • Grep confirms no stale tokens remain outside the frozen changelog.

🤖 Generated with Claude Code

Audited the docs against the code and corrected verified drift:

- README: replace non-existent `--model` flag with the real
  `--worker-model` / `--architect-model` options in the analyze
  example and the Common flags table.
- README: `stride-gpt config` isn't a command — point users at the
  REPL `/config` instead.
- README: drop the bogus `[ui]` pip extra claim; the web UI installs
  via apps/web/requirements.txt.
- README: refresh stale model versions (GPT-5.4/5.5, Claude 4.6/4.8)
  in the Features list and example model ids.
- README: rebuild the Table of Contents — fix the dead "Star the Repo"
  and "Roadmap" anchors, add the missing "Repository layout" and
  "Security Best Practices" entries.
- AGENTS.md: add the mitre_enterprise and mitre_atlas reference cards
  (shipped in 0.17) to the layout tree and card catalogue.
- .gitignore: keep the local doc-review.html report out of VC.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@mrwadams mrwadams merged commit bf7bd1a into master Jun 27, 2026
8 checks passed
@mrwadams mrwadams deleted the docs/doc-review-fixes branch June 27, 2026 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant