gunk-dev/the-valley

roadmap.md

sourcebd4d26160244main's published tip history
28.3 KiB · Rendered
1# Roadmap
2
3The other design docs describe the design space. This is the plan. It exists to **incrementally validate the design** — not to commit to it. It sits downstream of the [scenario ladder](./user-scenarios.md): the ladder says what must become true for a user, and in what order; this document says what gets built to make each rung true, and how each claim gets checked. Where phases and rungs disagree, the rungs win.
4
5## The shape of the plan
6
7The design is a stack of claims: git-as-event-source, signed-local-checks-instead-of-CI, pull-based integration, reactive controllers, transparency-backed trust, a knowledge graph. Each is falsifiable. The roadmap turns each into a phase you can actually run and check.
8
9Four rules govern every phase:
10
111. **Independently valuable.** The phase ships something worth having even if the next phase never happens. Phase 0 is durable self-hosting; you'd want that regardless of whether attestations ever exist.
122. **Independently stoppable.** You can stop after any phase and be left with a coherent system, not a half-wired one.
133. **Validates exactly one distinct claim.** A phase that validates two claims can't tell you *which* one broke.
144. **Serves a rung.** Every phase names the rung(s) of the [ladder](./user-scenarios.md#the-ladder) it builds toward; a phase no rung demands has no business on this page. One rung may take several phases — each still validates its own claim, and the rung is established at the last of their gates.
15
16Heavy iteration on the later phases is expected, and that's a **feature, not a risk**. The point of validating Phase 1 before building Phase 3 is that Phase 3 gets designed against a spine that has actually run. This is a living document, re-derived against the ladder as rungs and reality move. It will be wrong in places, and the plan is structured so that being wrong is cheap. The ladder's own discipline applies here too: a phase serving a far rung stays thin until that rung is the top priority.
17
18**Sequencing is by validation gate, not calendar date.** There are no time estimates here on purpose. Each phase is done when its exit criteria are checkable and checked — "validated when …", not "shipped by …".
19
20## Phases at a glance
21
22| Phase | Ships | Rung | Validates | Gate |
23| --- | --- | --- | --- | --- |
24| 0 | Repos off GitHub, durably; knowledge v0 | S1 | Self-hosting is durable enough to trust | Verified restore + a week off GitHub for the pilot |
25| 1 | The event log | S2 (1 of 3) | git-as-event-source; "a log, not a workflow engine" | `valley tail` shows real ref updates as events |
26| 2 | Signed local attestations | S2 (2 of 3) | The contributor protocol's ergonomics | `nix run .#attest` replaces "wait for CI" for real work |
27| 3 | The integrator | S2 established | Pull-based integration; staleness-as-failure-mode | You stop pushing to `main` directly, even solo |
28| 4 | Agents as first-class authors | S3 established | The pipeline holds with no human in it | A dispatched change lands unsupervised, attributed to the agent's key |
29| 5 | Effectful reactions | S4 established | Reactive controllers replace push-based CI/CD | commit→build→deploy→notify is one queryable history |
30| 6 | Trust backstop | S3 hardened; S5 enabled | The security model (~SLSA-3 for purity-claiming checks) | An untrusted-signer change lands only via the trust flow |
31| 7 | Feedback & incident memory | S6 established | Review is feedback; incidents are memory | An incident files its own node; review happens with no PR object |
32
33S7 (strangers) has no phase, deliberately: it is [explicitly deferred, maybe never](./user-scenarios.md#the-ladder) — the trust model should degrade toward it gracefully, not build for it. Requirements need 7 (*Demand-shaped work*, [requirements.md](./requirements.md)) is likewise phase-less, deliberately: phases serve rungs (rule 4), and need 7 derives from the README's outcome-engine framing rather than a rung — though Phase 4 (dispatch targets an outcome node) and Phase 5 (a landed change closes the outcome it serves) partially serve it.
34
35The named systems, all pilot instances: **klaus** (agent dispatch, run budget), **armstrong** (the Go controller that becomes the effectful-reactions successor), **tesseract** ([transparency-dev/tesseract](https://github.com/transparency-dev/tesseract), the Tessera-backed tlog), **cosmo** (the owner's NixOS infra — the consumer that installs this repo's host module), and **classic-laddie** (the pilot host: a box on the owner's tailnet, already running the klaus webhook relay; it hosts every server-side phase below first). Hostnames are pilot detail, not design: the durable content of this plan is portable, and what any host serves is declared in the host schema this repo ships ([schema/valley.cue](../schema/valley.cue)).
36
37---
38
39## Phase 0 — MVP: repos off GitHub
40
41**This is the priority.** Everything downstream is developed against it.
42
43**Rung: [S1 — my repos live on my infrastructure and I can never lose them](./user-scenarios.md#s1--my-repos-live-on-my-infrastructure-and-i-can-never-lose-them).** The rung's acceptance checklist is this phase's gate.
44
45**Goal.** Get the crown-jewel git data off GitHub and onto infrastructure you control, durably enough that you'd trust it with the only copy — before there's ever only one copy.
46
47**What gets built — and what already is.** Hosting only. Bare git over SSH on a host the owner controls (the pilot host: classic-laddie). The first artifacts are shipped: a CUE host schema ([schema/valley.cue](../schema/valley.cue)) declaring what a valley host serves — projects, each with a git store and push mirrors — and a `valley-host` NixOS module ([flake.nix](../flake.nix)) that installs a host from that declaration; cosmo consumes the module for the pilot host (in flight). The schema is the domain model and is deliberately not Nix: the NixOS module is one installer consuming it, and any other installer can consume the same file. Identity is Tailscale ACLs + SSH keys ([architecture.md](./architecture.md)'s *Hosting* and *Identity / access* rows, nothing more). **No bus, no attestations, no integrator.** The contributor — one solo dev — pushes directly to `main`. `cgit` or similar for browsing if wanted. The integrator and the protected-ref invariant arrive in [Phase 3](#phase-3--the-integrator); pushing straight to `main` now is correct, not a shortcut.
48
49The Tailscale identity layer is deliberately thin. The user has noted it's thin enough to swap later — so it's an acceptable v1 choice, not a lock-in. When identity needs to grow (untrusted contributors, agent keys), it grows in [Phase 6](#phase-6--trust-backstop).
50
51**Knowledge v0 ships in this phase.** S1's knowledge increment: issues, outcomes, ideas, and decisions live with the repo as plain markdown files — a directory convention, not a system. No indexer, no events; the schemas are documentation until there's an integrator to enforce them. Instantiated at [.the-valley/](../.the-valley/README.md). The graph grows one increment per rung from here — agents write it ([Phase 4](#phase-4--agents-as-first-class-authors)), it becomes observable ([Phase 5](#phase-5--effectful-reactions-armstrong-as-controller)), incidents file into it ([Phase 7](#phase-7--feedback--incident-memory)) — so no later phase "builds the knowledge graph".
52
53**Durability is part of the MVP, not an afterthought.** The git data is the crown jewel; losing it is the one unrecoverable failure. The target is 3-2-1: primary bare repos on the valley host, replicated offsite, with **GitHub retained as a transitional mirror** during migration — three copies early on. The mechanism is decided ([dcr-d7952bc](../.the-valley/decisions/dcr-d7952bc-phase0-replication-github-transitional.md) — it was this document's open question): two complementary layers.
54
55| Layer | Mechanism | What it gets you |
56| --- | --- | --- |
57| Live replication | Push-triggered git-native mirror to an independent live remote | Pushed = replicated: a hot second remote you can `git fetch` from directly; git-native, trivially verifiable |
58| Offsite depth | Periodic encrypted backup of the bare-repo dir (restic-style) to offsite storage | Encrypted, deduplicated point-in-time history, independent of the live remotes |
59
60Block-level replication (ZFS send) was considered and rejected for now: it ties restore to a matching filesystem on the far end, and it is not a live git remote. For the pilot, the live second remote is GitHub — the transitional mirror — and offsite depth is a Hetzner Storage Box; a dedicated sovereign live remote is deferred until GitHub exit. Light RPO/RTO framing, per the rung: pushed work is in at least two independent places within minutes, one offsite; restore from the offsite copy within a day — and no copy counts until a restore from it has been *performed and verified*.
61
62**Migration strategy: mirror-first, then cut over.** Mirrors are declared config, not a manual dual-push: the host declaration's per-project `mirrors` field replicates every push to the primary out to each mirror URL — deletions propagated, best-effort, a dead mirror never rejects the primary push. GitHub stays declared as one such mirror while confidence builds; the canonical `origin` flips per-repo once it's earned. The same field is the public-exposure mechanism later — migration dual-push and publishing are one mechanism. Reversible at every step; supports iteration.
63
64**Pilot: the-valley itself.** the-valley's own repo is the first off GitHub — dogfooding, low stakes, and every later phase is developed against it. Later repos roll out after the pilot proves the workflow.
65
66**The design claim it validates.** Self-hosted bare git on the owner's existing infrastructure is durable and ergonomic enough to be the canonical home for real work — the premise ([requirements.md](./requirements.md)) that hosting lock-in is the only thing GitHub does well, and it's swappable.
67
68**Exit criteria.** The rung owns them: [S1's acceptance checklist](./user-scenarios.md#s1--my-repos-live-on-my-infrastructure-and-i-can-never-lose-them) — canonical origin flipped; every push verifiably in two independent places; one restore performed and verified; a week of real human *and* agent work without GitHub, including an agent change landing end to end in direct-push mode; a real issue worked and closed as an in-repo node; a repeatable migration-plus-restore runbook.
69
70**Links.** [architecture.md](./architecture.md) (*Hosting*, *Identity / access* rows), [schema/valley.cue](../schema/valley.cue), [examples/host.cue](../examples/host.cue).
71
72**Open questions.** One remains from this phase: Phase-0 identity being Tailscale-ACL-based (thin, swappable) — see [Open questions](#open-questions). The replication mechanism was the other and is decided above.
73
74---
75
76## Phase 1 — The event log (the spine)
77
78**Rung: [S2](./user-scenarios.md#the-ladder), first of three phases.** No rung demands a bus for its own sake; this phase exists because everything S2 needs — attested checks, an integrator — runs on events, and the projection claim is worth isolating (rule 3: if it's awkward here, everything downstream inherits the problem).
79
80**Goal.** Make git a source of events. Nothing reacts yet — this phase only proves the events are real and legible.
81
82**What gets built.** NATS JetStream on the valley host. A `post-receive` hook projecting ref updates into bus events: `ref-updated` now, `attestation-published` / `integration-requested` later (per [contribute.md](./contribute.md)). A dumb `valley tail` inspector to watch events scroll by. That's it. No subscriber acts on anything.
83
84**The design claim it validates.** git-as-event-source — that ref updates project cleanly onto a log, and that a log is the right substrate ("a log, not a workflow engine" — [architecture.md](./architecture.md)).
85
86**A note on durability.** The bus is the source of truth only for *ephemeral cross-system events*. Per-repo events (refs, attestations, integration requests) are durable in git itself; the bus is a projection that can be rebuilt. This is the resolution of the old "the log is a single point of failure" question ([openquestions.md](./openquestions.md), *Resolved*).
87
88**Exit criteria.**
89- A push to the valley host produces a `ref-updated` event visible in `valley tail` within seconds.
90- Rebuilding the stream from scratch (replay the repo's refs) reproduces the same events — the projection is deterministic.
91
92**Links.** [architecture.md](./architecture.md) (*a log, not a workflow engine*), [contribute.md](./contribute.md).
93
94---
95
96## Phase 2 — Attestations (verification MVP)
97
98**Rung: [S2](./user-scenarios.md#the-ladder), second of three.** The rung's hardest demand — checks run where the work was written, trustworthy enough to integrate against — enters here as ergonomics; the adversarial half of "trustworthy" is [Phase 6](#phase-6--trust-backstop)'s.
99
100**Goal.** Replace "wait for CI" with "signed local check" for real day-to-day work.
101
102**What gets built.** A `nix run .#attest` helper that: runs the repo's canonical checks (Nix derivations, in the reference implementation); composes the attestation ([contribute.md](./contribute.md) / [verification.md](./verification.md)), recording *what check ran, on what tree, with what result* — purity is a claim tied to a runner kind, which the `nix` runner claims strongly, not a property the schema assumes; SSH-signs it with the same key as the commit signature; stores it as `refs/the-valley/attestations/<sha>`; pushes atomically ([contribute.md](./contribute.md)).
103
104Checks-as-derivations is the reference implementation, not the contract. The attestation schema must stay implementable by other runner kinds, so a non-Nix runner is an added backend later, never a migration.
105
106**Deferred to [Phase 6](#phase-6--trust-backstop):** the Tessera tlog and witness re-derivation. Phase 2 is *just local signed attestations* — the ergonomics of the protocol, without the trust backstop. This is the right cut: the protocol has to feel good before the security layer is worth building on top of it.
107
108**The design claim it validates.** The contributor protocol's ergonomics — that a signed local check is a pleasant, fast substitute for a CI gate, produced by native git plus one helper ([contribute.md](./contribute.md)).
109
110**Exit criteria.**
111- Real changes to the-valley land with an attestation ref alongside every commit.
112- The push is one atomic native-git command; no wrapper.
113- The user prefers this to CI for the pilot repo — the ergonomic claim holds in practice, not just in theory.
114
115**Links.** [contribute.md](./contribute.md), [verification.md](./verification.md).
116
117---
118
119## Phase 3 — The integrator
120
121**Rung: [S2](./user-scenarios.md#the-ladder) — established at this gate.** Push, and seconds later it's integrated; the owner never waits for CI, even solo.
122
123**Goal.** Stop writing `main` by hand. Route every change through a request-and-react flow, even solo.
124
125**What gets built.** Two things:
126
127- **The structural invariant.** The one-line `pre-receive` hook: only the integrator key writes `refs/heads/<protected>`; attestation refs are create-only; everything else is open ([contribute.md](./contribute.md), *The one invariant*; [architecture.md](./architecture.md), *The one structural git invariant*).
128- **The integrator controller.** Pull-based, subscribing to `integration-requested`. Verifies signature + attestation + (for now, self-) trust, does FF/rebase into `main`, emits outcome events ([architecture.md](./architecture.md), *a pull-based integrator*). Merge-queue semantics fall out for free. The required attestation set is a function of the diff, not of the contributor's claim about it: policy maps path classes to required checks — code takes the full suite, knowledge-only changes (`.the-valley/**`) take signature plus knowledge lint, mixed commits take the max of everything touched. That is also what keeps knowledge-node changes cheap through the same protected path: one invariant, proportionate checks.
129
130This is where the user **stops pushing directly to `main`** and goes through the request flow, even as the only contributor. That's the whole point — the flow has to be tolerable at N=1 before it's asked to hold at N>1.
131
132**The design claim it validates.** The controller pattern and the core integration claim — that a pull-based integrator is a better shape than a `pre-receive` gate, and that staleness is the right unified failure mode ([architecture.md](./architecture.md)).
133
134**Exit criteria.**
135- Direct pushes to `refs/heads/main` are rejected by the hook; only the integrator key succeeds.
136- A change lands via `integration-requested` → `integration-succeeded` with no manual ref write.
137- A stale case (rebase would change the tree) surfaces as one `request-stale` event, not a rejection or a retry storm.
138
139**Links.** [architecture.md](./architecture.md) (*a pull-based integrator*, *The one structural git invariant*).
140
141**New open questions.** Integrator self-integration — the integrator is code in a repo; how does *its* changes get integrated? Already tracked in [openquestions.md](./openquestions.md) (*Identity & trust bootstrapping*). Phase 3 is where the chicken-and-egg becomes concrete.
142
143---
144
145## Phase 4 — Agents as first-class authors
146
147**Rung: [S3](./user-scenarios.md#the-ladder) — established here; its attribution claim is hardened by [Phase 6](#phase-6--trust-backstop).**
148
149**Goal.** An agent's change lands with the same guarantees as the owner's, attributed to the agent that made it, with no human babysitting the pipeline.
150
151**What gets built.** Deliberately thin — the integration flow is unchanged from Phase 3, and that's the point:
152
153- **Per-agent identity.** Each agent signs commits and attestations with its own key. Attribution lives in the git objects and the log, not in a platform sidecar; the landed history distinguishes the agent's work from the owner's.
154- **Dispatch against the graph.** klaus dispatch targets an outcome node, not a GitHub issue, and agents read and write knowledge nodes as part of the work — S3's knowledge increment. The convention is already live in [.the-valley/](../.the-valley/README.md); this phase makes it the pipeline's shape instead of a habit.
155
156This phase retires S1's interim mode — agents pushing a branch for the owner to review and merge by hand ([user-scenarios.md § S1](./user-scenarios.md#s1--my-repos-live-on-my-infrastructure-and-i-can-never-lose-them)). Feeling that mode's pain was this phase's motivation, by design.
157
158**The design claim it validates.** The pipeline holds with no human in it: a non-human author lands with the same guarantees, and attribution is recorded, not inferred. What this phase deliberately does not claim: that attribution can't be forged — signature-based attribution is only as strong as key custody until the tlog lands ([Phase 6](#phase-6--trust-backstop)). For one owner and their own agents, that is the honest cut.
159
160**Exit criteria.**
161- A klaus-dispatched change lands via `integration-requested` → `integration-succeeded` with no human action between dispatch and landing.
162- The landed history attributes the change to the agent's own key, distinguishable from the owner's.
163- The dispatch's target is an outcome node in the repo, and the work reads and writes knowledge nodes end to end.
164
165**Links.** [architecture.md](./architecture.md) (*Identity / access* row), [scenarios.md #2](./scenarios.md) (klaus-style agent change), [user-scenarios.md](./user-scenarios.md).
166
167---
168
169## Phase 5 — Effectful reactions (armstrong-as-controller)
170
171**Rung: [S4](./user-scenarios.md#the-ladder) — established here**, including its knowledge increment: knowledge changes become observable events, and a landed change can close the outcome it serves.
172
173**Goal.** Prove the causality chain end to end: a commit becomes a build becomes a deploy becomes a notification, all as reactions on the log.
174
175**What gets built.** armstrong subscribes to `integration-succeeded` → `nix build` the artifact derivation → deploy / notify ([scenarios.md #1](./scenarios.md)). This is the controller-shaped successor to the current Actions-based armstrong — the same tool, inverted from push-based pipeline to reactive subscriber. Alongside it, the knowledge graph joins the causal record: node changes surface on the bus like any ref update, and a landing can flip the outcome node it serves to done — the graph stops being write-only.
176
177**The design claim it validates.** Reactive controllers replace push-based CI/CD, and the causality chain (commit → build → deploy → notify) is *one queryable history* rather than seven disconnected job UIs ([architecture.md](./architecture.md), *Components* and *a log, not a workflow engine*).
178
179**Exit criteria.**
180- An integration into `main` triggers a build and a deploy with no workflow file — only a subscriber.
181- The full chain for a given commit is reconstructable from the log alone.
182- A landed change closes the outcome node it serves, and that closure is visible in the log like any other event.
183
184**Links.** [architecture.md](./architecture.md) (*Components*), [scenarios.md #1 and #6](./scenarios.md).
185
186---
187
188## Phase 6 — Trust backstop
189
190**Rungs: [S3](./user-scenarios.md#the-ladder) hardened, [S5](./user-scenarios.md#the-ladder) enabled.** Attribution gains non-repudiation — "can't be waved through or forged" now holds adversarially — and trust becomes grantable, bounded, and revocable, which is what lets a second human land a change without anything platform-shaped. S5 counts as established when a real collaborator lands a real change through this machinery.
191
192**Goal.** Make attestations trustworthy under adversarial or multi-party conditions, not just convenient.
193
194**What gets built.**
195
196- **Transparency log.** Tessera-backed tlog publication of attestations via tesseract, with inclusion proofs appended as a sidecar ([contribute.md](./contribute.md)).
197- **Witness re-derivation.** A re-verifier that re-derives any attestation whose runner kind claims purity and emits confirm/deny events.
198- **Trust controller.** Scores per signer from confirm rates, with revocation ([architecture.md](./architecture.md), *attestation with revocation*).
199
200Together these enable the untrusted-contributor and agent-identity scenarios that Phase 2's local-only attestations can't.
201
202**The design claim it validates.** The security model — roughly SLSA Level 3 for purity-claiming checks, plus non-repudiation from the tlog ([verification.md](./verification.md), *The mechanism stack*). Purity is the runner kind's claim, carried in the attestation schema — the `nix` runner is the reference implementation of a strong claim, and the model degrades honestly for runners that claim less.
203
204**Exit criteria.**
205- Every attestation lands in the tlog with a verifiable inclusion proof.
206- A deliberately-wrong purity-claiming attestation is caught by the witness and lowers the signer's trust score.
207- An untrusted signer's change integrates *only* via the trust flow ([scenarios.md #4](./scenarios.md)), never by default.
208
209**Links.** [verification.md](./verification.md), [contribute.md](./contribute.md), [scenarios.md #2 and #4](./scenarios.md).
210
211---
212
213## Phase 7 — Feedback & incident memory
214
215**Rung: [S6](./user-scenarios.md#the-ladder) — established here.** It also completes S4's feedback story: who needs to know about which event, without a firehose.
216
217**Goal.** Unbundle review — the last GitHub-shaped interaction — from the vendor UI, and make incidents part of the project's durable memory.
218
219**What gets built.**
220
221- **Threads.** Derived views over events, scoped to a change or chain ([architecture.md](./architecture.md), *review is observability + feedback*). PR-as-thread — the "PR" becomes a named query, not a stored object.
222- **Priority/attention router.** The routing subsystem that decides who needs to know about which event ([architecture.md](./architecture.md), same section).
223- **Incident memory.** S6's knowledge increment: an incident files its own node, attributing the regression to the change that caused it — with the attribution carrying its uncertainty honestly, because a confidently wrong answer is worse than none — and linking the revert. The war story becomes a queryable record.
224
225There is no "build the knowledge graph" item here: the graph arrived one increment per rung — plain files ([Phase 0](#phase-0--mvp-repos-off-github)), agent-written ([Phase 4](#phase-4--agents-as-first-class-authors)), observable ([Phase 5](#phase-5--effectful-reactions-armstrong-as-controller)), incident-filing (here) — exactly as the ladder grows it.
226
227**The design claim it validates.** Observability + project-knowledge unbundling — that review is a special case of feedback, incidents are a special case of knowledge, and both belong to one history rather than scattered across issues, wikis, and heads ([architecture.md](./architecture.md), *Observability & feedback*, *Project knowledge* rows).
228
229**Exit criteria.**
230- A change accrues discussion, an approval, and an outcome as one chronology with no PR object anywhere.
231- The router surfaces one genuinely high-priority event to a human without a firehose.
232- A bad deploy — real or gamedayed — ends as an incident node with attribution, stated uncertainty, and a link to the revert.
233
234**Links.** [architecture.md](./architecture.md) (*review is observability + feedback*, *project knowledge is a typed-node graph*), [scenarios.md #3 and #4](./scenarios.md).
235
236**New open questions.** None new here — but note the *priority-layer architecture* question ([openquestions.md](./openquestions.md), *Attention, routing, and threads*) is the hardest new bottleneck the whole design creates, and Phase 7 is where it stops being hypothetical.
237
238---
239
240## Cross-cutting threads
241
242Some things aren't a phase; they run through all of them.
243
244- **CUE schemas.** One schema language across the system. Event schemas are shared across producers and consumers, reused from armstrong — minimal in Phase 1, growing a field or a type each phase. Host config already speaks it ([schema/valley.cue](../schema/valley.cue), shipped in Phase 0); knowledge-node frontmatter and verification policy are candidates to follow. Schema evolution is a standing concern, not a phase — tracked in [openquestions.md](./openquestions.md) (*Storage, retention, and evolution*).
245- **The `valley` CLI.** A thin tool that accretes one verb per phase — `valley migrate` (0), `valley tail` (1), `valley attest` or the `nix run .#attest` helper (2), `valley browse` (7). It stays thin on purpose: the contributor protocol is native-git-first ([contribute.md](./contribute.md)), so the CLI is convenience, never the critical path. Anything `valley` does, plain git and `nix` can do.
246- **Durability as a standing priority.** Phase 0 makes it explicit, but it never stops mattering. The durable substrate is git objects + attestation refs + the tlog — all replicable, all externally witnessable. The bus is the one replaceable component: lose it and rebuild it from git. Every phase should preserve that property — if a phase makes the bus load-bearing for durable state, that's a design smell to catch.
247- **Portability as a standing constraint.** Nix is a backend, not the substrate: portable schemas from day 0, portable implementations on demand. Every schema this plan ships — host config, events, attestations, knowledge nodes — must be implementable without Nix; the NixOS module and checks-as-derivations are reference implementations, never the contract. The review heuristic: a field only Nix can produce is a leak.
248
249## Open questions
250
251This document originally raised two; one is now decided, one remains open:
252
253- **Offsite replication mechanism — decided** ([dcr-d7952bc](../.the-valley/decisions/dcr-d7952bc-phase0-replication-github-transitional.md)). Push-triggered git-native mirroring to an independent live remote (pushed = replicated) — during migration that remote is GitHub, with the dedicated sovereign live remote deferred until GitHub exit — plus periodic encrypted restic-style backup for offsite depth; block-level replication (ZFS send) rejected for now. Details in [Phase 0](#phase-0--mvp-repos-off-github).
254- **Phase-0 identity is Tailscale-ACL-based** (*Identity & trust bootstrapping*). Thin by design and swappable; the open question is *when* it has to grow and into what — likely driven by [Phase 6](#phase-6--trust-backstop). *Origin: roadmap.md.*
255
256Everything else this roadmap touches is already tracked in [openquestions.md](./openquestions.md) — integrator self-integration, the priority-layer architecture, attestation expiry vs. cache retention, agent identity, and schema evolution all surface at specific phases above.