Add the offline CARLOS team-service prototype
Persist bounded jobs, fenced attempts, budget reservations and evidence. Exercise software-fix and business-reconciliation workflows with fake adapters. Guard SQL commits and recovery witnesses across processes; recover interrupted commits while retaining restored-history quarantine and uncertain usage. Independent Opus review approved; full branch CI and targeted race tests pass. No live providers, worker network API or production operations are added. Prompts: Why do you keep stopping? Also, why here? https://github.com/carlosframework/platform-infrastructure/pull/51 Shouldn't it be on carlos/platform ? Squashed from team-service-prototype into main.
31 files changed,
+8,026
−1
docs/superpowers/plans/2026-11-01-team-service.md+56 −1docs/superpowers/reviews/CODEX-REVIEW-BRIEF-team-service-prototype-R1.md+78 −0docs/superpowers/reviews/CODEX-REVIEW-BRIEF-team-service-prototype-R2.md+99 −0docs/superpowers/reviews/CODEX-REVIEW-BRIEF-team-service-prototype-R3-storage.md+85 −0internal/team/actions.go+566 −0internal/team/actions_test.go+212 −0internal/team/authority.go+155 −0internal/team/budget.go+297 −0internal/team/budget_test.go+159 −0internal/team/clock.go+40 −0internal/team/commit_recovery_test.go+189 −0internal/team/evidence.go+523 −0internal/team/evidence_test.go+183 −0internal/team/fixture.go+671 −0internal/team/fixture_test.go+478 −0internal/team/harness_test.go+164 −0internal/team/jobs.go+548 −0internal/team/model.go+950 −0internal/team/policy.go+184 −0internal/team/recovery.go+200 −0internal/team/review_regression_test.go+336 −0internal/team/scheduler.go+434 −0internal/team/scheduler_test.go+272 −0internal/team/store.go+532 −0internal/team/store_test.go+200 −0internal/team/storeguard.go+68 −0internal/team/storelock_other.go+16 −0internal/team/storelock_unix.go+28 −0internal/team/storelock_windows.go+31 −0internal/teamcontract/authority_test.go+220 −0internal/teamcontract/policy_test.go+52 −0
CI passed — run details
landed from team-service-prototype
docs/superpowers/plans/2026-11-01-team-service.mdLoading diff…
docs/superpowers/reviews/CODEX-REVIEW-BRIEF-team-service-prototype-R1.mdLoading diff…
docs/superpowers/reviews/CODEX-REVIEW-BRIEF-team-service-prototype-R2.mdLoading diff…
docs/superpowers/reviews/CODEX-REVIEW-BRIEF-team-service-prototype-R3-storage.mdLoading diff…
internal/team/actions.goLoading diff…
internal/team/actions_test.goLoading diff…
internal/team/authority.goLoading diff…
internal/team/budget.goLoading diff…
internal/team/budget_test.goLoading diff…
internal/team/clock.goLoading diff…
internal/team/commit_recovery_test.goLoading diff…
internal/team/evidence.goLoading diff…
internal/team/evidence_test.goLoading diff…
internal/team/fixture.goLoading diff…
internal/team/fixture_test.goLoading diff…
internal/team/harness_test.goLoading diff…
internal/team/jobs.goLoading diff…
internal/team/model.goLoading diff…
internal/team/policy.goLoading diff…
internal/team/recovery.goLoading diff…
internal/team/review_regression_test.goLoading diff…
internal/team/scheduler.goLoading diff…
internal/team/scheduler_test.goLoading diff…
internal/team/store.goLoading diff…
internal/team/store_test.goLoading diff…
internal/team/storeguard.goLoading diff…
internal/team/storelock_other.goLoading diff…
internal/team/storelock_unix.goLoading diff…
internal/team/storelock_windows.goLoading diff…
internal/teamcontract/authority_test.goLoading diff…
internal/teamcontract/policy_test.goLoading diff…