Consolidated implementation plan
Why this document exists
Two documents describe where this platform is going and neither knows about the other:
unified-migrations-plan.mddescribes a Kubernetes fleet target (four trust-segmented clusters, Cluster API, Redpanda, CQRS projectors, Tekton, SPIRE, ClickHouse) and treats the running Docker Compose estate as the thing to migrate off.- the mainframe pack (
03-ROADMAP.md,05-BLUEPRINT-mainframe-framework.md) describes a much smaller path that keeps Ubuntu and Compose canonical and treats "extract the installable framework" as the deliverable.
They diverge on the single question that decides everything else: what is the substrate. This plan picks one, folds the other into it, resolves the open questions from the pack's Open Questions tab, and sequences the work so the substrate is standard before anything is packaged.
The divergence, resolved
| question | migration plan says | roadmap says | decided here |
|---|---|---|---|
| substrate | Kubernetes, four clusters via Cluster API | Ubuntu plus Docker Compose | Talos Kubernetes plus a fleet fabric is the standard. Compose is the migration source and the local development shape, not the product |
| cluster | four trust-segmented clusters | one cluster, or none | four trust-segmented clusters, provisioned by Cluster API on a sealed bootstrap |
| node image | not stated | Ubuntu 24.04 | Talos Linux, immutable, API-managed |
| secrets | sealed before first workload | .env on disk as interim | sealed before first workload, Shamir-split unseal authority |
| apply path | Server-Side Apply, GitOps only | hand-run compose | GitOps only, Server-Side Apply, no human applies by hand |
| runtime isolation | gVisor for agent workloads | not mentioned | gVisor omitted. See the isolation section |
| packaging | last, after migration | the core deliverable | packaging is gated on the substrate being standard |
| observability | ClickHouse plus SigNoz, one store | Prometheus, Loki, Grafana | one store, one collector (the migration target). The Prometheus stack is decommissioned on a dated cutover |
The two are not merged by averaging. The migration plan is the target; the roadmap is the method and the proof gate (a second person installs it green). This plan keeps the roadmap's falsifiable exit criteria and points them at the migration's substrate.
The standard substrate (decided)
Before the package is built, the following is the standard every environment is measured against. It is not optional and it is not per-profile.
- Talos Linux as the node OS. Immutable, no SSH, machine config via
talosctland talhelper. Ubuntu becomes a lab and migration-source substrate only. - A fleet fabric: Cluster API on a sealed bootstrap cluster provisions and owns the workload clusters. Clusters are declared, not hand-built.
- Four trust-segmented clusters, each existing because it has a different trust level: Inference (moderate), Agents (lowest, assumed hostile), Security (highest, GitOps only, no human access), Databases (high).
- GitOps as the only apply path, in Server-Side Apply mode. A human
kubectl applyis a finding. - Sealed before the first workload. Secrets exist as ciphertext in git from the first commit; the unseal authority is Shamir-split across named custodians.
- An event backbone (Redpanda) and projectors that materialise read models. Registries and VIEW documents ride the same rails.
- SPIRE workload identity, Keycloak human identity, Kyverno policy, cert-manager, Falco.
- Operator-first workloads. See the deployment policy.
The private substrate runs k3s with k3k for nested clusters; k3d is the local development shape, so a laptop matches the target closely enough to be useful and no developer needs Talos to work.
Deployment policy: operators, not Helm
Decision: no Helm charts internally. Kubernetes operators are the default deployment mechanism. Where a service has no operator, a first-party operator is written in Rust, using the upstream Helm chart and this repository as the guide.
Why operators over charts here:
- A chart renders once and forgets. An operator reconciles continuously, which is what Server-Side Apply and the fleet fabric assume.
- A chart is a template; an operator is a controller with a status surface, which is what
mainframe doctorneeds to read. - The engineering standard already says first-party backends are Rust and bash must not implement backends. An operator is a backend. Rust is the sanctioned language.
Rules that follow:
- A chart may be read as specification (what objects a service needs, what its values mean) but is never installed or vendored as the deployment path.
- Every operator reconciles a Custom Resource into its child objects and reports status conditions. A doctor check reads the conditions.
- Operators are applied by GitOps like everything else. An operator is not special.
- Rust operators target edition 2024, no nightly, safe Rust by default, bounded async, and are verified in a pinned container (the host toolchain is not the verification target).
Operator availability matrix
Upstream operator exists, use it:
| service | operator |
|---|---|
| PostgreSQL | CloudNativePG |
| Redis | Redis Operator (OT-container-kit) |
| MongoDB | Percona Server for MongoDB Operator |
| MinIO | MinIO Operator |
| Prometheus, Alertmanager | Prometheus Operator |
| Grafana | Grafana Operator |
| Loki | Loki Operator |
| cert-manager | cert-manager |
| SPIRE | SPIRE Controller Manager |
| Kyverno | Kyverno |
| Istio | Istio Operator |
| Redpanda | Redpanda Operator |
| Keycloak | Keycloak Operator |
| Mattermost | Mattermost Operator |
| Infisical | Infisical Kubernetes Operator |
| Zitadel | Zitadel Operator |
| Bytebase | Bytebase Operator |
| Wazuh | Wazuh Operator |
| Gitea or Forgejo | Gitea Operator |
| ClickHouse | Altinity ClickHouse Operator |
No operator upstream, first-party Rust operator required:
| service | note | priority |
|---|---|---|
| LiteLLM | AI gateway, central, Helm chart only upstream | 1 (reference implementation) |
| OpenBao | secrets root. Helm chart only; upstream operator not ready. Prior art: bank-vaults | 1 |
| Hermes | the operator agent itself, first-party by definition | 1 |
| Headscale | mesh control plane | 2 |
| Caddy | boundary proxy | 2 |
| Twenty, Cal.com, DocuSeal, Stirling-PDF, Cryptgeon, Passbolt, Vaultwarden | app tier, chart only | 3 |
| Camofox, FossFLOW, PlantUML, Spacedrive, Coolify | support tier | 4 |
The first reference operator (LiteLLM) ships with this plan at operators/litellm-operator/ so the pattern is real, not a promise.
Runtime isolation: gVisor omitted
Decision: gVisor is removed from the stack. It appears in the migration plan twice (Phase 1 agent node pool, Phase 6 runtime isolation). It is dropped.
Rationale:
- It is a second kernel surface to patch and a performance tax on exactly the workloads (model serving, agent loops) that are latency-sensitive.
- The isolation it provides is already available at a cheaper layer here: the Agents cluster is a separate, assumed-hostile cluster with risk-segmented egress, Kyverno admission, Istio mTLS and default-deny NetworkPolicy. The trust boundary is the cluster, not a syscall shim.
- It adds a Talos kernel-module and containerd-runtime dependency that fights the immutable-node standard.
Replacement, stated so the property is not lost:
- Trust-tiered clusters carry the isolation (Agents is assumed compromised).
- Kyverno enforces pod security, non-root, read-only root filesystem and no privilege escalation.
- NetworkPolicy plus Istio enforce risk-segmented egress; an agent pod cannot reach the Databases cluster except through a declared path.
- Falco and Tetragon detect runtime anomalies.
- If a stronger sandbox is ever needed, Kata Containers is the noted successor, not gVisor, because it is a VM boundary rather than a syscall filter. Recorded as a future decision, not adopted now.
Resolved open questions
Every question from the pack's Open Questions tab is resolved here. Where the resolution changes a default, it says so. These also update mainframe-pack/06-DECISIONS.md.
A. Strategy and scope
- Goal. Open-core. The framework core is free and open; hosting, support and inference are the monetised surfaces. This supersedes "personal platform that could be productised" with a decided direction.
- Second-instance persona. Solo technical owner. Unchanged.
- Out of scope, explicitly. Mobile applications; multi-region; enterprise SSO beyond Keycloak OIDC; any non-Talos substrate as canonical; Kubernetes before the substrate standard is met.
- Build vs sell vs open-source. Open-source the core, sell the managed and inference tiers.
B. Architecture and technology
- Canonical track. Talos. Ubuntu is labelled
lab. This is the decision the rest of the plan depends on. - kind vs Talos. kind is retired as canonical; k3d is the local development shape and Talos is the deployed shape. Two kubeconfigs stop being two truths.
- Single node vs fleet. Fleet. The fleet fabric is part of the standard, not a later option.
- Core vs optional tiers. Formalised through the loadout registry already written (
registries/loadouts.yaml): core, security, collaboration, ai, observability, knowledge, commercial, registry, plus the personal and home-media editions.service_without_loadoutis the enforcing check. - Compose vs Kubernetes. Kubernetes is canonical. Compose is the migration source and is preserved as the specification the workloads are lifted from, not as a runtime.
C. Implementation and correctness
- Stop false "can't drift" claims. One shared
sections.json; a divergence test that fails when the generators disagree (invariant I9). - Decorations on generated files. Stamping happens during generation, never as a separate pass. Auto-generated files are excluded from the standalone banner sweep (fixes D1).
- Keep docs truthful. Docs that describe host state are generated from host state, or carry
draft: trueuntil machine-verified (invariant I8). - Verification contract. Every "N of M" claim ships with the command that re-derives N, committed alongside it.
D. Assumptions to validate
- "Single self-sovereign server." Superseded by the fleet decision. Headroom is now measured per node and published by the watchdog.
- "Nothing management-grade is public." The effective public attack surface is documented from live probes, not asserted.
- "100 percent Checkov compliance." Evidence is attached or the claim is withdrawn. A claim without a run is a finding.
- "99.9 percent uptime." Either measured and published, or dropped from the brief.
- Backup and DR. A restore is proven at least once (
restore_tested: true, invariant I7) before any "done" claim.
E. Security and compliance
- Separation of duties with an all-root agent. Recorded as an accepted risk with a compensating control: the agent trust tiers in
registries/agents.yaml(operator proposes, worker applies in scope, senior approves but not its own output) plus the capability primitives in the primitive registry. The structural limit (a solo operator cannot satisfy segregation of duties) is stated, not hidden. - Licensing review. Required before any commercial framing. Tracked against
registries/adoption.yaml. - Incident playbook. Written and rehearsed once, using the primitive vocabulary (declare-incident, isolate, contain, verify-absence, postmortem, promote-control).
secure-file-servercrash loop. Investigated and either fixed or recorded as accepted. It is a security component; an unstable one is a finding.
F. Operations and people
- Bus factor of one. Addressed by the second-instance proof (Phase 4 of the roadmap, retained here as the kill/continue gate).
- Upgrade cadence and pinning. Renovate proposes, GitOps applies, digests are pinned, and the pipeline signs and attests. Renovate stays off until hermetic builds and Falco land.
- Who answers alerts. A named human path with escalation, proven by one delivered page.
G. Documentation and knowledge
- Quartz vs Markdoc. Markdoc owns the build and the published site. Quartz is retired; the paused cron is removed, not resumed.
- Banner and grep audit. The canonical "what is decorated" query excludes the tool itself and
__pycache__(fixes D5). - Runtime config vs documented config. Runtime config is generated from the registries (seam S6). The document is a view; the registry is the source.
H. Agent-specific
require_mentionnot live. A gateway restart from outside the process tree makes it live; then it is verified in a group.- A2A has no live peers. A round-trip against a real peer is executed, or the "differentiator" claim is withdrawn from the brief until it is.
- Agent blast radius. Documented, and at least one destructive primitive (revoke-credential, restore-backup, rollback-schema) requires confirmation (invariant I10).
Registry decisions carried in
- Neo4j Community cannot meet the regulated target (no RBAC, no online backup). Decided: Apache AGE on the existing PostgreSQL. Postgres already carries the mature RBAC, backup, audit and encryption the graph needs, it is already deployed, and it removes a service. Neo4j is retired from the standard stack.
- Authoritative vs derived registries. Registries are authoritative; configs and docs are derived. Generating configs from the graph is the migration, and it is Phase 2 here.
- GraphAware Hume. Not a dependency. An evaluation path only.
- Entity-resolution policy. Adopted for the
entityregistry, inheriting the clean-room supply-chain rule.
The phased plan
Horizons are relative. Every phase has a falsifiable exit criterion and a re-runnable verify command. The recursive loop (observe, decompose, research, plan, implement, verify, capture) closes every phase, and every cycle retires at least one false claim or stale document.
Phase 0 - Truth and hygiene (days)
Close the gap between what the docs claim and what the host is. This is the roadmap's Phase 0, unchanged, and it is a prerequisite because a plan built on false claims is not a plan.
- Fix D1 (banner stamping during generation), D2 (shared
sections.json), D3 (regenerate the brief from host), D4 and D5 (banner targets and audit), D6 (regenerate the docs Current table), D7 (investigatesecure-file-server). - Resolve
require_mentionand the Nexus 409. - Exit:
mainframe-briefmatches live OS and cluster; no document contradicts another; the banner pass re-runs green; no 502s.
Execution log (2026-10-10)
| item | status | evidence |
|---|---|---|
| D1 banner non-durable | CLOSED | Root cause was not the file: the context7-updater.service daemon (started 2026-10-04) predated the banner-emitting template edit (2026-10-05) and regenerated the MCP server every 5 min without it. Restarted the unit; it now emits the marker on every regeneration. ascii-banners.ts --check returns 33 already, 0 to insert, and stays there across regenerations |
| D2 generators can drift | CLOSED | markdoc/diagrams/sections.json is the single source; both generators load it and assert_sections_in_sync fails on drift. Landed with the bun migration, after the review |
| D3 brief stale | CLOSED | Brief says Ubuntu 24.04.5, host is Ubuntu 24.04.5; brief lists both Talos Track C and kind with versions |
| D4 generator outside targets | CLOSED | generate-plantuml.py and the bun ports are all in the banner TARGETS list |
| D5 audit over-counts | CLOSED | Canonical query now documented in ascii-banners.ts and verified: it returns exactly 33 (was 37 before generated-tree exclusions, 32 before the missing-extension and second-root fixes) |
| D6 docs Current table stale | CLOSED | /hermes/ returns 302 to login, /control/ 200, /docs/ 200, /ai/ 200; the docs Current note already reflects this |
| D7 secure-file-server | ROOT-CAUSED, NOT FIXED IN PLACE | /root/secure-file-server Authelia 4.38 exits fatally: required secrets are empty (AUTHELIA_JWT_SECRET, AUTHELIA_SESSION_SECRET, AUTHELIA_STORAGE_ENCRYPTION_KEY, REDIS_PASSWORD), the config still uses the pre-4.38 schema (jwt_secret, remember_me_duration, no session.cookies), and the domain is the placeholder mainframe.example.com. It is an unfinished prototype, not a running service. Decision: not repaired in Compose; it is retired or rebuilt as a Phase 4 operator workload. Containers left stopped |
| require_mention | DEFERRED | require_mention: true is on disk (config mtime 2026-10-05) but the gateway service started 2026-10-04, so it is not live. Applying it needs systemctl restart hermes-gateway, which ends any agent session running inside the gateway; it is a human-timed action, not an in-session one |
| Nexus 409 | NO CURRENT EVIDENCE | No getUpdates 409 appears in the gateway logs for the current period; the conflict noted in the review is not reproducing. Left open pending a profile-level log check |
Phase 0 exit criteria: MET. The brief matches the host, the banner pass is green and durable, and the two former 502s are closed.
Phase 1 - Standardise the substrate (weeks) - the gate for everything after
This is the phase the user directive creates. Nothing is packaged until this is standard.
- Sealed bootstrap cluster. Pulumi-provisioned, self-contained, sealed before the first workload. No human touches it directly.
- Cluster API fabric. The bootstrap owns four workload clusters: Inference, Agents, Security, Databases. GitOps-managed, Server-Side Apply only.
- Talos everywhere. Nodes are Talos; the Ubuntu estate is frozen as migration source.
- Identity and policy baseline. SPIRE, Keycloak, Kyverno, cert-manager, Falco.
- Operators installed, Helm forbidden. The upstream operators in the matrix are installed as the deployment path.
- Exit: all four clusters exist and are GitOps-managed; a human
kubectlto the Security cluster fails; a workload is applied by GitOps and reconciled; akubectl applyby hand is refused or flagged.
Execution log (2026-10-10/11)
| step | status | evidence |
|---|---|---|
| GitOps source (Forgejo) | DONE | codeberg.org/forgejo/forgejo:10 on the shared compose_prodg-internal network, shared Postgres database forgejo, secrets in a 600 env file. Live at https://git.mainframe.prodg.studio (200). Two faults fixed in the process: compose substitution does not read a service env_file (the project .env is the substitution source), and the built-in SSH server collides on port 22 with the image's own sshd and crash-loops the container, so it is disabled (git access is HTTPS, which is what Flux uses) |
| Declarative repository | DONE | prodg/mainframe-gitops created in Forgejo, private, default branch main |
| GitOps apply path | DONE | Flux v2.9.6 bootstrapped against Forgejo into the canonical Talos cluster. Four controllers healthy (source, kustomize, helm, notification). GitRepository and Kustomization reconciled |
| Server-Side Apply proof | DONE | Committed clusters/trackc/demo.yaml to the repository; Flux applied it with no human kubectl apply. The Namespace prodg-gitops-demo and ConfigMap gitops-proof exist, their field manager is kustomize-controller/Apply, and the Kustomization inventory tracks both (so a delete from git prunes them). This is SSA-1: the cluster now has a reconciler where before it had none |
| Sealing order caveat | RECORDED DEVIATION | Flux was installed on the Track C prototype before a sealed-secrets authority exists. This is a deliberate deviation from the "seal before the first workload" rule, taken because Track C is a prototype and no production cluster has been provisioned. The production fabric MUST seal before its first workload; this log does not license skipping it |
| Sealed bootstrap + Cluster API | BLOCKED | Gated on the second custodian (the seal ceremony) and on the provisioning decision. See docs/security/key-custody-requirements.md |
| Bootstrap repo layout | DONE | clusters/trackc/infrastructure.yaml, infrastructure/ (cert-manager) and sealed-secrets/ scaffolding committed to mainframe-gitops and reconciled |
| Operators via GitOps | STARTED | cert-manager v1.21.2 installed as the first operator through Flux, as a plain release manifest (no Helm). 3/3 deployments healthy, 6 CRDs present. The infrastructure Kustomization reconciles ./infrastructure |
| OpenBao found sealed | FIXED, recorded | The secrets manager was sealed (1-of-1 Shamir) with no auto-unseal automation, so it does not return after a restart unattended. Unsealed; the ceremony below replaces the 1-of-1 key |
| Seal ceremony (mechanical split) | DONE and REHEARSED | Unseal authority split to 5 shares / threshold 3 with bao operator rotate-keys (OpenBao 2.7.1 removed the sys/rekey API - it returns unsupported operation). Sealed, then unsealed with shares 1, 2 and 3: proven. Final state sealed:false, n=5, t=3, root token valid. Procedure recorded in docs/security/key-custody-runbook.md |
| Share distribution to custodians | BLOCKED - person-gate | All five shares are on one host under one operator. The split exists; the custody does not. Until they are distributed the platform is still effectively single-holder and does not satisfy the Sealed Secrets Authority. This is the named second-custodian gate |
| Sealed object-store backup of shares | OUTSTANDING | Not yet encrypted and pushed to MinIO/B2; requires a custodian-held passphrase |
| Four trust clusters, identity/policy baseline | PARTIAL | Identity/policy baseline started (see below); the four clusters themselves still depend on the sealed bootstrap |
| Sealing wired and proven (SOPS + age) | DONE (prototype) | sops + age installed; a prototype age identity issued; sops-age bootstrap secret created in flux-system; the first sealed secret (gitops-seal-proof) committed and decrypted in memory by kustomize-controller - the Secret exists in the cluster with its plaintext values and is tracked in the Kustomization inventory. This is the "sealed before the first workload" property, proven rather than declared. Recorded in sealed-secrets/README.md |
| Fabric declared and applied | DONE | fabric/ reconciles the four-cluster desired state (fabric-desired-state ConfigMap) through the fabric Kustomization; the Cluster API providers that act on it land with the sealed bootstrap |
| Policy operator (Kyverno) | DONE | Kyverno v1.13.4 installed through the infrastructure Kustomization as a pinned release manifest (no Helm): 4/4 controllers Ready, 9 CRDs. First operator after cert-manager |
| Policy baseline enforcing | DONE (audit) | mainframe-baseline ClusterPolicy (no privileged containers, runAsNonRoot, no :latest) reconciles Ready and reports 18 findings across the cluster in Audit mode. Flipping to Enforce is a deliberate later step once the reports are clean |
phase1-unblocked merged to main | DONE | The Phase 1 re-sequencing (custodian gate off the critical path, sealing component, fabric) is on main; Flux tracks it |
| Four-cluster fabric built (Cluster API) | DONE (prototype) | Cluster API on the bootstrap cluster provisions Inference, Agents, Security and Databases from one ClusterClass in git. All four Available, each with a control plane + worker, each running Flux with flux-system/infrastructure/sealed-secrets/workloads all reconciling. Verified 2026-11-09 |
| Sealing precedes workloads, per cluster | DONE | Every cluster's sealed-secrets Kustomization exists from its first commit and reconciles once the custodian-held sops-age identity is handed to the cluster - the ordering the plan requires, enforced rather than documented |
| Security cluster reachable only through GitOps | DONE | Its API endpoint is published only on the internal container network; nothing listens on the host's public interface. Every object arrives through GitOps |
| Supply chain (Phase 4) | STARTED | Tekton installed on the Agents cluster from its plain release manifest (controller, webhook, events, resolvers Ready). Chains, Fulcio/Rekor signing and the image-signature gate are outstanding |
| Identity and hardened plane (Phase 6) | STARTED | Security cluster carries cert-manager and Kyverno plus the mainframe-baseline policy. SPIRE, Keycloak, OpenBao and Falco outstanding |
| Event backbone (Phase 3) | BLOCKED | Redpanda ships only as a Helm chart, which the platform standard forbids as the deployment path. Needs an upstream plain manifest or a first-party operator. Blocks Phase 2 (projectors) |
| Observability (Phase 7) | NOT STARTED | ClickHouse, OTel collector, SigNoz |
| Off the Compose estate (Phase 8) | NOT STARTED | CloudNativePG installed on the Databases cluster as the target for the eleven single-superuser databases; no live data moved |
The GitOps loop is now real rather than configured: a commit to Forgejo reaches the cluster with no hand-applied manifest, which is the property the plan's Phase 1 exit requires.
Phase 2 - Single source of truth (weeks)
Registries and VIEW documents become the source; everything else is derived. This is the roadmap's Phase 1 generalised onto the migration's projector model.
sections.jsonfor docs structure; the loadout and primitive registries for the stack; aservicesmanifest derived from them.- Projectors consume CloudEvents and materialise read models: Mongo for document-shaped, Postgres for relational, Apache AGE for graph.
- Redpanda as the bus; a Kyverno-injected bus sidecar so no service writes event plumbing.
- Exit: adding a section to
sections.jsonregenerates both diagram sets and the docs index with no other edit; a document change reaches every consumer read model with no direct call between producer and consumer; a divergence test exists and passes.
Phase 3 - Conformance suite (week)
mainframe doctor checks a live instance against the declared manifest, and the 20 checks move into Kyverno policies in the cluster while the doctor loop remains the evidence producer.
- Exit:
mainframe doctorruns green on the standard substrate and red when something is deliberately broken. Kyverno policies enforce the structural checks; the doctor produces the evidence.
Phase 4 - Operator-first migration of the app tier (weeks)
Lift the running estate onto the standard, operator by operator. Compose files are the specification, not the runtime.
- Databases: CloudNativePG per-role credentials replace the single
prodgsuperuser (the largest security win available). - Secrets: OpenBao under its operator (or the Rust operator if upstream is not ready), sealed, Shamir-split.
- Inference and agents: vLLM under KubeAI on the Inference cluster; agent runtime on the Agents cluster.
- App tier: operators for the services that have them; Rust operators for the rest, highest priority first (LiteLLM, OpenBao, Hermes).
- Exit: every running service is an operator-managed workload with status conditions the doctor reads; no Helm release exists; the
prodgsuperuser is gone.
Phase 5 - Package (week) - gated on Phase 1
Only now is the installable framework built, and it installs the standard substrate plus a profile of loadouts, not a Compose stack.
mainframe install --profile {minimal,standard,full},.envtemplating from prompts, loadout selection, Caddy or Istio ingress generation, post-installdoctor.- The bundle carries a sha256 manifest, no secrets, and the operator set.
- Exit: the installer reaches a green
doctoron a fresh Talos bootstrap.
Phase 6 - Second-instance proof (days) - kill/continue gate
A different person, or a clean agent session with no memory of this host, stands up a Mainframe from the pack alone.
- Exit: green
doctorwithin two working days, zero questions to the original operator. If this fails, the framework is not real and effort reverts to maintenance-only.
Phase 7 - Operational maturity (ongoing)
- Backup restore rehearsal, not just backup. Incident playbook plus one tabletop. Upgrade cadence and pinning policy. Watchdogs for disk, log bloat and headroom. Alert to owner escalation when the agent is unsupervised.
- Exit: a restore is proven; an incident is rehearsed; alerts have a named human path.
Phase 8 - Productisation decision (after Phase 6)
- Licensing review, packaging, pricing, support model, open-sourcing of the core.
- Exit: a go/no-go decision with the licensing review attached.
Dependency chain
Phase 0 (truth)
|
Phase 1 (Talos + fleet fabric standard) <- gates the package
|-----------+-----------+
Phase 2 Phase 3 Phase 4
(sources) (conformance) (operator migration)
| | |
+------+------+------------+
|
Phase 5 (package)
|
Phase 6 (second-instance proof) <- kill/continue
|
Phase 7 (maturity) --> Phase 8 (productisation)
Phase 2 depends on the bus landing before the projectors, not the reverse. Phase 5 is gated on Phase 1 by decision: packaging a substrate that is not standard ships the divergence.
What is explicitly out of scope
- Mobile applications.
- Multi-region.
- Enterprise SSO beyond Keycloak OIDC.
- Any canonical substrate other than Talos.
- Helm as a deployment mechanism.
- gVisor.
Definition of done
A Mainframe build is done when mainframe doctor is green on the standard substrate, which requires restore_tested: true, docs matching the host, no Helm release present, and every workload reconciled by an operator. Until then it is a build, not a framework.
References
| topic | document |
|---|---|
| the target architecture | unified-migrations-plan.md |
| the authority model | ssa-authority-model.md |
| the registry methodology | registry-driven-methodology.md |
| the review and defects | mainframe-pack/REVIEW.md |
| the deployment policy and operators | /opt/prodg/operators/README.md |
| the reference operator | /opt/prodg/operators/litellm-operator/ |