plan: Task 2 reuses the renderer's paused-copy snapshot (ruling)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+1
−1
docs/superpowers/plans/2026-11-30-design-feedback-1.md+1 −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| index db43f7fa..39779945 100644 |
| --- a/docs/superpowers/plans/2026-11-30-design-feedback-1.md |
| +++ b/docs/superpowers/plans/2026-11-30-design-feedback-1.md |
| @@ -104,7 +104,7 @@ 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.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`. |
| +- 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 own snapshot (the step's sandbox paused while the preview folder is copied, as slice 1 built section 3; `busy` on failure; controller ruling 2026-11-30) 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); `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 labelled option passes; one with an unlabelled capture is refused). |
| - [ ] **Step 2: Run** `go test ./internal/runner/designstep/ -run 'TestSubmit'`; FAIL. |