Skip to main content

Sprint 0 close assessment — archive (2026-10-02)

Archived document — read the provenance first
  • Author: Claude Code, acting as Master Orchestrator, in a read-only assessment session on 2026-10-02 (21:21 UTC). Not written or approved by the project owner.
  • Observations below are OBSERVED FACTS as of 2026-10-02 unless re-verified later. Some have changed since (for example, hoggar-ai is now v0.2.0 and the docker-group statement was resolved: ubuntu is not in the docker group and has passwordless sudo).
  • Recommendations, options and "Q1–Q7" questions are PROPOSED. None of them is a decision. Later answers, corrections and pending items are tracked in Sprint 0 history and Pending decisions.
  • The text below is preserved as written (archived 2026-10-03 from the session transcript; it previously existed only there — finding F-d).

I only read things. Nothing was created or changed in the repositories, on the VPS, in GitLab or in Coolify. The one exception is my own agent memory notes. The only Coolify MCP calls were read operations.

⚠ Two security findings to look at before anything else​

These came up during the checks. I did not touch either one, because fixing them is a production change and needs your approval.

  1. The docs portal is public. https://docs.hoggar.app/ and /docs/ai-agents/ return HTTP 200 without credentials, and they serve the real Docusaurus content, including the AI Engineering section. That section describes the S0 risk: agents running on the production VPS. PROJECT_CONTEXT §16 says unauthenticated requests get 401, so the temporary Basic Auth is not working.
  2. Anyone can register on GitLab. https://gitlab.hoggar.app/users/sign_up returns 200 with a working registration form.

1. Orchestrator selection​

The Master Orchestrator ran manually in this one session.

How the task was classified: none of the 7 workflows fits technical-foundation planning (finding F1). The closest is feature.md → start-feature, which stops at its precondition step (see section 6).

RoleAgentWhy it was picked
Orchestratormaster-orchestratorClassifies the task, selects agents, owns the gates. Ran select-agents.
ProducerarchitectSprint 0 scope, the spec location question, the decision questions
Producerdevops-agentInfra, GitLab and Coolify state (C5 Coolify reads)
Validatorsecurity-reviewerAreas S1, credential isolation, exposure, backups
Validatorspec-checkerChecks each status claim against its evidence; will run SPEC_READY later
Validatorcode-reviewerARCHITECTURE_READY on the architect's output
  • Not activated:
    • Dormant agents: spring-dev, angular-dev, db-designer, api-contract-agent, test-writer, integration-tester, contract-validator, migration-checker, frontend-wiring-checker.
    • quality-reviewer: there is no code yet.
    • documentation-agent: no doc changes in this phase. It will be needed later to fix the doc drift.
  • The validators have not run. The producer work above happened in this one context, and no fresh-context review has been done. Under hoggar-ai, a check that was not run is not a pass, so nothing in this report counts as validated. If you want, I can run security-reviewer and spec-checker as separate sub-agents on this assessment.
  • Skills:
    • Used now: select-agents.
    • Blocked: start-feature (CONTEXT_INSUFFICIENT).
    • Later: spec-validation, security-review, create-adr, update-documentation, prepare-merge-request.
    • spec-to-gitlab stays design-only and was not activated.

2. Applicable gates​

  • Automated gates:
    • SPEC_READY: blocked for now.
    • ARCHITECTURE_READY: S1, the credential model and the backup target are architecture decisions.
    • SECURITY_PASS: infra and security areas.
    • READY_FOR_REVIEW and READY_TO_MERGE: when the spec MR exists.
    • Not applicable: TESTS_PASS, CONTRACT_VALID, MIGRATION_SAFE, QUALITY_PASS.
  • Human gates:
GateWhat triggers it
HG-SPEC-AMBIGUITYThe questions in section 5
HG-ARCHWhere the spec lives; Spec Kit init in a repo outside the current convention; choice of backup target
HG-SECURITY-ARCHS1, the credential model, R1, the docs and GitLab exposure, Docker host ports
HG-SECRETCreating the ai-dev credentials and rotating the Coolify token
HG-PROD-OPERATIONCoolify and GitLab settings changes
HG-IRREVERSIBLEDeleting the leftover Coolify apps

3. Sprint 0 matrix​

#AreaStatusEvidenceRemaining work
1VPS foundationDONEUbuntu 24.04; 19G of 193G disk used; Ansible bootstrap roles exist—
2Server security baselinePARTIALLY DONEsshd drop-in sets PasswordAuthentication no and PermitRootLogin prohibit-password; ufw and fail2ban are active. Ports 8000, 8080, 6001 and 6002 listen on 0.0.0.0 and are blocked only by the OVH Edge Firewall. UFW rules can't be read without sudo.A human checks ufw status. Decide whether to keep relying on the edge firewall or bind those ports to localhost. Declare community.general in requirements.yml (currently empty).
3Docker / CoolifyDONECoolify 4.3.23, Docker 29.8.1, server reachableHousekeeping moved to row 18
4GitLab foundationPARTIALLY DONECE, healthy, SSH 2222 worksDisable public sign-up. Exact version still unknown (R2).
5hoggar-infra / AnsiblePARTIALLY DONE4 roles exist; README.md and requirements.yml are 0 bytesREADME, requirements, an ai-dev role, a backup role, lint
6hoggar-webDONE (Sprint 0 scope)running:healthy at hoggar.appREADME is still the GitLab template
7hoggar-docsPARTIALLY DONEAI section merged (MR !1, 001a8e2) and deployed. 0 of 10 ADRs written. Stale branch still exists.Fix the access protection. Write ADRs. Bring PROJECT_CONTEXT up to date: it does not list hoggar-ai, the Basic Auth claim is wrong, and §19 uses old agent names.
8hoggar-ai v0.1.1DONERemote tags v0.1.1^{} = eccc837, matching localFindings in section 4. No repository has the D3 version pin.
9Claude CodePARTIALLY DONE2.1.287, running as ubuntuApply settings.recommended.json at S1
10CodexPARTIALLY DONEcodex-cli 0.160.0, logged in under ubuntuApply config.recommended.toml at S1. No AGENTS.md in docs, infra or web.
11Spec KitDONE (tooling)specify 1.0.13 is installed. No repo is initialised, which matches the convention.Initialising a repo depends on section 6
12D1 / Stage S1NOT DONEubuntu is the only user with uid ≥ 1000; there is no ai-devCandidate for Sprint 0 (Q1)
13GitLab and credential isolationNOT DONEThe VPS key logs in as @root. The Coolify MCP uses the owner's token; the team has one member.Scoped credentials for ai-dev, and R1
14Backup and recoveryNOT DONENo Coolify scheduled tasks, no crontab, no backup tools. GitLab volumes exist only on the VPS.Strategy, off-VPS target, restore test (Q3)
15GitLab project managementNOT DONE / NOT VERIFIEDProtected main can't be checked without an API token, and root has pushed straight to main. Board, labels and milestones exist only as a design; none were created. One MR has been used so far.Set them up by hand, per D6 (Q5)
16GitLab RegistryNOT DONE (probably not enabled)/jwt/auth returns 404; no registry.* DNS recordDecide if it belongs in Sprint 0 (Q6)
17CI/CDNOT DONE, runner DEFERREDNo .gitlab-ci.yml anywhere. D8 forbids a runner on the production VPS. Auto-deploy on push is not set up.Q6
18Coolify housekeeping and securityPARTIALLY DONE2 leftover exited:unhealthy hoggar-web apps still carry the hoggar.app domain. Traefik 3.6.25 has a minor upgrade (3.7) available. Server terminal is enabled. The MCP token can deploy.Clean-up (HG-IRREVERSIBLE), token review, terminal policy
19Documentation and runbooksPARTIALLY DONENo runbooks for backup/restore, deploy, incident or secret rotation. Docs drift listed in row 7.Runbooks and ADRs
20Sprint 0 Definition of DoneNOT DONEA search found no DoD in any repositoryMust be defined (Q2)
—D1 S2 (dev/CI VPS)OUT OF SCOPEPer D1 and D8, it is a prerequisite before backend work—
—hoggar-api, app, mobile, product codeOUT OF SCOPE——

One fact contradicts the docs: D1, policies/permissions.md and PROJECT_CONTEXT say ubuntu is in the docker group. It is not: /etc/group has docker:x:988: with no members, and the socket returns permission denied. I did not test passwordless sudo, because running sudo is forbidden by policy.

4. AI Engineering findings​

I did not change hoggar-ai.

  • F1. No workflow covers technical or foundation planning. The orchestrator's task classes are feature, bugfix, review, release, incident and ai-engineering-change. Infra work has no workflow.
  • F2. Technical specs have no defined home (details in section 6).
  • F3. Every target repo fails the orchestrator's first precondition. Step 0 requires the D3 hoggar-ai: pin in the target repo's CLAUDE.md/AGENTS.md. No repo has it, so read strictly, every task in docs, infra or web returns CONTEXT_INSUFFICIENT.
  • F4. Validators can't be applied to this kind of output. Validators and gates expect specs or diffs, and nothing defines how to validate an assessment or report. Running validators in a fresh context also has no mechanism yet (sub-agent generation is design-only), so producer/validator separation is behavioural only.
  • F5. The D2 ledger can't record this task. Non-spec ledger kinds are bugfix, review, release and incident, and they must live in an application repo. There is no kind for planning work and no repo to hold it, so no ledger entry was written.
  • F6. hoggar-ai describes the environment incorrectly. It says ubuntu has docker-group access (shown wrong in section 3). Also, the CHANGELOG 0.1.0 entry still says "not committed".

5. Clarifications I need from you​

Q1. Is D1 Stage S1 part of Sprint 0?

  • Why it matters: right now the agents hold GitLab @root and the Coolify owner token.
  • Options:
    • (a) S1 in Sprint 0, including scoped credentials and R1.
    • (b) S1 in Sprint 0 but R1 postponed, with a read-only Coolify token.
    • (c) Defer S1.
  • Consequences: (c) keeps admin-level agent access while product work starts.
  • Recommendation: (a) or (b). R1 is your decision.

Q2. What is Sprint 0's Definition of Done?

  • Why it matters: none exists, so Sprint 0 can't be closed objectively.
  • Options:
    • (a) A minimal DoD: security exposure fixed, S1 done, off-VPS backup with one tested restore, GitLab baseline set up, the 10 ADRs, PROJECT_CONTEXT synced.
    • (b) (a) plus a CI skeleton.
    • (c) (a) plus Authentik.
  • Recommendation: (a).

Q3. Backup scope and where backups go.

  • Why it matters: GitLab, Coolify config and secrets currently exist only on the VPS.
  • Options:
    • (a) OVH Object Storage.
    • (b) Another provider's S3.
    • (c) Your Mac or NAS.
  • Also decide: whether backups are encrypted and who holds the key; how long they are kept; whether a restore test is required for Sprint 0.
  • Recommendation: off-provider S3, encrypted, with one restore test as a DoD item. This involves HG-SECRET.

Q4. How to fix the docs exposure and GitLab sign-up.

  • Options:
    • (a) Fix both now as a separate HG-PROD-OPERATION, outside this spec.
    • (b) Include them as Sprint 0 tasks.
  • Also decide: is Authentik/OIDC part of Sprint 0 or deferred?
  • Recommendation: (a) right away, and defer Authentik.

Q5. GitLab project-management baseline.

  • Why it matters: the board model is design-only and D6 makes GitLab setup a human task.
  • Decide: whether you create the 15 labels, the "Delivery" board and a Sprint 0 milestone now. Confirm main protection on all 4 repos ("No one" may push), plus a personal non-root account for daily work.
  • Recommendation: yes to all.

Q6. Do CI and the Registry belong in Sprint 0?

  • Why it matters: D8 forbids a runner on the production VPS, so real CI depends on S2.
  • Options:
    • (a) Defer CI and the Registry to S2.
    • (b) Use GitLab shared runners elsewhere. This would be a new decision.
    • (c) In Sprint 0, only document the CI design and enable the Registry.
  • Recommendation: (c) or (a).

Q7. Coolify housekeeping scope.

  • Decide:
    • Delete the 2 exited duplicate apps (irreversible).
    • Upgrade Traefik to 3.7.
    • Disable the server terminal.
    • Bind ports 8000, 8080, 6001 and 6002 to localhost, or keep the edge firewall as the only protection (security architecture).
  • Recommendation: all of these, each as its own approved operation.

6. Is the Spec Kit location already defined? — CONTEXT_INSUFFICIENT​

No. Here is what the sources say:

  • hoggar-ai/README.md says specs live in the repo that implements the feature (hoggar-api/specs/…), and that hoggar-ai holds no product specifications.
  • hoggar-docs/docs/ai-agents/architecture.md says specs belong to the implementing repo, "not to hoggar-ai and not to hoggar-docs."
  • spec-kit/conventions/repository-setup.md lists Spec Kit for hoggar-infra and hoggar-docs as "optional, later", says no repo is initialised, and requires human approval to initialise one. hoggar-ai is "no (for now)".
  • Sprint 0 work spans infra, GitLab, Coolify, docs and AI, so no single repo implements it.

Decision needed (HG-ARCH):

  • (A) Initialise Spec Kit in hoggar-infra and make it the primary spec, as hoggar-infra/001-sprint0-foundation. Linked specs go in other repos only if needed.
    • Fits D4 best, because most of the remaining work lands in Ansible.
    • Initialising it is a repo change needing approval.
  • (B) Initialise Spec Kit in hoggar-docs. The spec sits with the documentation, but it doesn't implement most of the work, which breaks D4.
  • (C) No Spec Kit. Write a plain planning doc in hoggar-docs plus GitLab issues. This skips SPEC_READY.
  • (D) A new hoggar-platform repo. This is a new repository, which needs HG-ARCH and goes against the "only when justified" principle.

My recommendation is (A), but the decision is yours.

I created no spec.md, plan.md or tasks.md, and I'm waiting for your answers to Q1–Q7 and the location decision.