repo-context-ledger
Copilot instructions105 starsChanged 3 months agoMITView on GitHub
Read and follow the repository root AGENTS.md. Use already loaded task context first. For a missing or changed background question, run context --query "<task>" before broad documentation exploration; do not repeat routing for a routine follow-up whose context is sufficient. Read only the Context Bundle's Required reads initially. Never recursively read docs/ai, docs/specs, or docs/changes. Do not open completed Change bodies unless the plan selects one, a required Pack cites one for a named reason, or the user asks for…
In this repository4 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/repo-context-ledger.mdcCursor rule
- repo-context-ledgerSkill
The file
Files
GitHub Copilot instructions
<!-- repo-context-ledger:rules:start -->Repository Context Ledger
Read and follow the repository root AGENTS.md. Use already loaded task context first. For a missing or changed background question, run context --query "<task>" before broad documentation exploration; do not repeat routing for a routine follow-up whose context is sufficient. Read only the Context Bundle's Required reads initially. Never recursively read docs/ai, docs/specs, or docs/changes. Do not open completed Change bodies unless the plan selects one, a required Pack cites one for a named reason, or the user asks for historical reasoning. Required reads are a starting route, not a maximum code-reading limit. Expand context only after stating the unresolved question, and always expand whenever callers, implementations, configuration, persistence, permissions, concurrency, retries, tests, or external boundaries can affect the behavior. A same-window 'continue' on a known active task keeps its session and epoch without another resume. For a real window/tool handover, paused task, or missing task identity, resolve only the missing state and use an owned unique Resume Capsule. Continue the same Ledger session with resume --query "<keywords>" --tool copilot; keep the returned continuation epoch and pass --epoch <n> to later writes. Never read, resume, pause, checkpoint, finish, or invalidate another principal's private session unless an explicit unexpired grant authorizes that exact access. Read-only grants never permit writes. A foreign overlap without a grant permits only Git-tracked Pack/spec/Change guidance. Treat Copilot Memory as a private cache; Git-tracked ledger documents are the shared cross-Agent source of truth. Never message or steer another user-owned task unless the user explicitly requested cross-task coordination.
<!-- repo-context-ledger:rules:end -->Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

