1.3 KiB
1.3 KiB
AGENTS.md
This repository keeps AI-specific working files in the project-local .ai/ directory, and keeps the repository-level AGENTS.md as a local AI control file.
Rules:
- Keep all AI notes, prompts, plans, transcripts, and generated helper artifacts under
.ai/. - Keep
AGENTS.mdas a local AI instruction file for this repository. - On main development branches, both
.ai/andAGENTS.mdmust remain gitignored so they can exist locally without affecting normal commits. - If AI files need to be versioned, do that work on a branch named
ai, where.ai/andAGENTS.mdcan be tracked intentionally. - When switching between
aiand non-aibranches, preserve local AI files unless the user explicitly asks to remove them. - Any commit created by Codex in this repository must set the git author identity on the
git commitcommand itself using--author="Codex <codex@local>".
Practical workflow:
- Use
.ai/for persistent local AI context in this working tree. - Keep
.gitignoreon non-aibranches configured to ignore both.ai/andAGENTS.md. - If the
aibranch should track these files, remove or override those ignore rules on theaibranch before committing. - Do not rely on global git config for Codex-authored commits in this repository; pass the author explicitly on each commit command.