Skip to main content

Working rules

Migrated unchanged from PROJECT_CONTEXT.md §32 on 2026-10-03. AI-engineering rules (agents, gates, approvals) are canonical in the hoggar-ai repository; decisions follow the decision process.

Before modifying Hoggar:

  1. Read PROJECT_CONTEXT.md (the entry point) and the pages it links to.
  2. Read repository-specific CLAUDE.md and/or AGENTS.md when present.
  3. Read relevant architecture documentation and ADRs.
  4. Inspect the existing repository before proposing changes.
  5. Do not assume a planned technology is already installed.
  6. Do not introduce infrastructure without justification.
  7. Never expose, print, store, or commit secrets.
  8. Prefer small, reviewable changes.
  9. Run relevant tests/checks after modifications.
  10. Explain significant architectural changes before implementing them.
  11. Propose an ADR when changing an established architectural decision.
  12. Do not silently replace established technology choices.
  13. Preserve compatibility with the current deployment model unless a documented decision changes it.
  14. Update documentation when implementation materially changes project state.

When asked to analyze the project, do not modify anything unless explicitly instructed.

AI agents are not the source of truth; Git repositories and project documentation are. An agent's recommendation is not a decision.