AI agents
Hoggar treats AI engineering as code: the way agents work is defined, versioned and reviewed in Git.
This page is the only page of the portal about AI agents. It explains
where the rules are; it does not copy them. In case of a discrepancy between
this page and hoggar-ai, hoggar-ai prevails.
Where the rules are
| Subject | Canonical source |
|---|---|
| What agents may or may not do: permissions, Git/GitFlow, production, secrets | hoggar-ai/policies/ |
| Scope of the GitLab and Coolify MCPs, tool by tool | hoggar-ai/mcp/ |
Agent workflows (development, release and deployment, incident, change of hoggar-ai), agents, skills, gates | hoggar-ai (workflows/, agents/, skills/, gates/) |
| AI engineering Decisions 1 to 11 and open points R1 to R4 | hoggar-ai/architecture/DECISIONS.md |
| Human workflow, owner decisions, Pending Decisions | This portal: development workflow, governance |
The complete distribution of the sources of truth is described in Governance structure.
How the rules reach each repository
Since hoggar-ai 0.6.0 (rule of 2026-10-09, which replaces Decision 3),
each repository where agents work is usable without a checkout of
hoggar-ai:
.hoggar/AGENT_RULES.mdis a generated copy, never a source: a rule is modified inhoggar-ai, then arrives here through a synchronisation MR..hoggar/VERSIONstates the version ofhoggar-aiadopted by the repository..hoggar/checkverifies that the copy has not been modified: "OK", error, or "NON VÉRIFIÉ" (not verified) if thehoggar-aimanifest is not accessible.CLAUDE.mdandAGENTS.mddescribe only the specifics of the repository (stack, commands, structure) and refer to the common rules.
The former mode of operation (sibling checkout ../hoggar-ai and pin line
hoggar-ai: X.Y.Z in CLAUDE.md / AGENTS.md) is no longer used.
What this guarantees
- An agent never invents a product, security, architecture or production
decision: it stops and asks (
CONTEXT_INSUFFICIENT). - A human merges each Merge Request; an agent never pushes to
masteror todevelop. - Production changes only through the deployment of a Git revision, after human approval, never through the modification of a container.
- Secrets are never displayed, stored or committed.
- Correction loops are bounded; beyond that, a human decides.
The exact text of these rules is in .hoggar/AGENT_RULES.md of each
repository.
Engines
Claude Code and Codex are two interchangeable engines that read the same rules; the handover between them is done through Git.
| Claude Code | Codex | |
|---|---|---|
| Entry file | CLAUDE.md | AGENTS.md |
| GitLab | GitLab MCP, @hoggar-agent account | No GitLab MCP |
| Coolify | Coolify MCP; deployment only after human approval | No Coolify MCP |
Claude Code and Codex CLI are installed on the VPS.
AI engineering Decisions
Decisions 1 to 11 and open points R1 to R4 are recorded only once, with their
status and their history, in hoggar-ai/architecture/DECISIONS.md. This
portal no longer copies them.
How they relate to the decisions of hoggar-docs remains pending
(Pending Decision 026, Pending Decision 028), and the owner correction
HC-001 concerns Decision 1 (step S2) and Decision 8 (Pending
Decision 001): see the
Pending Decisions register.
Archived pages
Until 2026-10-10, this section had 18 pages written for hoggar-ai
0.1.1 and 0.2.0. They are kept as is, without normative value, in the
archive/ai-agents/ folder of the hoggar-docs repository (outside the
portal); their history remains available with git log --follow.
Former page (docs/ai-agents/…) | Current location (archive/ai-agents/…) |
|---|---|
index.md (former overview) | index.md |
architecture.md | architecture.md |
orchestrator.md | orchestrator.md |
agents/index.md, agents/implementation.md, agents/validation.md | agents/ |
skills.md | skills.md |
workflows.md | workflows.md |
gates.md | gates.md |
retry-escalation.md | retry-escalation.md |
security.md | security.md |
production-isolation.md | production-isolation.md |
mcp.md | mcp.md |
claude-codex.md | claude-codex.md |
spec-kit/index.md, spec-kit/feature-lifecycle.md, spec-kit/gitlab.md | spec-kit/ |
versioning-decisions.md | versioning-decisions.md |
The Pending Decisions that cite these pages (for example ai-agents/mcp.md)
keep their original text; the cited files are now in the archive.