Adoption: runner's delivery check replaces witness; drop live checks
Record Paul's ruling of 2026-11-17 (discussion 103) in the existing-team adoption design. - The 522 Plan 2 waiver's delivery evidence is now the runner's automated check after each restart: /api/version body and X-Carlos-Version unchanged and the reviewed version, no redirect, /healthz ok, and GET /api/v1/operations now agent-access's answer (404 to 401/200; for Slides and Calls, their own 401 to agent-access's challenge). It is bound to the observed identity, version and config, and carried in environment_binding where the witness was. No typed confirmation. - The negative live checks (test member, revocation, owner revocation) are dropped for this adoption: revocation is covered by Home's and oficina-connect's own tests. Plan C is gated only on Plan B having activated calendar. Plan A's confirmations and the canary stay.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+53
−29
implementation/existing-team-adoption.md+53 −29
CI passed — run details
CI log
amadan: .amadan/timeout: this job's budget is 20m0s (this runner allows up to 30m0s) === vet === CGO_ENABLED=0 go vet ./... CGO_ENABLED=0 go vet -tags browser ./internal/home/ cd handoff && CGO_ENABLED=0 go vet ./... cd roster && CGO_ENABLED=0 go vet ./... cd dashboard && CGO_ENABLED=0 go vet ./... cd connect && CGO_ENABLED=0 go vet ./... cd teammode && CGO_ENABLED=0 go vet ./... === fmt === === build === CGO_ENABLED=0 go build ./... CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build ./cmd/home ./cmd/oficina ./internal/operatorlaunch cd handoff && CGO_ENABLED=0 go build ./... cd roster && CGO_ENABLED=0 go build ./... cd dashboard && CGO_ENABLED=0 go build ./... cd connect && CGO_ENABLED=0 go build ./... cd teammode && CGO_ENABLED=0 go build ./... === go-test === CGO_ENABLED=0 go test -count=1 ./... ? amadan.net/oficina/home/cmd/home [no test files] ok amadan.net/oficina/home/cmd/home-placeholder 0.687s ? amadan.net/oficina/home/cmd/oficina [no test files] ok amadan.net/oficina/home/internal/guardstest 0.073s ok amadan.net/oficina/home/internal/home 50.485s ok amadan.net/oficina/home/internal/home/directorydata 1.380s ok amadan.net/oficina/home/internal/home/logtest 0.004s ok amadan.net/oficina/home/internal/home/seal 0.005s ok amadan.net/oficina/home/internal/home/sealtest 0.005s ok amadan.net/oficina/home/internal/home/wisp 0.050s ok amadan.net/oficina/home/internal/operator 6.344s ok amadan.net/oficina/home/internal/operatorlaunch 4.113s ok amadan.net/oficina/home/internal/provisioner 48.716s cd handoff && CGO_ENABLED=0 go test -count=1 ./... ok amadan.net/oficina/home/handoff 0.661s ok amadan.net/oficina/home/handoff/seal 0.002s cd roster && CGO_ENABLED=0 go test -count=1 ./... ok amadan.net/oficina/home/roster 5.124s cd dashboard && CGO_ENABLED=0 go test ./... ok amadan.net/oficina/home/dashboard (cached) cd connect && CGO_ENABLED=0 go test -count=1 ./... ok amadan.net/oficina/home/connect 1.344s ok amadan.net/oficina/home/connect/linkstore 0.447s cd teammode && CGO_ENABLED=0 go test -count=1 ./... ok amadan.net/oficina/home/teammode 0.099s ? amadan.net/oficina/home/teammode/teammodetest [no test files] === race === go test -race -count=1 ./internal/home/ ./internal/operator/ ./internal/operatorlaunch/ ./internal/home/directorydata/ ok amadan.net/oficina/home/internal/home 384.997s ok amadan.net/oficina/home/internal/operator 82.363s ok amadan.net/oficina/home/internal/operatorlaunch 22.392s ok amadan.net/oficina/home/internal/home/directorydata 23.399s ok amadan.net/oficina/home/internal/provisioner 416.472s cd handoff && CGO_ENABLED=1 go test -race -count=1 ./... ok amadan.net/oficina/home/handoff 12.808s ok amadan.net/oficina/home/handoff/seal 1.013s cd roster && CGO_ENABLED=1 go test -race -count=1 ./... ok amadan.net/oficina/home/roster 6.908s cd dashboard && CGO_ENABLED=1 go test -race -count=1 ./... ok amadan.net/oficina/home/dashboard 1.063s cd connect && CGO_ENABLED=1 go test -race -count=1 ./... ok amadan.net/oficina/home/connect 5.967s ok amadan.net/oficina/home/connect/linkstore 6.283s cd teammode && CGO_ENABLED=1 go test -race -count=1 ./... ok amadan.net/oficina/home/teammode 1.947s ? amadan.net/oficina/home/teammode/teammodetest [no test files]
diff --git a/implementation/existing-team-adoption.md b/implementation/existing-team-adoption.md| index a6b1a15..d13f12c 100644 |
| --- a/implementation/existing-team-adoption.md |
| +++ b/implementation/existing-team-adoption.md |
| @@ -4,7 +4,10 @@ Status: Home capability design approved by independent GPT-6 Astra, |
| 2026-11-02, after rollback, observation and scope revisions. Production |
| activation remains gated on the reviewed observation runner and confirmations. |
| Base: d82341c. Amended 2026-11-16 for 522 Plan 1 digests and the Plan 2 |
| -waiver (see the observation recipe). Implements agent-access task 5 and Home discussion 103. |
| +waiver (see the observation recipe). Amended 2026-11-17 (Paul, discussion |
| +103): the waiver's delivery evidence is the runner's automated check, and |
| +the negative live checks are dropped for this adoption. Implements |
| +agent-access task 5 and Home discussion 103. |
| The six existing canonical instances need directory membership and routing |
| without creating replacement instances, changing their keys, or converting |
| @@ -182,32 +185,52 @@ configuration) is not built. Paul ruled on 2026-11-16 (oficina/home |
| discussion 103 and carlos/platform 522) that it is waived for this Oficina |
| existing-team adoption only. It is not a precedent for any other adoption, |
| which still needs Plan 2 or its own ruling. Nothing else in the gate is |
| -waived: Plan 1 snapshots, digests, receipts and the negative checks below |
| -still apply. |
| - |
| -In its place, delivery evidence is a manual check per app, witnessed by Paul, |
| -after the app restarts with the new configuration: |
| - |
| -- `/api/version` body and `X-Carlos-Version` are unchanged from the before |
| - snapshot, with no redirect. |
| -- `/healthz` succeeds. |
| -- Sign-in still works. |
| -- `GET /api/v1/operations` moves from 404 to 401 or 200, which shows that |
| - the app now runs the delegated-access code with the new configuration. |
| - |
| -The runner records, per app, Paul's confirmation and the observed values as |
| -part of the signed observation. Production activation of an app is blocked |
| -until its check is witnessed and recorded. The runner may not attest it |
| -on its own. |
| - |
| -The runner additionally checks that a real Home member lacking local app |
| -permission remains refused, and that revoking directory membership refuses |
| -an existing delegated connection without removing normal local access. |
| -Synthetic proof belongs in integration tests; actual-user acceptance follows |
| -setup. Until the reviewed snapshot/observation runner exists and its negative |
| -checks pass, production activation is blocked even if Home capability is |
| -deployed. This document does not authorize hand-constructing observation |
| -digests or bypassing a missing snapshot facility. |
| +waived: Plan 1 snapshots, digests and receipts still apply. |
| + |
| +In its place, delivery evidence is a check per app, made by the runner |
| +after the app restarts with the new configuration. Paul ruled on |
| +2026-11-17 (discussion 103) that this automated check replaces his |
| +witnessed sign-in; there is no typed confirmation. The check passes only |
| +if: |
| + |
| +- the canonical HTTPS `/api/version` body and `X-Carlos-Version` are |
| + unchanged from the before snapshot and are the reviewed version, with |
| + no redirect; |
| +- `/healthz` succeeds; |
| +- `GET /api/v1/operations` now answers with agent-access's response, |
| + which shows that the app runs the delegated-access code with the new |
| + configuration. That is a move from 404 to 401 or 200. Slides and Calls |
| + already answer 401 from their own middleware, so for them the 401 must |
| + become agent-access's own challenge (a `Bearer` `WWW-Authenticate`, |
| + `Cache-Control: no-store` and a body whose `error.code` is |
| + `unauthenticated`). |
| + |
| +The runner records the check bound to the identity, delivered version and |
| +configuration it observed; it is void if any of them changes. The check is |
| +part of the signed observation: environment_binding carries it in the |
| +place the witness had. Production activation of an app is blocked until |
| +its check is recorded and still current. |
| + |
| +#### Negative live checks: dropped for this adoption |
| + |
| +This document required the runner to check, against oficina-connect, that |
| +a real Home member lacking local app permission stays refused, and that |
| +revoking directory membership or a connection refuses an existing |
| +delegated connection without removing normal local access. Paul ruled on |
| +2026-11-17 (discussion 103) that these live checks, with their test member |
| +and owner revocation, are dropped for this Oficina adoption. His reason: |
| +revocation is covered by Home's and oficina-connect's own tests. As with |
| +the Plan 2 waiver, this is not a precedent for any other adoption. |
| + |
| +What stays: Plan A's two fresh confirmations, and the Calendar canary. |
| +Plan B activates calendar alone. Plan C, the other five apps, is gated |
| +only on Plan B having activated calendar successfully, and stays refused |
| +if calendar has since been rolled back or disabled. Synthetic proof of |
| +refusal and revocation stays in integration tests. Until the reviewed |
| +snapshot/observation runner exists, production activation is blocked even |
| +if Home capability is deployed. This document does not authorize |
| +hand-constructing observation digests or bypassing a missing snapshot |
| +facility. |
| Adoption and Alta share exactly one operator signer, installation, registry |
| and device on both roles. No native command enrolls a competing stream. |
| @@ -246,8 +269,9 @@ attest observations; that trust is explicit and bounded by confirmation. |
| demonstrate old-reader incompatibility after activation and verify the |
| forward-compatible rollback build. Observer rejects changed storage, |
| identity keys, agent team, TeamMode and version body/header mismatch. |
| -- Per app, Paul's witnessed post-restart check (version body/header, healthz, |
| - sign-in, /api/v1/operations 404 to 401/200) recorded in place of 522 Plan 2. |
| +- Per app, the runner's automated post-restart delivery check (version |
| + body/header, healthz, /api/v1/operations 404 or app 401 to agent-access's |
| + answer) recorded in place of 522 Plan 2, and Plan C gated on Plan B. |
| - Independent source/evidence review, meaningful adverse mutations, full |
| required CI, deployed isolated canary and exact canonical version checks. |