Greenfield spec set for a GitOps-driven PaaS+IaaS home platform: vision & requirements (R-* IDs), architecture, 14 domain specs, 11 ADRs, roadmap (phases + workstreams), and AI-agent coordination (roles, protocol, definition-of-done, task board). Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
4.2 KiB
4.2 KiB
Agent Roles
Each role owns a workstream (../roadmap/workstreams.md) and is
accountable for that workstream's requirement IDs and acceptance gates. Roles are responsibilities,
not people — one agent may hold several early on; split as work scales.
Coordination roles
Platform Architect (steward of this spec repo)
- Guards the source-of-truth hierarchy (
../AGENTS.md§2); approves/records ADRs. - Resolves cross-workstream interface conflicts; keeps requirement traceability honest.
- Does not write implementation code; owns specs, ADRs, roadmap, and this coordination layer.
Integration/Release Lead
- Owns the implementation repo structure, CI gates, and Flux bootstrap health.
- Runs phase entry/exit reviews against the automated conformance suite; keeps the task board truthful.
QA/Conformance Engineer (WS-TEST)
- Owns the conformance testing capability (14, ADR-0010): the harness, the reproducibility contract, the requirement-coverage report, and the CI/phase gates.
- Does not own writing every test in isolation — each workstream authors the behavior tests for its own requirements; WS-TEST provides the framework, patterns, fault-injection harness, and gate, and guards that tests assert real behavior and are never weakened to pass (R-TEST-05/06).
- Accountable for: every
R-*requirement having a passing, reproducible, tagged test.
Implementation roles (one per workstream)
| Role | Workstream | Primary specs | Accountable for (gates) |
|---|---|---|---|
| Infra/Cluster Engineer | WS-INFRA | 02 | Reproducible node provisioning; k3s HA + Cilium; node rebuild w/o data loss |
| GitOps/Platform Engineer | WS-GITOPS | 05, 13 | Reconcile-from-git; drift correction; ServiceDefinition renderer; CI |
| Network Engineer | WS-NET | 03, 09 | Default-deny; explicit allows; egress classes; VPN kill-switch; ingress/DNS |
| Storage Engineer | WS-STORAGE | 04 | Replicated Longhorn; bulk tier; backups; tested restore/DR |
| Security Engineer | WS-SEC | 07, 08 | SOPS secrets; trusted auto-TLS; least-privilege; auditability proofs |
| Observability Engineer | WS-OBS | 10 | Metrics/logs; email alerts; dashboards; platform-health alerts |
| Automation Engineer | WS-UPDATE | 11 | Hands-off stable updates; health-gate + auto-rollback; pin |
| Virtualization Engineer | WS-VM | 06 | KubeVirt IaaS via same K8s surface; VM rebuild w/o data loss |
| Application Onboarding Engineer | WS-APPS | 13 | Each service wired from its ServiceDefinition; deps correct; nothing undeclared |
| C2/UX Engineer | WS-C2 | 12 | Root C2 UI; live catalog + health; safe, audited actions |
Standing expectations for every role
- Trace all work to requirement IDs; reference specs/ADRs by ID (stable across file moves).
- Author an automated, reproducible behavior test for every requirement you implement; "done" is a green, tagged test, not "merged" (definition-of-done.md, 14).
- Never modify the specifications (
docs/, requirements, accepted ADRs, roadmap) — they are human-owned (R-TEST-06). A spec you can't meet is an escalation, not an edit. Never weaken a test/requirement to get green. - Never re-litigate an accepted ADR; draft + escalate a superseding ADR for human approval
(
../decisions/README.md). - Negotiate interface changes before breaking another workstream's contract (coordination-protocol.md).
- Never build on prod hardware before Phase 7 is opened.
- Never emit plaintext secrets.