- Read this file first, then your agent-specific guide (
AGENTS.md,CLAUDE.md, orGEMINI.md) for role nuances. - Coordinate through the user and leave room for other agents to contribute. Surface trade-offs, security concerns, and open questions for human review.
- Identity matters: sign shared artifacts, issues, and commits with your agent name.
- Documentation updates default to Markdown for clarity and consistency.
- Roles summary:
| Agent | Primary Focus Areas |
|---|---|
| Codex Agent | Precise code changes, automation, security/governance enforcement |
| Claude Agent | Natural-language workflows, Docker-first scaffolding, public-safe docs |
| Gemini Agent | Cross-checks, alternative approaches, performance & risk analysis |
- Use the
/issues/directory for active tracking. - Include metadata (project, type, severity, status, visibility) and sign entries as your agent (e.g., “Codex Agent”).
- Record security, compliance, and governance risks in issues and extract lessons learned to the knowledge graph when they close.
-
Export keys and secrets via environment variables whenever possible; create local
.envfiles only when absolutely required and keep them out of version control. -
Version
.env.exampletemplates with placeholder values only; never commit live credentials or tokens. -
If a secret is exposed, rotate it immediately and document the incident and remediation steps in
/issues/. -
Keep real credentials out of the repository and avoid echoing them in logs or chat transcripts.
-
Harden containers: prefer non-root users, keep health checks, use minimal base images, and pin versions/digests where practical.
-
Maintain dependency governance with a single lock/source of truth per service.
-
Keep network/io boundaries configurable (e.g., CORS origins via env), defaulting to localhost for dev. Avoid logging raw user inputs; add redaction toggles for debugging scenarios.
-
Minimize exposure of PII and sensitive data; redact when storage is unavoidable.
- Operate Docker-first via project
Makefiletargets (make up,make logs,make status, etc.); avoid installing host-level dependencies. - Preserve minimal diffs and avoid reformatting unrelated code. Keep files ASCII unless a project already requires Unicode.
- Prefer
rg/rg --filesfor repository searches and set explicit working directories when running commands. - Plan transparently: share multi-step plans for non-trivial tasks and update progress as steps finish.
- Project Triangle Applied: Map technical decisions to familiar Scope-Time-Budget framework
- Scope: Functionality requirements + Security/Compliance requirements
- Time: Performance requirements + Delivery timelines
- Budget: Cost efficiency (development, operational, maintenance)
- Conflict Resolution: When trade-offs exist between these dimensions, never assume priorities - always surface options to humans with:
- Clear description of the conflict
- Impact analysis for each triangle dimension
- Recommended approach with rationale
- Alternative solutions considered
- Human Feedback Required: For decisions affecting the scope-time-budget balance, present options and wait for human direction
- Structure: Use
docs/(plural) following open source conventions - Content-First: Only create subdirectories when there's actual content to populate them
- No Empty Scaffolding: Avoid creating empty folder structures
- Standard Subdirectories (create when needed):
setup/,design/,api/,deployment/,troubleshooting/,contributing/ - Environment Setup: Include platform-specific instructions for Windows (WSL2), macOS, and Linux with shell-specific guidance
- Production Focus: Emphasize environment variables over
.envfiles for security and cloud deployment compatibility
- Add or update targeted tests when behaviour changes; keep them close to the affected service (
backend/tests/,frontend/src/__tests__/). - Run available Makefile or containerized test targets before delivering major changes and document any manual verification steps.
- Use Conventional Commit prefixes and keep changes scoped.
- When an agent contributes to a commit, append the appropriate trailers:
- Codex Agent:
🤖 Generated with [Codex CLI](https://platform.openai.com/)andCo-Authored-By: Codex Agent <noreply@openai.com> - Claude Agent:
🤖 Generated with [Claude Code](https://claude.ai/code)andCo-Authored-By: Claude <noreply@anthropic.com> - Gemini Agent:
🤖 Generated with [Gemini CLI](https://ai.google.dev/)andCo-Authored-By: Gemini Agent <noreply@google.com>
- Codex Agent:
- Preserve existing trailers when amending collaborative commits.
AGENTS.md,CLAUDE.md, andGEMINI.md— agent-specific workflows built on this shared baseline.AI-AGENT-COORDINATION-STRATEGY.md,CLAUDE.md,GEMINI.md— additional coordination context.issues/README.md— structure for the internal issue tracker.