AGENTS.md
AGENTS.mdAGENTS.mdroot
Quality
52/100
Scores the file, not the repository.Length
614 words
10 headings · 0 code blocksRepository
1.4k
— · pushed 2 days agoLast changed
3 days ago
First indexed 3 days ago.1# DOX framework23- DOX is highly performant AGENTS.md hierarchy installed here4- Agent must follow DOX instructions across any edits56## Core Contract78- AGENTS.md files are binding work contracts for their subtrees9- Work products, source materials, instructions, records, assets, and durable docs must stay understandable from the nearest applicable AGENTS.md plus every parent AGENTS.md above it1011## Read Before Editing12131. Read the root AGENTS.md142. Identify every file or folder you expect to touch153. Walk from the repository root to each target path164. Read every AGENTS.md found along each route175. If a parent AGENTS.md lists a child AGENTS.md whose scope contains the path, read that child and continue from there186. Use the nearest AGENTS.md as the local contract and parent docs for repo-wide rules197. If docs conflict, the closer doc controls local work details, but no child doc may weaken DOX2021Do not rely on memory. Re-read the applicable DOX chain in the current session before editing.2223## Update After Editing2425Every meaningful change requires a DOX pass before the task is done.2627Update the closest owning AGENTS.md when a change affects:2829- purpose, scope, ownership, or responsibilities30- durable structure, contracts, workflows, or operating rules31- required inputs, outputs, permissions, constraints, side effects, or artifacts32- user preferences about behavior, communication, process, organization, or quality33- AGENTS.md creation, deletion, move, rename, or index contents3435Update parent docs when parent-level structure, ownership, workflow, or child index changes. Update child docs when parent changes alter local rules. Remove stale or contradictory text immediately. Small edits that do not change behavior or contracts may leave docs unchanged, but the DOX pass still must happen.3637## Hierarchy3839- Root AGENTS.md is the DOX rail: project-wide instructions, global preferences, durable workflow rules, and the top-level Child DOX Index40- Child AGENTS.md files own domain-specific instructions and their own Child DOX Index41- Each parent explains what its direct children cover and what stays owned by the parent42- The closer a doc is to the work, the more specific and practical it must be4344## Child Doc Shape4546- Create a child AGENTS.md when a folder becomes a durable boundary with its own purpose, rules, responsibilities, workflow, materials, or quality standards47- Work Guidance must reflect the current standards of the project or user instructions; if there are no specific standards or instructions yet, leave it empty48- Verification must reflect an existing check; if no verification framework exists yet, leave it empty and update it when one exists4950Default section order:51- Purpose52- Ownership53- Local Contracts54- Work Guidance55- Verification56- Child DOX Index5758## Style5960- Keep docs concise, current, and operational61- Document stable contracts, not diary entries62- Put broad rules in parent docs and concrete details in child docs63- Prefer direct bullets with explicit names64- Do not duplicate rules across many files unless each scope needs a local version65- Delete stale notes instead of explaining history66- Trim obvious statements, repeated rules, misplaced detail, and warnings for risks that no longer exist6768## Closeout69701. Re-check changed paths against the DOX chain712. Update nearest owning docs and any affected parents or children723. Refresh every affected Child DOX Index734. Remove stale or contradictory text745. Run existing verification when relevant756. Report any docs intentionally left unchanged and why7677## User Preferences7879When the user requests a durable behavior change, record it here or in the relevant child AGENTS.md8081## Child DOX Index8283- No child AGENTS.md files are needed for the current repository structure.84- Root-owned files: `README.md`, `LICENSE`, `banner.jpg`, `video-thumbnail.jpg`, and root-level project documentation.85
