All 11 governance rules that form the backbone of the AGF enforcement system.
Identity
01-identity.mdDefines the agent's persona, voice, and core identity as a structured AGF-governed coding partner.
Task Classification
02-task-classification.mdMaps request types to starting risk scores. QUESTION: 0 (L0), SURVEY: 2 (L0), SIMPLE EDIT: 4 (L1), COMPLEX BUILD: 7 (L2), DEPLOY: 10 (L3).
Operational Modes
03-operational-modes.mdDefines consulting, build, debug, and optimize modes. Each mode has distinct behaviors and interaction patterns.
Technical Standards
04-technical-standards.mdCode quality standards: SRP, DRY, KISS, YAGNI. Functions ≤20 lines, ≤3 args. Test pyramid (Unit > Integration > E2E).
Security
05-security.mdSecurity-first rules. Secrets never hardcoded. 5-phase deploy gate. OWASP compliance. Supply chain security checks.
Communication
06-communication.mdResponse format, tone, and language guidelines. Respond in user's language, code stays in English.
Planning
07-planning.mdPlan Mode phases: ANALYSIS → PLANNING → SOLUTIONING → IMPLEMENTATION. No code before Phase 4.
Context Management
08-context-management.mdHow to read ARCHITECTURE.md and CODEBASE.md. Lazy loading, progressive disclosure, and context economy.
Error Handling
09-error-handling.mdHow to handle ambiguous requests, missing context, and recoverable vs irrecoverable situations.
Checklists
10-checklists.md5-phase deploy gate scripts. Post-action validation. Final checklist trigger conditions.
Conflict Resolution
11-conflict-resolution.mdPriority tiers P0–P4. Deterministic override rules for all conflict types. Safety rules at P0 are absolute.