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.
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
| Source | Subject |
|---|---|
| GitLab | Issues, 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-docs | Human workflow, human decisions, architecture and ADRs, project context (PROJECT_CONTEXT.md) and project documentation |
| Each repository | Its stack, its commands, its specifics and, if necessary, its Spec Kit specifications |
hoggar-infra | Documentation 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.mdandAGENTS.mdtemplates and, from Phase 3 onwards, the generation of the common rules. architecture/DECISIONS.md(Decisions 1 to 11) is kept.
hoggar-docs
PROJECT_CONTEXT.md: current state of the project, short and dated.docs/development/: human workflow, glossary, documentation and language.docs/governance/: this page, the decision process, the decisions and the Pending Decisions register.docs/architecture/and its ADRs, as well as the product, business, infrastructure, security and deployment pages.
Each repository
README.md;CLAUDE.mdandAGENTS.md: stack, commands, structure, deployment target, without copying the common rules;.gitlab/: Issue and MR templates;.specify/andspecs/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:
- Merge of an MR.
- Production: deployment, restart, stop, configuration change.
- Destructive or irreversible action: deletion, destructive data migration, history rewrite.
- 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.
| Phase | Objective | Repositories | Type of changes | Expected result | Human validation |
|---|---|---|---|---|---|
| 1 — Governance framework | Write the rules of the game before moving anything | hoggar-docs | Language rule, translation rule, decision statuses, archiving convention, this page | A written framework that the following phases apply | Review and merge by the Owner |
| 2 — Consolidation of hoggar-ai | Single canonical rules, with no internal copy | hoggar-ai | Grouping 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 contradiction | Architecture review, merge, release and tag |
| 3 — Generated common rules | Distribute the rules without creating a second source | hoggar-ai, then the four repositories | Generation and checking of .hoggar/AGENT_RULES.md, one synchronisation MR per repository, lighter CLAUDE.md and AGENTS.md | Each repository is autonomous; a manual change to the rules is detected | Explicit Owner decision on the evolution of Decision 3, then merge of each MR |
| 4 — Simplification of hoggar-docs and the repositories | A single page per subject | hoggar-docs, hoggar-infra, hoggar-web | Single 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 copies | Short documentation, without duplicates, traceability intact | Merge, plus explicit human validation of each status change of a Decision or a Pending Decision |
| 5 — Remaining French translation | All documentation intended for humans in French | The four repositories | Pure translation MRs, by domain, for the documents not touched during Phases 1 to 4 | Documentation in French, identical meaning | Review 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.