Sprint 0 close assessment — archive (2026-10-02)
- 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:
ubuntuis not in thedockergroup and has passwordlesssudo). - 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.
- 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 get401, so the temporary Basic Auth is not working. - Anyone can register on GitLab.
https://gitlab.hoggar.app/users/sign_upreturns 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).
| Role | Agent | Why it was picked |
|---|---|---|
| Orchestrator | master-orchestrator | Classifies the task, selects agents, owns the gates. Ran select-agents. |
| Producer | architect | Sprint 0 scope, the spec location question, the decision questions |
| Producer | devops-agent | Infra, GitLab and Coolify state (C5 Coolify reads) |
| Validator | security-reviewer | Areas S1, credential isolation, exposure, backups |
| Validator | spec-checker | Checks each status claim against its evidence; will run SPEC_READY later |
| Validator | code-reviewer | ARCHITECTURE_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-reviewerandspec-checkeras 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-gitlabstays design-only and was not activated.
- Used now:
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_REVIEWandREADY_TO_MERGE: when the spec MR exists.- Not applicable: TESTS_PASS, CONTRACT_VALID, MIGRATION_SAFE, QUALITY_PASS.
- Human gates:
| Gate | What triggers it |
|---|---|
| HG-SPEC-AMBIGUITY | The questions in section 5 |
| HG-ARCH | Where the spec lives; Spec Kit init in a repo outside the current convention; choice of backup target |
| HG-SECURITY-ARCH | S1, the credential model, R1, the docs and GitLab exposure, Docker host ports |
| HG-SECRET | Creating the ai-dev credentials and rotating the Coolify token |
| HG-PROD-OPERATION | Coolify and GitLab settings changes |
| HG-IRREVERSIBLE | Deleting the leftover Coolify apps |
3. Sprint 0 matrix
| # | Area | Status | Evidence | Remaining work |
|---|---|---|---|---|
| 1 | VPS foundation | DONE | Ubuntu 24.04; 19G of 193G disk used; Ansible bootstrap roles exist | — |
| 2 | Server security baseline | PARTIALLY DONE | sshd 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). |
| 3 | Docker / Coolify | DONE | Coolify 4.3.23, Docker 29.8.1, server reachable | Housekeeping moved to row 18 |
| 4 | GitLab foundation | PARTIALLY DONE | CE, healthy, SSH 2222 works | Disable public sign-up. Exact version still unknown (R2). |
| 5 | hoggar-infra / Ansible | PARTIALLY DONE | 4 roles exist; README.md and requirements.yml are 0 bytes | README, requirements, an ai-dev role, a backup role, lint |
| 6 | hoggar-web | DONE (Sprint 0 scope) | running:healthy at hoggar.app | README is still the GitLab template |
| 7 | hoggar-docs | PARTIALLY DONE | AI 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. |
| 8 | hoggar-ai v0.1.1 | DONE | Remote tags v0.1.1^{} = eccc837, matching local | Findings in section 4. No repository has the D3 version pin. |
| 9 | Claude Code | PARTIALLY DONE | 2.1.287, running as ubuntu | Apply settings.recommended.json at S1 |
| 10 | Codex | PARTIALLY DONE | codex-cli 0.160.0, logged in under ubuntu | Apply config.recommended.toml at S1. No AGENTS.md in docs, infra or web. |
| 11 | Spec Kit | DONE (tooling) | specify 1.0.13 is installed. No repo is initialised, which matches the convention. | Initialising a repo depends on section 6 |
| 12 | D1 / Stage S1 | NOT DONE | ubuntu is the only user with uid ≥ 1000; there is no ai-dev | Candidate for Sprint 0 (Q1) |
| 13 | GitLab and credential isolation | NOT DONE | The 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 |
| 14 | Backup and recovery | NOT DONE | No Coolify scheduled tasks, no crontab, no backup tools. GitLab volumes exist only on the VPS. | Strategy, off-VPS target, restore test (Q3) |
| 15 | GitLab project management | NOT DONE / NOT VERIFIED | Protected 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) |
| 16 | GitLab Registry | NOT DONE (probably not enabled) | /jwt/auth returns 404; no registry.* DNS record | Decide if it belongs in Sprint 0 (Q6) |
| 17 | CI/CD | NOT DONE, runner DEFERRED | No .gitlab-ci.yml anywhere. D8 forbids a runner on the production VPS. Auto-deploy on push is not set up. | Q6 |
| 18 | Coolify housekeeping and security | PARTIALLY DONE | 2 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 |
| 19 | Documentation and runbooks | PARTIALLY DONE | No runbooks for backup/restore, deploy, incident or secret rotation. Docs drift listed in row 7. | Runbooks and ADRs |
| 20 | Sprint 0 Definition of Done | NOT DONE | A search found no DoD in any repository | Must be defined (Q2) |
| — | D1 S2 (dev/CI VPS) | OUT OF SCOPE | Per D1 and D8, it is a prerequisite before backend work | — |
| — | hoggar-api, app, mobile, product code | OUT 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'sCLAUDE.md/AGENTS.md. No repo has it, so read strictly, every task in docs, infra or web returnsCONTEXT_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
ubuntuhas 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
@rootand 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 0milestone now. Confirmmainprotection 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.mdsays 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.mdsays specs belong to the implementing repo, "not to hoggar-ai and not to hoggar-docs."spec-kit/conventions/repository-setup.mdlists Spec Kit forhoggar-infraandhoggar-docsas "optional, later", says no repo is initialised, and requires human approval to initialise one.hoggar-aiis "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-infraand make it the primary spec, ashoggar-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-platformrepo. 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.