oficina / equipo Public

Merge branch 'copy-device-api' into main

Merge copy-device-api: delegated copy pass on device API docs

Four device API sections merged in 0cee811c were still marked for copy
review, which blocks every release. Astra's delegated pass checked them.
claude agent, operated by paul@keymail.dev 2b7c66aab4d61c943938c0141bb6699fc87f9f94 parent bf1f74cparent 57a59d7
3 files changed, +84 −33
  • docs/api/equipo-v1.md +36 −28
  • docs/superpowers/plans/CONTROLLER-REPORT-plan-3.md +47 −4
  • internal/plan3test/plan3_release_test.go +1 −1

CI passed — run details

CI log
=== prepare ===
ci-box: machine: aarch64, 32 CPUs, 62 GiB memory, kernel 7.0.0-1017-aws
ci-box: python 3.12.3; Docker version 29.1.3, build 29.1.3-0ubuntu3~24.04.2
ci-box: user namespaces allowed: 233151
ci-box: cgroup: cgroup2fs
ci-box: disk /home/ci/work/repos/oficina__equipo/wt/main: Type  Size Avail | ext4   96G   86G
ci-box: disk /home/ci/.cache/equipo-ci-box: Type  Size Avail | ext4   96G   86G
ci-box: bwrap: fetched and verified in 0.3s
ci-box: claude: fetched and verified in 1.4s
ci-box: codex: fetched and verified in 3.4s
ci-box: codex-code-mode-host: fetched and verified in 1.3s
ci-box: libwrap: fetched and verified in 0.3s
ci-box: socat: fetched and verified in 0.3s
npm warn deprecated node-domexception@1.0.0: Use your platform's native DOMException instead
ci-box: image pulled in 9.8s
ci-box: pi: installed and verified in 7.7s
ci-box: opencode: installed and verified in 2.2s
ci-box: chromium 156.0.8078.79-1~deb13u1: 76 packages fetched, verified and unpacked in 8.9s
ci-box: clone deepened in 3.2s
ci-box: file times set from content: 2716 files, 174 directories
ci-box: ready in 17.0s
=== copy ===
EQUIPO_RELEASE_COPY_CHECK=1 CGO_ENABLED=0 go test ./internal/equipotest -run '^TestReleaseCopyReviewed$' -count=1
ok  	amadan.net/oficina/equipo/internal/equipotest	0.247s
=== compile ===
go build ./...
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py compile
+ go build -tags testbuild ./...
  1.1s
+ go list -export -test -tags testbuild -f  ./...
  1.4s
+ go list -export -test -tags browser,testbuild -f  ./internal/equipo ./internal/headless ./internal/idtest ./internal/plan3test ./internal/thintest
  1.1s
go run honnef.co/go/tools/cmd/staticcheck@v0.7.0 -version
staticcheck 2026.1 (v0.7.0)
go run golang.org/x/vuln/cmd/govulncheck@v1.8.0 -version
Go: go1.26.11
Scanner: govulncheck@v1.8.0
DB: https://vuln.go.dev
DB updated: 2026-11-11 02:51:11 +0000 UTC

go run github.com/zricethezav/gitleaks/v8@v8.30.1 version
version is set by build process
=== check ===
--- shard 0 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane headless-work: ./internal/headless
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestHeadless$/^4c_rebase$|^TestHeadless$/^4b_ask$|^TestHeadless$/^4c_checks_card$|^TestHeadless$/^4_step_crash$' ./internal/headless
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed

receipt: test step 1m21.046s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m19.519s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m19.52s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 33.41, cpu waiting 21.29%, memory waiting 0.00%, io waiting 1.20%
--- shard 1 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane headless-review: ./internal/headless
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestHeadless$/^4_review$|^TestHeadless$/^2b_access$|^TestHeadless$/^runner_crash$|^TestHeadless$/^2b_first_message$|^TestHeadless$/^4_checks_honest$|^TestHeadless$/^7_stream_resume$|^TestHeadless$/^2b_notebook$|^TestHeadless$/^2b_move_in$|^TestHeadless$/^2b_desk_failure$|^TestHeadless$/^cancel$' ./internal/headless
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed

receipt: test step 1m21.868s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m20.214s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m20.21s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 33.41, cpu waiting 21.29%, memory waiting 0.00%, io waiting 1.20%
--- shard 2 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane headless-connections: ./internal/headless
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestHeadlessConnections$|^TestHeadlessTokenPasteEndToEnd$|^TestHeadlessTokenConnection$' ./internal/headless
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed

receipt: test step 1m23.094s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m21.099s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m10.7s amadan.net/oficina/equipo/internal/headless TestHeadlessConnections
receipt: slow test 5.73s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenPasteEndToEnd
receipt: slow test 4.67s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenConnection
machine: 32 CPUs, load 33.41, cpu waiting 20.79%, memory waiting 0.00%, io waiting 1.16%
--- shard 3 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane headless-mac: ./internal/headless
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestMacWorker$|^TestHeadlessAttachments$|^TestHeadlessPrewarm$|^TestHeadless$/^1_first_token$|^TestHeadless$/^6_quick_messages$|^TestHeadless$/^8_instance_restart$|^TestHeadless$/^3_runner_offline$' ./internal/headless
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed

receipt: test step 1m18.107s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m16.491s amadan.net/oficina/equipo/internal/headless
receipt: slow test 36.63s amadan.net/oficina/equipo/internal/headless TestMacWorker
receipt: slow test 20.26s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 10.2s amadan.net/oficina/equipo/internal/headless TestHeadlessAttachments
receipt: slow test 9.39s amadan.net/oficina/equipo/internal/headless TestHeadlessPrewarm
machine: 32 CPUs, load 34.58, cpu waiting 21.87%, memory waiting 0.00%, io waiting 1.29%
--- shard 4 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane headless-guards: ./internal/headless
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestHeadlessCopyRotation$|^TestHeadlessPolicyGuards$|^TestHeadlessRunnerKillLeavesNoCopies$|^TestHeadlessNewHouseRuleStartsFresh$|^TestHeadless$/^3_engineering$|^TestHeadless$/^3_step_cancel$|^TestHeadless$/^3_step_contained$|^TestHeadless$/^3_empty_repo$|^TestHeadless$/^3_empty_engineering$|^TestHeadless$/^3_empty_merge$|^TestHeadless$/^3_empty_merge_rebuilt$|^TestHeadless$/^3_empty_fix_round$' ./internal/headless
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed

receipt: test step 1m35.669s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m34.021s amadan.net/oficina/equipo/internal/headless
receipt: slow test 58.91s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 10.94s amadan.net/oficina/equipo/internal/headless TestHeadlessRunnerKillLeavesNoCopies
receipt: slow test 9.73s amadan.net/oficina/equipo/internal/headless TestHeadlessCopyRotation
receipt: slow test 8.58s amadan.net/oficina/equipo/internal/headless TestHeadlessPolicyGuards
receipt: slow test 5.86s amadan.net/oficina/equipo/internal/headless TestHeadlessNewHouseRuleStartsFresh
machine: 32 CPUs, load 30.36, cpu waiting 17.41%, memory waiting 0.00%, io waiting 0.95%
--- shard 5 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane headless-rest: ./internal/headless
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -skip '^TestHeadless$/^4c_rebase$|^TestHeadless$/^4b_ask$|^TestHeadless$/^4c_checks_card$|^TestHeadless$/^4_step_crash$|^TestHeadless$/^4_review$|^TestHeadless$/^2b_access$|^TestHeadless$/^runner_crash$|^TestHeadless$/^2b_first_message$|^TestHeadless$/^4_checks_honest$|^TestHeadless$/^7_stream_resume$|^TestHeadless$/^2b_notebook$|^TestHeadless$/^2b_move_in$|^TestHeadless$/^2b_desk_failure$|^TestHeadless$/^cancel$|^TestHeadlessConnections$|^TestHeadlessTokenPasteEndToEnd$|^TestHeadlessTokenConnection$|^TestMacWorker$|^TestHeadlessAttachments$|^TestHeadlessPrewarm$|^TestHeadless$/^1_first_token$|^TestHeadless$/^6_quick_messages$|^TestHeadless$/^8_instance_restart$|^TestHeadless$/^3_runner_offline$|^TestHeadlessCopyRotation$|^TestHeadlessPolicyGuards$|^TestHeadlessRunnerKillLeavesNoCopies$|^TestHeadlessNewHouseRuleStartsFresh$|^TestHeadless$/^3_engineering$|^TestHeadless$/^3_step_cancel$|^TestHeadless$/^3_step_contained$|^TestHeadless$/^3_empty_repo$|^TestHeadless$/^3_empty_engineering$|^TestHeadless$/^3_empty_merge$|^TestHeadless$/^3_empty_merge_rebuilt$|^TestHeadless$/^3_empty_fix_round$' ./internal/headless
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed

receipt: test step 3m7.367s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 3m5.372s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m44.29s amadan.net/oficina/equipo/internal/headless TestHeadlessAssistant
receipt: slow test 23.9s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 11.42s amadan.net/oficina/equipo/internal/headless TestHeadlessResearchHandoff
receipt: slow test 8.08s amadan.net/oficina/equipo/internal/headless TestHeadlessClaudeSignIn
receipt: slow test 7.31s amadan.net/oficina/equipo/internal/headless TestHeadlessBatchAfterRefusedReply
machine: 32 CPUs, load 7.68, cpu waiting 3.78%, memory waiting 0.00%, io waiting 0.20%
--- shard 6 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane thintest: ./internal/thintest
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^Test([^C]|C[^o]|Co[^n]|Con[^t])|^TestContract(Assistant|Outcome|Team|Handoff|HostAllowlist|HostIsPerPerson|Look|Use[A-Z]|RemoteCall|LanesRunAtOnce|NoMergeQuestionWhenGateMerges|PreviewHeldUntilPublishAnswer|PreviewNotHeldBelow19|PublishNeedsOwnerAnswer)' ./internal/thintest

receipt: test step 388ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 2m0.883s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 7.82s amadan.net/oficina/equipo/internal/thintest TestContractTeamJobSettledStates
receipt: slow test 6.8s amadan.net/oficina/equipo/internal/thintest TestExplorePreviewsOff
receipt: slow test 4.38s amadan.net/oficina/equipo/internal/thintest TestContractTeamNudgePersonNeeds
receipt: slow test 3.88s amadan.net/oficina/equipo/internal/thintest TestContractPreviewHeldUntilPublishAnswer
receipt: slow test 2.42s amadan.net/oficina/equipo/internal/thintest TestResearchDoneFallsBack
machine: 32 CPUs, load 1.95, cpu waiting 0.00%, memory waiting 0.00%, io waiting 4.64%
--- shard 7 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane thintest-contract: ./internal/thintest
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -skip '^Test([^C]|C[^o]|Co[^n]|Con[^t])|^TestContract(Assistant|Outcome|Team|Handoff|HostAllowlist|HostIsPerPerson|Look|Use[A-Z]|RemoteCall|LanesRunAtOnce|NoMergeQuestionWhenGateMerges|PreviewHeldUntilPublishAnswer|PreviewNotHeldBelow19|PublishNeedsOwnerAnswer)' ./internal/thintest

receipt: test step 391ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 1m22.798s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 9.09s amadan.net/oficina/equipo/internal/thintest TestContractPreviewNotScheduled
receipt: slow test 5.23s amadan.net/oficina/equipo/internal/thintest TestContractPublishNotOffered
receipt: slow test 4.41s amadan.net/oficina/equipo/internal/thintest TestContractMacRecheckMergeAuthority
receipt: slow test 2.37s amadan.net/oficina/equipo/internal/thintest TestContractPublishNameTaken
receipt: slow test 2.35s amadan.net/oficina/equipo/internal/thintest TestContractPreview
machine: 32 CPUs, load 1.95, cpu waiting 1.04%, memory waiting 0.00%, io waiting 4.59%
--- shard 8 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane runner-thin: ./internal/runner/thin
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m ./internal/runner/thin
cache miss: amadan.net/oficina/equipo/internal/runner/thin: its inputs changed
budget note: internal/runner/thin took 4m30.325s, over the 45s its record on line 44 allows; reported only, timing fails on CI

receipt: test step 4m43.226s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 4m30.325s amadan.net/oficina/equipo/internal/runner/thin
receipt: slow test 36.98s amadan.net/oficina/equipo/internal/runner/thin TestModelsProbeAnsweredByAnotherModel
receipt: slow test 36.89s amadan.net/oficina/equipo/internal/runner/thin TestModelsEngineeringProbesThenRunsTheStrongest
receipt: slow test 36.81s amadan.net/oficina/equipo/internal/runner/thin TestModelsUnhealthyRetriedOnDemand
receipt: slow test 18.48s amadan.net/oficina/equipo/internal/runner/thin TestModelsProbeRunsInsideTheAdmission
receipt: slow test 7.13s amadan.net/oficina/equipo/internal/runner/thin TestOpenCodeStepsRealOpenCode
machine: 32 CPUs, load 2.09, cpu waiting 0.75%, memory waiting 0.00%, io waiting 0.03%
--- shard 9 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane runner-bug: ./internal/runner
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestDirectBugWorkflow$|^TestEnrolKeepsTheRole$' ./internal/runner
cache miss: amadan.net/oficina/equipo/internal/runner: its inputs changed

receipt: test step 47.584s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 46.432s amadan.net/oficina/equipo/internal/runner
receipt: slow test 26.4s amadan.net/oficina/equipo/internal/runner TestDirectBugWorkflow
receipt: slow test 20.03s amadan.net/oficina/equipo/internal/runner TestEnrolKeepsTheRole
machine: 32 CPUs, load 32.48, cpu waiting 20.51%, memory waiting 0.00%, io waiting 2.13%
--- shard 10 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane runner-plans: ./internal/runner
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestPlanWorkflowCandidateOrder$|^TestPlanWorkflowFeature$|^TestCoordinatorRecoveryCallRefusalKeepsServing$|^TestCoordinatorRefusalMatrix$' ./internal/runner
cache miss: amadan.net/oficina/equipo/internal/runner: its inputs changed

receipt: test step 47.12s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 45.178s amadan.net/oficina/equipo/internal/runner
receipt: slow test 35.25s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowCandidateOrder
receipt: slow test 32.16s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowFeature
receipt: slow test 8.37s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryCallRefusalKeepsServing
receipt: slow test 1.54s amadan.net/oficina/equipo/internal/runner TestCoordinatorRefusalMatrix
machine: 32 CPUs, load 32.48, cpu waiting 20.51%, memory waiting 0.00%, io waiting 2.13%
--- shard 11 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane runner-rest: ./internal/runner
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -skip '^TestDirectBugWorkflow$|^TestEnrolKeepsTheRole$|^TestPlanWorkflowCandidateOrder$|^TestPlanWorkflowFeature$|^TestCoordinatorRecoveryCallRefusalKeepsServing$|^TestCoordinatorRefusalMatrix$' ./internal/runner
cache miss: amadan.net/oficina/equipo/internal/runner: its inputs changed

receipt: test step 34.91s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 34.021s amadan.net/oficina/equipo/internal/runner
receipt: slow test 5.12s amadan.net/oficina/equipo/internal/runner TestDirectFaultIsolation
receipt: slow test 3.56s amadan.net/oficina/equipo/internal/runner TestClaimRefusalsBackOff
receipt: slow test 3.12s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryRefusedKeepsServing
receipt: slow test 1.99s amadan.net/oficina/equipo/internal/runner TestToolVerbUnderFakeHarness
receipt: slow test 1.61s amadan.net/oficina/equipo/internal/runner TestReportPostsRetryExactRequest
machine: 32 CPUs, load 28.36, cpu waiting 14.03%, memory waiting 0.00%, io waiting 2.69%
--- shard 12 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: equipotest-a started 30s late; cpu waiting 27.6%, load 25.08
test lane equipotest-a: ./internal/equipotest
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^Test[A-D]|^TestQ' ./internal/equipotest
cache miss: amadan.net/oficina/equipo/internal/equipotest: its inputs changed

receipt: test step 1m5.09s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m3.235s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 27.22s amadan.net/oficina/equipo/internal/equipotest TestAuthorityCoreIntegration
receipt: slow test 27.12s amadan.net/oficina/equipo/internal/equipotest TestBootstrapNamesOwnersSetting
receipt: slow test 25.17s amadan.net/oficina/equipo/internal/equipotest TestAccountLabelMigration
receipt: slow test 22.64s amadan.net/oficina/equipo/internal/equipotest TestBudgetConfigurationFailuresAreAtomic
receipt: slow test 22.42s amadan.net/oficina/equipo/internal/equipotest TestAccountLabelDuplicates
machine: 32 CPUs, load 30.36, cpu waiting 17.41%, memory waiting 0.00%, io waiting 0.95%
--- shard 13 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: equipotest-e started 30s late; cpu waiting 27.6%, load 25.08
test lane equipotest-e: ./internal/equipotest
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^Test[E-P]' ./internal/equipotest

receipt: test step 429ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 1m14.081s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 19.43s amadan.net/oficina/equipo/internal/equipotest TestProjectsSharedAndGrouped
receipt: slow test 19.43s amadan.net/oficina/equipo/internal/equipotest TestProjectRejectsUnsafeBinding
receipt: slow test 19.41s amadan.net/oficina/equipo/internal/equipotest TestProjectsFailuresRollBack
receipt: slow test 19.38s amadan.net/oficina/equipo/internal/equipotest TestProjectOwnersAreMembers
receipt: slow test 19.3s amadan.net/oficina/equipo/internal/equipotest TestProjectKindsAndDefaultBranch
machine: 32 CPUs, load 25.08, cpu waiting 11.14%, memory waiting 0.00%, io waiting 2.87%
--- shard 14 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: equipotest-r started 30s late; cpu waiting 27.6%, load 25.08
test lane equipotest-r: ./internal/equipotest
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestR' ./internal/equipotest
cache miss: amadan.net/oficina/equipo/internal/equipotest: its inputs changed

receipt: test step 1m15.127s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m3.775s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 14.57s amadan.net/oficina/equipo/internal/equipotest TestReleaseStampContract
receipt: slow test 13.2s amadan.net/oficina/equipo/internal/equipotest TestRosterChangesAffectExistingSession
receipt: slow test 10.17s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalRollsBack
receipt: slow test 10.15s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalWhileAssigned
receipt: slow test 7.11s amadan.net/oficina/equipo/internal/equipotest TestRosterBootstrapOnce
machine: 32 CPUs, load 26.00, cpu waiting 14.75%, memory waiting 0.00%, io waiting 0.80%
--- shard 15 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: equipotest-rest started 30s late; cpu waiting 27.6%, load 25.08
test lane equipotest-rest: ./internal/equipotest
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -skip '^Test[A-D]|^TestQ|^Test[E-P]|^TestR' ./internal/equipotest

receipt: test step 421ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 1m6.433s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 25.51s amadan.net/oficina/equipo/internal/equipotest TestSigninNoProof
receipt: slow test 24.68s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedExistingTeam
receipt: slow test 24.62s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedRollback
receipt: slow test 22.72s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedOnce
receipt: slow test 22.66s amadan.net/oficina/equipo/internal/equipotest TestSpecialistSettingsRollbackAndUnavailable
machine: 32 CPUs, load 25.08, cpu waiting 11.14%, memory waiting 0.00%, io waiting 2.87%
--- shard 16 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: plan3test started 30s late; cpu waiting 27.6%, load 25.08
test lane plan3test: ./internal/plan3test
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m ./internal/plan3test

receipt: test step 48.786s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 47.181s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 3.5s amadan.net/oficina/equipo/internal/plan3test TestPlan3Upgrade
receipt: slow test 3.44s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3B
receipt: slow test 1.42s amadan.net/oficina/equipo/internal/plan3test TestConversationQuestionRace
receipt: slow test 1.32s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3A
receipt: slow test 1.18s amadan.net/oficina/equipo/internal/plan3test TestPlanMigrationUpgrade
machine: 32 CPUs, load 34.58, cpu waiting 21.87%, memory waiting 0.00%, io waiting 1.29%
--- shard 17 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: rest started 30s late; cpu waiting 27.6%, load 25.08
test lane rest: ./cmd/equipo ./cmd/equipo-runner ./cmd/equipo-tool-proxy ./internal/advice ./internal/attach ./internal/attach/attachtest ./internal/chatmarkdown ./internal/chatsend ./internal/chatstream ./internal/coordinator ./internal/coordinatorcontract ./internal/coordinatormail ./internal/copydesk ./internal/equipo ./internal/equipo/activity ./internal/equipo/assist ./internal/equipo/chat ./internal/equipo/conversation ./internal/equipo/conversation/chatstate ./internal/equipo/housekeeping ./internal/equipo/icons ./internal/equipo/identity ./internal/equipo/kernel ./internal/equipo/library ./internal/equipo/mergegate ./internal/equipo/notifications ./internal/equipo/oficina ./internal/equipo/oficina/oficinatest ./internal/equipo/oficinaid ./internal/equipo/ownermode ./internal/equipo/personapi ./internal/equipo/planning ./internal/equipo/setup ./internal/equipo/team ./internal/equipo/teamcontract ./internal/equipo/triage ./internal/fakeclaude ./internal/fakecodex ./internal/fakeopencode ./internal/fakepi ./internal/idtest ./internal/ownermodetest ./internal/release ./internal/runner/checks ./internal/runner/connect ./internal/runner/containment ./internal/runner/containment/sysunix ./internal/runner/egress ./internal/runner/forge ./internal/runner/forge/forgetest ./internal/runner/heartbeat ./internal/runner/mac ./internal/runner/mcpresource ./internal/runner/metered ./internal/runner/planflow ./internal/runner/provider ./internal/runner/provider/claude ./internal/runner/provider/codex ./internal/runner/provider/gotoolchain ./internal/runner/provider/opencode ./internal/runner/provider/pi ./internal/runner/setup ./internal/runner/transporttest ./internal/runner/webread ./internal/runner/workspace ./internal/runnerproto ./internal/schedule ./internal/sealbox ./internal/specialist ./internal/stagingtest ./internal/taskplan ./internal/testci ./internal/toolproxy ./internal/websource ./internal/wire ./internal/wire/wireschema ./internal/wire/wiretest ./tools/drive
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m ./cmd/equipo ./cmd/equipo-runner ./cmd/equipo-tool-proxy ./internal/advice ./internal/attach ./internal/attach/attachtest ./internal/chatmarkdown ./internal/chatsend ./internal/chatstream ./internal/coordinator ./internal/coordinatorcontract ./internal/coordinatormail ./internal/copydesk ./internal/equipo ./internal/equipo/activity ./internal/equipo/assist ./internal/equipo/chat ./internal/equipo/conversation ./internal/equipo/conversation/chatstate ./internal/equipo/housekeeping ./internal/equipo/icons ./internal/equipo/identity ./internal/equipo/kernel ./internal/equipo/library ./internal/equipo/mergegate ./internal/equipo/notifications ./internal/equipo/oficina ./internal/equipo/oficina/oficinatest ./internal/equipo/oficinaid ./internal/equipo/ownermode ./internal/equipo/personapi ./internal/equipo/planning ./internal/equipo/setup ./internal/equipo/team ./internal/equipo/teamcontract ./internal/equipo/triage ./internal/fakeclaude ./internal/fakecodex ./internal/fakeopencode ./internal/fakepi ./internal/idtest ./internal/ownermodetest ./internal/release ./internal/runner/checks ./internal/runner/connect ./internal/runner/containment ./internal/runner/containment/sysunix ./internal/runner/egress ./internal/runner/forge ./internal/runner/forge/forgetest ./internal/runner/heartbeat ./internal/runner/mac ./internal/runner/mcpresource ./internal/runner/metered ./internal/runner/planflow ./internal/runner/provider ./internal/runner/provider/claude ./internal/runner/provider/codex ./internal/runner/provider/gotoolchain ./internal/runner/provider/opencode ./internal/runner/provider/pi ./internal/runner/setup ./internal/runner/transporttest ./internal/runner/webread ./internal/runner/workspace ./internal/runnerproto ./internal/schedule ./internal/sealbox ./internal/specialist ./internal/stagingtest ./internal/taskplan ./internal/testci ./internal/toolproxy ./internal/websource ./internal/wire ./internal/wire/wireschema ./internal/wire/wiretest ./tools/drive
cache miss: amadan.net/oficina/equipo/internal/copydesk: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/webread: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/opencode: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/forge: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/claude: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/workspace: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/equipo/team: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/codex: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/checks: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/containment: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/pi: its inputs changed
budget note: internal/equipo took 25.955s, over the 10s the default allows (measured on the run this cached result came from); reported only, timing fails on CI
budget note: internal/equipo/chat took 13.726s, over the 10s the default allows (measured on the run this cached result came from); reported only, timing fails on CI
budget note: internal/equipo/setup took 10.311s, over the 10s the default allows (measured on the run this cached result came from); reported only, timing fails on CI
budget note: internal/idtest took 47.583s, over the 10s the default allows (measured on the run this cached result came from); reported only, timing fails on CI
budget note: internal/release took 11.049s, over the 10s the default allows (measured on the run this cached result came from); reported only, timing fails on CI
budget note: internal/runner/containment took 39.66s, over the 15s its record on line 40 allows; reported only, timing fails on CI

receipt: test step 2m17.376s against a 60s target (the gate's other steps are not in this figure)
receipt: 11 packages ran, 49 cached, 18 without tests, 0 failed
receipt: slow package 53.721s amadan.net/oficina/equipo/internal/runner/provider/opencode
receipt: slow package 52.412s amadan.net/oficina/equipo/internal/runner/provider/pi
receipt: slow package 47.583s amadan.net/oficina/equipo/internal/idtest
receipt: slow package 39.66s amadan.net/oficina/equipo/internal/runner/containment
receipt: slow package 37.279s amadan.net/oficina/equipo/internal/runner/checks
receipt: slow test 25.15s amadan.net/oficina/equipo/cmd/equipo-runner TestReleaseRunnerHasNoFakeWorker
receipt: slow test 22.27s amadan.net/oficina/equipo/internal/runner/provider/opencode TestOpenCodeAcceptanceHostileRepository
receipt: slow test 15.95s amadan.net/oficina/equipo/internal/idtest TestIDCallbackGuardAndPendingNonce
receipt: slow test 15.45s amadan.net/oficina/equipo/internal/runner/containment TestEngineeringOfflineGo
receipt: slow test 9.52s amadan.net/oficina/equipo/internal/runner/containment TestEngineeringMissingModuleCache
machine: 32 CPUs, load 10.32, cpu waiting 5.27%, memory waiting 0.00%, io waiting 0.28%
--- shard 18 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
browser: /opt/chromium-156.0.8078.79-1_deb13u1/chrome: Chromium 156.0.8078.79
browser lane browser-headless-chat: ./internal/headless
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^TestBrowserChat$|^TestBrowserChatSendStaysOnPage$|^TestBrowserComposer$|^TestBrowserComposerReconcile$|^TestBrowserComposerFocus$|^TestBrowserComposerDock$|^TestBrowserDraftStreamsFormatted$|^TestBrowserDraftIsTheMessage$' ./internal/headless

receipt: test step 1m22.199s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m20.754s amadan.net/oficina/equipo/internal/headless
receipt: slow test 37.4s amadan.net/oficina/equipo/internal/headless TestBrowserDraftIsTheMessage
receipt: slow test 15.05s amadan.net/oficina/equipo/internal/headless TestBrowserDraftStreamsFormatted
receipt: slow test 10.25s amadan.net/oficina/equipo/internal/headless TestBrowserChat
receipt: slow test 7.7s amadan.net/oficina/equipo/internal/headless TestBrowserComposer
receipt: slow test 5.93s amadan.net/oficina/equipo/internal/headless TestBrowserChatSendStaysOnPage
machine: 32 CPUs, load 33.41, cpu waiting 21.29%, memory waiting 0.00%, io waiting 1.20%
--- shard 19 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
browser: /opt/chromium-156.0.8078.79-1_deb13u1/chrome: Chromium 156.0.8078.79
browser lane browser-headless-work: ./internal/headless
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^TestBrowserTaskCard$|^TestBrowserReceiptFollowsReview$|^TestBrowserRailFollowsWork$|^TestBrowserTaskThread$|^TestBrowserAskAfterMerge$|^TestBrowserReceiptsDesktop$|^TestBrowserReceiptsTouch$' ./internal/headless

receipt: test step 1m31.499s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m30.217s amadan.net/oficina/equipo/internal/headless
receipt: slow test 25.85s amadan.net/oficina/equipo/internal/headless TestBrowserRailFollowsWork
receipt: slow test 22.51s amadan.net/oficina/equipo/internal/headless TestBrowserTaskThread
receipt: slow test 13.95s amadan.net/oficina/equipo/internal/headless TestBrowserReceiptFollowsReview
receipt: slow test 9.97s amadan.net/oficina/equipo/internal/headless TestBrowserAskAfterMerge
receipt: slow test 8.13s amadan.net/oficina/equipo/internal/headless TestBrowserTaskCard
machine: 32 CPUs, load 30.36, cpu waiting 17.97%, memory waiting 0.00%, io waiting 0.98%
--- shard 20 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
browser: /opt/chromium-156.0.8078.79-1_deb13u1/chrome: Chromium 156.0.8078.79
browser lane browser-headless-connections: ./internal/headless
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^TestBrowserConnections|^TestBrowserPasteBox$|^TestBrowserPasteCopiesItsBox$' ./internal/headless
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed

receipt: test step 1m39.525s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m37.927s amadan.net/oficina/equipo/internal/headless
receipt: slow test 13.74s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsConversation
receipt: slow test 12.88s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAddPage
receipt: slow test 12.86s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAdd
receipt: slow test 10.27s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsOpenCodeGoLimitRequired
receipt: slow test 10.18s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsMeteredLimitRequired
machine: 32 CPUs, load 28.08, cpu waiting 16.29%, memory waiting 0.00%, io waiting 0.89%
--- shard 21 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
browser: /opt/chromium-156.0.8078.79-1_deb13u1/chrome: Chromium 156.0.8078.79
browser lane browser-headless-rest: ./internal/headless
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestBrowserAskAfterMerge|TestBrowserChat|TestBrowserChatSendStaysOnPage|TestBrowserComposer|TestBrowserComposerDock|TestBrowserComposerFocus|TestBrowserComposerReconcile|TestBrowserConnectionsAdd|TestBrowserConnectionsAddPage|TestBrowserConnectionsConversation|TestBrowserConnectionsCopyLink|TestBrowserConnectionsEndedNote|TestBrowserConnectionsMeteredLimitRequired|TestBrowserConnectionsOpenCodeGoLimitRequired|TestBrowserConnectionsSignIn|TestBrowserConnectionsSignInSwitch|TestBrowserConnectionsToken|TestBrowserCopyContinue|TestBrowserCopySettingAndFlag|TestBrowserDraftIsTheMessage|TestBrowserDraftStreamsFormatted|TestBrowserEmptyExplore|TestBrowserMoveIn|TestBrowserNotebook|TestBrowserNotebookLook|TestBrowserPasteBox|TestBrowserPasteBoxLook|TestBrowserPasteCopiesItsBox|TestBrowserRailFollowsWork|TestBrowserReceiptFollowsReview|TestBrowserReceiptsDesktop|TestBrowserReceiptsTouch|TestBrowserRefreshRace|TestBrowserStalePageReloads|TestBrowserTaskCard|TestBrowserTaskThread|TestBrowserThinkingAndCards|TestBrowserUsageAndAdvice|TestBrowserWaitingTurns|TestNotebookScreenshots)$' -skip '^TestBrowserChat$|^TestBrowserChatSendStaysOnPage$|^TestBrowserComposer$|^TestBrowserComposerReconcile$|^TestBrowserComposerFocus$|^TestBrowserComposerDock$|^TestBrowserDraftStreamsFormatted$|^TestBrowserDraftIsTheMessage$|^TestBrowserTaskCard$|^TestBrowserReceiptFollowsReview$|^TestBrowserRailFollowsWork$|^TestBrowserTaskThread$|^TestBrowserAskAfterMerge$|^TestBrowserReceiptsDesktop$|^TestBrowserReceiptsTouch$|^TestBrowserConnections|^TestBrowserPasteBox$|^TestBrowserPasteCopiesItsBox$' ./internal/headless
rastrillo: budget test: go test failed
--- FAIL amadan.net/oficina/equipo/internal/headless TestBrowserCopyContinue
=== RUN   TestBrowserCopyContinue
time=2026-11-19T15:26:38.822Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-19T15:26:38.822Z level=INFO msg="startup phase done" phase=state_lock took=136µs
time=2026-11-19T15:26:38.822Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-19T15:26:38.822Z level=INFO msg="startup phase done" phase=claim_roots took=116µs
time=2026-11-19T15:26:38.822Z level=INFO msg="startup phase" phase=sweep
time=2026-11-19T15:26:38.856Z level=INFO msg="startup phase done" phase=sweep took=33.659ms
time=2026-11-19T15:26:38.856Z level=INFO msg="startup phase" phase=credentials
time=2026-11-19T15:26:38.856Z level=INFO msg="startup phase done" phase=credentials took=137µs
time=2026-11-19T15:26:38.856Z level=INFO msg="startup phase" phase=open_state
time=2026-11-19T15:26:38.897Z level=INFO msg="startup phase done" phase=open_state took=40.805ms
time=2026-11-19T15:26:38.897Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-19T15:26:38.899Z level=INFO msg=connecting host=127.0.0.1:41203 protocol=28
time=2026-11-19T15:26:38.900Z level=INFO msg=connected host=127.0.0.1:41203 took=865µs
time=2026-11-19T15:26:38.900Z level=INFO msg="capabilities gathering"
time=2026-11-19T15:26:38.903Z level=INFO msg="capabilities gathered" took=2.555ms tags=linux,claude,go
time=2026-11-19T15:26:38.907Z level=INFO msg="hello sent" protocol=28
time=2026-11-19T15:26:38.913Z level=INFO msg=welcome protocol=28 role=primary generation=1
    browser_copy_test.go:93: continue did not reach Checks: 0 <nil>
--- FAIL: TestBrowserCopyContinue (1.79s)

--- FAIL amadan.net/oficina/equipo/internal/headless TestBrowserEmptyExplore
=== RUN   TestBrowserEmptyExplore
time=2026-11-19T15:27:09.857Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-19T15:27:09.858Z level=INFO msg="startup phase done" phase=state_lock took=157µs
time=2026-11-19T15:27:09.858Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-19T15:27:09.858Z level=INFO msg="startup phase done" phase=claim_roots took=124µs
time=2026-11-19T15:27:09.858Z level=INFO msg="startup phase" phase=sweep
time=2026-11-19T15:27:09.891Z level=INFO msg="startup phase done" phase=sweep took=33.167ms
time=2026-11-19T15:27:09.891Z level=INFO msg="startup phase" phase=credentials
time=2026-11-19T15:27:09.891Z level=INFO msg="startup phase done" phase=credentials took=107µs
time=2026-11-19T15:27:09.891Z level=INFO msg="startup phase" phase=open_state
time=2026-11-19T15:27:09.931Z level=INFO msg="startup phase done" phase=open_state took=39.575ms
time=2026-11-19T15:27:09.931Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-19T15:27:09.932Z level=INFO msg=connecting host=127.0.0.1:35583 protocol=28
time=2026-11-19T15:27:09.933Z level=INFO msg=connected host=127.0.0.1:35583 took=1.103ms
time=2026-11-19T15:27:09.933Z level=INFO msg="capabilities gathering"
time=2026-11-19T15:27:09.933Z level=INFO msg="capabilities gathered" took=415µs tags=linux,claude,go
time=2026-11-19T15:27:09.937Z level=INFO msg="hello sent" protocol=28
time=2026-11-19T15:27:09.938Z level=INFO msg=welcome protocol=28 role=primary generation=1
time=2026-11-19T15:27:11.013Z level=INFO msg="connection checked" connection=claude-1 state=healthy
    browser_receipts_test.go:169: waiting for [...document.querySelectorAll('[equipo-markdown]:not([data-stream-text])')].some(e=>e.textContent.includes("I'm your coordinator")): context deadline exceeded (last evaluation: context deadline exceeded)
--- FAIL: TestBrowserEmptyExplore (5.76s)

--- FAIL amadan.net/oficina/equipo/internal/headless (package output)
FAIL
rastrillo-budget/v1 ran 1m26.255s
FAIL	amadan.net/oficina/equipo/internal/headless	86.543s


receipt: test step 1m27.668s against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 0 cached, 0 without tests, 1 failed
receipt: slow package 1m26.255s amadan.net/oficina/equipo/internal/headless
receipt: slow test 15.12s amadan.net/oficina/equipo/internal/headless TestBrowserThinkingAndCards
receipt: slow test 10.85s amadan.net/oficina/equipo/internal/headless TestBrowserWaitingTurns
receipt: slow test 10.43s amadan.net/oficina/equipo/internal/headless TestBrowserMoveIn
receipt: slow test 10.26s amadan.net/oficina/equipo/internal/headless TestBrowserStalePageReloads
receipt: slow test 7.85s amadan.net/oficina/equipo/internal/headless TestBrowserRefreshRace
exit status 1
+ go test -tags browser,testbuild -timeout 15m -run '^(TestBrowserAskAfterMerge|TestBrowserChat|TestBrowserChatSendStaysOnPage|TestBrowserComposer|TestBrowserComposerDock|TestBrowserComposerFocus|TestBrowserComposerReconcile|TestBrowserConnectionsAdd|TestBrowserConnectionsAddPage|TestBrowserConnectionsConversation|TestBrowserConnectionsCopyLink|TestBrowserConnectionsEndedNote|TestBrowserConnectionsMeteredLimitRequired|TestBrowserConnectionsOpenCodeGoLimitRequired|TestBrowserConnectionsSignIn|TestBrowserConnectionsSignInSwitch|TestBrowserConnectionsToken|TestBrowserCopyContinue|TestBrowserCopySettingAndFlag|TestBrowserDraftIsTheMessage|TestBrowserDraftStreamsFormatted|TestBrowserEmptyExplore|TestBrowserMoveIn|TestBrowserNotebook|TestBrowserNotebookLook|TestBrowserPasteBox|TestBrowserPasteBoxLook|TestBrowserPasteCopiesItsBox|TestBrowserRailFollowsWork|TestBrowserReceiptFollowsReview|TestBrowserReceiptsDesktop|TestBrowserReceiptsTouch|TestBrowserRefreshRace|TestBrowserStalePageReloads|TestBrowserTaskCard|TestBrowserTaskThread|TestBrowserThinkingAndCards|TestBrowserUsageAndAdvice|TestBrowserWaitingTurns|TestNotebookScreenshots)$' -skip '^TestBrowserChat$|^TestBrowserChatSendStaysOnPage$|^TestBrowserComposer$|^TestBrowserComposerReconcile$|^TestBrowserComposerFocus$|^TestBrowserComposerDock$|^TestBrowserDraftStreamsFormatted$|^TestBrowserDraftIsTheMessage$|^TestBrowserTaskCard$|^TestBrowserReceiptFollowsReview$|^TestBrowserRailFollowsWork$|^TestBrowserTaskThread$|^TestBrowserAskAfterMerge$|^TestBrowserReceiptsDesktop$|^TestBrowserReceiptsTouch$|^TestBrowserConnections|^TestBrowserPasteBox$|^TestBrowserPasteCopiesItsBox$' -v -run '^TestBrowserCopyContinue$|^TestBrowserEmptyExplore$' -count=1 ./internal/headless   (retry, once)
##############################################################################
FLAKE ./internal/headless:TestBrowserCopyContinue browser-headless-rest 2b7c66aab4d61c943938c0141bb6699fc87f9f94 1.79s 31.78
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
##############################################################################
FLAKE ./internal/headless:TestBrowserEmptyExplore browser-headless-rest 2b7c66aab4d61c943938c0141bb6699fc87f9f94 5.76s 31.78
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
machine: 32 CPUs, load 28.08, cpu waiting 16.29%, memory waiting 0.00%, io waiting 0.89%
--- shard 22 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
browser: /opt/chromium-156.0.8078.79-1_deb13u1/chrome: Chromium 156.0.8078.79
browser lane browser-rest: ./internal/equipo
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestBrowserPreviewBlocksNavigation)$' ./internal/equipo

receipt: test step 382ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 701ms amadan.net/oficina/equipo/internal/equipo
receipt: slow test 700ms amadan.net/oficina/equipo/internal/equipo TestBrowserPreviewBlocksNavigation
browser lane browser-rest: ./internal/idtest
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestBrowserOficinaIDDoor)$' ./internal/idtest

receipt: test step 281ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 1.631s amadan.net/oficina/equipo/internal/idtest
receipt: slow test 1.63s amadan.net/oficina/equipo/internal/idtest TestBrowserOficinaIDDoor
browser lane browser-rest: ./internal/plan3test
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestTeamsHierarchyBrowser)$' ./internal/plan3test

receipt: test step 2.941s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1.794s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 1.79s amadan.net/oficina/equipo/internal/plan3test TestTeamsHierarchyBrowser
browser lane browser-rest: ./internal/thintest
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestBrowserAccessEmojiByline|TestBrowserAccessFinalOutcomes|TestBrowserAccessRequest|TestBrowserAccessReview|TestBrowserActivitySubjects|TestBrowserAutonomySettings|TestBrowserCoordinatorQueue|TestBrowserHousekeeping|TestBrowserInnerGallery|TestBrowserInnerScreens|TestBrowserInstantThinking|TestBrowserInstantThinkingQueued|TestBrowserMachines|TestBrowserPhoneIndex|TestBrowserPlacementQuestionAndPending|TestBrowserProjectPlacement|TestBrowserProjectsList|TestBrowserReportActionFeedback|TestBrowserReportNextSteps|TestBrowserReportThread|TestBrowserRollup|TestBrowserRosterAlignment|TestBrowserRosterDecisionStates|TestBrowserRosterQuietDay|TestBrowserRosterReports|TestBrowserRosterSetAside|TestBrowserRosterSubchat|TestBrowserRosterThinking|TestBrowserRosterVisual|TestBrowserSettingsHousekeepingGroups|TestBrowserSettingsMenu|TestBrowserSettingsRail|TestBrowserSettingsSaveBar|TestBrowserSettingsShots|TestBrowserSettingsStayOnPage|TestBrowserSettingsTeams|TestBrowserShipsButtons|TestBrowserSpecialistRows|TestBrowserSpendFollowsAnswers|TestBrowserTaskRows|TestBrowserTeamPanel|TestBrowserThinkingCycles|TestBrowserThinkingLinesClear|TestBrowserThinkingWords|TestBrowserTokenRowEmail|TestBrowserTrackStarCentre)$' ./internal/thintest

receipt: test step 408ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 3m4.809s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 17.42s amadan.net/oficina/equipo/internal/thintest TestBrowserAccessRequest
receipt: slow test 14.34s amadan.net/oficina/equipo/internal/thintest TestBrowserSettingsTeams
receipt: slow test 10.61s amadan.net/oficina/equipo/internal/thintest TestBrowserPlacementQuestionAndPending
receipt: slow test 9.34s amadan.net/oficina/equipo/internal/thintest TestBrowserInnerScreens
receipt: slow test 9.15s amadan.net/oficina/equipo/internal/thintest TestBrowserThinkingCycles
machine: 32 CPUs, load 7.08, cpu waiting 2.30%, memory waiting 0.00%, io waiting 4.29%
--- shard 23 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
shard 23: make test-quarantine
python3 scripts/ci-test.py quarantine
quarantine: 12 tests from scripts/ci-quarantine.txt; a failure is retried once, and a pass on the retry is reported as a flake
+ go test -tags testbuild -timeout 15m -v -run '^TestHeadlessConnections$/^A5_cancel_and_sign_out$|^TestHeadlessConnections$/^C4_claude_sign_in$|^TestHeadlessConnections$/^C5_engineering_failover$|^TestHeadlessConnections$/^C5_engineering_to_codex$|^TestHeadlessConnections$/^C5_engineering_waits$' ./internal/headless   (52s)
ok ./internal/headless TestHeadlessConnections/A5_cancel_and_sign_out 5.30s
ok ./internal/headless TestHeadlessConnections/C4_claude_sign_in 1.27s
ok ./internal/headless TestHeadlessConnections/C5_engineering_failover 9.32s
ok ./internal/headless TestHeadlessConnections/C5_engineering_to_codex 9.82s
ok ./internal/headless TestHeadlessConnections/C5_engineering_waits 24.55s
+ go test -tags testbuild -timeout 15m -v -run '^TestHeadlessConnections$/^C5_review_auth$|^TestHeadlessConnections$/^C5_review_failover$|^TestHeadlessConnections$/^C5_review_on_codex$|^TestHeadlessConnections$/^C5_review_other_family_first$' ./internal/headless   (63s)
ok ./internal/headless TestHeadlessConnections/C5_review_auth 23.56s
ok ./internal/headless TestHeadlessConnections/C5_review_failover 12.49s
ok ./internal/headless TestHeadlessConnections/C5_review_on_codex 11.38s
ok ./internal/headless TestHeadlessConnections/C5_review_other_family_first 13.10s
+ go test -tags testbuild -timeout 15m -v -run '^TestMixedVersions$' ./internal/headless   (21s)
ok ./internal/headless TestMixedVersions 19.86s
+ go test -tags testbuild -timeout 15m -v -run '^TestCheckSandboxDeniedPathsTampering$' ./internal/runner/checks   (1s)
ok ./internal/runner/checks TestCheckSandboxDeniedPathsTampering 0.79s
+ go test -tags testbuild -timeout 15m -v -run '^TestRunnerCancelAndSupersede$' ./internal/runner/thin   (1s)
ok ./internal/runner/thin TestRunnerCancelAndSupersede 0.05s
quarantine: 0 flaked (passed on the retry), 0 failed
machine: 32 CPUs, load 34.37, cpu waiting 21.98%, memory waiting 0.00%, io waiting 1.63%
--- shard 24 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
shard 24: make runner-host
python3 scripts/runner-prerequisites.py
CGO_ENABLED=0 RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py retried runner-host -run 'TestDirect|TestProvider|TestCheckSandbox' -count=1 ./internal/runner/provider/... ./internal/runner/checks
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -no-time -run 'TestDirect|TestProvider|TestCheckSandbox' -count=1 ./internal/runner/provider/... ./internal/runner/checks

receipt: test step 8.361s against a 60s target (the gate's other steps are not in this figure)
receipt: 4 packages ran, 0 cached, 3 without tests, 0 failed
receipt: slow package 7.275s amadan.net/oficina/equipo/internal/runner/checks
receipt: slow package 150ms amadan.net/oficina/equipo/internal/runner/provider/claude
receipt: slow package 61ms amadan.net/oficina/equipo/internal/runner/provider/codex
receipt: slow package 8ms amadan.net/oficina/equipo/internal/runner/provider
receipt: slow package 1ms amadan.net/oficina/equipo/internal/runner/provider/pi
receipt: slow test 5.22s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsGoFixture
receipt: slow test 1.66s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPaths
receipt: slow test 310ms amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsCache
receipt: slow test 150ms amadan.net/oficina/equipo/internal/runner/provider/claude TestDirectJournalAdapterBarrier
receipt: slow test 80ms amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxToolchain
CGO_ENABLED=0 RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py retried runner-host -run '^TestNamespace' -count=1 ./internal/runner/containment
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -no-time -run '^TestNamespace' -count=1 ./internal/runner/containment

receipt: test step 3.062s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 2.749s amadan.net/oficina/equipo/internal/runner/containment
receipt: slow test 270ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceReadOnlyScratch
receipt: slow test 180ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceRecoveryUnavailableProof
receipt: slow test 120ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceDirectPolicyAdmission
receipt: slow test 100ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceRecoveryCleansScratch
receipt: slow test 100ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceReapsOrphans
machine: 32 CPUs, load 10.21, cpu waiting 4.56%, memory waiting 0.00%, io waiting 3.88%
--- shard 25 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: runner-dead-references started 30s late; cpu waiting 27.6%, load 25.08
shard 25: make runner-dead-references lanes-check build vet fmt-check budget migration-check
python3 scripts/runner-dead-references.py
reference scan: 2430 text files, 2746 matches, 0 failures
python3 scripts/ci-test.py check
lanes: 18 lanes and 5 browser lanes run every test once; 20-check@29
CGO_ENABLED=0 go build ./...
CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -o /dev/null ./cmd/equipo-runner
go vet ./...
go vet -tags testbuild ./internal/runner/thin ./internal/headless
GOOS=darwin GOARCH=arm64 go vet ./cmd/equipo-runner/... ./internal/runner/... ./internal/wire/... ./internal/release/...
go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget size
budget size: 87 directories within budget
CGO_ENABLED=0 go test ./internal/equipo -run '^TestMigrationModels$' -count=1
ok  	amadan.net/oficina/equipo/internal/equipo	2.466s
machine: 32 CPUs, load 32.00, cpu waiting 19.73%, memory waiting 0.00%, io waiting 2.28%
--- shard 26 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: staticcheck started 30s late; cpu waiting 27.6%, load 25.08
shard 26: make staticcheck
go run honnef.co/go/tools/cmd/staticcheck@v0.7.0 -tags browser,perf,testbuild ./...
machine: 32 CPUs, load 28.36, cpu waiting 14.03%, memory waiting 0.00%, io waiting 2.69%
--- shard 27 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: govulncheck started 30s late; cpu waiting 27.6%, load 25.08
shard 27: make govulncheck
go run golang.org/x/vuln/cmd/govulncheck@v1.8.0 ./...
=== Symbol Results ===

No vulnerabilities found.

Your code is affected by 0 vulnerabilities.
This scan also found 0 vulnerabilities in packages you import and 5
vulnerabilities in modules you require, but your code doesn't appear to call
these vulnerabilities.
Use '-show verbose' for more details.
machine: 32 CPUs, load 30.17, cpu waiting 15.31%, memory waiting 0.00%, io waiting 2.60%
--- shard 28 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: gitleaks started 30s late; cpu waiting 27.6%, load 25.08
shard 28: make gitleaks
3:26PM INF Unknown SCM platform. Use --platform to include links in findings. host=amadan.net
3:26PM INF 1012 commits scanned.
3:26PM INF scanned ~59817082 bytes (59.82 MB) in 13.4s
3:26PM INF no leaks found
machine: 32 CPUs, load 32.00, cpu waiting 19.73%, memory waiting 0.00%, io waiting 2.28%
=== perf ===
go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -no-time -require TestPerfScreens,TestPerfBoot -tags perf -count=1 -p 1 -parallel 1 -run '^TestPerf' ./...
perf: GET /: median 1.179ms, worst 1.303ms, budget 150ms
perf: GET /api/runner/protocol: median 78µs, worst 106µs, budget 150ms
perf: GET /api/v1/account-setups/{id}: median 635µs, worst 696µs, budget 150ms
perf: GET /api/v1/accounts: median 457µs, worst 517µs, budget 150ms
perf: GET /api/v1/auth/devices: median 473µs, worst 527µs, budget 150ms
perf: GET /api/v1/budgets: median 517µs, worst 591µs, budget 150ms
perf: GET /api/v1/capabilities: median 258µs, worst 312µs, budget 150ms
perf: GET /api/v1/cards/{id}: median 1.503ms, worst 1.559ms, budget 150ms
perf: GET /api/v1/connections: median 621µs, worst 706µs, budget 150ms
perf: GET /api/v1/connections/{id}: median 569µs, worst 620µs, budget 150ms
perf: GET /api/v1/conversation: median 941µs, worst 1.01ms, budget 150ms
perf: GET /api/v1/conversation/cards: median 1.626ms, worst 1.723ms, budget 150ms
perf: GET /api/v1/coordinator: median 1.893ms, worst 1.952ms, budget 150ms
perf: GET /api/v1/invites/{id}: median 476µs, worst 500µs, budget 150ms
perf: GET /api/v1/journey: median 9.761ms, worst 9.945ms, budget 150ms
perf: GET /api/v1/me: median 517µs, worst 539µs, budget 150ms
perf: GET /api/v1/me/settings: median 602µs, worst 663µs, budget 150ms
perf: GET /api/v1/needs-you: median 9.603ms, worst 12.196ms, budget 150ms
perf: GET /api/v1/notifications: median 1.726ms, worst 1.813ms, budget 150ms
perf: GET /api/v1/onboarding: median 419µs, worst 430µs, budget 150ms
perf: GET /api/v1/people: median 456µs, worst 503µs, budget 150ms
perf: GET /api/v1/playbooks: median 602µs, worst 638µs, budget 150ms
perf: GET /api/v1/playbooks/{id}: median 549µs, worst 579µs, budget 150ms
perf: GET /api/v1/playbooks/{id}/template-diff: median 837µs, worst 882µs, budget 150ms
perf: GET /api/v1/preferences: median 754µs, worst 782µs, budget 150ms
perf: GET /api/v1/projects/{id}: median 462µs, worst 506µs, budget 150ms
perf: GET /api/v1/projects/{id}/settings: median 585µs, worst 625µs, budget 150ms
perf: GET /api/v1/roster: median 483µs, worst 524µs, budget 150ms
perf: GET /api/v1/runners/{id}: median 487µs, worst 535µs, budget 150ms
perf: GET /api/v1/specialists: median 8.308ms, worst 8.429ms, budget 150ms
perf: GET /api/v1/specialists/{id}: median 8.148ms, worst 8.267ms, budget 150ms
perf: GET /api/v1/specialists/{id}/template-diff: median 852µs, worst 893µs, budget 150ms
perf: GET /api/v1/tasks/{id}/plan: median 1.192ms, worst 1.259ms, budget 150ms
perf: GET /api/v1/tasks/{id}/thread: median 726µs, worst 826µs, budget 150ms
perf: GET /api/v1/teams: median 460µs, worst 476µs, budget 150ms
perf: GET /api/v1/templates: median 620µs, worst 684µs, budget 150ms
perf: GET /api/v1/templates/{id}: median 455µs, worst 523µs, budget 150ms
perf: GET /auth/callback: median 80µs, worst 105µs, budget 150ms
perf: GET /auth/devices/{id}: median 3.526ms, worst 3.6ms, budget 150ms
perf: GET /auth/verify: median 75µs, worst 103µs, budget 150ms
perf: GET /connections: median 3.921ms, worst 4.051ms, budget 150ms
perf: GET /conversation: median 7.701ms, worst 8.052ms, budget 150ms
perf: GET /conversation/connections: median 253µs, worst 276µs, budget 150ms
perf: GET /conversation/notebook: median 238µs, worst 274µs, budget 150ms
perf: GET /conversation/settings: median 4.065ms, worst 4.212ms, budget 150ms
perf: GET /conversation/settings/autonomy: median 3.887ms, worst 5.796ms, budget 150ms
perf: GET /conversation/settings/connections: median 6.778ms, worst 6.925ms, budget 150ms
perf: GET /conversation/settings/connections/add: median 6.898ms, worst 7.133ms, budget 150ms
perf: GET /conversation/settings/copy: median 3.842ms, worst 3.934ms, budget 150ms
perf: GET /conversation/settings/housekeeping: median 4.393ms, worst 4.465ms, budget 150ms
perf: GET /conversation/settings/machines: median 4.661ms, worst 4.847ms, budget 150ms
perf: GET /conversation/settings/machines/add: median 4.64ms, worst 4.85ms, budget 150ms
perf: GET /conversation/settings/notebook: median 3.404ms, worst 3.454ms, budget 150ms
perf: GET /conversation/settings/thinking: median 4.159ms, worst 4.25ms, budget 150ms
perf: GET /housekeeping: median 3.974ms, worst 6.603ms, budget 150ms
perf: GET /invites/new: median 611µs, worst 670µs, budget 150ms
perf: GET /invites/{id}: median 642µs, worst 687µs, budget 150ms
perf: GET /jobs: median 3.428ms, worst 3.554ms, budget 150ms
perf: GET /jobs/{id}: median 4.634ms, worst 4.826ms, budget 150ms
perf: GET /journey: median 10.552ms, worst 10.815ms, budget 150ms
perf: GET /nav/rail: median 3.072ms, worst 3.173ms, budget 150ms
perf: GET /needs-you: median 10.178ms, worst 10.447ms, budget 150ms
perf: GET /onboarding: median 4.033ms, worst 4.152ms, budget 150ms
perf: GET /people: median 3.413ms, worst 3.648ms, budget 150ms
perf: GET /playbook-suggestions/{suggestion}: median 4.823ms, worst 7.259ms, budget 150ms
perf: GET /playbooks: median 4.343ms, worst 4.676ms, budget 150ms
perf: GET /playbooks/new: median 4.44ms, worst 4.61ms, budget 150ms
perf: GET /playbooks/{id}: median 4.943ms, worst 5.118ms, budget 150ms
perf: GET /playbooks/{id}/edit: median 4.913ms, worst 4.977ms, budget 150ms
perf: GET /playbooks/{id}/template-diff: median 4ms, worst 4.159ms, budget 150ms
perf: GET /preferences: median 4.114ms, worst 4.268ms, budget 150ms
perf: GET /preferences/sources/{source}: median 4.149ms, worst 4.274ms, budget 150ms
perf: GET /projects: median 5.304ms, worst 5.476ms, budget 150ms
perf: GET /projects/accounts: median 3.635ms, worst 3.716ms, budget 150ms
perf: GET /projects/new: median 3.622ms, worst 3.75ms, budget 150ms
perf: GET /projects/{id}: median 10.917ms, worst 13.774ms, budget 150ms
perf: GET /projects/{id}/edit: median 3.648ms, worst 3.823ms, budget 150ms
perf: GET /runners/enrol: median 4.592ms, worst 4.699ms, budget 150ms
perf: GET /settings: median 3.426ms, worst 3.608ms, budget 150ms
perf: GET /settings/coordinator: median 5.614ms, worst 6.002ms, budget 150ms
perf: GET /settings/devices: median 3.377ms, worst 3.46ms, budget 150ms
perf: GET /settings/recovery: median 3.418ms, worst 3.484ms, budget 150ms
perf: GET /settings/recovery/release: median 3.37ms, worst 3.473ms, budget 150ms
perf: GET /settings/thinking: median 253µs, worst 289µs, budget 150ms
perf: GET /signin: median 297µs, worst 336µs, budget 150ms
perf: GET /specialists/new: median 3.414ms, worst 3.583ms, budget 150ms
perf: GET /specialists/{key}: median 13.023ms, worst 15.786ms, budget 150ms
perf: GET /specialists/{key}/edit: median 4.081ms, worst 4.277ms, budget 150ms
perf: GET /specialists/{key}/template-diff: median 4.245ms, worst 4.405ms, budget 150ms
perf: GET /tasks: median 5.934ms, worst 6.149ms, budget 150ms
perf: GET /tasks/new: median 3.667ms, worst 3.836ms, budget 150ms
perf: GET /tasks/{id}: median 6.256ms, worst 6.783ms, budget 150ms
perf: GET /tasks/{id}/merge: median 5.683ms, worst 5.83ms, budget 150ms
perf: GET /tasks/{id}/move: median 5.086ms, worst 5.308ms, budget 150ms
perf: GET /tasks/{id}/plan: median 5.958ms, worst 6.077ms, budget 150ms
perf: GET /tasks/{id}/preview: median 1.477ms, worst 1.606ms, budget 150ms
perf: GET /tasks/{id}/questions/{question}: median 5.102ms, worst 7.4ms, budget 150ms
perf: GET /tasks/{id}/rendered-change: median 4.99ms, worst 5.197ms, budget 150ms
perf: GET /tasks/{id}/rendered-change/{hash}.png: median 4.451ms, worst 4.816ms, budget 150ms
perf: GET /tasks/{id}/thread: median 8.287ms, worst 8.535ms, budget 150ms
perf: GET /team/{specialist}: median 4.397ms, worst 4.44ms, budget 150ms
perf: GET /teams: median 12.274ms, worst 12.712ms, budget 150ms
perf: GET /templates: median 3.625ms, worst 3.677ms, budget 150ms
perf: GET /usage: median 4.506ms, worst 4.841ms, budget 150ms
perf: GET /work: median 3.522ms, worst 3.647ms, budget 150ms
perf: cold boot: median 262ms of [259.753111ms 261.627298ms 262.454836ms], budget 500ms

receipt: test step 31.48s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 83 without tests, 0 failed
receipt: slow package 9.09s amadan.net/oficina/equipo/internal/equipotest
receipt: slow package 0s amadan.net/oficina/equipo/cmd/equipo-runner
receipt: slow package 0s amadan.net/oficina/equipo/cmd/equipo-tool-proxy
receipt: slow package 0s amadan.net/oficina/equipo/internal/advice
receipt: slow package 0s amadan.net/oficina/equipo/internal/attach
receipt: slow test 8.25s amadan.net/oficina/equipo/internal/equipotest TestPerfScreens
receipt: slow test 840ms amadan.net/oficina/equipo/internal/equipotest TestPerfBoot
=== cache ===
ci-box: build cache /home/ci/work/repos/oficina__equipo/cache/go-build: 2.68 GiB in 21261 files
ci-box: module cache /home/ci/work/repos/oficina__equipo/cache/go-mod: 0.84 GiB in 27329 files
diff --git a/docs/api/equipo-v1.md b/docs/api/equipo-v1.md
index f780ff17..b883b91b 100644
--- a/docs/api/equipo-v1.md
+++ b/docs/api/equipo-v1.md
@@ -1,8 +1,8 @@
# COPY ACCEPTED FOR NOW (Paul, 2026-11-04; iterate in context)
-Use Equipo's person API to build a client for one team's instance. The contract is in [equipo-v1.openapi.json](equipo-v1.openapi.json). Responses use JSON, timestamps use UTC, and IDs are opaque unless a field is explicitly an integer.
+Use Equipo’s person API to build a client for one team’s instance. The contract is in [equipo-v1.openapi.json](equipo-v1.openapi.json). JSON responses use UTC timestamps. IDs are opaque unless a field is explicitly an integer.
-A paired device and a signed-in browser are not answered the same way. A device bearer reads the conversation, tasks, projects and the event stream from the conversation engine; see "Talk to your Coordinator from a device" below. The rest of this page, up to that section, describes the routes a browser session uses, and the ones a device shares with it: sign-in, devices, `/me`, notifications and errors.
+Device bearers and browser sessions use different handlers on some routes. A device bearer reads the conversation, tasks, projects and events from the conversation engine. See “Talk to your Coordinator from a device” below. The preceding sections describe the earlier person API, including sign-in, devices, `/me`, notifications and errors shared by both clients. Person API routes use the `/api/v1` prefix.
For a signed-in browser on the instance, fetch `/api/v1/me` to check your identity. Fetch `/api/v1/conversation` to read your conversation. Send a message with `POST /api/v1/conversation/messages`, an `Idempotency-Key` header, and this body:
@@ -40,13 +40,15 @@ A verified invitation recipient can read their invitation and post its secret to
## Retry writes and handle revisions
-Every mutation on these routes needs an `Idempotency-Key` of 1–256 bytes. The conversation engine's routes for devices do not; they say below what they need instead. Resource updates also need `If-Match: "<revision>"`. Use the revision returned by GET, and retain the original key, body and revision until the result is known. Retrying identical input returns the saved result after current access is checked. Reusing a key for changed input conflicts.
+The earlier person API requires an `Idempotency-Key` on every mutation. Use a nonblank UTF-8 value of 1–256 bytes. Resource updates also need `If-Match: "<revision>"`. These header requirements do not apply to the conversation engine’s device routes. Use the body fields described in “Talk to your Coordinator from a device” and the contract for each operation.
-A stale revision returns `409 revision_conflict`, with `current_revision` when the resource is visible. Fetch the current value before making a new decision. Missing preconditions return 428. Invalid fields return 422. Missing identity returns 401; denied access returns 403; unavailable or private resources return 404. Query or runner unavailability returns 503.
+Use the revision returned by GET. Keep the original key, body and revision until the result is known. Retrying identical input returns the saved result after current access is checked. Reusing a key for changed input conflicts.
-Project settings use one ETag for the combined settings visible to you. PATCH with an `action` of `approval`, `default_playbook`, or `rules`. Personal settings permit the `approval` action, including an empty approval mode to inherit the team setting. Connection choices have their own `connections_revision` in the settings response; use it for `PUT /projects/{id}/connections`. Owner roster entries and device list entries likewise carry their own resource revisions. Budgets use revision zero until configured.
+A stale revision returns `409 revision_conflict`, with `current_revision` when the resource is visible. Fetch the current value before making a new decision. Missing preconditions return 428. Invalid fields return 422. Missing identity returns 401. Denied access returns 403. Missing or private resources return 404. Query or runner unavailability returns 503.
-Mutations accept at most 64 KiB of JSON, and message text at most 16 KiB. Unknown fields, duplicate keys, null mutation fields and trailing JSON are rejected. Use the explicit input schema for each operation. When editing an installed playbook, retain its template reference.
+Project settings use one ETag for the combined settings visible to you. PATCH with an `action` of `approval`, `default_playbook`, or `rules`. Personal settings permit the `approval` action, including an empty approval mode to inherit the team setting. Connection choices have their own `connections_revision` in the settings response. Use it for `PUT /api/v1/projects/{id}/connections`. Owner roster entries and device list entries also carry their own resource revisions. Budgets use revision zero until configured.
+
+The earlier person API accepts at most 64 KiB of JSON per mutation and 16 KiB of message text. It rejects unknown fields, duplicate keys, null mutation fields and trailing JSON. Use the input schema for each operation. When editing an installed playbook, retain its template reference.
## Read lists and private setup state
@@ -58,29 +60,33 @@ Account setup responses contain only `id`, `state`, `mode`, and `command`. Run t
## Reconnect and answer questions
-After reconnecting, fetch the conversation, needs-you list and any open task again. Reconcile by resource ID and revision. Browser sessions can use the existing live invalidation stream to prompt these reads. A device reads `GET /api/v1/snapshot` and follows `GET /api/v1/events` instead, as described below. This API does not provide mobile push delivery.
+After reconnecting, fetch the conversation, needs-you list and any open task again. Reconcile by resource ID and revision. Browser sessions can use the existing live invalidation stream to prompt these reads. With a device bearer, read `GET /api/v1/snapshot` and follow `GET /api/v1/events` instead, as described below. This API does not provide mobile push delivery.
-The rest of this section is about the earlier questions, whose IDs do not start with `q_`. Fetch `/questions/{id}` before answering. A clarification accepts `kind: "clarification"` with `option_id` or `text`. A native permission question accepts `kind: "native"`, `behavior`, and only the `updated_input` shape permitted by that question. Post to `/questions/{id}/answer` using its original request revision and current person authentication. A notification action is never authentication. A cancelled, expired or superseded question cannot accept a new answer.
+The following answer operation applies to earlier person API questions. Their IDs do not start with `q_`. Fetch `/api/v1/questions/{id}` before answering. A clarification accepts `kind: "clarification"` with `option_id` or `text`. A native permission question accepts `kind: "native"`, `behavior`, and only the `updated_input` shape permitted by that question. Post to `/api/v1/questions/{id}/answer` with the question’s original request revision in `If-Match`, an `Idempotency-Key`, and current person authentication. A notification action is never authentication. A cancelled, expired or superseded question cannot accept a new answer.
-Subscribe with `POST /api/v1/notification-subscriptions`, a fresh request key, and `{"device_id":"<your device ID>"}`. Use the returned `cursor` for `GET /api/v1/notifications?cursor=<cursor>`. Each subscription has its own delivery and acknowledgement state. A bearer can use only its bound device. A browser session can manage its own devices.
+Subscribe with `POST /api/v1/notification-subscriptions`, a fresh `Idempotency-Key`, and `{"device_id":"<your device ID>"}`. Use the returned `cursor` for `GET /api/v1/notifications?cursor=<cursor>`. Each subscription has its own delivery and acknowledgement state. A bearer can use only its bound device. A browser session can manage its own devices.
-Keep polling with `next_cursor`, including after an empty page. Delivery may repeat; deduplicate by notification `id`. A notification contains only its kind, resource ID, resource revision, time, state and instance-relative link. For `question`, fetch `/api/v1/questions/{resource_id}`; for `task_ready`, fetch `/api/v1/tasks/{resource_id}`; for `card`, fetch `/api/v1/cards/{resource_id}`. An `interrupted` event links to the affected task or conversation; fetch that current view before retrying work. `superseded` means the event no longer represents current work. Acknowledgement never answers a question or approves work.
+Keep polling with `next_cursor`, including after an empty page. Delivery may repeat. Deduplicate by notification `id`. A notification contains `id`, `kind`, `resource_id`, `resource_revision`, `created_at`, `state` and an instance-relative `deep_link`. For `question`, fetch `/api/v1/questions/{resource_id}`; for `task_ready`, fetch `/api/v1/tasks/{resource_id}`; for `card`, fetch `/api/v1/cards/{resource_id}`. An `interrupted` event links to the affected task or conversation. Fetch that current view before retrying work. `superseded` means the event no longer represents current work. Acknowledgement never answers a question or approves work.
-After receiving an event, post `{"notification_id":"<notification ID>"}` to `/api/v1/notification-subscriptions/{id}/ack` with a request key and the subscription revision in `If-Match`. Save the returned revision. Retry a lost acknowledgement with its original key, body and revision. Only delivered events can be acknowledged. An out-of-order acknowledgement is saved, but the subscription cursor advances only after all earlier recipient events are acknowledged. Another device keeps its unread state.
+After receiving an event, post `{"notification_id":"<notification ID>"}` to `/api/v1/notification-subscriptions/{id}/ack` with an `Idempotency-Key` and the subscription revision in `If-Match`. Save the returned revision. Retry a lost acknowledgement with its original key, body and revision. Only delivered events can be acknowledged. An out-of-order acknowledgement is saved, but the subscription cursor advances only after all earlier recipient events are acknowledged. Another device keeps its unread state.
-Subscriptions expire after thirty days or when their device credential expires, whichever comes first. Polling and acknowledgements do not renew them. Device revocation or roster removal disables them immediately. On `410 subscription_expired`, subscribe explicitly with a current credential and a new request key. On `410 cursor_expired`, fetch notifications without a cursor and check the conversation and Needs you for open questions. Start a replacement subscription to receive those events on a device again.
+Subscriptions expire after thirty days or when their device credential expires, whichever comes first. Polling and acknowledgements do not renew them. Device revocation or roster removal disables them immediately. On `410 subscription_expired`, subscribe explicitly with a current credential and a new `Idempotency-Key`. On `410 cursor_expired`, fetch notifications without a cursor and check the conversation and Needs you for open questions. Start a replacement subscription to receive those events on a device again.
-Acknowledged history is kept for at least thirty days. Cleanup preserves current questions and entries unread by an active subscription. Notifications without a subscription cursor provide a private snapshot but do not record delivery to a device. To unsubscribe, send an empty JSON object to `DELETE /api/v1/notification-subscriptions/{id}` with its current revision and a request key.
+Acknowledged history is kept for at least thirty days. Cleanup preserves current questions and entries unread by an active subscription. Notifications without a subscription cursor provide a private snapshot but do not record delivery to a device. To unsubscribe, send an empty JSON object to `DELETE /api/v1/notification-subscriptions/{id}` with its current revision and an `Idempotency-Key`.
-Web clients can follow the private Rastrillo notification topic through the browser session. Its name is `notifications/` followed by the lowercase SHA-256 hex digest of compact JSON `[team_id,address,subscription_id]`. Pass that topic with `@0` in the existing `/live?t=` protocol. Each stream write checks the current roster, device and subscription deadline. External mobile push delivery is not implemented.
+Web clients can follow the private Rastrillo notification topic through the browser session. Its name is `notifications/` followed by the lowercase SHA-256 hex digest of compact JSON `[team_id,address,subscription_id]`. Pass that topic with `@0` in the existing `/live?t=` protocol. Each stream write checks the current roster, device and subscription deadline.
## Talk to your Coordinator from a device
-With a device bearer, the conversation, tasks, projects and events come from the conversation engine. Every one of these routes takes only `Authorization: Bearer <token>`, except the event stream, which also takes a same-origin browser session. A request without a bearer gets `401 unauthenticated`. Every JSON response has `Cache-Control: no-store`, and every error has the `Error` body. The schemas for these routes are generated from the engine's own types and checked against answers the server gives a device. In an answer, a field is required when the server always sends it, may be null when the server can send null, and nothing else appears. A request body requires no field in the contract: the server rejects a field it does not know, and checks itself the fields each operation needs, answering `422 invalid_input` when one is missing or wrong. An input type that is also part of an answer has the suffix `Input`, such as `PreferencesInput`. The earlier person API's schemas that share a name with one of these carry the prefix `PersonAPI`, such as `PersonAPITask`.
+Use `Authorization: Bearer <token>` with a person device token for the conversation engine’s routes. Without a bearer, these routes return `401 unauthenticated`. The exception is `GET /api/v1/events`, which also accepts a browser session with `Sec-Fetch-Site: same-origin`. Every JSON response has `Cache-Control: no-store`. Errors use the `Error` schema unless an operation specifies a different body, such as `CardConflict` for a card answer conflict.
+
+The schemas are generated from the engine’s types and checked against captured device responses. Response fields are required when the server always sends them. Fields that can be null are marked nullable. Response objects allow no fields beyond those in their schema. Request schemas do not mark fields as required. The server rejects unknown fields and validates the fields each operation needs. Missing or invalid input returns `422 invalid_input`. Send JSON with `Content-Type: application/json`. These JSON request bodies are limited to 32 KiB. An input type also used in a response has the suffix `Input`, such as `PreferencesInput`. Earlier person API schemas with the same name have the prefix `PersonAPI`, such as `PersonAPITask`.
-Some paths are shared with the earlier person API, and the request decides which one answers. `GET /tasks`, `/needs-you`, `/runners`, `/connections` and `/specialists` answer a device bearer with the engine's lists, and a browser session with the earlier pages. `GET /tasks/{id}` and `POST /tasks/{id}/cancel` take the engine's task IDs, which start with `tk`; `GET /questions/{id}` takes IDs that start with `q_`; `GET` and `DELETE /connections/{id}` take IDs that start with `cn_`. Any other ID gets the earlier answer, with a bearer or a browser session. In the contract, each of these operations describes what a device gets, and its `x-earlierPersonAPI` holds the earlier answer and when it is served. A client generated from the contract does not see those earlier operations, so a browser client should not be generated from it for these paths. `GET` and `POST /projects` are the engine's alone and answer only a device bearer.
+Some paths are shared with the earlier person API. On `GET /api/v1/tasks`, `/api/v1/needs-you`, `/api/v1/runners`, `/api/v1/connections` and `/api/v1/specialists`, an `Authorization` header selects the engine’s handler. A browser session without that header uses the earlier handler.
-Start with `GET /api/v1/snapshot`. It returns everything a client shows, read in one transaction: `me`, the newest messages and their turns, the cards, tasks, projects, runners, connections, the Coordinator, and the event `cursor`. Read older messages with `GET /api/v1/messages?before=<message ID>&limit=<count>`, where `limit` is 1 to 200 and defaults to 50.
+Other shared paths select the handler by ID. `GET /api/v1/tasks/{id}` and `POST /api/v1/tasks/{id}/cancel` use the engine for IDs starting with `tk`. `GET /api/v1/questions/{id}` uses it for IDs starting with `q_`. `GET` and `DELETE /api/v1/connections/{id}` use it for IDs starting with `cn_`. Those engine handlers require a device bearer. Other IDs use the earlier handler with either a bearer or a browser session. Each shared operation in the contract describes the engine’s response. Its `x-earlierPersonAPI` extension records the earlier operation and when it applies. Do not generate a browser client for these paths from the main operation alone. `GET` and `POST /api/v1/projects` always use the engine and require a device bearer.
+
+Start with `GET /api/v1/snapshot`. It reads the initial client state in one transaction: `me`, the newest `messages`, their `turns` and any turns in flight, `cards`, `tasks`, `projects`, `runner`, `runners`, `connections`, `coordinator`, `housekeeping_summary`, and the event `cursor`. `runner` is the primary runner. Read older messages with `GET /api/v1/messages?before=<message ID>&limit=<count>`. `limit` is 1 to 200 and defaults to 50.
Send a message with `POST /api/v1/messages`:
@@ -88,28 +94,30 @@ Send a message with `POST /api/v1/messages`:
{"text":"What is left?","idempotency_key":"<a new key for each message>"}
```
-A new message is `201`, with the message and the turn that carries it. The same key and text again return `200` with the same result; the same key with other text is `409 idempotency_conflict`. To send images or files, upload each with `POST /api/v1/attachments` first, the file's bytes as the body, and add their IDs to `attachments`, at most five.
+Use a UTF-8 `idempotency_key` of 1–128 bytes. The prefixes `reply:`, `card:` and `handoff:` are reserved. Message text is trimmed before validation and storage, and is limited to 16 KiB. A new message returns `201` with the message and its turn. Retrying with the same key, trimmed text and attachment IDs in the same order returns `200` with the existing message and its current turn. Reusing the key with different text or attachments returns `409 idempotency_conflict`.
+
+To send images or files, upload each to `POST /api/v1/attachments` first. Send the file’s bytes as the body, its media type in `Content-Type`, and its name in the `filename` or `filename*` parameter of `Content-Disposition`. Each upload is limited to 10 MiB. Add the returned IDs to the message’s `attachments` array, at most five. The uploads must be yours and not already attached to another message. Text may be empty when you send attachments.
-Follow the conversation with `GET /api/v1/events?after=<cursor>`, a stream of Server-Sent Events. `after` wins over `Last-Event-ID`; with neither, the stream starts at the newest event. The stream opens with `retry: 2000`, then sends each event as `id: <cursor>`, `event: <type>` and `data:` with the event as JSON. A `ping` comes every 20 seconds, with only `{"type":"ping"}` as its data. A cursor older than the kept events is `410 cursor_expired`: read the snapshot again and follow from its cursor.
+Follow the conversation with `GET /api/v1/events?after=<cursor>`, a stream of Server-Sent Events. A nonempty `after` takes precedence over `Last-Event-ID`. With neither, the stream starts at the newest event. The stream opens with `retry: 2000`. Each stored event has an `id: <cursor>` line, an `event: <type>` line and a `data:` line containing the event as JSON. A `ping` arrives every 20 seconds, with only `{"type":"ping"}` as its data. A cursor older than the retained events returns `410 cursor_expired`. Read the snapshot again and follow from its cursor.
-Each event has `type`, `resource`, `id`, `revision` and `data`, and may have `turn_id`, `message_id` and `attempt`. `type` and `resource` together say what `data` holds, and the contract names a schema for each pair, such as `MessageEvent` or `ActivityStepEvent`:
+Each stored event has `cursor`, `type`, `resource`, `id`, `revision` and `data`. It may also have `turn_id`, `message_id` and `attempt`. The `type` and `resource` pair determines the `data` schema, such as `MessageEvent` or `ActivityStepEvent`:
-- `message`, `turn`, `card`, `project`, `runner`, `coordinator`, `connection`, `preference`, `thinking`, `task`, `step` and `question`, each with the resource of the same name, carry that resource as it is now.
-- `delta` with resource `turn` or `question` carries text to append to the draft of a running turn or question: `turn_id`, `offset` and `text`. Apply it only when `offset` equals the length of the draft you hold.
-- `activity` with resource `turn` or `question` says what the Coordinator is doing before or between its text: `kind` is `thinking` or `tool`, and `label` is the line to show. With resource `step` it carries a step's recent activity lines.
-- `housekeeping` with resource `housekeeping` carries the housekeeping summary; with resource `action` it carries one housekeeping action.
+- `message`, `turn`, `card`, `project`, `runner`, `coordinator`, `connection`, `preference`, `thinking`, `task`, `step` and `question`, each with the resource of the same name, carry the current resource.
+- `delta` with resource `turn` or `question` carries `turn_id`, `offset` and `text` to append to the draft. Apply it only when `offset` equals the draft’s length in UTF-8 bytes.
+- `activity` with resource `turn` or `question` describes work before or between text updates. Its `kind` is `thinking` or `tool`, and `label` is the line to display. With resource `step`, it carries the step’s recent activity lines.
+- `housekeeping` with resource `housekeeping` carries the housekeeping summary. With resource `action`, it carries one housekeeping action.
-Apply an event only when its `revision` is newer than what you hold. Deltas and activity are the exception: they have revision 0, a delta applies by its `offset`, and an activity line shows until more text comes or the turn ends. Roster removal or device revocation closes the stream.
+Apply a resource event only when its `revision` is newer than the revision you hold. Deltas and activity have revision 0. Apply deltas by `offset`. Show a turn or question activity line until more text arrives or that turn or question ends. Roster removal or device revocation closes the stream.
-Answer a card with `POST /api/v1/cards/{id}/answer`, one of its `options` and its revision:
+Answer a card with `POST /api/v1/cards/{id}/answer`. Send a `choice` from its `options` and its current revision:
```json
{"choice":"merge","revision":2}
```
-The answer is `200` with the card, your answer as a message, and its turn. When the answer starts no turn, `message` and `turn` are empty, with zero times and empty roles and states. A stale revision is `409` with code `card_stale`, and a card already answered is `409` with code `card_answered`. Both bodies carry the card as it is now in `card`.
+A successful answer returns `200` with `card`, `message` and `turn`. When the answer starts no turn, `message` and `turn` contain zero values, including zero timestamps and empty roles and states. An outdated revision on an actionable card returns `409 card_stale`. A card that is no longer actionable returns `409 card_answered`. Both use the `CardConflict` schema and include the current card in `card`.
-Cancel a turn in flight with `POST /api/v1/turns/{id}/cancel`. The answer is `202` with the turn's `attempt`, or `409 turn_ended` once the turn has ended. Post to a task's thread with `POST /api/v1/tasks/{id}/thread` and move a task to another project with `POST /api/v1/tasks/{id}/move`. The contract lists every other route and its body.
+Cancel a turn in flight with `POST /api/v1/turns/{id}/cancel`. It returns `202` with the turn’s `attempt`, or `409 turn_ended` once the turn has ended. Post to a task’s thread with `POST /api/v1/tasks/{id}/thread`. Move a task to another project with `POST /api/v1/tasks/{id}/move`. The contract lists the other routes and their request bodies.
## Talk to the Assistant
diff --git a/docs/superpowers/plans/CONTROLLER-REPORT-plan-3.md b/docs/superpowers/plans/CONTROLLER-REPORT-plan-3.md
index f8ec0673..c527812c 100644
--- a/docs/superpowers/plans/CONTROLLER-REPORT-plan-3.md
+++ b/docs/superpowers/plans/CONTROLLER-REPORT-plan-3.md
@@ -5851,13 +5851,13 @@ records remain unchanged.
| `api.unavailable` | This information is unavailable. Try again later. | 10 | Runtime; COPY ACCEPTED FOR NOW (Paul, 2026-11-04; iterate in context) |
| `copyConversationCursorExpired` | This conversation page has expired. Open the conversation again. | 1 | Runtime constant; COPY ACCEPTED FOR NOW (Paul, 2026-11-04; iterate in context) |
| `copyInviteExpired` | This invitation is no longer valid. Ask a team owner for a new one. | 15 | Runtime constant; COPY ACCEPTED FOR NOW (Paul, 2026-11-04; iterate in context) |
-| `docs/api/equipo-v1.md / COPY ACCEPTED FOR NOW (Paul, 2026-11-04; iterate in context)` | # COPY ACCEPTED FOR NOW (Paul, 2026-11-04; iterate in context)<br><br>Use Equipo's person API to build a client for one team's instance. The contract is in [equipo-v1.openapi.json](equipo-v1.openapi.json). Responses use JSON, timestamps use UTC, and IDs are opaque unless a field is explicitly an integer.<br><br>A paired device and a signed-in browser are not answered the same way. A device bearer reads the conversation, tasks, projects and the event stream from the conversation engine; see "Talk to your Coordinator from a device" below. The rest of this page, up to that section, describes the routes a browser session uses, and the ones a device shares with it: sign-in, devices, `/me`, notifications and errors.<br><br>For a signed-in browser on the instance, fetch `/api/v1/me` to check your identity. Fetch `/api/v1/conversation` to read your conversation. Send a message with `POST /api/v1/conversation/messages`, an `Idempotency-Key` header, and this body:<br><br>```json<br>{"body":"What should we investigate next?"}<br>``` | 11, 20; notifications 19 | Document section; COPY REVIEW REQUIRED (device API, 2026-11-19) |
+| `docs/api/equipo-v1.md / COPY ACCEPTED FOR NOW (Paul, 2026-11-04; iterate in context)` | # COPY ACCEPTED FOR NOW (Paul, 2026-11-04; iterate in context)<br><br>Use Equipo’s person API to build a client for one team’s instance. The contract is in [equipo-v1.openapi.json](equipo-v1.openapi.json). JSON responses use UTC timestamps. IDs are opaque unless a field is explicitly an integer.<br><br>Device bearers and browser sessions use different handlers on some routes. A device bearer reads the conversation, tasks, projects and events from the conversation engine. See “Talk to your Coordinator from a device” below. The preceding sections describe the earlier person API, including sign-in, devices, `/me`, notifications and errors shared by both clients. Person API routes use the `/api/v1` prefix.<br><br>For a signed-in browser on the instance, fetch `/api/v1/me` to check your identity. Fetch `/api/v1/conversation` to read your conversation. Send a message with `POST /api/v1/conversation/messages`, an `Idempotency-Key` header, and this body:<br><br>```json<br>{"body":"What should we investigate next?"}<br>``` | 11, 20; notifications 19 | Document section; COPY ACCEPTED BY DELEGATION (Astra, 2026-11-19) |
| `docs/api/equipo-v1.md / Sign in a device` | ## Sign in a device<br><br>Generate an Ed25519 key pair on the initiating device. Keep the private key there. Send its public key as unpadded base64url to `POST /api/v1/auth/devices`, with a device label and a fresh `Idempotency-Key`:<br><br>```json<br>{"public_key":"&lt;base64url public key&gt;","label":"My phone"}<br>```<br><br>Keep `device_secret` private. Display `user_code` on the initiating device and open `verification_uri` in a browser. The signed-in person checks the device name and request time, then types the code from the initiating device. Opening the link does not approve anything. Approval requires a browser session; a bearer cannot approve another device.<br><br>The challenge lasts ten minutes. Decode its `challenge` field from base64url to a JSON array whose first element is the instance ID. Generate a fresh random nonce with at least 128 bits of entropy. Sign the UTF-8 encoding of this compact JSON array with Ed25519:<br><br>```json<br>["equipo.person.device.v1","&lt;instance ID&gt;","&lt;challenge ID&gt;","&lt;challenge&gt;","&lt;nonce&gt;"]<br>```<br><br>Submit `id`, `device_secret`, `challenge`, `nonce`, and the unpadded base64url `signature` to `POST /api/v1/auth/devices/exchange`. Supply an `Idempotency-Key`. Poll no more often than every five seconds. A pending approval returns `409 authorization_pending`; throttling returns `429 slow_down`. Start again after `410 device_expired`.<br><br>A successful exchange returns a bearer with audience `equipo.person.v1` and a thirty-day expiry. Use `Authorization: Bearer &lt;token&gt;` on person API requests. If the exchange response is lost, resend the same proof and nonce. For ten minutes after exchange, Equipo can return the same encrypted saved result. A different nonce cannot obtain another credential.<br><br>Read your devices with `GET /api/v1/auth/devices`. Revoke one with `DELETE /api/v1/auth/devices/{id}`, an empty JSON object, its current revision in `If-Match`, and a fresh request key. Revocation takes effect immediately. Removing a member or changing their session epoch also invalidates their credentials. Runner and provider credentials cannot authenticate a person. | 11, 20; notifications 19 | Document section; COPY ACCEPTED FOR NOW (Paul, 2026-11-04; iterate in context) |
| `docs/api/equipo-v1.md / Browser requests and invitation acceptance` | ## Browser requests and invitation acceptance<br><br>Browser writes need the verified session cookie and evidence that the request came from the instance's own origin. Equipo checks Origin, Referer and browser fetch metadata. Bearer requests must omit cookies. Cross-origin browser requests are rejected even if they carry a bearer.<br><br>A verified invitation recipient can read their invitation and post its secret to `/api/v1/invites/{id}/accept` before joining the roster. That session cannot read other team resources until acceptance succeeds. Owners can create, inspect and revoke invitations. The share link is returned only by invitation creation and its authorized replay. | 11, 20; notifications 19 | Document section; COPY ACCEPTED FOR NOW (Paul, 2026-11-04; iterate in context) |
-| `docs/api/equipo-v1.md / Retry writes and handle revisions` | ## Retry writes and handle revisions<br><br>Every mutation on these routes needs an `Idempotency-Key` of 1–256 bytes. The conversation engine's routes for devices do not; they say below what they need instead. Resource updates also need `If-Match: "&lt;revision&gt;"`. Use the revision returned by GET, and retain the original key, body and revision until the result is known. Retrying identical input returns the saved result after current access is checked. Reusing a key for changed input conflicts.<br><br>A stale revision returns `409 revision_conflict`, with `current_revision` when the resource is visible. Fetch the current value before making a new decision. Missing preconditions return 428. Invalid fields return 422. Missing identity returns 401; denied access returns 403; unavailable or private resources return 404. Query or runner unavailability returns 503.<br><br>Project settings use one ETag for the combined settings visible to you. PATCH with an `action` of `approval`, `default_playbook`, or `rules`. Personal settings permit the `approval` action, including an empty approval mode to inherit the team setting. Connection choices have their own `connections_revision` in the settings response; use it for `PUT /projects/{id}/connections`. Owner roster entries and device list entries likewise carry their own resource revisions. Budgets use revision zero until configured.<br><br>Mutations accept at most 64 KiB of JSON, and message text at most 16 KiB. Unknown fields, duplicate keys, null mutation fields and trailing JSON are rejected. Use the explicit input schema for each operation. When editing an installed playbook, retain its template reference. | 11, 20; notifications 19 | Document section; COPY REVIEW REQUIRED (device API, 2026-11-19) |
+| `docs/api/equipo-v1.md / Retry writes and handle revisions` | ## Retry writes and handle revisions<br><br>The earlier person API requires an `Idempotency-Key` on every mutation. Use a nonblank UTF-8 value of 1–256 bytes. Resource updates also need `If-Match: "&lt;revision&gt;"`. These header requirements do not apply to the conversation engine’s device routes. Use the body fields described in “Talk to your Coordinator from a device” and the contract for each operation.<br><br>Use the revision returned by GET. Keep the original key, body and revision until the result is known. Retrying identical input returns the saved result after current access is checked. Reusing a key for changed input conflicts.<br><br>A stale revision returns `409 revision_conflict`, with `current_revision` when the resource is visible. Fetch the current value before making a new decision. Missing preconditions return 428. Invalid fields return 422. Missing identity returns 401. Denied access returns 403. Missing or private resources return 404. Query or runner unavailability returns 503.<br><br>Project settings use one ETag for the combined settings visible to you. PATCH with an `action` of `approval`, `default_playbook`, or `rules`. Personal settings permit the `approval` action, including an empty approval mode to inherit the team setting. Connection choices have their own `connections_revision` in the settings response. Use it for `PUT /api/v1/projects/{id}/connections`. Owner roster entries and device list entries also carry their own resource revisions. Budgets use revision zero until configured.<br><br>The earlier person API accepts at most 64 KiB of JSON per mutation and 16 KiB of message text. It rejects unknown fields, duplicate keys, null mutation fields and trailing JSON. Use the input schema for each operation. When editing an installed playbook, retain its template reference. | 11, 20; notifications 19 | Document section; COPY ACCEPTED BY DELEGATION (Astra, 2026-11-19) |
| `docs/api/equipo-v1.md / Read lists and private setup state` | ## Read lists and private setup state<br><br>Lists default to fifty items and accept `limit` from 1 to 100. Pass the returned `next_cursor` back to the same route with the same identity. Cursors expire after twenty-four hours. They cannot be moved between people, routes or instances. Inserts may appear on later pages; deleted resources are not repeated from a saved snapshot. On 410, fetch the list again without a cursor.<br><br>Treat null counts, usage and allowance as unknown. They are not zero. Personal responses use `Cache-Control: no-store`. Keep your own conversation, device secrets and bearer credentials out of shared caches and logs.<br><br>Account setup responses contain only `id`, `state`, `mode`, and `command`. Run the command at the runner terminal to complete supported provider sign-in. The instance does not return credential-home paths or provider login codes. Connection revocation stops future use and requests containment of dependent work; it does not delete local credential files. Remembered team links grant no access to another instance. | 11, 20; notifications 19 | Document section; COPY ACCEPTED FOR NOW (Paul, 2026-11-04; iterate in context) |
-| `docs/api/equipo-v1.md / Reconnect and answer questions` | ## Reconnect and answer questions<br><br>After reconnecting, fetch the conversation, needs-you list and any open task again. Reconcile by resource ID and revision. Browser sessions can use the existing live invalidation stream to prompt these reads. A device reads `GET /api/v1/snapshot` and follows `GET /api/v1/events` instead, as described below. This API does not provide mobile push delivery.<br><br>The rest of this section is about the earlier questions, whose IDs do not start with `q_`. Fetch `/questions/{id}` before answering. A clarification accepts `kind: "clarification"` with `option_id` or `text`. A native permission question accepts `kind: "native"`, `behavior`, and only the `updated_input` shape permitted by that question. Post to `/questions/{id}/answer` using its original request revision and current person authentication. A notification action is never authentication. A cancelled, expired or superseded question cannot accept a new answer.<br><br>Subscribe with `POST /api/v1/notification-subscriptions`, a fresh request key, and `{"device_id":"&lt;your device ID&gt;"}`. Use the returned `cursor` for `GET /api/v1/notifications?cursor=&lt;cursor&gt;`. Each subscription has its own delivery and acknowledgement state. A bearer can use only its bound device. A browser session can manage its own devices.<br><br>Keep polling with `next_cursor`, including after an empty page. Delivery may repeat; deduplicate by notification `id`. A notification contains only its kind, resource ID, resource revision, time, state and instance-relative link. For `question`, fetch `/api/v1/questions/{resource_id}`; for `task_ready`, fetch `/api/v1/tasks/{resource_id}`; for `card`, fetch `/api/v1/cards/{resource_id}`. An `interrupted` event links to the affected task or conversation; fetch that current view before retrying work. `superseded` means the event no longer represents current work. Acknowledgement never answers a question or approves work.<br><br>After receiving an event, post `{"notification_id":"&lt;notification ID&gt;"}` to `/api/v1/notification-subscriptions/{id}/ack` with a request key and the subscription revision in `If-Match`. Save the returned revision. Retry a lost acknowledgement with its original key, body and revision. Only delivered events can be acknowledged. An out-of-order acknowledgement is saved, but the subscription cursor advances only after all earlier recipient events are acknowledged. Another device keeps its unread state.<br><br>Subscriptions expire after thirty days or when their device credential expires, whichever comes first. Polling and acknowledgements do not renew them. Device revocation or roster removal disables them immediately. On `410 subscription_expired`, subscribe explicitly with a current credential and a new request key. On `410 cursor_expired`, fetch notifications without a cursor and check the conversation and Needs you for open questions. Start a replacement subscription to receive those events on a device again.<br><br>Acknowledged history is kept for at least thirty days. Cleanup preserves current questions and entries unread by an active subscription. Notifications without a subscription cursor provide a private snapshot but do not record delivery to a device. To unsubscribe, send an empty JSON object to `DELETE /api/v1/notification-subscriptions/{id}` with its current revision and a request key.<br><br>Web clients can follow the private Rastrillo notification topic through the browser session. Its name is `notifications/` followed by the lowercase SHA-256 hex digest of compact JSON `[team_id,address,subscription_id]`. Pass that topic with `@0` in the existing `/live?t=` protocol. Each stream write checks the current roster, device and subscription deadline. External mobile push delivery is not implemented. | 11, 20; notifications 19 | Document section; COPY REVIEW REQUIRED (device API, 2026-11-19) |
-| `docs/api/equipo-v1.md / Talk to your Coordinator from a device` | ## Talk to your Coordinator from a device<br><br>With a device bearer, the conversation, tasks, projects and events come from the conversation engine. Every one of these routes takes only `Authorization: Bearer &lt;token&gt;`, except the event stream, which also takes a same-origin browser session. A request without a bearer gets `401 unauthenticated`. Every JSON response has `Cache-Control: no-store`, and every error has the `Error` body. The schemas for these routes are generated from the engine's own types and checked against answers the server gives a device. In an answer, a field is required when the server always sends it, may be null when the server can send null, and nothing else appears. A request body requires no field in the contract: the server rejects a field it does not know, and checks itself the fields each operation needs, answering `422 invalid_input` when one is missing or wrong. An input type that is also part of an answer has the suffix `Input`, such as `PreferencesInput`. The earlier person API's schemas that share a name with one of these carry the prefix `PersonAPI`, such as `PersonAPITask`.<br><br>Some paths are shared with the earlier person API, and the request decides which one answers. `GET /tasks`, `/needs-you`, `/runners`, `/connections` and `/specialists` answer a device bearer with the engine's lists, and a browser session with the earlier pages. `GET /tasks/{id}` and `POST /tasks/{id}/cancel` take the engine's task IDs, which start with `tk`; `GET /questions/{id}` takes IDs that start with `q_`; `GET` and `DELETE /connections/{id}` take IDs that start with `cn_`. Any other ID gets the earlier answer, with a bearer or a browser session. In the contract, each of these operations describes what a device gets, and its `x-earlierPersonAPI` holds the earlier answer and when it is served. A client generated from the contract does not see those earlier operations, so a browser client should not be generated from it for these paths. `GET` and `POST /projects` are the engine's alone and answer only a device bearer.<br><br>Start with `GET /api/v1/snapshot`. It returns everything a client shows, read in one transaction: `me`, the newest messages and their turns, the cards, tasks, projects, runners, connections, the Coordinator, and the event `cursor`. Read older messages with `GET /api/v1/messages?before=&lt;message ID&gt;&amp;limit=&lt;count&gt;`, where `limit` is 1 to 200 and defaults to 50.<br><br>Send a message with `POST /api/v1/messages`:<br><br>```json<br>{"text":"What is left?","idempotency_key":"&lt;a new key for each message&gt;"}<br>```<br><br>A new message is `201`, with the message and the turn that carries it. The same key and text again return `200` with the same result; the same key with other text is `409 idempotency_conflict`. To send images or files, upload each with `POST /api/v1/attachments` first, the file's bytes as the body, and add their IDs to `attachments`, at most five.<br><br>Follow the conversation with `GET /api/v1/events?after=&lt;cursor&gt;`, a stream of Server-Sent Events. `after` wins over `Last-Event-ID`; with neither, the stream starts at the newest event. The stream opens with `retry: 2000`, then sends each event as `id: &lt;cursor&gt;`, `event: &lt;type&gt;` and `data:` with the event as JSON. A `ping` comes every 20 seconds, with only `{"type":"ping"}` as its data. A cursor older than the kept events is `410 cursor_expired`: read the snapshot again and follow from its cursor.<br><br>Each event has `type`, `resource`, `id`, `revision` and `data`, and may have `turn_id`, `message_id` and `attempt`. `type` and `resource` together say what `data` holds, and the contract names a schema for each pair, such as `MessageEvent` or `ActivityStepEvent`:<br><br>- `message`, `turn`, `card`, `project`, `runner`, `coordinator`, `connection`, `preference`, `thinking`, `task`, `step` and `question`, each with the resource of the same name, carry that resource as it is now.<br>- `delta` with resource `turn` or `question` carries text to append to the draft of a running turn or question: `turn_id`, `offset` and `text`. Apply it only when `offset` equals the length of the draft you hold.<br>- `activity` with resource `turn` or `question` says what the Coordinator is doing before or between its text: `kind` is `thinking` or `tool`, and `label` is the line to show. With resource `step` it carries a step's recent activity lines.<br>- `housekeeping` with resource `housekeeping` carries the housekeeping summary; with resource `action` it carries one housekeeping action.<br><br>Apply an event only when its `revision` is newer than what you hold. Deltas and activity are the exception: they have revision 0, a delta applies by its `offset`, and an activity line shows until more text comes or the turn ends. Roster removal or device revocation closes the stream.<br><br>Answer a card with `POST /api/v1/cards/{id}/answer`, one of its `options` and its revision:<br><br>```json<br>{"choice":"merge","revision":2}<br>```<br><br>The answer is `200` with the card, your answer as a message, and its turn. When the answer starts no turn, `message` and `turn` are empty, with zero times and empty roles and states. A stale revision is `409` with code `card_stale`, and a card already answered is `409` with code `card_answered`. Both bodies carry the card as it is now in `card`.<br><br>Cancel a turn in flight with `POST /api/v1/turns/{id}/cancel`. The answer is `202` with the turn's `attempt`, or `409 turn_ended` once the turn has ended. Post to a task's thread with `POST /api/v1/tasks/{id}/thread` and move a task to another project with `POST /api/v1/tasks/{id}/move`. The contract lists every other route and its body. | API doc: the conversation engine's routes for a device bearer | Document section; COPY REVIEW REQUIRED (device API, 2026-11-19) |
+| `docs/api/equipo-v1.md / Reconnect and answer questions` | ## Reconnect and answer questions<br><br>After reconnecting, fetch the conversation, needs-you list and any open task again. Reconcile by resource ID and revision. Browser sessions can use the existing live invalidation stream to prompt these reads. With a device bearer, read `GET /api/v1/snapshot` and follow `GET /api/v1/events` instead, as described below. This API does not provide mobile push delivery.<br><br>The following answer operation applies to earlier person API questions. Their IDs do not start with `q_`. Fetch `/api/v1/questions/{id}` before answering. A clarification accepts `kind: "clarification"` with `option_id` or `text`. A native permission question accepts `kind: "native"`, `behavior`, and only the `updated_input` shape permitted by that question. Post to `/api/v1/questions/{id}/answer` with the question’s original request revision in `If-Match`, an `Idempotency-Key`, and current person authentication. A notification action is never authentication. A cancelled, expired or superseded question cannot accept a new answer.<br><br>Subscribe with `POST /api/v1/notification-subscriptions`, a fresh `Idempotency-Key`, and `{"device_id":"&lt;your device ID&gt;"}`. Use the returned `cursor` for `GET /api/v1/notifications?cursor=&lt;cursor&gt;`. Each subscription has its own delivery and acknowledgement state. A bearer can use only its bound device. A browser session can manage its own devices.<br><br>Keep polling with `next_cursor`, including after an empty page. Delivery may repeat. Deduplicate by notification `id`. A notification contains `id`, `kind`, `resource_id`, `resource_revision`, `created_at`, `state` and an instance-relative `deep_link`. For `question`, fetch `/api/v1/questions/{resource_id}`; for `task_ready`, fetch `/api/v1/tasks/{resource_id}`; for `card`, fetch `/api/v1/cards/{resource_id}`. An `interrupted` event links to the affected task or conversation. Fetch that current view before retrying work. `superseded` means the event no longer represents current work. Acknowledgement never answers a question or approves work.<br><br>After receiving an event, post `{"notification_id":"&lt;notification ID&gt;"}` to `/api/v1/notification-subscriptions/{id}/ack` with an `Idempotency-Key` and the subscription revision in `If-Match`. Save the returned revision. Retry a lost acknowledgement with its original key, body and revision. Only delivered events can be acknowledged. An out-of-order acknowledgement is saved, but the subscription cursor advances only after all earlier recipient events are acknowledged. Another device keeps its unread state.<br><br>Subscriptions expire after thirty days or when their device credential expires, whichever comes first. Polling and acknowledgements do not renew them. Device revocation or roster removal disables them immediately. On `410 subscription_expired`, subscribe explicitly with a current credential and a new `Idempotency-Key`. On `410 cursor_expired`, fetch notifications without a cursor and check the conversation and Needs you for open questions. Start a replacement subscription to receive those events on a device again.<br><br>Acknowledged history is kept for at least thirty days. Cleanup preserves current questions and entries unread by an active subscription. Notifications without a subscription cursor provide a private snapshot but do not record delivery to a device. To unsubscribe, send an empty JSON object to `DELETE /api/v1/notification-subscriptions/{id}` with its current revision and an `Idempotency-Key`.<br><br>Web clients can follow the private Rastrillo notification topic through the browser session. Its name is `notifications/` followed by the lowercase SHA-256 hex digest of compact JSON `[team_id,address,subscription_id]`. Pass that topic with `@0` in the existing `/live?t=` protocol. Each stream write checks the current roster, device and subscription deadline. | 11, 20; notifications 19 | Document section; COPY ACCEPTED BY DELEGATION (Astra, 2026-11-19) |
+| `docs/api/equipo-v1.md / Talk to your Coordinator from a device` | ## Talk to your Coordinator from a device<br><br>Use `Authorization: Bearer &lt;token&gt;` with a person device token for the conversation engine’s routes. Without a bearer, these routes return `401 unauthenticated`. The exception is `GET /api/v1/events`, which also accepts a browser session with `Sec-Fetch-Site: same-origin`. Every JSON response has `Cache-Control: no-store`. Errors use the `Error` schema unless an operation specifies a different body, such as `CardConflict` for a card answer conflict.<br><br>The schemas are generated from the engine’s types and checked against captured device responses. Response fields are required when the server always sends them. Fields that can be null are marked nullable. Response objects allow no fields beyond those in their schema. Request schemas do not mark fields as required. The server rejects unknown fields and validates the fields each operation needs. Missing or invalid input returns `422 invalid_input`. Send JSON with `Content-Type: application/json`. These JSON request bodies are limited to 32 KiB. An input type also used in a response has the suffix `Input`, such as `PreferencesInput`. Earlier person API schemas with the same name have the prefix `PersonAPI`, such as `PersonAPITask`.<br><br>Some paths are shared with the earlier person API. On `GET /api/v1/tasks`, `/api/v1/needs-you`, `/api/v1/runners`, `/api/v1/connections` and `/api/v1/specialists`, an `Authorization` header selects the engine’s handler. A browser session without that header uses the earlier handler.<br><br>Other shared paths select the handler by ID. `GET /api/v1/tasks/{id}` and `POST /api/v1/tasks/{id}/cancel` use the engine for IDs starting with `tk`. `GET /api/v1/questions/{id}` uses it for IDs starting with `q_`. `GET` and `DELETE /api/v1/connections/{id}` use it for IDs starting with `cn_`. Those engine handlers require a device bearer. Other IDs use the earlier handler with either a bearer or a browser session. Each shared operation in the contract describes the engine’s response. Its `x-earlierPersonAPI` extension records the earlier operation and when it applies. Do not generate a browser client for these paths from the main operation alone. `GET` and `POST /api/v1/projects` always use the engine and require a device bearer.<br><br>Start with `GET /api/v1/snapshot`. It reads the initial client state in one transaction: `me`, the newest `messages`, their `turns` and any turns in flight, `cards`, `tasks`, `projects`, `runner`, `runners`, `connections`, `coordinator`, `housekeeping_summary`, and the event `cursor`. `runner` is the primary runner. Read older messages with `GET /api/v1/messages?before=&lt;message ID&gt;&amp;limit=&lt;count&gt;`. `limit` is 1 to 200 and defaults to 50.<br><br>Send a message with `POST /api/v1/messages`:<br><br>```json<br>{"text":"What is left?","idempotency_key":"&lt;a new key for each message&gt;"}<br>```<br><br>Use a UTF-8 `idempotency_key` of 1–128 bytes. The prefixes `reply:`, `card:` and `handoff:` are reserved. Message text is trimmed before validation and storage, and is limited to 16 KiB. A new message returns `201` with the message and its turn. Retrying with the same key, trimmed text and attachment IDs in the same order returns `200` with the existing message and its current turn. Reusing the key with different text or attachments returns `409 idempotency_conflict`.<br><br>To send images or files, upload each to `POST /api/v1/attachments` first. Send the file’s bytes as the body, its media type in `Content-Type`, and its name in the `filename` or `filename*` parameter of `Content-Disposition`. Each upload is limited to 10 MiB. Add the returned IDs to the message’s `attachments` array, at most five. The uploads must be yours and not already attached to another message. Text may be empty when you send attachments.<br><br>Follow the conversation with `GET /api/v1/events?after=&lt;cursor&gt;`, a stream of Server-Sent Events. A nonempty `after` takes precedence over `Last-Event-ID`. With neither, the stream starts at the newest event. The stream opens with `retry: 2000`. Each stored event has an `id: &lt;cursor&gt;` line, an `event: &lt;type&gt;` line and a `data:` line containing the event as JSON. A `ping` arrives every 20 seconds, with only `{"type":"ping"}` as its data. A cursor older than the retained events returns `410 cursor_expired`. Read the snapshot again and follow from its cursor.<br><br>Each stored event has `cursor`, `type`, `resource`, `id`, `revision` and `data`. It may also have `turn_id`, `message_id` and `attempt`. The `type` and `resource` pair determines the `data` schema, such as `MessageEvent` or `ActivityStepEvent`:<br><br>- `message`, `turn`, `card`, `project`, `runner`, `coordinator`, `connection`, `preference`, `thinking`, `task`, `step` and `question`, each with the resource of the same name, carry the current resource.<br>- `delta` with resource `turn` or `question` carries `turn_id`, `offset` and `text` to append to the draft. Apply it only when `offset` equals the draft’s length in UTF-8 bytes.<br>- `activity` with resource `turn` or `question` describes work before or between text updates. Its `kind` is `thinking` or `tool`, and `label` is the line to display. With resource `step`, it carries the step’s recent activity lines.<br>- `housekeeping` with resource `housekeeping` carries the housekeeping summary. With resource `action`, it carries one housekeeping action.<br><br>Apply a resource event only when its `revision` is newer than the revision you hold. Deltas and activity have revision 0. Apply deltas by `offset`. Show a turn or question activity line until more text arrives or that turn or question ends. Roster removal or device revocation closes the stream.<br><br>Answer a card with `POST /api/v1/cards/{id}/answer`. Send a `choice` from its `options` and its current revision:<br><br>```json<br>{"choice":"merge","revision":2}<br>```<br><br>A successful answer returns `200` with `card`, `message` and `turn`. When the answer starts no turn, `message` and `turn` contain zero values, including zero timestamps and empty roles and states. An outdated revision on an actionable card returns `409 card_stale`. A card that is no longer actionable returns `409 card_answered`. Both use the `CardConflict` schema and include the current card in `card`.<br><br>Cancel a turn in flight with `POST /api/v1/turns/{id}/cancel`. It returns `202` with the turn’s `attempt`, or `409 turn_ended` once the turn has ended. Post to a task’s thread with `POST /api/v1/tasks/{id}/thread`. Move a task to another project with `POST /api/v1/tasks/{id}/move`. The contract lists the other routes and their request bodies. | API doc: the conversation engine's routes for a device bearer | Document section; COPY ACCEPTED BY DELEGATION (Astra, 2026-11-19) |
| `docs/plan-3-acceptance.md / COPY ACCEPTED FOR NOW (Paul, 2026-11-04; iterate in context)` | # COPY ACCEPTED FOR NOW (Paul, 2026-11-04; iterate in context)<br><br>Plan 3a adds a private coordinator conversation, shared task threads, editable<br>plans, sourced recommendations and personal preferences. Tasks 1–11 cover the 3a offline stop. Tasks 12–21 add invitations, runner/account<br>setup, specialist and playbook copies, remembered teams, device authentication<br>and a private notification feed. Production use still needs reviewed copy and certification<br>with Paul's dedicated provider accounts.<br><br>For the offline gate, run these commands from the `plan-3` checkout with on-disk<br>`TMPDIR` and the default Go caches:<br><br>```bash<br>CGO_ENABLED=0 go test ./internal/plan3test \<br> -run 'TestCoordinatorAcceptance3[AB]&#124;TestCoordinatorRelease&#124;TestPlan3ReleaseBoundaries&#124;TestPlan3Upgrade&#124;TestPersonAPIContractCoverage' -count=1<br>CGO_ENABLED=0 go build ./cmd/equipo ./cmd/equipo-runner<br>make migration-check<br>make budget<br>staticcheck ./...<br>go vet ./...<br>```<br><br>Use the pinned `go run honnef.co/go/tools/cmd/staticcheck@v0.7.0 ./...` invocation<br>if staticcheck is not installed. The controller runs `make ci` once before final<br>review. Individual task runs use targeted tests.<br><br>The acceptance test uses two fixture browser identities, loopback HTTP, the<br>runner service, durable capture and journal, and fake provider frames. It covers<br>bug, feature and recommendation proposals, editing, approval, project correction,<br>questions, routed replies, preference privacy, cancellation and interrupted-turn<br>recovery. The companion runner graph tests use local Git, fake providers and the<br>fake forge to check exact-candidate evidence, independent-family review,<br>publication readback and the wait for a person. These fixtures establish offline<br>behavior only.<br><br>The browser-session person API uses `/api/v1`. Fetch the current revision before<br>editing. Send it as `If-Match` and use an `Idempotency-Key` for a mutation. Retry<br>an identical request with the same key after a lost response. A different edit<br>needs a new key and the current revision. Plan 3b also accepts revocable person-device bearers. They never authenticate<br>as a runner and cannot approve another device. See [the API schema](api/equipo-v1.openapi.json).<br><br>List cursors are opaque and scoped to the person and stream. They expire after<br>24 hours. Tasks, journey, actionable work, cards and preferences use the latest<br>stored resource audit time, newest first, then ID to break ties. People use<br>address order. Conversation and thread messages use their stored sequence.<br>Changes can move an item ahead of an existing cursor; start again to see the<br>latest order. Lists read current authorized data and never carry stored copies<br>of private content in a cursor.<br><br>A contained uncertain coordinator turn waits for your choice. Retrying creates<br>new admitted work; resetting advances the coordinator generation. A refused<br>recovery does not make that choice for you. Cancellation and reset still need<br>containment before they can release a running account.<br><br>Before live use, review every pending entry in the controller report's<br>`Plan 3 copy inventory (for Paul's review)`, then follow<br>[the live scripts and checklists](superpowers/plans/LIVE-GATE-plan-3.md).<br>Record the offline result, copy-review result and live certification separately.<br>Keep release eligibility off until all three are complete. Equipo publishes<br>review branches and waits for the decision owner; you merge manually.<br><br><br>COPY ACCEPTED FOR NOW (Paul, 2026-11-04; iterate in context). The 3b acceptance path uses fake official CLIs on disk,<br>temporary dedicated homes, actual pairing proofs, runner HTTP and application<br>transactions. It connects two same-provider accounts and an independent review<br>family, edits copied templates, chooses a project default, approves a feature<br>plan and answers a question with a device token. Separate runner fixtures use<br>local Git, trusted checks and a fake forge. Installation fixtures test missing<br>containment prerequisites, unsupported platforms and the stops-at-logout state.<br>These are layered tests, not a real-provider certification or one continuous<br>browser-to-merge run.<br><br>Upgrade tests start at schema 0018 with active tasks, historical evidence,<br>reservations, recovery charges and decision ownership, and at the end of 3a<br>with private conversation and preference data. They compare retained columns,<br>check the current schema and reopen the database and execution core twice.<br><br>The release check refuses pending runtime copy, the API guide, acceptance and<br>live instructions, and the consolidated inventory containing the onboarding<br>mockup proposals. No pending entry is treated as reviewed. The manifest still<br>needs exact live policy certificates and the supported terminal login evidence.<br>Paul and a teammate run section 3b separately after review and certification.<br>The controller runs `make ci` once; Task 21 runs the named tests, build, migration,<br>budget, vet, pinned staticcheck and the previously skipped `equipotest` package. | 11, 21 | Document section; COPY ACCEPTED FOR NOW (Paul, 2026-11-04; iterate in context) |
| `docs/superpowers/plans/LIVE-GATE-plan-3.md / 3a` | ## 3a<br><br>Paul runs this gate after the controller has reviewed the offline results and<br>copy. Task 11 did not run it. Keep the release disabled until the reviewed live<br>bundle and the usable checks below pass. Fixtures cannot certify a production<br>provider, model, account or policy.<br><br>Use Linux/amd64, the enrolled runner, Paul's existing dedicated Equipo Claude<br>and Codex homes, and a disposable repository. Use the configuration and identity<br>file shapes in [the direct live guide](../../live-gate.md). Supply actual account<br>IDs, home IDs, model names, auth hosts, executable paths and machine fingerprint.<br>Do not copy interactive credentials, create a shared login, or put credentials<br>in the evidence. This pass needs no new sign-in or enrolment.<br><br>Before running:<br><br>- Finish the Plan 2b release gate. Its checked-in manifest still has no certified<br> tuples, binary digests or evidence references. A passing fixture is insufficient.<br>- Review the `3a copy inventory` in `CONTROLLER-REPORT-plan-3.md`, the API schema<br> prose and both Task 11 draft documents. Leave pending entries marked until Paul<br> approves them through the controller's review channel.<br>- Select `.equipo/checks.json` and a small reproducible defect in the disposable<br> repository. Record its default branch and starting commit. Record an acceptance<br> test for a small feature and a project document to cite in a recommendation.<br>- Confirm separate, positive call, input-token, output-token and duration limits<br> in the private `DirectLiveConfig`. Record job funding and remaining project/team<br> headroom. Set `Seconds` to at most 3600 for this run. Stop when the chosen bound<br> is reached. Never raise it automatically. The verifier calculates twice the<br> measured maximum, rounded up to 1,000, and checks the 23-reservation job floor.<br>- Confirm that `EQUIPO_LIVE_CONFIG` names that private file, `disposable` is true,<br> both selected homes belong to Paul, and `evidence_dir` is a new empty directory<br> outside scratch. Preserve that directory after the run. Configure the required<br> sentinels and protected paths from the direct live guide.<br>- Export the reviewed runner path variables from the direct live guide. Choose<br> the intended installation paths for `EQUIPO_TOOL_PROXY_PATH` and<br> `EQUIPO_RUNNER_EXECUTABLE`; they must not overwrite a running installation.<br> Certification binds the constructed policy and installed binaries.<br><br>Run this script from the reviewed `plan-3` checkout. It uses the existing<br>`directlive` driver once and verifies all five groups, including both coordinator<br>profiles. It does not enable instance execution or promote a manifest.<br><br>```bash<br>#!/usr/bin/env bash<br>set -euo pipefail<br>umask 077<br>: "${TMPDIR:?Set on-disk TMPDIR}"<br>: "${EQUIPO_LIVE_CONFIG:?Set the reviewed private config file}"<br>: "${EQUIPO_CLAUDE_PATH:?Set the pinned Claude executable}"<br>: "${EQUIPO_CODEX_PATH:?Set the pinned Codex executable}"<br>: "${EQUIPO_CODEX_CODE_MODE_HOST_PATH:?Set the pinned code-mode host}"<br>: "${EQUIPO_BWRAP_PATH:?Set bubblewrap 0.11.0}"<br>: "${EQUIPO_TOOL_PROXY_PATH:?Set the intended helper installation path}"<br>: "${EQUIPO_RUNNER_EXECUTABLE:?Set the intended runner installation path}"<br>: "${EQUIPO_RUNNER_STATE_DIR:?Set private runner state}"<br>: "${EQUIPO_ACCOUNT_BINDINGS_PATH:?Set private account bindings}"<br>: "${EQUIPO_AMADAN_CREDENTIAL_PATH:?Set the private forge credential path}"<br>: "${EQUIPO_WORKSPACE_ROOT:?Set the workspace root}"<br>: "${EQUIPO_SCRATCH_ROOT:?Set on-disk runner scratch}"<br><br>python3 - &lt;&lt;'PY'<br>import json, os<br>from pathlib import Path<br>c = json.loads(Path(os.environ['EQUIPO_LIVE_CONFIG']).read_text())<br>assert c['disposable'] is True<br>assert 0 &lt; c['funding']['Seconds'] &lt;= 3600<br>assert {b['binding']['Provider'] for b in c['bindings']} == {'claude', 'codex'}<br>evidence = Path(c['evidence_dir'])<br>assert evidence.is_absolute() and evidence.is_dir() and not any(evidence.iterdir())<br>assert Path(c['repository'], '.git').is_dir()<br>PY<br><br>read -r -p 'Type LIVE DISPOSABLE ONLY: ' equipo_confirmation<br>[[ "$equipo_confirmation" == 'LIVE DISPOSABLE ONLY' ]]<br>read -r -p 'Type RUN LIVE GATE: ' equipo_confirmation<br>[[ "$equipo_confirmation" == 'RUN LIVE GATE' ]]<br><br>CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -trimpath -buildvcs=false \<br> -ldflags '-s -w' -o "$EQUIPO_TOOL_PROXY_PATH" ./cmd/equipo-tool-proxy<br>CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -tags direct_live -trimpath \<br> -buildvcs=false -ldflags '-s -w' -o "$EQUIPO_RUNNER_EXECUTABLE" ./cmd/equipo-runner<br>EQUIPO_LIVE_DIRECT=1 CGO_ENABLED=0 go test -tags direct_live \<br> ./internal/runner/provider \<br> -run '^TestDirectLive(Contract&#124;Isolation&#124;Recovery&#124;Calibration&#124;Coordinator)$' \<br> -count=1 -timeout=70m<br>```<br><br>The bounded driver runs the Engineering implementation and reproduction, Review,<br>legacy Product, Scope, Research, Investigation, Copy, Design and Coordinator<br>profiles for Claude. It runs the same profiles except legacy Product for Codex.<br>This covers the new executable actions `scope`, `recommend`, `investigate`,<br>`copy`, `design` and `coordinate`, as well as the changed policies for existing<br>actions. `research` shares the Research profile. Every configured model needs its<br>own reviewed run and fresh evidence directory.<br><br>For each exact tuple, retain the configuration hash, provider/launcher/bwrap<br>versions, policy hash, executable digests, account and home identity, model,<br>tool inventory, sanitized captures, bounded usage and funding, and the<br>`index.json` and per-tuple `certification.json` files. Every assertion must name<br>an artifact and its digest. Missing observations stay uncertified. Check refresh,<br>readback, durable replay, no automatic redispatch, active cancellation and absence<br>of surviving descendants. A failure in one tuple cannot authorize it through a<br>passing tuple from the other provider.<br><br>The Codex coordinator profile includes three inert MCP resource tools by<br>controller ruling, Amadan discussion 7: `list_mcp_resources`,<br>`list_mcp_resource_templates`, and `read_mcp_resource`. Its only MCP server<br>exposes no resources. Require those tools plus the scoped Equipo coordinator<br>tools, with no shell, file, search, image or delegation capability. Claude has no<br>native-tool exception. Record an actual structured question and its answer for<br>both coordinator profiles.<br><br>The current `ManifestCandidate` deliberately excludes coordinator-only evidence.<br>Do not treat its specialist candidate as coordinator release approval. The<br>controller must review complete coordinator evidence and the release promotion<br>path before removing the corresponding `uncertified_policies` entries. Keep<br>`ActionCertified` false for any pending action. No handwritten certificate or<br>fixture digest can replace live evidence.<br><br>After certification and human release approval, Paul installs a versioned release<br>and explicitly enables execution for the disposable instance. Use two fixture<br>people in separate browser sessions and manual personal connection choices:<br><br>&#124; Check &#124; Paul does &#124; Expected evidence &#124;<br>&#124; --- &#124; --- &#124; --- &#124;<br>&#124; Bug &#124; Send “Fix the failing test in the disposable project.” Choose the project when asked, inspect and approve the plan. &#124; One task and thread, frozen reproduction, candidate commit, review from a family independent of every retained builder, checks on that exact candidate, review-branch head and description readback. &#124;<br>&#124; Feature &#124; Send “Add the small feature described in the acceptance document.” Edit a future step and correct the project before it starts. Approve the current plan. &#124; Revision conflict for a stale edit, unchanged started steps, frozen acceptance, exact candidate review/checks, publication readback. &#124;<br>&#124; Recommendation &#124; Send “Recommend one improvement and cite the project document.” Choose one permitted family. &#124; One answer with source IDs, revisions and content hashes. No branch or pretend software-fix evidence. &#124;<br>&#124; Question and thread &#124; Answer a current question, then explicitly route a private reply to the task thread. Read it as the other person. &#124; One answer effect, one routed reply, shared discussion visible to both, private history and preferences isolated. &#124;<br>&#124; Preference &#124; Confirm, correct and delete a preference, then start a fresh turn. &#124; Only the current confirmed value enters instructions. Team rules and authority remain unchanged. &#124;<br>&#124; Interrupted turn &#124; Stop the runner during one admitted coordinator turn, then restart it. &#124; No duplicate task, turn, tool effect or delivery. Unknown usage remains charged. A contained uncertain turn blocks its queue until Paul explicitly chooses retry or reset. &#124;<br>&#124; Cancel &#124; Cancel active work, wait for containment, then inspect its state. &#124; Cancellation acknowledgement, no new work for the cancelled attempt, no surviving process or retained account lease. &#124;<br>&#124; Manual merge &#124; Inspect the published branch, diff, review and checks. Merge it personally, then acknowledge the merge in Equipo. &#124; The app waits for the decision owner. Before Paul's merge the default branch has not moved. Record the merge commit and acknowledgement. &#124;<br><br>Record the run ID, release commit/version, task IDs, plan revisions, actual<br>provider families and accounts, candidate/review/check hashes, readback records,<br>question and cancellation outcomes, and Paul's merge reference in the controller<br>report. Stop the disposable instance and runner, verify that their children have<br>exited, and remove only scratch created for this run. Preserve the private evidence<br>bundle and the dedicated homes. Do not publish secrets or sign-in links. | 11, 17, 21 | Document section; COPY ACCEPTED FOR NOW (Paul, 2026-11-04; iterate in context) |
| `docs/superpowers/plans/LIVE-GATE-plan-3.md / Install and pair a runner` | ### Install and pair a runner<br><br>COPY ACCEPTED FOR NOW (Paul, 2026-11-04; iterate in context). Not run by Task 21. Paul and a teammate each run this<br>checklist with their own browser session, runner state and dedicated provider<br>accounts. Record two separate results. Neither person uses the other<br>person's bearer, account homes or saved bindings.<br><br>Before installing, the controller reviews the branch, the complete Plan 3 copy<br>inventory and the 3a policy evidence above. Both versioned release targets must<br>pass `copy-release-check` and `direct-release-check`. Empty certificates or any<br>remaining uncertified policy block this gate. Use Linux/amd64 for each runner<br>and Linux/arm64 for the instance. Mac is a browser client only; hosted and Mac<br>runner choices must have no launch action. No release was prepared by Task 21.<br><br>The owner creates an invitation for the teammate. The teammate verifies that<br>email address and accepts it. Choose a provider in onboarding, close the browser,<br>then reopen onboarding. The saved stage and provider must remain. Ask the owner<br>to assign the disposable project's work decision to the person running this<br>exercise, its merge decision to the person who will merge, and explicit bounded<br>team/project/coordinator budgets. Stop if the instance cannot report a budget.<br><br>On each Linux runner, use the generated installation command from onboarding.<br>For an auditable local copy, these are its equivalent steps. Fill in the reviewed<br>immutable release, HTTPS origin and instance ID; do not use `latest` or `dev`.<br>The bootstrap needs curl, Python 3 and sha256sum. The configured provider,<br>code-mode host, bubblewrap, Go, Git and Amadan executables must match the release<br>and its pinned checks. Keep their explicit path settings in the terminal.<br><br>```bash<br>set -euo pipefail<br>umask 077<br>: "${TMPDIR:?Set on-disk scratch}"<br>: "${EQUIPO_ORIGIN:?Set the reviewed HTTPS instance origin}"<br>: "${EQUIPO_INSTANCE_ID:?Copy the instance ID from onboarding}"<br>: "${EQUIPO_RELEASE_VERSION:?Set the reviewed immutable release}"<br>equipo_gate_dir=$(mktemp -d "$TMPDIR/equipo-3b-install-XXXXXXXX")<br>trap 'rm -rf "$equipo_gate_dir"' EXIT<br>curl --fail --silent --show-error --proto '=https' --tlsv1.2 \<br> "$EQUIPO_ORIGIN/releases/$EQUIPO_RELEASE_VERSION/install-v1.sh" \<br> -o "$equipo_gate_dir/install-v1.sh"<br>sh "$equipo_gate_dir/install-v1.sh" \<br> "$EQUIPO_ORIGIN" "$EQUIPO_RELEASE_VERSION" "$EQUIPO_INSTANCE_ID"<br>```<br><br>Check or edit the actual machine label at the terminal, then type `yes` to enrol.<br>Type the code printed by the runner into the signed-in pairing page. Check the<br>returned machine label and server request time before approving. Opening a link<br>with a code in its query must not prefill or approve it. The runner consumes its<br>one-use proof and saves its own credential. Keep that credential private.<br><br>Collect the release version/digests, architecture, actual label and pairing time,<br>plus these outcomes:<br><br>- A missing namespace prerequisite or AppArmor restriction fails containment<br> preflight before service enablement. Record the diagnostic, correct the host<br> configuration through its administrator, and rerun. Do not use an unconfined<br> fallback. Do not deliberately alter a shared host to manufacture this failure.<br>- `systemctl --user status equipo-runner.service` reports the installed release.<br> With lingering disabled, onboarding and the terminal report that the runner<br> stops at logout. They must not promise persistent service. If persistence is<br> needed, the host administrator enables it separately.<br>- Before login, the runner remains paired but has no usable account. Reopening<br> onboarding must distinguish pairing from account availability. | 11, 17, 21 | Document section; COPY ACCEPTED FOR NOW (Paul, 2026-11-04; iterate in context) |
@@ -7851,3 +7851,46 @@ existing race in the Codex reading fixture: the probe could stop the fake CLI
after its answer but before its marker write. The fixture now writes its
marker before answering. The failed hosted test is the reproduction; the
same targeted test passes repeatedly after the ordering fix.
+
+## Delegated device API copy pass, 2026-11-19
+
+Paul delegated review of exactly the four device API sections marked pending
+in the inventory. Their revised text matches `docs/api/equipo-v1.md`, and
+only those rows received the Astra acceptance marker for 2026-11-19.
+Code samples and all other API sections are unchanged.
+
+The introduction distinguishes browser and device handlers. The retry
+section scopes the header and JSON limits to the earlier API. Reconnect
+instructions name the answer headers and distinguish earlier questions from
+engine questions. The device section corrects authentication exceptions,
+error bodies, snapshot and event fields, retry comparisons and UTF-8 delta
+offsets. It states the device JSON, message, key and upload limits.
+
+Checked against `internal/wire/wireschema`, the person API and chat handlers,
+their stores, and `internal/plan3test/person_api_device_contract_test.go`.
+The inventory test accepts the new marker only for these four section keys.
+No runtime copy or API behavior changed.
+
+Verification (Go commands used `CGO_ENABLED=0`; temporary files stayed under
+`../device-copy-work.ltq5wv`, with default Go caches):
+
+| Command | Result |
+|---|---|
+| `python3 scripts/plan3-copy-check.py` | Exit 1 before review; exit 0 after acceptance |
+| `go test ./internal/plan3test -run '^TestPlan3ReleaseBoundaries/inventory$' -count=1` | Exit 1 after marking the reviewed rows, before adding their scoped allowance. A temporary acceptance marker on the unreviewed “Sign in a device” row also failed. Restored byte-for-byte; final exit 0 |
+| `go test ./internal/plan3test -run '^TestPlan3ReleaseBoundaries/(inventory\|copy\|API)$\|^TestPersonAPIDevice(Contract\|Probes)$' -count=1` | Exit 0; inventory, copy refusal fixtures, route contract and device probes pass |
+| `make copy-release-check` | Exit 0 |
+| `go test ./internal/equipotest -run '^TestReleasePinsAndProvenance/(release\|release-runner)/(pending_plan3_docs\|missing_plan3_inventory)$' -count=1` | Exit 0; both release targets refuse pending API docs and a missing inventory |
+| `make fmt-check` | Exit 0 |
+| `python3 scripts/runner-dead-references.py` | Exit 0 |
+
+A separate comparison confirmed that exactly four API sections and four
+inventory rows changed, each row reproduces its section, code samples are
+unchanged, and prose uses curly quotes without em dashes. The test search
+found Markdown readers in `plan3_release_test.go` and release packaging
+fixtures in `runner_release_test.go`; the relevant tests above cover both.
+
+Hosted CI on `19c886bb` found that the scoped inventory allowance exceeded
+the package’s test-line budget by six lines. The allowance now shares the
+existing delegation predicate, with the same four keys and date. The budget
+limit is unchanged. `make budget` and the inventory checks pass locally.
diff --git a/internal/plan3test/plan3_release_test.go b/internal/plan3test/plan3_release_test.go
index 06c2ef2e..2b00d9ce 100644
--- a/internal/plan3test/plan3_release_test.go
+++ b/internal/plan3test/plan3_release_test.go
@@ -170,7 +170,7 @@ func plan3CopyInventory(t *testing.T) {
acceptedRound2 := slices.Contains([]string{"CopyCalibrationFunding"}, key) && strings.TrimSuffix(cells[3], " |") == "COPY ACCEPTED FOR NOW (Paul, 2026-11-05; iterate in context)"
// Paul delegated copy review on 2026-10-25; a row Astra's
// delegated pass accepted carries that marker.
- acceptedDelegation := strings.HasSuffix(strings.TrimSuffix(cells[3], " |"), "COPY ACCEPTED BY DELEGATION (Astra, 2026-11-11)") || strings.HasSuffix(strings.TrimSuffix(cells[3], " |"), "COPY ACCEPTED BY DELEGATION (Astra, 2026-11-12)") || strings.HasSuffix(strings.TrimSuffix(cells[3], " |"), "COPY ACCEPTED BY DELEGATION (Astra, 2026-11-13)")
+ acceptedDelegation := strings.HasSuffix(strings.TrimSuffix(cells[3], " |"), "COPY ACCEPTED BY DELEGATION (Astra, 2026-11-11)") || strings.HasSuffix(strings.TrimSuffix(cells[3], " |"), "COPY ACCEPTED BY DELEGATION (Astra, 2026-11-12)") || strings.HasSuffix(strings.TrimSuffix(cells[3], " |"), "COPY ACCEPTED BY DELEGATION (Astra, 2026-11-13)") || slices.Contains([]string{"docs/api/equipo-v1.md / COPY ACCEPTED FOR NOW (Paul, 2026-11-04; iterate in context)", "docs/api/equipo-v1.md / Retry writes and handle revisions", "docs/api/equipo-v1.md / Reconnect and answer questions", "docs/api/equipo-v1.md / Talk to your Coordinator from a device"}, key) && strings.HasSuffix(strings.TrimSuffix(cells[3], " |"), "COPY ACCEPTED BY DELEGATION (Astra, 2026-11-19)")
// Paul's own review of the publish strings (base-publish).
approvedPublish := strings.HasSuffix(strings.TrimSuffix(cells[3], " |"), "COPY APPROVED (Paul, 2026-11-12, copy-review jadya3tfrmkf7t3ym2nqhpgira, unchanged)")
// Paul's own review of the Assistant lane's strings and API section.