Skip to content

Agent-facing architecture/ promotion reminder (Finding 3)#237

Merged
lesnik512 merged 1 commit into
mainfrom
docs/architecture-promotion-reminder
Jun 25, 2026
Merged

Agent-facing architecture/ promotion reminder (Finding 3)#237
lesnik512 merged 1 commit into
mainfrom
docs/architecture-promotion-reminder

Conversation

@lesnik512

Copy link
Copy Markdown
Member

Resolves Finding 3 from the agent-convenience evaluation (the last unenforced step of the planning convention: promoting a behavior change to architecture/).

What & why

The convention hinges on hand-editing the affected architecture/<capability>.md in the implementing PR — the easiest step to forget. Instead of a git-diff CI heuristic (fuzzy: most code changes touch no capability contract, so it would false-positive constantly and breed cargo-cult acknowledgments), this adds an agent-facing reminder where an agent already readsCLAUDE.md's ## Architecture intro, right beside the capability orientation an agent consults before changing behavior.

One line added:

When a change alters a capability's behavior, update the matching architecture/<capability>.md in the same PR — that promotion is what keeps architecture/ true; code that changes without it silently rots the truth home.

architecture/README.md's "Promotion rule" remains the canonical statement; this is a deliberate one-line echo aimed at agents (who reliably load CLAUDE.md, rarely open architecture/README.md).

Recorded as a Lightweight change.md bundle so the "note over enforcement" decision is on the record. Dogfoods the new lean frontmatter (date/slug/summary/outcome) from #236.

Verification

  • just check-planningplanning: OK
  • just lint-ci → clean
  • just docs-build → OK

🤖 Generated with Claude Code

Resolves evaluation Finding 3 with an agent-facing note in CLAUDE.md's
## Architecture intro, not a CI gate. A behavior change must promote to
the matching architecture/<capability>.md in the same PR.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@lesnik512 lesnik512 merged commit 43f2223 into main Jun 25, 2026
7 checks passed
@lesnik512 lesnik512 deleted the docs/architecture-promotion-reminder branch June 25, 2026 12:48
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