Previews: publish approved candidates to temporary Carloku sites
Release preview slice (spec 2026-11-11-equipo-release-preview.md rev 2, after Astra round 1). Protocol 8 adds Review's has_preview, a preview step on the primary and a publish check bound to the export's digest. The runner exports release/preview.json's output from git objects only (regular files, no dot paths, capped), reports it built, then runs fixed carlos commands (create with a placeholder, renew, ship, promote), each behind its own check, and confirms the marker without following redirects. The instance schedules one preview per approved candidate, keeps previews out of task progress, fences older runners, audits every decision and shows the link and expiry on the task card and timeline.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
30 files changed,
+1,839
−40
.rastrillo/budgets.txt+4 −4docs/superpowers/specs/2026-11-11-equipo-release-preview.md+6 −4internal/equipo/chat/preview.go+217 −0internal/equipo/chat/preview_test.go+23 −0internal/equipo/chat/review.go+9 −1internal/equipo/chat/runner.go+4 −0internal/equipo/chat/runners.go+11 −1internal/equipo/chat/stream.go+1 −1internal/equipo/chat/tasks.go+36 −2internal/equipo/copy.go+16 −0internal/equipo/migrations/0066_thin_previews.sql+2 −0internal/equipo/migrations/schema.sql+1 −1internal/equipo/templates/chat.html+1 −1internal/equipo/templates/task_card.html+1 −1internal/equipo/templates/work_task.html+1 −1internal/equipo/work_pages.go+14 −6internal/equipo/work_views.go+77 −10internal/runner/config.go+2 −2internal/runner/thin/engineer.go+8 −0internal/runner/thin/judge.go+3 −0internal/runner/thin/link.go+16 −0internal/runner/thin/preview.go+581 −0internal/runner/thin/preview_test.go+429 −0internal/runner/thin/run.go+1 −1internal/runner/thin/step.go+4 −0internal/thintest/preview_contract_test.go+236 −0internal/wire/frames.go+11 −0internal/wire/runners.go+29 −2internal/wire/runners_test.go+44 −1internal/wire/tasks.go+51 −1
CI failed — run details
Intent
.rastrillo/budgets.txtLoading diff…
docs/superpowers/specs/2026-11-11-equipo-release-preview.mdLoading diff…
internal/equipo/chat/preview.goLoading diff…
internal/equipo/chat/preview_test.goLoading diff…
internal/equipo/chat/review.goLoading diff…
internal/equipo/chat/runner.goLoading diff…
internal/equipo/chat/runners.goLoading diff…
internal/equipo/chat/stream.goLoading diff…
internal/equipo/chat/tasks.goLoading diff…
internal/equipo/copy.goLoading diff…
internal/equipo/migrations/0066_thin_previews.sqlLoading diff…
internal/equipo/migrations/schema.sqlLoading diff…
internal/equipo/templates/chat.htmlLoading diff…
internal/equipo/templates/task_card.htmlLoading diff…
internal/equipo/templates/work_task.htmlLoading diff…
internal/equipo/work_pages.goLoading diff…
internal/equipo/work_views.goLoading diff…
internal/runner/config.goLoading diff…
internal/runner/thin/engineer.goLoading diff…
internal/runner/thin/judge.goLoading diff…
internal/runner/thin/link.goLoading diff…
internal/runner/thin/preview.goLoading diff…
internal/runner/thin/preview_test.goLoading diff…
internal/runner/thin/run.goLoading diff…
internal/runner/thin/step.goLoading diff…
internal/thintest/preview_contract_test.goLoading diff…
internal/wire/frames.goLoading diff…
internal/wire/runners.goLoading diff…
internal/wire/runners_test.goLoading diff…
internal/wire/tasks.goLoading diff…