oficina / equipo Public

spec 3.3 + plan: fold in Astra round 1 (9 findings)

Fenced re-dispatch and forget revision for resumes; fix prompts carry
the round request and taste; discovery answers ride the existing card
answer; preview links bound to a step; dispatch protocol on steps;
protocol 39 for every Design dispatch; page check on a fresh snapshot.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev fde42c55d0e0bdbb74cdbfedf6f21dea4024aa5e parent 50ca742
3 files changed, +92 −43
  • docs/superpowers/plans/2026-11-30-design-feedback-1.md +34 −21
  • docs/superpowers/reviews/CODEX-FINDINGS-design-feedback-1-R1.md +19 −0
  • docs/superpowers/specs/2026-11-28-dynamic-specialists.md +39 −22
diff --git a/docs/superpowers/plans/2026-11-30-design-feedback-1.md b/docs/superpowers/plans/2026-11-30-design-feedback-1.md
index 4e04053b..b082a0ef 100644
--- a/docs/superpowers/plans/2026-11-30-design-feedback-1.md
+++ b/docs/superpowers/plans/2026-11-30-design-feedback-1.md
@@ -39,7 +39,7 @@ approved). Branch `design-feedback-1`, rebased onto main after
2. A Design exploration whose model never calls `submit_candidate`, or calls it with 2 options, must reach a fix round with Equipo's feedback, not Review and not a silent empty card. Task 4 tests it.
3. Forget during a queued Design step: the step must not start with the forgotten note. Task 9 tests it.
4. A discovery card answered twice (double tap, retry) writes its notes and continuation once. Task 10 tests it.
-5. `?option=` on the preview route with a forged page, a negative index, or a candidate that is not the deployed one returns 404. Task 12 tests it.
+5. `?step=&option=` on the preview route with a forged step, a negative index, or a round that is not the deployed one returns 404. Task 12 tests it.
## Facts the plan rests on (main 1755d03a)
@@ -87,9 +87,10 @@ Order: 1, 2, 3, 4, 5, 6, 8, 7, 9, 10, 11, 12, 13, 14 (Task 7 uses Task 8's
- `DesignAsk{Kind string; Option *StepDesignOption; Current []StepDesignOption; Note string}` with `DesignAskMore = "more"`, `DesignAskLike = "like"`
- `AnswerCard.Option *OptionRef`, `OptionRef{Step string; Index int}`; `ChoiceMore = "more"`, `ChoiceLike = "like"`; `TaskDirection.Rounds []DirectionRound` (`DirectionRound{Step string; Candidate string; Options []StepDesignOption; Live bool}`), `TaskDirection.PreviewRefused bool`
- `CardDesignTaste = "design_taste"`, `ChoiceUseThese = "use"`, `ChoiceSkip = "skip"`; `AnswerCard.Taste *TasteAnswer` (`Feels []string; Other, Like, Avoid, Keep string`)
-- Downgrade below 39: a dispatch with `Taste`, `TasteSkipped` or `DesignAsk` set is refused (`ErrProtocol`); a report's new option and capture fields are dropped.
+- Downgrade below 39: a dispatch whose `Profile` is `design-v1` is refused (`ErrProtocol`) whatever its optional fields, and so is any dispatch with `Taste`, `TasteSkipped`, `DesignAsk` or `ForgetRevision` set; a report's new option and capture fields are dropped.
+ - `DispatchCommand.ForgetRevision int64` (8.6: the runner resumes a saved session only at the same forget revision).
-- [ ] **Step 1: Write the failing tests**: `TestValidExploreOptions` (2 options refused, 5 refused, empty direction refused, 501-byte direction refused, a `‮` in direction refused, duplicate page refused, `Page: "../x"` refused, 4 captures on one option refused, missing label refused, 3 valid options pass); `TestDowngradeDesignFeedback` (dispatch with `DesignAsk` at 38 is `ErrProtocol`; report fields dropped at 38); `TestProtocolCurrent39`.
+- [ ] **Step 1: Write the failing tests**: `TestValidExploreOptions` (2 options refused, 5 refused, empty direction refused, 501-byte direction refused, a `‮` in direction refused, duplicate page refused, `Page: "../x"` refused, 4 captures on one option refused, missing label refused, 3 valid options pass); `TestDowngradeDesignFeedback` (a bare `design-v1` dispatch with no taste and no ask at 38 is `ErrProtocol`; one with `DesignAsk` too; report fields dropped at 38); `TestProtocolCurrent39`.
- [ ] **Step 2: Run** `go test ./internal/wire/ -run 'TestValidExploreOptions|TestDowngradeDesignFeedback|TestProtocolCurrent39'`; expect compile failures, then FAIL.
- [ ] **Step 3: Implement** the types and functions above; bump every `ProtocolCurrent` pin.
- [ ] **Step 4: Run** `go test ./internal/wire/...`; PASS.
@@ -103,9 +104,9 @@ Order: 1, 2, 3, 4, 5, 6, 8, 7, 9, 10, 11, 12, 13, 14 (Task 7 uses Task 8's
**Interfaces:**
- Consumes: Task 1's types and `ValidExploreOptions`.
-- Produces: `Attempt.Explore bool` and `Attempt.WorkPage func(page string) bool` (true when `<page>/index.html` exists in the step's latest work export); `keep` stores `Viewport`, `Path`, `FullPage` from `renderpage.Capture.Page`.
+- Produces: `Attempt.Explore bool` and `Attempt.WorkPages func(ctx context.Context, pages []string) (missing []string, err error)`: takes a fresh workspace snapshot with the render tool's snapshot (pause, private index, tree object; `busy` on failure) and lists the pages without `<page>/index.html` as a regular file in that tree. Never an earlier render's export (`renderpage.Tool.accepted` deletes it). `keep` stores `Viewport`, `Path`, `FullPage` from `renderpage.Capture.Page`.
-- [ ] **Step 1: Failing tests**: `TestSubmitExploreNeedsThree` (2 options: tool error text contains `3 or 4 options` and nothing is recorded); `TestSubmitCaptureFactsFromRender` (the recorded capture's viewport and path equal the render call's, whatever the model sends); `TestSubmitPageMustExist` (a page with no `index.html` refused, text names the page); `TestSubmitChangeNoMinimum` (a change step with 1 option passes).
+- [ ] **Step 1: Failing tests**: `TestSubmitExploreNeedsThree` (2 options: tool error text contains `3 or 4 options` and nothing is recorded); `TestSubmitCaptureFactsFromRender` (the recorded capture's viewport and path equal the render call's, whatever the model sends); `TestSubmitPageMustExist` (a page with no `index.html` refused, text names the page); `TestSubmitPageDeletedAfterRender` (render the page, delete its folder in the workspace, submit: refused), using the real snapshot, not a stub; `TestSubmitChangeNoMinimum` (a change step with 1 option passes).
- [ ] **Step 2: Run** `go test ./internal/runner/designstep/ -run 'TestSubmit'`; FAIL.
- [ ] **Step 3: Implement.** The schema gains `direction`, `page` and captures as `{"file","label"}` objects; the fixed refusal texts name the broken rule. The thin runner sets `Explore` from the dispatch and `WorkPage` from the render export.
- [ ] **Step 4: Run** the same tests plus `go test ./internal/runner/thin/ -run 'Design'`; PASS.
@@ -114,16 +115,16 @@ Order: 1, 2, 3, 4, 5, 6, 8, 7, 9, 10, 11, 12, 13, 14 (Task 7 uses Task 8's
### Task 3: The pack and the prompt
**Files:**
-- Modify: `internal/specialist/packs/design-v1.md`, `internal/specialist/menu.go:107` (digest), `internal/runner/thin/design_step.go` (`designPrompt`, `designRules`)
+- Modify: `internal/specialist/packs/design-v1.md`, `internal/specialist/menu.go:107` (digest), `internal/runner/thin/design_step.go` (`designPrompt`, `designFixPrompt`, `designRules`)
- Test: `internal/specialist/design_test.go`, `internal/runner/thin/design_prompt_test.go`
**Interfaces:**
- Consumes: Task 1's `DispatchCommand.Taste`, `TasteSkipped`, `DesignAsk`.
- Produces: `func tastePrompt(person string, notes []wire.TasteNote, skipped bool) string` and `func askPrompt(a *wire.DesignAsk) string` in `design_step.go`; each step's report records `PackDigest string`.
-- [ ] **Step 1: Failing tests**: `TestPackAsksThreeOrFour` (pack contains "three or four" and not "Two committed options"); `TestTastePromptQuotesSources` (a `words` note is quoted under "<person>'s own words", a `choice` note under "<person>'s choice among options Equipo's coordinator wrote", text passed through `wire.QuotedData`); `TestAskPromptLike` (`like` names the option and its direction as Design's words and the note as the person's); `TestSkippedSaysDefaults`.
+- [ ] **Step 1: Failing tests**: `TestPackAsksThreeOrFour` (pack contains "three or four" and not "Two committed options"); `TestTastePromptQuotesSources` (a `words` note is quoted under "<person>'s own words", a `choice` note under "<person>'s choice among options Equipo's coordinator wrote", text passed through `wire.QuotedData`); `TestAskPromptLike` (`like` names the option and its direction as Design's words and the note as the person's); `TestSkippedSaysDefaults`; `TestFixPromptCarriesAskAndTaste` (the prompt handed to a resumed launch, through `engineer.go`'s resume path, contains the `like` option, its direction, the person's note and the current notes).
- [ ] **Step 2: Run** `go test ./internal/specialist/ ./internal/runner/thin/ -run 'TestPack|TestTastePrompt|TestAskPrompt|TestSkipped'`; FAIL.
-- [ ] **Step 3: Implement** the pack edits of spec 8.3 (sections 2 and 6, a new "Taste notes" section, a "More rounds" paragraph: keep earlier folders, new names), the new digest, the prompt lines, and `designRules`' `submit_candidate` shape.
+- [ ] **Step 3: Implement** the pack edits of spec 8.3 (sections 2 and 6, a new "Taste notes" section, a "More rounds" paragraph: keep earlier folders, new names), the new digest, the prompt lines in both `designPrompt` and `designFixPrompt`, and `designRules`' `submit_candidate` shape.
- [ ] **Step 4: Run** the tests; PASS.
- [ ] **Step 5: Commit** `design: pack asks for 3 or 4 described options; prompt carries taste`.
@@ -137,9 +138,9 @@ Order: 1, 2, 3, 4, 5, 6, 8, 7, 9, 10, 11, 12, 13, 14 (Task 7 uses Task 8's
- Consumes: Task 1.
- Produces: `func (t *txn) designOptionsShort(p progress) (bool, error)` (true for a Design exploration attempt done with no options passing `ValidExploreOptions`); `designFeedbackOptions` fixed feedback text.
-- [ ] **Step 1: Failing tests**: `TestExploreTwoOptionsFixRound` (an approved-shaped Design attempt with 2 options gets a fix round carrying `designFeedbackOptions`, no Review step); `TestExploreNoSubmitFixRound`; `TestExploreShortAtMaxFixRounds` (at `MaxFixRounds` the task needs `NeedsFixRounds`); `TestOldReportStillShown` (a protocol-38 report with 2 options and no directions is shown, no fix round, since its step predates 39); `TestKeptCaptureFacts` (label, viewport, path, full page reach `StepCapture`).
+- [ ] **Step 1: Failing tests**: `TestExploreTwoOptionsFixRound` (an approved-shaped Design attempt with 2 options gets a fix round carrying `designFeedbackOptions`, no Review step); `TestExploreNoSubmitFixRound`; `TestExploreShortAtMaxFixRounds` (at `MaxFixRounds` the task needs `NeedsFixRounds`); `TestOldReportStillShown` (a protocol-38 report with 2 options and no directions is shown, no fix round, since its step predates 39); `TestKeptCaptureFacts` (label, viewport, path, full page reach `StepCapture`); `TestDispatchProtocolPersists` (written at dispatch, survives a store reopen and a runner reconnect; legacy rows read 0).
- [ ] **Step 2: Run** `go test ./internal/equipo/chat/ -run 'TestExplore|TestOldReportStillShown|TestKeptCaptureFacts'`; FAIL.
-- [ ] **Step 3: Implement.** The check runs in `advanceExplore` before `judge`, only for steps dispatched at 39 or above (the step's recorded protocol).
+- [ ] **Step 3: Implement.** Add `stepRecord.DispatchProtocol int` (migration 0125, default 0 meaning before this round), set at every dispatch from the lease's protocol. The check runs in `advanceExplore` before `judge`, only when `DispatchProtocol >= 39`.
- [ ] **Step 4: Run**; PASS.
- [ ] **Step 5: Commit** `chat: a Design exploration needs 3 or 4 options before Review`.
@@ -210,30 +211,31 @@ Sequenced after Task 8. **Interfaces:** Consumes `t.writeTaste` (Task 8).
### Task 9: Taste in the dispatch and the stale-revision check
**Files:**
-- Modify: `internal/equipo/chat/grants.go` (`boundDispatch`, `bindingHolds` caller), `internal/equipo/chat/runners.go` (start authorization), `internal/equipo/chat/design_routing.go` (`designCause`: runner below 39 waits as `design_runner_old`)
+- Modify: `internal/equipo/chat/grants.go` (`boundDispatch`, `bindingHolds` caller), `internal/equipo/chat/runners.go` (start authorization: a stale taste revision is replaced with `t.replace`, so the attempt moves on; a Design step on a lease below 39 is refused), `internal/equipo/chat/design_routing.go` (`designCause`: runner below 39 waits as `design_runner_old`), `internal/runner/thin/engineer.go`, `internal/runner/thin/state.go` (saved session forget revision)
- Test: `internal/equipo/chat/taste_dispatch_test.go`
**Interfaces:**
- Consumes: Task 8's records.
-- Produces: `func (t *txn) tasteFor(person, project string) ([]wire.TasteNote, int64, bool, error)` (notes, revision, skipped); `stepRecord.TasteRevision int64` (migration column).
+- Produces: `func (t *txn) tasteFor(person, project string) (notes []wire.TasteNote, revision, forgetRevision int64, skipped bool, err error)`; `stepRecord.TasteRevision int64` (migration column); `tasteBookRecord.ForgetRevision int64` (bumped by forget only).
+- Runner: `internal/runner/thin/engineer.go` (`fixSession`) and the saved-session record store `ForgetRevision`; a resume needs the dispatch's `ForgetRevision` to equal the saved one, else the launch starts fresh (no `--resume`).
-- [ ] **Step 1: Failing tests**: `TestTasteOrderAndCaps` (61 notes: 60 sent, project first then newest, total under 6 KiB); `TestForgetRefusesQueuedStart` (dispatched at revision 4, forget makes 5, start refused, re-dispatched with 5 and without the note); `TestForgetFreshSession` (resume refused after a forget, fresh session); `TestOldRunnerWaits` (runner at 38: `design_runner_old`).
+- [ ] **Step 1: Failing tests**: `TestTasteOrderAndCaps` (61 notes: 60 sent, project first then newest, total under 6 KiB); `TestForgetRefusesQueuedStart` (dispatched at revision 4, forget makes 5, start refused and the step replaced as a new attempt with 5 and without the note); `TestOldCommandFenced` (after the replacement is dispatched, authorizing the old attempt's command is refused); `TestForgetFreshSession` (runner side: a saved session at forget revision 1, dispatch at 2: the launch has no `--resume`); `TestOldRunnerWaits` (runner at 38: `design_runner_old`); `TestReconnectBelow39Refused` (placed on a 39 runner that reconnects at 38: start refused).
- [ ] **Step 2: Run**; FAIL. **Step 3: Implement.** **Step 4: Run**; PASS.
- [ ] **Step 5: Commit** `chat: Design steps carry the creator's taste, refreshed after a forget`.
-### Task 10: Discovery: ask_design_taste, its card and continuation
+### Task 10: Discovery: ask_design_taste and its card
**Files:**
- Create: `internal/equipo/chat/taste_ask.go`
-- Modify: `internal/equipo/chat/tools.go` (dispatch, `status` gains `taste: {notes, asked}` per Design specialist), `internal/equipo/chat/specialist_added.go` (allow the tool in the Add continuation for its project), `internal/runner/thin/mcp.go` (schema), the coordinator prompt's house rules, `internal/equipo/templates/chat.html` (card), `internal/equipo/migrations/0125_design_feedback.sql` (`chat_taste_asks`), `internal/equipo/copy.go`
+- Modify: `internal/equipo/chat/tools.go` (dispatch, `status` gains `taste: {notes, asked}` per Design specialist), `internal/equipo/chat/specialist_added.go` (allow this one card-raising tool in the Add continuation, for the card's project only), `internal/runner/thin/mcp.go` (schema), the coordinator prompt's house rules, the card-answer path that builds `Answered` today (its message and person turn), `internal/equipo/templates/chat.html` (card), `internal/equipo/migrations/0125_design_feedback.sql` (`chat_taste_asks`), `internal/equipo/copy.go`
- Test: `internal/equipo/chat/taste_ask_test.go`, `internal/equipo/taste_card_test.go`
**Interfaces:**
-- Consumes: Task 8 `writeTaste`; the continuation machinery of `specialist_added.go`.
-- Produces: `func (t *txn) askDesignTaste(r turnRecord, project string, feels []string) (wire.ToolResult, error)`; `func (t *txn) answerTaste(person string, c cardRecord, in wire.AnswerCard) (wire.Card, wire.Card, error)`; turn kind `wire.TurnDesignTaste`.
+- Consumes: Task 8 `writeTaste`; the existing card answer's message and person turn.
+- Produces: `func (t *txn) askDesignTaste(r turnRecord, project string, feels []string) (wire.ToolResult, error)`; `func (t *txn) answerTaste(person string, c cardRecord, in wire.AnswerCard) (wire.Card, wire.Card, error)`. No new turn kind.
-- [ ] **Step 1: Failing tests**: `TestAskTasteOnce` (second ask for the same person and project: refused text says start Design now); `TestAskTasteRefusedWithNotes`; `TestAskTasteFeelsBounds` (6 feels, a 31-byte feel, markup: refused); `TestAnswerWritesNotes` (two feels: two `choice` notes with Equipo's question; three boxes: three `words` notes); `TestAnswerOnce` (double tap: one set of notes, one continuation); `TestSkipQueuesDefaults` (no notes, ask recorded skipped, continuation opening says skipped, next Design dispatch has `TasteSkipped`); `TestContinuationBound` (records one task in the card's project, starts it only with Design); `TestAskInAddContinuation`; `TestTasteCardRender` (feels as checkboxes, four boxes `maxlength=300`, Use these and Skip).
-- [ ] **Step 2: Run** `go test ./internal/equipo/... -run 'TestAskTaste|TestAnswer|TestSkip|TestContinuationBound|TestTasteCard'`; FAIL.
+- [ ] **Step 1: Failing tests**: `TestAskTasteOnce` (second ask for the same person and project: refused text says start Design now); `TestAskTasteRefusedWithNotes`; `TestAskTasteFeelsBounds` (6 feels, a 31-byte feel, markup: refused); `TestAnswerWritesNotes` (two feels: two `choice` notes with Equipo's question; three boxes: three `words` notes); `TestAnswerOnce` (double tap: one set of notes, one message, one turn; the second is a card conflict); `TestAnswerFramedBySource` (the turn's prompt frames typed boxes as the person's words and feels and Skip as choices among options others wrote); `TestSkipRecorded` (no notes, ask recorded skipped, next Design dispatch has `TasteSkipped`); `TestAskInAddContinuation` (allowed for the card's project, refused for another; the person's answer then runs an ordinary turn that can record and start the task with Design); `TestTasteCardRender` (feels as checkboxes, four boxes `maxlength=300`, Use these and Skip).
+- [ ] **Step 2: Run** `go test ./internal/equipo/... -run 'TestAskTaste|TestAnswer|TestSkip|TestAskInAdd|TestTasteCard'`; FAIL.
- [ ] **Step 3: Implement.** The house rule text: before starting Design, call `status`; with no taste and no style, mood or reference in the request, ask; else start.
- [ ] **Step 4: Run**; PASS.
- [ ] **Step 5: Commit** `chat: Design asks a few taste questions once per project`.
@@ -249,9 +251,9 @@ Native keeps Build with a note; `TaskDetails.swift` ignores unknown keys. A test
- Test: `internal/equipo/preview_option_test.go`
**Interfaces:**
-- Produces: `func previewWrapper(raw string, unsafe bool, page string) (string, string, error)` (page "" or a valid page; iframe src is root + page + "/").
+- Produces: `func previewWrapper(raw string, unsafe bool, page string) (string, string, error)` (page "" or a valid page; iframe src is root + page + "/"). The route reads `step` and `option`; `step` must be the maker step whose candidate the deployed preview is of.
-- [ ] **Step 1: Failing tests**: `TestPreviewOptionFrames` (`?option=2` frames `https://eq-x.example/writing-desk/`, CSP origin unchanged); `TestPreviewOptionForged` (`option=-1`, `option=9`, `option=abc`, an option of an older round: 404); `TestOpenLiveOnlyDeployed` (no deployed preview: no link); `TestHeaderRefusedLine` (`preview_header_missing`: card shows `work.preview.host_outdated`).
+- [ ] **Step 1: Failing tests**: `TestPreviewOptionFrames` (`?step=S&option=2` frames `https://eq-x.example/writing-desk/`, CSP origin unchanged); `TestPreviewOptionForged` (`option=-1`, `option=9`, `option=abc`, a step of another task, a missing step: 404); `TestPreviewOldLinkAfterRedeploy` (a link for round 1 after round 2's preview deployed: 404); `TestOpenLiveOnlyDeployed` (no deployed preview: no link); `TestHeaderRefusedLine` (`preview_header_missing`: card shows `work.preview.host_outdated`).
- [ ] **Step 2: Run**; FAIL. **Step 3: Implement.** **Step 4: Run**; PASS.
- [ ] **Step 5: Commit** `web: Open live per option through the preview wrapper`.
@@ -267,6 +269,17 @@ results verbatim with the house markers. `make copy-release-check` passes.
Astra reviews the branch (`codex exec -m gpt-6-astra -c model_reasoning_effort="high" … </dev/null`), three rounds at most; `make ci` once; push; CI green; report "say merge".
+## Astra round 1: NOT READY (9 findings, all taken)
+
+Fenced re-dispatch after a forget (new attempt) and a runner-side forget
+revision for resumes (Task 9); round request and taste in
+`designFixPrompt` (Task 3); discovery answers use the existing card answer
+and an ordinary person turn instead of a new continuation kind, which
+also keeps the original request (Task 10, spec 8.6); preview links bound
+to a step (Task 12); `dispatch_protocol` on steps (Task 4); protocol 39
+required for every Design dispatch and at start (Tasks 1, 9); page check
+on a fresh snapshot (Task 2).
+
## Reviews and the round limit
Astra reviews the addendum and this plan (three rounds at most each), then
diff --git a/docs/superpowers/reviews/CODEX-FINDINGS-design-feedback-1-R1.md b/docs/superpowers/reviews/CODEX-FINDINGS-design-feedback-1-R1.md
new file mode 100644
index 00000000..d24a1b56
--- /dev/null
+++ b/docs/superpowers/reviews/CODEX-FINDINGS-design-feedback-1-R1.md
@@ -0,0 +1,19 @@
+NOT READY
+
+1. **P1 — Fence the dispatch replaced after a forget.** [Plan:218](/home/paulca/amadan.net/oficina/equipo-design-feedback-1/docs/superpowers/plans/2026-11-30-design-feedback-1.md:218). `Authorize` receives a step ID and attempt, not the revision carried by the runner’s command. If redispatch updates `stepRecord.TasteRevision` without changing the attempt, an old command containing forgotten notes can pass the refreshed server-side check. Require a new fenced attempt, retire the old command, and test authorization of the old command after the replacement has been dispatched.
+
+2. **P1 — Enforce forgetting in the runner’s session selection.** [Plan:213](/home/paulca/amadan.net/oficina/equipo-design-feedback-1/docs/superpowers/plans/2026-11-30-design-feedback-1.md:213). Task 9 changes only instance code, but `Engineer.fixSession` selects saved transcripts by task, person and candidate commit. It has no notebook revision check. A freshly authorized dispatch can therefore resume a transcript containing forgotten notes. Add revision metadata and enforcement to the runner’s saved-session path, and test the actual launch starts without `--resume` after a forget.
+
+3. **P2 — Carry round requests into resumed prompts.** [Plan:117](/home/paulca/amadan.net/oficina/equipo-design-feedback-1/docs/superpowers/plans/2026-11-30-design-feedback-1.md:117). Task 3 names `designPrompt` and `designRules`, but `engineer.go` replaces the full prompt with `designFixPrompt` when resuming. That function currently carries feedback and tool rules only. More options, More like this and newly added taste can consequently disappear on resumed rounds. Update both prompt paths and test the prompt passed to a resumed launch, including the selected option and the person’s note.
+
+4. **P1 — Wire the new continuation kind through its full lifecycle.** [Plan:233](/home/paulca/amadan.net/oficina/equipo-design-feedback-1/docs/superpowers/plans/2026-11-30-design-feedback-1.md:233). Adding `TurnDesignTaste` and allowing its tools does not inherit Add-continuation behavior. `store.go:475` sends the recorded opening only for existing special kinds; `tasks.go:2575` binds recorded tasks only for `TurnSpecialistAdded`; `movein.go:108` exempts only that continuation from automatic requeue. The runner also special-cases it when framing the opening. Extend these paths explicitly and test dispatch, tool authorization and yield/retry end to end.
+
+5. **P2 — Preserve the original request through Add → discovery.** [Spec:526](/home/paulca/amadan.net/oficina/equipo-design-feedback-1/docs/superpowers/specs/2026-11-28-dynamic-specialists.md:526). The prescribed “asking turn’s messages” are empty when discovery originates in an Add continuation. That turn stores its inherited request in `specialistTurnRecord.Words`, while `askedWords` reads person messages associated with the immediate turn. The discovery continuation can lose what the person asked to build. Carry the stored source-labelled words through the chain and test the resulting opening and task brief.
+
+6. **P2 — Bind preview links to a round.** [Spec:475](/home/paulca/amadan.net/oficina/equipo-design-feedback-1/docs/superpowers/specs/2026-11-28-dynamic-specialists.md:475). `/preview?option=N` contains no step or candidate identity. After another round deploys, an old link for option 2 is indistinguishable from the new round’s option 2. Task 12’s promised rejection of an older-round option cannot work with this URL. Include a step or candidate binding, validate it against the deployed preview, and test reopening an old link after deployment changes.
+
+7. **P2 — Add the historical protocol record that Task 4 assumes.** [Plan:142](/home/paulca/amadan.net/oficina/equipo-design-feedback-1/docs/superpowers/plans/2026-11-30-design-feedback-1.md:142). `stepRecord` currently has no recorded dispatch protocol, and no task adds one. The proposed distinction between legacy reports and protocol-39 attempts therefore has no durable input. Add an additive field with explicit legacy semantics, persist it at dispatch, and test both cases across database reopen and runner reconnection.
+
+8. **P2 — Reject protocol downgrade even when optional feedback fields are empty.** [Plan:90](/home/paulca/amadan.net/oficina/equipo-design-feedback-1/docs/superpowers/plans/2026-11-30-design-feedback-1.md:90). A Design dispatch can legitimately have no taste, skipped flag or round request. The specified downgrade check then permits protocol 38. A runner reconnecting below 39 after placement also passes today’s `authorizeSpecialist` minimum of 38. Enforce the required protocol independently of optional fields at encoding and start authorization; test a bare Design dispatch and a downgrade between placement and start.
+
+9. **P2 — Check the current workspace at submission.** [Plan:106](/home/paulca/amadan.net/oficina/equipo-design-feedback-1/docs/superpowers/plans/2026-11-30-design-feedback-1.md:106). `WorkPage` relies on the “latest work export”, but `renderpage.Tool.accepted` deletes that export before returning. Retaining only its file inventory would still accept a page deleted after rendering, contrary to section 8.3’s submission-time requirement. Specify a current, safely captured workspace check and test render → delete page → submit, rather than only a stub returning “missing”.
\ No newline at end of file
diff --git a/docs/superpowers/specs/2026-11-28-dynamic-specialists.md b/docs/superpowers/specs/2026-11-28-dynamic-specialists.md
index a4816186..bae3bad5 100644
--- a/docs/superpowers/specs/2026-11-28-dynamic-specialists.md
+++ b/docs/superpowers/specs/2026-11-28-dynamic-specialists.md
@@ -410,14 +410,18 @@ An exploration's Design report has 3 or 4 options
under the option's name on the card and the task page as Design's
words;
- `page`: its folder under `mockups/<task>/`, which must hold an
- `index.html` in the step's work tree when it is submitted (8.5 links
+ `index.html` as a regular file in the step's workspace when it is
+ submitted, checked on a fresh snapshot taken the way `render_page`
+ takes one (section 3), never on an earlier render's export (8.5 links
to it);
- 1 to 3 captures, each labelled (12 in all, as today).
The runner's `submit_candidate` refuses a call that breaks these with a
fixed message naming what is missing, so Design fixes it within the
-step. The instance checks again, strictly. A Design exploration attempt
-that ends without a valid set never reaches Review: the instance starts
+step. The instance checks again, strictly. Each step records the protocol it
+was dispatched at (`dispatch_protocol`, 0 for steps from before this
+round, which keep the old rules). A Design exploration attempt
+dispatched at 39 that ends without a valid set never reaches Review: the instance starts
a fix round with Equipo's fixed feedback, which counts against
`MaxFixRounds` and `DesignRunLimit` like any other. A change task (Build
this one) has no minimum, as today.
@@ -473,11 +477,12 @@ place behind its project setting), and nothing about those gates
changes. What this adds:
- each option of the round whose candidate is deployed gets **Open
- live**: `/tasks/{id}/preview?option=N`, which frames the deployed
- preview's root plus that option's `page` and `/`. N is checked against
- the kept options of the deployed candidate and `page` against the
- folder pattern; anything else is 404, and the frame's origin and
- policy are the wrapper's as today;
+ live**: `/tasks/{id}/preview?step=S&option=N`, which frames the
+ deployed preview's root plus that option's `page` and `/`. S must be
+ the maker step whose candidate the deployed preview is of, N one of
+ its kept options, and `page` must match the folder pattern; anything
+ else, including an old link after another round deployed, is 404. The
+ frame's origin and policy are the wrapper's as today;
- a preview the host refused for its headers (`preview_headers` or
`preview_header_missing`) shows "The preview host needs a CARLOS update
before previews open" (places spec section 4) on the direction card
@@ -500,7 +505,7 @@ and three of slice 2's parts: discovery answers, the choices of 8.1 and
**Asking.** A new coordinator tool, `ask_design_taste {project,
feels}`, raises one card for the person in their live turn, or in the
continuation after an Add of Design for that project (that turn's other
-limits stand). The questions are Equipo's, fixed in `copy.go`:
+limits stand; it is the one card that turn may raise). The questions are Equipo's, fixed in `copy.go`:
1. What feel are you after? One tap each, up to two, among `feels`: up
to five short labels the coordinator writes for this project
@@ -520,14 +525,17 @@ mood or reference, ask first; otherwise start at once.
**Answering.** In the answer's transaction the instance writes the notes:
a typed box is the person's words; a tapped feel is a choice, stored as
the question (Equipo's words) and the label (the coordinator's words)
-that the person chose. It records the ask as answered, and queues one
-coordinator continuation turn, keyed by the card, bound as the Add
-continuation is (one task in the card's project, started only with that
-project's Design). Its opening is Equipo's record ("Paul answered
-Design's questions" or "Paul skipped them"), then the asking turn's
-messages under their sources. On Skip the coordinator starts Design and
-says in one line that Design will use its own judgement; Design's prompt
-says the questions were skipped.
+that the person chose. It records the ask as answered. The answer then
+reaches the coordinator the way every card answer does today
+(`Answered`: the answer as the person's message, carried by an ordinary
+person turn), framed by source: typed boxes as their words, tapped feels
+and Skip as choices among options others wrote. No new turn kind: the
+coordinator works from the conversation, the original request
+included, and records and starts the task as in any person turn. A
+double tap or retry is the existing card conflict. On Skip the ask is
+recorded as skipped, the coordinator starts Design and says in one line
+that Design will use its own judgement, and Design's prompt says the
+questions were skipped.
**Choices.** Build this one and More like this on an option also write a
choice note: the option's name and direction, quoted as Design's words,
@@ -544,8 +552,13 @@ Only the person sees their own notes.
creator's notes for the prompt: that project's first, then team-wide,
newest first; at most 60 notes, 300 characters each, 6 KiB, with the
notebook revision. The start authorization refuses a step whose revision
-is stale; it is dispatched again with fresh notes, and a step whose
-saved session predates a forget starts a fresh session (section 2).
+is stale and replaces it as a new attempt with fresh notes, so the old
+command's attempt is fenced and can never start. Forgets also bump a
+separate forget revision, carried on the dispatch; the runner stores it
+with each saved session and resumes a session only when it matches, so a
+session that predates a forget starts afresh (section 2). Both the first
+prompt and a resumed round's prompt (`designFixPrompt`) carry the current
+notes and the round's request.
**Seeing.** Design's page (`/team/{specialist}`) leads with "Design knows
N things about your taste", lists the viewer's notes (words, source,
@@ -557,12 +570,16 @@ to **Add a note** for this project or all projects: Paul's known rules
- Protocol 39 (`ProtocolDesignFeedback`). A Design step goes only to a
runner at 39 or above, else it waits with `design_runner_old` as
- today. The dispatch gains the taste notes, their revision and
+ today. This holds for every Design dispatch, with or without notes or
+ a round request: encoding refuses a `design-v1` binding below 39, and
+ the start authorization refuses a runner that reconnected below 39
+ after placement. The dispatch gains the taste notes, their revision and
`design_ask`; the report's options gain `direction`, `page` and, per
capture, `label`, `viewport`, `full_page` and `path`. `ask_design_taste`
joins `ConverseTools`.
-- Migration 0125, additive: taste notes, notebook revisions, discovery
- asks, and the steps' `design_ask`.
+- Migration 0125, additive: taste notes, notebook and forget revisions,
+ discovery asks, and the steps' `design_ask`, `dispatch_protocol` and
+ taste revisions.
- `AnswerCard` gains `option` and the choices `more` and `like`.
### 8.8 Question for Paul: does a pack edit need a new Add?