oficina / equipo Public

Merge branch 'release-preview' into main

Merge release-preview: preview steps, off until a credential

Protocol 9 (empty-merge keeps 8), migration 0066. Review can ask for a
preview; the runner publishes it with a credential loaded by lstat,
O_NOFOLLOW and fstat (regular, 0600, owner, 8 KiB). Previews stay off
until EQUIPO_PREVIEW_CREDENTIAL_PATH is set. Hosted CI passed on
c261015.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev 7140df33d7152f8e37bd5e8feb96c47e230422e7 parent 2474627parent c261015
38 files changed, +2,555 −49
  • .rastrillo/budgets.txt +5 −5
  • docs/superpowers/plans/CONTROLLER-REPORT-plan-3.md +16 −0
  • docs/superpowers/specs/2026-11-11-equipo-release-preview.md +269 −0
  • docs/superpowers/specs/CODEX-FINDINGS-RELEASE-PREVIEW-R2.md +27 −0
  • docs/superpowers/specs/CODEX-FINDINGS-RELEASE-PREVIEW.md +40 −0
  • internal/equipo/chat/preview.go +237 −0
  • internal/equipo/chat/preview_test.go +88 −0
  • internal/equipo/chat/review.go +9 −1
  • internal/equipo/chat/runner.go +4 −0
  • internal/equipo/chat/runners.go +23 −1
  • internal/equipo/chat/stream.go +1 −1
  • internal/equipo/chat/tasks.go +52 −2
  • internal/equipo/copy.go +16 −0
  • internal/equipo/migrations/0066_thin_previews.sql +2 −0
  • internal/equipo/migrations/schema.sql +1 −1
  • internal/equipo/templates/chat.html +1 −1
  • internal/equipo/templates/task_card.html +1 −1
  • internal/equipo/templates/work_task.html +1 −1
  • internal/equipo/work_pages.go +14 −6
  • internal/equipo/work_views.go +77 −10
  • internal/runner/checks/sandbox.go +1 −1
  • internal/runner/config.go +2 −2
  • internal/runner/connections.go +2 −2
  • internal/runner/connections_preview_test.go +22 −0
  • internal/runner/thin/engineer.go +8 −0
  • internal/runner/thin/judge.go +3 −0
  • internal/runner/thin/link.go +16 −0
  • internal/runner/thin/preview.go +636 −0
  • internal/runner/thin/preview_test.go +518 −0
  • internal/runner/thin/run.go +1 −1
  • internal/runner/thin/step.go +5 −0
  • internal/runner/workspace/workspace.go +14 −1
  • internal/thintest/preview_contract_test.go +241 −0
  • internal/wire/frames.go +11 −0
  • internal/wire/runners.go +38 −8
  • internal/wire/runners_test.go +101 −2
  • internal/wire/tasks.go +51 −1
  • scripts/runner-reference-allowlist.json +1 −1

CI passed — run details

.rastrillo/budgets.txt

Loading diff…

docs/superpowers/plans/CONTROLLER-REPORT-plan-3.md

Loading diff…

docs/superpowers/specs/2026-11-11-equipo-release-preview.md

Loading diff…

docs/superpowers/specs/CODEX-FINDINGS-RELEASE-PREVIEW-R2.md

Loading diff…

docs/superpowers/specs/CODEX-FINDINGS-RELEASE-PREVIEW.md

Loading diff…

internal/equipo/chat/preview.go

Loading diff…

internal/equipo/chat/preview_test.go

Loading diff…

internal/equipo/chat/review.go

Loading diff…

internal/equipo/chat/runner.go

Loading diff…

internal/equipo/chat/runners.go

Loading diff…

internal/equipo/chat/stream.go

Loading diff…

internal/equipo/chat/tasks.go

Loading diff…

internal/equipo/copy.go

Loading diff…

internal/equipo/migrations/0066_thin_previews.sql

Loading diff…

internal/equipo/migrations/schema.sql

Loading diff…

internal/equipo/templates/chat.html

Loading diff…

internal/equipo/templates/task_card.html

Loading diff…

internal/equipo/templates/work_task.html

Loading diff…

internal/equipo/work_pages.go

Loading diff…

internal/equipo/work_views.go

Loading diff…

internal/runner/checks/sandbox.go

Loading diff…

internal/runner/config.go

Loading diff…

internal/runner/connections.go

Loading diff…

internal/runner/connections_preview_test.go

Loading diff…

internal/runner/thin/engineer.go

Loading diff…

internal/runner/thin/judge.go

Loading diff…

internal/runner/thin/link.go

Loading diff…

internal/runner/thin/preview.go

Loading diff…

internal/runner/thin/preview_test.go

Loading diff…

internal/runner/thin/run.go

Loading diff…

internal/runner/thin/step.go

Loading diff…

internal/runner/workspace/workspace.go

Loading diff…

internal/thintest/preview_contract_test.go

Loading diff…

internal/wire/frames.go

Loading diff…

internal/wire/runners.go

Loading diff…

internal/wire/runners_test.go

Loading diff…

internal/wire/tasks.go

Loading diff…

scripts/runner-reference-allowlist.json

Loading diff…