oficina / equipo Public

Add a bounded read-only check of the live database

Paul Campbell pushed by claude agent, operated by paul@keymail.dev 708317110f4f493f91ed5944216b5c882a06e6ee parent 8a3f1d9
7 files changed, +564 −1
  • .rastrillo/budgets.txt +1 −1
  • cmd/equipo/check_db.go +233 −0
  • cmd/equipo/check_db_test.go +207 −0
  • cmd/equipo/main.go +3 −0
  • docs/superpowers/plans/CONTROLLER-REPORT-check-db.md +104 −0
  • docs/superpowers/plans/CONTROLLER-REPORT-plan-3.md +7 −0
  • internal/equipo/copy.go +9 −0

CI failed — 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/fix__check-db: 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.4s
ci-box: claude: fetched and verified in 3.9s
ci-box: codex: fetched and verified in 3.5s
ci-box: codex-code-mode-host: fetched and verified in 1.4s
ci-box: libwrap: fetched and verified in 0.4s
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 9.9s
ci-box: pi: installed and verified in 6.9s
ci-box: opencode: installed and verified in 2.2s
ci-box: chromium 156.0.8078.79-1~deb13u1: 76 packages fetched, verified and unpacked in 9.9s
ci-box: clone deepened in 4.2s
ci-box: file times set from content: 3126 files, 200 directories
ci-box: ready in 17.7s
=== 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.145s
=== compile ===
go build ./...
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py compile
+ go build -tags testbuild ./...
  2.5s
+ go list -export -test -tags testbuild -f  ./...
  3.7s
+ go list -export -test -tags browser,testbuild -f  ./internal/equipo ./internal/headless ./internal/idtest ./internal/plan3test ./internal/thintest
  3.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-24 15:56:00 +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 1m10.797s 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 1m9.189s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m9.19s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 40.16, cpu waiting 27.98%, memory waiting 0.00%, io waiting 1.23%
--- 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 1m10.333s 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 1m8.585s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m8.58s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 40.16, cpu waiting 28.46%, memory waiting 0.00%, io waiting 1.27%
--- 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 1m9.919s 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 1m8.031s amadan.net/oficina/equipo/internal/headless
receipt: slow test 59.66s amadan.net/oficina/equipo/internal/headless TestHeadlessConnections
receipt: slow test 4.41s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenPasteEndToEnd
receipt: slow test 3.96s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenConnection
machine: 32 CPUs, load 40.16, cpu waiting 28.46%, memory waiting 0.00%, io waiting 1.27%
--- 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 1m8.533s 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 1m6.808s amadan.net/oficina/equipo/internal/headless
receipt: slow test 32.58s amadan.net/oficina/equipo/internal/headless TestMacWorker
receipt: slow test 17.1s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 8.66s amadan.net/oficina/equipo/internal/headless TestHeadlessPrewarm
receipt: slow test 8.48s amadan.net/oficina/equipo/internal/headless TestHeadlessAttachments
machine: 32 CPUs, load 41.83, cpu waiting 28.91%, memory waiting 0.00%, io waiting 1.32%
--- 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_step_refused$|^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 1m25.455s 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 1m23.753s amadan.net/oficina/equipo/internal/headless
receipt: slow test 55.75s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 8.96s amadan.net/oficina/equipo/internal/headless TestHeadlessRunnerKillLeavesNoCopies
receipt: slow test 7.74s amadan.net/oficina/equipo/internal/headless TestHeadlessCopyRotation
receipt: slow test 6.86s amadan.net/oficina/equipo/internal/headless TestHeadlessPolicyGuards
receipt: slow test 4.44s amadan.net/oficina/equipo/internal/headless TestHeadlessNewHouseRuleStartsFresh
machine: 32 CPUs, load 43.65, cpu waiting 27.92%, memory waiting 0.00%, io waiting 0.97%
--- 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_step_refused$|^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 2m37.372s 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 2m35.435s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m30.84s amadan.net/oficina/equipo/internal/headless TestHeadlessAssistant
receipt: slow test 18.27s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 8.55s amadan.net/oficina/equipo/internal/headless TestHeadlessResearchHandoff
receipt: slow test 6.58s amadan.net/oficina/equipo/internal/headless TestHeadlessTurnBatching
receipt: slow test 6.43s amadan.net/oficina/equipo/internal/headless TestHeadlessBatchAfterRefusedReply
machine: 32 CPUs, load 18.08, cpu waiting 9.09%, memory waiting 0.00%, io waiting 0.28%
--- 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 1.476s 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 2m15.947s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 9.9s amadan.net/oficina/equipo/internal/thintest TestContractTeamJobSettledStates
receipt: slow test 6.8s amadan.net/oficina/equipo/internal/thintest TestExplorePreviewsOff
receipt: slow test 5.16s amadan.net/oficina/equipo/internal/thintest TestContractTeamNudgePersonNeeds
receipt: slow test 3.92s amadan.net/oficina/equipo/internal/thintest TestContractPreviewHeldUntilPublishAnswer
receipt: slow test 2.72s amadan.net/oficina/equipo/internal/thintest TestContractTeamUpdatePersonNeeds
machine: 32 CPUs, load 4.46, cpu waiting 0.08%, memory waiting 0.00%, io waiting 4.04%
--- 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 1.44s 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 1m40.943s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 9.16s amadan.net/oficina/equipo/internal/thintest TestContractPreviewNotScheduled
receipt: slow test 5.02s amadan.net/oficina/equipo/internal/thintest TestContractPublishNotOffered
receipt: slow test 4.63s amadan.net/oficina/equipo/internal/thintest TestContractMacRecheckMergeAuthority
receipt: slow test 3.06s amadan.net/oficina/equipo/internal/thintest TestContractPausedJob
receipt: slow test 2.47s amadan.net/oficina/equipo/internal/thintest TestContractPreview
machine: 32 CPUs, load 4.46, cpu waiting 1.39%, memory waiting 0.00%, io waiting 3.97%
--- 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 4m57.043s, over the 45s its record on line 44 allows; reported only, timing fails on CI

receipt: test step 5m10.965s 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 4m57.043s amadan.net/oficina/equipo/internal/runner/thin
receipt: slow test 37s amadan.net/oficina/equipo/internal/runner/thin TestModelsProbeAnsweredByAnotherModel
receipt: slow test 36.87s amadan.net/oficina/equipo/internal/runner/thin TestModelsEngineeringProbesThenRunsTheStrongest
receipt: slow test 36.82s amadan.net/oficina/equipo/internal/runner/thin TestModelsUnhealthyRetriedOnDemand
receipt: slow test 18.47s amadan.net/oficina/equipo/internal/runner/thin TestModelsProbeRunsInsideTheAdmission
receipt: slow test 9.87s amadan.net/oficina/equipo/internal/runner/thin TestTimeoutKeepsNothingForAnOlderInstance
machine: 32 CPUs, load 2.10, cpu waiting 0.71%, 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 48.753s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 47.538s amadan.net/oficina/equipo/internal/runner
receipt: slow test 27.5s amadan.net/oficina/equipo/internal/runner TestDirectBugWorkflow
receipt: slow test 20.03s amadan.net/oficina/equipo/internal/runner TestEnrolKeepsTheRole
machine: 32 CPUs, load 36.83, cpu waiting 26.75%, memory waiting 0.00%, io waiting 1.84%
--- 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 52.933s 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 50.99s amadan.net/oficina/equipo/internal/runner
receipt: slow test 41.03s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowCandidateOrder
receipt: slow test 35.8s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowFeature
receipt: slow test 8.39s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryCallRefusalKeepsServing
receipt: slow test 1.56s amadan.net/oficina/equipo/internal/runner TestCoordinatorRefusalMatrix
machine: 32 CPUs, load 39.40, cpu waiting 28.76%, memory waiting 0.00%, io waiting 1.67%
--- 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 35.096s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 34.194s amadan.net/oficina/equipo/internal/runner
receipt: slow test 5.12s amadan.net/oficina/equipo/internal/runner TestDirectFaultIsolation
receipt: slow test 3.21s amadan.net/oficina/equipo/internal/runner TestClaimRefusalsBackOff
receipt: slow test 3.14s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryRefusedKeepsServing
receipt: slow test 2.39s amadan.net/oficina/equipo/internal/runner TestToolVerbUnderFakeHarness
receipt: slow test 1.62s amadan.net/oficina/equipo/internal/runner TestCoordinatorTransientRefusalKeepsServing
machine: 32 CPUs, load 25.88, cpu waiting 16.56%, memory waiting 0.00%, io waiting 2.33%
--- 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 32.3%, load 17.69
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 1m8.218s 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 1m6.348s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 29.02s amadan.net/oficina/equipo/internal/equipotest TestAuthorityCoreIntegration
receipt: slow test 28.96s amadan.net/oficina/equipo/internal/equipotest TestBootstrapNamesOwnersSetting
receipt: slow test 26.72s amadan.net/oficina/equipo/internal/equipotest TestAccountLabelMigration
receipt: slow test 24.1s amadan.net/oficina/equipo/internal/equipotest TestBudgetConfigurationFailuresAreAtomic
receipt: slow test 23.63s amadan.net/oficina/equipo/internal/equipotest TestBudgetConfiguration
machine: 32 CPUs, load 40.38, cpu waiting 24.16%, memory waiting 0.00%, io waiting 0.79%
--- 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 32.3%, load 17.69
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 1.417s 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 1m18.086s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 20.92s amadan.net/oficina/equipo/internal/equipotest TestProjectsFailuresRollBack
receipt: slow test 20.88s amadan.net/oficina/equipo/internal/equipotest TestProjectOwnersAreMembers
receipt: slow test 20.84s amadan.net/oficina/equipo/internal/equipotest TestProjectRetryAndRevision
receipt: slow test 20.81s amadan.net/oficina/equipo/internal/equipotest TestProjectsSharedAndGrouped
receipt: slow test 20.77s amadan.net/oficina/equipo/internal/equipotest TestProjectWritesRequireCurrentOwner
machine: 32 CPUs, load 17.69, cpu waiting 14.62%, memory waiting 0.00%, io waiting 2.41%
--- 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 32.3%, load 17.69
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 1m17.016s 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 1m7.786s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 15.69s amadan.net/oficina/equipo/internal/equipotest TestReleaseStampContract
receipt: slow test 13.38s amadan.net/oficina/equipo/internal/equipotest TestRosterChangesAffectExistingSession
receipt: slow test 10.35s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalWhileAssigned
receipt: slow test 10.3s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalRollsBack
receipt: slow test 7.24s amadan.net/oficina/equipo/internal/equipotest TestRosterBootstrapOnce
machine: 32 CPUs, load 35.01, cpu waiting 20.64%, memory waiting 0.00%, io waiting 0.67%
--- 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 32.3%, load 17.69
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
cache miss: amadan.net/oficina/equipo/internal/equipotest: its inputs changed

receipt: test step 1m9.148s 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 1m7.299s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 26.62s amadan.net/oficina/equipo/internal/equipotest TestSigninNoProof
receipt: slow test 25.66s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedExistingTeam
receipt: slow test 25.64s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedRollback
receipt: slow test 23.87s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedOnce
receipt: slow test 23.87s amadan.net/oficina/equipo/internal/equipotest TestSpecialistSettingsConcurrentRevision
machine: 32 CPUs, load 40.38, cpu waiting 24.16%, memory waiting 0.00%, io waiting 0.79%
--- 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 32.3%, load 17.69
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
cache miss: amadan.net/oficina/equipo/internal/plan3test: its inputs changed
rastrillo: budget test: go test failed
--- FAIL amadan.net/oficina/equipo/internal/plan3test TestPlan3ReleaseBoundaries
=== RUN   TestPlan3ReleaseBoundaries
--- FAIL: TestPlan3ReleaseBoundaries (0.31s)

--- FAIL amadan.net/oficina/equipo/internal/plan3test TestPlan3ReleaseBoundaries/inventory
=== RUN   TestPlan3ReleaseBoundaries/inventory
    plan3_release_test.go:22: entry has no copy review status or applicable acceptance CopyDBPathMissing
--- FAIL: TestPlan3ReleaseBoundaries/inventory (0.01s)

--- FAIL amadan.net/oficina/equipo/internal/plan3test (package output)
FAIL
rastrillo-budget/v1 ran 50.445s
FAIL	amadan.net/oficina/equipo/internal/plan3test	50.869s


receipt: test step 52.696s 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 50.445s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 3.68s amadan.net/oficina/equipo/internal/plan3test TestPlan3Upgrade
receipt: slow test 3.45s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3B
receipt: slow test 1.7s amadan.net/oficina/equipo/internal/plan3test TestConversationQuestionRace
receipt: slow test 1.57s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3A
receipt: slow test 1.25s amadan.net/oficina/equipo/internal/plan3test TestPlanMigrationUpgrade
exit status 1
+ go test -tags testbuild -timeout 15m -v -run '^TestPlan3ReleaseBoundaries$/^inventory$' -count=1 ./internal/plan3test   (retry, once)
FAILED TWICE ./internal/plan3test:TestPlan3ReleaseBoundaries/inventory plan3test
=== RUN   TestPlan3ReleaseBoundaries
=== RUN   TestPlan3ReleaseBoundaries/inventory
    plan3_release_test.go:22: entry has no copy review status or applicable acceptance CopyDBPathMissing
--- FAIL: TestPlan3ReleaseBoundaries (0.02s)
    --- FAIL: TestPlan3ReleaseBoundaries/inventory (0.02s)
FAIL
rastrillo-budget/v1 ran 16ms
FAIL	amadan.net/oficina/equipo/internal/plan3test	0.194s
FAIL
machine: 32 CPUs, load 43.65, cpu waiting 28.08%, memory waiting 0.00%, io waiting 1.01%
make: *** [Makefile:113: ci-shard] Error 1

amadan: step check shard 16 of 29 failed: exit status 2
--- 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 32.3%, load 17.69
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/door ./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/pause ./internal/equipo/personapi ./internal/equipo/planning ./internal/equipo/push ./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/claude/realcli ./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/forgekey ./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/door ./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/pause ./internal/equipo/personapi ./internal/equipo/planning ./internal/equipo/push ./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/claude/realcli ./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/forgekey ./internal/wire/wireschema ./internal/wire/wiretest ./tools/drive
cache miss: amadan.net/oficina/equipo/internal/chatmarkdown: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/testci: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/claude/realcli: its inputs changed
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/equipo/team: its inputs changed
cache miss: amadan.net/oficina/equipo/cmd/equipo-runner: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/forge: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/equipo: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/idtest: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runnerproto: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/workspace: 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/claude: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/codex: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/pi: its inputs changed
budget note: internal/equipo took 2m8.576s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/equipo/chat took 21.915s, 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 12.105s, 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 1m43.898s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/release took 41.44s, 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 41.638s, over the 15s its record on line 40 allows; reported only, timing fails on CI

receipt: test step 2m20.852s against a 60s target (the gate's other steps are not in this figure)
receipt: 19 packages ran, 47 cached, 17 without tests, 0 failed
receipt: slow package 2m8.576s amadan.net/oficina/equipo/internal/equipo
receipt: slow package 1m43.898s amadan.net/oficina/equipo/internal/idtest
receipt: slow package 57.906s amadan.net/oficina/equipo/internal/runner/provider/opencode
receipt: slow package 51.751s amadan.net/oficina/equipo/internal/runner/provider/pi
receipt: slow package 42.088s amadan.net/oficina/equipo/internal/runner/checks
receipt: slow test 54.04s amadan.net/oficina/equipo/internal/idtest TestDoorRemembersOficinaID
receipt: slow test 45.85s amadan.net/oficina/equipo/internal/idtest TestDoorStepUpIsLocal
receipt: slow test 45.79s amadan.net/oficina/equipo/internal/idtest TestDoorNeverJudgesANativeSession
receipt: slow test 45.63s amadan.net/oficina/equipo/internal/idtest TestDoorOficinaSettingsUnreadableIsNoLoop
receipt: slow test 45.22s amadan.net/oficina/equipo/internal/idtest TestDoorForgetsOficinaIDForARefusedSession
machine: 32 CPUs, load 14.36, cpu waiting 7.20%, memory waiting 0.00%, io waiting 0.22%
--- 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.265s 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.702s amadan.net/oficina/equipo/internal/headless
receipt: slow test 37.61s amadan.net/oficina/equipo/internal/headless TestBrowserDraftIsTheMessage
receipt: slow test 14.51s amadan.net/oficina/equipo/internal/headless TestBrowserDraftStreamsFormatted
receipt: slow test 9.61s amadan.net/oficina/equipo/internal/headless TestBrowserChat
receipt: slow test 7.29s amadan.net/oficina/equipo/internal/headless TestBrowserComposer
receipt: slow test 5.75s amadan.net/oficina/equipo/internal/headless TestBrowserChatSendStaysOnPage
machine: 32 CPUs, load 42.83, cpu waiting 28.32%, memory waiting 0.00%, io waiting 1.04%
--- 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 1m22.281s 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.575s amadan.net/oficina/equipo/internal/headless
receipt: slow test 24.96s amadan.net/oficina/equipo/internal/headless TestBrowserRailFollowsWork
receipt: slow test 18.31s amadan.net/oficina/equipo/internal/headless TestBrowserTaskThread
receipt: slow test 12.4s amadan.net/oficina/equipo/internal/headless TestBrowserReceiptFollowsReview
receipt: slow test 8.82s amadan.net/oficina/equipo/internal/headless TestBrowserAskAfterMerge
receipt: slow test 7.59s amadan.net/oficina/equipo/internal/headless TestBrowserTaskCard
machine: 32 CPUs, load 42.83, cpu waiting 28.08%, memory waiting 0.00%, io waiting 1.01%
--- 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 1m47.181s 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 1m45.691s amadan.net/oficina/equipo/internal/headless
receipt: slow test 13.3s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAddPage
receipt: slow test 11.91s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsConversation
receipt: slow test 11.19s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAdd
receipt: slow test 11.15s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsSignInEmail
receipt: slow test 10.85s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsMeteredLimitRequired
machine: 32 CPUs, load 35.01, cpu waiting 20.64%, memory waiting 0.00%, io waiting 0.67%
--- 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|TestBrowserConnectionsSignInEmail|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
--- FAIL amadan.net/oficina/equipo/internal/headless TestBrowserCopyContinue
rastrillo: budget test: go test failed
=== RUN   TestBrowserCopyContinue
time=2026-11-26T16:22:22.394Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-26T16:22:22.394Z level=INFO msg="startup phase done" phase=state_lock took=86µs
time=2026-11-26T16:22:22.394Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-26T16:22:22.394Z level=INFO msg="startup phase done" phase=claim_roots took=83µs
time=2026-11-26T16:22:22.394Z level=INFO msg="startup phase" phase=sweep
time=2026-11-26T16:22:22.434Z level=INFO msg="startup phase done" phase=sweep took=40.23ms
time=2026-11-26T16:22:22.434Z level=INFO msg="startup phase" phase=credentials
time=2026-11-26T16:22:22.434Z level=INFO msg="startup phase done" phase=credentials took=198µs
time=2026-11-26T16:22:22.434Z level=INFO msg="startup phase" phase=open_state
time=2026-11-26T16:22:22.483Z level=INFO msg="startup phase done" phase=open_state took=48.834ms
time=2026-11-26T16:22:22.484Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-26T16:22:22.485Z level=INFO msg=connecting host=127.0.0.1:39627 protocol=32
time=2026-11-26T16:22:22.488Z level=INFO msg=connected host=127.0.0.1:39627 took=2.856ms
time=2026-11-26T16:22:22.488Z level=INFO msg="capabilities gathering"
time=2026-11-26T16:22:22.489Z level=INFO msg="capabilities gathered" took=538µs tags=linux,claude,go
time=2026-11-26T16:22:22.489Z level=INFO msg="hello sent" protocol=32
time=2026-11-26T16:22:22.494Z level=INFO msg=welcome protocol=32 role=primary generation=1
    browser_copy_test.go:90: waiting for !document.querySelector('[data-copy-continue]'): context deadline exceeded (last evaluation: context deadline exceeded)
--- FAIL: TestBrowserCopyContinue (6.36s)

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


receipt: test step 1m27.632s against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 0 cached, 0 without tests, 1 failed
receipt: slow package 1m26.211s amadan.net/oficina/equipo/internal/headless
receipt: slow test 14.65s amadan.net/oficina/equipo/internal/headless TestBrowserThinkingAndCards
receipt: slow test 10.13s amadan.net/oficina/equipo/internal/headless TestBrowserStalePageReloads
receipt: slow test 9.54s amadan.net/oficina/equipo/internal/headless TestBrowserWaitingTurns
receipt: slow test 9.16s amadan.net/oficina/equipo/internal/headless TestBrowserMoveIn
receipt: slow test 7.25s 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|TestBrowserConnectionsSignInEmail|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$' -count=1 ./internal/headless   (retry, once)
##############################################################################
FLAKE ./internal/headless:TestBrowserCopyContinue browser-headless-rest 708317110f4f493f91ed5944216b5c882a06e6ee 6.36s 43.65
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
machine: 32 CPUs, load 42.15, cpu waiting 26.24%, memory waiting 0.00%, io waiting 0.88%
--- 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|TestBrowserPreviewPassExchange)$' ./internal/equipo

receipt: test step 1.185s 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 2.649s amadan.net/oficina/equipo/internal/equipo
receipt: slow test 1.94s amadan.net/oficina/equipo/internal/equipo TestBrowserPreviewPassExchange
receipt: slow test 710ms 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|TestBrowserSmartDoor)$' ./internal/idtest
budget note: internal/idtest took 11.272s, over the 10s the default allows (measured on the run this cached result came from); reported only, timing fails on CI

receipt: test step 976ms 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 11.272s amadan.net/oficina/equipo/internal/idtest
receipt: slow test 9s amadan.net/oficina/equipo/internal/idtest TestBrowserSmartDoor
receipt: slow test 2.27s 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 1.211s 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 2.126s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 2.13s 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|TestBrowserEmptyConversation|TestBrowserEndedNoteStaysGone|TestBrowserHousekeeping|TestBrowserInnerGallery|TestBrowserInnerScreens|TestBrowserInstantThinking|TestBrowserInstantThinkingQueued|TestBrowserMachines|TestBrowserPausedWork|TestBrowserPhoneIndex|TestBrowserPlacementQuestionAndPending|TestBrowserProjectPlacement|TestBrowserProjectsList|TestBrowserReportActionFeedback|TestBrowserReportNextSteps|TestBrowserReportThread|TestBrowserRhythm|TestBrowserRollup|TestBrowserRosterAlignment|TestBrowserRosterDecisionStates|TestBrowserRosterQuietDay|TestBrowserRosterReports|TestBrowserRosterSetAside|TestBrowserRosterSubchat|TestBrowserRosterThinking|TestBrowserRosterVisual|TestBrowserSettingsHousekeepingGroups|TestBrowserSettingsMenu|TestBrowserSettingsRail|TestBrowserSettingsSaveBar|TestBrowserSettingsShots|TestBrowserSettingsStayOnPage|TestBrowserSettingsTeams|TestBrowserShipsButtons|TestBrowserSpecialistRows|TestBrowserSpendFollowsAnswers|TestBrowserTaskRows|TestBrowserTeamPanel|TestBrowserThinkingCycles|TestBrowserThinkingLinesClear|TestBrowserThinkingSteady|TestBrowserThinkingWords|TestBrowserTokenRowEmail|TestBrowserTrackPulse|TestBrowserTrackStarCentre|TestBrowserTryAgain)$' ./internal/thintest

receipt: test step 1.413s 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 3m42.358s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 24.52s amadan.net/oficina/equipo/internal/thintest TestBrowserAccessRequest
receipt: slow test 14.45s amadan.net/oficina/equipo/internal/thintest TestBrowserSettingsTeams
receipt: slow test 12.1s amadan.net/oficina/equipo/internal/thintest TestBrowserThinkingCycles
receipt: slow test 10.87s amadan.net/oficina/equipo/internal/thintest TestBrowserPlacementQuestionAndPending
receipt: slow test 9.43s amadan.net/oficina/equipo/internal/thintest TestBrowserRhythm
machine: 32 CPUs, load 8.51, cpu waiting 3.26%, memory waiting 0.00%, io waiting 3.72%
--- 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   (48s)
ok ./internal/headless TestHeadlessConnections/A5_cancel_and_sign_out 4.72s
ok ./internal/headless TestHeadlessConnections/C4_claude_sign_in 1.21s
ok ./internal/headless TestHeadlessConnections/C5_engineering_failover 7.06s
ok ./internal/headless TestHeadlessConnections/C5_engineering_to_codex 8.09s
ok ./internal/headless TestHeadlessConnections/C5_engineering_waits 25.28s
+ 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   (48s)
ok ./internal/headless TestHeadlessConnections/C5_review_auth 10.33s
ok ./internal/headless TestHeadlessConnections/C5_review_failover 10.14s
ok ./internal/headless TestHeadlessConnections/C5_review_on_codex 9.69s
ok ./internal/headless TestHeadlessConnections/C5_review_other_family_first 16.08s
+ go test -tags testbuild -timeout 15m -v -run '^TestMixedVersions$' ./internal/headless   (19s)
ok ./internal/headless TestMixedVersions 17.22s
+ go test -tags testbuild -timeout 15m -v -run '^TestCheckSandboxDeniedPathsTampering$' ./internal/runner/checks   (2s)
ok ./internal/runner/checks TestCheckSandboxDeniedPathsTampering 0.80s
+ 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 36.83, cpu waiting 27.51%, memory waiting 0.00%, io waiting 1.78%
--- 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 11.174s against a 60s target (the gate's other steps are not in this figure)
receipt: 4 packages ran, 0 cached, 4 without tests, 0 failed
receipt: slow package 7.292s amadan.net/oficina/equipo/internal/runner/checks
receipt: slow package 199ms amadan.net/oficina/equipo/internal/runner/provider/claude
receipt: slow package 104ms amadan.net/oficina/equipo/internal/runner/provider/codex
receipt: slow package 6ms amadan.net/oficina/equipo/internal/runner/provider/opencode
receipt: slow package 6ms amadan.net/oficina/equipo/internal/runner/provider/pi
receipt: slow test 5.15s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsGoFixture
receipt: slow test 1.69s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPaths
receipt: slow test 370ms amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsCache
receipt: slow test 200ms amadan.net/oficina/equipo/internal/runner/provider/claude TestDirectJournalAdapterBarrier
receipt: slow test 100ms amadan.net/oficina/equipo/internal/runner/provider/codex TestDirectJournalAdapterBarrier
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
rastrillo: budget test: go test failed
--- FAIL amadan.net/oficina/equipo/internal/runner/containment TestNamespaceParentDeath
=== RUN   TestNamespaceParentDeath
    linux_test.go:404: exact process has not exited: poll=-1,interrupted system call
--- FAIL: TestNamespaceParentDeath (0.07s)

--- FAIL amadan.net/oficina/equipo/internal/runner/containment (package output)
FAIL
rastrillo-budget/v1 ran 2.761s
FAIL	amadan.net/oficina/equipo/internal/runner/containment	2.765s


receipt: test step 3.131s 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 2.761s amadan.net/oficina/equipo/internal/runner/containment
receipt: slow test 260ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceReadOnlyScratch
receipt: slow test 170ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceRecoveryUnavailableProof
receipt: slow test 130ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceDirectPolicyAdmission
receipt: slow test 100ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceRecoveryCleansScratch
receipt: slow test 90ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceOpenCodeBinaryAfterAttestation
exit status 1
+ go test -run '^TestNamespace' -count=1 -v -run '^TestNamespaceParentDeath$' -count=1 ./internal/runner/containment   (retry, once)
##############################################################################
FLAKE ./internal/runner/containment:TestNamespaceParentDeath runner-host 708317110f4f493f91ed5944216b5c882a06e6ee 0.07s 13.50
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
machine: 32 CPUs, load 13.50, cpu waiting 6.74%, memory waiting 0.00%, io waiting 3.25%
--- 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 32.3%, load 17.69
shard 25: make runner-dead-references lanes-check build vet fmt-check spacing budget migration-check
python3 scripts/runner-dead-references.py
reference scan: 2838 text files, 3229 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 tool fiesta spacing -skip tokens.css internal/equipo/static
go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget size
budget size: 92 directories within budget
CGO_ENABLED=0 go test ./internal/equipo -run '^TestMigrationModels$' -count=1
ok  	amadan.net/oficina/equipo/internal/equipo	2.418s
machine: 32 CPUs, load 42.49, cpu waiting 28.90%, memory waiting 0.00%, io waiting 1.56%
--- 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 32.3%, load 17.69
shard 26: make staticcheck
go run honnef.co/go/tools/cmd/staticcheck@v0.7.0 -tags browser,perf,testbuild ./...
machine: 32 CPUs, load 32.46, cpu waiting 22.54%, memory waiting 0.00%, io waiting 2.04%
--- 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 32.3%, load 17.69
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 10
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 25.88, cpu waiting 18.12%, memory waiting 0.00%, io waiting 2.25%
--- 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 32.3%, load 17.69
shard 28: make gitleaks
4:22PM INF Unknown SCM platform. Use --platform to include links in findings. host=amadan.net
4:22PM INF 1202 commits scanned.
4:22PM INF scanned ~67046556 bytes (67.05 MB) in 17.9s
4:22PM INF no leaks found
machine: 32 CPUs, load 36.83, cpu waiting 26.75%, memory waiting 0.00%, io waiting 1.84%

amadan: job failed at step check shard 16 of 29 — its output is above, not at the tail of this log
diff --git a/.rastrillo/budgets.txt b/.rastrillo/budgets.txt
index 4f41cb6e..0a38d4c7 100644
--- a/.rastrillo/budgets.txt
+++ b/.rastrillo/budgets.txt
@@ -14,7 +14,7 @@ perf GET /* skip Unknown private paths render 404; this fallback contains no scr
time internal/equipo/team 60s Plan 3 loaded CI measured 45.985s; niced serial reruns measured 18.079s and 22.031s. Keep migration, recovery, accounting and concurrency assertions; 60s leaves 30 percent headroom above loaded CI.
time internal/equipotest 300s Final fix package rerun measured 187.035s (review 172.4s); 300s gives 60 percent headroom for HTTP, sandbox, authority and final regression coverage.
-size internal/equipo 23239 - Native preview passes, wrapper grants, Retry/timeline, no-access merge copy; a timed-out step's pushed work on the timeline (2026-11-26); measured 23239 source lines.
+size internal/equipo 23248 - Preview grants, Retry/timeline, no-access merges, kept timed-out work, and reviewed check-db operator copy; measured 23248 source lines (2026-11-26).
size internal/wire 7420 - Protocol 31 display facts, path validation, task evidence, merge reasons; protocol 32 unfinished work, shell_unavailable, CI units (2026-11-26); measured 7420 source lines.
size internal/equipotest - 12017 Task 21 repairs historical migration and conversation fixtures after Plan 3, and the Rastrillo upgrade contract comparing served assets with what Assets serves; measured 0/12017 source/test lines.
time internal/runner/checks 90s CI worker measured 44.553s (44.6s rounded);
diff --git a/cmd/equipo/check_db.go b/cmd/equipo/check_db.go
new file mode 100644
index 00000000..33024cc0
--- /dev/null
+++ b/cmd/equipo/check_db.go
@@ -0,0 +1,233 @@
+package main
+
+import (
+ "context"
+ "database/sql"
+ "encoding/json"
+ "errors"
+ "io"
+ "net/url"
+ "os"
+ "path/filepath"
+ "regexp"
+ "strconv"
+ "strings"
+ "time"
+
+ "amadan.net/oficina/equipo/internal/equipo"
+ _ "modernc.org/sqlite"
+)
+
+const dbCheckLimit = 60 * time.Second
+const dbCheckMessages = 100
+
+type dbCheckIssue struct {
+ BTree *uint32 `json:"b_tree,omitempty"`
+ Page *uint32 `json:"page,omitempty"`
+}
+type dbCheckSummary struct {
+ Status string `json:"status"`
+ Message string `json:"message,omitempty"`
+ QuickCheck string `json:"quick_check"`
+ IntegrityCheck string `json:"integrity_check"`
+ ErrorCount int `json:"error_count"`
+ LimitReached bool `json:"error_limit_reached"`
+ Issues []dbCheckIssue `json:"issues"`
+ PageCount *int64 `json:"page_count"`
+ PageSize *int64 `json:"page_size"`
+ JournalMode *string `json:"journal_mode"`
+ WALBytes *int64 `json:"wal_bytes"`
+ ElapsedMS int64 `json:"elapsed_ms"`
+}
+
+// Only SQLite's structural coordinates can leave this process. In particular,
+// never print raw errors, table/index names, CHECK expressions or row contents.
+var dbCoordinates = regexp.MustCompile(`(?m)^(?:Tree ([0-9]{1,10}) page ([0-9]{1,10})|Page ([0-9]{1,10}))\b`)
+
+func (s *dbCheckSummary) finding(raw string) {
+ s.ErrorCount++
+ if len(s.Issues) >= 5 {
+ return
+ }
+ issue := dbCheckIssue{}
+ if m := dbCoordinates.FindStringSubmatch(raw); m != nil {
+ number := func(v string) *uint32 {
+ n, e := strconv.ParseUint(v, 10, 32)
+ if e != nil {
+ return nil
+ }
+ p := uint32(n)
+ return &p
+ }
+ issue.BTree = number(m[1])
+ issue.Page = number(m[2])
+ if issue.Page == nil {
+ issue.Page = number(m[3])
+ }
+ }
+ s.Issues = append(s.Issues, issue)
+}
+
+func openCheckDB(path string) (*sql.DB, error) {
+ // Encode as a filename, never interpret environment content as SQLite options.
+ u := url.URL{Scheme: "file", Path: path, RawQuery: "mode=ro"}
+ d, err := sql.Open("sqlite", u.String())
+ if err != nil {
+ return nil, err
+ }
+ d.SetMaxOpenConns(1)
+ return d, nil
+}
+
+func runDBCheckCommand(args []string, out io.Writer) (bool, int) {
+ if len(args) == 0 || args[0] != "check-db" {
+ return false, 0
+ }
+ if len(args) != 1 {
+ s := dbCheckSummary{Status: "failed", Message: equipo.CopyDBArguments, ErrorCount: 1, QuickCheck: "not_run", IntegrityCheck: "not_run", Issues: []dbCheckIssue{}}
+ _ = json.NewEncoder(out).Encode(s)
+ return true, 1
+ }
+ return true, checkDB(context.Background(), out, os.Getenv("CARLOS_DB"))
+}
+
+// checkDB reads the live file structure without booting the app. Constraint
+// violations may not be reported; this checks file structure. SQLite diagnostic
+// text is never emitted: only bounded b-tree/page coordinates are retained.
+func checkDB(parent context.Context, out io.Writer, path string) int {
+ return checkDBWithin(parent, out, path, dbCheckLimit)
+}
+
+func checkDBWithin(parent context.Context, out io.Writer, path string, limit time.Duration) (code int) {
+ started := time.Now()
+ ctx, cancel := context.WithTimeout(parent, limit)
+ defer cancel()
+ s := dbCheckSummary{Status: "failed", QuickCheck: "not_run", IntegrityCheck: "not_run", Issues: []dbCheckIssue{}}
+ defer func() {
+ if ctx.Err() != nil {
+ s.Message = equipo.CopyDBTimeout
+ if s.ErrorCount == 0 {
+ s.ErrorCount = 1
+ }
+ }
+ if s.ErrorCount == 0 {
+ s.Status = "ok"
+ } else {
+ code = 1
+ }
+ s.ElapsedMS = time.Since(started).Milliseconds()
+ if json.NewEncoder(out).Encode(s) != nil {
+ code = 1
+ }
+ }()
+ fail := func(message string) { s.Message = message; s.ErrorCount++ }
+ if ctx.Err() != nil {
+ fail(equipo.CopyDBTimeout)
+ return 1
+ }
+ if path == "" {
+ fail(equipo.CopyDBPathMissing)
+ return 1
+ }
+ if !filepath.IsAbs(path) {
+ fail(equipo.CopyDBPathInvalid)
+ return 1
+ }
+ info, err := os.Stat(path)
+ if errors.Is(err, os.ErrNotExist) {
+ fail(equipo.CopyDBPathMissing)
+ return 1
+ }
+ if err != nil || !info.Mode().IsRegular() {
+ fail(equipo.CopyDBPathInvalid)
+ return 1
+ }
+ d, err := openCheckDB(path)
+ if err != nil {
+ fail(equipo.CopyDBOpenFailed)
+ return 1
+ }
+ defer d.Close()
+ if err = d.PingContext(ctx); err != nil {
+ fail(equipo.CopyDBOpenFailed)
+ return 1
+ }
+ tx, err := d.BeginTx(ctx, &sql.TxOptions{ReadOnly: true})
+ if err != nil {
+ fail(equipo.CopyDBOpenFailed)
+ return 1
+ }
+ defer tx.Rollback()
+ // No setters, migrations, application hooks or checkpoint. Both checks and
+ // metadata share one read snapshot while the serving connection keeps writing.
+ s.QuickCheck = s.check(ctx, tx, "PRAGMA quick_check(100)")
+ s.IntegrityCheck = s.check(ctx, tx, "PRAGMA integrity_check(100)")
+ if s.ErrorCount > 0 {
+ s.Message = equipo.CopyDBCheckFailed
+ }
+ integer := func(query string) *int64 {
+ var n int64
+ if err := tx.QueryRowContext(ctx, query).Scan(&n); err != nil || n < 0 {
+ fail(equipo.CopyDBMetadataFailed)
+ return nil
+ }
+ return &n
+ }
+ s.PageCount = integer("PRAGMA page_count")
+ s.PageSize = integer("PRAGMA page_size")
+ var journal string
+ if err = tx.QueryRowContext(ctx, "PRAGMA journal_mode").Scan(&journal); err != nil {
+ fail(equipo.CopyDBMetadataFailed)
+ } else {
+ switch journal {
+ case "wal", "delete", "truncate", "persist", "memory", "off":
+ s.JournalMode = &journal
+ default:
+ fail(equipo.CopyDBMetadataFailed)
+ }
+ }
+ // A WAL is optional, and an invisible WAL is unknown, not zero. Resolve a
+ // symlink only for this observation; SQLite resolves the database itself.
+ if resolved, e := filepath.EvalSymlinks(path); e == nil {
+ if wal, e := os.Stat(resolved + "-wal"); e == nil && wal.Mode().IsRegular() {
+ n := wal.Size()
+ s.WALBytes = &n
+ }
+ }
+ return 0
+}
+
+func (s *dbCheckSummary) check(ctx context.Context, tx *sql.Tx, query string) string {
+ rows, err := tx.QueryContext(ctx, query)
+ if err != nil {
+ s.finding("")
+ return "error"
+ }
+ defer rows.Close()
+ result := "ok"
+ count := 0
+ for rows.Next() {
+ var raw string
+ if err = rows.Scan(&raw); err != nil {
+ s.finding("")
+ return "error"
+ }
+ if strings.TrimSpace(raw) != "ok" {
+ s.finding(raw)
+ count++
+ result = "findings"
+ }
+ if count >= dbCheckMessages {
+ s.LimitReached = true
+ break
+ }
+ }
+ if rows.Err() != nil {
+ s.finding("")
+ if result == "findings" {
+ return "findings_and_error"
+ }
+ return "error"
+ }
+ return result
+}
diff --git a/cmd/equipo/check_db_test.go b/cmd/equipo/check_db_test.go
new file mode 100644
index 00000000..b84b2b5a
--- /dev/null
+++ b/cmd/equipo/check_db_test.go
@@ -0,0 +1,207 @@
+package main
+
+import (
+ "bytes"
+ "context"
+ "database/sql"
+ "encoding/json"
+ "io"
+ "net/url"
+ "os"
+ "path/filepath"
+ "strings"
+ "testing"
+ "time"
+
+ "amadan.net/oficina/equipo/internal/equipo"
+ _ "modernc.org/sqlite"
+)
+
+func checkFixture(t *testing.T, wal bool) (string, *sql.DB) {
+ t.Helper()
+ path := filepath.Join(t.TempDir(), "live ? database.db")
+ d, err := sql.Open("sqlite", (&url.URL{Scheme: "file", Path: path}).String())
+ if err != nil {
+ t.Fatal(err)
+ }
+ t.Cleanup(func() { d.Close() })
+ if wal {
+ if _, err = d.Exec("PRAGMA journal_mode=WAL; PRAGMA wal_autocheckpoint=0"); err != nil {
+ t.Fatal(err)
+ }
+ }
+ if _, err = d.Exec("CREATE TABLE private_rows (value TEXT); INSERT INTO private_rows VALUES ('never-print-row-contents')"); err != nil {
+ t.Fatal(err)
+ }
+ return path, d
+}
+func decodeCheck(t *testing.T, b *bytes.Buffer) dbCheckSummary {
+ t.Helper()
+ var v dbCheckSummary
+ if b.Len() > 4096 || strings.Contains(b.String(), "never-print") || strings.Contains(b.String(), "private_rows") {
+ t.Fatalf("unsafe output: %q", b.String())
+ }
+ if err := json.Unmarshal(b.Bytes(), &v); err != nil {
+ t.Fatal(err)
+ }
+ return v
+}
+func TestCheckDBLiveWALAndReadOnly(t *testing.T) {
+ path, d := checkFixture(t, true)
+ var b bytes.Buffer
+ if code := checkDB(context.Background(), &b, path); code != 0 {
+ t.Fatalf("code=%d %s", code, b.String())
+ }
+ v := decodeCheck(t, &b)
+ if v.Status != "ok" || v.QuickCheck != "ok" || v.IntegrityCheck != "ok" || v.ErrorCount != 0 || v.PageCount == nil || *v.PageCount < 2 || v.PageSize == nil || v.JournalMode == nil || *v.JournalMode != "wal" || v.WALBytes == nil || *v.WALBytes <= 0 {
+ t.Fatalf("summary %+v", v)
+ }
+ ro, err := openCheckDB(path)
+ if err != nil {
+ t.Fatal(err)
+ }
+ defer ro.Close()
+ // Turn off query_only if present: mode=ro itself must refuse writes.
+ _, _ = ro.Exec("PRAGMA query_only=OFF")
+ if _, err = ro.Exec("INSERT INTO private_rows VALUES ('forbidden')"); err == nil {
+ t.Fatal("write allowed")
+ }
+ // The committed table exists only in WAL until the live writer closes.
+ var count int
+ if err = ro.QueryRow("SELECT count(*) FROM private_rows").Scan(&count); err != nil || count != 1 {
+ t.Fatalf("WAL not read: count=%d err=%v", count, err)
+ }
+ if _, err = d.Exec("INSERT INTO private_rows VALUES ('still writable')"); err != nil {
+ t.Fatal(err)
+ }
+}
+func TestCheckDBCorruptBTree(t *testing.T) {
+ path, d := checkFixture(t, false)
+ var page, size int
+ if err := d.QueryRow("SELECT rootpage FROM sqlite_schema WHERE name='private_rows'").Scan(&page); err != nil {
+ t.Fatal(err)
+ }
+ if err := d.QueryRow("PRAGMA page_size").Scan(&size); err != nil {
+ t.Fatal(err)
+ }
+ d.Close()
+ data, err := os.ReadFile(path)
+ if err != nil {
+ t.Fatal(err)
+ }
+ data[(page-1)*size] = 0xff // Invalid b-tree page type, leaving the header intact.
+ if err = os.WriteFile(path, data, 0600); err != nil {
+ t.Fatal(err)
+ }
+ var b bytes.Buffer
+ if code := checkDB(context.Background(), &b, path); code == 0 {
+ t.Fatal("corruption passed")
+ }
+ v := decodeCheck(t, &b)
+
+ if v.Status != "failed" || v.ErrorCount == 0 || v.QuickCheck != "findings_and_error" || v.IntegrityCheck != "findings_and_error" {
+ t.Fatalf("corruption summary %+v", v)
+ }
+}
+func TestCheckDBMissingAndNoBoot(t *testing.T) {
+ t.Setenv("EQUIPO_ORIGIN", "")
+ t.Setenv("EQUIPO_INSTANCE_KEY", "")
+ for _, tc := range []struct{ path, message string }{
+ {"", equipo.CopyDBPathMissing},
+ {filepath.Join(t.TempDir(), "missing-private-path"), equipo.CopyDBPathMissing},
+ {t.TempDir(), equipo.CopyDBPathInvalid},
+ {"relative.db", equipo.CopyDBPathInvalid},
+ {"file:/secret?mode=rw", equipo.CopyDBPathInvalid},
+ } {
+ path := tc.path
+ t.Setenv("CARLOS_DB", path)
+ var b, diag bytes.Buffer
+ if code := commandMain([]string{"check-db"}, &b, &diag, nil); code == 0 || diag.Len() != 0 {
+ t.Fatalf("boot or success: %d %s", code, diag.String())
+ }
+ if v := decodeCheck(t, &b); v.Message != tc.message || v.ErrorCount == 0 {
+ t.Fatalf("missing error %+v", v)
+ }
+ if strings.Contains(b.String(), "private-path") {
+ t.Fatal("path leaked")
+ }
+ }
+ path, _ := checkFixture(t, true)
+ t.Setenv("CARLOS_DB", path)
+ var b, diag bytes.Buffer
+ if code := commandMain([]string{"check-db"}, &b, &diag, nil); code != 0 || diag.Len() != 0 {
+ t.Fatalf("boot: %d %s", code, diag.String())
+ }
+ b.Reset()
+ if code := commandMain([]string{"check-db", "extra"}, &b, &diag, nil); code == 0 || diag.Len() != 0 {
+ t.Fatal("invalid arguments booted")
+ }
+}
+func TestCheckDBPrivacyAndBounds(t *testing.T) {
+ v := dbCheckSummary{}
+ for i := 0; i < 500; i++ {
+ v.finding("*** in database main ***\nTree 12 page 345 cell 0: secret-value row 765\nnever-print-row-contents")
+ }
+ if len(v.Issues) != 5 {
+ t.Fatalf("issue bound %d", len(v.Issues))
+ }
+ raw, _ := json.Marshal(v)
+ if strings.Contains(string(raw), "secret") || strings.Contains(string(raw), "765") || len(raw) > 4096 {
+ t.Fatalf("unsafe: %s", raw)
+ }
+ if v.Issues[0].BTree == nil || *v.Issues[0].BTree != 12 || v.Issues[0].Page == nil || *v.Issues[0].Page != 345 {
+ t.Fatalf("lost coordinates: %+v", v.Issues)
+ }
+}
+func TestCheckDBTimeout(t *testing.T) {
+ path, _ := checkFixture(t, true)
+ ctx, cancel := context.WithCancel(context.Background())
+ cancel()
+ var b bytes.Buffer
+ if code := checkDB(ctx, &b, path); code == 0 {
+ t.Fatal("cancel passed")
+ }
+ v := decodeCheck(t, &b)
+ if v.Message == "" || v.Status != "failed" {
+ t.Fatal(v)
+ }
+ if dbCheckLimit != 60*time.Second {
+ t.Fatal("deadline changed")
+ }
+}
+
+func TestCheckDBFindingsVersusErrorAndCap(t *testing.T) {
+ _, d := checkFixture(t, false)
+ tx, err := d.Begin()
+ if err != nil {
+ t.Fatal(err)
+ }
+ defer tx.Rollback()
+ s := dbCheckSummary{}
+ // Exercise the result consumer independently of SQLite's constraint checks.
+ query := `WITH RECURSIVE n(x) AS (VALUES(1) UNION ALL SELECT x+1 FROM n WHERE x<250) SELECT 'Tree 12 page 345: never-print-row-contents' FROM n`
+ if got := s.check(context.Background(), tx, query); got != "findings" || s.ErrorCount != 100 || !s.LimitReached || len(s.Issues) != 5 {
+ t.Fatalf("bad cap or result: %s %+v", got, s)
+ }
+ s = dbCheckSummary{}
+ if got := s.check(context.Background(), tx, "SELECT * FROM missing_private_table"); got != "error" || s.ErrorCount != 1 {
+ t.Fatalf("query failure=%s %+v", got, s)
+ }
+}
+func TestCheckDBOwnDeadlineAndOutputFailure(t *testing.T) {
+ path, _ := checkFixture(t, true)
+ var b bytes.Buffer
+ if checkDBWithin(context.Background(), &b, path, 0) == 0 {
+ t.Fatal("own deadline missing")
+ }
+ if v := decodeCheck(t, &b); v.Message != equipo.CopyDBTimeout {
+ t.Fatal(v)
+ }
+ if checkDB(context.Background(), rejectDBOutput{}, path) == 0 {
+ t.Fatal("output error ignored")
+ }
+}
+
+type rejectDBOutput struct{}
+
+func (rejectDBOutput) Write([]byte) (int, error) { return 0, io.ErrClosedPipe }
diff --git a/cmd/equipo/main.go b/cmd/equipo/main.go
index 76657c2b..6d184455 100644
--- a/cmd/equipo/main.go
+++ b/cmd/equipo/main.go
@@ -21,6 +21,9 @@ func main() {
}
func commandMain(args []string, out, diagnostics io.Writer, transport http.RoundTripper) int {
+ if handled, code := runDBCheckCommand(args, out); handled {
+ return code
+ }
if handled, code := runCheckCommand(args, out, transport); handled {
return code
}
diff --git a/docs/superpowers/plans/CONTROLLER-REPORT-check-db.md b/docs/superpowers/plans/CONTROLLER-REPORT-check-db.md
new file mode 100644
index 00000000..b0ccedce
--- /dev/null
+++ b/docs/superpowers/plans/CONTROLLER-REPORT-check-db.md
@@ -0,0 +1,104 @@
+# Live database structural check, 2026-11-26
+
+Branch `fix/check-db`, from main `8a3f1d92`. The one-shot `equipo check-db`
+runs before configuration, mail, migrations or application boot. No live
+instance was checked and no deployment was performed by this branch.
+
+## Live path and read-only behavior
+
+CARLOS supplies `CARLOS_DB` to the command from the serving instance's actual
+`dbPath`: `carlos/platform/internal/activator/cmdunit.go`, `ExecBackend.cmdVars`.
+This command requires that path to be absolute and a regular file. It has no
+fallback to a replica, a default filename or the application's boot resolver.
+The filename is URL-encoded before adding the fixed SQLite `mode=ro` option.
+It does not use `immutable`, which would miss committed WAL changes.
+
+One read transaction runs `PRAGMA quick_check(100)`, then
+`PRAGMA integrity_check(100)`, followed by page count, page size and journal
+mode. There are no setters, migrations, checkpoints or writes. The deadline is
+60 seconds, including opening and reading. The serving writer remains usable.
+WAL size is observed if visible; otherwise it is null, as are failed metadata
+reads. SQLite diagnostics, filenames, table/index names, expressions and row
+contents never appear in the output.
+
+The bounded JSON carries status, a reviewed failure message, per-check status,
+error count, a limit flag, at most five b-tree/page coordinates, metadata and
+elapsed milliseconds. Per-check results distinguish `findings`, `error` and
+`findings_and_error`, as well as `ok` and `not_run`. The count is the number of
+observed diagnostics and query/metadata failures, not unique corrupt pages:
+both checks can report the same damage. Each check stops at 100 findings.
+Failure, timeout and inability to write the report all exit nonzero.
+
+Known limitation: constraint violations may not be reported; this checks file
+structure. A CHECK-constraint fixture was not reported by the pinned SQLite
+driver. Per the controller's ruling, it is not an assertion or a claim of
+coverage. The permanent byte-flipped b-tree fixture proves structural damage
+is detected. The command doc comment records the same limitation.
+
+## Operator invocations after deployment
+
+Staging:
+
+```sh
+carlos run --app equipo-staging --account bds \
+ --console https://console.carloku.com \
+ --instance equipo-staging.bds.oncarlos.com --timeout 75s -- check-db
+```
+
+Production:
+
+```sh
+carlos run --app equipo --account oficina \
+ --console https://console.carloku.com \
+ --instance equipo.bds.oncarlos.com --timeout 75s -- check-db
+```
+
+These app/account/host values come from `scripts/staging-thin.py` and
+`scripts/upgrade-thin.sh`. Use the instance host, not the public alias. The
+75-second outer timeout allows the 60-second check to return its JSON.
+The local installed CARLOS CLI predates `run`; these commands require the
+run-capable CLI used by the controller. Platform source confirms its syntax.
+
+## Copy
+
+All seven `CopyDB*` messages and their Plan 3 inventory rows carry
+`COPY ACCEPTED BY DELEGATION (Luna, 2026-11-26)`, explicitly approved by the
+controller. Per-check status values are machine-readable enums. No unreviewed
+operator prose or raw database errors are emitted.
+
+## Tests and mutations
+
+Tests were written first; the initial run failed to compile on the missing
+check-db symbols. Implemented tests cover an intact live WAL database, a
+flipped b-tree page, write refusal even with `query_only` disabled, reading
+committed WAL data, clean missing/invalid paths, command dispatch without app
+configuration, diagnostic redaction and bounds, findings versus query errors,
+the command's own deadline, and output failure.
+
+Local commands use `GOMAXPROCS=2 GOTOOLCHAIN=go1.26.11 CGO_ENABLED=0` and `-p 1`.
+Each mutation is applied alone, runs
+`go test -p 1 ./cmd/equipo -run TestCheckDB -count=1`, and is restored. A kill
+requires a runtime assertion failure; compilation errors do not count.
+
+Mutation results and final gate results are recorded below before handoff.
+Full local suites and simulators are deliberately avoided under the
+controller's loaded-machine ruling. Linux CI is the full gate. This CLI-only
+change adds no route, schema, protocol or performance endpoint record.
+
+All 17 mutations were killed at runtime:
+
+- Change `mode=ro` to `mode=rw`; add `immutable=1`.
+- Remove the command's deadline; change the fixed 60-second bound.
+- Remove the five-issue bound; emit raw diagnostic text; exceed 100 findings.
+- Skip quick_check; skip integrity_check.
+- Ignore the final row error; report a query failure as success.
+- Ignore output failure; return success despite integrity findings.
+- Remove the absolute-path check; remove the regular-file check.
+- Remove check-db dispatch; accept extra arguments.
+
+Restored focused tests passed (`TestCheckDB|TestCheckGitHub`).
+`make fmt-check budget copy-release-check` passed. The sole size allowance
+change is the measured nine source lines for approved operator copy:
+`internal/equipo` 23239 to 23248. No timing budget changes.
+Post-commit dead-reference results and Linux CI are reported with the pushed
+SHA in the handoff.
diff --git a/docs/superpowers/plans/CONTROLLER-REPORT-plan-3.md b/docs/superpowers/plans/CONTROLLER-REPORT-plan-3.md
index be78a21d..4ce2d09a 100644
--- a/docs/superpowers/plans/CONTROLLER-REPORT-plan-3.md
+++ b/docs/superpowers/plans/CONTROLLER-REPORT-plan-3.md
@@ -6845,6 +6845,13 @@ records remain unchanged.
| `work.reason.tools_refused` | Equipo refused the commands it needed to run | Task page: fills "Engineering stopped: %s" when an Engineering step committed nothing after Equipo refused tool requests it made (stop reasons, 2026-11-23) | Runtime; COPY APPROVED (Paul, 2026-11-23, copy-review eavqvil43jg2zs3wxx3kxp3bpm, unchanged) |
| `work.reason.proposal_failed` | the branch was pushed, but the review request could not be created | Successful push diagnostic (GitHub seam, 2026-11-23; Luna, house rules) | COPY ACCEPTED BY DELEGATION (Luna, 2026-11-23) |
| `CopyGitHubEgress` | GitHub reachable: %t; status: %d; latency: %s; TLS peer: %s<br> | GitHub egress check (2026-11-23; Luna, house rules) | COPY ACCEPTED BY DELEGATION (Luna, 2026-11-23) |
+| `CopyDBPathMissing` | The live database path is missing. | Live database check (2026-11-26; Luna, house rules) | COPY ACCEPTED BY DELEGATION (Luna, 2026-11-26) |
+| `CopyDBPathInvalid` | The live database path is not a regular file. | Live database check (2026-11-26; Luna, house rules) | COPY ACCEPTED BY DELEGATION (Luna, 2026-11-26) |
+| `CopyDBOpenFailed` | The live database could not be opened read-only. | Live database check (2026-11-26; Luna, house rules) | COPY ACCEPTED BY DELEGATION (Luna, 2026-11-26) |
+| `CopyDBCheckFailed` | The database check found a problem. | Live database check (2026-11-26; Luna, house rules) | COPY ACCEPTED BY DELEGATION (Luna, 2026-11-26) |
+| `CopyDBTimeout` | The database check timed out. | Live database check (2026-11-26; Luna, house rules) | COPY ACCEPTED BY DELEGATION (Luna, 2026-11-26) |
+| `CopyDBMetadataFailed` | The database details could not be read. | Live database check (2026-11-26; Luna, house rules) | COPY ACCEPTED BY DELEGATION (Luna, 2026-11-26) |
+| `CopyDBArguments` | Use check-db without arguments. | Live database check (2026-11-26; Luna, house rules) | COPY ACCEPTED BY DELEGATION (Luna, 2026-11-26) |
| `chat.card.access_first` | Equipo can't reach %s yet. Its agent can't access any repositories. | New team grant card (hub #48 review R1; Luna, house rules) | COPY ACCEPTED BY DELEGATION (Luna, 2026-11-24) |
| `work.stage.paused` | Paused | Paused work: report card, task page and Base job card (spec 2026-11-24) | COPY ACCEPTED BY DELEGATION (Luna, 2026-11-24) |
| `work.stage.stopped` | Stopped | Paused work: report card, task page and Base job card (spec 2026-11-24) | COPY ACCEPTED BY DELEGATION (Luna, 2026-11-24) |
diff --git a/internal/equipo/copy.go b/internal/equipo/copy.go
index b9dbb521..717b97c7 100644
--- a/internal/equipo/copy.go
+++ b/internal/equipo/copy.go
@@ -2960,3 +2960,12 @@ const (
copyAgentMedia = "Set Content-Type to application/json." // COPY ACCEPTED BY DELEGATION (Luna, 2026-11-20)
copyAgentUnauthenticated = "Send a valid delegated bearer." // COPY ACCEPTED BY DELEGATION (Luna, 2026-11-20)
)
+
+// Operator-only live database check. No database text enters these messages.
+const CopyDBPathMissing = "The live database path is missing." // COPY ACCEPTED BY DELEGATION (Luna, 2026-11-26)
+const CopyDBPathInvalid = "The live database path is not a regular file." // COPY ACCEPTED BY DELEGATION (Luna, 2026-11-26)
+const CopyDBOpenFailed = "The live database could not be opened read-only." // COPY ACCEPTED BY DELEGATION (Luna, 2026-11-26)
+const CopyDBCheckFailed = "The database check found a problem." // COPY ACCEPTED BY DELEGATION (Luna, 2026-11-26)
+const CopyDBTimeout = "The database check timed out." // COPY ACCEPTED BY DELEGATION (Luna, 2026-11-26)
+const CopyDBMetadataFailed = "The database details could not be read." // COPY ACCEPTED BY DELEGATION (Luna, 2026-11-26)
+const CopyDBArguments = "Use check-db without arguments." // COPY ACCEPTED BY DELEGATION (Luna, 2026-11-26)