oficina / equipo Public

specs: MCP connections rev 5, Paul's answers and one Astra round

Applies Paul's 2026-11-20 answers: the first request seeds a team
catalogue (proposed, reviewed, published; nothing runs before review);
add and review are configurable permissions, everyone may add by
default; Start fresh sits in the chat dropdown, quarantines the
notebook, and recall re-applies the quarantine to tainted history;
production and staging serve client documents.

Resolves OPEN-1, OPEN-4 and OPEN-5. Astra round 5 said NOT READY with
no Critical findings; OPEN-2 is partly resolved, and OPEN-3 plus three
new Important findings are recorded as open in section 17.2.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Paul Campbell pushed by paul@keymail.dev c900e45fd514339eb15776e5763275cc05a459cc parent 68c01ee
1 file changed, +395 −97
  • docs/superpowers/specs/2026-11-19-assistant-mcp-connections-design.md +395 −97

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/design-mcp-connections: 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 3.3s
ci-box: codex: fetched and verified in 4.6s
ci-box: codex-code-mode-host: fetched and verified in 1.7s
ci-box: libwrap: fetched and verified in 0.3s
ci-box: socat: fetched and verified in 0.4s
npm warn deprecated node-domexception@1.0.0: Use your platform's native DOMException instead
ci-box: image pulled in 10.0s
ci-box: pi: installed and verified in 7.5s
ci-box: opencode: installed and verified in 2.3s
ci-box: chromium 156.0.8078.79-1~deb13u1: 76 packages fetched, verified and unpacked in 8.8s
ci-box: clone deepened in 3.0s
ci-box: file times set from content: 2717 files, 174 directories
ci-box: ready in 17.8s
=== 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.243s
=== 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  ./...
  0.6s
+ go list -export -test -tags browser,testbuild -f  ./internal/equipo ./internal/headless ./internal/idtest ./internal/plan3test ./internal/thintest
  0.2s
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 1m17.865s 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.376s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m16.38s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 35.18, cpu waiting 20.53%, memory waiting 0.00%, io waiting 0.53%
--- 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 1m20.61s 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.015s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m19.01s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 33.96, cpu waiting 20.28%, memory waiting 0.00%, io waiting 0.51%
--- 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 1m22.055s 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.967s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m9.71s amadan.net/oficina/equipo/internal/headless TestHeadlessConnections
receipt: slow test 5.66s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenPasteEndToEnd
receipt: slow test 4.59s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenConnection
machine: 32 CPUs, load 33.96, cpu waiting 19.88%, memory waiting 0.00%, io waiting 0.49%
--- 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 1m17.262s 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 1m15.635s amadan.net/oficina/equipo/internal/headless
receipt: slow test 36.36s amadan.net/oficina/equipo/internal/headless TestMacWorker
receipt: slow test 19.76s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 10.13s amadan.net/oficina/equipo/internal/headless TestHeadlessAttachments
receipt: slow test 9.38s amadan.net/oficina/equipo/internal/headless TestHeadlessPrewarm
machine: 32 CPUs, load 35.18, cpu waiting 20.53%, memory waiting 0.00%, io waiting 0.53%
--- 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 1m34.392s 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 1m32.661s amadan.net/oficina/equipo/internal/headless
receipt: slow test 58.06s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 10.7s amadan.net/oficina/equipo/internal/headless TestHeadlessRunnerKillLeavesNoCopies
receipt: slow test 9.72s amadan.net/oficina/equipo/internal/headless TestHeadlessCopyRotation
receipt: slow test 8.53s amadan.net/oficina/equipo/internal/headless TestHeadlessPolicyGuards
receipt: slow test 5.64s amadan.net/oficina/equipo/internal/headless TestHeadlessNewHouseRuleStartsFresh
machine: 32 CPUs, load 28.55, cpu waiting 16.21%, memory waiting 0.00%, io waiting 0.39%
--- 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 3m5.317s 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 3m3.334s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m43.22s amadan.net/oficina/equipo/internal/headless TestHeadlessAssistant
receipt: slow test 23.47s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 11.25s amadan.net/oficina/equipo/internal/headless TestHeadlessResearchHandoff
receipt: slow test 8.01s amadan.net/oficina/equipo/internal/headless TestHeadlessClaudeSignIn
receipt: slow test 7.33s amadan.net/oficina/equipo/internal/headless TestHeadlessBatchAfterRefusedReply
machine: 32 CPUs, load 8.94, cpu waiting 3.65%, memory waiting 0.00%, io waiting 0.12%
--- 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 296ms 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 0.93, cpu waiting 0.01%, memory waiting 0.00%, io waiting 1.79%
--- 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 356ms 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 0.93, cpu waiting 0.60%, memory waiting 0.00%, io waiting 1.90%
--- 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 4m28.725s, over the 45s its record on line 44 allows; reported only, timing fails on CI

receipt: test step 4m41.572s 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 4m28.725s amadan.net/oficina/equipo/internal/runner/thin
receipt: slow test 36.96s 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.78s amadan.net/oficina/equipo/internal/runner/thin TestModelsUnhealthyRetriedOnDemand
receipt: slow test 18.47s amadan.net/oficina/equipo/internal/runner/thin TestModelsProbeRunsInsideTheAdmission
receipt: slow test 6.85s amadan.net/oficina/equipo/internal/runner/thin TestOpenCodeStepsRealOpenCode
machine: 32 CPUs, load 2.32, cpu waiting 0.73%, memory waiting 0.00%, io waiting 0.02%
--- 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.097s 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.983s amadan.net/oficina/equipo/internal/runner
receipt: slow test 25.95s amadan.net/oficina/equipo/internal/runner TestDirectBugWorkflow
receipt: slow test 20.02s amadan.net/oficina/equipo/internal/runner TestEnrolKeepsTheRole
machine: 32 CPUs, load 32.84, cpu waiting 20.10%, memory waiting 0.00%, io waiting 0.88%
--- 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 46.912s 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.091s amadan.net/oficina/equipo/internal/runner
receipt: slow test 35.23s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowCandidateOrder
receipt: slow test 30.35s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowFeature
receipt: slow test 8.34s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryCallRefusalKeepsServing
receipt: slow test 1.5s amadan.net/oficina/equipo/internal/runner TestCoordinatorRefusalMatrix
machine: 32 CPUs, load 32.84, cpu waiting 20.10%, memory waiting 0.00%, io waiting 0.88%
--- 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.472s 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 33.614s amadan.net/oficina/equipo/internal/runner
receipt: slow test 5.12s amadan.net/oficina/equipo/internal/runner TestDirectFaultIsolation
receipt: slow test 3.55s amadan.net/oficina/equipo/internal/runner TestClaimRefusalsBackOff
receipt: slow test 3.12s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryRefusedKeepsServing
receipt: slow test 1.96s amadan.net/oficina/equipo/internal/runner TestToolVerbUnderFakeHarness
receipt: slow test 1.61s amadan.net/oficina/equipo/internal/runner TestReportPostsRetryExactRequest
machine: 32 CPUs, load 24.74, cpu waiting 14.74%, memory waiting 0.00%, io waiting 1.07%
--- 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.9%, load 20.37
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 1m4.209s 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 1m2.468s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 26.95s amadan.net/oficina/equipo/internal/equipotest TestBootstrapNamesOwnersSetting
receipt: slow test 26.91s amadan.net/oficina/equipo/internal/equipotest TestAuthorityCoreIntegration
receipt: slow test 24.95s amadan.net/oficina/equipo/internal/equipotest TestAccountLabelMigration
receipt: slow test 22.34s amadan.net/oficina/equipo/internal/equipotest TestBudgetConfigurationFailuresAreAtomic
receipt: slow test 22.33s amadan.net/oficina/equipo/internal/equipotest TestAuthoritySnapshotChanges
machine: 32 CPUs, load 28.55, cpu waiting 16.73%, memory waiting 0.00%, io waiting 0.40%
--- 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.9%, load 20.37
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 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 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 20.37, cpu waiting 11.05%, memory waiting 0.00%, io waiting 1.19%
--- 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.9%, load 20.37
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 1m14.981s 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.749s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 15.1s amadan.net/oficina/equipo/internal/equipotest TestReleaseStampContract
receipt: slow test 12.98s amadan.net/oficina/equipo/internal/equipotest TestRosterChangesAffectExistingSession
receipt: slow test 9.94s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalWhileAssigned
receipt: slow test 9.92s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalRollsBack
receipt: slow test 6.85s amadan.net/oficina/equipo/internal/equipotest TestRosterBootstrapOnce
machine: 32 CPUs, load 24.84, cpu waiting 13.79%, memory waiting 0.00%, io waiting 0.32%
--- 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.9%, load 20.37
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 415ms 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 20.37, cpu waiting 12.10%, memory waiting 0.00%, io waiting 1.15%
--- 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.9%, load 20.37
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 527ms 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 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 20.37, cpu waiting 12.10%, memory waiting 0.00%, io waiting 1.15%
--- 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.9%, load 20.37
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/runner/webread: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/copydesk: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/opencode: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/workspace: 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/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/runner/containment took 39.033s, over the 15s its record on line 40 allows; reported only, timing fails on CI

receipt: test step 2m13.011s 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 52.813s amadan.net/oficina/equipo/internal/runner/provider/opencode
receipt: slow package 51.942s amadan.net/oficina/equipo/internal/runner/provider/pi
receipt: slow package 47.583s amadan.net/oficina/equipo/internal/idtest
receipt: slow package 39.033s amadan.net/oficina/equipo/internal/runner/containment
receipt: slow package 36.154s amadan.net/oficina/equipo/internal/runner/checks
receipt: slow test 25.15s amadan.net/oficina/equipo/cmd/equipo-runner TestReleaseRunnerHasNoFakeWorker
receipt: slow test 21.18s amadan.net/oficina/equipo/internal/runner/provider/opencode TestOpenCodeAcceptanceHostileRepository
receipt: slow test 15.95s amadan.net/oficina/equipo/internal/idtest TestIDCallbackGuardAndPendingNonce
receipt: slow test 14.93s amadan.net/oficina/equipo/internal/runner/containment TestEngineeringOfflineGo
receipt: slow test 9.13s amadan.net/oficina/equipo/internal/runner/containment TestEngineeringMissingModuleCache
machine: 32 CPUs, load 11.32, cpu waiting 5.27%, memory waiting 0.00%, io waiting 0.12%
--- 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
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed

receipt: test step 1m21.564s 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.024s amadan.net/oficina/equipo/internal/headless
receipt: slow test 37.21s amadan.net/oficina/equipo/internal/headless TestBrowserDraftIsTheMessage
receipt: slow test 15.04s amadan.net/oficina/equipo/internal/headless TestBrowserDraftStreamsFormatted
receipt: slow test 10.09s amadan.net/oficina/equipo/internal/headless TestBrowserChat
receipt: slow test 7.77s amadan.net/oficina/equipo/internal/headless TestBrowserComposer
receipt: slow test 5.52s amadan.net/oficina/equipo/internal/headless TestBrowserChatSendStaysOnPage
machine: 32 CPUs, load 33.96, cpu waiting 19.88%, memory waiting 0.00%, io waiting 0.49%
--- 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
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed

receipt: test step 1m30.023s 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 1m28.451s amadan.net/oficina/equipo/internal/headless
receipt: slow test 25.43s amadan.net/oficina/equipo/internal/headless TestBrowserRailFollowsWork
receipt: slow test 21.85s amadan.net/oficina/equipo/internal/headless TestBrowserTaskThread
receipt: slow test 13.98s amadan.net/oficina/equipo/internal/headless TestBrowserReceiptFollowsReview
receipt: slow test 9.92s amadan.net/oficina/equipo/internal/headless TestBrowserAskAfterMerge
receipt: slow test 7.72s amadan.net/oficina/equipo/internal/headless TestBrowserTaskCard
machine: 32 CPUs, load 30.43, cpu waiting 17.26%, memory waiting 0.00%, io waiting 0.41%
--- 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.121s 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.643s amadan.net/oficina/equipo/internal/headless
receipt: slow test 13.84s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsConversation
receipt: slow test 12.9s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAddPage
receipt: slow test 12.82s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAdd
receipt: slow test 10.28s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsMeteredLimitRequired
receipt: slow test 10.07s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsOpenCodeGoLimitRequired
machine: 32 CPUs, load 26.83, cpu waiting 15.23%, memory waiting 0.00%, io waiting 0.36%
--- 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-20T04:54:09.272Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-20T04:54:09.272Z level=INFO msg="startup phase done" phase=state_lock took=62µs
time=2026-11-20T04:54:09.272Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-20T04:54:09.273Z level=INFO msg="startup phase done" phase=claim_roots took=156µs
time=2026-11-20T04:54:09.273Z level=INFO msg="startup phase" phase=sweep
time=2026-11-20T04:54:09.305Z level=INFO msg="startup phase done" phase=sweep took=32.501ms
time=2026-11-20T04:54:09.305Z level=INFO msg="startup phase" phase=credentials
time=2026-11-20T04:54:09.305Z level=INFO msg="startup phase done" phase=credentials took=131µs
time=2026-11-20T04:54:09.305Z level=INFO msg="startup phase" phase=open_state
time=2026-11-20T04:54:09.347Z level=INFO msg="startup phase done" phase=open_state took=41.33ms
time=2026-11-20T04:54:09.347Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-20T04:54:09.348Z level=INFO msg=connecting host=127.0.0.1:32915 protocol=28
time=2026-11-20T04:54:09.349Z level=INFO msg=connected host=127.0.0.1:32915 took=1.121ms
time=2026-11-20T04:54:09.350Z level=INFO msg="capabilities gathering"
time=2026-11-20T04:54:09.350Z level=INFO msg="capabilities gathered" took=442µs tags=linux,claude,go
time=2026-11-20T04:54:09.350Z level=INFO msg="hello sent" protocol=28
time=2026-11-20T04:54:09.357Z 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-20T04:54:39.802Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-20T04:54:39.802Z level=INFO msg="startup phase done" phase=state_lock took=55µs
time=2026-11-20T04:54:39.802Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-20T04:54:39.802Z level=INFO msg="startup phase done" phase=claim_roots took=82µs
time=2026-11-20T04:54:39.802Z level=INFO msg="startup phase" phase=sweep
time=2026-11-20T04:54:39.828Z level=INFO msg="startup phase done" phase=sweep took=26.164ms
time=2026-11-20T04:54:39.828Z level=INFO msg="startup phase" phase=credentials
time=2026-11-20T04:54:39.828Z level=INFO msg="startup phase done" phase=credentials took=103µs
time=2026-11-20T04:54:39.828Z level=INFO msg="startup phase" phase=open_state
time=2026-11-20T04:54:39.868Z level=INFO msg="startup phase done" phase=open_state took=39.658ms
time=2026-11-20T04:54:39.868Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-20T04:54:39.870Z level=INFO msg=connecting host=127.0.0.1:40121 protocol=28
time=2026-11-20T04:54:39.870Z level=INFO msg=connected host=127.0.0.1:40121 took=799µs
time=2026-11-20T04:54:39.871Z level=INFO msg="capabilities gathering"
time=2026-11-20T04:54:39.871Z level=INFO msg="capabilities gathered" took=435µs tags=linux,claude,go
time=2026-11-20T04:54:39.871Z level=INFO msg="hello sent" protocol=28
time=2026-11-20T04:54:39.876Z level=INFO msg=welcome protocol=28 role=primary generation=1
time=2026-11-20T04:54:40.874Z 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.78s)

--- FAIL amadan.net/oficina/equipo/internal/headless (package output)
FAIL
rastrillo-budget/v1 ran 1m25.068s
FAIL	amadan.net/oficina/equipo/internal/headless	85.337s


receipt: test step 1m26.257s 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 1m25.068s amadan.net/oficina/equipo/internal/headless
receipt: slow test 14.94s amadan.net/oficina/equipo/internal/headless TestBrowserThinkingAndCards
receipt: slow test 10.59s amadan.net/oficina/equipo/internal/headless TestBrowserWaitingTurns
receipt: slow test 10.34s amadan.net/oficina/equipo/internal/headless TestBrowserStalePageReloads
receipt: slow test 10.28s amadan.net/oficina/equipo/internal/headless TestBrowserMoveIn
receipt: slow test 7.79s 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 c900e45fd514339eb15776e5763275cc05a459cc 1.79s 32.12
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
##############################################################################
FLAKE ./internal/headless:TestBrowserEmptyExplore browser-headless-rest c900e45fd514339eb15776e5763275cc05a459cc 5.78s 32.12
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
machine: 32 CPUs, load 26.83, cpu waiting 15.23%, memory waiting 0.00%, io waiting 0.36%
--- 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 348ms 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 280ms 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 235ms 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.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 304ms 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 0.93, cpu waiting 0.60%, memory waiting 0.00%, io waiting 1.90%
--- 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.29s
ok ./internal/headless TestHeadlessConnections/C4_claude_sign_in 1.23s
ok ./internal/headless TestHeadlessConnections/C5_engineering_failover 9.19s
ok ./internal/headless TestHeadlessConnections/C5_engineering_to_codex 9.90s
ok ./internal/headless TestHeadlessConnections/C5_engineering_waits 24.75s
+ 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   (54s)
ok ./internal/headless TestHeadlessConnections/C5_review_auth 14.29s
ok ./internal/headless TestHeadlessConnections/C5_review_failover 12.45s
ok ./internal/headless TestHeadlessConnections/C5_review_on_codex 11.14s
ok ./internal/headless TestHeadlessConnections/C5_review_other_family_first 13.55s
+ go test -tags testbuild -timeout 15m -v -run '^TestMixedVersions$' ./internal/headless   (22s)
ok ./internal/headless TestMixedVersions 20.09s
+ go test -tags testbuild -timeout 15m -v -run '^TestCheckSandboxDeniedPathsTampering$' ./internal/runner/checks   (2s)
ok ./internal/runner/checks TestCheckSandboxDeniedPathsTampering 0.76s
+ 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 33.97, cpu waiting 20.70%, memory waiting 0.00%, io waiting 0.79%
--- 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.306s 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.162s amadan.net/oficina/equipo/internal/runner/checks
receipt: slow package 176ms amadan.net/oficina/equipo/internal/runner/provider/claude
receipt: slow package 63ms amadan.net/oficina/equipo/internal/runner/provider/codex
receipt: slow package 2ms amadan.net/oficina/equipo/internal/runner/provider
receipt: slow package 0s amadan.net/oficina/equipo/internal/runner/provider/gotoolchain
receipt: slow test 5.14s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsGoFixture
receipt: slow test 1.64s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPaths
receipt: slow test 280ms amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsCache
receipt: slow test 170ms 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.027s 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 280ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceReadOnlyScratch
receipt: slow test 170ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceRecoveryUnavailableProof
receipt: slow test 110ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceDirectPolicyAdmission
receipt: slow test 110ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceRecoveryCleansScratch
receipt: slow test 100ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceOpenCodeBinaryAfterAttestation
machine: 32 CPUs, load 7.42, cpu waiting 4.39%, memory waiting 0.00%, io waiting 1.60%
--- 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 30.6%, load 20.37
shard 25: make runner-dead-references lanes-check build vet fmt-check budget migration-check
python3 scripts/runner-dead-references.py
reference scan: 2431 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.419s
machine: 32 CPUs, load 29.09, cpu waiting 18.98%, memory waiting 0.00%, io waiting 0.94%
--- 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.9%, load 20.37
shard 26: make staticcheck
go run honnef.co/go/tools/cmd/staticcheck@v0.7.0 -tags browser,perf,testbuild ./...
machine: 32 CPUs, load 20.37, cpu waiting 12.10%, memory waiting 0.00%, io waiting 1.15%
--- 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 30.6%, load 20.37
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 24.74, cpu waiting 15.92%, memory waiting 0.00%, io waiting 1.04%
--- 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.9%, load 20.37
shard 28: make gitleaks
4:54AM INF Unknown SCM platform. Use --platform to include links in findings. host=amadan.net
4:54AM INF 1021 commits scanned.
4:54AM INF scanned ~59957388 bytes (59.96 MB) in 12.3s
4:54AM INF no leaks found
machine: 32 CPUs, load 29.09, cpu waiting 18.44%, memory waiting 0.00%, io waiting 0.97%
=== 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.018ms, worst 1.056ms, budget 150ms
perf: GET /api/runner/protocol: median 73µs, worst 102µs, budget 150ms
perf: GET /api/v1/account-setups/{id}: median 565µs, worst 606µs, budget 150ms
perf: GET /api/v1/accounts: median 393µs, worst 420µs, budget 150ms
perf: GET /api/v1/auth/devices: median 426µs, worst 446µs, budget 150ms
perf: GET /api/v1/budgets: median 474µs, worst 517µs, budget 150ms
perf: GET /api/v1/capabilities: median 248µs, worst 278µs, budget 150ms
perf: GET /api/v1/cards/{id}: median 1.233ms, worst 1.261ms, budget 150ms
perf: GET /api/v1/connections: median 577µs, worst 629µs, budget 150ms
perf: GET /api/v1/connections/{id}: median 559µs, worst 589µs, budget 150ms
perf: GET /api/v1/conversation: median 924µs, worst 980µs, budget 150ms
perf: GET /api/v1/conversation/cards: median 1.453ms, worst 1.503ms, budget 150ms
perf: GET /api/v1/coordinator: median 1.737ms, worst 1.835ms, budget 150ms
perf: GET /api/v1/invites/{id}: median 449µs, worst 467µs, budget 150ms
perf: GET /api/v1/journey: median 8.855ms, worst 8.987ms, budget 150ms
perf: GET /api/v1/me: median 472µs, worst 526µs, budget 150ms
perf: GET /api/v1/me/settings: median 565µs, worst 608µs, budget 150ms
perf: GET /api/v1/needs-you: median 8.724ms, worst 8.891ms, budget 150ms
perf: GET /api/v1/notifications: median 1.586ms, worst 1.641ms, budget 150ms
perf: GET /api/v1/onboarding: median 393µs, worst 429µs, budget 150ms
perf: GET /api/v1/people: median 431µs, worst 487µs, budget 150ms
perf: GET /api/v1/playbooks: median 592µs, worst 612µs, budget 150ms
perf: GET /api/v1/playbooks/{id}: median 524µs, worst 558µs, budget 150ms
perf: GET /api/v1/playbooks/{id}/template-diff: median 846µs, worst 889µs, budget 150ms
perf: GET /api/v1/preferences: median 786µs, worst 846µs, budget 150ms
perf: GET /api/v1/projects/{id}: median 462µs, worst 478µs, budget 150ms
perf: GET /api/v1/projects/{id}/settings: median 586µs, worst 651µs, budget 150ms
perf: GET /api/v1/roster: median 474µs, worst 503µs, budget 150ms
perf: GET /api/v1/runners/{id}: median 451µs, worst 481µs, budget 150ms
perf: GET /api/v1/specialists: median 8.132ms, worst 8.253ms, budget 150ms
perf: GET /api/v1/specialists/{id}: median 7.981ms, worst 8.05ms, budget 150ms
perf: GET /api/v1/specialists/{id}/template-diff: median 868µs, worst 920µs, budget 150ms
perf: GET /api/v1/tasks/{id}/plan: median 1.156ms, worst 1.198ms, budget 150ms
perf: GET /api/v1/tasks/{id}/thread: median 774µs, worst 810µs, budget 150ms
perf: GET /api/v1/teams: median 427µs, worst 453µs, budget 150ms
perf: GET /api/v1/templates: median 612µs, worst 636µs, budget 150ms
perf: GET /api/v1/templates/{id}: median 456µs, worst 506µs, budget 150ms
perf: GET /auth/callback: median 79µs, worst 121µs, budget 150ms
perf: GET /auth/devices/{id}: median 3.395ms, worst 4.178ms, budget 150ms
perf: GET /auth/verify: median 81µs, worst 103µs, budget 150ms
perf: GET /connections: median 3.574ms, worst 3.701ms, budget 150ms
perf: GET /conversation: median 7.347ms, worst 7.424ms, budget 150ms
perf: GET /conversation/connections: median 251µs, worst 282µs, budget 150ms
perf: GET /conversation/notebook: median 239µs, worst 258µs, budget 150ms
perf: GET /conversation/settings: median 3.86ms, worst 3.974ms, budget 150ms
perf: GET /conversation/settings/autonomy: median 3.607ms, worst 3.649ms, budget 150ms
perf: GET /conversation/settings/connections: median 6.325ms, worst 6.512ms, budget 150ms
perf: GET /conversation/settings/connections/add: median 6.49ms, worst 6.764ms, budget 150ms
perf: GET /conversation/settings/copy: median 3.821ms, worst 6.405ms, budget 150ms
perf: GET /conversation/settings/housekeeping: median 4.153ms, worst 4.214ms, budget 150ms
perf: GET /conversation/settings/machines: median 4.414ms, worst 4.513ms, budget 150ms
perf: GET /conversation/settings/machines/add: median 4.301ms, worst 4.366ms, budget 150ms
perf: GET /conversation/settings/notebook: median 3.236ms, worst 3.32ms, budget 150ms
perf: GET /conversation/settings/thinking: median 3.804ms, worst 3.942ms, budget 150ms
perf: GET /housekeeping: median 3.625ms, worst 3.709ms, budget 150ms
perf: GET /invites/new: median 566µs, worst 593µs, budget 150ms
perf: GET /invites/{id}: median 613µs, worst 640µs, budget 150ms
perf: GET /jobs: median 3.218ms, worst 3.305ms, budget 150ms
perf: GET /jobs/{id}: median 4.334ms, worst 4.405ms, budget 150ms
perf: GET /journey: median 10.419ms, worst 13.334ms, budget 150ms
perf: GET /nav/rail: median 2.911ms, worst 3.01ms, budget 150ms
perf: GET /needs-you: median 10.05ms, worst 10.299ms, budget 150ms
perf: GET /onboarding: median 3.904ms, worst 3.982ms, budget 150ms
perf: GET /people: median 3.264ms, worst 3.301ms, budget 150ms
perf: GET /playbook-suggestions/{suggestion}: median 4.55ms, worst 4.598ms, budget 150ms
perf: GET /playbooks: median 4.062ms, worst 4.15ms, budget 150ms
perf: GET /playbooks/new: median 4.176ms, worst 4.29ms, budget 150ms
perf: GET /playbooks/{id}: median 4.656ms, worst 4.745ms, budget 150ms
perf: GET /playbooks/{id}/edit: median 4.791ms, worst 7.535ms, budget 150ms
perf: GET /playbooks/{id}/template-diff: median 4.026ms, worst 4.33ms, budget 150ms
perf: GET /preferences: median 4.264ms, worst 4.389ms, budget 150ms
perf: GET /preferences/sources/{source}: median 4.101ms, worst 4.314ms, budget 150ms
perf: GET /projects: median 5.013ms, worst 5.316ms, budget 150ms
perf: GET /projects/accounts: median 3.602ms, worst 3.709ms, budget 150ms
perf: GET /projects/new: median 3.563ms, worst 3.613ms, budget 150ms
perf: GET /projects/{id}: median 10.525ms, worst 10.743ms, budget 150ms
perf: GET /projects/{id}/edit: median 3.718ms, worst 3.852ms, budget 150ms
perf: GET /runners/enrol: median 4.382ms, worst 4.618ms, budget 150ms
perf: GET /settings: median 3.533ms, worst 5.859ms, budget 150ms
perf: GET /settings/coordinator: median 5.427ms, worst 5.559ms, budget 150ms
perf: GET /settings/devices: median 3.15ms, worst 3.356ms, budget 150ms
perf: GET /settings/recovery: median 3.36ms, worst 3.493ms, budget 150ms
perf: GET /settings/recovery/release: median 3.344ms, worst 3.48ms, budget 150ms
perf: GET /settings/thinking: median 245µs, worst 261µs, budget 150ms
perf: GET /signin: median 317µs, worst 355µs, budget 150ms
perf: GET /specialists/new: median 3.323ms, worst 3.424ms, budget 150ms
perf: GET /specialists/{key}: median 12.778ms, worst 13.223ms, budget 150ms
perf: GET /specialists/{key}/edit: median 3.919ms, worst 4.051ms, budget 150ms
perf: GET /specialists/{key}/template-diff: median 4.046ms, worst 4.151ms, budget 150ms
perf: GET /tasks: median 5.623ms, worst 5.729ms, budget 150ms
perf: GET /tasks/new: median 3.636ms, worst 5.795ms, budget 150ms
perf: GET /tasks/{id}: median 6.202ms, worst 6.298ms, budget 150ms
perf: GET /tasks/{id}/merge: median 5.297ms, worst 5.434ms, budget 150ms
perf: GET /tasks/{id}/move: median 4.846ms, worst 5.049ms, budget 150ms
perf: GET /tasks/{id}/plan: median 5.523ms, worst 5.761ms, budget 150ms
perf: GET /tasks/{id}/preview: median 1.499ms, worst 1.574ms, budget 150ms
perf: GET /tasks/{id}/questions/{question}: median 5.026ms, worst 5.159ms, budget 150ms
perf: GET /tasks/{id}/rendered-change: median 4.561ms, worst 4.742ms, budget 150ms
perf: GET /tasks/{id}/rendered-change/{hash}.png: median 4.121ms, worst 4.169ms, budget 150ms
perf: GET /tasks/{id}/thread: median 7.624ms, worst 7.901ms, budget 150ms
perf: GET /team/{specialist}: median 4.32ms, worst 5.873ms, budget 150ms
perf: GET /teams: median 12.003ms, worst 12.124ms, budget 150ms
perf: GET /templates: median 3.785ms, worst 3.857ms, budget 150ms
perf: GET /usage: median 4.485ms, worst 4.628ms, budget 150ms
perf: GET /work: median 3.34ms, worst 3.459ms, budget 150ms
perf: cold boot: median 254ms of [253.959435ms 254.072998ms 257.26278ms], budget 500ms

receipt: test step 29.062s 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 8.873s 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.06s amadan.net/oficina/equipo/internal/equipotest TestPerfScreens
receipt: slow test 810ms amadan.net/oficina/equipo/internal/equipotest TestPerfBoot
=== cache ===
ci-box: build cache /home/ci/work/repos/oficina__equipo/cache/go-build: 2.87 GiB in 20308 files
ci-box: module cache /home/ci/work/repos/oficina__equipo/cache/go-mod: 0.84 GiB in 27329 files
diff --git a/docs/superpowers/specs/2026-11-19-assistant-mcp-connections-design.md b/docs/superpowers/specs/2026-11-19-assistant-mcp-connections-design.md
index daae4b98..8dbce227 100644
--- a/docs/superpowers/specs/2026-11-19-assistant-mcp-connections-design.md
+++ b/docs/superpowers/specs/2026-11-19-assistant-mcp-connections-design.md
@@ -1,6 +1,6 @@
# The Assistant's connections to other services (MCP)
-Status: **draft for review**, revision 4 (2026-11-19). Paul approved
+Status: **draft for review**, revision 5 (2026-11-20). Paul approved
writing this design on 2026-11-19; it is design only, with no
implementation. Drafted by Claude (Opus 5.5) on
`design-mcp-connections` from main 07e4c8f8. Section 4 (external
@@ -23,6 +23,15 @@ there: those five are **not resolved** in this revision and are listed
as open items in §17.1, with the fix Astra proposed. §18 maps every
earlier finding to where it is answered.
+**Revision 5 (2026-11-20)** applies Paul's answers to Q1, Q2, Q3 and
+Q10: the first request seeds a team catalogue that is proposed,
+reviewed and published (§4.3); adding and reviewing are configurable
+permissions, everyone may add by default (§7.1); Start fresh sits in
+the chat's dropdown and history can be looked up without breaking the
+quarantine (§10.1, §10.6); production and staging serve client
+documents (§7.4). It resolves OPEN-1, OPEN-2, OPEN-4 and OPEN-5 (§17.1)
+and went to one more Astra round, whose findings are in §17.2.
+
References are `file:line` on Equipo main 07e4c8f8 unless they say
otherwise. Base references are on `carlos/base` branch `assistant`
(298840e). Sporran references are on `sporran/sporran` origin/main
@@ -439,22 +448,88 @@ every connection Equipo runs discovery (§6) and refuses when the live
`resource`, `issuer` or `authorize_origin` differs from the pins. A
changed tool list is handled by §9.6, not refused outright.
-### 4.3 Catalogued and pasted services
-
-- **The Store** offers catalogued services only.
-- **The conversation** accepts a catalogued service by name, or an
- https address **that the person typed in their own message** (§9.1).
- An address that matches a catalogue entry's origin or resource is
- that entry. Any other address goes through the same discovery and
- admin approval, and the approval card says it is not in the
- catalogue (§7.3). The operator can turn pasted addresses off for an
- instance (`EQUIPO_SERVICES_UNLISTED=0`). Whether this is on by
- default is open question Q1.
-- A pasted service has no reviewed manifest, so every call to it,
- reads included, needs a tap (§10.1).
-- A pasted service gets the generic icon, and the name the admin
- confirms on the approval card; it is never named after what the
- server calls itself.
+### 4.3 Catalogued and uncatalogued services, and seeding the catalogue
+
+Paul's ruling (2026-11-20): there is no catalogue yet, so the first
+person's request seeds it. A catalogue entry has two homes and three
+states.
+
+**Where entries live.**
+
+- **The release catalogue**: entries embedded in Equipo at build time
+ (§4.2), reviewed by Oficina and shipped in a versioned release. Empty
+ today.
+- **The team catalogue**: a `service_catalogue` table on the instance,
+ holding entries this team proposed, reviewed and published. A release
+ entry for the same `resource` takes precedence over a team entry
+ once it ships; the team entry is kept as history.
+
+**States of a team entry.**
+
+1. **Proposed.** Someone with the *add services* permission (§7.1)
+ asks to connect a service by name or address. A name with no entry
+ gets "Paste its address here and I'll look." (DRAFT); an address the
+ person typed (§6.2) goes through the full discovery and SSRF rules
+ (§6), unchanged. If discovery succeeds, the card in their lane
+ offers **Add for the team** (§7.2); the tap stores the discovery
+ result as a proposed entry: the pins (`resource`, `issuer`,
+ `authorize_origin`, endpoints, registration method), the name the
+ person confirmed on the card, the generic icon, and no manifest.
+ When anyone first connects, the first `tools/list` is stored as the
+ entry's **draft manifest**: complete definitions and hashes (§9.6),
+ every tool classed `change`, every argument unclassed.
+2. **Reviewed.** Someone with the *review services* permission (§7.1)
+ classifies each tool on a review page in Base Settings (§12.3). For
+ each tool the page shows the service's complete definition, quoted
+ and marked as the service's, and asks the reviewer to choose: `read`
+ or `change`; for each argument of a read, its class from §10.2;
+ the scope it needs; an optional key field and identity tool; and a
+ reviewed title in plain words. The service's own annotations and
+ title appear beside each choice as "The service says: ..." (DRAFT),
+ never pre-selected. Nothing on the page is filled in by the model.
+ The reviewer may be the proposer when they hold both permissions
+ (a person alone on a personal instance reviews their own). The
+ saved review is the entry's manifest; its hash and the reviewer are
+ audited.
+3. **Published.** A person with *review services* taps **Publish for
+ the team** on the reviewed entry. From then it behaves as a
+ catalogue entry on this instance: it appears in the Store, reviewed
+ reads can run under §10.1-10.2, and changes run with a go-ahead
+ card. A published entry can also be **offered to Oficina**: the
+ instance exports it as a JSON file (pins, manifest, reviewer, date;
+ never tokens or account data) that a person sends to Oficina, where
+ staff review it again and ship it in a release. Nothing is sent
+ automatically.
+
+**What is usable before review: nothing.** Until review, the instance
+has no trusted way to tell a read from a change (the service's own
+annotations decide nothing, §9.2), so it cannot offer "reads only"
+without trusting the service. Before publishing, the person can
+connect (so the draft manifest is fetched) but every call is refused
+(`not_reviewed`, "Someone on your team needs to review this service
+before I can use it." DRAFT), and the Assistant points whoever can
+review to the review page. On a personal instance the proposer can
+review straight away, so in practice the wait is one page. (Paul asked
+for "reads only, or nothing"; this is "nothing", for that reason. A
+middle path, letting the reviewer mark a few tools as reads quickly
+and publish those first, is the same review with fewer tools.)
+
+**Changes after publishing.** A changed tool list (§9.6) re-opens
+review for the changed tools only; until reviewed they are held.
+
+**Safety rules unchanged.** Every address still passes §6; discovery
+still runs only for an address the person typed; the review is a
+person's explicit choice per tool; and the instance's own pins are
+checked at every connection exactly as for a release entry. The
+operator can still turn uncatalogued addresses off
+(`EQUIPO_SERVICES_UNLISTED=0`), which limits adding to release and
+already-published team entries.
+
+- **The Store** offers release entries and this team's published
+ entries.
+- An uncatalogued service gets the generic icon and the name its
+ proposer confirmed; it is never named after what the server calls
+ itself.
### 4.4 How it differs from installing a CARLOS app
@@ -496,11 +571,11 @@ admin.
appears after the reply. The Assistant says, in its own words,
something like "Connect Sporran and I can look at your books with
you." (DRAFT, model guidance, not copy.)
- - **Not on the list, Ana is not an admin:** the instance raises the
+ - **Not on the list, Ana cannot add services (§7.1):** the instance raises the
approval card in Paul's lane (§7.2). The Assistant tells Ana:
"I've asked Paul to add Sporran for the team. I'll let you know
when it's ready." (DRAFT)
- - **Not on the list, Ana is an admin:** the approval card appears in
+ - **Not on the list, Ana can add services:** the approval card appears in
her own conversation, after the reply.
- **Discovery failed:** the Assistant says it can't connect to that
service (§14).
@@ -683,49 +758,85 @@ a token, so it never depends on a service refusing one.
## 7. The allowlist and requests
-### 7.1 Who is the team admin
+### 7.1 Who may add and review services
+
+Paul's ruling (2026-11-20): adding is a configurable permission, not
+tied to being an Equipo owner. Two permissions:
-An **Equipo owner** (`kernel/types.go:35`). Equipo holds the tokens
-and enforces the list, so its roster decides, read inside each write
-transaction (AGENTS.md "Data and authority"). A Base owner who is not
-an Equipo owner gets "requested" when they install from the Store
-(Q2).
+- **add services**: propose a service, add it for the team (§7.2),
+ remove a service they added;
+- **review services**: classify a proposed entry's tools, publish it
+ (§4.3), allow a changed tool list (§9.6), and remove any service.
+
+**The setting.** A team-wide default for each, and a per-member
+override:
+
+| Setting | Values | Default |
+|---|---|---|
+| `services.add` (team) | `everyone`, `owners`, `listed` | `everyone` |
+| `services.review` (team) | `everyone`, `owners`, `listed` | `owners` |
+| per member, each permission | `inherit`, `allow`, `deny` | `inherit` |
+
+`listed` means only members whose override is `allow`. A member's
+`deny` wins over the team default, which is how a family member or a
+business's staff are limited to services already added: they can still
+connect and use those, and their request to add goes to everyone who
+can add (§7.2). Owners always hold both permissions; an owner's own
+override cannot remove them.
+
+**Where it is stored.** In Equipo, which enforces it:
+`service_settings` (one team row) and `service_permissions` (person,
+permission, override). Every check reads them, and the roster, inside
+the write transaction that acts on them (AGENTS.md "Data and
+authority"). Lookup errors deny.
+
+**Who can change it.** Equipo owners, in Base Settings, People: a team
+switch and a per-member "Can add services" and "Can review services"
+(DRAFT), through new person API routes (§12.1). Every change is
+audited with the owner as actor. An operator can fix the team values
+with `EQUIPO_SERVICES_ADD` and `EQUIPO_SERVICES_REVIEW` (same values):
+when set, they override the stored team values, Settings shows them as
+set by the operator and not changeable there, and per-member overrides
+still apply.
+
+A Base owner who is not an Equipo owner is treated like any other
+member: what they can do follows these settings.
### 7.2 Adding, requesting, approving
-- `connect_service` (§9.1) never adds a service by itself. For an
- owner, it raises an approval card in their own lane; for a member, it
- records a request and raises one approval card in each owner's lane
- (one open card per service per owner; a second member's request joins
- the same card: "Ana and Luis asked..." DRAFT). The member's turn gets
- outcome `admin_asked`.
+- `connect_service` (§9.1) never adds a service by itself. For a person
+ who **can add**, it raises the add card in their own lane; their tap
+ on **Add for the team** adds it. For a person who **cannot**, it
+ records a request and raises one card in the lane of each person who
+ can add (one open card per service per person; a second request
+ joins the same card: "Ana and Luis asked..." DRAFT). The requester's
+ turn gets outcome `admin_asked`.
- The cards are answered through a typed handler (§10.5), not as a
message. **Add for the team** adds it in one transaction: the
- answering owner from the verified bearer, the roster and role read
- in that transaction, the request still open, the service row written,
- audit `service.add`. Every other owner's card for the request
- settles. For every requester, a connect card is raised in their lane
- and one team_update turn is queued whose note says the service was
- added (§8.5).
+ answering person from the verified bearer, their permission and the
+ roster read in that transaction, the request still open, the service
+ row and proposed catalogue entry written (§4.3), audit `service.add`.
+ Every other card for the request settles. For every requester, a
+ connect card is raised in their lane and one team_update turn is
+ queued whose note says the service was added (§8.7).
- **Not now** declines: the requester's turn note says so; nothing is
- stored but the request and audit. A member can ask again after a
+ stored but the request and audit. A person can ask again after a
week (Q4).
- Requests expire after 30 days unanswered.
- An operator setting (`EQUIPO_SERVICES_ALLOW`, used before phase 2's
- cards exist, §16) adds catalogued entries at start with the audit
- actor `operator`; it never adds pasted addresses and never removes a
- service an owner removed.
+ cards exist, §16) adds release-catalogue entries at start with the
+ audit actor `operator`; it never adds uncatalogued addresses and
+ never removes a service someone removed.
-### 7.3 Pasted services
+### 7.3 The add card for an uncatalogued service
-The approval card for a pasted service shows the host the person typed,
-the issuer's host and the consent page's host when they differ, the
-line "Oficina hasn't checked this service. Your assistant will ask
-before every use.", and an editable name, defaulting to the host's
-registrable domain. Its operation namespace is derived from that name
-(§9.2). Its tool definitions are pinned at the first successful
-`tools/list` by anyone (§9.6); until then the Settings row reads "What
-it can do shows once someone connects." (DRAFT).
+The card shows the host the person typed, the issuer's host and the
+consent page's host when they differ, the line "Not reviewed yet. Your
+assistant will ask before every use, and can't make changes there
+until someone on your team reviews it." (DRAFT), and an editable name,
+defaulting to the host's registrable domain. Its operation namespace is
+derived from that name (§9.2). Until someone connects, the Settings row
+reads "What it can do shows once someone connects." (DRAFT).
### 7.4 Client registration
@@ -749,6 +860,20 @@ recommended order (§19):
allowed service's callback (§8.2), `grant_types:
["authorization_code", "refresh_token"]`, `response_types:
["code"]`, `token_endpoint_auth_method: "none"`.
+
+ Paul's answer (2026-11-20): both deployed instances are public, so
+ both set `EQUIPO_SERVICE_CIMD=1`:
+
+ | Instance | `client_id` (the document's URL) | Callbacks |
+ |---|---|---|
+ | Production | `https://equipo.oficina.works/.well-known/oauth-client.json` | `https://equipo.oficina.works/services/<service id>/connect/callback` |
+ | Staging | `https://equipo-staging.bds.oncarlos.com/.well-known/oauth-client.json` | `https://equipo-staging.bds.oncarlos.com/services/<service id>/connect/callback` |
+
+ Each instance is a separate client to every service; nothing is
+ shared between them. Both origins must keep resolving to public
+ addresses (Sporran refuses tailnet and private ones, §3.2 item 4);
+ a test in S1 fetches each document the way Sporran does. Local and
+ tailnet-only instances leave the flag off and use DCR.
3. **Dynamic Client Registration**, deprecated in MCP but the fallback:
`POST registration_endpoint` with the same metadata, this service's
one redirect URI and `application_type: "web"`. The answer's
@@ -1125,17 +1250,20 @@ runner.
**The mark clears only after a verified context reset**, never by time
or by runner events:
-1. The person asks for a fresh start (a "Start fresh" control in Base's
- conversation menu, DRAFT, or Settings). The instance records a new
- lane epoch for the person's Assistant lane, after which no message,
- card or result from before the epoch is ever sent to a runner as
- context for that lane.
+1. The person chooses **Start fresh** (DRAFT) from the dropdown menu
+ in the chat's header: an item among others, not a button (Paul,
+ 2026-11-20). The instance records a new lane epoch for the person's
+ Assistant lane, after which no message, card or result from before
+ the epoch is ever sent to a runner as context for that lane. The
+ history stays, and can be looked up (§10.6).
2. The instance sends each of the person's runners a new command,
`reset_lane {person, lane, epoch}` (a protocol bump; an older runner
cannot clear a mark). The runner deletes every `sessions_lane` row
for that person and lane, whatever the provider
(`state.go:641-659`), refuses from then on to resume any session
- saved under an older epoch, and acknowledges with the epoch.
+ saved under an older epoch, **quarantines its notebook** (below),
+ stops any agent still running in that lane under the older epoch,
+ and acknowledges with the epoch.
3. Only when every runner the person has used for the Assistant lane
has acknowledged that epoch, the mark clears, in one transaction
that checks no service data was delivered after the epoch began.
@@ -1143,6 +1271,23 @@ or by runner events:
A person who still has a service connection is marked again by the
first service result after the reset, as before.
+**The notebook at a reset.** The Assistant's notebook is the runner's
+(`internal/runner/thin/bridge.go:367`), mirrored on the instance
+(`chat/notebook.go:16-24`), and put into every fresh session
+(`internal/runner/thin/claude.go:778`), so it would carry planted text
+across a reset. At a reset, every entry with source `own` (the model's
+own note) is moved out of the live notebook into quarantine, on both
+the runner and the instance mirror, before the runner acknowledges.
+Entries with source `person` stay, but only after the instance checks
+each one: the rule given to the model is that such an entry quotes the
+person's composer messages exactly
+(`internal/runner/thin/assistant.go:132`), and at the reset the
+instance confirms the text is found by `composerQuote` in the person's
+composer messages. Any that is not is quarantined with the `own`
+entries. Quarantined
+entries are never put into a session; they can be looked up like old
+history, under the same rule (§10.6).
+
**For a person with the mark, every provider follows the outbound
rule.** A call runs without a tap only when all of these hold:
@@ -1156,20 +1301,47 @@ rule.** A call runs without a tap only when all of these hold:
Everything else asks, through a go-ahead card (§10.4): every change at
a service; every call to a pasted service; every read whose arguments
fall outside the policy or budget; and every write by Base or Oficina
-that would run without a tap today. A tap overrides only "ask": an
-operation `Decide` refuses (`not_yet`, `write_not_supported`,
-`operation.go:55-70`) stays refused, card or not.
+that would run without a tap today.
+
+**Three decisions, kept apart.** `Decide` answers one of three for
+every call, from instance code only:
+
+- **forbidden**: never runs, card or not. For Base and Oficina, what
+ `Decide` refuses today (`not_yet`, `write_not_supported`,
+ `operation.go:55-70`). For a service, a change in an entry not yet
+ reviewed and published (`not_reviewed`, §4.3), and any held tool
+ (§9.6);
+- **ask**: runs only through a go-ahead card and the once-only
+ dispatcher (§10.4). Every change in a published service is here,
+ **whether or not it has a key field**: an unkeyed change is allowed
+ once approved, and an interrupted send ends `unknown`, never resent;
+- **run**: runs now, under the outbound rule above.
+
+`write_not_supported` keeps its meaning for Base and Oficina only, where
+it exists to guarantee a key; for services the once-only dispatcher
+gives that guarantee instead.
**Team operations and the person's words.** Team operations reach no
outside service, but some carry words as the person's own into the
-team's work (requests, replies, nudges), checked by `txn.quote`
-(`chat/handoff.go:240`, `330-350`). Today that check accepts a
-tapped model-written option as the person's words (§2.1), which breaks
-AGENTS.md rule 1 already, and becomes a path for a service's injected
-text once services exist. So `txn.quote` itself becomes composer-only
-(`composerQuote`) for every caller: a tapped option stays a choice and
-is never quoted as the person's words. This changes existing
-behaviour for the Coordinator too, and lands in S1 with its own tests.
+team's work. There are two quoting helpers, and both accept a tapped
+model-written option as the person's words today (§2.1), which already
+breaks AGENTS.md rule 1 and becomes a path for a service's injected
+text once services exist:
+
+- `txn.quote`, for hand-off requests and replies
+ (`chat/handoff.go:240`, `330-350`): searches the turn's
+ `person`-role messages;
+- `txn.quoteAny`, for `team_nudge` (`handoff.go:356-370`, used at
+ `handoff.go:1605`): searches the person's recent Assistant-lane
+ `person`-role messages, across turns.
+
+Both become composer-only: they search only messages with origin
+`composer` (`store.go:342`) and return the matched source text. A
+tapped option stays a choice and is never quoted as the person's
+words, for any caller, the Coordinator's included. Any future quoting
+helper goes through the same `composerQuote`. This changes existing
+behaviour, and lands in S1 with negative tests for a hand-off request,
+a reply and a nudge each carried by a tapped option.
**For a person without the mark** (no service data has ever reached
their Assistant, or a verified reset since), Base and Oficina behave
@@ -1192,7 +1364,7 @@ and only these classes go without a tap:
| Class | What it may be | Canonical form | Bits charged |
|---|---|---|---|
| `choice` | one of a finite listed set (`enum`, boolean) | the listed value | log2 of the set size, rounded up |
-| `day` | a calendar date within three years of today | `YYYY-MM-DD` | 11 |
+| `day` | a calendar date within three years of today | `YYYY-MM-DD` | 12 |
| `small` | an integer with reviewed `minimum` and `maximum`, range at most 1,024 | decimal | log2 of the range, rounded up |
| `echoed` | a value (integer or string, at most 128 characters) that appeared, exactly, in a result **from the same provider** earlier in the turn, which the instance checks in the stored results | as it appeared | 0 (it came from that service) |
| `typed` | text `composerQuote` (§2.1) finds in a message the person typed in the turn or its asking turn (§8.7) | the matched source text, not the model's spelling | 0 (the person wrote it) |
@@ -1234,11 +1406,15 @@ A card must show and bind the call exactly as it will be sent.
- **Oficina:** the team filled in now, as `Invoke` does at call
time (`assist/oficina.go:97-116`), and `client_id` set from the
confirm id; the binding is the operation's descriptor hash and
- the connection's **grant**, a new additive column on
- `oficina_connections` that a successful consent and a disconnect
- advance and a refresh does not (its `revision` moves on every
- refresh, and `created_at` survives a reconnect over an existing
- row, `oficina_connect.go:61-84`);
+ the connection's **grant id**, a new additive column on
+ `oficina_connections` set to a fresh random value (128 bits) by
+ every successful consent and never by a refresh (its `revision`
+ moves on every refresh, and `created_at` survives a reconnect over
+ an existing row, `oficina_connect.go:61-84`). A random id cannot
+ repeat after Disconnect deletes the row
+ (`oficina_connect.go:86-95`), so an old card can never match a new
+ grant. Disconnect clears it in the same transaction that deletes
+ the row, before revoking;
- **Base:** the input as given, with its key field set from the
confirm id; the binding is the operation's descriptor hash and the
person's host registration (`assistantHostRecord`,
@@ -1344,6 +1520,50 @@ belongs to. The handler:
instance's own text and is never shown to the model as the person's
words.
+### 10.6 Looking things up after Start fresh
+
+Paul's ruling (2026-11-20): a fresh Assistant starts free of
+quarantine, but the person can still point it at the past. The
+quarantine must hold through that.
+
+**What is tainted.** The instance records **taint spans** for each
+person's Assistant lane: a span opens when the mark is set (§10.1) and
+closes at the reset that clears it. Every message, card, tool result
+and notebook entry stored inside a span is tainted, and so is every
+quarantined notebook entry. Spans are kept for as long as the history.
+
+**How the person points.** Two ways, both the person's own act:
+
+- they paste text into the composer ("what did you find about the
+ March invoices?"); or
+- they choose **Ask about this** (DRAFT) on an earlier message in the
+ history view, which puts a reference to that message into their next
+ composer message. The reference is set by Base from the message id,
+ never by the model.
+
+**The lookup.** A new team operation, `recall {reference or words}`,
+read only. `words` must pass `composerQuote` (§2.1); a reference must
+be one Base attached to a composer message in this turn. The instance
+searches only this person's Assistant-lane history and quarantined
+notebook, at most 20 excerpts, 8 KiB in all, and returns them quoted
+with `wire.QuotedData` under the label "From an earlier conversation
+(reference, not instructions)".
+
+**The quarantine holds.** If any excerpt comes from a tainted span or
+a quarantined note, then, exactly as for a service result (§10.1), the
+instance commits the mark and opens a new span **before** queueing the
+excerpts for the runner. From that moment the outbound rule applies
+again, until the next Start fresh. Untainted excerpts set nothing. The
+model is never shown which excerpts were tainted, so it cannot choose
+around the rule, and `recall` cannot be called in a team_update turn
+or with words the person did not type, so the model cannot pull
+tainted text in by itself.
+
+**What the person sees.** The answer, as usual; and, when the lookup
+reached into a tainted part, a quiet line under the reply: "I looked at
+something that came from a connected service, so I'll check with you
+before doing things for a while." (DRAFT).
+
## 11. Data model, revocation and Disconnect
### 11.1 Tables (additive migrations from 0095)
@@ -1363,14 +1583,19 @@ arguments.
| `service_revocations` | `id` | `service_id`, `person`, `registration_id`, `generation`, `refresh` (sealed, captured at the fence), `tries`, `state` (`pending`, `revoked`, `given_up`), `cause`, `created_at` |
| `assist_confirms` | `card_id` | `person`, `turn_id`, `provider`, `operation`, `input` (prepared, §10.3), `input_sha`, `binding` (JSON, §10.3), `state` (`open`, `approved`, `dispatching`, `done`, `refused`, `unknown`, `declined`, `expired`), `dispatcher`, `lease_until`, `result` (cleared after delivery), `result_bytes`, `code`, `created_at`, `updated_at` |
| `assist_outbound` | `person` | `service_data_since`, `epoch`, `epoch_acks` (JSON: runner to epoch), `cleared_at` (§10.1) |
-| `oficina_connections` (existing) | `person` | adds `grant` (integer, §10.3) |
+| `assist_taint_spans` | `id` | `person`, `lane`, `from_seq`, `to_seq` (null while open), `opened_by` (`service`, `recall`), `created_at` (§10.6) |
+| `chat_notebook_quarantine` | `id` | `person`, `entry` (text and source), `epoch`, `created_at` (§10.1) |
+| `service_catalogue` | `id` | `resource` (unique), `name`, `pins` (JSON), `manifest_sha` (null until reviewed), `state` (`proposed`, `reviewed`, `published`, `withdrawn`), `proposed_by`, `reviewed_by`, `reviewed_at`, `published_by`, `published_at` (§4.3) |
+| `service_settings` | `team` | `add` (`everyone`, `owners`, `listed`), `review` (same), `updated_by`, `updated_at` (§7.1) |
+| `service_permissions` | `person`, `permission` | `override` (`inherit`, `allow`, `deny`), `updated_by`, `updated_at` (§7.1) |
+| `oficina_connections` (existing) | `person` | adds `grant_id` (random, §10.3) |
`assist_confirms` is keyed by provider, not service, so §10.1's
go-aheads for Base and Oficina calls use it too. Counts shown on cards
come from manifests; a pasted service's counts stay null until its
first list: an unknown count is never zero (AGENTS.md).
`chat_connect_turns` (`chat/connect.go:72-83`) is reused as it is.
-`oficina_connections` gains only its `grant` column. `last_used_at` is written at most
+`oficina_connections` gains only its `grant_id` column. `last_used_at` is written at most
once an hour per connection.
### 11.2 Revocation
@@ -1431,6 +1656,13 @@ Sporran.)
| `POST /services/{id}/connect` | `{return_to, upgrade}` | `{url}`; `return_to` on `EQUIPO_ASSISTANT_HOSTS` (as `oficina_connect.go:157-173`); `upgrade` asks for the union of scopes (§8.4) |
| `POST /services/{id}/connect/finish` | `{state, code}` | `{status: connected, denied, expired, unavailable}`; 403 when the consent was another person's |
| `POST /services/{id}/disconnect` | | 204 |
+| `GET /services/catalogue/{id}/review` | | a proposed entry's draft manifest, every service string marked as quoted (review permission) |
+| `PUT /services/catalogue/{id}/review` | `{manifest_sha, tools: [{name, class, arguments, scope, key_field, identity, title}]}` | the reviewed entry; refused if the draft changed since `manifest_sha` (review permission) |
+| `POST /services/catalogue/{id}/publish` | | 204 (review permission) |
+| `GET /services/catalogue/{id}/export` | | the entry as JSON for Oficina, no tokens or account data (review permission) |
+| `GET /services/permissions` | | team values (and whether the operator fixed them) and each member's overrides (owners) |
+| `PUT /services/permissions` | `{add, review, members: [{person, add, review}]}` | 204 (owners; team values refused when the operator fixed them) |
+| `POST /lane/reset` | `{epoch_seen}` | `{epoch, pending_runners}`: Start fresh (§10.1) |
Approval, changes and go-ahead taps use the existing
`POST /cards/{id}/answer`, routed to the typed handlers (§10.5).
@@ -1474,6 +1706,16 @@ cards, as they do for Oficina (`assistant_http.go:20-46`).
member as the Store is; Install posts `{catalog_id}`, which raises
the approval card for an owner or a request for a member. Uninstall
confirms, then `DELETE`.
+- **Chat menu:** **Start fresh** (DRAFT) as an item in the chat
+ header's dropdown, with a confirmation that says history stays
+ (DRAFT: "Start a fresh conversation? Your history stays, and you can
+ still ask about it."); **Ask about this** (DRAFT) on each earlier
+ message, attaching its id to the next composer message (§10.6).
+- **People:** for owners, the team switches and per-member "Can add
+ services" and "Can review services" (DRAFT), shown as fixed when the
+ operator set them (§7.1).
+- **Settings, review:** the catalogue review page (§4.3), with every
+ service string escaped and set apart, and Publish for the team.
- **Home:** tiles for allowed services, new tab, from a small Base
table `service_tiles` (migration 0012) refreshed whenever Base reads
`GET /services`, so Home never waits on Equipo for them.
@@ -1571,8 +1813,8 @@ Sporran. Each phase lists its negative tests.
validated finish, refresh claim, the three refresh outcomes,
fencing and revocation; the 2026-07-28 MCP client; the tables;
Sporran as the only catalogue entry, with its reviewed manifest and
- argument policies; `txn.quote` made composer-only for every caller,
- the Coordinator's included (§10.1); the instance inventory (§6.1);
+ argument policies; `txn.quote` and `txn.quoteAny` made
+ composer-only for every caller, the Coordinator's included (§10.1); the instance inventory (§6.1);
quoting of service text and of every provider error; manifest
pinning with stored definitions; the outbound rule and the
person's mark and the 32-bit budget for every provider (§10.1-10.2;
@@ -1598,7 +1840,11 @@ Sporran. Each phase lists its negative tests.
change not retried; a disconnect during a refresh that saves
nothing; cleanup during a reconnect leaving the new connection
alone.
-2. **S2, the conversation.** `connect_service`, connect cards with
+2. **S2, the conversation.** The add and review permissions and their
+ settings (§7.1); proposed catalogue entries and the review page,
+ with nothing usable before publishing (§4.3); Start
+ fresh with notebook quarantine, and `recall` with taint spans
+ (§10.1, §10.6); `connect_service`, connect cards with
rel `service_connect`, resume after connect, Base's
`/ask/services/*` routes and generic offer button, approval and
request cards with typed handlers, Settings Connections and Allow
@@ -1629,12 +1875,13 @@ key as soon as Sporran declares one and the manifest names it.
## 17. Open questions for Paul
-- **Q1. Pasted addresses.** Allow services that are not in the
- catalogue at all, with an owner's approval, an "unchecked" label and
- a tap for every use? If yes, on by default or off?
-- **Q2. Who is the admin.** An Equipo owner decides. Should a Base
- owner who is not an Equipo owner be able to add services, or keep
- getting "requested"?
+- **Q1. ANSWERED (2026-11-20).** No catalogue exists, so the first
+ request seeds it: proposed, reviewed, published. Before review
+ nothing runs, since only the review can tell reads from changes
+ (Astra round 5). Applied in §4.3.
+- **Q2. ANSWERED (2026-11-20).** Adding is a configurable permission,
+ everyone by default, lockable per member, set by owners or the
+ operator. Applied in §7.1-7.2.
- **Q3. Reads without asking, and how long caution lasts.** Reads
whose arguments are ids the service itself returned, text the person
typed, or dates and small choices worth at most 32 bits a turn run
@@ -1642,9 +1889,10 @@ key as soon as Sporran declares one and the manifest names it.
read ask? And once service data has reached someone, every provider
(Oficina and Base too) follows that rule, and their writes ask, until
the person chooses "Start fresh" and every runner confirms it dropped
- the old context (§10.1). Is "Start fresh" a control you want in the
- conversation, and is losing the conversation's memory an acceptable
- price for it?
+ the old context (§10.1). **Partly answered (2026-11-20):** Start
+ fresh lives in the chat's dropdown menu, history stays and can be
+ looked up under the quarantine (§10.1, §10.6). Still open: whether
+ the leak bound is acceptable (OPEN-3).
- **Q4. Requests.** Should the admin also get an email for a member's
request, or only the card in their conversation? Is a week between
repeated requests right?
@@ -1660,16 +1908,30 @@ key as soon as Sporran declares one and the manifest names it.
an external service, given nothing is installed?
- **Q9. Oficina ID for the tile.** Worth pursuing with Sporran (OIDC or
trusting Base's issuer), or leave each service's own sign-in?
-- **Q10. The instance's public reachability.** CIMD needs Equipo's
- origin reachable from the service. Is the production Equipo origin
- public (then `EQUIPO_SERVICE_CIMD=1`), or tailnet-only (DCR)?
-
-### 17.1 OPEN: Astra round 4 findings, not resolved in this revision
-
-These five came back from Astra's fourth round on revision 4. The
-review loop stopped there by instruction. Each is a known gap in this
-design, to settle with Paul before planning starts. None changes the
-person's flow; all are about the strength of §10's guarantees.
+- **Q10. ANSWERED (2026-11-20).** Production is
+ `https://equipo.oficina.works`, staging
+ `https://equipo-staging.bds.oncarlos.com`; both serve the client
+ document. Applied in §7.4.
+
+### 17.1 Astra round 4 findings
+
+These five came back from Astra's fourth round on revision 4.
+Revision 5 resolves four; **OPEN-3 is still open**.
+
+- OPEN-1: **resolved** in §10.1 (both quoting helpers composer-only).
+- OPEN-2: **resolved** in §10.1 and §10.6 (the notebook is quarantined
+ at Start fresh; lookups re-apply the quarantine).
+- OPEN-3: **still open**; the day class is now charged 12 bits, but
+ the bound still does not charge choices among echoed ids or the
+ call's structure. Astra round 5 recommends removing the 32-bit
+ promise and asking before every read once service data or a tainted
+ lookup has arrived, until a complete accounting exists.
+- OPEN-2 is only **partly** resolved: see OPEN-8 in §17.2.
+- OPEN-4: **resolved** in §10.1 (forbidden, ask, run; approved unkeyed
+ service changes go through the once-only dispatcher).
+- OPEN-5: **resolved** in §10.3 (a random grant id per consent).
+
+The findings as Astra gave them:
- **OPEN-1 (Critical). A second quotation path.** §10.1 makes
`txn.quote` composer-only, but `team_nudge` authorises work through
@@ -1716,6 +1978,42 @@ person's flow; all are about the strength of §10's guarantees.
disconnect and reconnect, and removal and rejoin, against an old
card.
+### 17.2 OPEN: Astra round 5 findings, not resolved in revision 5
+
+One review round was run on revision 5, by instruction. It found no
+Critical issues and five Important ones. One (reads before review were
+unreachable as written) is fixed in §4.3 by making "nothing" the
+pre-review answer. These four remain open:
+
+- **OPEN-6 (Important). Publish does not bind what was reviewed.**
+ `PUT .../review` checks a draft hash, but `POST .../publish` takes
+ no version, so another reviewer can change the review between page
+ and publish; and §9.6's manifest hash covers tool definitions, not
+ the execution policy (class, argument classes, key field). Proposed
+ fix: immutable reviewed revisions; hash definitions, pins and policy
+ together; Publish compares the shown revision atomically with the
+ current one and the permission; prepared calls bind to that policy
+ revision.
+- **OPEN-7 (Important). Permissions are not applied consistently.**
+ §7.1 lets adders remove what they added and reviewers remove any
+ service, but `DELETE /services/{id}`, the changes review and the
+ Store still say owner-only. Proposed fix: one permission matrix for
+ every route, card and screen, capabilities exposed in
+ `GET /services`, and a permission recheck in the transaction for
+ review, publish, allowing changed tools and removal.
+- **OPEN-8 (Important). The Assistant's notebook is not mirrored.**
+ §10.1 and §10.6 assume the instance holds the Assistant lane's
+ notebook, but the runner reports notebooks only for the Coordinator
+ lane (`internal/runner/thin/bridge.go:458`) and the instance record
+ is keyed by person alone (`chat/notebook.go:16`). Proposed fix: a
+ lane-aware notebook report for the Assistant, durable quarantine on
+ the instance, epoch fencing of late reports, and the reset
+ acknowledged only after the quarantine is stored; tests for recall
+ after a runner restart and a delayed old-epoch report.
+- **OPEN-9 (Important), the same as OPEN-3.** Remove the 32-bit
+ promise or complete the accounting.
+
+
## 18. Astra's findings, and where each is answered
### 18.1 Round 1 (revision 1)