Files
truthmark/tests
MerlinHandClaude Opus 5 b0a06b5566 feat: render repo-rules always-on section into AGENTS.md and CLAUDE.md
Repository policy lived only in docs/repo/ai/repo-rules.md, which an
agent reads once via a tool call and a summarizer drops first. The
instruction files are injected as session context instead, so they
survive compaction.

Generate a repo-rules region into both files from the source doc's
always-on section rather than moving or symlinking policy there. The doc
stays the authority and the region is generated output under rule 8, so
no second file claims authority. Symlinks were rejected: sync/classify.ts
already treats these files as derived, Git on Windows materializes
symlinks as text when core.symlinks is off, and init and uninstall write
each path independently.

Marker names are referenced without comment syntax in the source doc
because a literal marker inside the rendered region duplicates it in the
instruction files and makes the Truthmark managed block unparseable.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-23 13:39:27 +00:00
..