Skip to main content

Governance structure

Target structure validated by the Owner on 2026-10-09 as the blueprint of Hoggar governance. This page is formalised by Issue hoggar/hoggar-docs#2 (Phase 1 of the migration plan).

Principle: a single source of truth per subject, and governance that is simple, applicable and free of unnecessary bureaucracy.

Target and current state

This page describes the target and the path to reach it. Until a phase is finished, the rules currently in force continue to apply, in particular the hoggar-ai policies and the development workflow. If a current rule seems to contradict this target, the current rule is applied and the contradiction is reported; no agent settles it alone.

Sources of truth​

SourceSubject
GitLabIssues, priorities, progress, board (status:: labels), milestones
hoggar-ai/policies/Canonical source of the agent rules: permissions, Git/GitFlow for agents, agent security, agent operations in production
hoggar-ai/mcp/Canonical source of the MCP scope (GitLab, Coolify), tool by tool
hoggar-docsHuman workflow, human decisions, architecture and ADRs, project context (PROJECT_CONTEXT.md) and project documentation
Each repositoryIts stack, its commands, its specifics and, if necessary, its Spec Kit specifications
hoggar-infraDocumentation of how the settings are technically applied: GitLab protections, roles, Coolify and infrastructure

Common agent rules​

The rules common to all agents remain written only once, in hoggar-ai/policies/ and hoggar-ai/mcp/.

Since Phase 3 (hoggar-ai 0.6.0, 2026-10-10), each repository contains a .hoggar/AGENT_RULES.md file. This file is derived: generated from the canonical rules of hoggar-ai, checked by .hoggar/check, and adopted in each repository through an MR merged by a human. It is never a canonical source: a manual change to this file does not change a rule, and it is detected. See AI agents.

Target content of each repository​

hoggar-ai​

  • policies/: permissions (including the four categories of human approval), Git, production, secrets.
  • mcp/: classification of the GitLab and Coolify tools.
  • workflows/: a single development workflow, release and deployment, incident.
  • skills/: only the skills that are actually used.
  • Validation tools, CLAUDE.md and AGENTS.md templates and, from Phase 3 onwards, the generation of the common rules.
  • architecture/DECISIONS.md (Decisions 1 to 11) is kept.

hoggar-docs​

Each repository​

  • README.md;
  • CLAUDE.md and AGENTS.md: stack, commands, structure, deployment target, without copying the common rules;
  • .gitlab/: Issue and MR templates;
  • .specify/ and specs/ only where Spec Kit is used;
  • from Phase 3 onwards: .hoggar/AGENT_RULES.md (derived).

Target workflow​

The details (branch names, commit format, MR content) are in the development workflow.

Human validations​

The target groups human validations into four categories:

  1. Merge of an MR.
  2. Production: deployment, restart, stop, configuration change.
  3. Destructive or irreversible action: deletion, destructive data migration, history rewrite.
  4. Secrets, permissions, protections and security.

Until the consolidation of hoggar-ai (Phase 2), the detailed human approvals of hoggar-ai remain the ones that apply.

History and archiving​

No existing Decision or Pending Decision is deleted. Items that have become obsolete are marked Superseded or Historical, then possibly moved to an archive/ area, according to the archiving convention.

Migration plan​

The plan moves forward one step at a time. Each phase goes through a GitLab Issue, a work branch and an MR merged by a human.

Language during the migration: any document intended for humans that is modified during Phases 1 to 4 is directly written in or translated into French (language rule). Phase 5 only concerns the remaining documentation.

PhaseObjectiveRepositoriesType of changesExpected resultHuman validation
1 — Governance frameworkWrite the rules of the game before moving anythinghoggar-docsLanguage rule, translation rule, decision statuses, archiving convention, this pageA written framework that the following phases applyReview and merge by the Owner
2 — Consolidation of hoggar-aiSingle canonical rules, with no internal copyhoggar-aiGrouping of the policies and MCPs, single development workflow, marking of Decisions 1 to 11, dormant items marked and moved to archive/hoggar-ai reduced to the essentials and without internal contradictionArchitecture review, merge, release and tag
3 — Generated common rulesDistribute the rules without creating a second sourcehoggar-ai, then the four repositoriesGeneration and checking of .hoggar/AGENT_RULES.md, one synchronisation MR per repository, lighter CLAUDE.md and AGENTS.mdEach repository is autonomous; a manual change to the rules is detectedExplicit Owner decision on the evolution of Decision 3, then merge of each MR
4 — Simplification of hoggar-docs and the repositoriesA single page per subjecthoggar-docs, hoggar-infra, hoggar-webSingle page on AI agents, up-to-date PROJECT_CONTEXT.md, settled Pending Decisions marked (not removed), historical pages marked and archived, reduced CLAUDE.md files, Spec Kit constitutions without copiesShort documentation, without duplicates, traceability intactMerge, plus explicit human validation of each status change of a Decision or a Pending Decision
5 — Remaining French translationAll documentation intended for humans in FrenchThe four repositoriesPure translation MRs, by domain, for the documents not touched during Phases 1 to 4Documentation in French, identical meaningReview of the meaning by the Owner for any MR touching a sensitive rule; normal merge otherwise

The security workstreams (server privileges of the agents, off-server backups, abandoning the root account for daily operations, technical verification of the GitLab protections, removal of rule contradictions) are handled separately from this plan.