Delivery
Implementation plan
Every business requirement in the BRD, mapped against the code that is actually committed, and broken into twenty modules of work you can pick up one at a time. One hundred and ninety-three tasks: ninety-nine done, eighteen standing on fixtures or partly done, seventy-one not started, and five superseded by the move to ai-manager as the gateway.
How to read this
The BRD says what GAOS must do and marks each requirement Designed, Built, Decided or Open. That is the right vocabulary for a business document and the wrong one for a Monday morning: the statuses are spread across twelve tables, a requirement can be one sentence or a whole subsystem, and nothing on the page says which file the work lands in. This page is the other half β the same requirements, cut into modules and sub-modules, each task small enough to finish and pointed at the code.
| Flag | What it means |
|---|---|
| β | Running in this repository today, and the row names the file. Nothing is flagged done that cannot be pointed at. |
| π‘ | Exists, but only over fixtures or the simulator. The shape is right and the requirement is not met. |
| β | Not started. |
| β | Superseded before it was finished, and struck rather than deleted; the row names its successor. A task that was done and is now superseded keeps its β β it was delivered β and carries the successor in its text instead. |
The middle flag is not padding. The BRD itself marks C-6,
F-5 and H-5 as Built (against fixtures), and until v0.29.0
dashboard/sim.go implemented the whole of Domain E's scoring policy without ever
calling a model — its shape survives only in sim_test.go, the generator the
fold tests draw streams from. Forcing those into β
or β would make this page lie in one direction or the
other.
What β does not mean
Eighty-three tasks are done. Twenty-eight of them are M14, all on 2026-11-02: the documentation of the move to the gateway, the upstream provisioning API (live on prod), the ai-manager client and adapter, the Blueprint with its schema and its tab, one workspace per product with its sync, its drift gate and the graph lease, turns with a session per task and recovery by request id, a board per product with its task fold and the vendored sisflow client, the Blueprint check after the turn, and the retirement of the CLI layer and the floor. Eleven are the operator surface, five are the schema, and
three are the store seam that now reads and writes it β M0.2 closed on 2026-08-17,
so a restart no longer returns the fixtures. The rest are the foundations that landed with it:
five the event store and its reducer, four replay, two the closed catalog, two the state
machine, one the determinism proof, three the readiness rubric and the floor it feeds
(M2, 2026-08-20), three the whole of M13, which is now complete,
one the planner's real task graph (T-042), two the pre-dispatch egress gate
(M11.2), six the scheduler and the runner β M4.1 and
M4.2, both on 2026-08-22 β three the attempt record and the frozen context slice
(M4.3), and four the packet on disk and the handoff contract in it
(M4.5), both on 2026-08-23.
Real model calls have been made: first on 2026-08-23, when a Claude Code run
spawned by the scheduler was given the packet, wrote the handoff document, and had it read to
outcome complete for a measured $1.28; and since M14, through ai-manager, the only
gateway since v0.29.0 deleted the CLI path, the floor and the simulator. What is still missing is
everything that judges the result β nothing reviews what a run produced and no guard ends a
loop. That inversion
is deliberate and logged as
D-019
β it is also why the remaining order matters.
Scoreboard
Twenty modules, eighty-three sub-modules. The last column is the thing to pick up if you open
that module today β usually the first task that is not already done, and where the module has one
task the rest of it waits on, that instead. M1 names injection, M6
authentication and M10 the budget zones for exactly that reason, and each says so in
its own section.
| Module | Sub | β | π‘ | β | β | Next |
|---|---|---|---|---|---|---|
| M0 · Foundations — schema, event store, state machine | 5 | 17 | 1 | 0 | 0 | T-014 — the five names still owed to the review engine, the planner and memory |
| M1 · Product master & knowledge ingestion | 4 | 2 | 5 | 4 | 0 | T-026 — the count Inject() reports, and MemStore writing nothing |
| M2 · Readiness gating | 5 | 3 | 1 | 5 | 0 | T-031 — scoring on a schedule, which needs M4 |
| M3 · Planning | 5 | 2 | 2 | 5 | 0 | T-040 — the gate policy the wizard never asks for |
| M4 · Execution | 7 | 13 | 0 | 4 | 3 | M14 — the rest of execution moves behind the gateway |
| M5 · Review, scoring & retry | 6 | 0 | 3 | 10 | 0 | T-069 — correctness from a real test run |
| M6 · Gates & approvals | 4 | 3 | 1 | 5 | 0 | T-089 — the rest of OQ-11: per-tenant scoping and an actor on events |
| M7 · Memory & learning | 3 | 0 | 0 | 5 | 2 | T-090 — knowledge written back |
| M8 · Replay & audit | 4 | 5 | 1 | 0 | 0 | T-101 — the three replay scopes below the floor |
| M9 · Operator surface | 3 | 7 | 0 | 2 | 0 | T-109 — the five blocking reasons |
| M10 · Tenancy, capacity & cost control | 3 | 0 | 0 | 12 | 0 | T-119 — the three budget zones |
| M11 · Data protection, egress & residency | 4 | 2 | 0 | 7 | 0 | T-124 — the egress inventory as a release obligation |
| M12 · Non-functional proofs | 2 | 1 | 1 | 4 | 0 | T-133 — auditability, once the context slice is frozen |
| M13 · Repository hygiene | 2 | 3 | 0 | 0 | 0 | — complete |
| M14 · Gateway, Blueprint & Board | 8 | 28 | 0 | 1 | 0 | T-170 — retire the desk projection, now that the task fold replays the board |
| M15 · Needs you — agents ask, the operator answers | 3 | 7 | 0 | 0 | 0 | — complete |
| M16 · AI vendors per product | 3 | 3 | 3 | 0 | 0 | T-178 — merge and deploy the upstream branch |
| M17 · The design gate | 4 | 5 | 0 | 0 | 0 | — complete |
| M17.5 · The reviewer's own workspace | 3 | 3 | 0 | 0 | 0 | — complete |
| M18 · The QA catalog and the sample product | 5 | 5 | 0 | 0 | 0 | — complete |
| All modules | 83 | 107 | 18 | 66 | 5 | — |
Domain E has no numbered requirements in the BRD β Β§8.5 specifies it as a formula, a score-band
table and six guard limits instead β so M5's tasks are derived from those tables and from
BR-13β¦BR-18 rather than from requirement IDs.
Sequencing
The build order is not ours to invent: it is prescribed in ten steps by the architecture document and logged as D-018, each step testable before the next one exists. D-019 already inverted it once by building step 9 first, knowingly, which is exactly why the remaining steps must not be reordered again.
| # | Deliverable | Modules | Done when |
|---|---|---|---|
| 1 | Graph schema + event store | M0 | Every write emits an event; a fold reproduces current state exactly |
| 2 | Task state machine | M0.5 | Illegal transitions are rejected at the boundary, not by convention |
| 3 | Product master + readiness scoring | M1, M2 | The rubric runs on ingestion; below 45 the planner refuses with a list |
| 4 | Planner producing a static task graph | M3 | One goal yields an acyclic DAG with roles and dependencies |
| 5 | Runner with one detached process | M4.1βM4.3 | Kill the orchestrator mid-task; the work survives and is re-adopted |
| 6 | Review, scoring, retry policy | M5 | The unsatisfiable-task test terminates with a reason code |
| 7 | Context assembly from the master record | M4.3, M4.5 | GET /tasks/{id}/context matches what the model actually received |
| 8 | Approval gates | M6 | A gated task cannot merge, through the API or otherwise |
| 9 | Mission Control + replay | M8, M9 | Fold-from-genesis matches fold-from-snapshot on a real workflow |
| 10 | Meetings, knowledge extraction, multi-repo | M7 | The second workflow on a product plans faster than the first |
Three modules sit outside that spine and can be worked in parallel with any of it: M10 must land before the first run in API mode, M11 before the first byte of source code leaves the machine, and M12 is the proof layer that only becomes testable once M0 exists. M13 was small and went on 2026-08-20; it is complete. M14, added on 2026-11-02, does not reorder the spine: it replaces the mechanism of steps 5 and 7 β a request to ai-manager instead of a detached process, a brief and a Blueprint instead of a packet on disk β and keeps every "done when" those steps already state.
Two hard prerequisites
BR-32 puts M11.2 before the first real model call, not after it: a detection must refuse the dispatch rather than report the leak afterwards. BR-35 does the same for M10.3 β a limit that only warns is not a limit.
The register
All one hundred and eighty-three tasks in one filterable table. Filter by module number, by domain
(domain-d), by status (todo, partial, done), or
by any word in a task.
| ID | Sub | Task | Requirement | Status |
|---|---|---|---|---|
| T-001 | M0.1 | Apply the DDL to a scratch ArcadeDB on the target version and reconcile the dialect — dashboard/schema/, 314 statements, two deviations found and logged | D-006, D-043, D-045, D-046 | β |
| T-002 | M0.1 | Declare the 25 vertex types and 3 document types with the hybrid schema | BR-25 | β |
| T-003 | M0.1 | Declare the 32 edge types, one per relationship — no generic edge with a type property; uniqueness carried by an index on the endpoints, not a keyword | BR-24, D-006, D-045 | β |
| T-004 | M0.1 | tenantIdtenantId and that permits one Task per tenant; tenantId is indexed either way, which is what BR-26 asks for | J-3, BR-26, D-046 | β |
| T-005 | M0.1 | Store prompt bodies, diffs and log blobs EXTERNAL or by reference, never inline on a traversed vertex | BR-25 | β |
| T-006 | M0.2 | Write dashboard/store_arcade.go against the declared Store seam, leaving store.go unchanged — all twenty-four methods, and store.go is byte-for-byte unchanged | BR-01, BR-02, D-019 | β |
| T-007 | M0.2 | Give dashboard/arcade.go a query path — parameterised query, command and transaction, stdlib only; plus dashboard/schema_embed.go, so the distroless binary applies its own DDL on boot | D-043, D-047 | β |
| T-008 | M0.2 | Keep MemStore as the test double and run both implementations against one interface suite — dashboard/store_conformance_test.go, thirty-two cases, both stores | D-039 | β |
| T-009 | M0.3 | Make Event append-only and never updated, with its own retention policy | BR-04, J-6 | β |
| T-010 | M0.3 | Reference the business id in every event, never the physical RID | BR-03 | β |
| T-011 | M0.3 | Replace Event.Snapshot []Desk with a pure, total, order-stable reducer | H-2, BR-21 | β |
| T-012 | M0.3 | Prove fold-from-genesis equals fold-from-nearest-snapshot on a real workflow | H-1, BR-21 | β |
| T-013 | M0.3 | Remove the 160-event ring in store_mem.go; the stream is the record, not a window | BR-04 | β |
| T-014 | M0.4 | Emit the catalog names declared // pass 2 and never written — nine of the fourteen now have a real code path and a reducer case; the five left belong to the review engine, the planner and memory, and writing them from anywhere else would be inventing evidence | BR-05, D-020 | π‘ |
| T-015 | M0.4 | Land the four new event names, the deferred task state and the two TaskRun properties in one change | BR-05 | β |
| T-016 | M0.4 | Keep the four UI-lifecycle names in their own block, outside the domain catalog | D-020 | β |
| T-017 | M0.5 | Build the task state machine so illegal transitions are rejected at the boundary, not by convention | — | β |
| T-018 | M0.5 | Every mutation returns the new state or a rejection reason — Result and reject() exist, the state machine behind them does not | BR-06 | β |
| T-019 | M1.1 | Own a product record per product, scoped to a tenant — Master exists and every write carries a tenantId under a Tenant vertex that OWNS the product; the scope is the store instance's, not the record's, because the Go domain types carry no tenant at all | A-1 | π‘ |
| T-020 | M1.1 | Capture the brief as structured requirements rather than prose — BRD struct, in memory only | A-2 | π‘ |
| T-021 | M1.1 | Capture stories in as / want / so form with acceptance criteria — Story plus its empty-story rejection | A-3 | π‘ |
| T-022 | M1.1 | Accept behaviour diagrams and data models as artifacts — Diagram plus the seq.go renderer | A-4 | π‘ |
| T-023 | M1.2 | Index a linked repository into files and functions | A-5 | β |
| T-024 | M1.2 | Identify the entrypoint of an indexed repository | A-5 | β |
| T-025 | M1.2 | Make impact analysis from a diff a traversal over the indexed code | A-5 | β |
| T-026 | M1.3 | Make Inject() write vertices and edges — ArcadeStore.injectSubgraph writes the Requirement, Issue, AcceptanceCriterion and Artifact vertices with their edges; the count it reports still comes from Master.Project() rather than from the write, and under MemStore nothing is written at all | A-6 | π‘ |
| T-027 | M1.3 | Rescore readiness inside the same injection operation | A-6 | β |
| T-028 | M1.4 | Back-office surface for the whole record — handlers_bo.go, templates/backoffice.html | A-7 | β |
| T-029 | M1.4 | Persist what the back office writes — every back-office mutation goes through ArcadeStore.mutate to writeMaster, which carries the brief, the stories, the diagrams and the decisions onto the Product vertex; a store reopened on the same tenant returns them (TC-126). As the record document, not yet as vertices — that is T-026 | A-7 | β |
| T-030 | M2.1 | Implement the twelve-signal, hundred-point rubric — done 2026-08-20; eleven signals are earnable, verification strategy scores 0 until the record can carry it (M1), so the ceiling is 95 | B-1 | β |
| T-031 | M2.1 | Score every record on ingestion and on a schedule | B-1 | β |
| T-032 | M2.2 | Implement the four autonomy bands and their gate behaviour | B-2 | β |
| T-033 | M2.2 | Refuse to plan below an effective 45 and return the list of what is missing — done 2026-08-20, in MemStore.PlanWorkflow, which is also what ArcadeStore plans through | BR-07 | β |
| T-034 | M2.2 | Make band gates mandatory: Minimum caps the model tier and forbids auto-merge | BR-08 | β |
| T-035 | M2.3 | Compute effective = raw − drift_penalty with the penalty capped at 25 | B-4, BR-09 | β |
| T-036 | M2.3 | Drive the penalty from months since review, boundary files changed since injection, and open contradictions | B-4 | β |
| T-037 | M2.4 | Emit ReadinessDropped on a downward band crossing and apply the stricter band immediately — the emission is real and tested (TC-145); the only band consequence that applies today is BR-07's refusal, because the gates of T-032/T-034 are not built | B-5, BR-10 | π‘ |
| T-038 | M2.5 | Publish the rubric and the missing list to the author — done 2026-08-20; the checklist carries the score, the band and per-signal weights, and GET /products/{id}/readiness answers the missing list too | B-3 | β |
| T-039 | M3.1 | A workflow is one objective on one product with a scope — WorkflowDraft carries objective and scope | C-1 | π‘ |
| T-040 | M3.1 | Set the gate policy per workflow at creation time | C-1, F-1 | β |
| T-041 | M3.2 | Expand an objective into an acyclic task graph — the output is a real DAG derived from the picked stories and it is persisted, but the shape is still a template rather than an expansion of the objective | C-2 | π‘ |
| T-042 | M3.2 | Give planned tasks real dependencies, and reject a cycle — PlanTask.Deps, fan-out per story and fan-in at the security review, written as Task vertices with DEPENDS_ON edges; a cycle is refused in CreateWorkflow before the first write | C-2 | β |
| T-043 | M3.3 | Reject a task that is not atomic: one concern, one workspace, at least one acceptance criterion | C-3, BR-11 | β |
| T-044 | M3.4 | Select role and model capability first, then risk, then cost — never cost first | C-4, BR-12 | β |
| T-045 | M3.4 | Model senior-role capacity across all products | C-5 | β |
| T-046 | M3.5 | Operator wizard: objective, scope, plan preview — handlers_cw.go | C-6 | β |
| T-047 | M3.5 | Survive a restart mid-wizard; the draft round-trips through hidden form fields with no server session | C-6 | β |
| T-048 | M4.1 | Make the scheduler a pure function of the graph — dashboard/scheduler.go, imports limited to fmt, sort and strings, the clock passed in as a value, and the five blocking reasons of Β§7.4 returned per task | D-1 | β |
| T-049 | M4.1 | Prove two replicas computing it independently reach the same answer — the second replica is handed the same graph in a shuffled row order, plus an AST test that closes the import list | D-1 | β |
| T-050 | M4.2 | Run work in detached processes that survive the orchestrator — context.WithoutCancel plus Setpgid, logs to files and a RUN.json written before the supervisor sees the child, so an adopting orchestrator can recover the outcome and the cost — superseded by T-159: the turn is ai-claude-cli's process, not ours (D-060) | D-2 | β |
| T-051 | M4.2 | Hold an exclusive workspace lease with an expiry per run — dashboard/lease.go, an O_EXCL lockfile at .gaos/run/LEASE.json; an expired lease is reported and never taken, and breaking one has its own name — superseded by T-157: the lease moves from a lockfile to the Workspace vertex, one live turn per product | D-3 | β |
| T-052 | M4.2 | Heartbeat a running lease — the beat renews every 30s and the Heartbeat event is written every 300s, which is D-053 — superseded by T-159: the beat comes from the poll loop | D-3 | β |
| T-053 | M4.2 | Reconcile on boot: adopt, requeue or orphan every task claiming to be dispatched or running — dashboard/reconcile.go as a pure function of the lease and the beat, held to the scheduler's import allowlist; dashboard/runner.go acts on it before the listener is up, so a failure fails the boot. Requeue kills first, which is D-054 — superseded by T-161: recovery polls a request id instead of killing a process | D-4 | β |
| T-054 | M4.3 | Record each attempt as its own TaskRun with model, cost, tokens, exit code and failure signature — TaskRunRecord in dashboard/model.go, opened by superviseRun once the lease is held and closed by finishRun under the lock that writes RunExited; boot reconciliation marks what it recovered KILLED or ORPHANED. The cost basis is whatever the attempt measured and never a default (BR-31) | D-5, BR-22 | β |
| T-055 | M4.3 | Freeze and store the exact context slice per attempt, with USES_CONTEXT hanging off the slice — SliceRecord keyed by the egress pass's digest, its provenance assembled in freezePacketFor and cut by Screen along with the parts it belonged to, written as a ContextSlice vertex with ASSEMBLED and USES_CONTEXT edges | D-6, BR-23 | β |
| T-056 | M4.3 | Serve GET /tasks/{id}/context from the frozen slice — Store.TaskContext replaced ContextSlice on the seam so the answer carries Frozen; with nothing run the live assembly is still returned and says so, which is the honest half of the same requirement | D-6 | β |
| T-057 | M4.4 | dashboard/adapter_cli.go, with the boot smoke test D-049 owed, the handoff parser D-050 requires and cost read per D-051. Exercised against a stand-in tool in testdata/fakecli; no scheduler calls it and no real provider has been invokedT-148, the ai-manager adapter, replaces it (D-055) | D-7 | β |
| T-058 | M4.4 | T-148 is the one adapter | D-7 | β |
| T-059 | M4.4 | Select the adapter from one deployment-wide setting in the master configuration, never per task | D-12 | β |
| T-060 | M4.4 | Record TaskRun.invocation, and let no component above the adapter branch on it | D-13, BR-33 | β |
| T-061 | M4.5 | Materialise the frozen slice as a task packet of files in the leased workspace — MaterialisePacket in dashboard/packet.go, called by the runner after the lease and before the spawn; the cleared packet only, and never a KindRepo part, which came off that disk in the first place — superseded by T-158: there is no packet on disk; the brief is the prompt (D-057) | D-8 | β |
| T-062 | M4.5 | Require a handoff document at the declared path in the declared shape on every invocation — handoffContract travels in the packet as .gaos/packet/handoff.md, names the run's own ids, and is repeated as a standing system prompt because a real run proved once that the tail of a long input is not an instruction | D-9, BR-30 | β |
| T-063 | M4.5 | Fail the attempt with the signature handoff-missing when it is absent or unparseable — one signature for all four ways, on the TaskRun as well as the outcome (TC-265) | D-9, BR-30 | β |
| T-064 | M4.5 | Store the handoff as an Artifact reachable only through USES_CONTEXT — ArtifactRecord keyed by run, cited into the next packet with role lesson, and no HAS_ARTIFACT edge beside it, because D-10 is about there being exactly one route | D-10 | β |
| T-065 | M4.6 | Carry a basis, measured or estimated, on every recorded cost | D-11, BR-31 | β |
| T-066 | M4.6 | Keep the distinction alive through every aggregation | D-11, BR-31 | β |
| T-067 | M4.7 | dashboard/sim.go once the scheduler and runner are real, as the file itself instructsT-167, which retires the floor sim.go drives | — | β |
| T-068 | M5.1 | Score 0.45·correctness + 0.20·completeness + 0.15·safety + 0.10·quality + 0.10·efficiency — the weights are in fixtures.go, the inputs are invented by the simulator | BR-13 | π‘ |
| T-069 | M5.1 | Derive correctness from real test runs, rule checks and a reviewer verdict against acceptance criteria | BR-13 | β |
| T-070 | M5.2 | Evaluate safety before anything else and stop below 60 regardless of the total | BR-14 | β |
| T-071 | M5.2 | Emit SafetyVeto and route the work to the human queue | BR-14 | β |
| T-072 | M5.3 | Implement the five score-band actions — the shape exists in sim.go, driven by simulated scores | — | π‘ |
| T-073 | M5.3 | Spawn a real cleanup task at 70–84, and widen the context slice at 50–69 | — | β |
| T-074 | M5.4 | Hash the normalised error — failing test, error class, offending file — into a failure signature | BR-16 | β |
| T-075 | M5.4 | Route an identical signature twice to a design review rather than a tier escalation | BR-16 | β |
| T-076 | M5.5 | Enforce max_retry_count of 3 — the only guard that runs today | BR-17 | π‘ |
| T-077 | M5.5 | Enforce max_escalation_count 2, same_failure_signature_limit 2 and a capped exponential cooldown | BR-17 | β |
| T-078 | M5.5 | Trip human_intervention_threshold at two escalations or any safety veto | BR-17 | β |
| T-079 | M5.5 | Emit GuardExhausted when a guard ends the work | BR-17 | β |
| T-080 | M5.6 | Record a reason code on every termination; a silent stop is a defect | BR-18 | β |
| T-081 | M6.1 | Set a gate policy per workflow at creation time | F-1 | β |
| T-082 | M6.1 | Always gate money arithmetic, authentication and schema changes, at every band including Complete | F-3 | β |
| T-083 | M6.2 | Make a gated task unmergeable through every path, the API included | F-2, BR-19 | β |
| T-084 | M6.2 | Record approval and rejection as vertices with a decider, a timestamp and a reason | F-4 | β |
| T-085 | M6.2 | Emit ApprovalRejected — MemStore.CancelTask writes it when the desk it cancels was holding a merge gate, which is what lets an auditor tell nobody answered from somebody answered no; the gate that raised the flag is still the simulator's, and the rejection has no vertex to hang on until T-084 | F-4 | π‘ |
| T-086 | M6.3 | Operator approve / retry / cancel on the inspector — handlers_floor.go | F-5 | β |
| T-087 | M6.4 | Authenticate operators — a signed, expiring session after a PBKDF2 password check, and a default-deny gate (dashboard/auth.go, D-079) | F-6, R-02 | β |
| T-088 | M6.4 | Remove the demo credentials shipped as value= attributes in the login form (templates/backoffice.html) | F-6 | β |
| T-089 | M6.4 | Answer OQ-11 before anything binds beyond localhost | F-6 | β |
| T-090 | M7.1 | Write Knowledge back to the product on every completed workflow | G-1 | β |
| T-091 | M7.1 | Carry decisions as ADRs into every later prompt, with supersession tracked | G-2 | β |
| T-092 | M7.1 | Emit DecisionSuperseded | G-2 | β |
| T-093 | M7.2 | G-3 | β | |
| T-094 | M7.2 | ProposalRecorded with a confidence — MemStore.CloseMeeting emits it beside DecisionRecorded, because a meeting that recorded a decision nobody proposed is not one anybody can audit; the proposal it names is a scripted fixture and the confidence is the overlay's, not a participant'sT-093; the event stays declared so old streams fold | G-3 | β |
| T-095 | M7.3 | Recall knowledge during planning by tag and reuse count, and emit KnowledgeReused | G-4 | β |
| T-096 | M7.3 | Detect contradictions: a decision conflicting with a requirement, a criterion no test maps to | G-5 | β |
| T-097 | M8.1 | Reconstruct state at any past moment as a fold from the nearest snapshot forward | H-1 | β |
| T-098 | M8.1 | Make the reducer pure, total and order-stable, skipping unknown event types rather than failing | H-2 | β |
| T-099 | M8.2 | Route replay through a read-only store handle — replayAt is exactly the flag this rule forbids | H-3, BR-20 | β |
| T-100 | M8.2 | Treat snapshots as an optimisation and never as a source of truth | BR-21 | β |
| T-101 | M8.3 | Support all four replay scopes: workflow, task, meeting, and a comparison between two runs | H-4 | π‘ |
| T-102 | M8.4 | Operator timeline with a replay scrub — handlers_floor.go, templates/timeline.html | H-5 | β |
| T-103 | M9.1 | The floor: one desk per workflow, colour-coded by state, with occupancy per room — superseded by T-163: the board per product replaces the floor (D-061) | I-1 | β |
| T-104 | M9.1 | The inspector: task, role, model, retries, escalations, cost, score breakdown, context slice — superseded by T-163: the card and its run history replace the inspector | I-2 | β |
| T-105 | M9.1 | The event timeline with scrub-to-replay and speed control | I-3 | β |
| T-106 | M9.1 | The design-review overlay: agenda, participants, confidence, decision — superseded by T-167: meetings stay in the data model, unrendered | I-4 | β |
| T-107 | M9.1 | The back office: record, requirements, stories, diagrams, knowledge, agents, readiness | I-5 | β |
| T-108 | M9.2 | The UI invents no state the graph does not have — static/app.js renders no markup | I-6 | β |
| T-109 | M9.3 | Display the five blocking reasons for an idle desk, including deferred — budget window | I-7 | β |
| T-110 | M9.3 | Replace the 1400 ms poll with the SSE broker the emit() seam was cut for — done 2026-11-02 in v0.31.0: dashboard/broker.go and GET /events/stream, hints rather than HTML (D-065); TC-331β¦TC-333 | I-11 | β |
| T-111 | M9.3 | Fingerprint the embedded static assets | — | β |
| T-112 | M10.1 | Make tenancy a database boundary first: one database per tenant as the default recommendation | J-1, BR-26 | β |
| T-113 | M10.1 | Enforce the tenant boundary at the API gateway, never only further down | J-2 | β |
| T-114 | M10.1 | Replace the hardcoded loop-eng tenant string with a real tenant record | J-1 | β |
| T-115 | M10.2 | Give Tenant its plan, maxConcurrentTasks and budgetCapUsd, with plan naming a local quota profile | J-4 | β |
| T-116 | M10.2 | Account cost and tokens per run with the basis recorded, and leak neither across tenants | J-5 | β |
| T-117 | M10.2 | Apply retention: events full-fidelity 90 days then archived with the fold checkpoint, samples raw 14 days | J-6 | β |
| T-118 | M10.2 | Show usage per tenant and per workflow: spend against the cap, tokens by basis, concurrency | J-8 | β |
| T-119 | M10.3 | Implement the three budget zones: normal, throttled, exhausted | J-9, BR-35 | β |
| T-120 | M10.3 | Pace spend across the period: the ceiling in force is the fraction of the period elapsed | J-10 | β |
| T-121 | M10.3 | Defer a throttled task with a deferredUntil, keeping its place in the graph | J-11, BR-34 | β |
| T-122 | M10.3 | Charge deferral nothing: not a retry, not an escalation, not a failure signature | J-12, BR-34 | β |
| T-123 | M10.3 | Refuse to dispatch at the hard cap, and never kill a run already in flight | J-13, BR-35 | β |
| T-124 | M11.1 | Ship the egress inventory as product documentation and keep it accurate as a release obligation | L-2 | β |
| T-125 | M11.1 | Give every configured provider a data-handling profile the operator fills in | L-3 | β |
| T-126 | M11.2 | Run a pre-dispatch egress pass on every context slice: secret detection, path allowlists, denials — dashboard/egress.go, a pure function of the packet and the policy; ten detectors, allow and deny lists, two size limits and no-egress mode, fifteen cases at TC-161β¦TC-175 | L-4, BR-32 | β |
| T-127 | M11.2 | Emit ContextRedacted and a refused dispatch with its reason, both visible on the timeline — the refusal is named DispatchRefused (D-052), both are written by MemStore.DispatchTask, and seven cases at TC-194β¦TC-200 cover the pair | L-5 | β |
| T-128 | M11.2 | Support a no-egress mode at product level, for locally-hosted models only | L-6 | β |
| T-129 | M11.3 | Destroy the referent of every EXTERNAL payload and blob when a tenant, product or run is deleted | L-7 | β |
| T-130 | M11.3 | Produce a deletion certificate: what went, when, by whom, and what deliberately survived | L-8 | β |
| T-131 | M11.4 | Encrypt every hop the operator does not physically own, and document the at-rest posture | L-9 | β |
| T-132 | M11.4 | Ship a data-handling statement template the operator can complete for their own stakeholders | L-11 | β |
| T-133 | M12.1 | Auditability: GET /tasks/{id}/context matches what the model actually received | — | β |
| T-134 | M12.1 | Recoverability: killing the orchestrator mid-run loses nothing | — | β |
| T-135 | M12.1 | Determinism: the same events always fold to the same state, tested from genesis | — | β |
| T-136 | M12.2 | Isolation: a tenant sees nothing of another even when a query forgets to filter | — | β |
| T-137 | M12.2 | Explicability: every rejection tells the caller why — the shape holds, the states behind it are simulated | BR-06 | π‘ |
| T-138 | M12.2 | Termination: no loop runs forever and no stop is silent | BR-18 | β |
| T-139 | M13.1 | Correct the citations of test/stacks_test.go — both compose files now name deploy/check-stacks.sh, which is where the assertions actually live | — | β |
| T-140 | M13.1 | Vendor the upstream licence texts for the fonts and the charting library beside the assets — done 2026-08-20, fetched from upstream and asserted by check-stacks.sh | — | β |
| T-141 | M13.2 | Build the tunnelled stacks from a tag rather than the working tree — done 2026-08-20; --tag <ref> builds in a detached worktree and prod refuses without it | — | β |
| T-142 | M14.0 | Record the gateway decisions D-055–D-062, BR-38–BR-43, OQ-25–OQ-30 and BRD §7.7 — done 2026-11-02 | — | β |
| T-143 | M14.0 | Publish Blueprint, The gateway and the forward specs TC-275–TC-310 — done 2026-11-02 | — | β |
| T-144 | M14.1 | ai-claude-cli: a managed root, a provisioned registry beside the static one with hot reload, and a boot refusal when a folder above the root holds a CLAUDE.md — done 2026-11-02, ardi-personal-workspace-ai PR #321, live on prod | A-11, BR-42 | β |
| T-145 | M14.1 | ai-claude-cli: POST /v1/workspaces and PUT|GET /v1/workspaces/{id}/files with the allowlist, the caps and all-or-nothing writes — done 2026-11-02, PR #321 | A-11, BR-42 | β |
| T-146 | M14.1 | ai-manager: POST /admin/workspaces/provision, the files proxy, and the recommended cancel route — done 2026-11-02, PR #321; the cancel route is still only recommended (OQ-26) | A-11, OQ-26 | β |
| T-147 | M14.2 | A stdlib ai-manager client with typed errors for 409, 410, 403/423, 404 and 5xx — dashboard/aimanager.go — done 2026-11-02, dashboard/aimanager.go | D-14 | β |
| T-148 | M14.2 | The ai-manager adapter behind the reshaped seam: Submit, Poll, Stop, built only from a Cleared — dashboard/adapter_aimanager.go — done 2026-11-02; the runner's seam is unchanged, Dispatch is submit-then-poll and Resume polls the request id | D-14, BR-32 | β |
| T-149 | M14.2 | ExtractHandoff: the last gaos-handoff block, with the run id and the task checked — done 2026-11-02, dashboard/handoff_reply.go | D-16, BR-30 | β |
| T-150 | M14.2 | GAOS_AIM_* configuration, a boot smoke test against the gateway, invocation = gateway, cost measured from cost_usd — done 2026-11-02, GAOS_MODEL_MODE=aimanager | D-14, BR-37 | β |
| T-151 | M14.3 | Policy, KnowledgeSource and BlueprintVersion in schema/11-blueprint.sql and both stores — done 2026-11-02, schema/11-blueprint.sql proved on a scratch 26.7.2 | A-8, A-9 | β |
| T-152 | M14.3 | Deterministic render and digest; publishing stores an immutable version and an unchanged Blueprint publishes nothing — done 2026-11-02, dashboard/blueprint.go; the digest reproduces the production worker's | A-10 | β |
| T-153 | M14.3 | A Blueprint tab in the back office: policies, knowledge sources, publish — done 2026-11-02, templates/backoffice.html pane-blueprint | A-8, A-9 | β |
| T-154 | M14.3 | The egress pass over every rendered file, and a refused publish over the caps that names the policy — done 2026-11-02: caps and allowlist at publish, the egress pass at sync (DispatchRefused rule egress-blueprint); TC-293 | BR-32, BR-42 | β |
| T-155 | M14.4 | Provision one workspace per product with a derived, never-renamed id — done 2026-11-02, dashboard/workspace.go, through POST /admin/workspaces/provision; TC-291 | A-11 | β |
| T-156 | M14.4 | Sync the published Blueprint when the workspace is idle; refuse dispatch on drift, before and after the turn — done: the sync and the pre-dispatch gate in v0.25.0 (TC-292), and in v0.30.0 the check after the turn, which re-reads the workspace digest and compares the context the worker reports with the pinned version, refusing the next dispatch as observed-drift (TC-317β¦TC-319) | D-17, BR-39 | β |
| T-157 | M14.4 | The graph lease: one live turn per product workspace, read by the scheduler's lease block — done 2026-11-02: a DISPATCHED or RUNNING task holds its product in Schedule, folder or no folder; TC-295 | D-18, BR-38 | β |
| T-158 | M14.5 | BuildBrief and RenderPrompt; the context slice freezes the brief — dashboard/brief.go — done 2026-11-02: the brief is the cleared packet rendered with the reply contract in place of the file contract (RenderPrompt); the slice freezes it | D-6, D-17 | β |
| T-159 | M14.5 | Submit, poll and finish a turn; store the prompt, the reply and the metadata — dashboard/turns.go — done 2026-11-02: a turn needs no local folder, its request id is recorded on the TaskRun before it is sent, and its prompt and reply are stored as artifacts; TC-299 | D-19, BR-41 | β |
| T-160 | M14.5 | One session per task: resume on retry, a new one on escalation, 410 or rotation — done 2026-11-02: attempts are numbered per task so request ids never repeat; a retry resumes the session, escalation, loss and age open a new one; TC-296 | D-15, BR-40 | β |
| T-161 | M14.5 | Boot recovery by request id with the turn deadline, and deploy/acceptance/live-aim-run.sh — done 2026-11-02: boot recovery polls every open request id (TC-297), a lost one holds its product until the deadline (TC-298); live-aim-run.sh passed against the real gateway, TC-300β¦TC-303 | D-19 | β |
| T-162 | M14.6 | The board projection and the legal-move table, with routes keyed by task id — dashboard/board.go — done 2026-11-02, dashboard/board.go; the JSON is the sisflow provider's shape; TC-304, TC-306, TC-307 | I-9, I-10 | β |
| T-163 | M14.6 | A server-rendered board per product, with native drag posting the same move API — done 2026-11-02: the back office's Board tab, buttons for the legal moves only, drag and drop through the same route; TC-305 | I-9, BR-43 | β |
| T-164 | M14.6 | A task fold so the board replays, and TaskReordered — done in v0.30.0: every task status change writes a TaskMoved naming the task and its actor, and dashboard/taskfold.go rebuilds the board from the stream (TC-308, TC-316) | I-9, BR-05 | β |
| T-165 | M14.6 | Vendor the sisflow board on the same API — done in v0.30.0 under the owner's Apache-2.0 grant (D-063, answering OQ-25), mounted over the server-rendered board, with check-stacks.sh refusing it without its licence (TC-310) | I-10 | β |
| T-166 | M14.7 | Delete the CLI adapter, the version pin, the packet on disk, the file lease, the reconciler and the detached runner — done 2026-11-02 in v0.29.0: adapter_cli.go, smoke.go, packet.go, lease.go, reconcile.go and the fake binary are gone; the supervisor runs gateway turns only and recovery polls by request id; GAOS_MODEL_MODE=cli refuses the boot with the reason | D-14 | β |
| T-167 | M14.7 | Delete sim.go, the floor, its routes and its Store methods (absorbs T-067) — done 2026-11-02 in v0.29.0: the floor templates, routes and handlers are gone, and focus, pause, speed, the bell and the review controls left the Store interface. The simulator left the build and survives only as sim_test.go, the generator the fold and catalog tests draw long streams from. The desk projection stays until the task fold (T-164), and its /tasks/{idx}/β¦ routes answer JSON | I-9 | β |
| T-168 | M14.7 | The product list as the home page, each product with Blueprint · Board · Timeline — done 2026-11-02 in v0.29.0: GET / opens on the product master, and each product gained a Timeline tab of its own events (TC-314, TC-315) | I-9 | β |
| T-169 | M14.7 | Strike the retired test cases, retire the two acceptance scripts, and update compose and the README — done 2026-11-02 in v0.29.0: forty-four cases struck with their successors, kill-mid-task.sh and live-cli-run.sh deleted; compose already carried no claude mount | — | β |
| T-170 | M14.7 | Retire the desk projection — the Desk records, the desk fold and its snapshots, and the /tasks/{idx}/β¦ routes — now that the task fold (T-164) rebuilds the board from the stream; the scheduler's agent seats are read from the desks today and must move first | I-9 | β |
| T-171 | M15.1 | The question protocol in the workers: ai-cli-common/question parses one ai-question block (exactly three options, the first recommended), ai-claude-cli adds the protocol to the system prompt and disables AskUserQuestion, ai-antigravity-cli adds it to the preamble, and a job reports its question — done 2026-11-02: PR #329, deployed | I-11 | β |
| T-172 | M15.1 | ai-manager keeps questions in the temp bucket, returns them on the reply (finish_reason: awaiting_input), lists them at GET /v1/questions, and answers through POST /v1/questions/{id}/answer, which resumes the session under the caller's request id — done 2026-11-02: PR #329, deployed | I-11 | β |
| T-173 | M15.2 | AWAITING_INPUT, QuestionAsked and QuestionAnswered, Store.OpenQuestions and Store.AnswerQuestion, and the answer carried by the next attempt through the answer route and as context/answer.md — done 2026-11-02 in v0.31.0; TC-321β¦TC-328 | I-11, BR-44 | β |
| T-174 | M15.2 | GET /questions, GET /products/{id}/questions and POST /products/{id}/tasks/{taskId}/answer, JSON and HTMX — done 2026-11-02 in v0.31.0; TC-330 | I-11 | β |
| T-175 | M15.3 | The "Needs you" inbox, the answer sheet (recommended first, the operator's own words as the fourth option, keyboard 1–4), the topbar count, the board's Needs-you column and badge, all kept live by the stream — done 2026-11-02 in v0.31.0; TC-334β¦TC-340 | I-11 | β |
| T-176 | M15.3 | A gaos-frontend agent for the dashboard's UI, with Emil Kowalski's emil-design-eng, review-animations and break-ui skills vendored under their MIT licence — done 2026-11-02: .claude/agents/gaos-frontend.md, .claude/skills/ | — | β |
| T-177 | M15.2 | A question lives as long as its session (D-066, answering OQ-31): the answer resumes the asking session past the rotation age, a minute sweep blocks a task whose question outlived it, and the inbox counts down the time left, live — done 2026-11-02 in v0.32.0; TC-341, TC-342 | I-11, BR-44 | β |
| T-178 | M16.1 | Vendor aliases in ai-cli-common/workspace: a provisioned folder links AGENTS.md, GEMINI.md and .agents/rules to the Blueprint's CLAUDE.md and .claude/rules, so agy reads the same rules under one digest — built 2026-11-03 on the upstream branch feat/antigravity-workspace-provisioning; not yet merged or deployed | I-12 | π‘ |
| T-179 | M16.1 | ai-antigravity-cli becomes a provisioning worker like ai-claude-cli: the admin routes, the managed root, the workspace context on every job — built 2026-11-03 on the same branch; deploy needs one managed root per account | I-12, BR-42 | π‘ |
| T-180 | M16.1 | ai-manager's workspace admin calls take ?provider=antigravity and fan out to every account of the pool, answering 409 when the copies disagree — built 2026-11-03 on the same branch, with ANTIGRAVITY_WORKSPACE_ADMIN_TOKEN | I-12, BR-39 | π‘ |
| T-181 | M16.2 | The vendor policy on the product record, Store.SaveVendorPolicy, TaskRun.provider (13-vendors.sql), and the dispatch that resolves a task's vendor by role and sends it as provider — done 2026-11-03 in v0.33.0; TC-343β¦TC-349, TC-353 | I-12, BR-45 | β |
| T-182 | M16.2 | A new session when the vendor changes, a workspace copy per vendor in use, the Blueprint gate over every one of them, and the sync that repairs a pool whose copies disagree — done 2026-11-03 in v0.33.0; TC-348β¦TC-354 | BR-39, BR-45 | β |
| T-183 | M16.3 | The AI vendors tab — mode, roles, the Antigravity model from the pool's list, each vendor's availability and workspace — and a vendor badge on every board card, designed by the gaos-frontend agent — done 2026-11-03 in v0.33.0; TC-355, TC-356 | I-12 | β |
| T-184 | M17.1 | Build the review-shaped packet: the packet builder learns to tell a review task from an implement task, and a review's packet carries exactly design and rules β the author's previous handoff, its failure lesson and the operator's answer are withheld, as they would otherwise be inherited from the desk | D-069, BR-49 | β |
| T-185 | M17.1 | The design artifact and the kinds: widen Artifact.kind to admit design and review, add Task.kind with the values implement|design|review, and add a design citation role. The Review vertex is left to M5 | D-069, BR-50 | β |
| T-186 | M17.2 | The review runner and the reviewer's packet: one review task per design, on a fresh session with reason reviewer, carrying the design artifact at .gaos/packet/design.md and the rubric and nothing else | D-068, BR-47, BR-49 | β |
| T-187 | M17.3 | The gate and the triage vocabulary: the DEPENDS_ON edge and the existing BLOCKED status, the four dispositions, the operator's queue, the gate's record as an Artifact of kind review, and the findings travelling back at .gaos/packet/context/findings.md | D-068, BR-48, BR-50 | β |
| T-188 | M17.4 | The budget accounting and the drift report: how review turns are metered against the per-workflow and per-tenant caps, and how a design that has drifted from the code is reported | D-068, BR-17 | β |
| T-189 | M17.5 | The reviewer's workspace id and the packet that carries it: gaos-<tenant>-<product>-review, derived per product and never from the shared override, which is retired | D-071, BR-49 | β |
| T-190 | M17.5 | The reset and the drift attribution: the reviewer's folder is re-synced with a prune before every review turn and its digest verified, and a run records which workspace it used, so a reviewer's turn never marks the author's workspace drifted | D-071, BR-38, BR-39 | β |
| T-191 | M17.5 | The registers: D-071, BR-38, BR-47 and BR-49 amended, OQ-27 narrowed, and TC-382…TC-390 | D-071 | β |
| T-192 | M18.1 | The QA catalog and the desk fix (P1): QaCase and HAS_QA_CASE (16-qa-catalog.sql), the vocabularies and validation, the five store methods on MemStore and ArcadeStore, ProductDraft.Priority, the idle desk CreateWorkflow seats for a back-office product, requireBO on POST /workflows and the four task routes, and the fix to CreateWorkflow's gate loop | D-072, D-073, D-076, BR-51, BR-54 | β |
| T-193 | M18.2 | The REST surface (P2): /v1 (public /api/v1) with the admin and QA scopes, tokens from files, fail-closed, the QA token scoped to GAOS_API_QA_PRODUCTS, bounded and strictly decoded batches, one write in flight per token, the cases feed by revision, and QA writes that carry no floor | D-072, BR-52, BR-53 | β |
| T-194 | M18.3 | The generic product seed and the sample product's data (P3): POST /v1/seed/product, the generator, deploy/seed/<sample>/{product,cases}.json and seed.sh; the design gate is not cleared | D-074, BR-07, BR-52 | β |
| T-195 | M18.4 | Outbound sync and the QA tab (P4): qaclient.go, the two back-office buttons, the QA tab and the live case counts on a board card; inert until GAOS_QA_URL and its token are set | D-075, BR-52, BR-53 | β |
| T-196 | M18.5 | Creation by the QA tools, the blocked card and the registers (P5): the create-only endpoint, one BLOCKED card per new epic, D-072…D-076, BR-51…BR-54, OQ-33…OQ-35, TC-391…TC-411 and the published API page | D-072…D-076, BR-51…BR-54 | β |
Task IDs are sequential and are not reused. A task that turns out to be wrong is struck with its reason rather than deleted, the same rule the QA register and the open-questions register follow.
M0 Β· Foundations β schema, event store, state machine
Build-order steps 1 and 2, and the module every other module was waiting on. Eighteen tasks,
seventeen done, and the one that is not is not blocked on this module. Two invariants live here
and nowhere else: state lives in the graph (BR-01) and every change emits an event
(BR-02). Since M0.2 closed both hold β the graph is authoritative, every
mutation writes an event before it commits, and a restart rebuilds state from ArcadeDB rather
than from the fixtures. Since M0.3 they hold well: the stream is the whole
record rather than a window over its tail, an event carries the delta a reducer folds rather than
a photograph of the floor, and M0.5 means a transition nobody declared is refused at
the boundary instead of being prevented by nothing having tried it yet.
M0.1 β Schema and DDL (T-001βT-005)
Done, on 2026-08-16. The data model
specifies 25 vertex types, 3 document types and 32 edge types with their indexes and retention,
and all of it now lives as ten runnable files under dashboard/schema/, applied by
the idempotent deploy/schema/apply.sh β 323 statements today, run against
ArcadeDB 26.7.2, the version pinned by
D-043. Until this ran, the schema was a document
rather than a database, which is what R-03 was about.
The model document told itself to verify the dialect before relying on it, and it was right to:
53 of the 314 statements failed the first time. Two amendments came out of that,
both logged and both marked in place on the model document.
D-045 is dialect β UNIQUE is not a
CREATE EDGE TYPE modifier on this version, and edge uniqueness is carried by an index
on (`@out`, `@in`) instead. D-046 is
not: partitioned('tenantId') requires a unique tenantId, which
permits one Task per tenant, so it is withdrawn. That one is an error in the committed model
rather than a difference between versions, and it is the reason this task was worth doing before
anything was built on top of it. dashboard/schema/RECONCILIATION.md records both, with
the commands to reproduce the measurement.
Three rules constrain the DDL rather than the code: one edge type per relationship with no
generic edge (BR-24), heavy payloads stored EXTERNAL so the scheduler
never traverses them (BR-25), and tenantId declared and indexed whatever
the tenancy strategy turns out to be (BR-26).
M0.2 β The store seam (T-006βT-008)
Done, on 2026-08-17. dashboard/store.go was written to be the
seam and said so: store_arcade.go in the next one speaks the ArcadeDB HTTP API and THIS FILE
DOES NOT CHANGE. It did not change. dashboard/store_arcade.go implements all
twenty-four methods against it, dashboard/arcade.go gained the query path it never
had β parameterised query, command and transaction, stdlib only, because
dashboard/go.mod still has no dependencies β and
dashboard/store_conformance_test.go runs thirty-two cases against both
implementations, which is what the task asked for and what stops the seam from rotting.
This is where BR-01 and BR-02 start holding. Be precise about how far:
the graph is authoritative and every mutation writes an event before it commits, but reads are
served from an in-memory projection rebuilt from the graph on boot. BR-01 permits
exactly that β anything cached in memory must be reconstructible β and
TC-126 is the case that keeps it honest, reopening a store on the same tenant and
demanding the floor, the events and the master record come back. The measured version:
a product created through the back office, the process killed, a fresh process on the same
database still serving it.
Three things were found by writing it rather than by reading the model, all recorded in
dashboard/schema/RECONCILIATION.md. D-047
is the substantive one: the model gave an identity index to seven of the twenty-five vertex types,
and 26.7.2 refuses a write keyed by business id against a type without one β so seven more were
added and the DDL now applies 321 statements rather than 314. The other two are dialect:
retry is a reserved word, and an UPSERT cannot set a
createdAt that must not move without ifnull.
Two things this deliberately did not do. The event stream is still the 160-entry window
Events() has always returned, because Replay(eventIdx) addresses that
slice and both stores must agree on what it is β unbounding it is T-013. And the
floor still moved by simulation rather than by work, which was M4. The simulation ran
only under MemStore: ArcadeStore held real state and a floor that moved
on its own would have been writing events nobody asked for. Both the floor and the simulation were
deleted in v0.29.0.
M0.3 β Event store and the fold (T-009βT-013)
Done, on 2026-08-17. An Event used to carry a deep copy of the
entire floor, and the stream was a ring buffer capped at 160 entries with the replay cursor
shifted whenever the window moved. That is a screen recording, not an event store: it satisfied
the UI and none of H-1, H-2, BR-04 or
BR-21.
The ring is gone and nothing replaces it. The stream is append-only and unbounded, and the
retention D-012 asks for is by age,
enforced where the events live, rather than by discarding the beginning of history in memory. The
replay cursor is an event seq rather than an offset into a slice β which is what made
the shifting necessary in the first place, and what made the oldest moments unreachable.
dashboard/fold.go holds the reducer: one case per event type that moves the floor, a
default that changes nothing, and no clock, no random and no I/O anywhere in it. Events carry a
typed delta instead of a photograph, in absolute values rather than increments, because a fold
that replays an increment twice is wrong in a way that is very hard to see.
FloorOpened is the single exception and carries the seeded floor, because the
fixtures are a state no event produced β that is Β§08's ?? empty made concrete.
BR-03 turned out to be a guard rather than a change: writeEvent
already stored the business id and never the RID. So T-010 is a test that would
notice if that stopped being true, run against both stores.
Writing the reducer found a real disagreement, which is the point of writing it
Two code paths emitted RetryRequested and only one of them cleared the score:
the operator's retry in store_mem.go did, the review loop's retry in
sim.go did not. Nothing had ever noticed, because nothing had ever had to say what
the event meant in one place. A reducer case cannot honour both readings, so the
question had to be answered β the verdict belongs to the attempt that earned it, and a retry is
a new attempt β and sim.go now clears it too. That is what the architecture
document means when it says building replay forces the event model to be honest.
M0.4 β Closing the catalog (T-014βT-016)
T-015 and T-016 done, T-014 partly. The catalog is closed by
BR-05 and encoded as Go constants so a typo is a compile error
(D-020).
T-015 landed whole, which is the only way it could land.
D-037's three new names β
BudgetThresholdReached, BudgetCapReached and TaskDeferred;
TaskResumed, the fourth it names, already existed β went into the model document's
Β§08 catalog, dashboard/events.go and dashboard/fold.go in one change,
together with the deferred task state, its transitions in
dashboard/state.go, DEFERRED in Task.status's vocabulary
and the two TaskRun properties BR-31 and BR-33 need.
TC-148 asserts all of it in a single test
rather than five, because five would let four pass while one was missing. The guard that will
emit them is M10.3; the vocabulary it will need exists now, so nothing has to reopen
a closed list later.
T-014 is partial, and stays partial on purpose. Five of the
fourteen declared-and-unwritten names now have a real code path and a reducer case:
ReadinessEvaluated and ReadinessDropped on injection, where the record
is rescored and a downward band crossing is announced rather than recalculated silently
(BR-10); ApprovalRejected and WorkflowCanceled when an
operator answers a merge gate with no, which is a different fact from nobody having answered it;
and ProposalRecorded, because a meeting that recorded a decision nobody proposed is
not a meeting anybody can audit.
The whole execution group came off the list on 2026-08-22, and this paragraph is where
TC-146 said the next person to close a module
would have to come and say so. RunStarted, Heartbeat and
RunExited got a supervisor that sends them (T-050, T-052);
TaskOrphaned got the only thing that can observe an orphan, which is a
restart (T-053). That split is worth keeping: no live supervisor ever
witnesses an orphan, because an orphan is a run whose supervisor is already gone.
The remaining five are not written, and writing them would be worse than leaving them.
SafetyVeto and GuardExhausted belong to the review engine and the six guards
(M5.2, M5.5); DependencyRewired to the planner's task graph
(M3.2); KnowledgeReused and DecisionSuperseded to recall
and contradiction detection (M7.3). Emitting a Heartbeat nobody sent, or
a RunExited from a process that never started, would put invented evidence in the one
record the whole audit story rests on.
TC-146 pins the list to those modules, so
the next person to close one of them has to come back here and say so.
M0.5 β The task state machine (T-017βT-018)
Done, on 2026-08-17. Build-order step 2, and the reason BR-06 was
only half-satisfied. dashboard/store.go already returned a Result or a
rejection reason through reject(), so no route answered a bare 200 β the shape was
right. What was missing was the machine behind it: transitions were enforced by the code path that
happened to run, not by a boundary that refuses an illegal one.
dashboard/state.go is that boundary. One table, seven states β the six the floor
always had, plus deferred from M0.4 β and every write to
Desk.State in store_mem.go and sim.go goes through
setState. An illegal move comes back as an ErrRejected naming both
states and leaves the desk where it was; a state nobody declared gets a different message, because
a typo and an illegal transition need different messages or the first person to hit one goes
looking in the wrong place. Sixteen named illegal moves are tested, each with the reason it is
illegal written beside it, and a companion case requires every state a live desk or a folded one
reaches to be a state the table declares.
M1 Β· Product master & knowledge ingestion
Domain A, requirements A-1β¦A-7. Eleven tasks, two done and five
partial β the highest partial count of any module, because the back office is complete, what it
writes now survives a restart, and everything between those two facts is still a JSON
document rather than a graph. The record is the thing agents read instead of a prompt, so nothing
above this module means much until the planner can traverse it rather than parse it.
M1.1 β The record (T-019βT-022)
dashboard/model.go already carries the right shapes: Master with a
BRD of problem, goals, scope, out-of-scope, rules and metrics; Story in
as / want / so form with acceptance criteria; Diagram with a renderer in
dashboard/seq.go. Four requirements are therefore π‘ rather than β β the structure
is designed and demonstrated, and none of it is scoped to a tenant or written anywhere.
M1.2 β Repository indexing (T-023βT-025)
A-5 is untouched. Nothing indexes a linked repository into files and functions,
nothing identifies an entrypoint, and impact analysis from a diff β which the architecture
describes as a traversal β has no graph to traverse. This is the requirement that makes the
difference between an agent that reads a brief and an agent that reads the code the brief is
about.
M1.3 β Injection (T-026βT-027)
Inject() said the write itself would land with store_arcade.go, and
under ArcadeStore it now does: the master record becomes the
Requirement, Issue, AcceptanceCriterion,
Artifact and Decision vertices Β§14 maps it to, which is what
“It becomes an Issue vertex on the next injection” has been promising the
operator from the back office all along. T-026 is not closed, because the reported
count still comes from Master.Project() rather than from the write, and under
MemStore nothing is written at all. A-6 also requires the rescore to
happen in the same operation, for the reason the BRD gives: a record that is edited but not
injected is a lie the planner will believe.
M1.4 β The surface (T-028βT-029)
Both tasks are done. dashboard/handlers_bo.go and
templates/backoffice.html give the record author product CRUD, the BRD pane,
stories, diagrams, knowledge, agents and the readiness checklist, and since M0.2
what they write survives: every back-office mutation runs through ArcadeStore.mutate,
and writeMaster carries the brief, the stories, the diagrams and the decisions onto
the Product vertex in the same transaction as the event that describes them.
TC-126 is the case that keeps it honest β
a product and a story written, the store reopened on the same tenant, both still there.
Be precise about what persisted means here, because the difference is a whole other
task. The record is stored as the record document, JSON on the
Product vertex. Parsing it into Requirement, Story and
Criterion vertices with edges between them is A-6, which is
T-026, which has not been done β so the record survives a restart and is still not
something the planner can traverse.
M2 Β· Readiness gating
Domain B, requirements B-1β¦B-5, plus BR-07β¦BR-10.
Nine tasks, three done on 2026-08-20. This is the module that turns is the brief good
enough? into a number, and it is build-order step 3. The rubric and the refusal are the half
that does not need a scheduler; what is left in this module does.
M2.1 β The rubric (T-030βT-031)
The rubric is 100 points across twelve machine-checkable signals, specified in full in
Β§8.2 β problem statement 8, goals 8, domain rules 12, out
of scope 6, stories 10, criteria coverage 12, behaviour diagram 10, data model 8, repository
linked 8, decisions 8, success metrics 5, verification strategy 5. T-030 landed all
twelve in dashboard/model.go on 2026-08-20, weighted, earned whole or not at all β
partial credit is how a subjective bar gets argued back in.
Eleven of the twelve can be earned today, so the ceiling is 95.
Verification strategy asks how correctness is proven; the graph schema has somewhere to
put that answer (AcceptanceCriterion.verifiedBy) and the in-memory record does not,
so the signal is listed, scores zero and says why. It returns when M1 widens the record, not when
someone decides the rubric is inconvenient β a rubric that quietly drops the signal it cannot
measure is how the bar moves without anyone voting on it. Two other signals are checked in the
half the record can express: repository linked can see that a repo is named but not that
it is indexed, which is M1.2; and Β§8.2's "phrased as an outcome not a task" for goals
is not machine-checkable and is not checked. T-031, scoring on a schedule,
additionally needs a scheduler, which is M4.
M2.2 β Bands and refusal (T-032βT-034)
Four bands govern autonomy: Insufficient 0β44, Minimum 45β69,
Working 70β89, Complete 90β100. Two of them are business rules rather than
preferences β below 45 the planner refuses and returns the missing list (BR-07), and
band gates are mandatory rather than advisory, so Minimum caps the model at mid tier and
forbids auto-merge (BR-08). T-033 is done: below 45 the planner returns
no plan and the missing list instead, in MemStore.PlanWorkflow β which is also what
ArcadeStore plans through, so there is one implementation of the rule and the two
stores cannot disagree about it. The bands themselves are still labels: T-032 and
T-034 cap the model tier and forbid auto-merge, and both need a runner and a gate
engine that do not exist yet.
M2.3 β Drift (T-035βT-036)
effective = raw − drift_penalty, with the penalty capped at 25
(BR-09) and driven by three inputs: months since the last review, boundary files
changed since injection, and open contradictions. This is the answer to a record scored 92 six
months ago that describes a codebase which no longer exists.
M2.4 β Band crossing (T-037)
Crossing a boundary downward is an event, not a silent recalculation:
ReadinessDropped is emitted and the stricter band's gates apply immediately
(B-5, BR-10). The event name exists in the catalog and is never
written. Autonomy must be withdrawn as loudly as it was granted.
M2.5 β Publication (T-038)
Done 2026-08-20. /products/{id}/readiness now answers with the score, the band,
the floor and the missing list beside the twelve signals, and the back-office checklist shows each
signal's weight and, below the floor, exactly what to add. A refusal that does not say what is
missing is a dead end, which is why the missing list is carried on the rubric item itself rather
than derived afterwards: the only thing that knows why a signal failed is the check that failed
it.
M3 Β· Planning
Domain C, requirements C-1β¦C-6. Nine tasks, two done and two partial.
Build-order step 4 β one goal must yield an acyclic DAG with roles and dependencies.
M3.1 β Workflow shape (T-039βT-040)
WorkflowDraft carries an objective and a scope, so C-1 is partly
there. The gate policy is not: the wizard never asks for one, which means every workflow created
today has no answer to the question M6 is built around.
M3.2 β The task graph (T-041βT-042)
PlanWorkflow was already a pure function, which is the property that matters and
the one that is hardest to retrofit. What it produced was a chain β every task carrying the
previous one as its single prerequisite β which is acyclic the way a straight line is, and which
left the cycle check with nothing to catch and DEPENDS_ON as decoration.
T-042 closed that on 2026-08-22. PlanTask.Deps is a slice, the plan fans
out to one implement/verify pair per picked story and fans back in at the security review, and the
result is persisted: Task vertices with real DEPENDS_ON edges, written by
ArcadeStore.writeTasks and restored by load(). The cycle check lives in
CreateWorkflow rather than in the planner, because the planner cannot build a cycle
and the Store seam is public β the caller is what can.
Two id bugs had to close with it, both cosmetic until vertices existed.
wf-%d was built from len(desks)+1, which never changes, so every workflow
ever created was wf-7; and every plan numbered from t-1, which under
Task (tenantId, id) UNIQUE means the second plan upserts over the first and inherits
its edges. The counter is now monotonic and restored from the graph, and plan ids are qualified by
their workflow on the way to storage.
C-2 stays π‘, and the reading is worth stating rather than leaving to a glance at
the glyph: the output is now a genuine DAG derived from the record, but it is still a template the
planner walks rather than an expansion of the objective by a model. That is T-041, and
moving it would be a decision about what “expand” means, not a change to the code.
M3.3 β Atomicity (T-043)
BR-11 makes atomicity a rejection rather than a guideline: one concern, one
workspace, at least one acceptance criterion, or the task does not enter the graph. The BRD's
reason is worth keeping in view β no criterion means no verdict, and the reviewer will invent one
and it will drift.
M3.4 β Routing (T-044βT-045)
BR-12 fixes the order: capability is a hard filter, risk overrides cost, and cost
decides only between options that are already acceptable. Never cost first. C-5 adds
the constraint that makes it non-trivial β senior roles such as architect and security have
explicit capacity across all products, not per workflow.
M3.5 β The wizard (T-046βT-047)
C-6 is done: dashboard/handlers_cw.go runs three steps with a plan
preview and moves coverage on creation. The draft round-trips through hidden form fields with no
server session, which is a defensible choice for a prototype and a data-loss bug once a workflow
is worth keeping.
M4 Β· Execution
Domain D, requirements D-1β¦D-13 β the largest module by requirement
count and by task count. Twenty tasks, thirteen done and one partial. The half that decides and
supervises work is real β the scheduler, and since 2026-08-23 the attempt record and the frozen
context slice. The detached runner, the lease and the lease-based boot reconciliation built here
ran until v0.29.0, when M14.7 replaced them with one turn per product
through ai-manager and recovery by request id. dashboard/sim.go, the 1400 ms
ticker that moved desks through states without ever calling a model, went with them; only
sim_test.go remains, as a test-stream generator, and T-067 was absorbed
into T-167.
M4.1 β The scheduler (T-048βT-049)
D-1 asked for something stronger than a working scheduler: a pure function of
the graph, such that two replicas computing it independently reach the same answer. That
property is the reason the orchestrator can hold no authoritative state, and it is far cheaper to
build in than to add later β which is why it was built in on 2026-08-22 rather than retrofitted.
dashboard/scheduler.go takes a SchedulerInput and returns a
ScheduleDecision. The clock arrives as a field, read once by the impure shell on the
store and passed down as a value; every collection is sorted on entry, because two replicas reading
the same ArcadeDB are promised nothing about row order across buckets and a scheduler that
inherited slice order would agree in a naive test and disagree in production. The purity is enforced
structurally rather than behaviourally: the file's import list is closed at fmt,
sort and strings, and an AST test refuses a fourth import or any
declaration with a receiver. A clock read that happened to return the same value twice would pass
every behavioural test there is.
The decision returns both halves. Ready is what a runner would start β with the
agent and the workspace named, so two tasks cannot be handed the same seat by a decision that never
recorded making one. Blocked is the other half, and it is
Β§7.4's requirement rather than a convenience: five
reasons, no more and no fewer, reported by precedence rather than by whichever check ran first.
A cycle is a dependency block naming its members, not a sixth reason.
M10.3 does not exist, so the budget zone is always normal β the branch is covered by a
test that constructs a throttled input directly, because a reason with no producer rots before its
module arrives. T-109 renders these; nothing dispatches from them yet, which
is M4.2.
M4.2 β Runner, lease and reconciliation (T-050βT-053)
Superseded on 2026-11-02
What this sub-module built was done and ran until v0.29.0, when M14.7 deleted it; its mechanism β a detached process, a lockfile lease, kill-then-requeue β is retired by D-060: the turn is ai-claude-cli's process now, the lease moves onto the Workspace vertex, and recovery polls a request id. Successor: M14.4 and M14.5.
Work runs in detached processes that survive the orchestrator (D-2), each holding
an exclusive workspace lease with an expiry and a heartbeat (D-3). On boot, every
task claiming to be dispatched or running is reconciled against its lease and heartbeat and is
adopted, requeued or orphaned (D-4). This is build-order step 5 and its own
acceptance test: kill the orchestrator mid-task and the work survives.
The lease landed first, on 2026-08-22, because the other three are unsafe without it.
dashboard/lease.go holds it as an O_EXCL lockfile inside the workspace
rather than as a row: the thing being protected is a directory, and the only primitive
that excludes atomically at that granularity between processes on one host is the filesystem. The
record stays in the graph β Task.leaseUntil and Task.lastHeartbeatAt are
what boot reconciliation reads β but the enforcement has to survive the orchestrator, which is what
D-2 is for, and a file carrying its own expiry explains itself to a process that was
not running when the lease was taken. This does not put authoritative state in process memory, so
BR-01 is intact: it is state on the resource.
The runner followed the same day. Four changes make D-2 true rather than nearly
true. context.WithoutCancel, because Dispatch built its context from the
caller's and serve() builds the caller's from a SIGTERM handler β so a graceful
shutdown killed the child while SIGKILL did not, which is the wrong way round. Logs to
files rather than to a buffer, which is what makes adoption complete rather than partial: the tool's
JSON envelope carries total_cost_usd, and in a buffer it dies with the orchestrator, so
an adopting process could recover the outcome from the handoff and never the cost that
D-051 requires. A RUN.json written
before the supervisor sees the child, carrying the pid, the process group and the process start
time β because PID reuse is real and a bare probe after a reboot finds a stranger. And the handoff
document emptied before the invocation, which handoff.go had claimed since it was
written and nothing did.
Adapter gains exactly one method, Resume: an adopting orchestrator
cannot cmd.Wait() on a process it did not fork. Dispatch's signature is
untouched, so BR-32 is intact, and both share one collect() so an adopted
attempt cannot drift from a supervised one. What Resume does not do is decide
whether to adopt β that is the reconciler's, from the lease and the beat alone.
One decision fell out of the lease and is logged as
D-053:
an expired lease is never taken by the acquirer. It reads like an oversight β
the expiry passed, so surely the next runner may have it β but an expiry says the supervisor
stopped renewing, and the supervisor is not the thing editing the repository. Taking it would start
the second run D-3 exists to prevent. Clearing one is BreakLease, which
only T-053 may call and only on the branch that kills first. The same decision fixes
the four intervals and separates the heartbeat's write from the Heartbeat
event, so a twenty-minute run adds five pills to the timeline rather than forty.
Boot reconciliation closed the module the same day, and build-order step 5 with it.
dashboard/reconcile.go holds the decision as a pure function of the two signals and
nothing else, under the same import allowlist as the scheduler and for a sharper reason: it runs
once per boot, over evidence nobody can reproduce afterwards. runner.go holds the pass
that acts on it, and it runs before the listener β a request served first would see a floor
lying about what is in flight β so a failure there fails the boot.
The finding is D-054, and it corrects the
architecture document rather than following it. That page's recovery pseudocode comments the middle
branch lease held, process gone. Nothing at that point knows the process is gone: it knows
the beat is stale, and a stale beat means the supervisor died, which says nothing whatever
about the child β D-2 detached the child precisely so it would outlive its supervisor.
Requeuing on that basis starts a second run in a workspace that may still have a live one in it,
which is the corruption D-3 exists to prevent, reached through the recovery routine. So
requeue is kill-then-requeue: a run that can be proved neither alive nor dead is made dead
before its workspace is handed to anybody, and with no adapter configured to do the killing the
requeue degrades to an orphan rather than promising a kill it cannot perform. That is not
BR-35's “never kill a run already in
flight”: that is a budget rule about a supervised run whose spend can still be accounted for,
and this is a recovery rule about an unsupervised run whose supervisor is already gone. Different
subject, opposite risk.
M4.3 β The attempt record (T-054βT-056)
Done, on 2026-08-23. Task and TaskRun are separate
records so per-attempt evidence survives a retry (BR-22):
TaskRunRecord in dashboard/model.go mirrors the vertex,
superviseRun opens it as STARTED once the lease is held and before
anything spawns, moves it to RUNNING beside the RunStarted event, and
finishRun closes it under the same lock that writes RunExited β one lock,
because a record and an event that can disagree leave an auditor with no way to choose between
them. Boot reconciliation marks what it recovered KILLED or ORPHANED
rather than leaving a row asserting a process nobody believes in.
The slice is the harder half and the one BR-23 is about. It is frozen at the point
the egress pass clears it β keyed by that pass's digest, so two attempts given identical context
share one record and the comparison H-4 wants is a string equality. Provenance is
built where the packet is assembled rather than parsed back out of it later, and the pass drops a
citation whenever it drops the part that carried it; a slice claiming to have sent something
BR-32 refused would be the least trustworthy edge in the graph.
USES_CONTEXT hangs off the ContextSlice and not off the
Task, which the data model calls out as
easy to reverse: attach it to the task and attempt two overwrites the evidence of what attempt one
received.
T-056 is where the requirement is either met or quietly missed.
GET /tasks/{id}/context answered before, in HTML or JSON, by computing a slice live β
the difference between a demonstration and an audit trail, and invisible on the page. So the seam
changed: Store.ContextSlice returning []string became
Store.TaskContext returning a ContextView that carries
Frozen. With an attempt behind it the route answers with what that
attempt was given; with nothing run it still answers live and says which it is. Only the third
seam change since store.go was written, and store.go says why in its own
header.
One finding came out of running it, in the same class as
D-047: ContextSlice became a type
written by business id, ArcadeDB 26.7.2 refused the first write for want of a
(tenantId, id) index, and the index was added under D-047's own heading β which is
the case that decision predicted rather than a new one. The DDL applies 324 statements.
M4.4 β The model gateway (T-057βT-060)
Superseded on 2026-11-02
GAOS no longer spawns a tool (D-055). T-057 and T-058 are struck; one ai-manager adapter replaces both, behind the same seam. Successor: M14.2.
Partly built, on 2026-08-22. T-057 is π‘ rather than β
and the
distinction is the honest one: dashboard/adapter_cli.go exists, spawns a pinned tool
in its own process group with the workspace as its working directory, refuses the boot when the
version drifts, and reads its outcome from the handoff document β but no scheduler calls it and
no real provider has ever been invoked. It is exercised against a stand-in tool in
dashboard/testdata/fakecli, which exists to reproduce one measured behaviour:
D-050's finding that a task the model could not do
exits 0, byte-identical to one it did. The three obligations
D-049,
D-050 and
D-051 created are discharged: the boot smoke test
runs, the exit code classifies only crash-versus-ran, and cost comes from the tool's own report as
measured. What is missing is everything M4.2 owns β a lease, a heartbeat, and a
scheduler to decide when. T-058, T-059 and T-060 are
untouched.
Two interchangeable adapters, a provider's command-line tool spawned as a detached subprocess
and a direct HTTP call, selected by one deployment-wide setting in the master configuration
(Β§7.6.1, D-12). Never a per-task
choice. BR-33 is the rule that keeps them interchangeable: the mode may be recorded
on the attempt as TaskRun.invocation and no component above the adapter may branch on
it.
M4.5 β Packet and handoff (T-061βT-064)
Superseded on 2026-11-02
There is no packet on disk and no handoff file through the gateway; the brief is the prompt and the handoff travels in the reply (D-057). T-062βT-064 carry over: the contract, its single failure signature and the handoff as an artifact are unchanged. Successor: M14.5.
Done, on 2026-08-23, and this is the module that made a real model call possible.
Until it landed a provider tool could be spawned and could not possibly succeed: it was
handed a working directory with nothing in it and an instruction that never said what to produce.
It would do the work, exit 0, and fail the attempt with handoff-missing every single
time. Both halves of that are this sub-module.
T-061 writes the cleared packet into the leased workspace β the cleared one, never
the raw one, because the workspace is the one directory the tool is pointed at and free to read,
and writing a redacted part there is a longer way round to the leak BR-32 refuses at
the front door. KindRepo parts are skipped: they were read off that disk by the packet
assembler, and writing them back would be the assembler overwriting the operator's own source with
a copy that has been through a size limit.
T-062 is the contract, and where it lives is the requirement rather than a
preference. It travels IN the packet, so what a run was asked for is inside the frozen
slice and inside the digest, and a replay can prove both halves. It names the run's own task and
run ids rather than describing the fields, because a model told to "use the run id" will
eventually use a different spelling of it. And its worked example is flush left in a fenced block,
because handoff.go reads a leading space as this key belongs to the block
above β an example indented for looks, copied faithfully, parses to an empty document.
TC-259 exists so those two files cannot drift
apart.
T-064 stores what an attempt handed over as an Artifact and cites it
into the next packet with role lesson. Stored rather than left in the workspace,
because the workspace is a lease: it is released when the run ends, re-taken by the next attempt,
and truncated before that attempt starts β so a document only on disk is evidence with an expiry
date, and the question it answers is asked precisely when it has expired. That is not hypothetical;
it is what happened on the second live run, which took the workspace and truncated its
predecessor's document while the record of it stayed intact.
Two things a real call measured that no fake could
The contract has to be a standing instruction. The first live run read the whole packet, did the work well, and never wrote the document β the contract had been the last section of a long input and read as background by the time the work was done. It is now in the task's definition of done at the top, in the packet as a file, and passed to the tool as a system prompt. Three channels for one instruction is not belt and braces; it is what the measurement said was needed.
A non-interactive agent may not write anything by default. A tool that cannot
be asked resolves "may I edit this file" to no, and an agent that may not write a file
cannot write the handoff document either β the invocation then fails for a reason that has
nothing to do with the work. dashboard/adapter_cli.go passes a permission mode, and
what makes accepting edits reasonable is D-3: the tool runs in a workspace this
orchestrator holds an exclusive lease on. The bound is the lease, not the prompt.
M4.6 β Cost basis (T-065βT-066)
BR-31: every cost figure carries its basis, measured or
estimated, and the distinction survives every aggregation. CLI mode usually reports
nothing, so a flat subscription produces estimates and an API call produces measurements β mixing
them silently would make every budget number meaningless, which is why M10 depends on this
sub-module.
M4.7 β Retiring the simulator (T-067)
Superseded on 2026-11-02
T-067 is absorbed: sim.go goes with the floor it drives. Successor: M14.7 (T-167).
dashboard/sim.go ends with its own deletion instruction: when the scheduler and
the runner are real, this file is deleted and nothing else changes. That claim is worth
testing rather than trusting β every field the simulator mutates is meant to be a field the
Task/TaskRun/Review vertices carry.
M5 Β· Review, scoring & retry
Domain E, and the one domain with no requirement IDs β Β§8.5 specifies it as a formula, a five-row score-band table and six guard limits. Thirteen tasks, three partial. The BRD calls it the most dangerous loop in the system: every path through it must terminate and every termination must record a reason code.
M5.1 β The score (T-068βT-069)
final = 0.45·correctness + 0.20·completeness + 0.15·safety +
0.10·quality + 0.10·efficiency (BR-13). The weights are already
in dashboard/fixtures.go, and were applied by sim.go over invented inputs
until v0.29.0; only the test-stream generator sim_test.go applies them now.
The real work is the first term: correctness from tests that actually ran, rule checks that
actually evaluated, and a reviewer verdict against the acceptance criteria.
M5.2 β The safety veto (T-070βT-071)
BR-14 makes safety a veto evaluated before anything else: below 60 the
work stops regardless of the total, emits SafetyVeto and goes to a human queue. The
event name is declared and never written.
M5.3 β Score bands (T-072βT-073)
85β100 accept; 70β84 accept and spawn a cleanup task; 50β69 iterate with a widened context
slice at the same tier; 30β49 escalate a tier and re-run; 0β29 stop and call a design review.
sim.go review() implemented this shape until v0.29.0 and sim_test.go keeps
it for the test streams, which is why the sub-module is π‘ β
what it lacks is a real cleanup task and a slice that actually widens.
M5.4 β The failure signature (T-074βT-075)
Hash the normalised error β failing test name, error class, offending file β and compare across
attempts. A changed signature means progress, so retry. An identical signature twice means the
approach is wrong, and escalating a tier would reproduce the same wrong answer more expensively,
so it routes to a design review instead (BR-16). This is what separates an
intelligent retry from a superstitious one.
M5.5 β The six guards (T-076βT-079)
BR-17 makes all six hard: 3 retries, 2 escalations, 2 identical signatures, a
capped exponential cooldown, per-workflow and per-tenant budget caps, and human intervention at
two escalations or any safety veto. Exactly one runs today β store_mem.go refuses a
fourth retry, and TestRetryGuardExhausts covers it. GuardExhausted is
declared and never emitted.
M5.6 β Termination (T-080)
BR-18: every termination records a reason code, and a silent stop is a defect.
This is also the acceptance condition for the unsatisfiable-task test, which is registered in the
QA plan as a forward spec and blocked
on this module.
M6 Β· Gates & approvals
Domain F, requirements F-1β¦F-6. Nine tasks, one done and one partial. Build-order
step 8, and the module that holds the only requirement in the whole BRD explicitly marked
Not built rather than Designed.
M6.1 β Policy (T-081βT-082)
A gate policy is set per workflow at creation time (F-1), and three categories are
gated at every readiness band including Complete: money arithmetic, authentication and
schema changes (F-3). The first of these is also M3.1's missing wizard step.
M6.2 β Enforcement and record (T-083βT-085)
BR-19 is absolute: a gated task cannot merge through any path, the API included β
not a UI check. Approval and rejection are recorded as vertices with a decider, a timestamp and a
reason (F-4), and that vertex is the half that does not exist. The event does:
MemStore.CancelTask emits ApprovalRejected when the desk it cancels was
holding a merge gate, beside the ApprovalGranted and ApprovalRequested
that were already written. What is missing is the record it should hang on, and a gate that a
policy rather than a simulator decided to raise.
M6.3 β Operator controls (T-086)
F-5 is done. dashboard/handlers_floor.go served approve, retry and
cancel from the inspector until v0.29.0 deleted both; the same routes now answer JSON from
dashboard/handlers_tasks.go, each with a real guard behind it β
TestApproveRequiresAGate and TestCancelReleasesTheDesk cover the
rejections.
M6.4 β Authentication (T-087βT-089)
Built in v0.39.0 (D-079,
BR-55). dashboard/auth.go holds the
accounts file, the PBKDF2 hashes, the HMAC session, the per-account throttle and the mux gate; the shape is
pustaka's, copied with the changes the design lists. T-089 stays: it asks for
OQ-11 to be answered, and D-079 narrows it rather than answers
it. Per-tenant scoping and an actor on every event are what is left.
M7 Β· Memory & learning
Domain G, requirements G-1β¦G-5. Seven tasks, two partial. Build-order
step 10, last for a reason β and also the module the product's one success measurement depends on,
since the second run needs fewer retries is only true if extraction works.
M7.1 β Writing back (T-090βT-092)
Every completed workflow writes Knowledge back to the product β lessons, decisions,
failure patterns (G-1). Decisions are ADRs carried into every later prompt with
supersession tracked (G-2), which is what DecisionSuperseded is reserved
for. Both were emitted by the simulator, from a script, until v0.29.0 deleted it; today
KnowledgeExtracted is written only as a placeholder when a workflow completes, and
DecisionRecorded only by the test-stream generator.
M7.2 β Meetings (T-093βT-094)
Superseded on 2026-11-02
The meeting overlay is retired with the floor (D-061). Successor: none β meetings stay in the data model, unrendered.
G-3 makes a multi-agent meeting a first-class record: agenda, participants,
proposals with confidence, and the decision it produced. The overlay renders all of that from
meetingScript in dashboard/fixtures.go β a scripted design review β so
the requirement is π‘ on its surface and β underneath. ProposalRecorded is
written: MemStore.CloseMeeting emits it beside DecisionRecorded, because
a meeting that recorded a decision nobody proposed is not one anybody can audit. The proposal it
names is a constant in that method and the confidence is the overlay's, which is why the task is
π‘ rather than done β the event exists and the participant who would hold an opinion does not.
M7.3 β Recall and contradiction (T-095βT-096)
Knowledge is recalled during planning by tag and reuse count (G-4), which is what
makes the second workflow plan faster than the first and what KnowledgeReused
records. G-5 is the harder half: detecting a decision that conflicts with a
requirement, or an acceptance criterion no test maps to.
M8 Β· Replay & audit
Domain H, requirements H-1β¦H-5. Six tasks, five done and one partial.
The mechanism underneath the operator-facing half landed with M0.3: replay folds the
event stream rather than reading back a stored floor, which is what BR-21 has always
required and what the prototype's snapshots were standing in for.
M8.1 β The fold (T-097βT-098)
Done, on 2026-08-17. State at any past moment is a fold over the event stream
from the nearest snapshot forward (H-1), through a reducer that is pure, total and
order-stable, skipping unknown event types rather than failing on them (H-2). The
reducer is dashboard/fold.go, built in M0.3 and proven here: this is
where the fold test lives, which is one of the
three acceptance tests BRD Β§4.1 names and the first of them ever to run.
Fold-from-genesis and fold-from-nearest-snapshot are compared at every rung of the snapshot ladder and at moments between the rungs, because between is where a broken ladder hides: a snapshot only ever asked for its own sequence is never asked to be folded forward from. Each of the three reducer properties has its own case β an invented event type interleaved through the whole stream must leave the floor unchanged, the same stream shuffled must fold to the same floor, and folding twice must give one answer.
M8.2 β Read-only by construction (T-099βT-100)
Done, on 2026-08-17. BR-20 says replay is routed through a
read-only store handle and never a flag, and the architecture document gives the reason
in the same breath: a flag will eventually be forgotten and will overwrite live state with a
historical one. MemStore had exactly that flag.
readOnly in dashboard/store.go is the handle. It wraps a
Store and refuses every mutation with one sentence, passing reads β including
Replay and Focus, since moving the cursor and following it are what
looking at the past consists of β straight through. Handlers reach for it through
server.mut(), which picks the narrowed handle whenever the floor is parked in the
past, so a mutating route added later is protected by calling what its neighbours call rather than
by remembering a rule. This is the one change dashboard/store.go has taken since it
was written to say this file does not change; a read-only handle is a thing the seam has
to be able to express.
T-100 demotes snapshots to an optimisation, and the test says so by deleting all
of them and demanding the identical floor. If that test ever needs the ladder to pass, the ladder
has become the record and the event stream has stopped being it.
M8.3 β Scopes (T-101)
H-4 asks for four replay scopes: workflow, task, meeting, and a comparison between
two runs of the same task on different models. /replay/{workflow} serves the first
and is the reason this is π‘; the comparison scope is the one that needs TaskRun
from M4.3 to exist first. This is now the only unfinished task in the module.
M8.4 β The timeline (T-102)
H-5 is done: the operator timeline with a replay scrub and speed control, in
dashboard/handlers_floor.go and templates/timeline.html until v0.29.0
deleted the timeline strip with the floor (/replay/{workflow} still answers), with
TestReplayFreezesTheFloor and
TestTheEventStreamIsUnboundedAndKeepsGenesis behind it. A pill addresses its moment
by event seq rather than by position, so a link stays pointed at the moment the
operator clicked however much the stream grows behind it.
M9 Β· Operator surface
Domain I, requirements I-1β¦I-7. Nine tasks, seven done β the only module
where that is true. Build-order step 9, built first, which the decision log records as a knowing
inversion. What remains is one requirement and two pieces of infrastructure the surface is
standing on.
M9.1 β The five views (T-103βT-107)
Superseded on 2026-11-02
The floor, the inspector and the meeting overlay give way to a product list and a board per product (D-061). The timeline and the back office stay. Successor: M14.6 and T-168.
I-1β¦I-5 are all done and all covered:
the floor with occupancy per room, the inspector with retries, escalations, cost and the score
breakdown, the event timeline with scrub-to-replay, the design-review overlay, and the back
office. TestEveryRouteAnswers walks 33 route and status cases across them, and
TestNoZgotmplZ checks the style-attribute trap on seven surfaces.
M9.2 β The prohibition (T-108)
I-6 is architectural rather than a feature: the UI never invents state the graph
does not have. It holds today β static/app.js handles theme, sheets, wizard picks and
keyboard shortcuts and renders no markup at all β and it is listed as a task because it is the
one that is easiest to break while doing everything else.
M9.3 β What the surface still owes (T-109βT-111)
I-7 requires the five blocking reasons for an idle desk to be displayed
explicitly, including deferred β budget window with the time it resumes β which cannot
be shown before M10.3 produces it. Two infrastructure items sit here too:
store_mem.go's emit() was cut as the SSE seam and the broker was not
built until v0.31.0 (T-110, D-065) β
the floor polled every 1400 ms until v0.29.0 deleted it; and the embedded static assets are unfingerprinted,
noted as pass 2 in main.go.
M10 Β· Tenancy, capacity & cost control
Domain J, requirements J-1β¦J-13. Twelve tasks, none started. Tenancy
is a database boundary first and a property second, and the budget guard is the reason this module
blocks the first run in API mode.
M10.1 β The boundary (T-112βT-114)
One database per tenant is the default recommendation (J-1, BR-26),
enforced at the API gateway and never only further down (J-2). Today the tenant is a
cookie label and store_mem.go hardcodes the string loop-eng into the
stat strip. D-042 settles the strategy at scale by
refusing to pick one: all three sit behind a repository interface and the choice becomes
deployment configuration, so what this milestone owes is the interface, not a
strategy β with database-per-tenant as the default it implements first, and nothing above
the repository layer knowing which is in use.
M10.2 β Quota, accounting and retention (T-115βT-118)
Tenant carries plan, maxConcurrentTasks and
budgetCapUsd, where plan names a local quota profile and not a billing
tier β D-032 withdrew self-service billing
entirely, and J-7 is struck in the BRD rather than deleted so the withdrawal stays
visible. Retention is per type (J-6): events full-fidelity for 90 days then archived
with the fold checkpoint kept, samples raw for 14 days.
M10.3 β The budget guard (T-119βT-123)
Three zones rather than one limit (Β§8.10.1,
D-037): normal, throttled where dispatch pauses
and work defers, and exhausted where dispatch is refused. Spend is paced across the period, so the
ceiling in force at any moment is the fraction of the period elapsed β a month's budget cannot be
spent in an afternoon. Two rules make deferral safe: a deferred task keeps its place in the graph
and consumes no retry, no escalation and no failure signature (BR-34), and reaching
the hard cap refuses to dispatch but never kills a run already in flight, because that forfeits
money already spent (BR-35).
M11 Β· Data protection, egress & residency
Domain L, requirements L-1β¦L-11. Nine tasks, two done.
L-1 and L-10 are already answered as decisions
(D-034) and need no code, so they are not tasks
here. Everything else is, and BR-32 puts the core of it before the first real model
call.
M11.1 β Inventory and provider profiles (T-124βT-125)
The egress inventory in Β§8.12.1 ships as
product documentation and staying accurate is a release obligation, not a best effort
(L-2). Each configured provider carries a data-handling profile the operator fills
in: who the provider is, whether prompts are retained, and for how long (L-3).
M11.2 β The pre-dispatch pass (T-126βT-128)
Done, on 2026-08-22 β T-126 and T-127.
dashboard/egress.go is a pure function of the packet and the policy: ten detectors
across secrets, credentials and credential-bearing filenames, path allow and deny lists, a
per-file and a whole-slice byte limit, and L-6's no-egress check. It runs on every
dispatch, and the gate is a type rather than a call order β an adapter's
Dispatch takes a Cleared, and the pass is the only thing that returns
one, so skipping it does not compile. The honest limit is written down beside it: this is one Go
package, so the type stops a caller forgetting rather than a caller deciding, and the deliberate
version is caught by a test that walks the package's syntax tree.
One line is worth reading twice: a finding records the file and the byte offset
and never the matched text. The refusal becomes an append-only event rendered into a
browser, so a payload carrying the credential would write it permanently into the record whose
purpose is to prove it never left.
T-128's product-level no-egress mode is still β β the mechanism exists as a policy
field, but nothing lets an operator set it per product.
Landing this needed one thing nobody had planned for: a caller. The events
L-5 requires cannot be emitted by sim.go, because
dashboard/events.go calls that inventing evidence. So a thin operator-triggered
POST /tasks/{id}/dispatch landed with it, with a Dispatch button in the inspector β
no scheduler, no lease, no heartbeat. It also forced a correction to the state machine: BR-32 makes
idle → blocked legal, which
dashboard/state_test.go had asserted was impossible with the reason "nothing is
running, so nothing can be blocked". A refused dispatch is exactly that counter-example, and
the row was inverted rather than deleted.
BR-32 is unambiguous: nothing reaches a model provider without passing the egress
check first, and a detection refuses the dispatch rather than reporting the leak
afterwards. Secret and credential detection, path allowlists and denials. Redactions and refusals
are events β ContextRedacted and a refused dispatch with its reason β and appear on
the timeline (L-5). L-6 adds a no-egress mode at product level for
locally-hosted models only.
M11.3 β Deletion (T-129βT-130)
Deleting a tenant, product or run destroys the referent of every EXTERNAL payload
and object-storage blob (L-7) and produces a certificate saying what was deleted,
when, by whom, and what deliberately survived (L-8) β the event stream being
append-only, something always does.
M11.4 β Transport and statement (T-131βT-132)
Encryption in transit for every hop the operator does not physically own, with a documented
at-rest posture (L-9), and a data-handling statement template the operator completes
and hands to their own stakeholders (L-11) β their regulator is not ours.
M12 Β· Non-functional proofs
The six properties of Β§8.13, each stated with how it
is proven. Six tasks, one done and one partial. This module is not built so much as demonstrated:
every row here is a test that cannot be written until the module it depends on exists, which is
why the first of them landed the same day M0.3 did.
M12.1 β Depends on the event store (T-133βT-135)
Determinism is done, on 2026-08-17. It is proven by folding from genesis and
requiring the same state every time, and the reducer M0.3 was waiting on now exists:
the same stream folds to one answer, an unknown event type does not change it, and the order the
events arrive in does not either. Auditability is proven when
GET /tasks/{id}/context matches what the model actually received β which needs M4.3's
frozen slice. Recoverability is proven by killing the orchestrator mid-run and losing nothing,
which needs M4.2.
M12.2 β Isolation, explicability, termination (T-136βT-138)
Isolation means a tenant cannot see another tenant's data even if a query forgets to filter β
database-per-tenant first, tenantId as the second line. Explicability is the one
partial: every mutation already returns a new state or a rejection reason rather than a bare 200,
and TestNoTemplateErrorEscapesAsSuccess guards the rendering half of it, but the
states being explained are simulated. Termination means no loop runs forever and no stop is
silent, which is M5.5 and M5.6 seen from the outside.
M13 Β· Repository hygiene
Three small items found while mapping the BRD against the code. None of them belonged to a
domain, all of them were real, and all three are now closed β T-139 on 2026-08-19,
T-140 and T-141 on 2026-08-20. This module is complete.
M13.1 β Two loose ends (T-139βT-140)
T-139 is closed. deploy/stacks/compose.dev.yaml and
compose.prod.yaml both cited test/stacks_test.go as the thing that
asserts their invariants β two references, not the three first recorded here, because
check-stacks.sh never cited it. That file does not exist and never did; the
assertions live in check-stacks.sh itself and are registered as
TC-001β¦TC-016 in the
QA plan. The references were corrected rather
than the file written: the coverage already exists, and a Go test that shelled out to the same
script would be a second place to keep in sync for no assertion nobody already runs.
The second item was a redistribution obligation already named in the BRD's
milestone list: vendor the upstream licence texts for the fonts and the charting library beside
the assets they cover. T-140 closed it on 2026-08-20. The three OFL texts sit in
pustaka/docs/assets/fonts/, and ECharts' Apache text, its NOTICE
(section 4(d) requires it separately from the licence) and the BSD 3-Clause text for the d3 code
it embeds sit in assets/vendor/ β each fetched from upstream rather than
reconstructed, and each recorded with its version and digest in a README.md beside
it. The obligation was never going to announce itself at runtime, so
check-stacks.sh now asserts the pairing before every deploy:
TC-150 and TC-151.
M13.2 β Deploy provenance (T-141)
deploy/STACKS.md listed it under its own known gaps: both stacks built from this
working tree, so production tracked whatever happened to be checked out rather than a tag. The
--allow-dirty refusal narrowed the blast radius and did not close it β a clean tree
is not a named tree, and what is running in prod? had no answer a month
later.
Closed 2026-08-20. rebuild-restart.sh --tag <ref> checks the ref out into a
detached worktree and re-runs itself inside it, so the invariant check, the test gate and
docker compose build all read the tagged tree; prod refuses without it, and
--from-tree is the deliberate escape hatch. It needs no path rewriting because both
compose files address their build contexts relatively. Two details earned their comments: the
tier's env files are symlinked into the worktree, because they are secrets that exist in no commit
and compose would otherwise stop at env file not found; and --tag is not
forwarded to the inner run, whose script is the tag's own copy of this file and may predate the
flag β which is exactly what lets --tag build a ref older than the feature itself.
TC-152β¦TC-155.
M14 Β· Gateway, Blueprint & Board
Added on 2026-11-02 with D-055 to D-062. GAOS stops running a model and keeps what only it can own: the product, its Blueprint, and the task graph β with a board per product to work it from. The layering is the product owner's: ai-claude-cli works the task with context, ai-manager shapes it with a workspace, GAOS shapes it with the product, the task details and the Blueprint. The full design is The gateway and Blueprint.
The order inside the module is fixed by one dependency. Nothing reaches a workspace until the
upstream can create one, so M14.1 gates M14.4 onwards;
M14.2 and M14.3 can be built against a fake ai-manager in parallel with
it. M14.7 deletes code that works, and so goes last, once its successors have run
against dev.
M14.0 β Docs (T-142βT-143)
Done 2026-11-02, as the first change of the module: the decisions, the rules, the questions, the two new pages and thirty-six forward specifications in the QA register landed before any code, so every later phase has a written target to pass.
M14.1 β Upstream provisioning (T-144βT-146)
Done 2026-11-02 β ardi-personal-workspace-ai PR #321, deployed to
rnd-v2-vpn with a managed root at /home/<user>/ai-workspaces and
smoke-tested through the public ai-manager: a provisioned workspace was listed for chat with no
restart, its rule loaded, a .claude/settings.json write was refused with
400, and the workspace was moved to .trash/.
An external dependency, built in the ardi-personal-workspace-ai repository, not
here. Measured on 2026-11-02: ai-claude-cli has no API to create a workspace and reads its list
once at startup; ai-manager can only switch an existing one on or off. The specification is
The gateway Β§upstream. Done when provisioning
gaos-test makes it appear in GET /v1/workspaces without a restart.
M14.2 β Client and adapter (T-147βT-150)
Done 2026-11-02. TC-275β¦TC-284.
One deliberate difference from the plan below: the seam keeps its shape for now β Dispatch
submits and polls, Resume polls the request id the run record carries, and
Stop reports that a gateway turn cannot be cancelled β so the runner works unchanged
until M14.5 replaces it. A requeue degrades to an orphan for a gateway run, because no
process was recorded, which keeps D-054's rule without a kill.
The adapter seam stays where it is and changes shape: Dispatch and
Resume become Submit and Poll on a request id, because the
thing being supervised is now a request rather than a process. Tests run against an
httptest fake ai-manager that scripts a reply per request id, not a fake binary. The
CLI adapter stays alongside until M14.7.
M14.3 β Blueprint (T-151βT-154)
Three of four done 2026-11-02. TC-285β¦TC-290,
TC-311, TC-312. Proving 11-blueprint.sql on a scratch 26.7.2 found a bug that
predates this module: Artifact.kind never allowed handoff, so on ArcadeDB
every handoff T-064 stored was refused at commit. The same file widens it.
Three new vertex types and five edges, in a new schema file applied the same idempotent way as
the other ten. The schema changes two property regexps, and ALTER PROPERTY re-apply
on ArcadeDB is proved on the scratch database before this ships.
M14.4 β Workspace and sync (T-155βT-157)
Done 2026-11-02. TC-291β¦TC-295.
A published Blueprint now reaches the product's workspace through the Blueprint tab's Sync to
workspace, screened by the egress pass on the way (finishing T-154); a dispatch
whose workspace does not hold the published version is refused as blueprint-drift on
both routes and released by the next sync; every gateway attempt pins its version
(PINNED_TO) and records its request and session ids. Two choices worth knowing: the
product's workspace is recorded on the record document rather than on the Workspace
vertex, whose mandatory path GAOS no longer has (BR-42); and the lease is the graph's
own β a DISPATCHED or RUNNING task holds its product β rather than a property written to that
vertex. The last check, comparing what the worker reports it loaded after a turn with the
manifest, landed in v0.30.0: GAOS re-reads the workspace digest and compares
metadata.context.workspace with the pinned version, and drift refuses the next dispatch
as observed-drift (TC-317β¦TC-319).
Needs M14.1. The lease survives as a property of the product's
Workspace vertex β leasedBy and leaseUntil already exist in
schema/04-execution.sql β because one folder per product means two turns would be two
full-permission agents in one checkout.
M14.5 β Turns and recovery (T-158βT-161)
Done 2026-11-02. TC-296β¦TC-303,
the last four by live-aim-run.sh against the real gateway (one turn, outcome
complete). Building it found three things the CLI path had been hiding. The scheduler dispatched
every task as attempt 1, so a second attempt would have reused the first one's request id and been
handed its old answer. The runner refused a packet with no local workspace folder, so dev β which has
none β could not run a gateway turn at all. And boot recovery's adopt branch marked a run RUNNING and
never collected it: nothing in the package called Adapter.Resume. Attempts are now
numbered per task, a turn needs no folder, and recovery polls the request id to the end.
The successor to M4.2. What carries over intact from runner.go is the
part that was never about a process: RunOnce, the egress refusal, and finishing a run
into the attempt record. The acceptance script replaces live-cli-run.sh and spends
money, so the owner runs it (D-025).
M14.6 β Board (T-162βT-165)
Done 2026-11-02 β the board in v0.28.0, the task fold and the vendored client in
v0.30.0. TC-304β¦TC-307, TC-309,
TC-308, TC-316,
TC-310. One choice differs from the
plan below: a board move writes TaskMoved (action, from, to) rather than reusing
ApprovalGranted, RetryRequested and the rest, because those move a desk in
the fold, and a replayed floor would then disagree with the live one. A running task cannot be
canceled from the board until the gateway can stop a turn (OQ-26). T-165 waited on
OQ-25, which the owner answered with an Apache-2.0
grant (D-063): the sisflow board now mounts over the
server-rendered one, which stays for a page without JavaScript.
The board's API takes the sisflow REST provider's shape β GET β¦/board,
PUT β¦/cards/{id}/move β so the server-rendered board ships first and the richer one
can replace its front end without touching the server. Moves are requests; the state machine
decides (BR-43). The fold projects desks today, so
a board that replays needs a task fold, which is T-164 — landed in v0.30.0 as
dashboard/taskfold.go, with every task status change written as a
TaskMoved naming the task.
M14.7 β Retirement (T-166βT-170)
Deletes the execution layer and the floor once their successors have run against dev. The test
cases that covered them are struck in the QA register and point at their replacements; none is
deleted, and retiring them does not change the register's count. Done in v0.29.0.
Forty-four cases were struck; the ones whose guarantee outlived the CLI were re-based on the fake gateway and kept their IDs; two new ones
(TC-314, TC-315) cover the home page, which is why the count rose from 313 to 315. Porting T-064's
test found a live bug: since M14.5 the next agent was cited the previous turn's reply as its
lesson rather than its handoff. T-170, retiring the desk projection the board no longer
needs, was added in v0.30.0 once the task fold existed, and is not started.
M15 Β· Needs you β agents ask, the operator answers
Added on 2026-11-02 with D-064 and
D-065, requirement
I-11. An agent that reaches a decision only the operator can
make stops and asks: three options, the one it recommends first, and the operator's own words as a
fourth. A gateway turn cannot pause, so asking ends the turn; the task waits in
AWAITING_INPUT (BR-44) and the answer
resumes the session that asked. The work spans four repositories: ai-cli-common and the two CLI
workers, ai-manager, and GAOS.
M15.1 β The protocol upstream (T-171, T-172)
The model ends its reply with one ai-question block. The workers parse it and
disable Claude Code's own AskUserQuestion, which has nobody to answer it headless;
ai-manager keeps the question in the temp bucket and turns an answer into the next turn
of the same session. Merged as PR #329 and deployed on 2026-11-02.
M15.2 β The waiting task in GAOS (T-173, T-174)
A turn whose reply carries a question owes no handoff; it moves its task to
AWAITING_INPUT, stores the question as an artifact, and writes
QuestionAsked. There is no question table: the inbox is a projection of
QuestionAsked and QuestionAnswered, so it survives a restart exactly as the
timeline does. The answer requeues the task, and the next attempt sends it through ai-manager's
answer route β falling back to an ordinary turn, with the answer still in its packet, when the
question was already answered or has expired. A question lives as long as the session that asked it
(T-177, D-066): thirty days, during
which the answer always resumes that session, and after which the task is blocked.
M15.3 β The inbox, live (T-175, T-176)
A topbar count, a "Needs you" inbox, an answer sheet and a board column, kept current by the
stream T-110 finally built. The UI was designed and reviewed by a dedicated
gaos-frontend agent working from Emil Kowalski's design-engineering skills.
M16 Β· AI vendors per product
Added on 2026-11-03 with D-067, requirement
I-12 and rule BR-45.
Each product chooses whether its tasks run on Claude CLI, on ai-manager's Antigravity pool, or on
both by role, and which model the pool runs. Every attempt still goes through the one gateway; what
changes is the provider it names, and a task's vendor moves only when a new session opens.
M16.1 β One workspace on every vendor, upstream (T-178β¦T-180)
The Blueprint writes CLAUDE.md and .claude/rules; agy reads
AGENTS.md, GEMINI.md and .agents/rules. Rather than a second
layout with a second digest, the agy worker links its names to the same files. ai-manager fans a
provisioning call out to every account of the pool, because the accounts live on several hosts and
share only sessions. Built and tested on the upstream branch; merging and deploying it is the open step,
and until then an Antigravity sync from GAOS fails and names the failure.
M16.2 β The vendor in GAOS (T-181, T-182)
The policy rides on the Product vertex beside the Blueprint draft. The packet's vendor is resolved
when it is frozen; the turn sends it, the run records it, and a retry on another vendor opens a new
session with reason vendor. The product's workspace is synced to each vendor in use, and
the Blueprint gate asks all of them.
M16.3 β The AI vendors tab (T-183)
A segmented control on real radios, a role table that appears in mixed mode, the model picker,
and each vendor's availability and workspace status, with motion that answers a pointer and never a
keyboard. Board cards carry a quiet CL/AG badge.
M17 · The design gate
Added on 2026-11-04 with D-068, rules
BR-46 to BR-50 and the forward specifications
TC-359…TC-375.
A design is written before anything is built, and a fresh reviewer with no memory of the
conversation that produced it reads the design alone and attacks it. This milestone is
built as of v0.35.0: the mechanism that makes a platform reviewer genuinely
zero-context was decided by D-069, which closed
OQ-32, and
D-070 records how it landed. No event name was
added: the event catalog is closed
(BR-05), and the gate speaks in
TaskMoved's rule and in artifacts.
M17.1 β The mechanism, the artifact and the kinds (T-184, T-185)
T-184 builds the review-shaped packet. D-069
fixed the isolation boundary at the packet rather than the workspace: the reviewer's workspace is
the product's own, holding the published Blueprint whole, and the reviewer's packet carries
exactly two kinds β design and rules. The standing files are the rubric,
not contamination; what is withheld is the author's session state, and it is withheld today by
default, because freezePacketFor is per-desk and latestHandoffFor is
desk-scoped, so a review would inherit the author's handoff unless the packet builder learned to
tell a review from an implement. T-184 adds that branch and the new design part kind.
T-185 makes the record possible: Artifact.kind admits
design and review, Task grows a kind of
implement|design|review, and the citation vocabulary grows a design role
so the design artifact is cited by the part that carries it. The Review vertex is not
touched: it belongs to the M5 score-band review engine, whose verdict vocabulary and
mandatory score mean something else entirely.
M17.2 β The reviewer and its packet (T-186)
One review task per design, on a fresh session with reason reviewer, carrying
the design artifact and the rubric and nothing else. The packet's kinds are exactly
design and rules β and not task,
context, handoff or contract. The rubric needs no new
kind: it already travels as rules. This is the deliberate inverse of
D-056, which resumes a session so the model
sees its own failed reply; here the reviewer must see none of it. The design arrives at
.gaos/packet/design.md as a GAOS-held artifact, because GAOS reads no folder and
there is no other route by which a reviewer could open it.
M17.3 β The gate and the triage vocabulary (T-187)
The gate is a DEPENDS_ON edge and the existing BLOCKED status, the
planner's own mechanism β not a new task status, which would widen a closed vocabulary for no
gain. The four dispositions are PROPOSE FIX, CONTEST,
ESCALATE and DECLINE; a severity is never changed, and a
comprehension gap is never contested. An open Blocker holds the implement task in the
operator's queue, and the findings travel back on the implementer's next packet, at
.gaos/packet/context/findings.md β context semantics, the same way the previous
handoff travels β so the implementer sees the review that rejected it. A failed review is not a
verdict: it moves the review task to BLOCKED with reason review-failed
and never wedges the product. The gate's own record is an Artifact of kind
review, not a Review vertex. The operator's clearance needed a real
identity to check, and the back office has one since v0.39.0
(BR-48, D-079).
M17.4 — The budget and the drift (T-188)
EGM multiplies turns per task, and BR-17's budget caps are per workflow and per tenant rather than per attempt, so a review turn is metered against them like any other: the desk's running cost and the tenant's spend carry it, and the budget guard (M10.3) reads the same accumulators. The guard itself is not built, so this is the accounting that will be. The drift report is the harness's idea made mechanical: GAOS reads no folder, so it cannot compare a design against the code, but it can compare a design against the Blueprint version it was written under — and a design written under a superseded version is a design whose rules have moved under it. The review's record says so, naming both versions.
M17.5 — The reviewer's own workspace (T-189, T-190, T-191)
The gate M17 built gave the reviewer a minimal packet and a fresh session, and left it in the author's folder. D-071 closes that: a product has a second workspace now, and the reviewer's turn runs there. The folder holds the published Blueprint whole — the rubric, byte-identical — and is reset before every review turn, so it holds none of the author's files. A run records which workspace it used, so a reviewer's turn never marks the author's workspace drifted.
The limits are named rather than hidden: the standing files still carry the product's stories and decisions, and the two folders are siblings under one managed root, so the gateway's write boundary is not a read boundary between them.
M18 · The QA catalog and the sample product
Added on 2026-11-14 with D-072…D-076,
rules BR-51 to BR-54 and
TC-391…TC-411. GAOS keeps a QA catalog per product,
serves a bearer-token REST API for the QA tools, seeds the sample product, and calls the QA tools from two
back-office buttons. This milestone is built as of v0.37.0, in five phases that each ended with
go vet and go test green. Its design is
docs/designs/qa-catalog-sync.md, reviewed in three rounds. No event name, task status or docs class was
added: the three closed vocabularies stayed closed. The contract for the QA tools is published at
The QA sync API; what stays open is
OQ-33, OQ-34
and OQ-35.
M18.1 — The catalog and the desk fix (T-192)
A case is a QaCase vertex with one writer per field, never a task. A product made in the back
office is seated at an idle desk when it is first planned, so it can have a workflow and a board; five routes
that took no cookie check now require one; and CreateWorkflow's gate loop no longer re-blocks
another product's tasks.
M18.2 — The REST surface (T-193)
Fail-closed, product-scoped for the QA token, bounded at 200 items and 1 MiB. A QA write carries no floor, so a replayed floor is never overwritten.
M18.3 — The seed (T-194)
Generic and idempotent; the sample product's data is outside the binary and the gate is not cleared. The data stays in this private repository only until it could be made public.
M18.4 — Outbound sync and the QA tab (T-195)
One configured origin, no redirects, one sync at a time and a cooldown. The buttons render disabled, with the reason, until the QA tools implement their side.
M18.5 — Creation, the blocked card and the registers (T-196)
The QA token may create cases and, for a new epic, one card that is born BLOCKED; nothing it sends
moves an existing task.
What this page deliberately leaves out
Domain K β the commercial model β has no rows here. K-1β¦K-10 are
business rulings, decided and logged as
D-026β¦D-031,
D-035 and
D-038; they constrain what gets built without
themselves being buildable. The one that is still open is a question, not a task:
K-6's rate-card numbers wait on
OQ-21. The
FAQ is where those live.
Two more omissions, both intentional. J-7 β tenant self-service signup and billing
β is withdrawn by D-032 and struck rather than
deleted in the BRD, so it appears in neither the register nor M10.
L-1 and L-10 are answered by
D-034 as statements of posture β residency is the
operator's own machines, and support engagements get no standing access β and need documentation
rather than code, so M11 starts at L-2.
Finally, this page tracks work, not risk. The twelve-entry risk register and the nine
unvalidated assumptions stay in
BRD Β§11, where R-02 and
R-10 can be argued about without a task ID implying someone has agreed to fix
them.