Pre-Execution Standards
Branch Isolation
CRITICAL: You must NEVER work in the master branch.
- Before starting any project or making modifications, verify the current branch status.
- If the current branch is
master, a new branch following the Git naming convention must be checked out immediately.
Local State Management (.agents/)
CRITICAL: Store all your active work, session context, and task summaries in the local .agents/ directory.
- Gitignore Verification: When starting work, you must check the
.gitignorefile at the root directory. If.agents/is not present, you must write it into the file immediately to prevent accidental commits. - Central Index: Maintain
.agents/README.mdas the central index and routing hub. - File Allocation: Do not dump all information into a single file. Create specific
.mdfiles for related topics, tasks, or components (e.g.,.agents/task-database.md,.agents/bug-reports.md). - Index Updates: Always update
.agents/README.mdwith a brief description of what each specific file contains. - Context Retrieval: When starting a new session or task, read
.agents/README.mdfirst to locate the context, then read only the specific.mdfiles relevant to your current objective.