docs: apply repo-wide progressive-disclosure audit treatments - #3386
Conversation
…ngs, wave 1 From the repo-wide /docs-hygiene:audit-progressive-disclosure run: - autonomy:setup: direct hub pointers to the 5 template files its context slices require (return-capture, isolation-probe, routine-definitions, trigger-adapters, ack-reply), removing all 2-3 hop required-reading chains - session-flow: Contents sections for README.md and reference/structure.md - source-control: Contents sections for README.md and reference/review-discipline.md; orientation block with a grep recipe for the heading-less skills/setup/reference/apply-convention.md - discipline, guardrails: Contents sections for both 450+ line READMEs Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013R8BNLHSBTrQXAiJU7RLYe
… wave 2 - claude-ops:observability: direct conditioned hub rows for the three operator-setup context files previously reachable only via 2-hop chains - claude-memory:audit: direct hub pointer to the stateless status.md file criteria.md names as the only correct resolution path; Contents section for the 449-line criteria.md - claude-config: Contents sections for the 1741-line audit-instructions criteria.md (with per-ID grep recipe) and audit-pass run-state-and-resumability.md - claude-ops: Contents section for the 363-line README Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013R8BNLHSBTrQXAiJU7RLYe
- setup, track, triage, work hubs: direct conditioned pointers to the shared reference files their spokes require (tracker-seam, capability-tier-labels, label-taxonomy, issue-conventions, agent-brief, standing-item-preconditions, work-class-labels), removing the 11 verified 2-hop required-reading chains - work-item-tracker CONTRACT.md (769 lines) and adapters/github/README.md (422 lines): Contents sections Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013R8BNLHSBTrQXAiJU7RLYe
… wave 4 Contents sections for docs/CLOUD-SESSIONS.md, 12 docs/topics PLAN and design records over 300 lines, and prompts/loops/loop-lane-prompts.md (1197 lines). Also extends the existing loop-lane-profile Contents to index its five h3 copy-block targets. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013R8BNLHSBTrQXAiJU7RLYe
Consensus-approved Tier-2 treatments (2-of-3 across two independent reviewer models and the orchestrating session): - machine-health audit README: maintainer pointers for the orphaned correlation-rules.md and testing.md shared references - topic-docs convention README: link the worked-slice example file with a read-when clause instead of naming only its directory - discovery:trace-intent: the sibling-phrased topic-docs binding pointer its hub was missing - work-items:track: widen the label-taxonomy condition to list --category Refs #3385 Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013R8BNLHSBTrQXAiJU7RLYe
…n-clauses, T2 wave 2 Consensus-approved Tier-2 treatments in autonomy:setup: - direct conditioned pointers to the guardrails admission-policy and work-classes leaves (parity with verification-topology) and to the runner lifecycle and topology leaves (parity with escalation) - the guardrails.md and routines.md pointers now name those files as the indexes they are, with read conditions - four bare pointers (capture-slice, trigger-dispatch-slice, prerequisite-resolution-slice, ci-otlp-artifact template) standardized to the conditioned "when apply reaches" form the other slices use Refs #3385 Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013R8BNLHSBTrQXAiJU7RLYe
…ning/discovery sections, T2 wave 3 Consensus-approved Tier-2 treatments: - source-control:babysit-prs: the Guarded mutations section now carries the operative invariants and mode selection plus one conditioned pointer; exact flag documentation is deduped into its declared single home, skills/babysit-prs/reference/safety.md, with a per-flag disposition check that first added the handful of semantics safety.md was missing (merge-form self-logins composition, --admin bound, merge-gate evaluation set, action vocabulary) - planning:plan: the argument-gated Plan Review Mode and close-out procedure move verbatim to context/review-mode.md and context/close-out.md behind their router rows - planning:interview: the two exclusively-relentless paragraphs move to context/relentless-mode.md; the per-question template stays inline because every questioning mode uses it - discovery research/explore: by-value exception binding conditions move into each skill's existing dispatch spoke; envelopes, preload tokens, and acceptance gates stay inline (preload tokens verified byte-identical) Refs #3385 Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013R8BNLHSBTrQXAiJU7RLYe
…tall procedures, T2 wave 4 Consensus-approved Tier-2 treatments: - songwriting:suno: the Confidence flags section keeps rung definitions, current labels, and the generation rule; dated claim-audit narratives merge into reference/suno-drift-audit-ledger.md (S11 updated, S19 and S20 added) behind a hub pointer - guardrails:setup: the two opt-in install procedures move verbatim to context/install-commit-msg.md and context/install-pre-commit-content.md; the hub keeps each procedure's summary, its never-from-bare-apply guard, and a conditioned pointer Refs #3385 Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013R8BNLHSBTrQXAiJU7RLYe
|
Claude finished @kyle-sexton's task in 4m 12s —— View job Code review (
|
|
Claude finished @kyle-sexton's task in 2m 7s —— View job Security review complete
Scope confirmed: all 54 changed files are Markdown ( What the diff actually does:
Security-adjacent surfaces specifically diffed line-by-line, since this repo's docs are literal agent instructions:
No secrets, credentials, tokens, or executable content were added. No No security findings. |
…entries The changelog-parity gate requires a manifest bump and a new CHANGELOG release entry whenever shipped plugin files change. Adds a patch bump and an entry describing the progressive-disclosure treatments for autonomy, claude-config, claude-memory, claude-ops, discipline, discovery, guardrails, machine-health, planning, session-flow, songwriting, source-control, and work-items. Refs #3385 Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013R8BNLHSBTrQXAiJU7RLYe
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 3ea4106a73
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Last security-reviewed head: |
|
Claude finished @kyle-sexton's task in 1m 58s —— View job Security review
Scope confirmed: all 80 changed files are documentation ( What I checked:
Result: no security findings. This is a behavior-preserving documentation reorganization; the safety-critical guard text (guardrails hook installers, babysit-prs merge/resolve gates) was moved intact, not altered. |
|
Claude has reviewed this PR 4 times. The lane skips further automatic reviews after 5; deleting this comment resets the count. |
|
Claude finished @kyle-sexton's task in 3m 48s —— View job Code review (
|
…abysit-prs The skill-contract tests pin the exact merge-form invocation (--merge --expected-head <vetted-head-sha>) and the missing/stale-pin refusal wording inside the Merge readiness paragraph; the flag dedupe had reworded them into prose. Restores the pinned phrases inline while keeping flag detail deduped to reference/safety.md. Refs #3385 Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013R8BNLHSBTrQXAiJU7RLYe
|
Claude finished @kyle-sexton's task in 53s —— View job Security review
Skip gate hit: this head ( Summary of that prior finding, for reference: all 80 changed files are documentation ( If you'd like a fresh full re-review anyway (e.g. because you don't trust the prior pass), delete the "Last security-reviewed head" gate comment on this PR and re-trigger, or just ask me directly and I'll bypass the skip gate. |
|
Claude finished @kyle-sexton's task in 3m 21s —— View job Code review (
|
…igest
- claude-config audit-instructions criteria.md and source-control
apply-convention.md: anchor the new grep lookup recipes at
${CLAUDE_PLUGIN_ROOT} so they work from any caller cwd (Codex P2 x2)
- discovery research/explore dispatch spokes: drop the moved by-value
paragraphs that restated rules the spokes already carried; the net-new
topic-docs pointer folds into the retained paragraph (review finding)
- planning interview-defenses test: update the Stance-section digest per
the test's own procedure; the extracted relentless-mode paragraphs live
verbatim in context/relentless-mode.md behind a mandatory
read-before-first-round pointer, and every defense-wording assertion
still passes (89/89)
Refs #3385
Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013R8BNLHSBTrQXAiJU7RLYe
…udit-eatdq9 # Conflicts: # plugins/claude-config/CHANGELOG.md # plugins/claude-ops/CHANGELOG.md # plugins/discipline/CHANGELOG.md # plugins/machine-health/CHANGELOG.md # plugins/session-flow/CHANGELOG.md # plugins/source-control/CHANGELOG.md # plugins/work-items/CHANGELOG.md
|
Claude finished @kyle-sexton's task in 2m 35s —— View job Code review (
|
|
Claude finished @kyle-sexton's task in 1m 10s —— View job Security review
Skip gate hit: the last full security review on this PR ran at head
All five changed lines are docs/test-fixture edits with no security-relevant surface. Per the skip gate ("this head already has a successful security review that still applies"), no further findings to report. No security findings (unchanged from the prior full review at |

Summary
Applies every valid treatment from a repo-wide
/docs-hygiene:audit-progressive-disclosurerun over ~1,260 tracked markdown files (18 audit lanes, every Tier-1 finding re-verified by a fresh-context adversarial pass, every Tier-2 finding adjudicated under 2-of-3 consensus between two independent reviewer models and the orchestrating session).Fix
skills/babysit-prs/reference/safety.md, after a per-flag disposition check that first added the semantics safety.md was missing; suno claim-audit history merged into its drift ledger; discovery research/explore by-value detail moved into their dispatch spokes; autonomy sub-hub leaves given direct pointers and its bare pointers standardized to conditioned when-clauses; orphaned machine-health shared references pointed from the maintainer README; the topic-docs worked-slice example linked from its convention README.artifact-protocol.mdmirror, cycle-resident safety text inwork-loopanddisk-hygiene:clean, the boris quick reference, and the teach workspace-root ladder (security-load-bearing).All moves are behavior-preserving relocations: no action or router row deleted, no guard sentence lost, moved text verified verbatim in its destination.
Verification
markdownlint-cli2(incl. MD051 link fragments): 0 issues across all 54 changed files;typosclean;editorconfig-checkerclean.toc=yes; every previously deep-nested target is directly hub-reachable.Related
Closes #3385. Follow-ups recorded on that issue: extend
detect.sh's pointer regex to register inline-code${CLAUDE_PLUGIN_ROOT}paths, a plugin-README TOC convention decision, possible corpus exclusion fordocs/topics, and reconciling the blankedAGENTS.mdwith itsCLAUDE.mdimport.🤖 Generated with Claude Code
https://claude.ai/code/session_013R8BNLHSBTrQXAiJU7RLYe
Generated by Claude Code