Repository navigation
chore: rewrite AGENTS.md and drop ADR citations from runtime strings - #2106
Merged
Merged
Conversation
4 of 5 tasks
rdimitrov
force-pushed
the
chore/process-layer-2-delete
branch
from
October 5, 2026 13:13
05185e2 to
034ddcc
Compare
rdimitrov
force-pushed
the
chore/process-layer-3-polish
branch
from
October 5, 2026 13:13
0c20603 to
101ba37
Compare
rdimitrov
force-pushed
the
chore/process-layer-3-polish
branch
from
October 5, 2026 14:28
101ba37 to
dbdea22
Compare
rdimitrov
force-pushed
the
chore/process-layer-2-delete
branch
from
October 5, 2026 14:28
034ddcc to
536372a
Compare
rdimitrov
force-pushed
the
chore/process-layer-3-polish
branch
from
October 5, 2026 16:58
15ee51b to
c6780a7
Compare
rdimitrov
force-pushed
the
chore/process-layer-2-delete
branch
from
October 5, 2026 16:58
536372a to
008034e
Compare
Remove the acceptance-spine content now that PR 1 stopped enforcing it. Git history is the archive; deleted content is readable at 7c7206e. - Delete docs/adr (except 0019, moved to docs/perf-tracking.md as a living doc), docs/acceptance, docs/superpowers, .claude/plans, the devils-advocate and tdd-worker agents, six process skills, docs/development-process.md, and docs/design/README.md. The panel-review skill and its nine reviewer agents stay as an optional tool; nothing requires them any more. The .agents/skills symlink stays so Codex-style agents still discover the remaining skills. - Copy the tech-writer style guide to user-docs/_STYLE.md. - Mechanically unlink every Markdown link into deleted paths (the ADR number stays as plain text); pin public GitHub permalinks in user-docs to the SHA above. - AGENTS.md: delete the Change routing section and the sentences that linked to the deleted docs. No other rewrites. - Add inbound/onward links for pages the deletion orphaned so matlatl strict stays green. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Rewrite AGENTS.md to build/test commands, module layout, enforceable implementation boundaries, and working conventions. Drop change routing, ADR references, and process meta-guidance. Delete the documentation rule and strip spine citations from the domain-model rule. Remove the frozen-ADR framing from the reader map and the internal-workflow sentence from CONTRIBUTING.md. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Reword runtime strings that cited deleted ADRs so they describe the behaviour instead: the learning posture system-prompt note, the product-metrics notice, mecated and learning-driver errors, and the config field docs that generate user-docs/reference/configuration.md and the settings skeleton (regenerated with task docs:configref). Point perfconvert comments at the moved docs/perf-tracking.md. Go doc comments elsewhere, TestADR_* names, and .proto comments are unchanged. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Orchestrator mode only triggered when /plan-orchestrate invoked the skill; that skill is deleted, so the mode could never run. With one mode left, the confirmation rules live at the steps that use them. Co-Authored-By: Claude Opus 5.5 <[email protected]>
rdimitrov
force-pushed
the
chore/process-layer-2-delete
branch
from
October 5, 2026 20:05
008034e to
aea7025
Compare
rdimitrov
force-pushed
the
chore/process-layer-3-polish
branch
from
October 5, 2026 20:05
c6780a7 to
6845ef5
Compare
…process-layer-3-polish # Conflicts: # AGENTS.md
JAORMX
approved these changes
Oct 6, 2026
The rewrite targeted ~50 lines; the agreed limit is under 200 per file, and agents benefit most from rules they cannot infer from the code. Restore every rule the rewrite dropped, kept in the new structure: verification gates, test-fixture and core-test boundaries, the engine/tool placement and tool-call pairing rules, stateless replay and factory re-derivation, dispatch barrier, substitution-aware shell and root-aware trust checks, runner credential-grant limits, server-owned placement, governance fences and post-tool payload rewriting, diagnostics/audit/event contracts, the model-affordance test rule, and the search, delegation, gh, and merge conventions. 98 lines. Co-Authored-By: Claude Opus 5.5 <[email protected]>
4 of 5 tasks
Merged
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Third of four stacked PRs. Stacked on #2105; review only this PR's four commits.
Commit 1: instructions
AGENTS.mdrewritten to 98 lines, reorganized into build/test commands and verification gates, module layout, implementation boundaries, and working conventions, plus a pointer to.claude/rules/. Change routing, the spine, ADR references, and process meta-guidance are gone. Every code invariant and convention from the old file is kept (a first pass cut it to ~50 lines and dropped some; commit 4 restores them, since agents benefit most from rules they cannot infer). The limit we agreed on is under 200 lines per file..claude/rules/documentation.mddeleted.domain-model.mdno longer cites acceptance plans or ADR metadata. The other three rules had no such citations.docs/READING.mddrops the "frozen rationale on demand" framing.CONTRIBUTING.mdsays plainly that AGENTS.md holds commands and invariants.docs/tui.mdanchor updated.Commit 2: runtime strings
docs/adr/0338.mecated --guardrails, the learning-driver ownership error (two tests now assert on the new wording), and the reflection-observer run-ID errors.internal/configgen/build.gostrings, thepermconfig/schema.gostruct comments also feed the generated reference. These had six ADR citations, now removed. Reference and skeleton regenerated; both now contain no ADR mentions.server/classification.goandsession_mutation_inventory.go(developer-facing),.protocomments,TestADR_*names, Go comments elsewhere.Commit 3: panel-review
/plan-orchestrateinvoked it. That skill is deleted in chore: delete ADRs, acceptance plans, and process scaffolding #2105, so the mode was unreachable. The skill otherwise stays as an optional tool.Commit 4: restore dropped invariants
AGENTS.mdpass dropped (verification gates, boundaries, placement, secrets, governance, diagnostics, model-affordance tests, conventions). No new rules.Test plan
task docs:configrefthengit status: clean; matlatl strict cleanTestRedisFollowCapacity_Scenario4,TestCloudNativeLearning_Scenario6_*,TestCloudNativeLearning_Scenario3_*,TestADR_0259_*go testforconfiggen,permconfig,cliconfig,perfconvert🤖 Generated with Claude Code