Skip to content

docs: refresh AnaDocs for 1.3.0#337

Merged
rpatricksmith merged 2 commits into
mainfrom
feature/anadocs-1.3.0-refresh
Jul 1, 2026
Merged

docs: refresh AnaDocs for 1.3.0#337
rpatricksmith merged 2 commits into
mainfrom
feature/anadocs-1.3.0-refresh

Conversation

@rpatricksmith

Copy link
Copy Markdown
Collaborator

What

Brings AnaDocs current with the 1.3.0 release. Every change was first surfaced by a docs-staleness sweep, then independently re-validated against the source (15 confirmed / 4 partial / 1 refuted) — only the survivors are here.

How it was scoped

  1. A reviewer wave checked each concept/guide page against the 1.3.0 shipped code → 22 findings.
  2. An adversarial validation pass re-derived each finding with fresh file:line evidence and refuted the overreaches. Notably:
    • Dropped a refuted finding (a quickstart field list, not staleness).
    • Corrected the ana doctor count to 6 graded dimensions + 1 enforcement readout (the finding's "seven" was wrong).
    • Corrected the claim that verify_report.md is gated — only the build save gates; verify carries a marker but is never gated.

Changes

Correctness (doc contradicted the engine)

  • scan.mdx: real application-shape set (web-app, api-server, full-stack, cli, library, mobile-app, worker, mcp-server, ai-agent + unknown); shape is detected from the primary package, not by counting surfaces. Removed invented desktop/monorepo/static-site.
  • start.mdx + troubleshooting.mdx: ana doctor is six graded dimensions plus an enforcement readout (was "five").

Command surface (missing from references)

  • extract-docs-data.ts: add Run/Plan/Test to the extraction map so ana run, ana plan (incl. ana plan coverage), and ana test render in the CLI reference (now 41 commands). Code fix — separate commit.
  • toolbelt.mdx: add ana plan coverage; build/verify run ana test --stage build|verify.

1.3.0 mechanisms (undocumented)

  • toolbelt.mdx / artifacts.mdx: ana test seals captured evidence; the build-report save is gated by testEvidenceGate (verify is not).
  • troubleshooting.mdx: new card for the test-evidence-gate hard-block.
  • artifacts.mdx: per-session provenance/ + compliance/ JSON records.
  • reading-a-proof.mdx: new Provenance and Session Attestation walkthrough sections; regenerated the stale terminal mockup to the current render.
  • pipeline.mdx / verifying-changes.mdx: ana proof context now returns findings + "Shaped by" + "Also changes with"; documented the AC coverage map (two gates) and the contract-derived, non-forgeable verdict.
  • Removed stale "phase checklist" references (the plan.md checkbox was removed in 1.3.0).

Validation

  • pnpm typecheck ✓ · pnpm build ✓ (full MDX compile + prerender)
  • Confirmed run/plan/test/coverage now render in the generated reference.
  • Website deploys via Vercel, independent of the CLI release — no CHANGELOG entry needed.

Notes / follow-ups (not in this PR)

  • A standalone concepts/attestation.mdx page was recommended by the sweep but not created here — the attestation content is folded into existing pages for now. Easy to extract later if it grows.
  • Optional hardening (error when a registered command has no extraction-map entry) was skipped to avoid breaking on the intentionally-hidden _capture command.

🤖 Generated with Claude Code

rpatricksmith and others added 2 commits June 28, 2026 23:58
The funcToFile map in extract-docs-data.ts omitted Run, Plan, and Test,
so `ana run`, the `ana plan` group (incl. `ana plan coverage`), and
`ana test` never rendered on the docs CLI reference and the command
count was undercounted. Add the three entries; Capture stays excluded
(intentionally hidden). Regenerated reference now lists 41 commands.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Bring AnaDocs current with the 1.3.0 release, verified against source:

- scan.mdx: correct the application-shape taxonomy (was inventing
  desktop/monorepo/static-site and misnaming three); shape is detected
  from the primary package, not by counting surfaces.
- start/troubleshooting: `ana doctor` is six graded dimensions + an
  enforcement readout (was "five"); add a test-evidence-gate hard-block
  troubleshooting card; mention `ana plan coverage`.
- toolbelt: add `ana plan coverage`; build/verify run `ana test --stage`
  (sealed, gated by testEvidenceGate); "phase checklists" -> Phases
  section with spec references (checkbox removed).
- pipeline/verifying-changes: `ana proof context` returns findings +
  "Shaped by" + "Also changes with"; document the AC coverage map / two
  gates and the contract-derived (non-forgeable) verdict.
- artifacts: per-session provenance/ + compliance/ JSON records; sealed
  ana test marker is the test evidence (build save gates, verify never).
- reading-a-proof: regenerate the stale terminal mockup to the current
  render; add Provenance and Session Attestation walkthrough sections.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 29, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
anatomia Ready Ready Preview, Comment Jun 29, 2026 5:59am

Request Review

@rpatricksmith rpatricksmith merged commit 94d8348 into main Jul 1, 2026
5 checks passed
@rpatricksmith rpatricksmith deleted the feature/anadocs-1.3.0-refresh branch July 1, 2026 03:14
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