Spec: Fable round 3 APPROVE; fold in its P2s (marker path computed in OperatorKeys, RouteHost directory) and P3s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+27
−3
docs/superpowers/specs/2026-11-29-team-bundle-design.md+27 −3
CI passed — run details
CI log
=== vet === go vet ./... === fmt === === test === CGO_ENABLED=0 go test ./... ok amadan.net/oficina/alta/adopt (cached) ok amadan.net/oficina/alta/carlosop (cached) ? amadan.net/oficina/alta/carlosop/fakecarlos [no test files] ok amadan.net/oficina/alta/cmd/alta (cached) ok amadan.net/oficina/alta/cmd/alta-adopt (cached) ok amadan.net/oficina/alta/console (cached) ? amadan.net/oficina/alta/console/fakeconsole [no test files] ok amadan.net/oficina/alta/homeop (cached) ok amadan.net/oficina/alta/homeop/fakehome (cached) ok amadan.net/oficina/alta/internal/web (cached) ok amadan.net/oficina/alta/provision (cached) === compat === cd homecompat && go vet ./... && CGO_ENABLED=0 go test ./... ok amadan.net/oficina/home/altacompat (cached)
diff --git a/docs/superpowers/specs/2026-11-29-team-bundle-design.md b/docs/superpowers/specs/2026-11-29-team-bundle-design.md| index 9213e6b..5a436c4 100644 |
| --- a/docs/superpowers/specs/2026-11-29-team-bundle-design.md |
| +++ b/docs/superpowers/specs/2026-11-29-team-bundle-design.md |
| @@ -1,6 +1,6 @@ |
| # The team bundle: Equipo, Base and a house model (the hosted runner is specified separately) |
| -Status: draft for Paul, 2026-11-29. Written by Claude (Opus 5.5) from |
| +Status: APPROVED by Fable (round 3, 2026-11-30); awaiting Paul's rulings. First drafted 2026-11-29. Written by Claude (Opus 5.5) from |
| Alta main 43bf19d, Equipo origin/main 57f370c5, Base origin/main 5105b89, |
| Memoria origin/main and CARLOS platform origin/main 4799995f7. Not |
| reviewed. Nothing is built. Where a fact was not read from code or a |
| @@ -11,6 +11,11 @@ MicroVMs**, if the separate session already working on MicroVMs gets them |
| working. §4.4 records what this changes and what that session has to |
| answer first. |
| +**Fable round 3, 2026-11-30: APPROVE** for slices 1, 2, 3 and 3b. Its two |
| +P2s (the marker path in the audit, and naming the instance directory) |
| +and four P3s are folded in below, and none changes the design. Nothing is |
| +built. Questions 1–4, 6, 7 and 9–11 still await Paul's ruling. |
| + |
| **Revision 3, 2026-11-30.** This answers Fable's round 2 (CHANGES |
| REQUIRED: 1 P1, 4 P2, 4 P3). **Turning Equipo's execution on is back in |
| scope** as slice 3b, because without it no runner, hosted or the owner's |
| @@ -132,7 +137,7 @@ An Equipo recipe in `provision/apps.go`, with these keys: |
| | `EQUIPO_ASSISTANT_HOSTS` | set | the team's Base origin, if Base is in the run | |
| | `EQUIPO_AGENT_ISSUER`, `EQUIPO_AGENT_TEAM` | set | as adoption writes them | |
| | `EQUIPO_HOUSE_CONNECTIONS` | set | `on` under profile `own` only. Equipo offers the house-connection form only when it is set (§3.2). Today it repeats the recipe's own `outside` refusal; it matters once 6c admits outside teams. The adopted canonical Equipo needs it set by hand. | |
| -| `EQUIPO_EXECUTION_ENABLED`, `EQUIPO_EXECUTION_MARKER_PATH` | post-run (slice 3b) | `1` and `/data/instances/<instance host>/execution/witness`, as an `OperatorKeys` group under profile `own`. The audit admits both or neither, as it does Memoria's AI pair (`provision/apps.go:379`). Paul sets them with `carlos env set` after the run; Alta never writes them. | |
| +| `EQUIPO_EXECUTION_ENABLED`, `EQUIPO_EXECUTION_MARKER_PATH` | post-run (slice 3b) | `1` and `/data/instances/<RouteHost>/execution/witness`, as an `OperatorKeys` group under profile `own`. `<RouteHost>` is `provision.RouteHost(label, "equipo", account)` (`provision/apps.go:153-154`), i.e. `<label>-equipo.bds.oncarlos.com`, the instance's platform host, which is also its CARLOS `%I` directory: production's marker names `equipo.bds.oncarlos.com` the same way. A path outside the unit's own `/data/instances/%I` fails `MkdirAll` (CARLOS `internal/host/claimunit_template.go:23-24`), and Equipo refuses to boot. Paul sets the pair with `carlos env set` after the run. Alta never writes them, enforced by adding both to the console guard's `operatorOnly` (`console/client.go:80`), as Memoria's are. | |
| - Mail comes from CARLOS submission, under `CARLOS_SMTP`, as the registry |
| already declares (`apps.go:107`). |
| @@ -536,6 +541,11 @@ These come from Fable's round 1; they are requirements, not designs. |
| the team is recorded as "retired, replica kept"; |
| - then `carlos env release` runs. |
| + Unsetting `EQUIPO_INSTANCE_KEY` is what makes a kept replica |
| + unreadable. Whether CARLOS config history keeps old values is |
| + **unverified**. If it does, the kept replica stays readable to anyone |
| + with that history. |
| + |
| These steps sit outside Alta: |
| - Memoria's copy of the house key revoked at TensorX; |
| - the team's Amadan agent account revoked; |
| @@ -678,13 +688,27 @@ hub CI green, and Paul's go before anything is deployed. |
| 3b. **Execution on for team Equipos.** |
| - The `OperatorKeys` group (§1.2), set by Paul by hand, admitted both |
| or neither by the audit. |
| + - `OperatorKeys(app, p)` gains the run's inputs (label and account) |
| + so it can compute the expected marker path. The audit compares |
| + non-secret values exactly (`provision/apps.go:428`). Both call |
| + sites change (`provision/steps.go:450`, `:920`). |
| + - **Marker loss.** The slice states what Equipo does when the |
| + database says execution ran but the marker is gone, and the |
| + operator's recovery step. Four instances will depend on it, not |
| + one. |
| - The marker path follows production's precedent. |
| - Gates: |
| - on the canary team, an owner enrols their own machine and a chat |
| turn runs on it; |
| - a new Equipo build deploys over the execution-on team instance |
| under the app's swap hold, with no duplicate execution owner; |
| - - the audit refuses the pair set half-way. |
| + - without the hold, a deploy fails safe: the new build exits on the |
| + startup lock (`ErrConflict`, Equipo |
| + `internal/equipo/execution_startup.go:50-57`) and the old build |
| + keeps serving; |
| + - the audit refuses the pair set half-way; |
| + - the audit refuses a marker path naming another instance's |
| + directory. |
| 4. **Paul's three teams, without a hosted runner.** |
| - Run Alta with Equipo and Base for `carlos`, `tito` and `campbells` |