Skip to main content

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​

SubjectCanonical source
What agents may or may not do: permissions, Git/GitFlow, production, secretshoggar-ai/policies/
Scope of the GitLab and Coolify MCPs, tool by toolhoggar-ai/mcp/
Agent workflows (development, release and deployment, incident, change of hoggar-ai), agents, skills, gateshoggar-ai (workflows/, agents/, skills/, gates/)
AI engineering Decisions 1 to 11 and open points R1 to R4hoggar-ai/architecture/DECISIONS.md
Human workflow, owner decisions, Pending DecisionsThis 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.md is a generated copy, never a source: a rule is modified in hoggar-ai, then arrives here through a synchronisation MR.
  • .hoggar/VERSION states the version of hoggar-ai adopted by the repository.
  • .hoggar/check verifies that the copy has not been modified: "OK", error, or "NON VÉRIFIÉ" (not verified) if the hoggar-ai manifest is not accessible.
  • CLAUDE.md and AGENTS.md describe 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​

  1. An agent never invents a product, security, architecture or production decision: it stops and asks (CONTEXT_INSUFFICIENT).
  2. A human merges each Merge Request; an agent never pushes to master or to develop.
  3. Production changes only through the deployment of a Git revision, after human approval, never through the modification of a container.
  4. Secrets are never displayed, stored or committed.
  5. 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 CodeCodex
Entry fileCLAUDE.mdAGENTS.md
GitLabGitLab MCP, @hoggar-agent accountNo GitLab MCP
CoolifyCoolify MCP; deployment only after human approvalNo 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.mdarchitecture.md
orchestrator.mdorchestrator.md
agents/index.md, agents/implementation.md, agents/validation.mdagents/
skills.mdskills.md
workflows.mdworkflows.md
gates.mdgates.md
retry-escalation.mdretry-escalation.md
security.mdsecurity.md
production-isolation.mdproduction-isolation.md
mcp.mdmcp.md
claude-codex.mdclaude-codex.md
spec-kit/index.md, spec-kit/feature-lifecycle.md, spec-kit/gitlab.mdspec-kit/
versioning-decisions.mdversioning-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.