Repository navigation
Closed
Labels
needs-triageNot yet classified. Floor until a type and one priority tier are set.
Description
Parent: #5802
Problem
Four docs state things that are no longer true:
- D2 The hook-budget README hard-codes a guardrails guard count. The count belongs to
hooks.jsonand has since changed. - D3 ADR 0002 Decision 1 still describes a security-lane path filter. ADR 0038 removed that
filter, but ADR 0002's supersession header does not mention it. - D4 The migration playbook says
dometrainships the remote MCP server. The server now ships
indometrain-mcp. - D5 The plugin-philosophy Hooks row treats a
${user_config.*}token in hook args as allowed.
The CI gate rejects that token in plugin hook configs.
Evidence (at 681ca49e6)
- D2:
docs/conventions/hook-budget/README.md:82
says "eight" in the present tense, butplugins/guardrails/hooks/hooks.jsondispatches 10 Bash
guards.:100gives the count at measurement time.:65is a dated baseline and stays as is.
:137-138restates the philosophy Hooks row's "mandatory only where${user_config.*}
appears", so the D5 fix carries to it. - D3: ADR 0002
:18-22,:44-49
against ADR 0038 addendum:95-100
and.github/workflows/claude-security-review-hosted.yml:17-18, which has no path gating. - D4:
docs/migration-playbook.md:891.
plugins/dometrain-mcp/.mcp.jsondefines the server, andplugins/dometrain/now ships only
skills (split in feat(dometrain): split the MCP server into dometrain-mcp #5213). Thedometrainreview record starts at:1008. - D5:
docs/plugin-philosophy.md:310
againstscripts/check-hook-userconfig-argv.sh:2-12.
Proposed fix / scope
Plan Phase 5 covers four files. All are docs, so no plugin version bump is needed.
- D2:
:82drops the number.:100marks eight as the count at measurement time.:137-138
follows the D5 rewording. - D3: add one "superseded by ADR 0038" clause to ADR 0002's header bullet and change no other line.
ADRs are read-only apart from superseded-by links (Q42). - D4: name
dometrain-mcpat:891. Add one sentence to thedometrainreview record saying the
server ships indometrain-mcpand the sync script stays indometrain. - D5:
- The Hooks row says plugin hook configs carry no
${user_config.*}token, that
check-hook-userconfig-argv.shrejects one, and that hooks read the
CLAUDE_PLUGIN_OPTION_<KEY>mirror instead. - The row links
conventions/hook-config-delivery/. - Keep the shell-form exception for node-less rows.
- The Hooks row says plugin hook configs carry no
Acceptance
-
grep -c "eight guardrails per-Bash" docs/conventions/hook-budget/README.mdprints 0. - The ADR 0002 diff against origin/main removes no lines, and the ADR carries exactly one
superseded by [ADR 0038]. - The
only pluginline in the migration playbook namesdometrain-mcp. -
grep -c "is mandatory wherever" docs/plugin-philosophy.mdprints 0, and
grep -c "mandatory only where" docs/conventions/hook-budget/README.mdprints 0. -
bash scripts/affected-tests.sh --runpasses.
Metadata
Metadata
Assignees
Labels
needs-triageNot yet classified. Floor until a type and one priority tier are set.
Type
Fields
No fields configured for issues without a type.
Activity
docs: correct hook guard counts, ADR 0002 supersession and two stale …