oficina / equipo Public

spec 3.3 + plan: Design feedback (options, labels, taste, more, live)

Addendum section 8 after Paul's first use of Design on Patrix
(tks4zz4vxxtk): per-option Build, labelled captures, 3 or 4 described
options, discovery into taste notes, More options and More like this,
Open live through the preview wrapper. One question for Paul (8.8).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev 80f7bb202f8d2272ce10bd523f48f510c9039341 parent ea3022b
2 files changed, +534 −1
  • docs/superpowers/plans/2026-11-30-design-feedback-1.md +282 −0
  • docs/superpowers/specs/2026-11-28-dynamic-specialists.md +252 −1
diff --git a/docs/superpowers/plans/2026-11-30-design-feedback-1.md b/docs/superpowers/plans/2026-11-30-design-feedback-1.md
new file mode 100644
index 00000000..4e04053b
--- /dev/null
+++ b/docs/superpowers/plans/2026-11-30-design-feedback-1.md
@@ -0,0 +1,282 @@
+# Design feedback 1 Implementation Plan
+
+> **For agentic workers:** REQUIRED SUB-SKILL: Use superpowers:subagent-driven-development (recommended) or superpowers:executing-plans to implement this plan task-by-task. Steps use checkbox (`- [ ]`) syntax for tracking.
+
+**Goal:** Fix the direction card's two bugs (per-option choice, capture
+labels), require 3 or 4 described options, ask a few taste questions
+before the first options and keep the answers as taste notes, add More
+options and More like this, and link each option to its live preview.
+
+**Architecture:** Protocol 39 carries the new report fields (direction,
+page, capture labels and render facts), the taste notes and the round
+request on a Design dispatch. The instance validates options before
+Review, stores taste notes with a notebook revision checked at start, and
+renders per-option actions on the web card and task page. Live mockups
+reuse the preview wrapper with an option deep link.
+
+**Tech Stack:** Go (`CGO_ENABLED=0`), GORM on SQLite, Go templates, the
+thin runner's MCP tools, bubblewrap renderer (unchanged).
+
+**Spec:** `docs/superpowers/specs/2026-11-28-dynamic-specialists.md`,
+section 8 (revision 3.3) on top of sections 0 to 7 (revision 3.2,
+approved). Branch `design-feedback-1`, rebased onto main after
+`specialist-labels` merges; no code before that merge.
+
+## Global Constraints
+
+- `MinDesignOptions = 3`, `MaxDesignOptions = 4`, `MaxDesignCaptures = 12`, 1 to 3 captures per option in an exploration.
+- `direction`: 1 to 500 bytes of plain text; capture `label`: plain-label rules (`validOptionName`), at most 40 bytes; feel labels: plain-label rules, at most 30 bytes, at most 5; discovery boxes: at most 300 characters each.
+- Taste in a prompt: at most 60 notes, 300 characters each, 6 KiB, project notes first then newest.
+- Protocol 39 `ProtocolDesignFeedback`; migration `0125_design_feedback.sql`, additive.
+- Model text is never the person's words; every note is quoted under a label naming its source (AGENTS.md rules 1 and 3).
+- The Design sandbox has no network; preview gates are unchanged.
+- App strings only in `internal/equipo/copy.go`, marked pending (`scripts/copy-status.py pending`). Plain words, no em dashes, no exclamation marks.
+- Section 8.8 is Paul's: this plan assumes the recommendation (a pack edit keeps `design-v1`, each step records its pack digest). If he keeps the rule, Task 3 instead adds `design-v2` and an Update card per Design row.
+
+## Review Focus
+
+1. A card answered after a newer round arrived (stale `option.step`, or an index past the kept options) must conflict, never build the wrong option. Task 6 tests it.
+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.
+
+## Facts the plan rests on (main 1755d03a)
+
+- Protocol is 38 (`ProtocolDesign`, `internal/wire/runners.go:254`); the next migration is 0125 (`internal/equipo/migrations/0124_step_renders.sql`). Whoever lands second renumbers. Several tests pin `ProtocolCurrent` (`grep -rn 'ProtocolCurrent' internal/wire/*_test.go`).
+- `wire.ValidOptions` (`internal/wire/design.go:261`) allows 0 to 4 options; `DesignCapture` has `ID`, `SHA256`, `TreeDigest`. The runner's `submit_candidate` schema is `internal/runner/thin/mcp.go:243`; the runner validates in `designstep.(*Attempt).submit` (`designstep.go:151`) and records captures in `keep` from `renderpage.Capture`, which has `Page render.Page` (path, viewport, full page).
+- The instance keeps options in `design_captures.go` (`:194`), reads them with `candidateDesign` (`:298`). `galleryOf` (`internal/equipo/design_views.go:36`) builds the gallery; captions are `work.captures.tree.<tree>`.
+- The direction card: `raiseDirection`, `answerDirection`, `buildThisOne` in `internal/equipo/chat/explore.go`; web card `internal/equipo/templates/chat.html:15`; task page `decision` and `design-gallery` in `templates/work_parts.html`; `work_views.go:788-810`.
+- `AnswerCard` is `internal/wire/api.go:419`. `personActed` (`design_routing.go:166`) resets `DesignRuns` on a card answer; `designGate` holds at `DesignRunLimit`.
+- `boundDispatch` (`grants.go:147`) fills a maker dispatch; `bindingHolds` (`grants.go:166`) is the start-time grant check.
+- The Design prompt is `designPrompt` and `designRules` in `internal/runner/thin/design_step.go:349-395`; the pack is pinned by digest in `internal/specialist/menu.go:107`.
+- The Add continuation is `internal/equipo/chat/specialist_added.go` (turn kind `wire.TurnSpecialistAdded`, `specialistTurnRecord`).
+- The preview wrapper is `internal/equipo/preview_wrapper.go`; `previewWrapper` accepts only a root URL.
+- The coordinator's `ask_person` and tool dispatch are in `internal/equipo/chat/tools.go` (`askPerson` `:977`, `status` `:765`); its MCP schema list is `internal/runner/thin/mcp.go:202`.
+- Design's page is `teamPage` in `internal/equipo/team_panel.go:80`.
+
+## Rules for every task
+
+Tests first: write the failing test, run it, see it fail for the right
+reason, then the code, then a mutation check for each guard (break it, see
+its test fail, restore). The commit body records the test command, the
+failure seen, and each mutation and result. Targeted
+`go test ./internal/<pkg>/... -run TestX` while working; `make ci` once at
+the end. `CGO_ENABLED=0`, Go caches at their defaults, scratch in on-disk
+`$TMPDIR` via `mktemp -d`, servers on 127.0.0.1. Never create, remove or
+prune worktrees; never merge, push main or deploy. Commit subjects under
+80 characters, trailer `Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>`.
+Order: 1, 2, 3, 4, 5, 6, 8, 7, 9, 10, 11, 12, 13, 14 (Task 7 uses Task 8's
+`writeTaste`).
+
+---
+
+### Task 1: Protocol 39 and the wire
+
+**Files:**
+- Modify: `internal/wire/design.go`, `internal/wire/runners.go`, `internal/wire/tasks.go` (dispatch fields), `internal/wire/api.go` (`AnswerCard`), `internal/wire/explore.go` (choices, `TaskDirection`), `internal/wire/frames.go` (`ToolAskDesignTaste`, `ConverseTools`)
+- Test: `internal/wire/design_feedback_test.go`; update the `ProtocolCurrent` pins
+
+**Interfaces:**
+- Produces:
+ - `const Protocol39 = 39; ProtocolDesignFeedback = Protocol39; ProtocolCurrent = ProtocolDesignFeedback`
+ - `const MinDesignOptions = 3; MaxCapturesPerOption = 3; MaxDirection = 500; MaxCaptureLabel = 40; MaxFeel = 30; MaxFeels = 5; MaxTasteBox = 300`
+ - `DesignOption{Name, Direction, Page string; Captures []DesignCapture}`; `DesignCapture{ID, SHA256, TreeDigest, Label, Viewport, Path string; FullPage bool}`; same new fields on `StepDesignOption` (`Direction`, `Page`) and `StepCapture` (`Label`, `Viewport`, `Path`, `FullPage`)
+ - `func ValidOptions(opts []DesignOption) error` (unchanged rules) and `func ValidExploreOptions(opts []DesignOption) error`: 3 to 4 options, each a valid `Direction` (1 to `MaxDirection` bytes, valid UTF-8, no control or format characters), a `Page` matching `^[a-z0-9]+(-[a-z0-9]+)*$` (at most 60 bytes, unique), 1 to `MaxCapturesPerOption` captures each with a valid label and a viewport in `phone|tablet|desktop`
+ - `TasteNote{ID, Source, Scope, Body, Question, Date string}` (`Source`: `words` or `choice`; `Scope`: `project` or `team`); `DispatchCommand.Taste []TasteNote`, `TasteRevision int64`, `TasteSkipped bool`, `DesignAsk *DesignAsk`
+ - `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.
+
+- [ ] **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 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.
+- [ ] **Step 5: Commit** `wire: protocol 39 for Design feedback (options, taste, asks)`.
+
+### Task 2: The runner records capture facts and checks submit_candidate
+
+**Files:**
+- Modify: `internal/runner/designstep/designstep.go`, `internal/runner/thin/mcp.go:243`, `internal/runner/thin/design_step.go`
+- Test: `internal/runner/designstep/designstep_feedback_test.go`
+
+**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`.
+
+- [ ] **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 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.
+- [ ] **Step 5: Commit** `runner: label captures from the render; Design submits 3 or 4 options`.
+
+### 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`)
+- 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 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 4: Run** the tests; PASS.
+- [ ] **Step 5: Commit** `design: pack asks for 3 or 4 described options; prompt carries taste`.
+
+### Task 4: The instance keeps the new fields and checks options before Review
+
+**Files:**
+- Modify: `internal/equipo/chat/design_captures.go`, `internal/equipo/chat/explore.go` (`advanceExplore`), `internal/equipo/chat/review.go` (`fixRound` feedback source)
+- Test: `internal/equipo/chat/design_feedback_options_test.go`
+
+**Interfaces:**
+- 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 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 4: Run**; PASS.
+- [ ] **Step 5: Commit** `chat: a Design exploration needs 3 or 4 options before Review`.
+
+### Task 5: Captions, directions and per-option buttons
+
+**Files:**
+- Modify: `internal/equipo/design_views.go`, `internal/equipo/templates/work_parts.html` (`design-gallery`, `decision`), `internal/equipo/templates/chat.html:15`, `internal/equipo/chat_page.go`, `internal/equipo/work_views.go:788-810`, `internal/equipo/static/equipo.css`, `internal/equipo/copy.go`
+- Test: `internal/equipo/design_views_test.go`, `internal/equipo/direction_card_test.go`
+
+**Interfaces:**
+- Consumes: Task 1 (`StepCapture` fields, `DirectionRound`), Task 6's answer form fields `option_step` and `option_index`.
+- Produces: `designOptionView{Label, Direction, Step string; Index int; Live string; Captures []designCaptureView}`; `designCaptureView.Caption`; `galleryOf(taskID string, rounds []wire.DirectionRound, open bool, cardID string, revision int64) *designGallery`.
+
+- [ ] **Step 1: Failing tests**: `TestCaptionLabelViewport` ("Dashboard, desktop"; full page adds ", full page"); `TestCaptionOldReport` (no label, viewport known: "Desktop"; nothing known: "Mockup"); `TestCardPerOptionBuild` (rendered card has one form per option with `choice=build`, `option_step`, `option_index`, and no `<details data-direction-build>`); `TestCardMoreButtons` (More like this per option, More options once); `TestDirectionShown` (direction text escaped, under the option name); `TestTaskPageRounds` (two rounds, newest first, each option with Build).
+- [ ] **Step 2: Run** `go test ./internal/equipo/ -run 'TestCaption|TestCard|TestDirectionShown|TestTaskPageRounds'`; FAIL.
+- [ ] **Step 3: Implement.** New strings pending in `copy.go` (`work.captures.caption`, `work.captures.full_page`, `work.captures.viewport.<v>`, `chat.card.more`, `chat.card.like`, `work.captures.earlier`).
+- [ ] **Step 4: Run**; PASS. Render the card in a browser on 127.0.0.1 at phone and desktop width; record the screenshots' paths in the commit body.
+- [ ] **Step 5: Commit** `web: one Build per option, labelled captures, directions shown`.
+
+### Task 6: Answers: option, More options, More like this
+
+**Files:**
+- Modify: `internal/equipo/chat/explore.go` (`answerDirection`, `buildThisOne`, `directionView`), `internal/equipo/chat/tasks.go` (`stepRecord.DesignAsk`), `internal/equipo/chat/grants.go` (`boundDispatch` carries `DesignAsk`), `internal/equipo/chat_http.go` or the card answer handler (form fields), `internal/equipo/migrations/0125_design_feedback.sql` (steps `design_ask`)
+- Test: `internal/equipo/chat/direction_options_test.go`
+
+**Interfaces:**
+- Consumes: Task 1 (`OptionRef`, `ChoiceMore`, `ChoiceLike`, `DesignAsk`).
+- Produces: `func (t *txn) keptOption(k taskRecord, ref wire.OptionRef) (stepRecord, wire.StepDesignOption, error)` (the step is a done maker step of `k` with kept options and a Review approve on its candidate; else `ErrCardConflict`); `func (t *txn) designRounds(k taskRecord, steps []stepRecord) ([]wire.DirectionRound, error)`.
+
+- [ ] **Step 1: Failing tests**: `TestBuildOptionOneTap` (no note, option 2: new task brief contains "option 2" and the name inside Design's quote label, not under the person's name); `TestBuildEarlierRound` (brief names the earlier round's candidate SHA); `TestBuildStaleOption` (index 5, a step of another task, a step with no approve: `ErrCardConflict`); `TestBuildNoteOnlyOldClient` (note, no option, 2 options: accepted); `TestMoreStartsRound` (`more`: a maker step from the current candidate with `DesignAsk{Kind:"more", Current: …}`; `DesignRuns` reset by `personActed`); `TestLikeNeedsOption`; `TestRoundsCountAgainstLimit` (after a `like`, three attempts then the fourth is held with `design_limit`).
+- [ ] **Step 2: Run** `go test ./internal/equipo/chat/ -run 'TestBuild|TestMore|TestLike|TestRoundsCount'`; FAIL.
+- [ ] **Step 3: Implement**; migration adds `steps.design_ask TEXT` (JSON).
+- [ ] **Step 4: Run**; PASS.
+- [ ] **Step 5: Commit** `chat: Build, More like this and More options name an option`.
+
+### Task 7: Choice notes from Build and More like this
+
+**Files:**
+- Modify: `internal/equipo/chat/explore.go`, `internal/equipo/chat/taste.go` (Task 8)
+- Test: `internal/equipo/chat/taste_choices_test.go`
+
+Sequenced after Task 8. **Interfaces:** Consumes `t.writeTaste` (Task 8).
+
+- [ ] **Step 1: Failing test** `TestBuildWritesChoiceNote` (one `choice` note for the creator, project scope, body names the option and its direction as Design's words; a retried answer writes none); `TestLikeWritesChoiceNote`.
+- [ ] **Step 2: Run**; FAIL. **Step 3: Implement.** **Step 4: Run**; PASS.
+- [ ] **Step 5: Commit** `chat: building or asking for more of an option teaches taste`.
+
+### Task 8: The taste notebook and Design's page
+
+**Files:**
+- Create: `internal/equipo/chat/taste.go`
+- Modify: `internal/equipo/migrations/0125_design_feedback.sql`, `internal/equipo/chat/store.go` (models), `internal/equipo/team_panel.go`, `internal/equipo/templates/` (Design page section), `internal/equipo/app.go` (routes), `internal/equipo/copy.go`
+- Test: `internal/equipo/chat/taste_test.go`, `internal/equipo/team_taste_test.go`
+
+**Interfaces:**
+- Produces:
+ - `tasteNoteRecord{ID, Person, Discipline, ProjectID, Source, Body, Question, TaskID, CardID string; CreatedAt time.Time}` (table `chat_taste_notes`); `tasteBookRecord{Person, Discipline string; Revision int64}` (`chat_taste_books`)
+ - `func (t *txn) writeTaste(person, project, source, body, question, task, card string) error` (bumps the revision, appends audit `taste.write` with note id and source only)
+ - `func (s *Store) Taste(ctx, person string) ([]wire.TasteNote, int64, error)`; `AddTaste(ctx, person, project, text string) error`; `ForgetTaste(ctx, person, id string) error`; `ForgetAllTaste(ctx, person string) error`
+ - routes `POST /team/{specialist}/taste`, `POST /team/{specialist}/taste/{id}/forget`, `POST /team/{specialist}/taste/forget`
+
+- [ ] **Step 1: Failing tests**: `TestTasteOnlyOwnerSees` (another member's page shows none of mine); `TestForgetDeletesAndAudits` (row gone, revision bumped, audit has no text); `TestAddTasteBounds` (301 characters refused, empty refused); `TestRemovedMemberTasteUnused`; `TestTastePageCount` ("Design knows 3 things about your taste").
+- [ ] **Step 2: Run** `go test ./internal/equipo/... -run 'TestTaste|TestForget|TestAddTaste|TestRemovedMemberTaste'`; FAIL.
+- [ ] **Step 3: Implement**; actor from the verified session; roster checked in the write transaction.
+- [ ] **Step 4: Run**; PASS.
+- [ ] **Step 5: Commit** `chat: taste notebook with add and forget on Design's page`.
+
+### 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`)
+- 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).
+
+- [ ] **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 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
+
+**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`
+- 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`.
+
+- [ ] **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 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`.
+
+### Task 11: (folded) native
+
+Native keeps Build with a note; `TaskDetails.swift` ignores unknown keys. A test in `native/apple/Tests/EquipoKitTests/TaskDetailModelTests.swift` decodes a fixture with the new fields. **Commit** `native: decode Design feedback fields without change`.
+
+### Task 12: Open live per option, and the refused-preview line
+
+**Files:**
+- Modify: `internal/equipo/preview_wrapper.go`, `internal/equipo/chat/explore.go` (`directionView`: `Live`, `PreviewRefused`), `internal/equipo/design_views.go`, templates, `internal/equipo/copy.go`
+- 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 + "/").
+
+- [ ] **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 2: Run**; FAIL. **Step 3: Implement.** **Step 4: Run**; PASS.
+- [ ] **Step 5: Commit** `web: Open live per option through the preview wrapper`.
+
+### Task 13: Copy
+
+Every new string is in `copy.go`, marked pending. Card titles and buttons
+go to Paul through the controller: the discovery card's title and its four
+questions, Use these, Skip, Build this one (per option), More like this,
+More options, Open live. Everything else goes to Luna as delegated. Apply
+results verbatim with the house markers. `make copy-release-check` passes.
+
+### Task 14: Whole-branch review and gate
+
+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".
+
+## Reviews and the round limit
+
+Astra reviews the addendum and this plan (three rounds at most each), then
+each task. A P1 in round three means cut scope and go to Paul through the
+controller.
+
+## Verification and handoff
+
+`make ci` green locally once and on amadan CI. The finish line, after a
+release (Paul's): he asks for a design task on a project with no taste,
+answers or skips the questions, sees 3 or 4 labelled options with their
+directions, taps Build this one on one, and More like this on another.
+Open live appears once CARLOS's devbox share serves `_headers` (spec 8.5).
diff --git a/docs/superpowers/specs/2026-11-28-dynamic-specialists.md b/docs/superpowers/specs/2026-11-28-dynamic-specialists.md
index 6ad4186d..a4816186 100644
--- a/docs/superpowers/specs/2026-11-28-dynamic-specialists.md
+++ b/docs/superpowers/specs/2026-11-28-dynamic-specialists.md
@@ -1,6 +1,12 @@
# Dynamic specialists: Design, reviewers, taste and a page renderer
-Status: 2026-11-28, revision 3.2, APPROVED by Paul. Drafted by Claude
+Status: revision 3.3, 2026-11-30: section 8 is an addendum after Paul's
+first use of Design, drafted on `design-feedback-1` from main 1755d03a;
+it is under Astra review and has one question for Paul (section 8.8).
+Sections 0 to 7 are revision 3.2, APPROVED by Paul on 2026-11-28, and
+slice 1 is live in production (27d50e7f) since 2026-11-30.
+
+Revision 3.2: drafted by Claude
(Opus 5.5) on `design-dynamic-specialists` from main 55e192cf. Nothing is
built. Astra rounds 1 and 2: NOT READY (13, then 5 findings, all folded
in). Round 3: NOT READY on one item, the workspace snapshot, fixed in 3.1
@@ -336,3 +342,248 @@ Paul accepted every recommendation in section 6:
"make this a project rule" is for owners.
6. Paul types his known rules on Design's page once himself; agent-written
summaries of them would be kept as agent words.
+
+## 8. Addendum, revision 3.3: Paul's first use (2026-11-30)
+
+Paul ran Design on "Overhaul the Patrix design" (task `tks4zz4vxxtk`) and
+said: "This is cool, very very cool. I think the designer should always do
+at least 3 options and provide a description of the direction. Also, the
+designer should probably do some discovery of the kinds of directions and
+style I'd like to take ... the two examples aren't based on any kind of
+guidance. I guess I should be also able to ask for more mockups? Also the
+buttons aren't linked to the options, and the mockups all have the same
+label. Would it make sense to give the Designer access to e.g. carlos
+platform devbox running locally so that it can share actual mockups and
+not just screenshots? The screenshots are great though."
+
+What the record shows:
+
+- Design kept two options (Writing desk, Newsroom console), three
+ captures each. Every caption is the capture's tree ("Mockup",
+ `work.captures.tree.work`): the report carries no page or viewport.
+- With more than one option, "Build this one" is a `<details>` summary
+ that opens a note box (`chat.html`, `BuildNote`). It reads as plain
+ text and belongs to no option.
+- The candidate's preview did run. Preview step `s_5xmk3uoqcdxdymkfewl5772g6h`
+ shared the mockups on the docs-t1 devbox as
+ `eq-tks4zz4vxxtk.docs-t1.dev.platform.tito.io` and ended
+ `preview_header_missing`: the share answered 200 with none of the four
+ `_headers` headers (checked 2026-11-30 20:38Z, carlos v0.43.3), so the
+ runner refused it and the card showed no link and no reason.
+
+### 8.1 A choice per option (bug)
+
+Each option on the direction card and the task page gets its own
+**Build this one** and **More like this** (8.4). The card keeps **More
+options**, **Try again** (with a note) and **Drop it** for the whole set.
+One tap on an option builds it; no note is needed. A note stays optional,
+as the person's words.
+
+The answer names the option, not its text: `AnswerCard.option` is
+`{step, index}`, a maker step of this task and the option's place in what
+the instance kept for it. The instance accepts it only when that step's
+options were kept, its candidate had Review's approval, and the card is
+valid as today (`answerDirection`). Build this one then writes the new
+task's brief from records: "Build option 2, `Writing desk` (Design's name
+for it), from branch B at commit C, folder `mockups/<task>/<page>/`",
+the name quoted as Design's words, then the person's note, if any, as
+theirs. An older client's Build with a note and no option still works.
+
+### 8.2 A label on every capture (bug)
+
+The runner records each capture's page path, viewport and full-page flag
+from its own render call (`renderpage.Capture.Page`); they are never the
+model's. `submit_candidate` names each capture with a **label** saying
+what it shows ("Dashboard", "Empty inbox"): Design's words, plain-label
+rules as an option name, at most 40 bytes, required. The caption is
+"Dashboard, desktop" (label, then viewport, then "full page" when it is
+one). A report from before protocol 39 shows its viewport when known,
+else "Mockup" as today.
+
+### 8.3 Three or four options, each with its direction
+
+An exploration's Design report has 3 or 4 options
+(`MinDesignOptions = 3`, `MaxDesignOptions = 4`). Each has:
+
+- `direction`: what the option commits to, in plain text, 1 to 500 bytes
+ (the idea, its type, colour and mood, and why it might suit), shown
+ 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
+ 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
+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.
+
+The pack (`design-v1.md`) changes to match. Section 2: always three or
+four real alternatives; when the brief is narrow they differ within it;
+drop "two committed options beat four timid ones". Section 6: the
+`submit_candidate` shape with `direction`, `page` and labels. A new
+section: how to use the person's taste notes (8.3a) and what a More
+options or More like this round asks (8.4).
+
+**8.3a Taste in the prompt.** The step's prompt carries the creator's
+design notes (8.6), each quoted under a label naming its source ("Paul's
+own words, typed on 30 Nov", "Paul's choice among options the
+coordinator wrote"). Design follows them as the brief does: they steer
+the design, never the rules. With no notes and a skipped discovery, the
+prompt says so and Design names the defaults it assumed.
+
+### 8.4 More mockups
+
+Two more answers on the direction card:
+
+- **More options** (`more`, note optional): a new round of 3 or 4
+ directions unlike the ones already made. The step's prompt lists the
+ current options (names and directions, as Design's words) and the
+ person's note as theirs.
+- **More like this** on an option (`like`, the option, note optional): a
+ round of 3 or 4 variations of that direction, the same idea with
+ different execution.
+
+Both start a maker round from the current candidate, as Try again does,
+with the request on the step (`design_ask`: kind, option, note). Design
+keeps every earlier option folder and names new options afresh. The
+direction card shows the newest round, and says when earlier ones exist;
+the task page lists every kept round, newest first, each option with
+Build this one. An earlier round's option is built from that round's
+candidate commit, still on the branch.
+
+**The run limit.** Each round's attempts and fix rounds count against
+`DesignRunLimit` like any Design attempt. The tap itself, like Try
+again's, is the person acting (`personActed`), so it starts the count
+afresh: the limit stops runs nobody asked for, and a tap is someone
+asking. One tap starts exactly one round. Cost stays on the person's
+connections and the housekeeping ledger as today.
+
+### 8.5 Live mockups through the preview
+
+The Design sandbox stays offline (section 3, AGENTS.md rule 5). The live
+mockups are the candidate's preview, which already runs for a Design
+exploration: Review finds `release/preview.json`, the primary's
+temporary place takes it (devbox, tailnet only, or a public temporary
+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;
+- 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
+ and the task page, instead of nothing.
+
+**What is missing, outside Equipo.** Open live never shows until the
+devbox share serves `_headers` (Content-Security-Policy and the other
+three). The places spec counted that as done (P1, 343a3394), but the
+Patrix share served none of them. That is a CARLOS fix (platform request
+P6: `carlos devbox share --dir` applies `_headers` as ship and deploy
+do). Equipo keeps refusing a preview without its policy: an unconfirmed
+preview never shows a link.
+
+### 8.6 Discovery and the first taste notes
+
+Taste notes start here, with slice 2's storage and rules (section 2),
+and three of slice 2's parts: discovery answers, the choices of 8.1 and
+8.4, and a page to see, add and forget notes.
+
+**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`:
+
+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
+ (plain-label rules, 30 bytes each), and "Something else" with a box.
+2. Sites or apps whose look you like (a box).
+3. Anything to avoid (a box).
+4. Anything that has to stay (a box).
+
+Every box is optional and at most 300 characters. The card's buttons are
+**Use these** and **Skip**. The instance refuses the tool when the
+person already has design notes for that project or team-wide, or was
+asked for that project before (answered or skipped): it is asked once.
+House rule for the coordinator: before starting Design on a project,
+call `status`; when it shows no taste and the request names no style,
+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.
+
+**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,
+that the person chose to build or to see more of.
+
+**Storing.** `chat_taste_notes` (person, discipline `design`, project or
+"" for team-wide, source `words` or `choice`, body, task and card, time)
+and a notebook revision per person and discipline, bumped by every
+write and forget. Forget deletes the row. Each write, add and forget
+appends an audit row (actor, note id, source kind; never the text).
+Only the person sees their own notes.
+
+**Feeding.** At a Design step's dispatch the instance builds the task
+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).
+
+**Seeing.** Design's page (`/team/{specialist}`) leads with "Design knows
+N things about your taste", lists the viewer's notes (words, source,
+date, scope) with **Forget**, offers **Forget everything**, and has a box
+to **Add a note** for this project or all projects: Paul's known rules
+(ruling 6) go there. Editing and changing a note's scope stay in slice 2.
+
+### 8.7 Wire, storage and versions
+
+- 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
+ `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`.
+- `AnswerCard` gains `option` and the choices `more` and `like`.
+
+### 8.8 Question for Paul: does a pack edit need a new Add?
+
+Section 1 says a change to a profile's pack is a new profile id
+(`design-v2`), and old grants do not carry over, so after this round
+every Design would need a new Add before it worked again. This round
+changes the pack's wording and `submit_candidate`'s arguments; it adds
+no capability, tool, sandbox access or network.
+
+*Recommend:* amend section 1 so a new id, and a new Add, is needed only
+when capabilities, tools, the sandbox or the native-tool policy change.
+A pack edit keeps the id, is reviewed like any code change, and each
+step records the pack digest it ran with. The Add consents to what a
+specialist can do, and that is unchanged. The alternative keeps the rule:
+`design-v2`, and Equipo raises one Update card per Design row, one tap
+each.
+
+### 8.9 Not in this round
+
+Editing and re-scoping notes, `note_owner_words`, choices from Try
+again, Drop, merges and findings, `suggest_note`, pusher-verified edits,
+native per-option buttons (native keeps Build with a note), running-app
+renders, Mac renderers, and the CARLOS devbox fix itself (8.5).