@sassywares/skills 0.11.17 → 0.11.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CONCEPTS.md CHANGED
@@ -18,7 +18,11 @@ A skill that mostly coordinates. It reads compact results, writes briefs, and av
18
18
 
19
19
  ## Cycle
20
20
 
21
- `sassy-cycle` runs one unit of work through implement → review + simplify + validate (in parallel) → fix → verify. Simplifications are applied and verified but never block. Verify is a reviewer scoped to the fix, confirming each finding resolved and checking the fix for new ones; at most two fix passes, then anything open is `blocked`. Reviewer suggestions never block; they go to the gate. Given findings instead of a brief — requested changes, failed QA rows — it reworks existing work through the same fix → verify loop. It never commits. Work and LFG run it; debug fixes through work.
21
+ `sassy-cycle` runs one unit of work through a tiered loop: implement → quality by change tier → one fix pass → return. A `logic` unit runs the simplifier, reviewer, and validator in parallel; a `surface` unit runs the reviewer; a `none` unit runs neither. The fix pass applies every finding once, and the cycle never re-reviews it — findings the worker leaves open are reported, and simplifications never block. Reviewer suggestions go to the gate. Given findings instead of a brief — requested changes, failed QA rows — it applies them in one work pass. It never commits. Work and LFG run it; debug fixes through work.
22
+
23
+ ## Change tier
24
+
25
+ The depth of quality work a unit needs: declared per plan phase with `**Review:**`, passed as a `review:` token, or detected by `sassy-cycle` from the work. `logic` is core code and anything that can change runtime behavior; `surface` is everything that is not core code — docs, Markdown, comments, copy/i18n, tests, fixtures, formatting; `none` is machine-generated or mechanical churn. A declared `surface` or `none` is promoted to `logic` when the work touches core code; never the reverse.
22
26
 
23
27
  ## Dogfood
24
28
 
package/README.md CHANGED
@@ -32,7 +32,7 @@ It covers the whole path from a rough idea to a shipped PR, and from a bug repor
32
32
  - **Lean.** Skills are indexes and workflows, not documentation dumps. Detail moves into `references/` only when it is conditionally needed.
33
33
  - **Explicit.** Every skill but `sassy-ship` runs only when you invoke it; ship may be started by the agent once you approve the work, and its review gate still waits. No silent background behavior.
34
34
  - **Controlled.** Code approval, QA — manual and proved — and ship review are visible gates that all run in sequence. Mode tokens are opt-in per skill: `mode:manual` (default) and `mode:auto` on `sassy-ship` and `sassy-compound`, plus `mode:return` on `sassy-review`, `sassy-simplify`, and `sassy-validate`; work, lfg, and debug take no mode; `sassy-goal` takes one mode per step of a goal (`write`, `next`, `check`, `close`).
35
- - **Reliable.** Work runs through `sassy-cycle` with isolated subagents for implementation, review, simplification, validation, and verified fixes.
35
+ - **Reliable.** Work runs through `sassy-cycle` with isolated subagents for implementation, review, simplification, validation, and fixes — at the depth the change tier needs.
36
36
  - **Context-efficient.** Orchestrators coordinate; subagents do the heavy reading and return compact results.
37
37
  - **Never surprising.** Nothing is committed just because a step finished. Shipping is its own phase.
38
38
 
@@ -92,7 +92,7 @@ Debugging:
92
92
  | **`sassy-work`** | Executes exactly one plan phase, or one in-context brief, commits after code approval, then stops — the next phase is a run you start. A brief stops before ship. |
93
93
  | **`sassy-lfg`** | Executes every phase of a plan, or one in-context brief, then closes out via `sassy-ship` after code approval. |
94
94
  | **`sassy-worktree`** | One checkout per branch, each with its own derived namespace and port, so two agents can work in one repo — taken when you ask, never because the config allows it. `create`, `list`, `preview`, `remove`, `prune` — and `preview` brings a checkout up so you can look at it without setting it up by hand. |
95
- | **`sassy-cycle`** | Runs one unit of work through implement → review + simplify + validate → fix → verify, with at most two verified fix passes. Also reworks finished work from requested changes or failed QA rows. |
95
+ | **`sassy-cycle`** | Runs one unit of work through a tiered loop: implement → simplify + review + validate for `logic`, review for `surface`, nothing for mechanical → one fix pass. No verify. Also reworks finished work from requested changes or failed QA rows. |
96
96
  | **`sassy-debug`** | Diagnoses a bug, gates the fix, fixes via `sassy-work` (cycle, code approval, commit), then ships. Debug takes no mode and always leaves ship's review gate in place unless you invoke ship yourself with `mode:auto`. |
97
97
  | **`sassy-handoff`** | `mode:write` (default) writes a self-contained handoff file to `/tmp/sassywares/handoffs/` and gives you a `sassy-handoff mode:read <path>` command for a fresh session; `mode:read` explains what the handoff did, why, and where things stand now, then asks what to do next. Works in any harness. |
98
98
 
@@ -105,7 +105,7 @@ Debugging:
105
105
  | **`sassy-validate`** | Checks whether work matches a plan or stated intent, then closes the gaps you pick. |
106
106
  | **`sassy-dogfood`** | Uses the product the way a user does to prove a change actually works at runtime — runs the project's stored procedure, writes a report with a verdict, and in `mode:discover` builds or repairs that procedure from what really worked. Tooling-agnostic: it uses whatever your harness has connected and never installs a runner. |
107
107
 
108
- Each does one job and takes `mode:manual` (default: ask which to fix), `mode:auto` (fix without asking), or `mode:return` (report only). Fixes run through `sassy-cycle`, so they are verified. Inside work, lfg, and debug, the cycle runs all three agents in parallel itself.
108
+ Each does one job and takes `mode:manual` (default: ask which to fix), `mode:auto` (fix without asking), or `mode:return` (report only). Fixes run through `sassy-cycle` as one work pass. Inside work, lfg, and debug, the cycle runs the agents its change tier needs.
109
109
 
110
110
  `sassy-dogfood` takes its own modes instead: `run` (default), `discover`, and `check`.
111
111
 
@@ -322,11 +322,11 @@ flowchart LR
322
322
  L -->|approve or mode:auto| M[Commit, PR, babysit]
323
323
  ```
324
324
 
325
- Option 1 produces a durable plan with phased slices and QA tables. Options 2 and 3 keep the whole job as one settled in-context brief and write no plan file.
325
+ Option 1 produces a durable plan with phased slices, QA tables, and a change tier per phase. Options 2 and 3 keep the whole job as one settled in-context brief and write no plan file.
326
326
 
327
327
  `sassy-work` handles one phase and stops after its commit. `sassy-lfg` drains the whole plan in one session. Both delegate to `sassy-cycle` and stop at one gate carrying code approval plus the QA checklist; nothing is `Done`, committed, or shipped until both pass. `Manual` rows are yours to run. `Auto` rows are proved before the gate by `sassy-dogfood`, and a failed one goes back through the cycle as a finding. With an in-context brief there are no QA rows, so the gate is code approval alone.
328
328
 
329
- Inside the cycle, every finding is fixed and then **verified**: a reviewer scoped to the fix confirms each finding resolved, and checks the fix itself for anything new. Whatever is still open gets a second fix pass; anything open after that comes back `blocked` rather than looping. Critical findings, warnings, and validator gaps are fixed automatically; the simplifier's findings are applied in the same pass but never block; the reviewer's suggestions are listed at the gate for you to pick. Changes you request at the gate and QA rows that fail go through the same loop as findings, then the gate comes back.
329
+ Inside the cycle, the **change tier** decides the depth: a `logic` change runs the simplifier, reviewer, and validator in parallel; a `surface` change — docs, copy, tests, fixtures — runs the reviewer; a mechanical change skips review. Every finding is then fixed in one work pass — criticals, warnings, validator gaps, and simplifications together — and the cycle does not re-review the fix. Findings the worker leaves open are reported at the gate, simplifications never block, and the reviewer's suggestions are listed for you to pick. Changes you request at the gate and QA rows that fail go through the same one-pass rework, then the gate comes back.
330
330
 
331
331
  The branch is cut once, before the first change, by `sassy-work` or `sassy-lfg` — never at commit time — and `sassy-ship` never creates it. `commit.branch` (default `new`) decides whether the run cuts one at all; see [Branching](#branching).
332
332
 
@@ -388,6 +388,7 @@ The fix gate offers four options:
388
388
  | Control | When it applies |
389
389
  |---|---|
390
390
  | Code approval | Always on for `sassy-work` and `sassy-lfg`. |
391
+ | Review tier | Per plan phase (`**Review:**`) or a `review:` token, else detected by the cycle. `logic` runs simplify + review + validate; `surface` runs review; `none` skips review. The cycle fixes once and never re-reviews. |
391
392
  | QA | Part of the same gate, and only when the plan document has QA tables. `Manual` rows are yours; `Auto` rows are settled by a `sassy-dogfood` report. A phase is `Done` only when both pass. |
392
393
  | Dogfood | `Auto` rows only exist when `dogfood.enabled` is on and the row's recipe section has a `Prove it:` step. `sassy-ship` persists nothing behind an unproven row. |
393
394
  | Ship review | On in `mode:manual` (default), skipped by `mode:auto`. |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sassywares/skills",
3
- "version": "0.11.17",
3
+ "version": "0.11.19",
4
4
  "description": "Lean, explicit-invocation Agent Skills for shipping fast: plan, work, review, validate, ship.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -45,7 +45,7 @@ Snapshot the PR state first, then act in this order:
45
45
  5. **CI** — `gh pr checks`. One pass for all failures. Flaky/infra → `gh run rerun <run-id> --failed`. Real failure → fix it (see **Fixing**). Mark each check handled; unfixed checks stay red.
46
46
  6. **Branch currency** — if the branch is `BEHIND` or `DIRTY`, update it (`gh pr update-branch <ref>`, or ask for a local rebase). Do not update just because the base moved; only when the status actually requires it.
47
47
 
48
- **Fixing.** Load the `sassy-cycle` skill on rework with the threads and failing checks as findings and the PR's changed files as the scope hint; it fixes and verifies, at most two passes. Then load `sassy-commit` with `branch:current` and `git push`. A finding the cycle leaves open, or a failure you cannot diagnose from the log and the diff, is `needs-human`. Never load `sassy-debug` or `sassy-ship` from here — they commit, open PRs, and babysit on their own, which nests a second watch over this PR.
48
+ **Fixing.** Load the `sassy-cycle` skill on rework with the threads and failing checks as findings and the PR's changed files as the scope hint; it applies them in one work pass and reports each fixed or open; there is no verify pass. Then load `sassy-commit` with `branch:current` and `git push`. A finding the cycle leaves open, or a failure you cannot diagnose from the log and the diff, is `needs-human`. Never load `sassy-debug` or `sassy-ship` from here — they commit, open PRs, and babysit on their own, which nests a second watch over this PR.
49
49
 
50
50
  After a tick with no true stop, wait and run the next tick. Checkpoint mode: run one tick and report paused with the resume command.
51
51
 
@@ -1,19 +1,29 @@
1
1
  ---
2
2
  name: sassy-cycle
3
3
  description: >-
4
- Run one unit of work through the full quality loop using subagents: implement,
5
- review + simplify + validate in parallel, then fix and verify findings — at
6
- most two fix passes. Also reworks existing work from a list of findings
7
- (requested changes, failed QA rows, a standalone review's picks). Used by
8
- sassy-work, sassy-lfg, sassy-review, sassy-simplify, and sassy-validate.
9
- Never commits. Built for context and token
10
- efficiency — the orchestrator only writes briefs and reads compact results.
11
- argument-hint: "<work brief | findings> [intent reference]"
4
+ Run one unit of work through a tiered quality loop using subagents: implement,
5
+ then simplify + review + validate for logic changes, review for surface
6
+ changes, or nothing for mechanical ones, fix once, and return. No verify pass.
7
+ Also reworks existing work from a list of findings (requested changes, failed
8
+ QA rows, a standalone review's picks). Used by sassy-work, sassy-lfg,
9
+ sassy-review, sassy-simplify, sassy-validate, sassy-babysit, and sassy-goal.
10
+ Never commits. Built for
11
+ context and token efficiency — the orchestrator only writes briefs and reads
12
+ compact results.
13
+ argument-hint: "<work brief | findings> [review:logic|surface|none] [intent reference]"
12
14
  ---
13
15
 
14
16
  # Sassy Cycle
15
17
 
16
- **Outcome:** one unit of work taken through the full quality loop, every finding fixed and verified fixed by a reviewer — or reported open after two fix passes — returning a compact structured result to the caller. This skill never commits, pushes, or ships.
18
+ **Outcome:** one unit of work implemented, reviewed at the depth its change tier needs, every finding fixed in one work pass, and a compact structured result returned to the caller. This skill never commits, pushes, or ships.
19
+
20
+ **Tiered, not uniform.** The change decides which quality agents run:
21
+
22
+ - **`logic`** — core code and anything that can change runtime behavior. The `simplifier`, `reviewer`, and `validator` run in parallel.
23
+ - **`surface`** — everything that is not core code: docs, Markdown, comments, copy/i18n strings, tests, fixtures, formatting. The `reviewer` alone.
24
+ - **`none`** — machine-generated or mechanical: lockfiles, generated or vendored files, formatter churn, mass renames. No quality agent.
25
+
26
+ **No verify pass.** After the quality agents report, one worker applies the findings and that is the last step. The cycle never re-reviews the fix. A finding left open is reported, not looped on.
17
27
 
18
28
  **Subagent-maximal by design.** The orchestrator (the main context) must never read source files, diffs, or the tree. Every heavy read happens inside a subagent with its own isolated context window. The orchestrator only writes briefs and reads compact structured results. This is what keeps the caller's context small across many phases.
19
29
 
@@ -22,33 +32,42 @@ argument-hint: "<work brief | findings> [intent reference]"
22
32
  ## Inputs
23
33
 
24
34
  - **Work brief** — what to build or fix, concretely.
25
- - **Intent reference** — how conformance is judged: a plan path + phase, or root-cause findings. Optional on rework only; without one, verify runs the reviewer alone.
35
+ - **Intent reference** — how conformance is judged: a plan path + phase, or root-cause findings. Optional; without one the validator is skipped.
26
36
  - **Scope hint** — files or areas, optional.
27
- - **Findings** — rework only: a list of changes to make to work that already exists — the user's requested changes, failing QA rows, a standalone skill's picked findings. Each is a **fix** unless the caller marks it a **simplification**. Given findings, skip steps 1–3 and start at step 4. The intent reference stays the original one, so the validator still judges the whole unit.
37
+ - **Review tier** — `logic` (default), `surface`, or `none`. Callers pass the plan phase's `**Review:**` line or a `review:` token. When neither exists, step 3 detects it from the work's own report.
38
+ - **Findings** — rework only: a list of changes to make to work that already exists — the user's requested changes, failing QA rows, a standalone skill's picked findings. Each is a **fix** unless the caller marks it a **simplification**. Given findings, skip steps 1–5 and start at step 6 with the findings as its lists.
39
+
40
+ ## Worker brief constraints
41
+
42
+ Every worker brief this cycle dispatches — implement and fix — carries:
43
+
44
+ - Tests only for the files the worker changed and the existing tests that directly regress them. The full suite runs once at the final gate.
45
+ - A hard timeout around long-running commands, for example `timeout 300 bunx vitest run path/to/file.test.ts`; a hung command is killed and reported.
46
+ - Stop and report a blocker to the orchestrator after one failed retry, with the exact command and error, instead of looping on the same failure.
47
+ - Report the files it changed and state `Runtime behavior: yes` or `Runtime behavior: no` — whether the change alters what the product does.
48
+ - For a **simplification**: behavior stays identical — same output for every input, same errors, same side effects and ordering. Never remove validation, error handling that prevents data loss, authorization, escaping, or accessibility code to make something simpler, and never weaken a test to make it pass. A simplification that cannot meet that is skipped and reported with the reason.
28
49
 
29
50
  ## Steps
30
51
 
31
52
  1. **Recon (optional).** If the work is large or its location is unclear, run `sassy-scout` first and pass the grounding brief path into the work brief. Skip when the brief is already precise.
32
- 2. **Implement.** Dispatch a `worker` with the work brief, the intent reference, and the plan path if there is one. Every worker brief — here and in step 5 — must also carry these constraints:
33
- - Tests only for the files the worker changed and the existing tests that directly regress them. The full suite runs once at the final gate.
34
- - A hard timeout around long-running commands, for example `timeout 300 bunx vitest run path/to/file.test.ts`; a hung command is killed and reported.
35
- - Stop and report a blocker to the orchestrator after one failed retry, with the exact command and error, instead of looping on the same failure.
36
- - Report the files it changed.
37
- - For a **simplification**: behavior stays identical — same output for every input, same errors, same side effects and ordering. Never remove validation, error handling that prevents data loss, authorization, escaping, or accessibility code to make something simpler, and never weaken a test to make it pass. A simplification that cannot meet that is skipped and reported with the reason.
38
-
39
- For independent chunks, batch them as **parallel** `worker` tasks in one call (max 8). The worker reads whatever it needs itself.
40
- 3. **Review + simplify + validate (parallel).** Dispatch the `reviewer`, the `simplifier`, and the `validator` together in one **parallel** call. Give the validator the intent reference so it can judge conformance; give the simplifier the plan path, if there is one, so settled structure stays.
41
- 4. **Triage.** Two lists, both numbered:
42
- - **Fixes** — every reviewer **critical** and **warning**, every validator gap, every blocker a worker reported, and on rework every finding not marked a simplification.
43
- - **Simplifications** — every simplifier finding, and on rework every finding marked one.
53
+ 2. **Implement.** Dispatch a `worker` with the work brief, the intent reference, and the plan path if there is one, carrying the worker brief constraints above. For independent chunks, batch them as **parallel** `worker` tasks in one call (max 8). The worker reads whatever it needs itself.
54
+ 3. **Resolve the tier.** An explicit tier from Inputs wins, unless the work contradicts it: a `surface` or `none` unit whose files include core code, or whose worker reported `Runtime behavior: yes`, is promoted to `logic`. Never demote. Without an explicit tier, classify from the worker's file report:
55
+ - any core-code path, or `Runtime behavior: yes` → `logic`
56
+ - only human-authored docs, copy, comments, tests, or fixtures → `surface`
57
+ - only generated, vendored, lock, or formatting files → `none`
58
+ - mixed surface and generated files → `surface`; the human-authored part decides.
59
+
60
+ Core code is what ships and runs: product source, UI and styles, schemas and migrations, public contracts, and behavior-changing config. Report the resolved tier as `declared`, `detected`, or `promoted` in the result.
61
+ 4. **Quality (by tier).** Dispatch in one **parallel** call where the tier has more than one agent:
62
+ - `logic` — the `simplifier`, the `reviewer`, and, when there is an intent reference, the `validator`. Give the validator the intent reference so it can judge conformance; give the simplifier the plan path, if there is one, so settled structure stays.
63
+ - `surface` — the `reviewer` alone, briefed: *surface change — docs, copy, comments, tests, or fixtures. Apply correctness and project-rule conformance; skip the design-system dimension and risk lenses unless the change touches UI or runtime code. Do not pad.*
64
+ - `none` — no agent; go to step 7 as `done`.
65
+ 5. **Triage.** Two lists, both numbered:
66
+ - **Fixes** — every reviewer **critical** and **warning**, every validator gap, and every blocker a worker reported.
67
+ - **Simplifications** — every simplifier finding.
44
68
 
45
69
  Reviewer **Suggestions** are neither: carry them to the result untouched for the caller's gate. Both lists empty → step 7.
46
- 5. **Fix.** Dispatch one `worker` with both lists, labeled, to do exactly those and nothing else. This is fix pass 1 or 2.
47
- 6. **Verify (parallel).** Dispatch the `reviewer` and, when there is an intent reference, the `validator` together, both scoped to this fix. The simplifier does not run again — a fresh pass would always find more.
48
- - **Reviewer** — both lists and the files the fix changed. It returns, per item, `resolved` or `not resolved` with a reason — for a simplification, `resolved` also means behavior is unchanged — plus any **new** critical or warning the fix's changes introduced. A simplification that changed behavior is a new finding.
49
- - **Validator** — the intent reference plus the fixes list. It re-grades conformance and names any gap left.
50
-
51
- The new fixes list is every unresolved fix, every new finding, and every validator gap; unresolved simplifications carry forward on their own list. Both empty → step 7 as `done`. Otherwise, after fix pass 1 → back to step 5; after fix pass 2 → step 7: `blocked` when fixes remain open, `done` when only simplifications do — they are reported, never blocking.
70
+ 6. **Fix once.** Dispatch one `worker` with both lists, labeled, to do exactly those and nothing else, carrying the worker brief constraints above. On rework, the findings are the lists. The worker reports each item `fixed`, `applied`, or `not fixed` / `skipped` with a reason. This is the only fix pass: never verify it, never dispatch a second fix inside this run.
52
71
  7. **Return** the structured result below.
53
72
 
54
73
  ## Structured result
@@ -57,27 +76,30 @@ Return this to the caller, compactly:
57
76
 
58
77
  ```text
59
78
  Status: done | blocked
79
+ Tier: logic | surface | none (declared | detected | promoted) | rework
60
80
  Files changed: <paths>
61
- Fix passes: 0 | 1 | 2
62
- Findings: <finding -> resolved (pass n) | open: reason>
63
- Simplifications: <finding -> applied (pass n) | skipped: reason | open: reason>
81
+ Work passes: 1 | 2
82
+ Findings: <finding -> fixed | open: reason>
83
+ Simplifications: <finding -> applied | skipped: reason | open: reason>
64
84
  Suggestions: <reviewer suggestions, not acted on>
65
- Validator: Conforms | Partial | Diverges | Blocked
66
- Reviewer: <n> critical, <n> warnings open
85
+ Validator: Conforms | Partial | Diverges | Blocked | not run
86
+ Reviewer: <n> critical, <n> warnings | not run
67
87
  Notes: <anything the caller needs>
68
88
  ```
69
89
 
70
- A finding is `resolved`, and a simplification `applied`, only when step 6's reviewer said so. The fixing worker's own report is never evidence.
90
+ `Status` is `blocked` only when the work or the fix could not run (a worker blocker, an unresolved critical the worker reports it cannot fix, or a failed dispatch). `Findings` and `Simplifications` are the fixing worker's report; this cycle does not re-review them. `Tier` and its source tell the caller what depth ran.
71
91
 
72
92
  ## Rules
73
93
 
74
94
  | Rule | Requirement |
75
95
  |------|-------------|
76
96
  | Orchestrator only | Never edit code or read source in the main context. Delegate. |
77
- | Parallel where independent | Independent work chunks → parallel workers. Reviewer, simplifier, and validator run in one parallel call; verify's reviewer and validator likewise. |
78
- | Two fix passes, verified | At most two fix → verify rounds per run. Every fix is verified by a reviewer scoped to that fix; anything still open after the second → `blocked`. Never loop further. |
79
- | Only fixes block | Simplifications are applied and verified but never make a run `blocked`; reviewer suggestions go to the caller's gate for the user to pick and are never applied automatically. |
80
- | Simplifier runs once | Only at step 3 (or never, on rework). Verify re-checks what was applied; it does not hunt for more. |
97
+ | Tier decides agents | `logic` → simplifier + reviewer + validator (validator only with an intent reference); `surface` → reviewer; `none` → none. |
98
+ | One fix pass, no verify | At most one work pass after the quality agents. Never re-review the fix. |
99
+ | Never demote | A declared `surface` or `none` promotes to `logic` when the work touches core code or reports changed runtime behavior. |
100
+ | Parallel where independent | Independent work chunks → parallel workers. The tier's quality agents run in one parallel call. |
101
+ | Only fixes block | Simplifications are applied or reported but never make a run `blocked`; reviewer suggestions go to the caller's gate for the user to pick and are never applied automatically. |
102
+ | Simplifier runs once | Only at the `logic` tier. It never runs on rework. |
81
103
  | Never commit | This skill leaves everything uncommitted. Shipping is `sassy-ship`. |
82
104
  | QA stays the caller's | Never mark a QA row `Done`, `Manual` or `Auto`. A `Manual` row is confirmed by the user at the caller's gate and an `Auto` row by a passing dogfood report; failing rows come back as findings. |
83
105
 
@@ -87,3 +109,4 @@ A finding is `resolved`, and a simplification `applied`, only when step 6's revi
87
109
  - Keep the intent reference terse — a plan path plus a phase, or a short findings list.
88
110
  - Never paste file contents or subagent transcripts through the orchestrator; summarize.
89
111
  - Prefer one worker with a good brief over a tour of the tree in the main context.
112
+ - A `surface` or `none` unit is cheap on purpose: do not add agents the tier does not name. If the work turns out to touch core code, promote it at step 3 instead of widening the brief.
@@ -5,7 +5,7 @@ description: >-
5
5
  through sassy-work (quality cycle, code approval, commit), and finally ship
6
6
  it through sassy-ship. Never auto-commits. Use when asked to
7
7
  debug or fix a failure.
8
- argument-hint: "[issue reference, error message, test path, or description] [branch:infer|current|new] [worktree:on|off]"
8
+ argument-hint: "[issue reference, error message, test path, or description] [branch:infer|current|new] [worktree:on|off] [review:logic|surface|none]"
9
9
  ---
10
10
 
11
11
  # Sassy Debug
@@ -60,13 +60,13 @@ This gate is mandatory even when the original request said "fix the bug". Do not
60
60
 
61
61
  ### Option 1 — Fix it now
62
62
 
63
- Load the `sassy-work` skill on its brief path, forwarding this run's `branch:` and `worktree:` tokens if they were given, with:
63
+ Load the `sassy-work` skill on its brief path, forwarding this run's `branch:`, `worktree:`, and `review:` tokens if they were given, with:
64
64
 
65
65
  - work brief = "Fix the root cause: <causal chain>. Apply the smallest change; add or strengthen the regression test first."
66
66
  - intent reference = the diagnosis from Phase 1
67
67
  - scope hint = the files the fix touches
68
68
 
69
- Work owns the fix from here: one `sassy-cycle` (fix, review, validate, verified fix passes), its code approval gate — where the result shows the causal chain next to the fix — the rework loop for any changes the user asks for, and the commit. It stops before ship. Do not dispatch `sassy-cycle` or present a second code approval gate yourself.
69
+ Work owns the fix from here: one `sassy-cycle` (fix, review, validate for logic; reviewer only for surface; one fix pass, no verify), its code approval gate — where the result shows the causal chain next to the fix — the rework loop for any changes the user asks for, and the commit. It stops before ship. Do not dispatch `sassy-cycle` or present a second code approval gate yourself.
70
70
 
71
71
  The branch decision belongs to work, not to this phase: diagnosis writes nothing, so cutting a branch before the fix gate would leave an empty branch every time the gate ends in *Write a plan*, *Hand off*, or *Stop here*. Work resolves it per `sassy-setup`'s `references/branching.md` before it touches code, so the fix is on its own branch from the first edit and still never lands on a base branch.
72
72
 
@@ -10,7 +10,7 @@ Runs on the slice branch after `sassy-ship`, before the PR merges, so whatever i
10
10
  2. **Find the range.** The probe worker also returns `git merge-base <remote>/<baseRefName> HEAD`. Under `commit.branch: current` there is no PR: ask the user for the commit the slice started from. Under `git.repo: workspace`, get one PR, base, and merge-base per affected repo.
11
11
  3. **Validate.** Load the `sassy-validate` skill with `mode:return`, the slice plan path with no phase (the whole plan), and `range:<merge-base>..HEAD`. In a workspace, make one call per affected repo, each with its own range. A `Blocked — insufficient grounding` grade stops the check: report what it needs.
12
12
  4. **Resolve every gap.** On `Conforms`, there are none. Otherwise present each gap with its evidence, and for each the user picks one:
13
- - **Fix now** — collected and closed together: load the `sassy-cycle` skill on rework with the chosen gaps as findings and the slice plan as the intent reference. A gap still open after its two fix passes goes back to the user to defer or accept.
13
+ - **Fix now** — collected and closed together: load the `sassy-cycle` skill on rework with the chosen gaps as findings and the slice plan as the intent reference. A gap still open after its one work pass goes back to the user to defer or accept.
14
14
  - **Defer to a later slice** — the user names one that is still `Pending`. Add the gap to that slice's Scope or Done when in `goal.md`; it also goes in this slice's carry-forward entry. On the last slice there is nothing to defer to: only fix or accept.
15
15
  - **Accept** — with the user's reason, recorded in the carry-forward entry.
16
16
 
@@ -4,7 +4,7 @@ description: >-
4
4
  Execute a whole sassy plan phase by phase, or one settled in-context brief,
5
5
  then close out via sassy-ship after code approval. The orchestrator only
6
6
  coordinates. Best for small plans that one context can hold.
7
- argument-hint: "<plan path | brief> [branch:infer|current|new] [worktree:on|off]"
7
+ argument-hint: "<plan path | brief> [branch:infer|current|new] [worktree:on|off] [review:logic|surface|none]"
8
8
  ---
9
9
 
10
10
  # Sassy LFG
@@ -26,6 +26,10 @@ Detect the shape from the argument:
26
26
 
27
27
  If nothing is passed and no plan exists, run `sassy-plan` first and use what the user picks there.
28
28
 
29
+ ## Review tier
30
+
31
+ A phase's `**Review:**` line names its change tier — `logic`, `surface`, or `none` — per the `sassy-plan` skill's `references/plan-format.md`. Pass it to `sassy-cycle` for that phase. A `review:` token on this run overrides the plan line; without either, the cycle detects the tier from the work.
32
+
29
33
  ## QA gate
30
34
 
31
35
  Read the plan's `**QA:**` line and its per-phase QA tables. QA is part of the completion gate: LFG builds every phase first, then presents one gate carrying code approval plus every phase's QA checklist. No phase turns `Done`, and nothing is committed or shipped, until both pass.
@@ -46,30 +50,22 @@ A brief has no QA table, so its gate is code approval alone. Never invent, enabl
46
50
 
47
51
  When the decision took a checkout, every phase brief and every `sassy-dogfood` run uses the checkout's own address — `WT_PATH`, and `WT_NAMESPACE`/`WT_PORT` where the project declared a port range — since proof run against the main checkout's port proves the wrong app.
48
52
  3. **Run every phase, in order.** For each phase not `Done`:
49
- - Set the phase `In progress`, then load the `sassy-cycle` skill and follow it, with work brief = the phase's goal/work/"Done when", and intent reference = the plan path and phase.
53
+ - Set the phase `In progress`, then load the `sassy-cycle` skill and follow it, with work brief = the phase's goal/work/"Done when", intent reference = the plan path and phase, and review tier = this run's `review:` token when present, else the phase's `**Review:**` line.
50
54
  - On `Status: done`, leave the phase `In progress` — its QA rows are still owed, and only the gate closes them.
51
55
  - On `Status: blocked`, mark it `Blocked` and stop the run.
52
- 4. **The gate.** After the last phase, prove the `Auto` rows — run `sassy-dogfood` in `mode:run` for each row's section; a `failed` verdict is a finding for that phase's rework, and a `class: env` verdict stops the run with the toolchain named. Then report: the plan path, each phase's status, what changed per phase, findings raised and resolved (with the fix passes each took), the simplifications applied, the validator/reviewer summaries, and the reviewers' suggestions as options the user may pick. Then give every phase's QA checklist verbatim — row ID, check, `Mode`, and for `Manual` how to run it and what passing looks like, for `Auto` the dogfood verdict and run id — with unreported rows `Pending`. Ask for both decisions: code approval (or the changes wanted, including any suggestions picked) and the result per `Manual` row. Wait. Do not commit.
56
+ 4. **The gate.** After the last phase, prove the `Auto` rows — run `sassy-dogfood` in `mode:run` for each row's section; a `failed` verdict is a finding for that phase's rework, and a `class: env` verdict stops the run with the toolchain named. Then report: the plan path, each phase's status, what changed per phase, findings raised and what each single fix pass did with them (self-reported; no verify), the simplifications applied or skipped, the validator/reviewer summaries, and the reviewers' suggestions as options the user may pick. Then give every phase's QA checklist verbatim — row ID, check, `Mode`, and for `Manual` how to run it and what passing looks like, for `Auto` the dogfood verdict and run id — with unreported rows `Pending`. Ask for both decisions: code approval (or the changes wanted, including any suggestions picked) and the result per `Manual` row. Wait. Do not commit.
53
57
  5. **Resolve the gate.** Three outcomes:
54
58
  - **Code approved and every QA row passes** → mark the rows `Done` (`Manual` with the user's notes, `Auto` with the verdict and run id), mark the phases `Done`, then run the close-out below.
55
59
  - **Code approved, `Manual` rows still pending** → tick nothing, mark nothing `Done`, commit nothing, ship nothing. Report which rows are outstanding and how to resume (invoke `sassy-lfg <plan>` in the harness's syntax), and stop.
56
60
  - **Changes requested, or any QA row fails** → a rework cycle per affected phase: load `sassy-cycle` with that phase's requested changes and failing rows as its findings, and the plan path and phase as the intent reference. When every rework is `done`, present the gate again; a `blocked` rework marks its phase `Blocked` and stops the run. A QA row that fails again after its rework is `Blocked` with the reason and stops the run. Change requests have no cap — each one is the user's call.
57
61
  6. **Close-out.** On both gates passing, load the `sassy-ship` skill and follow it. Do only the close-out steps the user approves. Babysit options (`merge:on|off`, `delete-branch:on|off`) are forwarded through `sassy-ship` to `sassy-babysit`. The branch from step 2 already carries the work, so ship commits and opens the PR on it; ship never creates the branch. Under `commit.branch: current` ship commits and pushes the checked-out branch to its upstream and skips the PR, `hooks.pr.*`, babysit, and merge.
58
62
 
59
- ## Brief constraints
60
-
61
- Every worker brief this run dispatches must include:
62
-
63
- - Tests only for the files the worker changed and the existing tests that directly regress them. The full suite runs once at the final gate.
64
- - A hard timeout around long-running commands, for example `timeout 300 bunx vitest run path/to/file.test.ts`; a hung command is killed and reported.
65
- - The instruction to stop and report a blocker to the orchestrator after one failed retry, with the exact command and error, instead of looping on the same failure.
66
-
67
63
  ## Brief input
68
64
 
69
65
  When the argument is not a plan path, the brief is the one phase:
70
66
 
71
67
  1. Resolve the branch exactly as the plan path does — the `sassy-setup` skill's `references/branching.md`, this run's `branch:` and `worktree:` tokens — before the cycle runs.
72
- 2. Run one `sassy-cycle` with the brief as the work brief and its decisions / done-when as the intent reference. Do not split it into multiple phases.
68
+ 2. Run one `sassy-cycle` with the brief as the work brief, its decisions / done-when as the intent reference, and this run's `review:` token as the tier. Do not split it into multiple phases.
73
69
  3. Present the code approval gate with no QA checklist, and wait. Changes requested → a rework cycle with the changes as findings and the brief's decisions / done-when as the intent reference, then this gate again; `blocked` stops.
74
70
  4. On code approval, run `sassy-ship`. Do not run `sassy-plan` or write a plan file.
75
71
 
@@ -82,7 +78,7 @@ When the argument is not a plan path, the brief is the one phase:
82
78
  | Phases in plan order | Phases run one after another, in plan order. |
83
79
  | Done needs both gates | Mark a phase `Done` only when the user approves the code and every QA row for it is `Done`. |
84
80
  | QA rows follow the user | Tick a `Manual` QA row `Done` only from the user's explicit confirmation, and an `Auto` row only from a passing dogfood report; keep unreported rows `Pending`; a failed row is a finding for a rework cycle. |
85
- | Send-backs are rework | Requested changes and failed QA rows go through `sassy-cycle` as findings — verified, two fix passes at most — never a direct edit. |
81
+ | Send-backs are rework | Requested changes and failed QA rows go through `sassy-cycle` as findings — one work pass, no verify — never a direct edit. |
86
82
  | Gates before shipping | Nothing is committed or shipped until the code is approved and every QA row passes. Shipping is `sassy-ship`. |
87
83
  | No plan on the brief path | Use the in-context brief; never create or update a plan file. |
88
84
  | Compact context | Only pass briefs to subagents and keep only their summaries. |
@@ -85,6 +85,10 @@ A row is `Auto` only when the project's `dogfood.enabled` is `true` **and** the
85
85
 
86
86
  The in-context brief has no QA table, so its gate is code approval alone. Omit QA tables only when the user explicitly asks to skip QA in plain language.
87
87
 
88
+ ## Review tier
89
+
90
+ Every phase also carries a `**Review:**` line — `logic`, `surface`, or `none` — set from what the phase changes, per `references/plan-format.md`. It decides the depth of the quality loop: `logic` runs simplify + review + validate, `surface` runs review, `none` runs neither. Core code is `logic`; docs, copy, tests, and fixtures are `surface`; generated or formatter-only churn is `none`. Default to `logic` when unsure, and let the executor promote a `surface` phase that turns out to touch core code. A brief has no plan file: the executor takes a `review:` token or detects the tier itself.
91
+
88
92
  ## Resume
89
93
 
90
94
  If the user points at an existing sassy plan, update phases and tables in place. If they point at a raw plan from elsewhere, reshape it into this format without discarding its settled decisions — but grill whatever it leaves open or merely asserts. An existing plan is already the document.
@@ -14,6 +14,16 @@ The plan has no open-questions section. Every branch the interview found is a de
14
14
  4. **Readable.** 3–8 phases for a typical feature. Merge only when a split leaves a phase with no meaningful thing to verify.
15
15
  5. **No dump sections.** Anything executable lives under a phase. No giant task list outside the phases.
16
16
 
17
+ ## Review — the phase's change tier
18
+
19
+ Every phase names the depth of quality work it needs with a `**Review:**` line. The executor passes it to `sassy-cycle`, which runs that tier's agents.
20
+
21
+ - **`logic`** — core code and anything that can change runtime behavior: product source, UI and styles, schemas and migrations, public contracts, behavior-changing config. Simplifier + reviewer + validator, then one fix pass.
22
+ - **`surface`** — everything that is not core code: docs, Markdown, comments, copy/i18n strings, tests, fixtures, formatting. Reviewer only, then one fix pass.
23
+ - **`none`** — machine-generated or mechanical: lockfiles, generated or vendored files, formatter churn, mass renames. No review; the worker's own checks are the record.
24
+
25
+ Default to `logic` when unsure. The tier is a declaration, not a trap: a `surface` phase that turns out to touch core code is promoted to `logic` by the executor, so declaring it optimistically costs nothing. Omit the line only when the phase is plainly `logic`.
26
+
17
27
  ## QA — part of the gate
18
28
 
19
29
  Every phase gets a QA table. Each row's `Mode` is `Auto` or `Manual`, and the choice is not a preference:
@@ -91,13 +101,15 @@ Status values: `Pending` | `In progress` | `Blocked` | `Done`
91
101
 
92
102
  **Why this slice:** One sentence on the tracer bullet (end-to-end for this goal).
93
103
 
104
+ **Review:** logic
105
+
94
106
  **Work (vertical):**
95
107
  - Database: …
96
108
  - Backend: …
97
109
  - Frontend: …
98
110
  - Tests/config: …
99
111
 
100
- Omit empty layers. Do not put the next goal's work here.
112
+ Omit empty layers. Do not put the next goal's work here. The `**Review:**` line follows the work: a phase with any core-code layer is `logic`; a docs, copy, test, or fixture phase is `surface`; generated or formatter-only churn is `none`.
101
113
 
102
114
  **Done when:** Plain-language acceptance for this phase only.
103
115
 
@@ -11,11 +11,11 @@ argument-hint: "[PR ref, branch, files, or blank for current changes] [mode:manu
11
11
 
12
12
  # Sassy Review
13
13
 
14
- **Outcome:** the scope reviewed with concrete findings, and — unless `mode:return` — the chosen ones fixed and verified; everything left uncommitted.
14
+ **Outcome:** the scope reviewed with concrete findings, and — unless `mode:return` — the chosen ones fixed in one work pass; everything left uncommitted.
15
15
 
16
16
  **Review only.** Simplification is `sassy-simplify`; plan conformance is `sassy-validate`.
17
17
 
18
- **Orchestrator only.** Never edit code yourself. The `reviewer` finds; `sassy-cycle` fixes and verifies.
18
+ **Orchestrator only.** Never edit code yourself. The `reviewer` finds; `sassy-cycle` fixes in one work pass.
19
19
 
20
20
  **Harness.** Loading another skill, dispatching an agent, and any command you hand the user follow the `sassy-setup` skill's `references/harness.md`. Read it once per run, before the first of those.
21
21
 
@@ -49,7 +49,7 @@ Findings must be grounded: every rule finding quotes the rule file and section;
49
49
  3. **Return.** In `mode:return`, return the reviewer's output as-is and stop.
50
50
  4. **Nothing actionable?** If there are no Critical or Warning findings, report the summary plus the rules/design-system check list and stop.
51
51
  5. **Choose.** In `mode:manual`, present findings grouped Critical / Warnings / Suggestions, including the rules and design-system check list, and ask which to fix: critical only / all actionable / specific / none. In `mode:auto`, take every Critical and Warning.
52
- 6. **Fix.** Load the `sassy-cycle` skill on rework with the chosen findings and the reviewed files as the scope hint. Its verify step confirms each one resolved, with at most two fix passes.
52
+ 6. **Fix.** Load the `sassy-cycle` skill on rework with the chosen findings and the reviewed files as the scope hint. It applies them in one work pass and reports each fixed or open; there is no verify pass.
53
53
  7. **Report.** What was fixed, what is still open and why; leave it uncommitted.
54
54
 
55
55
  ## Hard rules
@@ -64,4 +64,4 @@ Findings must be grounded: every rule finding quotes the rule file and section;
64
64
 
65
65
  ## Failure handling
66
66
 
67
- The cycle returns a finding open after two passes → report it with its reason and continue with the rest. Stop on an unsafe or ambiguous failure.
67
+ The cycle returns a finding open after its one work pass → report it with its reason and continue with the rest. Stop on an unsafe or ambiguous failure.
@@ -11,11 +11,11 @@ argument-hint: "[files, branch, or blank for current changes] [mode:manual|auto|
11
11
 
12
12
  # Sassy Simplify
13
13
 
14
- **Outcome:** the scope's simplification findings, and — unless `mode:return` — the chosen ones applied with behavior unchanged and verified; everything left uncommitted.
14
+ **Outcome:** the scope's simplification findings, and — unless `mode:return` — the chosen ones applied with behavior unchanged in one work pass; everything left uncommitted.
15
15
 
16
16
  **Simplify only.** Not a bug hunt — that is `sassy-review`. Not a plan check — that is `sassy-validate`.
17
17
 
18
- **Orchestrator only.** Never edit code or read source yourself. The `simplifier` finds; `sassy-cycle` applies and verifies.
18
+ **Orchestrator only.** Never edit code or read source yourself. The `simplifier` finds; `sassy-cycle` applies in one work pass.
19
19
 
20
20
  **Harness.** Loading another skill, dispatching an agent, and any command you hand the user follow the `sassy-setup` skill's `references/harness.md`. Read it once per run, before the first of those.
21
21
 
@@ -48,7 +48,7 @@ Fewer lines is not the goal. A finding that would make code longer or harder to
48
48
  3. **Nothing to apply?** On `Nothing to simplify` or no findings, report that and stop.
49
49
  4. **Return.** In `mode:return`, return the simplifier's findings as-is — files reviewed, findings by dimension, summary — and stop.
50
50
  5. **Choose.** In `mode:manual`, present the findings grouped by dimension and ask which to apply: all / specific / none. In `mode:auto`, take all.
51
- 6. **Apply.** Load the `sassy-cycle` skill on rework with the chosen findings, each marked a **simplification**, and the scope's files as the scope hint. The cycle's worker keeps behavior identical and its verify step confirms each one.
51
+ 6. **Apply.** Load the `sassy-cycle` skill on rework with the chosen findings, each marked a **simplification**, and the scope's files as the scope hint. The cycle's worker keeps behavior identical and reports each one applied or skipped; there is no verify pass.
52
52
  7. **Report.** What was applied per dimension, what was skipped and why, and the checks the worker ran. Leave it uncommitted.
53
53
 
54
54
  ## Hard rules
@@ -11,11 +11,11 @@ argument-hint: "[plan path [+ phase], or the intent to validate against] [range:
11
11
 
12
12
  # Sassy Validate
13
13
 
14
- **Outcome:** a grounded conformance judgment against an intent, and — unless `mode:return` — the chosen gaps closed and verified; everything left uncommitted.
14
+ **Outcome:** a grounded conformance judgment against an intent, and — unless `mode:return` — the chosen gaps closed in one work pass; everything left uncommitted.
15
15
 
16
16
  **Validate only.** Code quality and bugs are `sassy-review`; simplification is `sassy-simplify`.
17
17
 
18
- **Orchestrator only.** Never edit code yourself. The `validator` finds gaps; `sassy-cycle` closes and verifies them.
18
+ **Orchestrator only.** Never edit code yourself. The `validator` finds gaps; `sassy-cycle` closes them in one work pass.
19
19
 
20
20
  **This skill needs an intent.** Validation without something to validate against is meaningless. If the user gave no plan path or intent, ask for one before doing anything.
21
21
 
@@ -38,7 +38,7 @@ Use the mode the caller passed; never pick one yourself.
38
38
  3. **Return.** In `mode:return`, return the validator's grade, evidence, and gaps as-is and stop.
39
39
  4. **Conforms?** If the grade is `Conforms`, report it and stop. If `Blocked — insufficient grounding`, report what it needs and stop — do not guess.
40
40
  5. **Choose.** On `Partial` or `Diverges`, in `mode:manual` present the `Gaps` and ask which to close: all / specific / none. In `mode:auto`, take all.
41
- 6. **Close.** Load the `sassy-cycle` skill on rework with the chosen gaps as findings and the same intent reference. Its verify step re-runs the validator against that intent, with at most two fix passes.
41
+ 6. **Close.** Load the `sassy-cycle` skill on rework with the chosen gaps as findings and the same intent reference. It closes them in one work pass and reports each closed or open; there is no re-grade.
42
42
  7. **Report.** What was closed, what remains and why; leave it uncommitted.
43
43
 
44
44
  ## Hard rules
@@ -53,4 +53,4 @@ Use the mode the caller passed; never pick one yourself.
53
53
 
54
54
  ## Failure handling
55
55
 
56
- The grade is `Blocked — insufficient grounding` → treat it as a real blocker; report exactly what it asked to inspect and stop. The cycle returns a gap open after two passes → report it with its reason.
56
+ The grade is `Blocked — insufficient grounding` → treat it as a real blocker; report exactly what it asked to inspect and stop. The cycle returns a gap open after its one work pass → report it with its reason.
@@ -5,7 +5,7 @@ description: >-
5
5
  commit it (or close out via sassy-ship if it was the last). The next phase is
6
6
  a run of its own when the user starts one. Also runs one settled in-context
7
7
  brief and stops before ship. The orchestrator only coordinates.
8
- argument-hint: "<plan path | brief> [phase:<n>] [branch:infer|current|new] [worktree:on|off]"
8
+ argument-hint: "<plan path | brief> [phase:<n>] [branch:infer|current|new] [worktree:on|off] [review:logic|surface|none]"
9
9
  ---
10
10
 
11
11
  # Sassy Work
@@ -29,6 +29,10 @@ Detect the shape from the argument:
29
29
 
30
30
  If a plan path is given but the file does not exist, run `sassy-plan` first and stop.
31
31
 
32
+ ## Review tier
33
+
34
+ A phase's `**Review:**` line names its change tier — `logic`, `surface`, or `none` — per the `sassy-plan` skill's `references/plan-format.md`. Pass it to `sassy-cycle`. A `review:` token on this run overrides the plan line; without either, the cycle detects the tier from the work. The tier decides the quality agents, so it is never a reason to skip the code approval gate.
35
+
32
36
  ## QA gate
33
37
 
34
38
  Read the plan's `**QA:**` line and its per-phase QA table. QA is part of the phase gate, not a separate track: a phase turns `Done` only when the code is approved **and** every QA row for that phase has passed.
@@ -43,7 +47,7 @@ A brief has no QA table, so its gate is code approval alone. Never invent, enabl
43
47
 
44
48
  ## Phase gate
45
49
 
46
- Always gate before committing. The cycle has already fixed and verified its findings; present the combined gate — code approval plus the QA checklist — and wait for the user. Anything the user sends back goes through a rework cycle and the gate again.
50
+ Always gate before committing. The cycle has already fixed its findings in one work pass; present the combined gate — code approval plus the QA checklist — and wait for the user. Anything the user sends back goes through a rework cycle (one work pass, no verify) and the gate again.
47
51
 
48
52
  ## Steps
49
53
 
@@ -54,10 +58,11 @@ Always gate before committing. The cycle has already fixed and verified its find
54
58
  3. **Run the cycle.** Set the phase `In progress` in the Phase tracking table, then load the `sassy-cycle` skill and follow it, with:
55
59
  - work brief = the phase's goal, work items, and "Done when" criteria
56
60
  - intent reference = the plan path and phase
61
+ - review tier = this run's `review:` token when present, else the phase's `**Review:**` line
57
62
  4. **Evaluate the phase.** On `Status: done`, the code is ready for the gate, but leave the phase `In progress` — both gates must pass before it closes. On `Status: blocked`, set it `Blocked` in the Phase tracking table and stop; a blocked phase is a real outcome and needs no approval.
58
63
 
59
64
  **Then prove the `Auto` rows.** If the phase has any, run the `sassy-dogfood` skill in `mode:run` with each row's section named, before the gate and never after it. When the decision took a checkout, the report runs against the checkout's own address — `WT_PATH`, and `WT_NAMESPACE`/`WT_PORT` where the project declared a port range — since proof run against the main checkout's app proves the wrong app. Record what each report said. A `failed` verdict is a finding, so the phase goes back through step 3's cycle with the failing step and the report's log tail as its findings, and this step runs again; a `class: env` verdict is not a finding — report that the toolchain is broken, leave the phase `In progress`, and stop. An `Auto` row with no report is `Pending`, never `Done`.
60
- 5. **Present the phase gate.** Report the phase, what changed, findings raised and resolved (with the fix passes it took), the simplifications applied, the validator grade, the reviewer summary, and the reviewer's suggestions as options the user may pick. Then give the QA checklist verbatim: each row's ID, check, `Mode`, and — for `Manual` — how to run it and what passing looks like, and for `Auto` — the dogfood verdict and run id, with unreported rows `Pending`. Ask for both decisions — code approval (or the changes wanted, including any suggestions picked) and the result per `Manual` row. Wait.
65
+ 5. **Present the phase gate.** Report the phase, what changed, findings raised and what the single fix pass did with each (self-reported; the cycle does not re-review), the simplifications applied or skipped, the validator grade (or that it did not run), the reviewer summary, and the reviewer's suggestions as options the user may pick. Then give the QA checklist verbatim: each row's ID, check, `Mode`, and — for `Manual` — how to run it and what passing looks like, and for `Auto` — the dogfood verdict and run id, with unreported rows `Pending`. Ask for both decisions — code approval (or the changes wanted, including any suggestions picked) and the result per `Manual` row. Wait.
61
66
  6. **Resolve the gate.** Three outcomes, nothing in between:
62
67
  - **Code approved and every QA row passes** → go to step 7.
63
68
  - **Code approved, `Manual` rows still pending** → record that code is approved but leave the phase `In progress`, tick nothing, commit nothing, and report that the phase is waiting on manual QA plus the command that resumes it.
@@ -78,7 +83,7 @@ Always gate before committing. The cycle has already fixed and verified its find
78
83
  When the argument is not a plan path, it is one settled brief:
79
84
 
80
85
  1. Resolve the branch exactly as the plan path does — `references/branching.md`, this run's `branch:` and `worktree:` tokens — before the cycle runs. Every brief dispatched from there names the absolute `WT_PATH` when the decision took a checkout.
81
- 2. Run one `sassy-cycle` with the brief as the work brief and its decisions / done-when as the intent reference. Do not split it into multiple cycles.
86
+ 2. Run one `sassy-cycle` with the brief as the work brief, its decisions / done-when as the intent reference, and this run's `review:` token as the tier. Do not split it into multiple cycles.
82
87
  3. Present the code approval gate with no QA checklist, and wait. Changes requested → a rework cycle with the changes as findings and the brief's decisions / done-when as the intent reference, then this gate again; `blocked` stops.
83
88
  4. On code approval, persist the brief's changes the same way the plan path does: a `sassy-commit` delegation with `branch:current` in a remote repo, or the workspace snapshot in a workspace.
84
89
  5. Stop and report. Shipping is a separate step (`sassy-ship`), or `sassy-lfg` would have built and shipped it. Never create or update a plan file.
@@ -96,7 +101,7 @@ When the argument is not a plan path, it is one settled brief:
96
101
  | Handing off is the user's | Never write a handoff or suggest one. The run ends at its report; `sassy-handoff` is invoked by the user, in their own session and on their own initiative. |
97
102
  | Done needs both gates | Mark a phase `Done` only when the user approves the code and every QA row for that phase is `Done`, never before. |
98
103
  | QA rows follow their mode | Tick a `Manual` row `Done` only from the user's explicit confirmation, and an `Auto` row only from a passing dogfood report; keep unreported rows `Pending`; a failed row is a finding for a rework cycle. |
99
- | Send-backs are rework | Requested changes and failed QA rows go through `sassy-cycle` as findings — verified, two fix passes at most — never a direct edit. |
104
+ | Send-backs are rework | Requested changes and failed QA rows go through `sassy-cycle` as findings — one work pass, no verify — never a direct edit. |
100
105
  | No shipping on the brief path | The brief path commits and stops. Shipping is `sassy-ship` or `sassy-lfg`. |
101
106
 
102
107
  ## Failure handling