oficina / base Public

Jobs plan: Astra round 3 fixes (3 P1, 5 P2)

- O1 is a grant bound to the proposing turn and validated repository.
- K6's Try again for a missing merge credential stays as the spec has
  it; the conflict with honest-merge-refusals is open point OP1.
- One Assistant-safe link conversion, so no branch reaches Base.
- Replace has its own check and commit-then-refuse semantics;
  scripts-off Undo; decision parts on placement and home cards;
  default receipts never show the Coordinator's option text.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Paul Campbell pushed by paul@keymail.dev c6a5db4e8896abbcb6cf3c8d32e3c261ef28fa71 parent 2ba6aee
1 file changed, +57 −24
  • docs/superpowers/plans/2026-11-25-jobs-that-keep-moving.md +57 −24

CI passed — run details

CI log
=== build ===
CGO_ENABLED=0 go build ./...
=== vet ===
go vet ./...
=== fmt-check ===
=== staticcheck ===
go run honnef.co/go/tools/cmd/staticcheck@v0.7.0 ./...
=== govulncheck ===
go run golang.org/x/vuln/cmd/govulncheck@v1.8.0 ./...
No vulnerabilities found.
=== gitleaks ===
7:48PM INF Unknown SCM platform. Use --platform to include links in findings. host=amadan.net
7:48PM INF 1 commits scanned.
7:48PM INF scanned ~2502736 bytes (2.50 MB) in 501ms
7:48PM INF no leaks found
=== budget ===
go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget size
budget size: 22 directories within budget
=== script-test ===
scripts/prepare-apps_test.sh
ok   releases lookup failure stops before ship
ok   app owned elsewhere stops the script
ok   apps listing failure stops before create
ok   ambiguous release dir is refused
ok   explicit version resolves the ambiguity
ok   releases match is exact, not substring
ok   shipped version is only promoted, existing app not created
ok   fresh account creates, ships, promotes to edge, enables
ok   failing promote stops the script
ok   ship is retried while uploads are rate limited
all passed
hack/fonts_test.sh
fonts_test: ok
=== test ===
go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -count=1 ./...

receipt: test step 10.462s against a 60s target (the gate's other steps are not in this figure)
receipt: 16 packages ran, 0 cached, 6 without tests, 0 failed
receipt: slow package 8.144s amadan.net/oficina/base/internal/webtest
receipt: slow package 1.154s amadan.net/oficina/base/internal/issuer
receipt: slow package 705ms amadan.net/oficina/base/internal/operations
receipt: slow package 443ms amadan.net/oficina/base/internal/consumer
receipt: slow package 273ms amadan.net/oficina/base/internal/e2e
receipt: slow test 1.52s amadan.net/oficina/base/internal/webtest TestHomeDoesNotWaitOnAStalledSnapshot
receipt: slow test 1.14s amadan.net/oficina/base/internal/webtest TestAskZoneIsToldOnce
receipt: slow test 630ms amadan.net/oficina/base/internal/issuer TestAuthorizeSignsForInstalledApp
receipt: slow test 520ms amadan.net/oficina/base/internal/operations TestOperationsRefusals
receipt: slow test 470ms amadan.net/oficina/base/internal/issuer TestAuthorizeRefusals
=== native ===
strings: copy review's strings.json is not here (git-ignored); its comparison skipped
strings: 119 in the catalog, 116 used
worktree-lib_test: ok
diff --git a/docs/superpowers/plans/2026-11-25-jobs-that-keep-moving.md b/docs/superpowers/plans/2026-11-25-jobs-that-keep-moving.md
index aa1c591..4012ab6 100644
--- a/docs/superpowers/plans/2026-11-25-jobs-that-keep-moving.md
+++ b/docs/superpowers/plans/2026-11-25-jobs-that-keep-moving.md
@@ -54,7 +54,7 @@
- **PD8 Note names.** The spec's `noteUnanswered` becomes `noteTasteUnanswered` (the name is taken). Notes are gated by mode and by a compiled constant `jobsMovingPhase` (1 to 4), bumped by the task that completes each phase.
- **PD9 Copy goes through copy review before code.** Each phase starts with a copy task that runs the `copy-review` skill over that phase's pending strings (the register at the end). Code tasks write only approved wording; tests assert copy keys, not wording, except where a key's approved text is pinned. Equipo strings carry `// COPY REVIEW REQUIRED` until approved; Base strings get rows in `docs/copy-pending.md`; native strings go in `Localizable.xcstrings` with the same approved text.
- **PD10 Native parity.** Not in the spec (which predates the app). Each Base phase that changes what a pill offers gets a native task, as paused work did (`64742a1`). The native gate (`make native-check`) needs a Mac with Xcode; if the executor has none, the native task is handed to whoever has one and the phase's web half still ships.
-- **PD11 Merge faults follow honest refusals (a deviation from K6, for Paul).** Today `forge.MergeBranch` deliberately wraps a local refusal (no credential) as `ErrMergeUncertain` (`internal/runner/forge/merge.go` `uncertain`). `honest-merge-refusals` (`ef909582`) makes it final as `merge_no_access` and stops the job on `causeNoAccess`, on the ground that trying again cannot help until access is set up. The spec's `merge_identity` is that reason; this plan uses the branch's names and adds no second code. **Deviation:** K6 offered Try again for `merge_identity`; this plan follows the branch instead: the `causeNoAccess` row is "Didn't go live", the branch's detail, Open in Equipo (the job view's title link) and Drop it, plus the operator alert (O8), so the owner fixes access and the go-ahead is given again on Equipo's page. It is an Open-in-Equipo row for T1. `merge_uncertain` (the hub may have merged) keeps the person's Try again. **That branch must merge before phase 1's Task 1.6** (it changes `jobView`/`jobState`, which Task 1.5 restructures); if it has not, Task 1.6 treats `merge_failed` with "merge outcome unknown" as today and the no-access row waits for it.
+- **PD11 Merge faults use honest refusals' names; K6's Try again stays (open point for Paul).** Today `forge.MergeBranch` deliberately wraps a local refusal (no credential) as `ErrMergeUncertain` (`internal/runner/forge/merge.go` `uncertain`). `honest-merge-refusals` (`ef909582`) makes it final as `merge_no_access` (also `merge_forbidden`) and stops the job on `causeNoAccess`. The spec's `merge_identity` is that reason; this plan uses the branch's names and adds no second code. K6 offers the person's Try again (`MergeTask`) for it, with the operator alert so access is fixed before the tap; the branch's own notes say trying again cannot help until access is set up. Both hold if the tap is the person's own and never automatic: before the fix it fails the same way and the same row shows again (no loop, no harm, `MergeBranch` is safe); after the fix it goes live. So this plan **implements K6 as written** (Try again, Drop it, operator alert) and lists the wording conflict as open point **OP1** for Paul at handoff: if Paul prefers the branch's view, the row drops Try again and becomes an Open-in-Equipo row, a one-line change in `stopView`. **That branch must merge before phase 1's Task 1.6** (it changes `jobView`/`jobState`, which Task 1.5 restructures); if it has not, Task 1.6 treats `merge_failed` with "merge outcome unknown" as today and the no-access row waits for it.
- **PD12 K8 step 4 is drawing.** "Stops nobody acts on fold into Waiting on you after 3 days" needs no sweep: Base folds by `state` and `updated_at` (sent from phase 1), so it ships with the fold rows in Task 4.4, not in phase 2. Nothing is dropped automatically (O4 as proposed).
- **PD13 "Open in Equipo" is never new visible text.** The K6 rows that say "Open in Equipo" use the job view's existing title link (approved, review 8). No new string names Equipo, a runner, a task, a branch, a merge or a repository.
@@ -137,6 +137,22 @@ The audit was not at `/home/paulca/amadan.net/carlos/base/.superpowers/sdd/2026-
- [ ] **Step 5:** Run `go test ./internal/wire ./internal/equipo/chat ./internal/runner/thin -run 'Decision|Direction|Spoken|Judge|Mirror' -count=1`, then `make ci`. Expected: PASS.
- [ ] **Step 6:** Commit `Decision cards on main: protocol 30, migration 0107, reviewed copy`.
+### Task 1.1b (Equipo): Decision parts on the cards decision cards left out
+
+The addendum applies to every decision in Equipo and in Base. `cf0614ec` gives parts to ask_person questions, directions, go-aheads and Publish cards; two kinds that ask the person to choose have none: placement cards (`placement_card.go`) and home confirmations (`CardHome`, raised by `set_project_home` in `tools.go`). The approvals (`CardSpecialist`, `CardResearchSources`, `CardResearchInventory`, `CardMergeShips`, `CardMergePolicy`, `CardAccess`) are approval cards, not choices with a recommendation, and keep their own detailed pages (K6); they are out of this task's scope and listed for Paul as **OP2** (should approvals carry a recommendation too?).
+
+**Files:** `internal/equipo/chat/decision.go` (`placementDecision`, `homeDecision`), `internal/equipo/chat/placement_card.go`, `internal/equipo/chat/tools.go`, `internal/equipo/copy.go`, `internal/equipo/chat/decision_test.go`.
+
+**Interfaces (Produces):** `func (t *txn) placementDecision(p placementData) (context, recommended, why string, details []wire.OptionDetail)`: context instance copy; recommended `NewLabel` when `p.Repos` is empty, else the first existing project's label; why instance copy; a detail for "A new site". `func (t *txn) homeDecision(c cardRecord) (context, why string)` for the confirm. Both stored with `setDecision` when the card is made.
+
+- [ ] **Step 1: Failing tests:** `TestPlacementCardDecisionParts` (both cases: nothing fits → recommends the new one; one fits → recommends it; each with a context and a why), `TestHomeCardDecisionParts` (set and clear).
+- [ ] **Step 2:** Run `go test ./internal/equipo/chat -run 'TestPlacementCardDecisionParts|TestHomeCardDecisionParts' -count=1`. Expected: FAIL.
+- [ ] **Step 3:** Implement with approved copy (Task 1.0).
+- [ ] **Step 4:** Run the same, then `go test ./internal/equipo/chat -run 'Placement|Home' -count=1`. Expected: PASS.
+- [ ] **Step 5:** Commit `Placement and home cards say what is decided and recommend one`.
+
+**Pending copy (Equipo's own pages):** `decision.placement.context` "This is new work, so it needs a place to live."; `decision.placement.why_new` "None of your projects fits it."; `decision.placement.why_existing` "It fits with {project}."; `decision.placement.detail_new` "Starts a new project for it."; `decision.home.context` "This sets where new projects go from now on."; `decision.home.context_clear` "New projects will be placed one by one again."; `decision.home.why` "It's where your other projects already are."
+
### Task 1.2 (Equipo): Job card wire contract
**Files:** `internal/wire/assistant.go`, `internal/wire/assistant_test.go`, `docs/api/equipo-v1.md` ("Talk to the Assistant"), `docs/api/equipo-v1.openapi.json`.
@@ -233,7 +249,7 @@ const jobViewVersion = 1 // bumped whenever jobState or jobView change meaning
```
`jobView` returns a `jobCardParts` struct instead of its growing tuple: `{State, Result, Detail, CarryOn string; Links []wire.CardLink; Ask *wire.JobAsk; Options []wire.CardOption; Actions []wire.CardOption; Decision *jobDecision; Context string; Link *wire.DecisionLink; Recommended *wire.Recommendation}`. `jobCardView` fills `UpdatedAt` from the card's `updated_at` and `Receipts` from `jobReceipts`. `projectJob` writes `decision_card/rev/cand`, `projected = jobViewVersion`, and moves the revision when any visible field **or** the decision identity changed (finding 1).
-Ask by kind (phase 1): a question in the job lane → `AskQuestion`, text and labels from `ask_text`/`ask_labels` when `team_ask` worded this exact decision, else no ask yet (K3 step 3, Task 1.11); `Words` true when the question has no options, when the question card has `open_words` (set from phase 2), or when the ask is the K3 fallback for this exact decision, and false for a placement question always (K4). The rule is one function, `askTakesWords(q cardRecord, d jobDecision, fallback bool) bool`, used by both the projection and Task 1.7's check; a placement question → instance text and labels "Add to {project}" / "A new site" from the project display name; an open direction card → `AskDirection` per K11's four preview cases (`taskPreview`, preview step state, `ExpiresAt`), no buttons while the preview is queued or running; an approval kind → no ask, the K6 row (Task 1.6). Context, link and recommendation per PD4.
+Ask by kind (phase 1): a question in the job lane → `AskQuestion`, text and labels from `ask_text`/`ask_labels` when `team_ask` worded this exact decision, else no ask yet (K3 step 3, Task 1.11); `Words` true when the question has no options, when the question card has `open_words` (set from phase 2), or when the ask is the K3 fallback for this exact decision, and false for a placement question always (K4). The rule is one function, `askTakesWords(q cardRecord, d jobDecision, fallback bool) bool`, used by both the projection and Task 1.7's check; a placement question → instance text and labels "Add to {project}" / "A new site" from the project display name; an open direction card → `AskDirection` per K11's four preview cases (`taskPreview`, preview step state, `ExpiresAt`), no buttons while the preview is queued or running; an approval kind → no ask, the K6 row (Task 1.6). Context, link and recommendation per PD4. The link: `taskDecisionLink` (from `cf0614ec`) is Equipo's and, when the preview is not up, points at the branch on Amadan with "Open the branch on Amadan" and a note that may mention the branch. The Assistant-lane conversion inside `assistantDecision` (ready keeps the preview URL with `assistant.outcome.preview`; any other state drops URL and label and uses `assistant.decision.link_<state>`) is extracted as `func (t *txn) assistantLink(l *wire.DecisionLink, expired bool) *wire.DecisionLink` (expired → `assistant.decision.link_expired`), and both `assistantDecision` and `jobAsk` use it; nothing else puts a `DecisionLink` on an Assistant card.
- [ ] **Step 1: Failing tests:**
- `TestJobAskQuestionWorded`: after `team_ask` storage for decision D, the card's ask has D, the Assistant's text, labels with values `o1..oN`, and `recommended.option` a token.
@@ -241,9 +257,10 @@ Ask by kind (phase 1): a question in the job lane → `AskQuestion`, text and la
- `TestJobAskPlacement`: labels are `Add to <display name>` and `A new site`, never a repository path.
- `TestJobAskDirectionCases`: deployed → status key `first_look_ready`, ask present, link rel `first_look`; queued → `making_first_look`, no ask; failed/declined → `ready_to_decide` with the can't-be-shown text; expired → `ready_to_decide` with the expired text.
- `TestJobAskNoCoordinatorWords`: the Coordinator's question text and option labels appear nowhere in the marshalled card.
+ - `TestJobCardNoMachinery`: for each K11 preview state (deployed, queued, running, failed, declined, expired) and for a question linked to a task, the whole marshalled job card contains no branch URL and none of the machinery words (the Review Focus 2 list); a non-ready link has no URL.
- `TestJobAskWords`: words offered for an optionless worded question and for the fallback; not for a question with options and no `open_words`; never for placement.
- `TestJobAskDirectionOptions`: a direction ask's `options` are exactly `build`, `again`, `drop` with instance labels and details; `recommended.option` is one of them, with instance why copy for each (Review may recommend `drop`); `actions` holds none of them.
-- [ ] **Step 2:** Run `go test ./internal/equipo/chat -run 'TestJobAsk' -count=1`. Expected: FAIL.
+- [ ] **Step 2:** Run `go test ./internal/equipo/chat -run 'TestJobAsk|TestJobCardNoMachinery|TestAssistantMirrorDecision' -count=1`. Expected: FAIL on the new tests.
- [ ] **Step 3:** Implement.
- [ ] **Step 4:** Run, then `go test ./internal/equipo/chat -count=1`. Expected: PASS.
- [ ] **Step 5:** Commit `Job cards carry the decision in front of the person`.
@@ -261,7 +278,7 @@ type stopRow struct { State, Key string; Actions []string; Retry retryPath; Open
func (t *txn) stopView(h handoffRecord, reason, cause string) (stopRow, error)
func mergeUncertainText(reason string) bool // step reason text says "merge outcome unknown"
```
-Rows: every K6 row of phase 1 (`stopFailed` with nudges used/left, `stopNoWork`, `causeGoingLive` merge failed / publish failed with and without an open Publish, every `blocksWork` kind, every `Needs*` need, dropped, stopping, `stopCancelled`). `NeedsRunnerOffline`/`NeedsMachineRemoved` per PD6. A merge failure whose step reason says "merge outcome unknown" (jobs 1, 5, 6, from older runners) is the `merge_uncertain` row (Try again → `retryMerge`). `causeNoAccess` (from `honest-merge-refusals`, PD11) is "Didn't go live" with that branch's `assistant.job.detail.no_access`, Open in Equipo and Drop it: no Try again. `CardHome` is an Open-in-Equipo row until Task 2.10. Copy keys `assistant.job.stop.<key>` and `assistant.job.stop.<key>.detail`.
+Rows: every K6 row of phase 1 (`stopFailed` with nudges used/left, `stopNoWork`, `causeGoingLive` merge failed / publish failed with and without an open Publish, every `blocksWork` kind, every `Needs*` need, dropped, stopping, `stopCancelled`). `NeedsRunnerOffline`/`NeedsMachineRemoved` per PD6. A merge failure whose step reason says "merge outcome unknown" (jobs 1, 5, 6, from older runners) is the `merge_uncertain` row (Try again → `retryMerge`). `causeNoAccess` (from `honest-merge-refusals`, PD11) is K6's `merge_identity` row: "Didn't go live", Try again (`retryMerge`) and Drop it, with the detail decided at copy review (K6's "It's ready, but didn't go live. Trying again is safe." against the branch's `assistant.job.detail.no_access`; OP1). `CardHome` is an Open-in-Equipo row until Task 2.10. Copy keys `assistant.job.stop.<key>` and `assistant.job.stop.<key>.detail`.
- [ ] **Step 1: Failing test** `TestStopViewEveryCause`: table over every `jobStop` reason/cause and every kind `blocksWork` knows; asserts state, key, actions and retry path per K6; an unknown future `Needs*` falls back to `stopped` + Open in Equipo + Drop it.
- [ ] **Step 2:** Run `go test ./internal/equipo/chat -run TestStopViewEveryCause -count=1`. Expected: FAIL.
@@ -468,10 +485,10 @@ The client takes the capability per call (`WithCapabilities(ctx, bool) context.C
**Interfaces (Produces):**
- Capability per member (PD7): `CREATE TABLE ask_clients (member_id integer NOT NULL, client text NOT NULL, caps text NOT NULL DEFAULT '', seen_at datetime NOT NULL, PRIMARY KEY (member_id, client))`, where `client` is the native session Base resolved from the app's bearer (web cookie sessions are not recorded). `func (s *Store) SeeAskClient(ctx, member int64, client, caps string) error` on every native `/ask/*` call (`Base-Client-Capabilities` header); `func (a *app) askCapable(ctx context.Context, member int64) bool`: false while `BASE_JOB_ACTIONS` is off; otherwise true unless a row seen in the last 30 days has `caps` without `job_actions`. Base's `/ask/state` and `/ask/events` answers to a native request without `Base-Client-Capabilities` drop job asks, job options, actions and receipts (`equipo.Card.WithoutJobActions()`). Every relayed Equipo call takes `equipo.WithCapabilities(ctx, a.askCapable(…))`.
-- `func (a *app) askAct(w http.ResponseWriter, r *http.Request)`: form fields `action`, `decision`, `choice`, `words`, `note`, `revision`, `key`; JSON `{card}` to scripts (`wantsJSON`), 303 `/ask` without; Equipo's 409 → JSON 409 `{card}` (redraw) or 303; a 404 or `{card: null}` → reload; a retryable failure → JSON 502 `{error: "retry"}` for the script's message; the card through `CleanAt`. Contract section added to `base-native-v1.md`.
+- `func (a *app) askAct(w http.ResponseWriter, r *http.Request)`: form fields `action`, `decision`, `choice`, `words`, `note`, `revision`, `key`; JSON `{card}` to scripts (`wantsJSON`), 303 `/ask` without, except a successful `dismiss` without scripts, which goes 303 to `/ask?dismissed=<card id>&rev=<revision>` (the hidden card's id and its new revision, so the page can offer Undo); Equipo's 409 → JSON 409 `{card}` (redraw) or 303; a 404 or `{card: null}` → reload; a retryable failure → JSON 502 `{error: "retry"}` for the script's message; the card through `CleanAt`. Contract section added to `base-native-v1.md`.
-- [ ] **Step 1: Failing tests:** `TestAskJobActRelaysEachAction` (bearer, key, decision, every action), `TestAskJobActConflictPassesCard`, `TestAskJobActStaleScriptsOff` (Review Focus 4: 303 to `/ask`, no error page, pill shows the new state), `TestAskCapabilityHeaderForOldMember` (a member whose host was registered before this release), `TestAskCapabilityWithheldForOldNative` (old native + new Base + new Equipo fake: after the app calls `/ask/state` without the client header, the member's snapshot, events and sends go without `Base-Capabilities`, and the fake keeps asking in prose; after a new app's call with it, and no old one within 30 days, the header returns), `TestAskCapabilityWebOnly` (a member with no native rows is capable with the switch on, not with it off), `TestAskOldNativeGetsNoControls` (a native `/ask/state` without the client header has no ask, options, actions or receipts on job cards, while the web's does).
-- [ ] **Step 2:** Run `go test ./internal/webtest ./internal/store -run 'TestAskJobAct|TestAskCapability|AskClient' -count=1`. Expected: FAIL.
+- [ ] **Step 1: Failing tests:** `TestAskJobActRelaysEachAction` (bearer, key, decision, every action), `TestAskJobActConflictPassesCard`, `TestAskJobActStaleScriptsOff` (Review Focus 4: 303 to `/ask`, no error page, pill shows the new state), `TestAskCapabilityHeaderForOldMember` (a member whose host was registered before this release), `TestAskCapabilityWithheldForOldNative` (old native + new Base + new Equipo fake: after the app calls `/ask/state` without the client header, the member's snapshot, events and sends go without `Base-Capabilities`, and the fake keeps asking in prose; after a new app's call with it, and no old one within 30 days, the header returns), `TestAskCapabilityWebOnly` (a member with no native rows is capable with the switch on, not with it off), `TestAskOldNativeGetsNoControls` (the member rule and the defensive strip together: an old app's **first** call, before any row exists for it, is answered without job asks, options, actions or receipts even though the member was capable a moment before; it records the row, and the member's next web read and Equipo calls are without controls and without the header).
+- [ ] **Step 2:** Run `go test ./internal/webtest ./internal/store -run 'TestAskJobAct|TestAskCapability|TestAskOldNative|AskClient' -count=1`. Expected: FAIL.
- [ ] **Step 3:** Implement.
- [ ] **Step 4:** Run. Expected: PASS.
- [ ] **Step 5:** Commit `Relay a job action from the pill, with or without scripts`.
@@ -480,10 +497,10 @@ The client takes the capability per call (`WithCapabilities(ctx, bool) context.C
**Files:** `internal/web/templates/partials/chat.html` (`ask-job`, `ask-jobview`, new `ask-jobask`, `ask-receipts`), `internal/web/ask.go` (view helpers), `internal/look/static/app.css`, `internal/webtest/ask_test.go`.
-What it draws (no scripts needed): while `asking`, the ask strip under the pill title: context line, the link to the thing (or its note when not ready) **before** the options, one form button per option (detail under it when set), the recommended option marked with "Recommended" and its why, and "Something else" as a nested `<details>` with a one-line field "Tell me what you'd like" and "Send" when `ask.words`; a direction's or a replace's options drawn the same way, with their instance labels and details: `again` is a `<details>` whose field is labelled with the instance's `ask.note` (required, maxlength 1000) and `drop` a `<details>` confirm. The first-look link (`Go()`) is drawn on the pill and in the job view in **every** state that carries one, not only ready and done (today's `ask-job` and `ask-jobview` limit links to those two). **Outcome cards too** (addendum): the existing `ask-card` (go-ahead, Publish) draws the same context, link-before-options, recommended mark and option details, through one shared partial `ask-decision` used by both. While `stopped`, the detail line and its actions (Try again, Drop it, Dismiss). The job view: the same, plus receipts, Dismiss on finished jobs, and for unfinished work Drop it's confirm "Drop this job too?" with "Drop it" / "Keep it" when reached from Dismiss. Look: option buttons are the ghost buttons; Try again and Build it the solid frost primary; Drop it and Dismiss quiet text buttons; the first-look link accent teal; reduced motion respected.
+What it draws (no scripts needed): while `asking`, the ask strip under the pill title: context line, the link to the thing (or its note when not ready) **before** the options, one form button per option (detail under it when set), the recommended option marked with "Recommended" and its why, and "Something else" as a nested `<details>` with a one-line field "Tell me what you'd like" and "Send" when `ask.words`; a direction's or a replace's options drawn the same way, with their instance labels and details: `again` is a `<details>` whose field is labelled with the instance's `ask.note` (required, maxlength 1000) and `drop` a `<details>` confirm. The first-look link (`Go()`) is drawn on the pill and in the job view in **every** state that carries one, not only ready and done (today's `ask-job` and `ask-jobview` limit links to those two). **Outcome cards too** (addendum): the existing `ask-card` (go-ahead, Publish) draws the same context, link-before-options, recommended mark and option details, through one shared partial `ask-decision` used by both. While `stopped`, the detail line and its actions (Try again, Drop it, Dismiss). The job view: the same, plus receipts, Dismiss on finished jobs, and for unfinished work Drop it's confirm "Drop this job too?" with "Drop it" / "Keep it" when reached from Dismiss. Scripts-off Undo: when `/ask` is loaded with `dismissed` (a card id, `validJob` shape) and `rev` (an integer), the page draws "Dismissed." with an Undo form posting `action=restore`, that `revision` and a fresh key to `/ask/jobs/{id}/act`; it is drawn once, from the query only, and needs nothing stored. Look: option buttons are the ghost buttons; Try again and Build it the solid frost primary; Drop it and Dismiss quiet text buttons; the first-look link accent teal; reduced motion respected.
-- [ ] **Step 1: Failing tests (webtest):** `TestAskJobAskDrawn` (option forms carry `decision`, `choice`, `revision`, `key`; link before options; recommended marked), `TestAskJobDirectionDrawn` (options' instance labels and details; note label from `ask.note`), `TestAskJobFirstLookScriptsOff` (a working pill and its job view show the first-look link with scripts off), `TestAskJobStopDrawn`, `TestAskJobReceiptsDrawn`, `TestAskJobNoActionsWithoutAsk` (an older Equipo: nothing new drawn), `TestAskOutcomeDecisionDrawn` (a go-ahead and a Publish card show context, link before options, recommended and details; one with none of them draws as today).
-- [ ] **Step 2:** Run `go test ./internal/webtest -run 'TestAsk(Job(Ask|Direction|Stop|Receipts|NoActions)|OutcomeDecision)' -count=1`. Expected: FAIL.
+- [ ] **Step 1: Failing tests (webtest):** `TestAskJobAskDrawn` (option forms carry `decision`, `choice`, `revision`, `key`; link before options; recommended marked), `TestAskJobDirectionDrawn` (options' instance labels and details; note label from `ask.note`), `TestAskJobFirstLookScriptsOff` (a working pill and its job view show the first-look link with scripts off), `TestAskJobDismissUndoScriptsOff` (dismiss → 303 with `dismissed` and `rev` → the page offers Undo → restore → the pill is back; a malformed `dismissed` or `rev` draws nothing), `TestAskJobStopDrawn`, `TestAskJobReceiptsDrawn`, `TestAskJobNoActionsWithoutAsk` (an older Equipo: nothing new drawn), `TestAskOutcomeDecisionDrawn` (a go-ahead and a Publish card show context, link before options, recommended and details; one with none of them draws as today).
+- [ ] **Step 2:** Run `go test ./internal/webtest -run 'TestAsk(Job(Ask|Direction|Stop|Receipts|NoActions|FirstLookScriptsOff|DismissUndoScriptsOff)|OutcomeDecision)' -count=1`. Expected: FAIL.
- [ ] **Step 3:** Implement with approved copy (Task 1.0); add rows to `docs/copy-pending.md`.
- [ ] **Step 4:** Run. Expected: PASS.
- [ ] **Step 5:** Commit `Pill and job view carry the decision, drawn by the server`.
@@ -560,7 +577,7 @@ Behaviour: `addJob` draws Task 1.18's markup from the card; a tap posts `/ask/jo
`ErrMergeUncertain` after the runner's retries → `ReasonMergeUncertain` (today plain `merge_failed`). `stopView` adds the `stopFault` row `merge_uncertain` → "Didn't go live", Try again (`retryMerge`), Drop it; the Task 1.6 text-read for older rows stays for steps recorded before this release.
-- [ ] **Step 1: Failing tests:** runner `TestMergeStepFaultReasons`, driven **through `forge.MergeBranch`**: a fake hub that times out every try → `merge_uncertain`; a fake forge with no credential for the repository → `merge_no_access` (unchanged from the branch, guarded here); instance `TestStopViewMergeFaults` (`merge_uncertain` offers Try again; `causeNoAccess` does not, and is an Open-in-Equipo row).
+- [ ] **Step 1: Failing tests:** runner `TestMergeStepFaultReasons`, driven **through `forge.MergeBranch`**: a fake hub that times out every try → `merge_uncertain`; a fake forge with no credential for the repository → `merge_no_access` (unchanged from the branch, guarded here); instance `TestStopViewMergeFaults` (`merge_uncertain` and `causeNoAccess` each offer Try again and Drop it; Try again on `causeNoAccess` with access still missing fails as a new merge step and the same row shows again, no automatic retry).
- [ ] **Step 2:** Run `go test ./internal/runner/thin ./internal/runner/forge ./internal/equipo/chat -run 'MergeStepFault|StopViewMergeFaults|MergeDetail' -count=1`. Expected: FAIL on the new tests.
- [ ] **Step 3:** Implement.
- [ ] **Step 4:** Run. Expected: PASS.
@@ -570,9 +587,9 @@ Behaviour: `addJob` draws Task 1.18's markup from the card; a tap posts `/ask/jo
**Files:** `internal/equipo/chat/handoff.go` (`teamReply`), `internal/equipo/chat/team_reply_test.go`.
-`team_reply` gains `basis` (`conversation` | `default`); `default` refused `person_only` unless the question's `about` is `taste`; `team_reply` answers an open direction with `build`, or `again` with a note, bound to `decision`, **only in K11's first case** (the first look deployed: `taskPreview` returns a link). While the preview is queued or running it is refused `not_yet`; when it failed, was declined, is disabled or has expired it is refused `person_only` (the person decides). `drop` is always refused; approvals `person_only`. The rule is one function, `directionOpenToAssistant(t *txn, c cardRecord) (ok bool, refusal string, err error)`, also used by `noteDirection` so the note offers build only when it would be accepted. Receipt for a default: "Went ahead with “{option}”."; for build: "Building it from the first look."
+`team_reply` gains `basis` (`conversation` | `default`); `default` refused `person_only` unless the question's `about` is `taste`; `team_reply` answers an open direction with `build`, or `again` with a note, bound to `decision`, **only in K11's first case** (the first look deployed: `taskPreview` returns a link). While the preview is queued or running it is refused `not_yet`; when it failed, was declined, is disabled or has expired it is refused `person_only` (the person decides). `drop` is always refused; approvals `person_only`. The rule is one function, `directionOpenToAssistant(t *txn, c cardRecord) (ok bool, refusal string, err error)`, also used by `noteDirection` so the note offers build only when it would be accepted. Receipt for a default: "Went ahead with “{option}”." only when `team_ask` worded the decision (the label the pill showed); else "Went ahead with a sensible choice." (`went_ahead_plain`), never the Coordinator's option text; for build: "Building it from the first look." The same rule is one function, `func (t *txn) shownLabel(d jobDecision, value string) (string, bool)`, used here, in Task 1.10's receipts and in Task 2.8's instance default.
-- [ ] **Step 1: Failing test** `TestTeamReplyGuards` (T10, phase 2 half): `default` on `decision` refused; direction `build` and `again` accepted with a deployed first look; refused `not_yet` while queued and running; refused `person_only` when failed, declined and expired; `drop` refused; approvals refused.
+- [ ] **Step 1: Failing test** `TestTeamReplyGuards` (T10, phase 2 half): a default on a worded question leaves "Went ahead with “<shown label>”"; on an unworded one (after the K3 fallback) the plain receipt, with no Coordinator option text; `default` on `decision` refused; direction `build` and `again` accepted with a deployed first look; refused `not_yet` while queued and running; refused `person_only` when failed, declined and expired; `drop` refused; approvals refused.
- [ ] **Step 2:** Run `go test ./internal/equipo/chat -run TestTeamReplyGuards -count=1`. Expected: FAIL.
- [ ] **Step 3:** Implement.
- [ ] **Step 4:** Run. Expected: PASS.
@@ -618,9 +635,9 @@ Rows: `preview_scanner` with retries left → `working` "Retrying shortly"; retr
**Files:** `internal/equipo/chat/job_sweep.go`, `internal/equipo/chat/handoff.go` (`tellAssistant` exception), `internal/equipo/chat/tools.go` (`noteTasteUnanswered`), `internal/equipo/chat/job_sweep_test.go`.
-A `taste` question asking 2 h with no person action → `scheduleNoteTurn(…, noteTurnTaste)` (Task 1.11: claimed, once per question, sharing the 6-per-rolling-24 h cap with `noteWordIt`, none in quiet hours in the person's zone). Still open at 24 h with a `default_option` → instance answers through `answerQuestion` at the decision's revision (`originGenerated`, audit `assistant.job.default`, receipt `went_ahead`). Never for `decision` questions or placement. `tellAssistant`'s housekeeping exception (Task 1.11) already admits turns from `scheduleNoteTurn`, which this task's taste turns use.
+A `taste` question asking 2 h with no person action → `scheduleNoteTurn(…, noteTurnTaste)` (Task 1.11: claimed, once per question, sharing the 6-per-rolling-24 h cap with `noteWordIt`, none in quiet hours in the person's zone). Still open at 24 h with a `default_option` → instance answers through `answerQuestion` at the decision's revision (`originGenerated`, audit `assistant.job.default`, receipt `went_ahead` with `shownLabel` when the decision was worded, else `went_ahead_plain`; Task 2.4). Never for `decision` questions or placement. `tellAssistant`'s housekeeping exception (Task 1.11) already admits turns from `scheduleNoteTurn`, which this task's taste turns use.
-- [ ] **Step 1: Failing tests:** `TestSweepTaste` (T9): one turn at 2 h and none after; daily cap across ticks and a store reopen, counting `noteWordIt` and `noteTasteUnanswered` turns together; 24 h default for `taste` with a default only; two overlapping ticks act once. `TestSweepTasteQuietHoursInZone` (Review Focus 5): person in Europe/Madrid with quiet 22–07; nothing at 23:00 local; cap identical across the March DST change.
+- [ ] **Step 1: Failing tests:** `TestSweepTaste` (T9): one turn at 2 h and none after; daily cap across ticks and a store reopen, counting `noteWordIt` and `noteTasteUnanswered` turns together; 24 h default for `taste` with a default only, its receipt the shown label or the plain one after the K3 fallback (never the Coordinator's option text); two overlapping ticks act once. `TestSweepTasteQuietHoursInZone` (Review Focus 5): person in Europe/Madrid with quiet 22–07; nothing at 23:00 local; cap identical across the March DST change.
- [ ] **Step 2:** Run `go test ./internal/equipo/chat -run 'TestSweepTaste' -count=1`. Expected: FAIL.
- [ ] **Step 3:** Implement.
- [ ] **Step 4:** Run. Expected: PASS.
@@ -650,15 +667,19 @@ What `CardHome` is on main (`internal/equipo/chat/tools.go` around `set_project_
### Task 2.11 (Equipo): O1, a new site from Base without "Where should this go?"
-**Files:** `internal/equipo/chat/handoff.go` (`teamRequest` records provenance), `internal/equipo/chat/placement_card.go` (`askPlacement`), `internal/equipo/chat/placement_o1.go` (new), `internal/equipo/chat/placement_o1_test.go` (new), `internal/thintest/assistant_o1_contract_test.go` (new).
+**Files:** `internal/equipo/chat/handoff.go` (`teamRequest` records provenance), `internal/equipo/chat/placement_card.go` (`askPlacement`), `internal/equipo/chat/placement_consent.go` (`createConsent`), `internal/equipo/chat/placement_o1.go` (new), `internal/runner/thin/mcp.go` (`ask_person`'s description: on `new_granted`, create the project now), `internal/equipo/chat/placement_o1_test.go` (new), `internal/thintest/assistant_o1_contract_test.go` (new).
How the proposal is made today: the Coordinator calls `ask_person` with a `wire.Placement` (`Repos` it considers, and `NewRepo`, its proposed new repository); `askPlacement` validates it (each repo allowed, `NewRepo` in an allowed namespace, labels within bounds) and raises the placement card; the person's answer makes `createConsent` accept `create_project` for exactly `NewRepo`. The proposal stays the Coordinator's and its validation stays `askPlacement`'s; O1 removes only the person's tap, in one place:
- Provenance: the hand-off's own message is the instance's send into the job lane (`handoffKey+h.ID`), never `originComposer`. `teamRequest` already checks that `words` quote the person's Assistant-lane messages; it now stores the id of the person message the quote was found in as `chat_handoffs.source_message` (Task 2.2's migration).
- `func (t *txn) o1Grant(r turnRecord, p wire.Placement) (bool, error)`: true only when `r` is in a job lane whose hand-off has `source_message`, that message is the person's with `Origin == originComposer` and `Lane == wire.LaneAssistant`, `p.Repos` is empty (nothing existing fits, the `new_first` case), and the source words name none of the person's existing projects (`project_resolution.go`'s resolver finds none).
-- In `askPlacement`, after its validation and before raising the card: when `o1Grant` holds, the card is created and answered in the same transaction with its new-repository label through `answerQuestionOrigin(…, originGenerated)` (audit `assistant.job.o1`, receipt none: the person sees the work start), and the tool result is the answered placement, so the Coordinator's next call is `create_project` with `NewRepo`, which `createConsent`'s existing answered-placement path accepts unchanged.
+- Why not answer the card for the person: `answerQuestionOrigin` sends the answer as a message that starts a **new** turn, and `createConsent`'s answered-placement path (`answeredPlacement`) accepts only a `create_project` in the turn of the answer message, not the proposing turn the Coordinator is still in. So O1 is a grant bound to the proposing turn instead, with no card at all.
+- In `askPlacement`, after its validation and before raising the card: when `o1Grant` holds, it records a grant (`handoffActionRecord` kind `o1_grant`, ledger key `o1:<turn id>`, `Result` = the validated `NewRepo`, audit `assistant.job.o1`) and returns the tool result code `new_granted` with `Repo` = `NewRepo` and instance text saying to create it now; no card is raised.
+- `createConsent(r, repo)` gains one case before its existing ones: a grant row for `r.ID` whose `Result` equals `repo` exactly → true. Nothing else changes: every other turn, every other repository, and every hand-off without the grant goes through today's rules.
+
+The Coordinator's tool sequence, in the same turn: `ask_person` (placement, `Repos` empty, `NewRepo` proposed) → `new_granted` → `create_project` with that repository → `record_task` (and, from phase 3, `first_look: true`).
-- [ ] **Step 1: Failing tests:** `TestO1Grant` (store): granted in exactly that case; refused when the words name an existing project, when `p.Repos` is not empty, when `source_message` is not `originComposer` or not in the Assistant lane, for a hand-off without `source_message`, and for a turn outside a job lane. `TestO1NewSiteWithoutPlacement` (thintest, the whole path with the fake Coordinator): a person message "make me a website about Viennese pastries" → `team_request` → the job's Coordinator turn calls `ask_person` with a placement whose `NewRepo` is in an allowed namespace → answered at once, no open card → `create_project` with that `NewRepo` → the project exists; `create_project` with any other repository is refused; the same with words naming an existing project → an open placement card, nothing created.
+- [ ] **Step 1: Failing tests:** `TestO1Grant` (store): granted in exactly that case; refused when the words name an existing project, when `p.Repos` is not empty, when `source_message` is not `originComposer` or not in the Assistant lane, for a hand-off without `source_message`, and for a turn outside a job lane. `TestO1ConsentBoundToTurn` (store): with a grant for turn T and repository R, `createConsent(T, R)` is true; `createConsent(T, R2)` and `createConsent(T2, R)` are false; a grant is never written when `o1Grant` is false. `TestO1NewSiteWithoutPlacement` (thintest, the whole path with the fake Coordinator, all in one turn): a person message "make me a website about Viennese pastries" → `team_request` → the job's Coordinator turn calls `ask_person` with a placement whose `NewRepo` is in an allowed namespace → `new_granted`, no card → `create_project` with that `NewRepo` in the same turn → the project exists; `create_project` with any other repository is refused; the same with words naming an existing project → an open placement card, nothing created.
- [ ] **Step 2:** Run `go test ./internal/equipo/chat ./internal/thintest -run 'TestO1|Placement|CreateConsent' -count=1`. Expected: FAIL on the new tests; the existing placement tests pass.
- [ ] **Step 3:** Implement.
- [ ] **Step 4:** Run. Expected: PASS.
@@ -770,9 +791,9 @@ Base keeps `first_look` links since Task 1.15; this proves the drawing on a work
**Files:** `0111_jobs_replace.sql` (`chat_handoffs.replaced_by`), `internal/equipo/chat/handoff.go` (`teamRequest`: `replaces` in, `similar` out), `internal/equipo/chat/job_ask.go` (`AskReplace`), `internal/equipo/chat/job_act.go` (`replace`, `keep`), tests.
-`replaces` allowed only while the old job is the person's, open, no followed task beyond `investigated` and no step dispatched or running (`replaceable(old handoffRecord) (bool, error)`); else `replaces_busy`. The ask is `AskReplace` with options `replace` and `keep` (instance labels "Replace it" and "Keep both", details, context, `recommended` = `replace` with its why), per PD4; a tap sends the option's value as the action. Binding: the new job's card stores the replace decision in its own decision columns: `decision_card` = the **old** job card's id, `decision_rev` = that card's revision when the offer was made, `decision_cand` = `"replace"`; `chat_handoffs.replaces` (new column) names the old hand-off on the new one. At the tap, in one transaction: the decision check of Task 1.7 (the old card still at `decision_rev`, else `ErrDecisionGone`), `replaceable(old)` again (else `ErrDecisionGone` and the ask is cleared, with the receipt "Kept both: the earlier one had already started."), then `dropJob(old, true)`, `old.replaced_by = new.ID`, and receipts `replaced_by` on the old and `replaces` on the new. `keep` clears the ask. Any change to the old card (it moved on, the person answered something on it) moves its revision and so withdraws the offer. `similar`: the person's open jobs whose titles read alike (same normalised words, at least half shared).
+`replaces` allowed only while the old job is the person's, open, no followed task beyond `investigated` and no step dispatched or running (`replaceable(old handoffRecord) (bool, error)`); else `replaces_busy`. The ask is `AskReplace` with options `replace` and `keep` (instance labels "Replace it" and "Keep both", details, context, `recommended` = `replace` with its why), per PD4; a tap sends the option's value as the action. Binding: the new job's card stores the replace decision in its own decision columns: `decision_card` = the **old** job card's id, `decision_rev` = that card's revision when the offer was made, `decision_cand` = `"replace"`; `chat_handoffs.replaces` (new column) names the old hand-off on the new one. A replace decision is **not** checked by Task 1.7's open-source-card rule (its source is a job card, not an open card); it has its own check, `func (t *txn) replaceStands(newCard cardRecord, old handoffRecord) (ok bool, why string, err error)`: the new card's ask is still this decision, the old job card is still at `decision_rev`, and `replaceable(old)`. At the tap, in one transaction, following `CarryOn`'s pattern (a `refused` value set inside the transaction, which then commits, and the error returned after it): when it does not stand because the old work has started (`why = "busy"`), the ask is cleared and the receipt "Kept both: the earlier one had already started." written, the transaction commits, and the answer is `ErrDecisionGone` with the card as it now is; when the old card's revision moved for any other reason, nothing is written and the answer is `ErrDecisionGone` with the card (the re-projected ask, if the offer still holds, carries the new revision). When it stands: `dropJob(person, old, true)`, `old.replaced_by = new.ID`, the ask cleared, receipts `replaced_by` on the old and `replaces` on the new. `keep` clears the ask. Any change to the old card (it moved on, the person answered something on it) moves its revision and so withdraws the offer. `similar`: the person's open jobs whose titles read alike (same normalised words, at least half shared).
-- [ ] **Step 1: Failing test** `TestTeamRequestReplaces` (T10): offers the ask; drops only on the person's tap; `replaces_busy` past building; `keep` leaves both; old work starting between the offer and the tap → `ErrDecisionGone`, nothing dropped, ask cleared with its receipt; the replace survives a store reopen between offer and tap.
+- [ ] **Step 1: Failing test** `TestTeamRequestReplaces` (T10): offers the ask; drops only on the person's tap; `replaces_busy` past building; `keep` leaves both; old work starting between the offer and the tap → `ErrDecisionGone`, nothing dropped, the ask cleared and its receipt **committed** (read back after the call); the old card's revision moving for another reason → `ErrDecisionGone`, nothing written; the replace survives a store reopen between offer and tap.
- [ ] **Step 2:** Run `go test ./internal/equipo/chat -run TestTeamRequestReplaces -count=1`. Expected: FAIL.
- [ ] **Step 3:** Implement (`0111_jobs_replace.sql` adds `chat_handoffs.replaced_by` and `chat_handoffs.replaces`).
- [ ] **Step 4:** Run the same, then `make migration-check`. Expected: PASS.
@@ -813,7 +834,7 @@ A `done` job is a full pill for 24 h after `updated_at`, then drawn in the Finis
### Task 4.6: Hand-off
- [ ] **Step 1:** Full gates once: Equipo `make ci`; Base `make ci`, `make browser`, `make native-check`.
-- [ ] **Step 2:** Write the handoff (the `handoff` skill): what shipped per phase, deploy steps taken or pending, open points (PD11, O7, approvals in Base follow-up design).
+- [ ] **Step 2:** Write the handoff (the `handoff` skill): what shipped per phase, deploy steps taken or pending, open points (OP1 Try again on a missing merge credential, OP2 recommendations on approvals, O7, the follow-up design for approvals in Base).
---
@@ -825,6 +846,8 @@ DRAFT wording from the spec, for copy review before any code writes it. Keys are
**Addendum (Equipo, already drafted on `cf0614ec`):** the 34 `decision.*` and `assistant.decision.*` strings in that commit's `internal/equipo/copy.go`, marked `COPY REVIEW PENDING` there.
+**Addendum (Equipo's own placement and home cards, Task 1.1b):** "This is new work, so it needs a place to live.", "None of your projects fits it.", "It fits with {project}.", "Starts a new project for it.", "This sets where new projects go from now on.", "New projects will be placed one by one again.", "It's where your other projects already are."
+
**Equipo instance copy, job asks (Tasks 1.5, 1.8, 1.11):**
- `assistant.job.ask.place_existing` "Add to {project}"
- `assistant.job.ask.place_new` "A new site"
@@ -852,7 +875,7 @@ DRAFT wording from the spec, for copy review before any code writes it. Keys are
- failed: "Stopped" / "Something went wrong while making it."
- no_work: "Stopped" / "It didn't get started."
- going_live merge: "Didn't go live" / "It's ready, but couldn't go live."
-- no access (`causeNoAccess`, PD11): "Didn't go live" / the detail `honest-merge-refusals` adds (`assistant.job.detail.no_access`, "It can't go live until access to publish it is set up.", pending review on that branch; reviewed here if it is still pending)
+- no access (`causeNoAccess`, K6's `merge_identity`, PD11/OP1): "Didn't go live" / K6's "It's ready, but didn't go live. Trying again is safe." or the branch's `assistant.job.detail.no_access` "It can't go live until access to publish it is set up." (one of the two, chosen at review)
- merge_uncertain (old rows): "Didn't go live" / "It's ready, but didn't go live. Trying again is safe."
- publish_failed, no Publish open: "Didn't go live" / "It's finished, but the site didn't go live."
- home (phase 1): "One question for you" / "Where should new work like this live?"
@@ -876,7 +899,7 @@ DRAFT wording from the spec, for copy review before any code writes it. Keys are
### Phase 2
- Equipo stops: preview fault retrying "Retrying shortly" / "Held up on our side. Trying again in a few minutes."; retries used "Stopped" / "Held up on our side. We've let the people who run Base know."; merge outcome unknown "Didn't go live" / "It's ready, but didn't go live. Trying again is safe."
-- Equipo receipts: "Went ahead with “{option}”.", "Building it from the first look."
+- Equipo receipts: "Went ahead with “{option}”.", "Went ahead with a sensible choice.", "Building it from the first look."
- Equipo `CardHome` on the pill (Task 2.10): ask text "Keep new work in {place}?" (clearing: "Stop keeping new work in one place?"); option label "Yes, keep it there" (clearing: "Yes, clear it"); context "New sites and apps need a place to live. This sets where they go from now on." (clearing: "New work will be placed one by one again."); why "It's where your other work already lives." (clearing: "Nothing will be moved.")
- Equipo owner digest (O8, owner-facing in Equipo): "A job couldn't go live: no access to {repository}." and "Previews can't be checked on {computer}: the secret scanner is missing."
@@ -917,4 +940,14 @@ DRAFT wording from the spec, for copy review before any code writes it. Keys are
- P2 `CardHome` is a namespace confirmation, not a project choice: one `confirm` option through `answerHome`, owners only, copy rewritten (Task 2.10, register).
- P2 note kinds have separate sweep rows; the housekeeping exception moves to phase 1 (Task 1.11).
- P2 `mergeTaskAs` returns the attempt; merge tests in the run (Task 1.9). P2 `Go()` and the server templates draw first looks in every state, scripts-off test (Tasks 1.15, 1.18). P2 fake tests first, expected results, run filters, file lists, current-version vs permanent protocol tests (Tasks 1.12, 1.16, 2.1, 2.2, 3.1).
-- P3 `honest-merge-refusals` is at `ef909582` with `merge_no_access` and "trying again cannot help": the plan uses its names and follows it, a deviation from K6's Try again for a missing credential, flagged for Paul (PD11, Tasks 1.6, 2.3, 2.6).
+- P3 `honest-merge-refusals` is at `ef909582` with `merge_no_access` and "trying again cannot help": the plan uses its names and follows it, a deviation from K6's Try again for a missing credential, flagged for Paul (PD11, Tasks 1.6, 2.3, 2.6). *(Reversed in round 3.)*
+
+**Astra, round 3 (2026-11-25): REVISE**, 3 P1, 5 P2, 1 P3. Round 2's P1s resolved. Changes:
+
+- P1 O1 consent was granted to the wrong turn (an answer message starts a new turn): O1 is now a grant bound to the proposing turn and the validated repository, no card, one new case in `createConsent` (Task 2.11).
+- P1 the plan executed an unapproved deviation from K6: K6 as written (Try again for a missing credential, person's tap only, with the operator alert); the conflict with `honest-merge-refusals`' wording is open point OP1 for Paul (PD11, Tasks 1.6, 2.3).
+- P1 direction links could carry a branch URL and branch words into Base: one `assistantLink` conversion for every Assistant-card link, tested over every preview state (Task 1.5).
+- P2 replace had no consistent conflict semantics: its own `replaceStands` check and `CarryOn`'s commit-then-refuse pattern (Task 4.2).
+- P2 no scripts-off Undo: the redirect carries the dismissed card and revision, and the page offers a restore form (Tasks 1.17, 1.18).
+- P2 Equipo's placement and home cards had no decision parts: Task 1.1b; approvals listed as OP2.
+- P2 default receipts could show Coordinator option text: `shownLabel` or a plain receipt (Tasks 2.4, 2.8). P2 contradictory capability tests made consistent (Task 1.17). P3 run filters and `dropJob`'s signature.