Agentic AI Atlasby a5c.ai
OverviewWikiGraphFor AgentsEdgesSearchWorkspace
/
GitHubDocsDiscord
iiRecord
Agentic AI Atlas · Spec 60 — Standards alignment: ACP everywhere and the AX execution substrate (WP-ACP-*, WP-AX-*)
page:docs-specs-platform-gaps-60-standards-alignmenta5c.ai
Search record views/
Record · tabs

Available views

II.Record viewspp. 1 - 1
overviewarticlejsongraph
III.Related pagespp. 1 - 1
II.
Page reference

page:docs-specs-platform-gaps-60-standards-alignment

Reading · 89 min

Spec 60 — Standards alignment: ACP everywhere and the AX execution substrate (WP-ACP-*, WP-AX-*) reference

Date: 2026-10-13 · Status: draft amendment to the C-series program (spec 55) — binds after adversarial review ≥90 and the owner's gate (spec 55 §3.0 pattern; owner decision C-13) · Binding decisions: C-13, C-13a…C-13j (research/console-owner-decisions.md, amendment 2026-10-13) and D23 (added by this amendment to 00-intent.md), constrained by D1–D22 and C-1…C-12, which this spec changes only where D23 says so (D6's "derived view" clause).

Pagewiki/docs/specs/platform-gaps/60-standards-alignment.mdOutgoing · 0Incoming · 1

Spec 60 — Standards alignment: ACP everywhere and the AX execution substrate (WP-ACP-*, WP-AX-*)

Date: 2026-10-13 · Status: draft amendment to the C-series program (spec 55) — binds after adversarial review ≥90 and the owner's gate (spec 55 §3.0 pattern; owner decision C-13) · Binding decisions: **C-13, C-13a…C-13j** (research/console-owner-decisions.md, amendment 2026-10-13) and **D23** (added by this amendment to 00-intent.md), constrained by D1–D22 and C-1…C-12, which this spec changes only where D23 says so (D6's "derived view" clause).

Inputs consumed in full: the two research spikes research/acp-everywhere-spike.md and research/ax-kradle-spike.md (committed with this amendment as research inputs); the owner decisions C-13…C-13j; specs 00, 10, 15, 20, 30, 50, 55; the flow catalogue e2e-tests/flows/catalogue.json and its checker scripts/check-e2e-flow-coverage.cjs; the roadmap index roadmap/index.json and its checker scripts/check-roadmap-index.cjs.

**Citation conventions.** ACP: = research/acp-everywhere-spike.md (section or line); AXS: = research/ax-kradle-spike.md; DEC: = research/console-owner-decisions.md; NN §x = section x of sibling spec NN; ax: = google/ax at ac2332829f22, ax#N = its issue N (both as cited by AXS:). Code paths without a prefix are paths in the fabric tree at origin/staging d34c8a24e (the spikes read beca384bd; the two commits between them change only CI wiring, git diff --stat beca384bd d34c8a24e).

**ID conventions.** New work packages are **WP-ACP-01…06** (protocol) and **WP-AX-01…06** (execution substrate). New e2e flows are **FL-ACP-01…10** and **FL-AX-01…08**, plus the contract leg **FL-AX-11**. New e2e flows also include the gap-register flows **FL-AX-09**, **FL-AX-10**, **FL-CAT-01**, **FL-REL-08** and **FL-OBS-03** (§17). New program records continue spec 55's series: waiver **W-11**, deferrals **DF-07…DF-09**, owner actions **OA-18…OA-21**, risks **R23…R31**, and the gap-register work packages **WP-CP-23…27** (minted in spec 55 §3.15).

---

0. Decisions (verbatim) and what they bind

0.1 Owner decisions C-13…C-13j

Quoted from DEC: "Amendment 2026-10-13". Each is binding as written.

#TopicDecision (verbatim)Where this spec executes it
C-13Standards alignmentOwner, verbatim: "make adapters be based on and support acp protocol to deprecate our propertietary 'standards' that are now standards (including v2 draft). and also, support ax as the base for the kradle runtime and entities where possible." ("in the fabric repo"). Interpretation: ACP v1 (schema-v1.25.0) + v2 draft (schema-v2.0.0-alpha.8) as the adapters' base protocol, with fabric-proprietary equivalents deprecated and deleted (D10, no shims); "ax" = github.com/google/ax (Agent Executor, Go, Apache-2.0) as the base for the kradle runtime and entities where it fits. Research spikes: research/acp-everywhere-spike.md, research/ax-kradle-spike.md → spec amendment → adversarial review ≥90 → owner gate.the whole spec
C-13aAX scopeOwner: "ax should be also including integration to task adapter, but its journal should not replace a run journal of babysitter." → AX backend in @fabricstack/harness-tasks; babysitter run journal remains source of truth.§7.2 (task-adapter backend), §8 (journal link), WP-AX-02
C-13bAX depth"move everything to ax. but only if where it can support everything that kradle runtime and execution already support." → parity-gated migration, area by area; gaps stay in kradle.§7.3 (parity matrix), §9 (feasibility), WP-AX-06
C-13cJournal link"Reference + outcome (Recommended)": EFFECT_REQUESTED/RESOLVED carry the AX execution id and final outcome; replay never reads AX.§8, WP-FN-01 AC6 (spec 20 amendment), FL-AX-07
C-13dACP version"v1 base + v2 negotiated (Recommended)": v1 schema-v1.25.0 baseline; v2 alpha negotiated via protocolVersion; both pinned and regenerated.§6, WP-ACP-01, FL-ACP-02/03
C-13eAgentEvent union"Delete; ACP is the model (Recommended)": ACP session/update is the internal model, _fabric/... extensions, union and normalizer deleted (D10).§2.2, §4, WP-ACP-02/03
C-13fClaude Code ACP route"Fabric-written adapter": fabric authors an in-process ACP adapter over @anthropic-ai/claude-agent-sdk (not the upstream claude-agent-acp, whose registry license is "proprietary").§5 row 1, WP-T3-10 (re-scoped), FL-ACP-10
C-13gACP flip timing"End of C3 (Recommended)": re-pin ACP in C2 (current pin is v0.11.3 unstable); conformance suite and single ACP lane; union + normalizer + 22 codecs deleted at the end of C3.§3.2, §13, WP-ACP-01/05 (C2), WP-ACP-03 (C3 end)
C-13hAX parity rule"Gated per area (Recommended)": ExecutionSubstrate port + AX task-adapter backend in C2/C3; opt-in AX execution ~C5 once gates close; per-area move at full parity; re-audit C10/C12; K8s Job default until then.§7, §9, WP-AX-01…06
C-13iGoogle CLA"No, extensions only": no upstream contribution to google/ax; gaps closed only through AX extension points, otherwise the capability stays in kradle.§9 (which gates can close), DF-08
C-13jRemaining spike questionsRecommended defaults adopted unless the spec review surfaces a conflict: ACP OD-2..OD-13; AX Q2, Q4..Q11 (Q3 overridden by C-13i).§0.3 (each default, and the two conflicts this spec surfaces)
C-13kAX opt-in waiver (Q1, OA-19, W-11)Owner: "Grant for scratch orgs". Interpretation: W-11 is granted for test-owned scratch orgs only, with G2 (ax#369) and G4b (ax#368) still open upstream; the live legs of FL-AX-01/02/04/05/06 return at their prior due runs (C5/C6/C5/C8/C5, staging-scratch) beside their fake-AX legs and FL-AX-11; OA-18 is due C5 day one with a pre-check at C4 Gate B; Kubernetes Job stays the default and no area moves without full parity (C-13b); W-11 expires at the C10 re-audit unless renewed (owner-confirmed 2026-10-13, C-13p); WP-AX-06 may score rows Yes on live scratch-org evidence; if W-11 is not renewed, the live legs are retired by amendment (WP-AX-06 AC6), the fake-AX legs are kept and T6 stays 143. These three W-11 terms are owner-confirmed in C-13p.§16.2
C-13l#38 timing (Q5)Owner: "Fix-forward now (Recommended)". Interpretation: the #38 callback authentication ships as a C1 fix-forward PR to staging from a separate branch — token auth with 401/403/409, idempotent retry, the terminal-state 409 guard, per-Job Secret-volume delivery, the in-flight grace window and HMAC key custody in a kradle Secret; WP-AX-01 keeps the port, the cancel fix (#39) and the two-key rotation overlap test.§16.2
C-13mC3 overload (Q6)Owner: "Contingency only (Recommended)". Interpretation: one C3 with the declared contingency (non-flip L items to C4 if Track B slips) and the owner breakpoint before WP-ACP-03; no C3a/C3b split.§16.2
C-13nMissing corpus entry at the flip (Q2, Q7)Owner: "Per-codec waiver (Recommended)". Interpretation: a missing corpus entry blocks the flip unless the owner signs a per-codec waiver at C3 Gate A whose parity oracle is the ACP conformance profile plus one live run.§16.2
C-13oFork packaging, C-12 and AX, contract leg (Q3, Q4, Q8)Owner: not asked; defaults stand. Interpretation: forks as internal modules of @fabricstack/harness-codecs; C-12 does not require any area to move to AX; the CI-only contract leg is not AX execution on a cluster.§16.2
C-13pW-11 terms of the C-13k interpretationOwner: "Confirm all three (Recommended)". Interpretation: the owner confirms the three W-11 terms that C-13k had marked coordinator-proposed: (a) W-11 expires at the C10 re-audit unless it is renewed; (b) WP-AX-06 may score rows Yes on live scratch-org evidence; (c) if W-11 is not renewed, the live legs of FL-AX-01/02/04/05/06 are retired by amendment (WP-AX-06 AC6), their fake-AX legs are kept and T6 stays 143.§16.2

0.2 D23 (verbatim as appended to `00-intent.md`)

**D23 — Standards alignment (amends D6; adds the execution-substrate rule).** The Agent Client Protocol is fabric's agent-session model, not only its canonical harness protocol: ACP v1 (schema-v1.25.0) is the baseline every harness route must pass and ACP v2 (schema-v2.0.0-alpha.8) is negotiated through protocolVersion, both pinned and regenerated in CI; ACP session/update (stored wire-verbatim, read through ACP's own entity model) replaces the 67-member AgentEvent union, which is deleted with its normalizer and the 22 codecs at the end of run C3 with no shim (D10), fabric-only facts travelling as _fabric/... extensions that no harness is required to understand; Claude Code is driven through a fabric-written in-process ACP adapter over @anthropic-ai/claude-agent-sdk. AX (google/ax) becomes an optional execution substrate behind an ExecutionSubstrate port and a backend of @fabricstack/harness-tasks; an area of the kradle runtime moves to AX only when AX supports everything kradle already supports there, gaps close only through AX extension points (no upstream contribution), and the Kubernetes Job stays the default until then. The babysitter run journal stays the source of truth: AX state never replaces it or journal v2, effects carry only the AX execution reference and outcome, and replay never reads AX. Source: owner decisions C-13…C-13j; specified in 60-standards-alignment.md.

0.3 C-13j defaults, as adopted, and the conflicts this spec surfaces

Each row is the spike's recommended default (ACP: §6, AXS: §9), adopted by C-13j.

QuestionAdopted defaultExecuted by
OD-2 Codex routecodex-acp (Apache-2.0, OpenAI co-authored), pinned; WP-T3-04 codex-protocol withdrawn (DF-07)WP-T3-11 (re-scoped), §11
OD-3 OpenCode routeopencode acp with per-session mcpServers, verified by a per-session MCP isolation test in the conformance suiteWP-T3-12 (re-scoped), WP-ACP-05 AC6
OD-4 Community adapterstracked forks of pi-acp (MIT) and amp-acp (Apache-2.0) with UPSTREAM.jsonWP-ACP-04
OD-5 Persisted formwire-verbatim transcript + entity foldWP-ACP-02
OD-6 Flip timingend of C3 (also C-13g)WP-ACP-03
OD-7 Environment ingestACP directly (hard-fork divergence from t3code's ProviderRuntimeEvent)WP-T3-19 (changed), WP-ACP-03
OD-8 Console wirecontracts RPC carrying ACP entities; the ACP endpoint serves external clients and the console TUI§2.1, WP-ACP-06
OD-9 Low-value membersdrop stream_fallback; keep _fabric/step and _fabric/log§4
OD-10 Upstreamingpropose ACP RFDs for checkpoints, step boundaries and per-turn usage after C3; keep _fabric until acceptedWP-ACP-06 AC7
OD-11 v2 offer policyv2 offered in CI and by fabric's own agents only, until v2 is stable§6.1
OD-12 Descriptor source of truthACP Registry manifest format with _fabric keys; catalog graph and CRDs reference registry idsWP-ACP-04, WP-T3-33 (changed)
OD-13 a5c.hooks.v1private ingest types; no longer a published formatWP-T3-15 (changed)
Q2 Where Substrate runsthe same GKE clusters, a dedicated gVisor node pool, staging only until WP-AX-06WP-AX-04, OA-18
Q4 Detailed eventsfabric captures the AX watch stream and runner output under the execution reference, linked from the journal and never replayed; switch to upstream retention when it exists§8.4, WP-AX-03
Q5 Granularityone AX task per effect attempt from C5; per-environment mode evaluated at the C10 re-auditWP-AX-04, WP-AX-06
Q6 Runner languageTypeScript runner implementing the AX runner contract; no Go toolchainWP-AX-03
Q7 Predicted referencepredicted deterministic reference in EFFECT_REQUESTED, actual in EFFECT_RESOLVED§8.2
Q8 Phase mirroringno EFFECT_PROGRESS for AX phase transitions§8.2
Q9 Secrets on AXrunner-side token exchange (one-time bootstrap token in env, then a short-lived credential); plain env rejectedWP-AX-03 AC4
Q10 Revert side effectsa revert is a failed attempt for write-back-capable stacks; continue with reverted: true for read-only stacks§8.3
Q11 Substrate in the cluster chartoptional external prerequisite, disabled by defaultWP-AX-04 AC6

**Conflicts surfaced (C-13j "unless the spec review surfaces a conflict").** Both are put to the owner (§16.2); until answered, the default stated here applies.

1. **C-13h "opt-in AX execution ~C5 once gates close" vs C-13i "extensions only".** **Resolved 2026-10-13 by C-13k ("Grant for scratch orgs"):** W-11 is granted, so the live legs of FL-AX-01, FL-AX-02, FL-AX-04, FL-AX-05 and FL-AX-06 are restored at their prior due runs (C5, C6, C5, C8, C5; staging-scratch) beside their fake-AX legs and FL-AX-11. The grant covers test-owned scratch orgs only, leaves G2 and G4b open upstream, moves no area (C-13b; Kubernetes Job stays the default), and W-11 expires at the C10 re-audit unless renewed (owner-confirmed 2026-10-13, C-13p), a C-13k interpretation; the non-renewal path is in WP-AX-06 AC6. *Superseded (historical) — the conservative default that applied before the answer:* Gate G2 (CPU and memory limits reach the sandbox, ax#369) and gate G4b (per-stack node-pool selection, ax#368) have no AX extension point (§9). Under C-13i they can close only if Google ships them, so "once gates close" may never be true. Default (conservative, until the owner answered OA-19): no AX execution runs on any cluster. C5 lands the runner, the authenticated callback, the chart block (disabled) and the network policy, and every AX flow (FL-AX-01…08) runs against the fake AX server in CI; the catalogue's due runs assume nothing about W-11. **Only if the owner grants W-11** (G2 and G4b unenforced, test-owned scratch orgs only) does a dated amendment add live legs of FL-AX-01, FL-AX-02, FL-AX-04, FL-AX-05 and FL-AX-06 on deployed_stack_e2e (staging-scratch), due no earlier than the run after the grant. No customer org may opt in while G2 or G4b is open, whatever the answer. **Not "AX execution on a cluster":** the WP-AX-02 contract leg (AC7) starts a pinned real ax-server image in an ephemeral, CI-only environment inside one CI job (docker or kind on the runner, torn down with the job) to prove the fake behaves like AX; it never touches a shared or staging cluster, never schedules a sandbox that runs an agent, and carries no credential. This reading is owner question Q8, with this default. 2. **WP-TEST-09 AC6 (no codec retired before its corpus entry exists) vs C-13g (all 22 codecs deleted at the end of C3).** Spec 55 §0.3 Q6 lets late corpus entries arrive up to C6 Gate A (OA-14). The flip now retires every codec in C3. **Default:** OA-14's vendor-login secrets are due by C3 day one, and every corpus entry must exist before WP-ACP-03 merges. A codec whose entry is still missing at C3 Gate A blocks the flip unless the owner signs a per-codec waiver at C3 Gate A naming the ACP conformance profile plus one live lane run as that codec's parity oracle. No such waiver is pre-granted. **Confirmed 2026-10-13 by C-13n ("Per-codec waiver"):** the waiver's parity oracle is the ACP conformance profile plus one live run of that codec's route.

---

1. Scope and invariants

**In scope.** Every fabric-proprietary agent-session format that an open standard now covers (14 surfaces, §3), the per-harness admission routes (§5), the ACP schema pipeline (§6), the AX execution substrate (§7–§9), and the C-series schedule, work packages and flows they change (§10–§13).

**Out of scope.** The public a5c-ai/babysitter repository and its formats (D17; spec 55 I-1). The babysitter run journal format beyond the additive fields of §8 (journal v2 is WP-FN-01; signed journals WP-FN-02). The control-plane API, CRDs and the 7-action approval taxonomy, which stay fabric's (§2.3, §7.3 N rows).

**Invariants added by this spec** (binding on every run from C2; added to spec 55 §7 as I-11…I-14):

#InvariantSource
I-11The babysitter run journal is the run's source of truth. AX state is cache: it never replaces the journal or journal v2, nothing from AX is appended except the execution reference and outcome (§8), and replay never reads AX.C-13a, C-13c, D23
I-12After the flip (end of C3), no fabric agent-event format exists outside the ACP entity model and the _fabric extension schemas: no AgentEvent union, no normalizer, no adapters-events output mode, no compatibility converter in either direction.C-13e, D10
I-13Fabric never requires a harness to understand _fabric traffic, and fabric's ACP client ignores unknown extensions (ACP extensibility rules).C-13e; ACP §4.2
I-14Kubernetes Job is the default execution substrate for every area whose parity rows are not all "Yes" with evidence (§7.3); an AX gap closes only through an AX extension point, never by an upstream contribution or a fork.C-13b, C-13h, C-13i

---

2. ACP target architecture

2.1 Shape

Condensed from ACP: §4.1 (diagram there).

  • **Inward: fabric as ACP client.** One ACP lane runtime (WP-T3-06, re-scoped) drives every harness. Per-harness code shrinks to a registry-format manifest plus an optional extension module for vendor _meta and quirks (the CursorAcpExtension/XAiAcpExtension pattern, 10 §3.1). LANE_KINDS (packages/adapters/core/src/contract/lanes.ts:20) collapses to ['acp']. The admission route (native, upstream-adapter, fabric-agent) is data in the manifest, not a lane kind (§5).
  • **Outward: fabric as ACP agent.** The environment hosts an ACP agent service that exposes babysitter runs and agent-runtime sessions as ACP sessions over stdio (the fabric acp entry point of @fabricstack/environment) and, from C5, over the ACP Streamable HTTP/WebSocket transport (draft RFD) authenticated by the WP-T3-30 DPoP grants (WP-T3-18 widened, WP-ACP-06).
  • **Console boundary unchanged.** "ACP terminates inside the environment; kradle never speaks it" (10 §4.1) holds. The console stays on contracts RPC (OD-8), but its thread stream carries ACP entities verbatim instead of AgentEvent or ProviderRuntimeEvent payloads.
  • **Approvals.** ACP session/request_permission (v1 toolCall; v2 subject, including _fabric/<action> subjects for the six non-tool actions) → the WP-T3-17 trust gate → the contracts approvals group (7 actions) → signed decision → ACP response. The control-plane record and the human-root chain are unchanged; only the lane-side wire is ACP.
  • **Where ACP meets AX.** When a run executes on AX, the harness process runs inside the AX sandbox. AX owns the execution; ACP owns the conversation inside it (stdio inside the sandbox, or the remote transport across the boundary). AX never sees ACP traffic (§7.4).

2.2 The internal model — "ACP is the model" (C-13e)

  • **Stored form: wire-verbatim transcript.** Each agent session persists an append-only ACP transcript: every JSON-RPC message in both directions with {seq, direction, receivedAt, protocolVersion}. It replaces the gateway NDJSON run.event log (packages/adapters/gateway/src/runs/event-log.ts:19) and the live-stack adapters-events artifact (renamed acp-transcript). Nothing is translated on write, so draft churn cannot corrupt stored data (OD-5).
  • **Read form: ACP's own entity model.** @fabricstack/acp's new plain-TypeScript model subpath folds a transcript into ACP entities (messages by messageId, tool calls by toolCallId, terminals, plan, usage, compactions, state) with v2 patch semantics. v1 updates are up-converted (tool_call ⇒ upsert; PromptResponse.stopReason ⇒ state_update{idle}; diff{oldText,newText} ⇒ changes[modify|add]). Its types are generated from the pinned v2 schema plus the _fabric extension schemas, so the model changes only when a pin changes. It is not a fabric event union.
  • **Effect boundary.** The model subpath has zero effect imports (architecture rule, WP-ACP-02 AC3), so fabric core (B4: the orchestrator SDK journal binding, cost/attestation) can read it without crossing the 10 §2.1 boundary rules.
  • **Consumers.** Journal binding, cost/attestation, the console thread view, the console TUI plugins, the observer, and the ops-console frozen mirrors (apps/commander/src/contracts/adapter-events.ts, re-frozen as ACP entities). All read the model; none reads a fabric union.

2.3 `_fabric` extensions

One generated schema module, packages/acp/extensions/fabric/*.json, versioned with the pins:

  • on v1 they travel as extension notifications or requests _fabric/<name> and _meta["fabric.dev/…"] keys;
  • on v2 they also appear as _fabric_<name> open-enum variants where the schema allows _-prefixed values (session update other, state, permission subject, tool kind, content block).

The registered names are the 11 of ACP: §4.3 (_fabric/checkpoint, _fabric/step, _fabric/plugin, _fabric/skill, _fabric/agentdoc, _fabric/usage, _fabric/approval/request, _fabric/run_state, _fabric/diagnostic, _fabric/log, _fabric/session/fork) minus _fabric/diagnostic (OD-9 drops stream_fallback, its only producer), plus _fabric/hook (observe lane) and the _fabric capability keys carried in initialize _meta (rollback, deferred-prompt targets on v1, auth guidance, native session-file parsing). Eleven names in all.

2.4 What D10 means here

Condensed from ACP: §4.4.

  • No AgentEvent↔ACP converter in either direction, no dual emission, no deprecated re-export of events.ts, no @deprecated period. The union, events-control.ts, projection/**, the producer gate and every consumer move in **one** work package and one PR (WP-ACP-03).
  • No adapters-events compatibility mode on the agent runtime or the orchestrator after they become ACP agents: the output-format switch is deleted, not defaulted off.
  • No gateway run.event payload versioning. Between the flip and the gateway deletion (WP-T3-21 stage B, C5), run.event.event simply is an ACP session/update params object.
  • **Allowed, and not shims:** ACP-exposing adapters around native harness APIs (route (c), §5), and the v1→v2 up-converter inside the model (protocol negotiation, with its own exit, §6.4).

---

3. The 14 proprietary surfaces: verdicts and the deprecation/deletion sequence

3.1 Verdicts

Evidence and consumer lists are in ACP: §1. Verdicts: **Subsumed** = delete and use ACP; **Partial** = ACP plus a _fabric residue; **Keep** = not an agent-session concern.

#Surface (anchor)VerdictDeleted or changed byRun
I-1AgentEvent union, 67 members (packages/adapters/core/src/events.ts:411, events-control.ts)Subsumed, _fabric residueWP-ACP-03C3 end
I-2Normalizer and lane projectors (packages/adapters/core/src/projection/**, scripts/lib/agent-event-producers.cjs)Subsumed (deleted; goldens become ACP transcript goldens)WP-ACP-03C3 end
I-3Gateway WS protocol v1, 17 frames (packages/adapters/gateway/src/protocol/v1.ts)Subsumed for the agent plane; pairing.* stays fabric (DPoP)run.event payload = ACP from WP-ACP-03; file deleted by WP-T3-21 stage BC3 / C5
I-4adapters-events JSONL output mode + stdin interaction protocol (packages/genty/platform/src/harness/adapters/adapterEventEmitter.ts)Subsumed (agent runtime and orchestrator become ACP agents)WP-T3-18 + WP-ACP-03C3 end
I-5Unified hook event a5c.hooks.v1 (packages/adapters/hooks/core/src/types/event.ts:34-35)Partial: vendor hook ingest stays private; output becomes ACP + _fabric/hookWP-T3-15C3
I-6Generic hook payload/result convention (packages/adapters/core/src/hook-payload.ts)Partial: folds into I-5WP-T3-15C3
I-7Interaction channel (packages/adapters/core/src/interaction.ts)Subsumed (session/request_permission, elicitation/*)WP-ACP-03C3 end
I-8Drive-side permission contract and the 7-action taxonomy wire shape (packages/adapters/core/src/contract/permissions.ts)Partial: tool-use = ACP; six actions = _fabric/<action> subjects (v2) or _fabric/approval/request (v1); the contracts approvals group staysWP-T3-17, WP-T3-23C2 / C3
I-9Diff formats (FilePatchEvent; checkpoint diffs in packages/contracts/src/orchestration.ts)Subsumed for tool diffs; checkpoint diffs kept, text standardised on ACP v2 git_patchWP-ACP-03, WP-T3-24/25C3 / C4
I-10Run/session state enums (RunState, RunPhase, t3code runtime states)Partial: session/turn state = ACP; process supervision and RunPhase = _fabric/run_stateWP-ACP-03C3 end
I-11t3code ProviderRuntimeEvent union (packages/contracts/src/providerRuntime.ts:1177-1230)Subsumed (OD-7)WP-T3-19 divergence → WP-ACP-03C2 → C3
I-12Adapter contract surfaces duplicating ACP (packages/adapters/core/src/contract/provider-adapter.ts)Partial: the contract shrinks to an ACP client facade + _fabric capability keysWP-ACP-03 (with WP-T3-06)C3 end
I-13Agent/harness descriptors (gateway agentDescriptors, provider matrix, live-stack agent map, catalog harness literals)Partial: the launch descriptor is the ACP Registry manifest (_fabric keys); CRDs reference a registry idWP-ACP-04, WP-T3-33C2 / C7a
I-14fabric.json project file (packages/contracts/src/t3ProjectFile.ts)Keep (not an agent descriptor; any MCP declaration uses the ACP session/new mcpServers shape)——

The babysitter run journal and the model-proxy traces are not in the 14: both are kept (ACP: §1, last two rows). Effects that run an agent session gain the acp block of §8.2.

3.2 Sequence

Each step lands its replacement and deletes what it replaces **in the same PR** (D10).

StepRunWhat landsDeleted in the same PR
1C2 (first protocol WP)WP-ACP-01: re-pin schema-v1.25.0 + schema-v2.0.0-alpha.8, dual generation, receiver-tolerance tests, drift watchpackages/acp/schema/v0.11.3/**; the session/elicitation and session/set_model wiring
2C2WP-ACP-02: _fabric extension schemas + the ACP model—
3C2WP-T3-06 re-scoped (one ACP client lane runtime, negotiation, registry launcher, client-hosted fs/*/terminal/* for v1 agents); WP-ACP-05 conformance suite; WP-ACP-04 stage 1 (manifest machinery); WP-T3-10 on the fabric-written Claude adapterLANE_KINDS other than acp; projection/claude.ts, codex.ts, opencode.ts (never used by a landed lane)
4C3Routes for every codec-bearing harness: WP-T3-07 and WP-T3-12 admission stages, WP-T3-11, WP-T3-13, WP-ACP-04 stage 2 (tracked forks); WP-T3-15 (hooks emit ACP); WP-T3-18 (agent runtime and orchestrator as ACP agents)a5c.hooks.v1 as an exported type (WP-T3-15)
5C3 end**WP-ACP-03, the flip**, after every route passes the v1 profile and replays its WP-TEST-09 AC6 corpusAgentEvent union, events.ts/events-control.ts event types, projection/**, agent-event-producers.cjs; all 22 codecs/src/*-adapter.ts (21 harness codecs and base-adapter.ts), programmatic-adapter-base.ts, remote-adapter-base.ts, *-connection.ts; the adapters-events emitter, stdin reader and output mode; the harness-mock codec mocks; interaction.ts; RunState; the environment's ProviderRuntimeEvent ingestion paths
6C5WP-T3-21 stage B (unchanged); WP-ACP-06 outward endpointprotocol/v1.ts, protocol/frames.ts, the console-UI protocol copy, the gateway NDJSON event log
7C7aWP-T3-33 re-scoped: installers and updaters read ACP Registry manifeststhe agentDescriptors route shape; catalog identity literals derived from manifests
8after v2 stable (DF-09)§6.4 exit planthe v1 module, the up-converter, and every _fabric extension v2 stable covers

---

4. The 67 `AgentEvent` members → ACP and `_fabric`

The binding member-by-member table is ACP: §4.3 (67 rows, each mapped to its v1 construct, v2 construct and extension). This spec adopts it with OD-9 applied. Condensed:

ClassMembers (ACP: §4.3 row numbers)Count
Fully ACP (v1 and/or v2), no extension1, 2, 5, 6, 7, 10–21, 24–27, 29, 31–35, 42, 43, 46, 51, 52, 54, 59, 61, 62, 6537
ACP + one _meta["fabric.dev/…"] key22, 23, 28, 30, 48, 49, 50, 53, 639
ACP-mapped, _fabric extension for the residue3, 39, 41, 44, 45, 47, 55, 64, 66, 6710
No ACP construct, _fabric extension4, 8, 9, 36, 37, 38, 40, 56, 57, 5810
Dropped (OD-9)60 stream_fallback1

**Binding rule for WP-ACP-03.** Before the union is deleted, a completeness test enumerates its discriminants from the type itself (as WP-T3-14 AC1 does today) and asserts that each member has exactly one row in packages/acp/extensions/fabric/member-map.json, whose target is either an ACP construct, a registered _fabric name, or dropped with the decision id. The test and the union are deleted together at the end of that PR; the map stays as the provenance record.

---

5. Per-harness ACP route matrix

Fabric always talks ACP. A harness is admitted through exactly one route: **(a)** native ACP from a pinned registry-format manifest; **(b)** an upstream ACP adapter, pinned (vendor co-authored) or a tracked fork (single-maintainer community code); **(c)** a fabric-written ACP-exposing adapter. No route produces a fabric event format. Registry versions are those of ACP: §2 (fetched 2026-10-13); each manifest pins its exact version and archive sha256.

#HarnessRouteWhat fabric shipsOwning WP · runCodec(s) deleted at the flip
1Claude Code**(c) fabric-written, in-process** (C-13f)An ACP agent over @anthropic-ai/claude-agent-sdk query(), running inside the environment process and connected to the lane runtime through an in-memory JSON-RPC pair (the transcript records it like any stdio route). CanUseTool ↔ session/request_permission; usage limits → usage_update + _fabric/usage; history and fork in a child worker (pattern t3:apps/server/src/claudeHistoryWorker.ts:1-11). Upstream claude-agent-acp is neither vendored nor spawned: its registry license is "proprietary".WP-T3-10 · C2claude-agent-sdk, claude, claude-remote-control
2Codex(b) upstream pinned: codex-acp (Apache-2.0)manifest + extension moduleWP-T3-11 · C3codex, codex-sdk, codex-websocket
3Cursor(a) native cursor-agent acpmanifest + cursor extensionWP-T3-07 · C3 (admission) / C7a (live)cursor
4Grok Build(a) native grok … agent stdiomanifest + grok extensionWP-T3-08 · C7a— (none today)
5OpenCode(a) native opencode acp, per-session mcpServers (OD-3)manifestWP-T3-12 · C3 (admission) / C7a (live)opencode, opencode-http
6Antigravity(a) native, managed installer reading the registry manifestmanifest + extension + installerWP-T3-09 · C7a— (hook adapter only)
7Gemini CLI(a) native gemini --acpmanifestWP-T3-13 · C3gemini
8Copilot CLI(a) native copilot --acpmanifestWP-T3-13 · C3copilot
9Pi(b) tracked fork of pi-acp (MIT)fork as an internal module (§14.1)WP-ACP-04 + WP-T3-13 · C3pi, pi-sdk
10–11Oh-My-Pi ≡ OMP(a) native omp --mode acp; fabric-authored manifestmanifestWP-T3-13 · C3omp
12OpenClaw(a) native bridge openclaw acp; capability tier set by the conformance suitemanifestWP-T3-13 · C3openclaw
13Hermes(a) native hermes acpmanifestWP-T3-13 · C3hermes
14Droid(a) native droid exec --output-format acp-daemonmanifestWP-T3-13 · C3droid
15Amp(b) tracked fork of amp-acp (Apache-2.0)fork as an internal module (§14.1)WP-ACP-04 + WP-T3-13 · C3amp
16Agent runtime (genty)(c) fabric ACP agentagent side of @fabricstack/acpWP-T3-18 · C3— (its adapters-events output mode, I-4)
+1Qwen Code(a) native qwen --acpmanifestWP-T3-13 · C3qwen
intOrchestrator (babysitter)(c) fabric ACP agent, run-backed sessionssame agent serviceWP-T3-18 · C3babysitter
intRemote nesting (docker/ssh/k8s)ACP stdio tunnelled through docker exec/ssh/kubectl exec; the remote transport from C5tunnel launcher in the lane runtimeWP-T3-13 · C3adapters-remote
obs12 hook adapters (observe lane)not a route: ACP cannot observe user-launched sessions; output becomes ACP session/update + _fabric/hook—WP-T3-15 · C3—

Twenty-two codec files are deleted at the flip: the 21 harness codecs named in the last column and base-adapter.ts (ls packages/adapters/codecs/src/*-adapter.ts lists exactly these 22 at d34c8a24e). The WP-T3-13 disposition fixture (its AC1) is re-baselined to "every codec file → deleted at the flip, with its replacing route".

**The Claude route in detail (C-13f).** The adapter lives at packages/adapters/codecs/src/lanes/acp/agents/claude/ inside @fabricstack/harness-codecs (no new package, §14.1). It may adapt t3code's MIT ClaudeAdapter.ts and claudeHistoryWorker.ts with the T3 Tools notice kept (D15). It copies nothing from claude-agent-acp: a provenance check (WP-T3-10 AC8) compares every file of the adapter directory with the pinned upstream claude-agent-acp release by winnowing (the MOSS method) with k = 12 token shingles and window w = 8, over normalised tokens with import/export blocks, type-only declarations, and ACP/SDK identifiers and string literals excluded from fingerprinting (they are shared vocabulary, not authorship). It is **calibrated before it lands**: run on the pi-acp and amp-acp forks against claude-agent-acp, the per-file threshold is set above the maximum share observed there plus a margin of 5 percentage points, and the calibration (inputs, observed maximum, chosen threshold) is recorded in the closing note. The closing note also records, from each fork's UPSTREAM.json and git history, that neither pi-acp nor amp-acp derives from claude-agent-acp; if either does, it is not used as a calibration baseline and is replaced by an independently authored TypeScript ACP adapter. The 40-token verbatim-run rule stays. A negative fixture (an upstream function pasted into a fixture file) must trip it. A trip opens an owner breakpoint that shows the matched spans side by side; the WP closing note records the clean-room statement. Remote-control parity (the old AC5) is evaluated against this adapter before WP-ACP-03 deletes claude-remote-control-adapter.ts.

---

6. ACP v1/v2 schema pinning and the regeneration pipeline

6.1 Version strategy (C-13d)

  • **Baseline v1.** Every route must pass the v1 conformance profile (schema-v1.25.0 stable surface).
  • **v2 negotiated.** The client offers protocolVersion: 2 only where the route manifest sets _fabric.acp.v2: "offer". Until v2 is stable that is CI and fabric's own agents only (OD-11). An agent answering a lower version is used at that version. Fabric's own agents (agent runtime, orchestrator, the outward endpoint) accept either version and answer with the offered version capped at the highest they support.
  • **Stable-only inside v2.** On a negotiated v2 session fabric relies only on the stable part of schema/v2/schema.json. Unstable methods (session/fork, subagent_update, mcp/message, providers/*, …) are used only behind a capability check and a per-route flag (ACP: §3.1).
  • **v1 hosts client capabilities.** v2 removes client-hosted fs/* and terminal/*. The environment serves them to v1 agents; v2 agents do their own (ACP: §3.2 risk 3).

6.2 Pins and generation

  • Pins: packages/acp/schema/v1/schema-v1.25.0/{schema,schema.unstable,meta,meta.unstable}.json and packages/acp/schema/v2/schema-v2.0.0-alpha.8/…, each with a sha256 in UPSTREAM.json, whose generator.release becomes { "v1": "schema-v1.25.0", "v2": "schema-v2.0.0-alpha.8" }.
  • Generation: two generated modules, exported as the v1 and v2 subpaths of @fabricstack/acp (each with client, agent and schema), plus the plain-TS model subpath (§2.2) and the generated _fabric extension schemas. The ci.yml contracts job runs node packages/acp/scripts/regenerate.mjs --check for both pins and fails on any byte difference.
  • Toolchain: the isolated generator toolchain already recorded in packages/acp/UPSTREAM.json (generator.toolchain: Effect pinned outside the workspace) is kept.
  • Drift watch: a weekly scheduled workflow acp-schema-drift.yml (created by WP-ACP-01) diffs upstream schema/v1 and schema/v2 heads against the pins and opens an issue on any change. Adopting a new v1 minor or v2 alpha is an UPSTREAM.json bump PR with the conformance suite green on every route (and the v2 leg for a v2 bump). No catalogue flow lands on the drift workflow; FL-ACP-03 proves its trigger with a synthetic upstream change.

6.3 Generator risk and the fallback (the WP-ACP-01 decision point)

The upstream generator already fails at today's pin (UPSTREAM.json generator.findingAtPin), and v1.25/v2 add more open-enum other/not anyOf constructs and receiver-tolerance annotations (x-deserialize-default-on-error, x-deserialize-skip-invalid-items) (ACP: §0 finding 2, §3.4).

  • **Decoding conformance test** (both pins): every example in upstream schema/*/ docs and test vectors decodes; x-deserialize-default-on-error fields decode to their defaults; x-deserialize-skip-invalid-items arrays drop bad items.
  • **Trigger.** If @effect/openapi-generator under the isolated toolchain cannot produce a module that passes the decoding conformance test for a pin, WP-ACP-01 switches that pin to a **fabric-owned JSON-Schema→Effect-Schema generator** under packages/acp/scripts/generator-fabric/, recorded in UPSTREAM.json as a tracked-fork divergence with the failing construct named. The decision and its evidence (the failing test output) go into the WP closing note. Either generator must reproduce its output byte-identically in CI.
  • **Hand edits.** None beyond the scripted post-generation steps already recorded (upstreamHandEdit); a new hand edit is a scripted step with a test, never a manual patch.

6.4 Exit plan when v2 stabilises (DF-09)

(1) Pin v2 stable. (2) Flip the baseline: every route passes v2, or is listed in a dated v1-exception register with an owner and an expiry. (3) The model is already v2-shaped, so only the v1 up-converter remains. (4) Delete the v1 module and the up-converter when the register is empty (D10, no shim). (5) Delete each _fabric extension v2 stable covers. Re-entry condition of DF-09: an ACP release that publishes v2 as stable.

---

7. AX: the execution substrate

7.1 What AX is (facts that bound the design)

From AXS: §1: AX at ac2332829f22 is a v1alpha1 gRPC front end (15 RPCs) over Agent Substrate, with a single-replica server, all state in Redis (a restart loses it, ax#442), no completion status (ax#346), no results or logs API, no authentication (critical, ax#376), immutable Tasks that start Suspended, and no durable event log (its Redis Streams queue was removed on 2026-09-26). Its value is gVisor/microVM sandboxes, suspend/resume with checkpointed workspaces, declarative workspace preparation, and density. It is **not** a control plane, a journal or an entity model fabric can adopt: of kradle's entities only the dispatch attempt maps (one attempt = one AX Task), and the workspace shape partly maps (AXS: §2).

7.2 The `ExecutionSubstrate` port and the task-adapter backend

  • **Port** (WP-AX-01, C2), inside @fabricstack/control-plane (packages/kradle/core/src/execution-substrate/): ExecutionSubstrate { create, get, watch, suspend, resume, delete }. The k8s-job implementation wraps createAgentJob, getJobStatus, getJobLogs and deleteJob (packages/kradle/core/src/adapters-client.js:418-666) and is the default for every area. The port fixes kradle's cancel, which today only patches status (packages/kradle/web/app/api/orgs/[org]/agents/runs/[name]/cancel/route.js:20-24) and never kills the Job.
  • **Task-adapter backend** (WP-AX-02, C3; C-13a). AxHarnessClient implements AgentMuxClientLike (packages/adapters/tasks/src/backends/adapters.ts:72-74), registered as backend type ax (packages/adapters/tasks/src/backends/index.ts:152-158). Orchestrator kind: "agent" effects reach it through packages/babysitter-sdk/src/harness/hooks/externalAgentEffect.ts:140, which selects it when the routing decision names substrate ax. The mapping of dispatch, status, cancel, logs, results, retries, timeout and suspend is AXS: §6.2, adopted as written. AX is reached over a TypeScript gRPC client generated from a vendored, pinned ax.proto (Apache-2.0, notice kept, §14.2).
  • **Runner** (WP-AX-03, C5; Q6). One fabric-built TypeScript runner image implements the AX runner contract (ax:docs/runner.md checklist) and runs packages/adapters/cli/kradle-agent-entrypoint.mjs exactly as the Job does, so one image serves both substrates (gate G5). It reports completion to an authenticated callback (gate G1) and fetches credentials by token exchange (gate G3).
  • **Granularity** (Q5). One AX task per effect attempt. Per-environment mode (one task hosting an environment-server) is evaluated at the C10 re-audit (WP-AX-06), not scheduled earlier.

7.3 Parity matrix (condensed) and gates

The binding matrix is AXS: §3 (38 scored rows plus topology). Tally against kradle today: **Yes 4** (rows 11 cancel, 12 pause/resume with defects, 21 env passthrough, 37 sandbox isolation), **Partial 12**, **No 22**. Rows that stay in kradle permanently (N): 1 run API, 6 budgets, 7 retry policy, 14 transcripts, 15 artifacts, 16 approvals, 17 permission review, 25 multi-container pods, 29 API auth exposure, 32 UI event stream, 33 K8s API paths, 35 triggers/write-back, 36 model routing.

Areas that could move, with the parity rows they touch and the gates (AXS: §3.1–§3.2):

AreaParity rowsGatesClosable under C-13i? (§9)
A1 Execution sandbox (the agent run's Job)3, 4, 5, 9, 10, 11, 13, 21, 22, 27, 28, 37G1 completion, G2 resources, G3 secrets, G4 isolation, G5 runner, G6 logs**No**: G2 has no extension point
A2 Pause/resume backing (FN-14)12upstream fixes ax#441, ax#452, ax#453**No**: upstream-only defects
A3 Workspace materialization18, 19, 20G7 (ax#363, ax#347, ax#427, ax#440)**No**: upstream-only defects
A4 Capacity and pools24, 26ax#368, ax#437**No**: no extension point exposes worker selection

Stacks that need a service-account binding (row 23), a node pool (row 24) or a multi-container pod (row 25) stay on k8s-job whatever happens to A1.

7.4 ACP inside AX

ACP lives inside the AX sandbox (stdio between the lane runtime and the harness within one task), or crosses the boundary on the remote transport (§2.1). An AX resume restores files but starts a new process tree, so a live ACP session is gone: the lane calls session/load when the agent advertises loadSession, otherwise it continues from the WP-FN-14 snapshot (spec 20 amendment, FN-14 AC). An AX cancel maps to ACP session/cancel first, then DeleteTask.

---

8. Journal-link contract (C-13a, C-13c)

8.1 Invariants

  • The babysitter journal is the source of truth (I-11). Journal v2 (WP-FN-01) and the signed format (WP-FN-02) are unchanged in scope; the fields below are additive.
  • Replay never reads AX. EffectIndex consumes only journal event types (packages/babysitter-sdk/src/runtime/replay/effectIndex.ts:13); FL-AX-07 asserts it with the AX server scaled to zero.
  • The new fields live in event data, inside FN-01's canonical checksum and outside the invocation key (processId:slot:taskId).

8.2 Fields

  • **Deterministic execution reference.** executionRef = {substrate: "ax", atespace: <org slug>, task: "bx-" + b32(sha256(enc(runId) ‖ enc(effectId) ‖ enc(attempt)))[0:24] + "-a" + attempt}, where enc(x) is the 4-byte big-endian UTF-8 byte length of x followed by its bytes (length-prefixed, so no two id tuples share an encoding) and b32 is RFC 4648 base32, lowercase, without padding. The result is at most 63 characters and RFC 1123. WP-AX-02 commits golden vectors (inputs → task name) including ids that contain the delimiter-like bytes |, \0 and non-ASCII. AX tasks are immutable and a duplicate CreateTask returns FailedPrecondition, so creation is idempotent ("adopt the existing task").
  • **EFFECT_REQUESTED** (appended before dispatch, packages/babysitter-sdk/src/runtime/intrinsics/task.ts:191): data.execution = {substrate, atespace, task, attempt: 1, predicted: true} — the **predicted** attempt-1 reference (Q7). Non-AX effects omit it.
  • **EFFECT_RESOLVED** (packages/babysitter-sdk/src/runtime/commitEffectResult.ts:87): data.execution = {substrate, atespace, task, attempt, attempts: [refs]} (the **actual** reference) and data.executionOutcome = {phase: "Succeeded" | "Failed" | "Cancelled" | "TimedOut", exitCode, exitReason, durationMs, suspendCount, reverted, usage}. The outcome comes from the fabric runner's callback, never from AX state. When the routing decision at resolution differs from the prediction (for example AX was predicted and the effect ran on k8s-job after an opt-in was withdrawn), EFFECT_RESOLVED carries the **actual** substrate and reference, and the journal validator accepts a resolved substrate that differs from the predicted one (golden vector).
  • **EFFECT_CANCELLED** (commitEffectResult.ts:166): the reference plus teardown: "deleted" | "orphaned".
  • **ACP block** (any effect that ran an agent session, on any substrate): EFFECT_RESOLVED data.acp = {sessionId, protocolVersion, agent: {registryId, version}, transcriptRef, transcriptSha256}. The transcript is evidence, not state. **Writer:** the ACP lane runtime (WP-T3-06) is the only writer; it passes the block to commitEffectResult when the session closes, and WP-T3-16 stage 1 (C2) asserts it on the mock and Claude routes against FN-01 AC6's golden vectors (§11.2).
  • **Nothing else is mirrored.** AX phase transitions are not written as EFFECT_PROGRESS (Q8).

8.3 Divergence and recovery

Adopted from AXS: §5.3: reattach by GetTask(executionRef) when the task exists; dispatch attempt n+1 with a new reference when it is absent (Redis loss), recording the stale reference in attempts[]; reject a late callback from a superseded attempt as a typed idempotent no-op (the reference is WP-FN-07 AC4's run-incarnation token) and delete its task; record suspendCount/reverted from the runner and, after a revert, treat the attempt as failed for write-back-capable stacks and continue with reverted: true for read-only stacks (Q10); delete a still-running task when the journal has resolved or cancelled the effect (joins WP-FN-05's process registry). **When AX and the journal disagree, the journal wins.**

8.4 "Detailed events stay in AX" (Q4)

AX keeps no events (WatchTask is transient pub/sub). The fabric runner and kradle capture the WatchTask stream and the runner's stdout/stderr into AgentSessionTranscript or KradleArtifact records keyed by executionRef. The journal links to them; replay never reads them. When AX gains retention (ax#430 or "trajectory collection"), the link may point at AX instead, by amendment.

---

9. Extension-point-only feasibility (C-13i)

AX extension points, as C-13i allows them: the runner contract (ax:docs/runner.md, "Replacing the default runner"), runner.Config.OnCommandExit, a custom image, and kradle wrapping AX (network policy, a private Service, kradle as the only client, kradle-side timers). An upstream contribution or a fork is excluded.

GateConditionExtension routeClosable without upstream?
G1Exit code and final outcome reach kradlefabric runner POSTs to the authenticated callback; /metadata status**Yes** (WP-AX-03)
G2CPU/memory requests and limits applied to the sandbox (ax#369, ax#436)none: the runner cannot size its own sandbox, and no AX field reaches the actor template**No**
G3No secret in ActorTemplate envrunner token exchange: one-time bootstrap token in env, short-lived credential fetched from kradle (Q9)**Yes** (WP-AX-03)
G4ax-server unreachable from sandboxes and tenants; egress policy per orgNetworkPolicy + private Service, kradle controllers the only clientisolation and egress: **closable by extension; live proof under W-11 (granted, C-13k) by the in-sandbox network probe of WP-AX-04 AC8 / FL-AX-04**; **No** for node-pool selection G4b (ax#368)
G5Pinned fabric runner image, independent of the private default image and of the Gemini bootstrapfabric-built image**Yes** (WP-AX-03)
G6Logs path from the sandboxrunner streams to kradle**closable by extension; live proof under W-11 (granted, C-13k) by WP-AX-04 AC8's live legs** (WP-AX-03 proves capture against the fake and the contract leg), subject to unknown U1
G7Workspace defects fixed (ax#363 RCE, ax#347, ax#427, ax#440)none: the defects are in AX's workspace setup; fabric's own runner can materialize workspaces, but then A3 has not moved to AX**No**

**What this means for whether any area ever moves.**

1. Every agent Job sets CPU and memory requests and limits today (adapters-client.js:532-537), so area A1 touches row 4 and needs G2. G2 has no extension point. **Under C-13i, A1 cannot reach K3 parity unless Google ships ax#369 on its own.** Areas A2, A3 and A4 depend on upstream-only fixes as well. 2. Therefore, as of 2026-10-13, **no area can move to AX**. The program builds what C-13h schedules (the port and the backend in C2/C3, the runner and the opt-in machinery from C5) and closes G1, G3, G4 (isolation and egress), G5 and G6 by extension. G2 and G4b cannot close by extension; the owner granted W-11 (C-13k), so AX runs live **only for test-owned scratch orgs** as a measurement substrate, from C5; W-11 expires at the C10 re-audit unless renewed (owner-confirmed 2026-10-13, C-13p). Kubernetes Job stays the default everywhere (I-14), and no area moves without full parity (C-13b). 3. The C10 and C12 re-audits (WP-AX-06) re-score AXS: §3 against the then-current AX release. An area moves only if every row it touches is "Yes" with evidence. If no area qualifies at C12, DF-08 records "AX as the default substrate for any area" as deferred out of C-12, with the re-entry condition "an AX release closes the area's upstream-only gates (G2 for A1) and a re-audit scores every row of the area Yes". C-12 does not require any area to move (C-13h: "K8s Job default until then").

---

10. Work packages

Format per 00-intent.md acceptance criterion 3. Sizes S/M/L as spec 55 §3.14 counts them. Every flow named is in §12.

WP-ACP-01: ACP schema re-pin, dual generation and drift watch

1. node packages/acp/scripts/regenerate.mjs --check reproduces both generated modules byte-identically in the contracts job, and a one-byte edit of either generated file fails it (negative fixture). 2. The decoding conformance test of §6.3 passes for both pins, including the two receiver-tolerance annotations (negative fixtures: a malformed default-on-error field decodes to its default; an invalid array item is dropped). 3. The closing note records the generator decision (upstream generator or the fabric-owned fallback) with the test output that decided it; a fallback is recorded in UPSTREAM.json as a divergence naming the failing construct. 4. No reference to session/elicitation, session/elicitation/complete or the v0.11.3 assets remains (git grep gate in the job). 5. acp-schema-drift.yml runs weekly, diffs upstream heads against the pins and opens one issue per change; FL-ACP-03 drives it with a synthetic upstream change. 6. The mock-agent protocol suite (WP-T3-03 AC3) passes on v1 and, for the v2 leg, on a v2 mock script.

  • **Objective**: Replace the v0.11.3 unstable pin with schema-v1.25.0 (baseline) and schema-v2.0.0-alpha.8 (negotiated), generate both byte-reproducibly with a decoding conformance test, decide the generator per §6.3, and watch upstream for drift (C-13d, C-13g).
  • **Affected paths**: packages/acp/schema/{v1,v2}/** (new pins; schema/v0.11.3/** deleted); packages/acp/UPSTREAM.json (generator.release pair, sha256 per asset, divergence record if the fallback generator is chosen); packages/acp/scripts/regenerate.mjs (both pins, --check); packages/acp/scripts/generator-fabric/ (only if §6.3 triggers); packages/acp/src/_generated/{v1,v2}/**; packages/acp/src/{rpc,client,agent}.ts (elicitation and session/set_model rewired to the v1.25 method names); packages/acp/package.json (v1, v2 subpath exports); new .github/workflows/acp-schema-drift.yml; .github/workflows/ci.yml contracts job.
  • **Acceptance criteria**:
  • **Test requirements**: regeneration determinism and negative fixture; decoding conformance suite over upstream examples; drift-trigger test; mock-agent suite on both versions.
  • **Dependencies**: WP-T3-03 (landed C1).
  • **Flows**: FL-ACP-02, FL-ACP-03.
  • **Size**: M · **Run**: C2

WP-ACP-02: Fabric extension registry and the ACP entity model

1. A transcript records every JSON-RPC message in both directions with {seq, direction, receivedAt, protocolVersion}; appending never rewrites earlier entries (property test). 2. The fold of a v1 transcript and of its v2 equivalent yield equal entity sets for a committed pair of mock-agent scripts (messages, tool calls with diffs, terminals, plan, usage, compaction, state). 3. packages/acp/src/model/** has zero effect imports (boundary rule with a negative fixture). 4. Each of the eleven _fabric names has a generated schema; a vanilla v1 client fixture that receives every extension ignores them without error (the agent side of FL-ACP-04). 5. member-map.json assigns each of the 67 AgentEvent members exactly one target (ACP construct, _fabric name, or dropped with its decision id) and agrees with §4's counts. 6. A ≥80% line floor on packages/acp/src/model/ from landing (spec 55 §6.3 T3 as amended).

  • **Objective**: Make ACP the internal model (C-13e): the wire-verbatim transcript store, the entity fold with v2 patch semantics and the v1 up-converter, and the generated _fabric extension schemas of §2.3, all as the plain-TS model subpath of @fabricstack/acp.
  • **Affected paths**: new packages/acp/src/model/{transcript.ts,fold.ts,upconvert-v1.ts,index.ts}; new packages/acp/extensions/fabric/*.json (the eleven names) and member-map.json (§4); packages/acp/package.json (model export); architecture rule in scripts/__tests__/effect-boundary.test.mjs (no effect import under packages/acp/src/model/**).
  • **Acceptance criteria**:
  • **Test requirements**: transcript property tests; v1/v2 fold equivalence goldens; boundary rule; extension tolerance fixture; member-map completeness test.
  • **Dependencies**: WP-ACP-01.
  • **Flows**: FL-ACP-04 (with WP-T3-18).
  • **Size**: M · **Run**: C2

WP-ACP-03: The flip — delete the AgentEvent union, normalizer, codecs and fabric event formats

*Amended 2026-10-27 (55-console-program.md §3.5, C4 re-plan, C3-18): the flip stays in C4 as track D3, last, after every other route work package (track D2) and WP-T3-23 (track D1), and behind the signed owner breakpoint c4.acp-flip that presents the AC9 entry-gate evidence (per-route v1-profile and corpus-replay status, every missing corpus entry by codec with its C-13n per-codec waiver candidate, the lanes green before the flip). WP-T3-21 stage A is no longer a predecessor: it moved to C5 and does not touch the lane wire the flip deletes. If the owner defers the flip at that breakpoint, WP-ACP-03 with the WP-T3-10 AC4/AC5 stage and FL-ACP-05 re-enter as C5's first merge by a dated amendment, and I-12 reads "from the end of C5".* *Amended 2026-10-28 (owner decision C4-1, spec 55 §3.5 decision 9): the owner deferred the flip at c4.acp-flip; WP-ACP-03, the WP-T3-10 AC4/AC5 stage and FL-ACP-05 are C5 work, and I-12 reads "from the end of C5".*

1. Entry gate: every route of §5 passes the v1 profile of WP-ACP-05, and every harness with a WP-TEST-09 AC6 corpus entry replays it through its ACP route and is equivalent under the WP-ACP-05 AC7 comparator (FL-ACP-05). A missing entry blocks this PR unless the owner signed a per-codec waiver at C3 Gate A (§0.3 conflict 2). 2. An architecture check finds zero imports of the deleted types and modules repo-wide, and zero adapters-events strings outside historical docs (FL-ACP-05). 3. The §4 completeness test passes on the PR's parent and is deleted with the union in this PR; member-map.json stays. 4. FL-RUN-01, FL-APR-01 and FL-FRC-01 are green on the ACP mock agent in this PR (they are implemented C1 flows and may not go red). 5. Every live-stack and harness-matrix.yml cell that was green on the PR's parent is green on the PR head (per-cell before/after table in the closing note). The Tier-1 Claude Code and Codex cells must be green on the PR head; once OA-01 and OA-02 are done this is a **C3 Gate A precondition** (no fixture-blocked allowance for them at the flip). 6. WP-T3-10 AC4/AC5 close here (W-02): the three Claude codecs are deleted and the remote-control parity note is in the closing note. 7. The live-stack artifact set names acp-transcript and a per-lane negotiated-version record; no workflow uploads adapters-events. 8. No converter, dual emission, re-export or deprecation alias of a deleted type exists (grep gate over the diff for AgentEvent, adapters-events, @deprecated). 9. **Owner breakpoint before merge.** The flip is irreversible (D10, no shim), so this PR merges into the run branch only after a signed owner breakpoint that presents AC1–AC8's evidence; it is never auto-approved (I-6).

  • **Objective**: At the end of C3 (C-13g), move every consumer to the ACP model and delete, in one PR, every fabric agent-event format of §3.2 step 5 (I-12, D10).
  • **Affected paths**: deletions: packages/adapters/core/src/events.ts and events-control.ts event types, packages/adapters/core/src/projection/**, scripts/lib/agent-event-producers.cjs, packages/adapters/core/src/interaction.ts, RunState in packages/adapters/core/src/state-machine.ts, all 22 packages/adapters/codecs/src/*-adapter.ts (including base-adapter.ts) with programmatic-adapter-base.ts, remote-adapter-base.ts and *-connection.ts, the adapters-events emitter and stdin reader under packages/genty/platform/src/harness/adapters/, the harness-mock codec mocks, the environment's ProviderRuntimeEvent ingestion; migrations: packages/adapters/core/src/contract/** (ACP client facade, LANE_KINDS = ['acp']), packages/genty/tui/src/plugins/*.tsx, packages/genty/tui-plugins, packages/adapters/gateway/src/runs/manager.ts (run.event.event = ACP params), apps/commander/src/contracts/adapter-events.ts, the orchestrator SDK journal binding and cost seams, scripts/live-stack/matrix.mjs and .github/workflows/live-stack-published.yml (artifact acp-transcript); the tests of FL-RUN-01, FL-APR-01 and FL-FRC-01 re-pointed onto the ACP mock agent.
  • **Acceptance criteria**:
  • **Test requirements**: the architecture check with a negative fixture; corpus replay per harness; the three re-pointed flow tests; before/after lane table from one harness-matrix.yml dispatch on the PR head.
  • **Dependencies**: WP-ACP-02, WP-ACP-04, WP-ACP-05, WP-T3-06, WP-T3-07 (admission stage), WP-T3-10 (lane stage), WP-T3-11, WP-T3-12 (admission stage), WP-T3-13, WP-T3-15, WP-T3-18, WP-TEST-09 (late-corpus stage).
  • **Flows**: FL-ACP-05; keeps FL-RUN-01, FL-APR-01, FL-FRC-01 green.
  • **Size**: L · **Run**: C3

WP-ACP-04: ACP Registry manifest admission machinery and tracked adapter forks

1. The launcher refuses an archive whose sha256 differs from its manifest, and a manifest whose version is not pinned exactly (negative fixtures). 2. Every §5 route except the in-process Claude adapter is launched from a manifest; the mirror script reproduces the committed manifests from the pinned registry commit. 3. The _fabric keys are schema-validated; an unknown key fails validation. 4. Stage 2: both forks build from source inside the workspace, pass the v1 profile of WP-ACP-05, and record upstream commit, license and divergence in UPSTREAM.json; docs/THIRD-PARTY-NOTICES.md regenerates with their notices (MIT for pi-acp, Apache-2.0 with NOTICE handling for amp-acp). 5. No new npm package is created (§14.1); the forks are internal modules of @fabricstack/harness-codecs.

  • **Objective**: Make the ACP Registry manifest fabric's agent launch descriptor (OD-12): a pinned mirror, a launcher that spawns any route from its manifest with version, archive sha256 and auth checks, _fabric manifest keys (route, tier, OS cells, v2 offer), and the two tracked forks of OD-4.
  • **Affected paths**: stage 1 (C2): new packages/adapters/codecs/src/lanes/acp/manifests/ (pinned registry manifests + fabric-authored manifests for OMP, OpenClaw, Hermes and the fabric agents), packages/adapters/codecs/src/lanes/acp/launcher.ts, scripts/acp/mirror-registry.mjs; stage 2 (C3): tracked forks packages/adapters/codecs/src/lanes/acp/adapters/pi/ and packages/adapters/codecs/src/lanes/acp/adapters/amp/, each with UPSTREAM.json, LICENSE-THIRD-PARTY and a third-party-licenses.config.json entry; e2e-tests/harness-os-support.json route field per harness.
  • **Acceptance criteria**:
  • **Test requirements**: launcher unit tests with negative fixtures; mirror reproducibility; manifest schema tests; fork conformance runs.
  • **Dependencies**: WP-T3-06, WP-ACP-01, WP-ACP-05.
  • **Flows**: FL-ACP-01 (routes it launches).
  • **Size**: M · **Run**: C2 / C3

WP-ACP-05: ACP conformance suite

1. The v1 profile drives initialize → session/new → prompt → updates → permission → elicitation → cancel → close and checks each message against the pinned schema. 2. The suite passes against the ACP mock agent on v1 and v2 and against every route's recorded transcript; the live leg runs per route in harness-matrix.yml. 3. Negotiation: offer 2 → agent answers 1 → session runs on v1; offer 2 → fabric agent answers 2; unsupported versions end in a typed error (FL-ACP-02). 4. Tolerance: an upstream reference client ignores _fabric traffic from fabric's agents, and fabric's client ignores an unknown vendor extension (FL-ACP-04). 5. A route that fails the v1 profile cannot be enabled (the launcher refuses a manifest without a passing conformance record). 6. MCP isolation: two sessions of one OpenCode process with different mcpServers never see each other's servers. 7. **Corpus parity comparator (lands in C2; used by WP-ACP-03 AC1 and FL-ACP-05).** For each WP-TEST-09 AC6 corpus scenario, the scenario's prompt and fixture workspace are run through the harness's ACP route (a recorded ACP transcript in CI, refreshed live when the route's credential exists), folded into the ACP entity model, and compared with the scenario's AgentEvent golden projected through member-map.json (§4). The equivalence relation, committed as packages/acp/conformance/corpus-equivalence.md with its implementation: (i) compared fields — message text (whitespace-normalised), tool calls by name/kind with normalised rawInput keys, tool status sequence, diff paths and operations, permission requests and their outcome, stop reason, and token counts only as present-or-absent; (ii) ordering — the per-tool-call status sequence and the message order must be equal, interleaving between independent tool calls may differ; (iii) tolerances — timestamps, ids, _meta keys, chunk boundaries and members mapped dropped are ignored; nothing else is. A negative fixture (one golden with a tool call removed, one with a changed stop reason) must report not-equivalent.

  • **Objective**: One suite that every route and every fabric agent must pass: the v1 profile (required), the v2 profile (where offered), version negotiation, _fabric tolerance in both directions, and per-session MCP isolation (OD-3). It is the admission gate for routes, the parity oracle input of the flip, and a scorecard check of WP-CP-17.
  • **Affected paths**: new packages/acp/conformance/{profile-v1.ts,profile-v2.ts,negotiation.ts,tolerance.ts,mcp-isolation.ts,run.ts}; recorded transcripts under packages/acp/conformance/fixtures/<route>/; .github/workflows/ci.yml contracts job (mock and recorded legs); .github/workflows/harness-matrix.yml (live leg per route, each cell gains a protocolVersion dimension).
  • **Acceptance criteria**:
  • **Test requirements**: the suite itself with negative fixtures (a schema-invalid update, a missing stopReason, an unanswered permission); recorded-transcript legs; live leg.
  • **Dependencies**: WP-ACP-01, WP-ACP-02, WP-T3-06.
  • **Flows**: FL-ACP-01, FL-ACP-02.
  • **Size**: M · **Run**: C2

WP-ACP-06: Outward ACP endpoint — remote transport, DPoP and multi-client observation

1. A session started over the remote transport streams the same entity sequence as over stdio (transcript equality on a mock script). 2. Every request without a valid DPoP-bound grant is rejected; a replayed grant fails (FL-ACP-09). 3. Two v2 clients on one session reconcile by messageId; a reconnecting client resumes by entity id without duplicate entities (FL-ACP-08). 4. A v1 client may observe through session/load replay; it never receives v2-only shapes. 5. The console TUI drives a run through this endpoint with no gateway frame on its path. 6. No bearer-token code path exists in the endpoint (grep gate, as WP-T3-30 AC4). 7. RFD drafts for checkpoints, step boundaries and per-turn usage are filed upstream, linked in the closing note (OD-10); the matching _fabric extensions stay until accepted.

  • **Objective**: Expose fabric's ACP agent service beyond stdio: the ACP Streamable HTTP and WebSocket transport (draft RFD, _fabric-flagged until it stabilises), authenticated by WP-T3-30 DPoP grants, with v2 multi-client observation so the console TUI and a second operator can watch one session.
  • **Affected paths**: apps/environment/src/acp/{server-http.ts,server-ws.ts,auth.ts,observers.ts}; the fabric acp entry point; packages/genty/tui (client of this endpoint); docs/runbooks/acp-endpoint.md.
  • **Acceptance criteria**:
  • **Test requirements**: transport equivalence test; DPoP negative probes; multi-client reconciliation test; console TUI e2e.
  • **Dependencies**: WP-T3-18, WP-T3-30, WP-ACP-02.
  • **Flows**: FL-ACP-08, FL-ACP-09.
  • **Size**: M · **Run**: C6 *(spec 55 C5 re-plan 2026-11-03, C5-9)*

WP-AX-01: ExecutionSubstrate port with the Kubernetes Job default and a cancel that kills

1. Every Job create, status, logs and delete call in the control plane goes through the port (architecture rule: no direct createAgentJob/deleteJob import outside execution-substrate/). 2. Cancel deletes the Job: an integration test against a fake Kubernetes API asserts deleteJob is called and the run reaches Cancelled. 3. FABRIC_EXEC_SUBSTRATE_DEFAULT (spec 15 FABRIC_* family) selects the substrate; unset means k8s-job, and an unknown value is refused at startup. 4. ax-parity.json validates against a schema; each row has an id, area, ax (Yes/Partial/No), gate and closable (extension/upstream-only/n/a). 5. Status codes (each case has its own negative probe in FL-AX-09): a missing, malformed, foreign (another run, org or attempt) or expired token gets **401** (missing or malformed) or **403** (foreign or expired) with no state change; the first valid callback resolves the run exactly once and returns 2xx. 6. On the deployed stack, cancelling a test-owned run deletes its Job and pods within the reconcile interval, and the run shows Cancelled (FL-AX-10). 7. **Single use and idempotent retry.** The token is single-use per attempt (idempotency key = token id). After the first accepted callback: a byte-identical retry (same body digest) within 300 s returns the original 2xx response with no second state change; a consumed token with a different body gets **409**; any reuse after 300 s, identical or not, gets **409**. No state changes in any of these cases. 8. **Key custody and rotation.** (a) *Custody — ships with the C1 fix-forward:* the HMAC key is a kradle Kubernetes Secret only, never a literal or an image value; a rendered-manifest test asserts the callback deployment reads it from that Secret and that no manifest or image layer carries it. (b) *Rotation — stays in WP-AX-01:* rotation is owned by WP-CP-13 (stage 1, C5); WP-AX-01 adds the test that proves a two-key overlap (tokens signed by the previous key verify until the overlap ends, new tokens use the new key). 9. **Delivery.** The token reaches the agent through a per-Job Secret mounted as a read-only volume and deleted with the Job, never through Job env (a rendered-Job test asserts no env var carries it). 10. **Jobs in flight at deploy.** Jobs started before the deploy carry no token: they get a grace window equal to their activeDeadlineSeconds during which an unauthenticated callback is accepted only for runs created before the deploy timestamp and logged as legacy-callback; after the window a forced reconcile marks them Failed with reason callback-auth-cutover. The window closes no later than 24 h after the deploy. 11. **Terminal runs.** A callback for a run already Cancelled, Completed or Failed gets 409 with no state change (callback/route.js:55-63 has no such guard today); FL-AX-09 carries the negative probe. 12. The C1 fix-forward PR closes a5c-ai/fabric#38; WP-AX-01's closing PR closes a5c-ai/fabric#39.

  • **Objective**: Introduce the ExecutionSubstrate port (§7.2) with its k8s-job implementation as the only one, fix kradle cancel so it deletes the Job, record the ADR and commit the parity matrix as data for the re-audits (C-13h, I-14). Gap register G-01/G-02 (§17) adds two security and correctness fixes that the AX work depends on and that cannot wait for C5: the agent-run callback gains authentication, and cancel terminates the workload.
  • **Affected paths**: new packages/kradle/core/src/execution-substrate/{port.js,k8s-job.js,index.js}; packages/kradle/core/src/adapters-client.js (callers move to the port); packages/kradle/core/src/agent-dispatch-controller.js; packages/kradle/web/app/api/orgs/[org]/agents/runs/[name]/cancel/route.js (calls delete); new docs/adr/execution-substrate.md; new docs/specs/platform-gaps/roadmap/ax-parity.json (the 39 rows of AXS: §3 with status, gate and evidence).; packages/kradle/web/app/api/orgs/[org]/agents/runs/[name]/callback/route.js (authentication: a per-dispatch one-time callback token, HMAC-bound to org, run and attempt, issued at dispatch and verified here; the route is "intentionally unauthenticated" today, :6); packages/kradle/core/src/agent-run-status-reconciler.js (a Cancelled run whose Job still exists is deleted on the next reconcile)
  • **Acceptance criteria** (C-13l: AC5, AC7, AC8a and AC9–AC11 ship first as the C1 fix-forward of a5c-ai/fabric#38 from a separate branch; WP-AX-01 re-verifies them on the C2 head through FL-AX-09 and the rendered-manifest test, and keeps AC8b, which the fix-forward does not cover):
  • **Test requirements**: port unit tests; cancel integration test; architecture rule with a negative fixture; parity-file schema test; callback negative-probe suite; the deployed cancel flow.
  • **Dependencies**: none; WP-CP-10 creates the deployed job of FL-AX-10 in the same run.
  • **Flows**: FL-AX-09, FL-AX-10 (both C2; FL-AX-10 runs on deployed_stack_e2e, which WP-CP-10 creates first in C2); FL-AX-06 asserts the AX side of cancel.
  • **Size**: M · **Run**: C2

WP-AX-02: AX backend in the task adapter and the journal execution link

1. Dispatch creates the deterministic task and resumes it (new tasks start Suspended); a duplicate create adopts the existing task. 2. EFFECT_REQUESTED carries the predicted reference and EFFECT_RESOLVED the actual reference and outcome, as §8.2; both are inside FN-01's checksum and outside the invocation key (golden vectors with and without them). 3. Replay of a finished AX-hosted run with the fake server stopped yields a byte-identical effect index (FL-AX-07). 4. A breakpoint routed to an AX-hosted responder is answered; cancelBreakpoint mid-flight deletes the task (FL-AX-08). 5. No AX phase transition is written to the journal (golden journal has no EFFECT_PROGRESS from AX). 6. The generated client is pinned to the vendored proto's sha256; regeneration is byte-identical in CI. 7. **Fake fidelity (contract leg, FL-AX-11).** One contract suite runs against the fake AX server and against the real ax-server image pinned by digest (the same release ax.proto is vendored from), started with its Redis in an ephemeral, CI-only environment inside the CI job (docker or kind on the runner, torn down with the job; never a shared or staging cluster; no sandbox runs an agent and no credential is present). The suite covers at least: a new task starts Suspended; a duplicate CreateTask returns FailedPrecondition; WatchTask is transient (a reconnecting watcher gets no replay of earlier transitions); a Redis flush loses every task (GetTask → NotFound). Both targets must pass; a behaviour on which they differ fails the suite unless it is a listed divergence. 8. **Known divergences of the fake**, committed beside it and asserted by the suite as divergences: the fake has no Agent Substrate (no real sandbox, no gVisor, no snapshot bucket), so Running is simulated and suspend/resume restore no files; it applies no resources (G2) and no node selection (G4b), exactly as AX; it does not reproduce the suspend/resume defects ax#441, ax#452, ax#453 or the workspace defects (workspaces are refused anyway, WP-AX-04 AC6); its lock TTL and timing are deterministic. A new divergence is added to the list, never silently tolerated.

  • **Objective**: Integrate AX into the task adapter (C-13a): AxHarnessClient and the ax backend factory, the ax implementation of the port, the deterministic execution reference, and the journal fields of §8 written through commitEffectResult, proven against a fake AX server.
  • **Affected paths**: new packages/adapters/tasks/src/backends/ax/{client.ts,execution-ref.ts,grpc/} (TypeScript client generated from vendored ax.proto at packages/adapters/tasks/vendor/ax/ax.proto with UPSTREAM.json and Apache-2.0 notice); packages/adapters/tasks/src/backends/index.ts (registerBackendFactory("ax", …)); packages/adapters/tasks/src/backends/adapters.ts (cancelBreakpoint also aborts an in-flight run); packages/babysitter-sdk/src/harness/hooks/externalAgentEffect.ts (substrate routing); packages/babysitter-sdk/src/runtime/commitEffectResult.ts (execution/executionOutcome pass-through); new packages/kradle/core/src/execution-substrate/ax.js; a fake AX gRPC server under packages/adapters/tasks/test/fake-ax/.
  • **Acceptance criteria**:
  • **Test requirements**: fake-AX integration suite; journal golden vectors; replay-without-AX test; breakpoint/cancel e2e; proto regeneration check; the contract suite against the fake and the pinned real image (FL-AX-11).
  • **Dependencies**: WP-AX-01, WP-FN-01.
  • **Flows**: FL-AX-07, FL-AX-08, FL-AX-11.
  • **Size**: M · **Run**: C3

WP-AX-03: Fabric runner image and authenticated execution callback

1. The image passes every item of the AX runner checklist (contract test against the fake AX sandbox endpoints) and runs kradle-agent-entrypoint.mjs unchanged on both substrates. 2. The runner reports completion through the callback authenticated by WP-AX-01 (G1); an AX-hosted run's callback carries the execution reference, and one from a superseded attempt is rejected. 3. The sandbox environment holds only a one-time bootstrap token; a canary secret is absent from the task spec and from the runner's environment after exchange (G3). 4. Runner stdout/stderr and the watch stream are captured under the execution reference and linked from the journal; replay never reads them (G6). 5. The image is pinned by digest and does not reference the AX default runner image or any Gemini bootstrap (G5).

  • **Objective**: Close gates G1, G3, G5 and G6 by extension (§9): one TypeScript runner image that implements the AX runner contract and serves both substrates, an authenticated completion callback, a secret-free sandbox environment through token exchange, and log capture keyed by the execution reference.
  • **Affected paths**: new packages/adapters/cli/runner/{index.mjs,contract.mjs,token-exchange.mjs,log-stream.mjs} and packages/adapters/cli/runner/Dockerfile; packages/kradle/web/app/api/orgs/[org]/agents/runs/[name]/callback/route.js (the execution reference in the WP-AX-01 authenticated callback); packages/kradle/core/src/agent-session-transcript-controller.js (capture under executionRef); .github/workflows/publish.yml (build and push the runner image by digest).
  • **Acceptance criteria**:
  • **Test requirements**: runner contract tests; callback negative probes; canary-secret test; capture test.
  • **Dependencies**: WP-AX-02.
  • **Flows**: FL-AX-01, FL-AX-06 (with WP-AX-04).
  • **Size**: M · **Run**: C6 *(spec 55 C5 re-plan 2026-11-03, C5-9)*

WP-AX-04: Staging AX substrate, network isolation and per-org opt-in

1. Against the fake AX server, a scratch org with the opt-in flag runs an agent effect on AX end to end and every other org runs on k8s-job (FL-AX-01). 2. Org B cannot list or act on org A's AX-hosted runs through kradle (403 + audit) (FL-AX-04); the rendered NetworkPolicy admits ax-server ingress only from the kradle controllers' service account and denies sandbox-to-sandbox traffic across orgs (chart render test). 3. Cancel of an AX-hosted run deletes the task and records teardown: "deleted" (FL-AX-06). 4. The opt-in flag is refused for any org that is not test-owned (W-11 scope), and for every org after the C10 re-audit if W-11 is not renewed there (negative tests); W-11 expires at the C10 re-audit unless renewed (owner-confirmed 2026-10-13, C-13p). 5. Substrate is an external prerequisite (Q11): a chart render with executionSubstrate.ax.enabled=false contains no AX object. 6. **No AX workspace preparation (G7, ax#363/ax#347/ax#427/ax#440).** The TaskSpec builder never sets workspaces, a goal, Workspace.spec.git, files, mcp or skills; the fabric runner materialises the workspace itself, as the Job path does. A negative test asserts that the builder refuses (typed error, no CreateTask) a TaskSpec that carries any workspace preparation. 7. Stacks that need a service-account binding, a node pool or a multi-container pod (parity rows 23–25, G4b) are refused for AX and stay on k8s-job (negative test). 8. **Live install and live legs (W-11 granted, C-13k).** AX is installed on the staging cluster on a dedicated gVisor node pool (OA-18), reachable only from the kradle controllers; the live legs of FL-AX-01, FL-AX-04 and FL-AX-06 pass on deployed_stack_e2e (staging-scratch), including an **in-sandbox network probe** that cannot reach ax-server or another org's sandbox (G4 live proof); the runbook records the node pool, image digests, the U2/U5 resolution and rollback (flag off).

  • **Objective**: Build the opt-in machinery for AX as an execution substrate: the chart's optional values block (disabled), ax-server reachable only from the kradle controllers with per-org egress (G4), an opt-in flag that only test-owned scratch orgs may set, and a workspace path that never uses AX's own workspace preparation (G7). W-11 is granted (C-13k), so C5 also installs AX on staging for test-owned scratch orgs and runs the live legs; Kubernetes Job stays the default and no area moves (C-13b).
  • **Affected paths**: packages/kradle/charts/values.yaml (executionSubstrate.ax, disabled by default); new packages/kradle/charts/templates/ax-networkpolicy.yaml; packages/kradle/core/src/execution-substrate/ax.js (opt-in check, TaskSpec builder); docs/runbooks/ax-substrate.md; third-party-licenses.config.json (pinned AX images by digest).
  • **Acceptance criteria** (C5):
  • **Test requirements**: the fake-AX legs in ci.yml:test; the live legs on deployed_stack_e2e (staging-scratch); chart render tests; opt-in, workspace-preparation and stack refusal tests.
  • **Dependencies**: WP-AX-03, WP-CP-10, WP-CP-04.
  • **Flows**: FL-AX-01, FL-AX-04, FL-AX-06.
  • **Size**: M · **Run**: C6 *(spec 55 C5 re-plan 2026-11-03, C5-9)*

WP-AX-05: AX divergence and recovery suite

1. Killing the control plane mid-run, then restarting, reattaches by reference and resolves the effect once; killing ax-server mid-CreateTask re-creates idempotently; a crash after attempt 2 was recorded but before its CreateTask returned recovers to attempt 2 (not 1, not 3) and deletes the attempt-1 task (FL-AX-02, fake AX with fault injection). 2. Flushing AX state mid-run dispatches attempt 2; the late attempt-1 callback is rejected as a stale incarnation, journaled, and its task deleted (FL-AX-03). 3. A revert on a write-back-capable stack fails the attempt; on a read-only stack the outcome carries reverted: true. 4. WP-FN-05's "zero survivors" sweep covers AX-hosted effects through the substrate-kill adapter. 5. **Authoritative attempt store.** AgentDispatchRun.status.attempt (with status.executionRef) is written and persisted **before** CreateTask is called; it is the only source recovery trusts. Recovery reads it, calls GetTask on that reference, dispatches a new attempt only if the task is absent, and deletes any AX task whose name carries a lower attempt suffix for the same run and effect (orphans).

  • **Objective**: Prove §8.3 under faults: control-plane and ax-server kills, Redis loss, late callbacks and reverts, joined to WP-FN-05's process registry and WP-FN-07's incarnation guard.
  • **Affected paths**: packages/adapters/tasks/test/fake-ax/ (fault injection); e2e-tests/deployed/flows/ax-recovery.mjs; packages/kradle/core/src/execution-substrate/ax.js (reattach); WP-FN-05's process registry (substrate-kill adapter).
  • **Acceptance criteria**:
  • **Test requirements**: fault-injection integration suite; the live recovery flow in a scratch release.
  • **Dependencies**: WP-AX-04, WP-FN-05, WP-FN-07.
  • **Flows**: FL-AX-02, FL-AX-03.
  • **Size**: M · **Run**: C6

WP-AX-06: AX parity re-audits and per-area move decisions

1. Each re-audit pins the AX release it scored. Rows are scored from that release's evidence (code, changelog, issues) plus the WP-AX-02 AC7 contract leg run against it, and FL-AX-01…08 are re-run against the fake and the contract leg. Live re-runs happen only under W-11, and no row may score Yes without live evidence, so without W-11 no row scores Yes and no area can move. Without W-11, the rows the spike scored Yes from code evidence (rows 11, 12, 21 and 37) are recorded as "Yes (code evidence, unproven live)" and do not count toward movability. With W-11 granted (C-13k), rows may score Yes on live evidence from the scratch-org legs (owner-confirmed 2026-10-13, C-13p); W-11 expires at the C10 re-audit unless renewed (owner-confirmed 2026-10-13, C-13p), and AC6 gives the non-renewal path. 2. An area is declared movable only if every row it touches is Yes with evidence; a row closed by an upstream change cites the AX release and issue; no row is closed by a fabric upstream contribution or fork (C-13i). 3. A movable area flips per org behind an owner breakpoint (I-6), never by default for all orgs at once; Kubernetes Job remains selectable. 4. If no area qualifies at C12, the C12 record says so, DF-08 stays open with its re-entry condition, and the opt-in stays limited to test-owned orgs. 5. The C10 re-audit evaluates per-environment mode (Q5) and records go or no-go. 6. **W-11 non-renewal path.** At the C10 re-audit the owner renews W-11 or not: W-11 expires at the C10 re-audit unless renewed (owner-confirmed 2026-10-13, C-13p). If it is not renewed, a dated amendment retires the live job binding of FL-AX-01, FL-AX-02, FL-AX-04, FL-AX-05 and FL-AX-06: the publish.yml:deployed_stack_e2e entry is removed from each flow, the binding is recorded as retiredBy the owner-signed C10 gate record, and each flow returns to its fake-AX layer on ci.yml:test (C5/C6/C5/C8/C5 due runs unchanged). The flows themselves are not retired: their fake-AX legs stay due and green-able, FL-AX-11 keeps running against the then-current AX release, and the T6 denominator stays 143. No AX execution runs on a cluster after the amendment. *Note (documentation only; no checker change):* the C10 non-renewal amendment edits spec 55 §6.2 (the five flow rows), spec 55 §6.1 (the envScope table) and e2e-tests/flows/catalogue.json together, in one change: each flow's layer moves from live to the e2e or integration layer of its ci.yml:test fake-AX leg, and its envScope (staging-scratch) is dropped, since only flows on a publish.yml post-deploy job carry one; the amendment note keeps the record (the retired publish.yml:deployed_stack_e2e binding, the dropped envScope and the owner-signed C10 gate record it is retiredBy).

  • **Objective**: Re-score the parity matrix against the then-current AX release at C10 and C12 (C-13h), decide per area (§7.3) whether every row is Yes with evidence, flip the default only for such an area, and otherwise record DF-08.
  • **Affected paths**: docs/specs/platform-gaps/roadmap/ax-parity.json (re-scored); new docs/specs/platform-gaps/roadmap/ax-reaudit-c10.md and ax-reaudit-c12.md; FABRIC_EXEC_SUBSTRATE_DEFAULT per area only if an area qualifies.
  • **Acceptance criteria**:
  • **Test requirements**: the re-run flows; a checker that refuses a "movable" area with any non-Yes row (negative fixture).
  • **Dependencies**: WP-AX-05, WP-FN-14.
  • **Flows**: re-runs FL-AX-01…08 and FL-AX-11.
  • **Size**: S · **Run**: C10 / C12

---

11. Deleted and changed work packages

Spec 10, 20 and 30 carry dated amendment notes pointing here; the binding text of each change is this section.

11.1 Withdrawn or superseded

WPDispositionRe-entry
WP-T3-04 codex-protocol fork**Withdrawn** (OD-2): Codex is admitted through codex-acp. Recorded as DF-07; the index status is deferred.Codex fails the v1 profile or its corpus parity through codex-acp, and no pinned upstream fix exists → WP-T3-04 re-enters by amendment as Codex's route-(c) adapter
WP-T3-14 AgentEvent projection**Superseded.** Landed in C1 (PR #30) and stays done; its code is deleted by WP-ACP-03. Spec 30's Q-09 anchor moves to WP-ACP-02/03.—
WP-TEST-02 mock harness (codec mocks)Landed in C1; the codec mocks are deleted at the flip and the ACP mock agent replaces them (WP-ACP-03).—

11.2 Changed — spec 10

WPChangeRun (old → new)
WP-T3-03Landed; AC2 (regeneration) is re-proven against the new pins by WP-ACP-01. No status change.C1
WP-T3-05Landed; its contract becomes an ACP client facade (LANE_KINDS = ['acp'], capabilities from initialize + _fabric keys), executed in WP-ACP-03.C1
WP-T3-06Re-scoped: the single ACP client lane runtime with version negotiation, the registry launcher (WP-ACP-04) and client-hosted fs/*/terminal/* for v1 agents. New dependencies WP-ACP-01, WP-ACP-02.C2
WP-T3-07 CursorShrinks to manifest + extension. Staged: admission (manifest, extension, recorded-transcript conformance) C3; live-stack green C7a.C7a → C3 / C7a
WP-T3-08 GrokManifest + extension, ACP route; no codec exists, so no C3 stage.C7a
WP-T3-09 AntigravityInstaller reads the registry manifest; no codec exists, so no C3 stage.C7a
WP-T3-10 ClaudeRe-scoped by C-13f: the fabric-written in-process ACP adapter (§5 row 1) instead of a bespoke SDK lane; new dependency WP-ACP-05; new AC8 provenance check (winnowing similarity against the pinned upstream adapter with a negative fixture, §5). AC4/AC5 now close in WP-ACP-03 (W-02 re-entry C3).C2 / C7b → C2 / C3
WP-T3-11 Codexcodex-acp route; async-question traps re-verified against the adapter; the codex-protocol dependency is dropped.C7a → C3
WP-T3-12 OpenCodeopencode acp route with per-session mcpServers (OD-3). Staged: admission C3; live-stack green C7a.C7a → C3 / C7a
WP-T3-13From "port 12 codecs behind the contract" to "admit Gemini, Copilot, Pi, OMP, OpenClaw, Hermes, Droid, Amp, Qwen and remote nesting through ACP routes; the disposition fixture records every codec as deleted at the flip". New dependency WP-ACP-04 (forks).C7b → C3
WP-T3-15Hooks emit ACP session/update + _fabric/hook; a5c.hooks.v1 becomes private ingest types (OD-13).C7a → C3
WP-T3-16Per-route journal e2e asserts the acp effect block and transcript digest. New AC (stage 1, C2): the ACP lane runtime (WP-T3-06) writes data.acp (sessionId, protocolVersion, agent, transcriptRef, transcriptSha256) through commitEffectResult when the session closes; the suite checks it against FN-01 AC6's golden vectors for the mock and Claude routes, and a transcript whose sha256 differs from transcriptSha256 fails. Re-staged: s1 C2 (mock + Claude), routes C3 (every route at the flip), s2 C6 (signed re-freeze over every route); closes C6.C2 / C6 / C7a / C7b → C2 / C3 / C6
WP-T3-17The gate sits on session/request_permission (v1 toolCall, v2 subject).C2
WP-T3-18Widened and pulled forward: agent runtime **and** orchestrator as ACP agents (needed by the flip). The outward remote endpoint is WP-ACP-06 (C5).C7a → C3
WP-T3-19The environment ingests ACP (OD-7); ProviderRuntimeEvent ingestion removed at the flip; new dependency WP-ACP-02.C2
WP-T3-21The run.event row maps to ACP transcript streams.C3 / C5
WP-T3-23Six non-tool actions map to _fabric/<action> subjects (v2) and _fabric/approval/request (v1).C3
WP-T3-24, WP-T3-25Thread views render ACP entities; diffs from Diff.changes/git_patch.C3, C4
WP-T3-27Unchanged scope; the console UI consumes ACP payloads.C4 / C5
WP-T3-33Installers and updaters read ACP Registry manifests (distribution + sha256).C7a

11.3 Changed — spec 20

WPChange
WP-FN-01New AC6: EFFECT_REQUESTED/EFFECT_RESOLVED/EFFECT_CANCELLED accept the optional execution, executionOutcome and acp objects of §8.2, covered by canonical checksums and excluded from invocation keys; golden vectors with and without them. Size unchanged.
WP-FN-05The process registry gains a substrate-kill adapter (DeleteTask), so AX-hosted effects are inside AC1's "zero survivors" sweep (WP-AX-05 AC4).
WP-FN-07AC4's run-incarnation token is executionRef for AX-hosted effects.
WP-FN-11Preemption uses session/cancel + _fabric/run_state.
WP-FN-14Pause/resume/fork/rewind via _fabric/run_state and session/fork (unstable) with capability fallback. New AC: an AX-hosted run's pause uses the FN-14 snapshot path unless ax-parity.json row 12 is Yes for the pinned AX release; after an AX resume the lane reloads the ACP session or falls back to the snapshot (FL-AX-05).
WP-FN-18AC1 artifact names: adapters-events → acp-transcript, plus a per-lane negotiated-version record; Tier-2 lanes are ACP routes.
WP-FN-19AC1's "deltas visible on the projection" reads "agent_message_chunk from the agent runtime's ACP agent".
WP-FN-20Identity, registration and CLI-path literal categories derive from ACP Registry manifests; the High-category count drops with the codec deletions.

11.4 Changed — spec 30

WPChange
WP-TEST-03Every matrix cell gains a protocolVersion dimension (v1 required, v2 where offered); Tier-2 lanes run the same ACP runtime.
WP-TEST-07The mock agent becomes a dual-version transcript player (v1 and v2 scripts).
WP-TEST-09Leg (a) goldens become ACP transcript → entity-model goldens at the flip. AC6's corpus is the parity oracle of WP-ACP-03; its late-corpus stage moves from C7a to C3 (before WP-ACP-03 merges, §0.3 conflict 2).
Q-09 anchorMoves from WP-T3-14 to WP-ACP-02/03.

11.5 Changed — spec 55 program work packages

WPChange
WP-CP-02The checker accepts the WP-ACP and WP-AX families and the 143-flow catalogue (this amendment's tooling change).
WP-CP-09The completion audit adds "zero fabric agent-event formats outside _fabric extensions" (I-12) and the AX re-audit record (WP-AX-06).
WP-CP-10deployed_stack_e2e gains the AX live legs of FL-AX-01/02/04/05/06 under W-11 (granted, C-13k; staging-scratch), from C5.
WP-CP-12Backup and restore declare AX state disposable; the restore drill proves runs recover from kradle plus the journal with AX state wiped.
WP-CP-17Runtime scorecards include the route's conformance profile (WP-ACP-05).
WP-RM-01/03Index and matrix grow to 135 work packages (with the §17 gap register), D23 and C-13 (spec 50 amendment 2026-10-13).

---

12. E2E flows

12.1 New flows

Each flow is "due" no earlier than its implementing run. The rows are mirrored verbatim into spec 55 §6.2, which is the catalogue's binding source (scripts/lib/flow-catalogue.cjs parses it), and registered in e2e-tests/flows/catalogue.json. envScope applies only to flows on a publish.yml post-deploy job; "—" means the flow is not deploy-gated.

IDStepsImplementing WP(s)RunLayerCI jobenvScope
FL-ACP-01conformance suite: initialize → session/new → prompt → updates → permission → elicitation → cancel → close against each admitted route (mock agent, recorded transcripts); the v1 profile must passWP-ACP-05, WP-ACP-04, WP-T3-06C2e2eci.yml:contracts—
FL-ACP-02version negotiation: client offers 2 → agent answers 1 → session runs on v1; client offers 2 → fabric agent answers 2; an unsupported version ends in a typed errorWP-ACP-05, WP-ACP-01C2e2eci.yml:contracts—
FL-ACP-03schema pin determinism: v1 and v2 regenerate byte-identically; the decoding conformance test passes; the drift job opens an issue on a synthetic upstream changeWP-ACP-01C2integrationci.yml:contracts—
FL-ACP-10Claude route: the fabric-written in-process adapter passes the v1 profile on a recorded SDK transcript; CanUseTool ↔ session/request_permission resolves through the trust gate; the history worker runs out of process; the provenance check finds no upstream adapter codeWP-T3-10, WP-ACP-05C2e2eci.yml:contracts—
FL-ACP-04_fabric tolerance: an upstream reference client drives fabric's agent and ignores _fabric traffic without error; fabric's client ignores an unknown vendor extensionWP-ACP-02, WP-T3-18C3e2eci.yml:contracts—
FL-ACP-05the flip gate: an architecture check finds zero imports of the deleted event types and modules; every route replays its WP-TEST-09 AC6 corpus through ACP and each scenario is equivalent to its AgentEvent golden projected through member-map.json under the WP-ACP-05 AC7 comparator (documented fields, ordering and tolerances; a negative fixture must report not-equivalent)WP-ACP-03, WP-TEST-09C5integrationci.yml:contracts—
FL-ACP-06fabric as ACP agent: an external ACP client starts an orchestrator run session, receives streamed updates, answers a permission through the trust gate, and the run is journaled with the acp effect blockWP-T3-18, WP-T3-17C3e2eci.yml:test—
FL-ACP-07observe lane: a user-launched harness session → hook adapter → ACP session/update + _fabric/hook → the same entity model consumers see a drive-lane sessionWP-T3-15C3integrationci.yml:test—
FL-ACP-08multi-client observation (v2): two clients on one session reconcile by messageId; a reconnect resumes by entity id with no duplicatesWP-ACP-06C5e2eci.yml:contracts—
FL-ACP-09remote ACP transport (Streamable HTTP and WebSocket) under DPoP grants; a request without a grant and a replayed grant both failWP-ACP-06, WP-T3-30C5e2eci.yml:contracts—
FL-AX-07replay never reads AX: replay of a finished AX-hosted run with the fake AX server stopped yields a byte-identical effect indexWP-AX-02C3integrationci.yml:test—
FL-AX-08task adapter: a breakpoint routed to an AX-hosted agent responder is answered; cancelBreakpoint mid-flight deletes the task; the journal carries the predicted and actual referencesWP-AX-02C3e2eci.yml:test—
FL-AX-11fake-fidelity contract leg: one contract suite runs against the fake AX server and against a pinned real ax-server image (by digest) started inside the CI job (ephemeral docker/kind, no shared cluster, no agent workload); both must show tasks start Suspended, a duplicate CreateTask returns FailedPrecondition, WatchTask is transient (no replay after reconnect), and a Redis flush loses tasks; any other difference must be a listed divergenceWP-AX-02C3integrationci.yml:test—
FL-AX-01a run on AX end to end in a test-owned scratch org, live on staging under W-11 (C-13k) with its fake-AX leg kept in ci.yml:test: dispatch → deterministic task created and resumed → the fabric runner executes the ACP mock route → authenticated callback → EFFECT_RESOLVED carries the reference and outcome → the journal validates and replays; every other org runs on k8s-jobWP-AX-04, WP-AX-03, WP-CP-10 (job)C5livepublish.yml:deployed_stack_e2e, ci.yml:test (fake-AX leg)staging-scratch
FL-AX-04multi-tenant isolation, live under W-11 with a fake-AX leg: org B cannot list or act on org A's AX-hosted runs through kradle (403 + audit); an in-sandbox network probe cannot reach ax-server or another org's sandbox (G4); the opt-in flag is refused for a non-test-owned orgWP-AX-04, WP-CP-10 (job)C5livepublish.yml:deployed_stack_e2e, ci.yml:test (fake-AX leg)staging-scratch
FL-AX-06cancel kills, live under W-11 with a fake-AX leg: cancelling a run with a live AX task deletes the task, leaves zero actors, and EFFECT_CANCELLED carries teardown: deletedWP-AX-04, WP-AX-01, WP-CP-10 (job)C5livepublish.yml:deployed_stack_e2e, ci.yml:test (fake-AX leg)staging-scratch
FL-AX-02recovery, live under W-11 in a scratch control-plane release with a fake-AX fault-injection leg: kill the control plane mid-run → restart → reattach by the stored reference → one resolution; kill ax-server mid-CreateTask → idempotent re-create adopts the task; crash after attempt 2 is recorded but before its CreateTask returns → recovery resumes attempt 2 and deletes the attempt-1 orphanWP-AX-05, WP-CP-10 (job)C6livepublish.yml:deployed_stack_e2e, ci.yml:test (fake-AX leg)staging-scratch
FL-AX-03divergence: AX state flushed mid-run → attempt 2 dispatched → the late attempt-1 callback is rejected as a stale incarnation and journaled, and its task deleted (fake AX with fault injection)WP-AX-05C6integrationci.yml:test—
FL-AX-05pause/resume of an AX-hosted run, live under W-11 with a fake-AX leg: pause takes the FN-14 snapshot path (AX suspend only if parity row 12 is Yes) → resume → the ACP session reloads or falls back to the snapshot → the run completes; the journal holds no AX-detail eventsWP-FN-14, WP-AX-04, WP-CP-10 (job)C8livepublish.yml:deployed_stack_e2e, ci.yml:test (fake-AX leg)staging-scratch
FL-AX-09agent-run callback authentication, one negative probe per case: missing or malformed token → 401; foreign (other run, org or attempt) or expired token → 403; consumed token with a different body → 409; byte-identical retry within 300 s → the original 2xx; any reuse after 300 s → 409; a callback for a run already Cancelled, Completed or Failed → 409; none of these changes state; a valid callback resolves the run exactly onceWP-AX-01C2integrationci.yml:test—
FL-AX-10cancel terminates the workload: cancelling a test-owned run on the deployed stack deletes its Kubernetes Job and pods within the reconcile interval and the run shows CancelledWP-AX-01, WP-CP-10 (job)C2livepublish.yml:deployed_stack_e2estaging
FL-CAT-01catalog graph vocabulary: the library bridge validator runs --strict in the catalog build with 0 missing ids and 0 dangling edges; a library file with a fabricated @graph id fails itWP-CP-24C2integrationci.yml:test—
FL-REL-08channel-tag repair: fix-broken-latest-tags.mjs --set latest=… and --set staging=… write through the Artifact Registry tags API (fake API), the dry run writes nothing, and no code path calls npm dist-tagWP-CP-25C2integrationci.yml:release-tooling—
FL-OBS-03observer 503 handling: a route answers 503 with Retry-After; the polling client waits the stated delay (seconds or HTTP date, clamped at 60 s) and keeps the generic backoff without the headerWP-CP-26C2integrationci.yml:observer-dashboard—

Every job these flows name exists today (ci.yml contracts and test) except publish.yml deployed_stack_e2e, which WP-CP-10 creates in C2 ("(job)", spec 55 §6.1), before any AX flow is due.

12.2 Existing flows whose assertions change

The flow ids, runs, layers and jobs are unchanged; the named WP changes what the test asserts.

FlowRunChangeExecuted by
FL-RUN-01, FL-APR-01, FL-FRC-01C1the deterministic driver becomes the ACP mock agent; FL-FRC-01's crash surfaces as transport-closed → _fabric/run_state crashedWP-ACP-03
FL-RUN-02C2asserts the ACP transcript and the acp effect blockWP-T3-16 s1
FL-MTX-05C2runs per negotiated version (v1 required, v2 mock leg)WP-T3-06
FL-APR-02, FL-APR-03, FL-APR-04C2, C3permission over session/request_permission; non-tool actions as _fabric/<action> subjectsWP-T3-17, WP-T3-23
FL-SES-01C4steering = queued prompt (v1) or inserted prompt with messageId (v2 leg)WP-T3-25
FL-RUN-04, FL-CON-02C4diffs from ACP Diff / git_patchWP-T3-25
FL-SES-06C7amodel switch via session/set_config_optionWP-TEST-03
FL-MTX-02, FL-MTX-03C7bmatrix lanes are ACP routes; each cell records its negotiated versionWP-TEST-03
FL-HAR-03C7bscorecards include the conformance profileWP-CP-17
FL-SES-03C8session/fork (unstable) with the _fabric/session/fork fallbackWP-FN-14

12.3 Coverage

The catalogue grows from 119 to 143 flows (19 standards-alignment flows, including the FL-AX-11 contract leg, and 5 gap-register flows, §17). The cumulative due counts per run become C1 11, C2 30, C3 44, C4 55, C5 72, C6 86, C7a 87, C7b 95, C8 112, C9a 121, C9b 128, C9c 133, C10 138, C11 140, C12 143 (spec 55 §6.3 T2, regenerated in roadmap/flow-coverage.md). No new flow is due in C1, so the C1 gate is unchanged.

---

13. C-series schedule impact

*Amended 2026-10-27 (C3-18): the schedule below is superseded by the slices of 55-console-program.md §3.5–§3.10. In C4: WP-ACP-04 stage 2, WP-T3-07/12 admission, WP-T3-11, WP-T3-13, WP-T3-15, WP-T3-18, the WP-TEST-09 late corpus and the WP-T3-16 routes stage (track D2), then WP-ACP-03 (track D3). In C5: WP-ACP-06, WP-AX-02 → WP-AX-03 → WP-AX-04. In C6: WP-AX-05. WP-AX-06 re-audits in C7 (reaudit-1, where W-11 expires unless renewed) and C8 (reaudit-2).*

Spec 55 §3 carries the binding run contents; this is the summary.

RunAddsRemovesLoad (units, spec 55 §3.14 rule)
C2WP-ACP-01 → WP-ACP-02 (protocol track, before WP-T3-19), WP-ACP-05, WP-ACP-04 stage 1, WP-AX-01 (parallel, with the callback and cancel fixes of §17); WP-T3-10 on the fabric-written adapter; gap register WP-CP-23…26—≈ 15 → ≈ 22.5
C3Track B "ACP flip": WP-T3-07 and WP-T3-12 admission stages, WP-T3-11, WP-T3-13, WP-T3-15, WP-T3-18, WP-ACP-04 stage 2, WP-T3-16 routes stage, WP-TEST-09 late corpus, WP-T3-10 AC4/AC5 → WP-ACP-03 last; Track C: WP-AX-02—≈ 10 → **26** (recomputed from roadmap/index.json with S = 0.5, M = 1, L = 2, a staged WP at M per stage), over three tracks (the C1 precedent). Serial critical chain of Track B: WP-ACP-04 forks (1) → WP-T3-11 (2) → WP-T3-13 (2) → WP-ACP-03 (2), with the WP-TEST-09 late-corpus stage (1) also gating WP-ACP-03, about 7 units in merge order. Pre-declared contingency: if Track B slips, the non-flip L items WP-T3-20, WP-T3-23, WP-T3-24, the WP-T3-30 main stage and WP-CP-04 stage 1 move to C4 by an owner-signed amendment so the flip still ends C3; whether to split C3 into C3a/C3b instead is an owner question (§16.2). WP-ACP-03 merges only after a signed owner breakpoint (its AC9).
C5WP-ACP-06, WP-AX-03 → WP-AX-04; WP-CP-27 (§17)—≈ 10.5 → ≈ 14
C6WP-AX-05 (after WP-FN-05/07)WP-T3-16 closes here instead of C7b≈ 14 → 16 (recomputed from roadmap/index.json)
C7a—WP-T3-04 (DF-07), WP-T3-11, WP-T3-15, WP-T3-18, WP-T3-16 stage 3; WP-T3-07/12 keep their live stage≈ 14 → ≈ 7
C7b—WP-T3-13; WP-T3-10 AC4/AC5≈ 8.5 → ≈ 6.5
C10, C12WP-AX-06 stages—+1 each

The work-package index grows from 118 to 135 (WP-ACP-01…06, WP-AX-01…06, and the gap-register WP-CP-23…27 of §17). Every one of the 135 is scheduled, landed, or deferred with a re-entry condition (WP-T3-04 → DF-07), so C-12's completeness clause holds.

---

14. Naming, attribution and customer-facing copy

14.1 Names (spec 15)

No new npm package, binary or directory family is created, so no spec 15 §3 row is needed and the no-double-rename gate is unaffected. Everything lands inside existing spec 15 units:

  • the model, extensions and conformance suite in @fabricstack/acp;
  • the lane runtime, launcher, manifests, the fabric-written Claude adapter and the two tracked adapter forks in @fabricstack/harness-codecs;
  • the AX backend in @fabricstack/harness-tasks; the port in @fabricstack/control-plane; the runner in @fabricstack/harness-cli.

Third-party names (ax, atespace, Substrate, pi-acp, amp-acp, codex-acp) appear only in internals, as spec 15 §3.2 does for third-party product names. Configuration uses the FABRIC_* family (FABRIC_EXEC_SUBSTRATE_*, spec 15 §3.4). If the owner prefers the forks as separate packages, that needs a spec 15 §3.3 amendment row first (§16.2 Q3).

14.2 Attribution (D15 and third-party licenses)

UnitLicenseObligation
ACP schemas (agentclientprotocol/agent-client-protocol)Apache-2.0notice in third-party-licenses.config.json; sha256-pinned assets (WP-ACP-01)
pi-acp forkMITLICENSE-THIRD-PARTY, copyright header kept, config entry (WP-ACP-04)
amp-acp forkApache-2.0license, NOTICE if present, change markings, config entry (WP-ACP-04)
codex-acp (consumed, not vendored)Apache-2.0version + integrity pin in its manifest
ax.proto (vendored) and AX images (by digest)Apache-2.0notice and change markings (WP-AX-02, WP-AX-04)
t3code ClaudeAdapter.ts/claudeHistoryWorker.ts (if adapted)MIT (T3 Tools Inc.)T3 Tools notice kept on every adapted file (D15; spec 10 §2.3)
claude-agent-acpregistry license "proprietary"**nothing copied**; provenance check (WP-T3-10 AC8)
@anthropic-ai/claude-agent-sdk (consumed, not vendored)not open source: the package is distributed under Anthropic's terms (Commercial Terms of Service), not an OSI licenceused only as an npm dependency at a pinned exact version; no SDK file is copied into fabric; WP-T3-10 records the pinned version's licence text in its closing note and third-party-licenses.config.json lists it as a runtime dependency with that text; customers bring their own Anthropic credentials

docs/THIRD-PARTY-NOTICES.md is regenerated in each PR that vendors one of these.

14.3 Customer-facing copy

The console never shows a subsystem or third-party codename in UI copy (D22; spec 55 §5.5): no "ACP", "AX", "atespace", "Substrate", "codec" or _fabric string. Neutral wording: "agent protocol version 1/2" on the runtimes view, "isolated sandbox" for an AX-hosted run, "execution reference" in the run detail. The WP-CP-05 copy scan adds these tokens to its ban list in the first PR that renders either fact (WP-CP-17's scorecard view or WP-AX-04's run detail), with the D15 attribution page exempt as today.

---

15. Risks

#RiskMitigation
R23ACP v2 churn: eight alphas, no timeline, no producer harness ships v2v1 is the baseline; v2 offered in CI and fabric's own agents only (OD-11); the model stores wire-verbatim transcripts (OD-5); drift watch; DF-09 exit plan
R24Dual-schema generation fails (open enums, tolerance annotations)§6.3 decoding conformance test and the fabric-owned generator fallback, decided inside WP-ACP-01 with evidence
R25C3 overload (≈ 24 units, the flip at its end)three tracks with per-track Gate A (spec 55 §3.2 precedent); routes are mostly manifests; Grok and Antigravity stay in C7a (no codec to delete); if Track B slips, the owner may split C3 by amendment with the flip still ending C3
R26A codec's corpus entry is missing when the flip must mergeOA-14 moved to C3 day one; the flip's entry gate (WP-ACP-03 AC1); per-codec owner waiver only at C3 Gate A (§0.3 conflict 2)
R27A harness route regresses at the flip (live lanes that were green go red)WP-ACP-03 AC5 before/after lane table; Tier-1 Claude and Codex cells must stay green; the conformance suite gates each route before the flip
R28AX is alpha (v1alpha1, Redis state loss, critical auth hole ax#376, rework ax#433)AX runs live only for test-owned scratch orgs under W-11 (C-13k); W-11 expires at the C10 re-audit unless renewed (owner-confirmed 2026-10-13, C-13p); kradle is the system of record and AX state disposable (WP-CP-12); network isolation (G4); the port keeps k8s-job the default (I-14)
R29Under C-13i no area may ever reach parity (G2, G7, pause defects are upstream-only)stated plainly (§9); the re-audits decide; DF-08 records the outcome; C-12 does not require a move
R30Substrate does not run on fabric's GKE mode or AX tasks lack egress (unknowns U2, U5)OA-18 resolves U2/U5 with a pre-check at C4 Gate B and the install by C5 day one; if the pre-check fails, the owner decides at C4 Gate B whether to re-date the live legs by amendment (the fake-AX legs stay due); FL-AX-01's mock route needs no model egress

Blocking unknowns carried from AXS: §9.1: U1 (sandbox log path, blocks G6 on real Substrate), U2 (Substrate on fabric's GKE mode), U3 (AX's Postgres/lifecycle rework, ax#433, moves the API WP-AX-02 binds — mitigated by the pinned proto and the fake server), U4 (Substrate API churn), U5 (egress in AX tasks).

---

16. Owner actions and open questions

16.1 Owner actions (added to spec 55 §8.3)

IDActionNeeded by
OA-14 (changed)The vendor-login capture secrets of the WP-TEST-09 AC6 inventory are due **by C3 day one** (was C6 Gate A), so every corpus entry exists before WP-ACP-03 mergesC3 day one
OA-18AX staging infrastructure: a dedicated gVisor node pool on the staging GKE cluster, the Agent Substrate prerequisites (ate-system, GCS snapshot bucket, IAM), and confirmation that Substrate runs on the cluster's GKE mode and that AX tasks have model and git egress (unknowns U2, U5)pre-check at C4 Gate B; installed by C5 day one (W-11 granted, C-13k)
OA-19Decide proposed waiver W-11 — **decided 2026-10-13 (C-13k): granted** for test-owned scratch orgs only, G2 and G4b open upstream; W-11 expires at the C10 re-audit unless renewed (owner-confirmed 2026-10-13, C-13p)done

16.2 Owner answers (2026-10-13)

The owner answered the questions on 2026-10-13; the choices are recorded exactly as given in DEC: C-13k…C-13p, each followed by an "Interpretation:" that binds once the owner accepts it at the spec 60 merge gate; C-13p is the owner's confirmation of the three W-11 terms in the C-13k interpretation.

QuestionDecisionEffect
Q1 / OA-19 (W-11)C-13k "Grant for scratch orgs"W-11 granted for test-owned scratch orgs, G2/G4b open upstream; live legs of FL-AX-01/02/04/05/06 restored (C5/C6/C5/C8/C5, staging-scratch) beside their fake-AX legs; OA-18 due C5 day one with a pre-check at C4 Gate B; WP-AX-04 AC8. W-11 terms (owner-confirmed 2026-10-13, C-13p): W-11 expires at the C10 re-audit unless renewed (owner-confirmed 2026-10-13, C-13p); WP-AX-06 may score rows Yes on live evidence; if W-11 is not renewed, WP-AX-06 AC6 retires the live job binding by amendment while the fake-AX legs stay due and T6 stays 143
Q5 (#38 timing)C-13l "Fix-forward now (Recommended)"#38 ships as a C1 fix-forward from a separate branch, including HMAC key custody (AC8a); G-01 marked accordingly; WP-AX-01 keeps the port, the cancel fix (#39) and the rotation overlap test (AC8b), and re-verifies the rest via FL-AX-09 (due C2)
Q6 (C3 overload)C-13m "Contingency only (Recommended)"one C3, the pre-declared contingency (non-flip L items to C4), the owner breakpoint before WP-ACP-03
Q2 / Q7 (missing corpus entry)C-13n "Per-codec waiver (Recommended)"per-codec waiver at C3 Gate A with the conformance profile plus one live run as the oracle (§0.3 conflict 2)
Q3, Q4, Q8C-13o "not asked; defaults stand"forks as internal modules; C-12 needs no AX move; the CI-only contract leg is not AX execution on a cluster
W-11 terms (C-13k follow-up)C-13p "Confirm all three (Recommended)"(a) W-11 expires at the C10 re-audit unless renewed; (b) WP-AX-06 may score rows Yes on live scratch-org evidence; (c) if W-11 is not renewed, WP-AX-06 AC6 retires the live legs by amendment, the fake-AX legs are kept and T6 stays 143

---

17. Gap register

Owner instruction, 2026-10-13: "proceed after mapping the gaps". Every gap known at this amendment that no work package or owner action covered is mapped below to a WP with a run, acceptance criteria and a flow or test, or to an owner action with a due date, or to a deferral with a re-entry condition (C-12: nothing is left unmapped). New WPs WP-CP-23…27 are minted in spec 55 §3.15 (the program's WP-CP series) by this amendment; the new flows are in §12.1 and spec 55 §6.2.

17.1 Register

#Gap (evidence)Mapped toRunAcceptance criteriaFlow / test
G-01**Security, a5c-ai/fabric#38.** The agent-run callback endpoint is unauthenticated (packages/kradle/web/app/api/orgs/[org]/agents/runs/[name]/callback/route.js:6; AXS: §6.2)**C1 fix-forward (C-13l)**: token auth (401/403/409), idempotent retry, terminal-state 409 guard, per-Job Secret volume, in-flight grace window and HMAC key custody in a kradle Secret (AC8a, with a rendered-manifest test), shipped to staging from a separate branch; WP-AX-01 keeps the two-key rotation overlap test (AC8b; WP-CP-13 owns rotation) and re-verifies the rest in C2C1 fix-forward / C2WP-AX-01 AC5, AC7, AC8a, AC9–AC11 (delivered by the fix-forward, re-verified in C2) and AC8b (rotation overlap, WP-AX-01); the fix-forward PR closes #38FL-AX-09 (integration, ci.yml:test, due C2; the fix-forward PR's run is early evidence)
G-02a5c-ai/fabric#39: cancel only patches status and never kills the Job (packages/kradle/web/app/api/orgs/[org]/agents/runs/[name]/cancel/route.js:20-24; agent-run-status-reconciler.js, agent-dispatch-controller.js)WP-AX-01C2WP-AX-01 AC2 (integration) and AC6 (deployed: the Job and pods are deleted, the run shows Cancelled); the closing PR closes #39FL-AX-10 (live, deployed_stack_e2e, staging)
G-03Intermittent tests a5c-ai/fabric#34 (commander late double-click, v5-review-dblclick.spec.ts) and #35 (FL-RUN-01 Windows observer cold start)WP-CP-23 (new)C2root cause with evidence; no retry, timeout raise or quarantine; 50/50 and 20/20 loopsthe two existing specs in ops-console and product-mock
G-04Legacy-codec corpus 3/12 captured (e2e-tests/harness-credentials.md); stale invocations a5c-ai/fabric#22 (openclaw), #23 (copilot), #24 (hermes); credential-blocked rows (a5c-ai/fabric#26)WP-TEST-09 late-corpus stage (re-scoped, §17.2) + OA-14 + OA-20C3 (before WP-ACP-03)§17.2FL-ACP-05 (corpus replay through each ACP route)
G-05Tier-2 harness-matrix cells fail (for example gemini has no Vertex auth method)WP-T3-13 (new AC, §17.2) at the flip; WP-FN-18 closes the remainderC3 / C7bevery Tier-2 cell is green on its ACP route or reclassified in e2e-tests/harness-os-support.json (fixture-blocked or unsupported-by-vendor) with an open issue; no silent skip; an unsupported-by-vendor reclassification needs a signed owner breakpoint per cell, recorded in the cell with its re-entry condition (the vendor ships the missing method)FL-ACP-01 (route conformance); FL-MTX-02 (C7b)
G-06Catalog graph vocabulary: 173 missing ids and 215 dangling edges from @graph tags in 45 library files (owner decision C1-B3)WP-CP-24 (new)C2each id mapped or added; validate-library-bridge.mjs --strict in the catalog build with a negative fixtureFL-CAT-01 (integration, ci.yml:test)
G-07scripts/fix-broken-latest-tags.mjs --set latest= writes through npm, which Artifact Registry refuses for latestWP-CP-25 (new) + OA-13C2every tag write through scripts/lib/ar-npm-tags.cjs; fix-npm-tags.yml re-enabled only after OA-13FL-REL-08 (integration, ci.yml:release-tooling)
G-08The observer client ignores Retry-After on 503; no route-level 503 testWP-CP-26 (new)C2Retry-After honoured and bounded; route-level 503 testFL-OBS-03 (integration, ci.yml:observer-dashboard)
G-09Snapshot fan-out cap min(8, availableParallelism()) ignores container CPU quotas (packages/kradle/core/src/kubernetes-controller-async.js:91)WP-CP-27 (new) + risk R31C5cap derived from the cgroup CPU quota; logged on the staging deployunit tests with fixture cgroup files
G-10The copilot corpus capture depends solely on the personal TAL_GH_TOKENOA-20 (new owner action)C3 day onea non-personal credential (the a5c GitHub App or an org-owned token with the Copilot entitlement) replaces itthe copilot corpus capture run
G-11Open owner actions and the pending production deploy§17.3as dated there—the flows each action unblocks
G-12**Train-record auto-recording (owner decision C2-P2, 2026-10-14: "Auto-record via workflow").** Every merge to staging or main, docs-only merges included, cuts a fabric/* tag (publish-npm-private.yml → release-tags.yml). check-upstream-cadence.cjs --audit-tags (Docs QA) accepted only a hand-written train-map row, so every open PR went red until a train-map PR merged, and that merge cut the next tagWP-RM-02 (standing; no new WP)C2the Create Release Tag job writes a schema-checked train record into the annotated tag: the tag, train, the tagged commit's publishable inventory, the publish run id/attempt/URL and the publish, exact-version consumer, promote and assert conclusions taken from needs (ensure-tag refuses the record flags outside the Actions run they name). The audit stays strict: a tag counts as recorded with a train-map row OR a valid record that the GitHub Actions API confirms (PR #45 review): a push/workflow_dispatch run of publish-npm-private.yml in a5c-ai/fabric on the record's commit and branch, its gating jobs and Create Release Tag success in the recorded attempt, tagger github-actions[bot] within that job's run, one tag per run, fail closed on any API error (Docs QA: actions: read). A lightweight tag, an annotation without a record, a malformed record, one failing the schema or the API check still fails. train-map.md keeps the historical rows; a manually dispatched tag still needs one. A tag ruleset restricting creation of refs/tags/fabric/** is an open owner actionnode scripts/check-upstream-cadence.cjs --self-test --audit-tags (ci.yml:docs-quality, with the C2-P2 and PR #45 negative fixtures against a stubbed Actions API); scripts/__tests__/roadmap/upstream-cadence.test.mjs; scripts/__tests__/release-version.test.mjs; scripts/__tests__/private-release-train.test.mjs

**Re-check of spec 55 against the roadmap index.** Every one of the 135 records (spec 55 §3.14 and roadmap/index.json) is done, in-progress (a C1 stage awaiting the C1 gate), scheduled into a named run, or deferred with a §4 record (WP-T3-04, DF-07). No record is unscheduled, and node scripts/check-roadmap-index.cjs enforces that a deferral appears in both places.

17.2 Binding acceptance-criteria additions for existing WPs

  • **WP-TEST-09, late-corpus stage (C3) — what the corpus is for after the flip.** Once the codecs are deleted, the AC6 corpus is the **parity baseline of the ACP routes**: WP-ACP-03 AC1 replays each entry through its harness's ACP route and compares corpus semantics, and the corpus then stays as a frozen regression fixture for those routes (it is never re-captured from a codec). Additions: (a) a5c-ai/fabric#22, #23 and #24 are fixed in the capture tooling (current CLI spawn args for openclaw and copilot; the provider setup harness launch performs, for hermes) and those three entries are captured; (b) every credential-blocked and vendor-login row is captured by C3 day one with OA-14's and OA-20's credentials; (c) any entry still missing at C3 Gate A follows §0.3 conflict 2 (it blocks the flip unless the owner signs a per-codec waiver).
  • **WP-T3-13 (C3) — Tier-2 cells.** New AC: after the flip each Tier-2 cell in harness-os-support.json is either green on its ACP route or reclassified with an open issue; gemini --acp authenticates through the ACP authenticate method with the Vertex express-mode key (GOOGLE_API_KEY), and if the route still lacks a Vertex method the cell is fixture-blocked with an issue and an expiry. WP-FN-18 (C7b) closes every remaining Tier-2 cell.

17.3 Owner actions and the pending production deploy

Owner actionWhatDue
OA-01Rotate the OPENAI_API_KEY organization secret**2026-10-23** (owner decision C1-A2 accepted the owner-blocked flows until then)
OA-02live-harnesses environment secrets (Codex now; Cursor, Grok, OpenCode, Antigravity by C7a day one)Codex half **2026-10-23** (C1-A2); the others C7a day one
OA-03Apply the WP-CP-01 AC4 required-check set to the staging rulesetC1 Gate A (open)
OA-13Restrict NPM_TOKEN to selected repositoriesbefore fix-npm-tags.yml is re-enabled (WP-CP-25 AC3), C2
OA-14Codec-capture vendor-login secrets**C3 day one** (moved by this amendment)
OA-15Claude-lane credential in the staging control-plane secret storeC3 day one
OA-20 (new)Replace the personal TAL_GH_TOKEN as the only copilot capture credential with a non-personal oneC3 day one
OA-21 (new)Decide the pending production deploy publish.yml run 38053356854 (owner decision C1-P1: "Leave them pending", re-raised at Gate B)the next Gate B with a production step (C4 milestone), or earlier if the owner chooses

17.4 Risk added

#RiskMitigation
R31The control plane over-subscribes CPU-limited pods with kubectl fan-out (G-09)WP-CP-27 in C5 derives the cap from the cgroup quota; until then the staging control-plane CPU limit stays at 2 or more

Article source

The article body is owned directly by this record.

Related pages

No related wiki pages for this record.

Shortcuts

Open overview
Open JSON
Open graph