mirror of
https://github.com/ModernRelay/omnigraph.git
synced 2026-06-09 01:35:18 +02:00
Make docs/invariants.md required reading every session
Adds a top-of-file directive plus a Claude-Code @-import so the full invariants document is loaded into context on every turn, not only when an agent follows a pointer. Other agents are instructed to open it explicitly at session start. The §IX deny-list and §X review checklist apply to every change, so they should be in scope by default rather than gated on the agent remembering to look. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
parent
1e7334275a
commit
43724b9f18
1 changed files with 4 additions and 0 deletions
|
|
@ -2,6 +2,10 @@
|
|||
|
||||
This file is the always-on map for AI coding agents (Claude Code, Codex, Cursor, Cline) working in this repo. It is loaded into context on every turn, so it stays as a **map plus the rules and invariants that need to be in scope at all times** — the encyclopedia content lives under [`docs/`](docs/). When you need depth, follow a pointer.
|
||||
|
||||
> **Required reading every session: [docs/invariants.md](docs/invariants.md).** Load this in full before proposing, reviewing, or implementing any change — the §IX deny-list and §X review checklist apply to every PR, not only architecture work. Tools that support `@`-imports (Claude Code) auto-include it via the import below; other agents must open it explicitly at the start of each session.
|
||||
>
|
||||
> @docs/invariants.md
|
||||
|
||||
`CLAUDE.md` is a symlink to this file — there is exactly one source of truth. Edit `AGENTS.md`.
|
||||
|
||||
**Version surveyed:** 0.3.1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue