Skip to content

docs: fix three documentation drifts and declare what verifies each doc - #42

Merged
myagentdojo merged 5 commits into
mainfrom
fix/readme-skill-inventory
Aug 13, 2026
Merged

myagentdojo merged 5 commits into
mainfrom
fix/readme-skill-inventory

Conversation

@myagentdojo

@myagentdojo myagentdojo commented Aug 13, 2026 •

Copy link
Copy Markdown
Owner

What

Three drift fixes plus a manifest that makes future drift findable.

Fixes

  • README.md:136 — architecture tree listed four skills; plugin/skills/ has five. capability-tour shipped in feat: add native plugin capability tour with lifecycle hook proof #34 without updating the diagram.
  • README.md proof commands — omitted prove:harness-install, the only prove:* script missing from the list. It runs inside prove:all and is the named authority in docs/native-capability-qualification.md.
  • plugin/skills/capability-tour/SKILL.md:42 — enumerates the portable skills in prose with nothing generating it. Adds a test deriving the expected inventory from plugin/skills/ and runtime/skill-catalog.json.

New

  • docs/agents/doc-targets.yml — maps each doc to the artifact that settles its claims.

Why the manifest

Four docs specify .github/workflows/*.yml behaviour in roughly 130 assertions between them. An audit that isn't told where to look reads the top-level docs and never opens release.yml, so those claims go unchecked while the run reports clean.

It also declares what this repo cannot check about itself. docs/installing.md is ~90 claims about external Claude and Codex CLI surface; native-capability-qualification.md rests on human receipts; canary-qualification.md needs a hosted run. Scanning those returns nothing whether they are accurate or wrong, so they are marked unverifiable and reported rather than silently passing.

Superseded ADRs 0002 and 0004 and docs/plans/ are frozen — they record history correctly.

Verification

  • Full suite: 595 pass, 3 skip, 0 fail
  • bun run generate:check: generated files current
  • The inventory guard is sensitivity-proven: planting a sixth skill directory turns it RED on the missing name; removing it returns GREEN
  • Every path in the manifest verified to resolve

Notes

No file overlap with #41 — disjoint sets, both can land independently.

The three fixes were found by running a documentation-drift audit against this repo. Two of them are the same defect class: a prose enumeration with no generator behind it. The new test closes that class for capability-tour; README.md:136 remains unguarded and is a reasonable follow-up.

Summary by CodeRabbit

  • Documentation

    • Updated the architecture documentation to include the capability tour and all shipped skill and launcher entries.
    • Documented the native installation proof command, including its validation scope and limitations.
    • Added guidance for identifying documentation sources and claims that are unverifiable or historically frozen.
  • Tests

    • Added regression coverage for capability listings and runtime versus model-only capabilities.
    • Added validation to keep the README architecture tree aligned with shipped artifacts.

The "Architecture at a glance" tree enumerated four skills; plugin/skills/
has five. capability-tour shipped in #34 without updating the diagram.

The line is an exhaustive list, not shorthand: e927c24 (#22) expanded it from
one entry to four when skills were added, and the sibling bin/ line enumerates
all three files in plugin/bin/. The same README already depends on
capability-tour as an existing feature further down.
Two findings from a full doc-surface audit.

README's proof-command list omitted `prove:harness-install`, the only prove:*
script missing from it. It runs inside `prove:all` and is the named authority
in docs/native-capability-qualification.md for package, declaration, and
installed-byte proof.

capability-tour/SKILL.md enumerates the portable skills in prose with no
generation step behind it, so a new skill silently falsifies the line. That is
the same drift that left capability-tour out of README's architecture tree
until 24102bc. Adds a test deriving the expected inventory from
plugin/skills/ and runtime/skill-catalog.json.

Sensitivity proven: planting a sixth skill directory turns the guard RED on the
missing name; removing it returns GREEN.
Maps each doc to the artifact that settles its claims, so a docs audit reads
release.yml when checking publishing.md instead of hoping a scanner finds it.
Four docs specify workflow behaviour in roughly 130 assertions between them;
without the map those go unread.

Also declares what this repo cannot check about itself. installing.md is ~90
claims about external Claude and Codex CLI surface, native-capability-
qualification.md rests on human receipts, canary-qualification.md needs a
hosted run. Scanning those returns nothing whether they are accurate or wrong,
so they are marked unverifiable and reported rather than silently passing.

Superseded ADRs 0002 and 0004 and docs/plans/ are frozen - they record history
correctly.

Consumed by the docs-drift skill. Every path verified to resolve.
@myagentdojo
myagentdojo deployed to hosted-canary-qualification August 13, 2026 03:57 — with GitHub Actions Active
@coderabbitai

coderabbitai Bot commented Aug 13, 2026 •

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 7f6520fe-59ca-40dc-b641-b34db37a7dad

📥 Commits

Reviewing files that changed from the base of the PR and between d8aecb3 and 03195ec.

📒 Files selected for processing (2)
  • docs/agents/doc-targets.yml
  • scripts/native-capability-surface.test.ts
🚧 Files skipped from review as they are similar to previous changes (2)
  • scripts/native-capability-surface.test.ts
  • docs/agents/doc-targets.yml

📝 Walkthrough

Walkthrough

Changes

Capability documentation

Layer / File(s) Summary
Documentation targets and capability references
README.md, docs/agents/doc-targets.yml
The README documents capability-tour and prove:harness-install. The new configuration maps documentation claims to repository artifacts and identifies unverifiable or frozen content.
Capability inventory and README validation
scripts/native-capability-surface.test.ts, scripts/readme-release-pin.test.ts
The tests derive shipped skills and launcher files. They verify the capability-tour inventory, tier counts, and README architecture tree.

Estimated code review effort: 2 (Simple) | ~10 minutes

Mergeability Score: ⚪ Minimal · up to 03195

This PR updates documentation and drift-detection tests without introducing an actionable merge-blocking risk; it is merge-ready after normal checks and review.

Possibly related PRs

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes the three documentation fixes and the addition of verification declarations.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/readme-skill-inventory

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@docs/agents/doc-targets.yml`:
- Around line 67-70: Update the README.md target in the documentation targets
configuration to include plugin/skills/capability-tour/SKILL.md and
scripts/prove-harness-install.ts as primary artifacts. If README validation
covers the full architecture tree, also add the primary artifacts for its
remaining entries, preserving the existing package.json and
runtime/runtime.lock.json entries.

In `@scripts/native-capability-surface.test.ts`:
- Around line 191-205: Strengthen the inventory assertions around the
portable-skills prose: parse all backticked skill identifiers from inventory and
require the exact set to equal shipped, rejecting extra or missing names. Split
the parsed identifiers into the Bun-backed prefix and model-only suffix, and
assert those groups exactly match bunBacked and modelOnly respectively; also
verify every catalog skill is present in shipped.
🪄 Autofix

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 5a7b0d03-b167-4fb4-83f6-dc631c68d419

📥 Commits

Reviewing files that changed from the base of the PR and between a14667f and f2d25db.

📒 Files selected for processing (3)
  • README.md
  • docs/agents/doc-targets.yml
  • scripts/native-capability-surface.test.ts

Comment thread docs/agents/doc-targets.yml
Comment thread scripts/native-capability-surface.test.ts Outdated
…rift

The tree enumerates every skill and launcher by hand with nothing generating
those lines, which is how capability-tour stayed missing between #34 and
24102bc. Derives both expected lists from plugin/skills/ and plugin/bin/.

Closes the same defect class the capability-tour inventory guard covers in
e4c6ea4; the README half was left open there.

Sensitivity proven both ways: planting a sixth skill directory turns it RED on
the skills line, planting a fourth launcher turns it RED on the bin line, and
removing each returns GREEN.
@myagentdojo
myagentdojo deployed to hosted-canary-qualification August 13, 2026 04:37 — with GitHub Actions Active
- Parse the skill inventory instead of probing for each name. The containment
  loop passed while the prose named a skill that does not ship, and passed with
  a model-only skill inside the Bun-backed prefix; both reproduced before the
  change and both now fail. Also asserts every catalog entry ships, which is
  drift in the other direction.
- Add plugin/skills/capability-tour/SKILL.md and scripts/prove-harness-install.ts
  to the README manifest entry. The architecture tree claims capability-tour
  ships and the proof list describes what prove:harness-install checks; neither
  package.json nor runtime.lock.json can settle those.
@myagentdojo
myagentdojo deployed to hosted-canary-qualification August 13, 2026 10:03 — with GitHub Actions Active
@myagentdojo
myagentdojo merged commit f06ad99 into main Aug 13, 2026
20 checks passed

This branch was successfully deployed

1 active deployment
hosted-canary-qualification — 03195ec8 Deployed Aug 13, 2026 by myagentdojo via Qualify immutable hosted candidates #134
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.

2 participants