v1 skill inventory and first build slice #173
Notifications
Due Date
No due date set.
Depends on
#171 Package boundaries and names
Mortis/Holocron
#172 Safety model: action tiers, secrets, enforcement
Mortis/Holocron
Reference: Mortis/Holocron#173
Reference in new issue
Block a user
Part of #166
Question
Which skills, agents, prompt files and instructions make up v1 of each package (one line each: name + responsibility + near-misses), and which thin vertical slice gets built first so the destination test (ticket → approved, merged and verified change in
ansible-homelab-mono) is reachable earliest?Inputs (from #170, revised resolution)
planner(spec + tickets),implement-lead,reviewer,operator; implement specialiststest-author→implementer→qa(sequential). Stage lead bodies hold the stage flow; skills hold know-how — inventory the skills they load.qajudges CI results pre-PR; PR opened afterqapasses; review on the PR, cap 3 rounds (blocking only); conflict exit →Status/Ready for Human.--check --diff,tofu plan.--agentdelegation, pinnedmodelhonoured,strict-tools-list+agenttool.Inputs from the Package boundaries and names resolution (#171)
delivery,ansible,gitops(hybrid: pins upstreamgitops-knowledgeandgitops-repo-audit, authors Sealed Secrets and live Flux diagnosis; depends onk8s),k8s.tofureserved, not created. Inventory each.delivery-planner,delivery-implement-lead,delivery-test-author,delivery-implementer,delivery-qa,delivery-reviewer,delivery-operator.delivery-,ansible-,k8s-,flux-,sealed-secrets-; nevergitops-(upstream's); no bare package or prefix name; no upstream chain name reused. Keep agent names as roles anddelivery-skill names as activities so the two don't read alike.kubectl/fluxCLI.docs/agents/delivery.md: one file per consuming repo, format owned bydelivery(repo contents and applicable tool skills, CI check namesdelivery-qareads, repo conventions). Decide here: the exact format, and whether a setup skill writes it.deliverydoes not depend on the tool packages. Decide howdelivery-operatoranddelivery-qafind the tool skill for a change, and the report they give when none is installed (they must not improvise).deliverydependencies:git,gitea;mattpocockonly if an agent callsgrillingordomain-modeling— settle that here.gitopspackage early; only apm's own behaviour was verified.Inputs from the Safety model resolution (#172, ADR-0032)
deliveryships one guard hook. It denies the Never tier everywhere, and for odd-job commands it asks on Claude Code and Copilot CLI and denies elsewhere. Put this in the inventory, and decide whether it is in the first build slice.--check --diffbelongs to CI. An odd-job skill (operator, HITL) runs real playbooks.docs/agents/delivery.md. That allowlist is now a required field in thedelivery.mdformat.docs/agents/delivery.mdmust also list the consuming repo's credential-boundary setup: bot user, branch protection, kubeconfig roles, dry-run status check, test-path CI check.Resolution
Grilled with the map owner over four rounds. ADR-0031 is amended for the draft-PR flow, and GLOSSARY gains Acceptance check (PR linked below once open). Repo facts were gathered by a subagent from
/root/ansibleand/root/kamino.Scope of the destination test
Decisions
docs/agents/delivery.mdmaps path globs to tool-skill names.delivery-qaanddelivery-operatorload exactly those skills. If a listed skill isn't installed, the agent stops withStatus/Ready for Humanand a "missing skill<name>" handoff and never improvises.deliverydepends onmattpocockfor now, becausedelivery-planner's spec intake callsgrilling. Decoupling is a later effort.delivery-handoffis one skill that every stage lead loads. On entry it reads the inbound Handoff comment and checks the gate: the issue timeline shows that a user on the allowlist set the label. On exit it writes a Handoff comment with fixed##headings: Decisions, Rejected, Evidence, Next pointer, Open questions, Next command. There is no schema validator; that waits for run mode.--agentdelegation, the pinnedmodel, andstrict-tools-listneedingagentagainst Copilot's docs and issue tracker. An open bug it finds becomes a documented limitation, not a design change.delivery-implement-leadopens aWIP:PR.delivery-qajudges that PR's CI, and removingWIP:starts the review stage. Reason: both reference repos (and most repos) run CI on PRs only, andansible-homelab-monohas no CI on branch push.delivery-test-authoralways writes them. For code they are failing tests. Where no test applies, such as a chart bump, they are post-merge assertions with a reason ("HelmReleasegotifyReady at chart 1.2.3").delivery-operatorverifies the assertions anddelivery-reviewerjudges the reasons.v1 inventory
delivery:delivery-planner,-implement-lead,-test-author,-implementer,-qa,-reviewer,-operator; each body is its own flow (qa's judgement checklist lives in its body)delivery-handoffgitea-issuesdelivery-specgrilling→ spec issuewayfinderdelivery-ticketsgitea-issuesdelivery-test-firsttdd(upstream)delivery-ci-checksdelivery.mdgitea-prsdelivery-reviewcode-review(upstream)delivery-verify*-diagnoseskillsdelivery-repo-docdelivery.mdformat; drafts a repo's file as a PRagentsmd-authorThere are no prompt files and no instructions files.
gitops:gitops-knowledgeandgitops-repo-auditflux-diagnose: read-onlyfluxCLI checks; hands pod-level problems tok8s-diagnosesealed-secrets-author:kubesealwith the public cert onlyk8s:k8s-diagnose: read-onlykubectltroubleshootingansible:ansible-author: playbooks, roles and collections, including antsibull changelog fragmentsansible-test: Molecule scenarios plus syntax and lint with a placeholder vault passwordansible-run: odd-job real runs in HITL sessions, and reading PLAY RECAP and--check --diffoutputEvery infra skill carries a tier table.
docs/agents/delivery.mdformatSix fixed sections:
Sections 1–4 are read mechanically, so they use fixed headings with simple lists.
Slices
Flux (the destination test):
deliverywithout the planner, plus the guard hookgitopswith the pinned skills andflux-diagnosek8s-diagnoseFlux changes already apply on merge, there's no vault workaround, and verification is read-only CLI.
ansiblesealed-secrets-authordelivery-planner,delivery-specanddelivery-tickets, then themattpococktrim PR.The owner ordered the planner last.
Slice 1 becomes ten build tickets on the map. Each authored item gets a
factory-auditcloseout inside its own ticket.Facts surfaced (for later tickets)
ansible-homelab-monoCI:lint_validationruns pre-commit on PRs; it is the required check.moleculeruns on PRs, and only forroles/pihole.provision.ymlapplies on a push tomain. Its--check --diffis a preview that runs after merge and doesn't block.PATH:ansible-lint,molecule,tofu,copilot. The first two may be in the repos'.venv.kaminohas no root AGENTS.md (it has CLAUDE.md and nested AGENTS.md files).ADR-0031 amendment and the GLOSSARY Acceptance check term: PR #196 (
docs/adr-0031-draft-pr-qa). All pre-commit and pre-push hooks passed.