oficina / equipo Public

Triage: copy inventory rows, log copy pass, the package's test timing

The Plan 3 inventory lists the sixteen reviewed strings and the two
start-up log lines (delegated Astra pass: "Failed to triage open
tasks."); the triage package's tests report their time to the budget.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev c964e85d19a43ad0c76c02767d0335fca7c483da parent 51a2df3
3 files changed, +24 −2
  • docs/superpowers/plans/CONTROLLER-REPORT-plan-3.md +18 −0
  • internal/equipo/copy.go +2 −2
  • internal/equipo/triage/triage_test.go +4 −0

CI passed — run details

diff --git a/docs/superpowers/plans/CONTROLLER-REPORT-plan-3.md b/docs/superpowers/plans/CONTROLLER-REPORT-plan-3.md
index 81ab8551..e0aa6c81 100644
--- a/docs/superpowers/plans/CONTROLLER-REPORT-plan-3.md
+++ b/docs/superpowers/plans/CONTROLLER-REPORT-plan-3.md
@@ -5920,6 +5920,24 @@ records remain unchanged.
| `chat.merge.not.revert` | it doesn't exactly revert %s | Merge authority thin v1 (2026-11-11) | Runtime; COPY ACCEPTED BY DELEGATION (Astra, 2026-11-11) |
| `chat.merge.not.eligible` | it was ready before I could merge on my own | Merge authority thin v1 (2026-11-11) | Runtime; COPY ACCEPTED BY DELEGATION (Astra, 2026-11-11) |
| `chat.merge.not.sandbox` | its checks ran outside the sandbox | Merge authority thin v1 (2026-11-11) | Runtime; COPY ACCEPTED BY DELEGATION (Astra, 2026-11-11) |
+| `work.triage.retrying` | Equipo is trying the step again because %s. | Needs-you triage thin v1 (2026-11-11) | Runtime; COPY ACCEPTED BY DELEGATION (Astra, 2026-11-11) |
+| `work.triage.rebasing` | Engineering is fixing conflicting changes. | Needs-you triage thin v1 (2026-11-11) | Runtime; COPY ACCEPTED BY DELEGATION (Astra, 2026-11-11) |
+| `work.triage.rechecking` | Equipo is running the checks again. | Needs-you triage thin v1 (2026-11-11) | Runtime; COPY ACCEPTED BY DELEGATION (Astra, 2026-11-11) |
+| `work.triage.recommend.round` | Equipo recommends another round. | Needs-you triage thin v1 (2026-11-11) | Runtime; COPY ACCEPTED BY DELEGATION (Astra, 2026-11-11) |
+| `work.triage.recommend.retry` | Equipo recommends trying this step again. | Needs-you triage thin v1 (2026-11-11) | Runtime; COPY ACCEPTED BY DELEGATION (Astra, 2026-11-11) |
+| `work.triage.recommend.rebase` | Equipo recommends another round with Engineering to fix the conflict. | Needs-you triage thin v1 (2026-11-11) | Runtime; COPY ACCEPTED BY DELEGATION (Astra, 2026-11-11) |
+| `work.triage.why.tried` | Equipo already tried this once on its own. | Needs-you triage thin v1 (2026-11-11) | Runtime; COPY ACCEPTED BY DELEGATION (Astra, 2026-11-11) |
+| `work.triage.why.budget` | Equipo has used all its automatic tries for today. | Needs-you triage thin v1 (2026-11-11) | Runtime; COPY ACCEPTED BY DELEGATION (Astra, 2026-11-11) |
+| `work.triage.said` | Review's latest finding: %s | Needs-you triage thin v1 (2026-11-11) | Runtime; COPY ACCEPTED BY DELEGATION (Astra, 2026-11-11) |
+| `work.triage.failed` | Hosted checks failed: %s. | Needs-you triage thin v1 (2026-11-11) | Runtime; COPY ACCEPTED BY DELEGATION (Astra, 2026-11-11) |
+| `work.decide.round` | Try another round | Needs-you triage thin v1 (2026-11-11) | Runtime; COPY ACCEPTED BY DELEGATION (Astra, 2026-11-11) |
+| `work.decide.ask_coordinator` | Ask the coordinator | Needs-you triage thin v1 (2026-11-11) | Runtime; COPY ACCEPTED BY DELEGATION (Astra, 2026-11-11) |
+| `chat.merge.not.hosted` | its hosted checks passed, but I need to verify those runs before I can merge it on my own | Needs-you triage thin v1 (2026-11-11) | Runtime; COPY ACCEPTED BY DELEGATION (Astra, 2026-11-11) |
+| `housekeeping.detector.triage_retry` | Retry a step that stopped | Needs-you triage thin v1 (2026-11-11) | Runtime; COPY ACCEPTED BY DELEGATION (Astra, 2026-11-11) |
+| `housekeeping.detector.triage_rebase` | Fix conflicting changes | Needs-you triage thin v1 (2026-11-11) | Runtime; COPY ACCEPTED BY DELEGATION (Astra, 2026-11-11) |
+| `housekeeping.detector.triage_recheck` | Run checks again when results are out of date | Needs-you triage thin v1 (2026-11-11) | Runtime; COPY ACCEPTED BY DELEGATION (Astra, 2026-11-11) |
+| `copyRetriaged` | Triaged open tasks. | Needs-you triage thin v1 (2026-11-11) | Runtime; COPY ACCEPTED BY DELEGATION (Astra, 2026-11-11) |
+| `copyRetriageFailed` | Failed to triage open tasks. | Needs-you triage thin v1 (2026-11-11) | Runtime; COPY ACCEPTED BY DELEGATION (Astra, 2026-11-11) |
| `chat.merge.area.migrations` | the database schema | Merge authority thin v1 (2026-11-11) | Runtime; COPY ACCEPTED BY DELEGATION (Astra, 2026-11-11) |
| `chat.merge.area.auth_secrets` | sign-in, keys or secrets | Merge authority thin v1 (2026-11-11) | Runtime; COPY ACCEPTED BY DELEGATION (Astra, 2026-11-11) |
| `chat.merge.area.payments` | payments | Merge authority thin v1 (2026-11-11) | Runtime; COPY ACCEPTED BY DELEGATION (Astra, 2026-11-11) |
diff --git a/internal/equipo/copy.go b/internal/equipo/copy.go
index 84be9ff9..99803af1 100644
--- a/internal/equipo/copy.go
+++ b/internal/equipo/copy.go
@@ -47,8 +47,8 @@ const (
copyTidied = "Combined duplicate tasks."
copyHousekeepingTick = "Could not run housekeeping." // COPY ACCEPTED FOR NOW (Paul, 2026-11-04; iterate in context)
copyHousekeepingClaims = "Revalidated housekeeping claims." // COPY ACCEPTED FOR NOW (Paul, 2026-11-04; iterate in context)
- copyRetriaged = "Triaged open tasks."
- copyRetriageFailed = "Triaging open tasks failed."
+ copyRetriaged = "Triaged open tasks." // COPY ACCEPTED BY DELEGATION (Astra, 2026-11-11)
+ copyRetriageFailed = "Failed to triage open tasks." // COPY ACCEPTED BY DELEGATION (Astra, 2026-11-11)
)
// BootLog is the shared diagnostic used by the command entry point.
diff --git a/internal/equipo/triage/triage_test.go b/internal/equipo/triage/triage_test.go
index 5f76c482..37c6e383 100644
--- a/internal/equipo/triage/triage_test.go
+++ b/internal/equipo/triage/triage_test.go
@@ -1,11 +1,15 @@
package triage
import (
+ "os"
"testing"
"amadan.net/oficina/equipo/internal/wire"
+ "amadan.net/rastrillo/rastrillo/budget"
)
+func TestMain(m *testing.M) { os.Exit(budget.Main(m)) }
+
func stopped(specialist, reason string) Facts {
return Facts{NeedsYou: wire.NeedsRetry, Specialist: specialist, Reason: reason, Terminated: true}
}