@sassywares/skills 0.15.0 → 0.17.0

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.
Files changed (77) hide show
  1. package/README.md +40 -30
  2. package/package.json +1 -1
  3. package/skills/sassy-babysit/SKILL.md +3 -0
  4. package/skills/sassy-commit/SKILL.md +4 -1
  5. package/skills/sassy-commit-push-pr/SKILL.md +4 -1
  6. package/skills/sassy-compound/SKILL.md +3 -0
  7. package/skills/sassy-compound/references/concepts.md +6 -0
  8. package/skills/sassy-compound/references/templates.md +6 -0
  9. package/skills/sassy-cycle/SKILL.md +4 -1
  10. package/skills/sassy-debug/SKILL.md +3 -0
  11. package/skills/sassy-docs/SKILL.md +3 -0
  12. package/skills/sassy-docs/references/handbook-format.md +6 -0
  13. package/skills/sassy-docs/references/handbook.md +6 -0
  14. package/skills/sassy-docs/references/review.md +6 -0
  15. package/skills/sassy-dogfood/SKILL.md +3 -0
  16. package/skills/sassy-dogfood/references/check.md +6 -0
  17. package/skills/sassy-dogfood/references/discover.md +6 -0
  18. package/skills/sassy-dogfood/references/run.md +6 -0
  19. package/skills/sassy-goal/SKILL.md +18 -12
  20. package/skills/sassy-goal/references/check.md +7 -1
  21. package/skills/sassy-goal/references/close.md +6 -0
  22. package/skills/sassy-goal/references/goal-format.md +17 -4
  23. package/skills/sassy-goal/references/next.md +15 -9
  24. package/skills/sassy-goal/references/revise.md +25 -0
  25. package/skills/sassy-goal/references/write.md +6 -0
  26. package/skills/sassy-handoff/SKILL.md +3 -0
  27. package/skills/sassy-handoff/references/read.md +6 -0
  28. package/skills/sassy-handoff/references/write.md +6 -0
  29. package/skills/sassy-overview/SKILL.md +3 -0
  30. package/skills/sassy-overview/references/identify.md +6 -0
  31. package/skills/sassy-overview/scripts/identify.sh +1 -0
  32. package/skills/sassy-overview/scripts/lib.sh +1 -0
  33. package/skills/sassy-plan/SKILL.md +29 -22
  34. package/skills/sassy-plan/references/interview.md +6 -0
  35. package/skills/sassy-plan/references/plan-format.md +40 -11
  36. package/skills/sassy-plan/references/revision-format.md +86 -0
  37. package/skills/sassy-plan/references/sketches.md +6 -0
  38. package/skills/sassy-review/SKILL.md +3 -0
  39. package/skills/sassy-scout/SKILL.md +3 -0
  40. package/skills/sassy-setup/SKILL.md +4 -1
  41. package/skills/sassy-setup/assets/agents-md.md +3 -3
  42. package/skills/sassy-setup/assets/roster +0 -1
  43. package/skills/sassy-setup/references/anchors.md +7 -1
  44. package/skills/sassy-setup/references/branching.md +19 -10
  45. package/skills/sassy-setup/references/check.md +6 -0
  46. package/skills/sassy-setup/references/config.md +11 -6
  47. package/skills/sassy-setup/references/dogfood.md +6 -0
  48. package/skills/sassy-setup/references/harness.md +6 -0
  49. package/skills/sassy-setup/references/init.md +6 -0
  50. package/skills/sassy-setup/references/plan-resolution.md +53 -0
  51. package/skills/sassy-setup/references/scaffold-header.md +6 -0
  52. package/skills/sassy-setup/references/workspace.md +6 -0
  53. package/skills/sassy-setup/references/worktree.md +6 -0
  54. package/skills/sassy-setup/scripts/detect.sh +3 -2
  55. package/skills/sassy-setup/scripts/hash-skill.mjs +1 -0
  56. package/skills/sassy-setup/scripts/lockcheck.mjs +1 -0
  57. package/skills/sassy-setup/scripts/worktree-check.mjs +1 -0
  58. package/skills/sassy-ship/SKILL.md +8 -5
  59. package/skills/sassy-ship/references/brief.md +6 -0
  60. package/skills/sassy-ship/references/plan.md +7 -1
  61. package/skills/sassy-ship/references/slice.md +6 -0
  62. package/skills/sassy-simplify/SKILL.md +3 -0
  63. package/skills/sassy-skill/SKILL.md +3 -0
  64. package/skills/sassy-skill/references/create.md +6 -0
  65. package/skills/sassy-skill/references/retune.md +6 -0
  66. package/skills/sassy-skill/references/verify.md +6 -0
  67. package/skills/sassy-strategy/SKILL.md +3 -0
  68. package/skills/sassy-strategy/references/check.md +6 -0
  69. package/skills/sassy-strategy/references/strategy-format.md +6 -0
  70. package/skills/sassy-strategy/references/write.md +6 -0
  71. package/skills/sassy-validate/SKILL.md +4 -1
  72. package/skills/sassy-work/SKILL.md +66 -68
  73. package/skills/sassy-worktree/SKILL.md +3 -0
  74. package/skills/sassy-worktree/references/create.md +6 -0
  75. package/skills/sassy-worktree/references/list.md +6 -0
  76. package/skills/sassy-worktree/references/remove.md +6 -0
  77. package/skills/sassy-lfg/SKILL.md +0 -92
@@ -1,3 +1,9 @@
1
+ ---
2
+ suite: sassy-skills
3
+ artifact: reference
4
+ generated_by: sassy-setup@0.17.0
5
+ ---
6
+
1
7
  # Dogfood
2
8
 
3
9
  Agent QA: a stored procedure that proves a change actually works in the running
@@ -1,3 +1,9 @@
1
+ ---
2
+ suite: sassy-skills
3
+ artifact: reference
4
+ generated_by: sassy-setup@0.17.0
5
+ ---
6
+
1
7
  # Harness conventions
2
8
 
3
9
  The suite runs in any harness that loads Agent Skills — pi, Claude Code, and others. No skill assumes one. When a skill says to load a skill, dispatch an agent, or hand the user a command, this file is how.
@@ -1,3 +1,9 @@
1
+ ---
2
+ suite: sassy-skills
3
+ artifact: reference
4
+ generated_by: sassy-setup@0.17.0
5
+ ---
6
+
1
7
  # Mode: init — detect, ask, write, wire
2
8
 
3
9
  Read the shared sections in `SKILL.md` first (config-first, never-a-repo, harness, the modes, and steps 7–9). This file is steps 1–6. When step 6 is done, return to `SKILL.md` for steps 7–9: verify, commit, report.
@@ -0,0 +1,53 @@
1
+ ---
2
+ suite: sassy-skills
3
+ artifact: reference
4
+ generated_by: sassy-setup@0.17.0
5
+ ---
6
+
7
+ # Resolving a plan
8
+
9
+ Every skill that takes a plan as input resolves it here. There is one rule, and it has two shapes.
10
+
11
+ Read this once per run, before the first time you touch a plan path.
12
+
13
+ ## The two shapes
14
+
15
+ | Shape | Path | Revisions |
16
+ |---|---|---|
17
+ | v2 (current) | `<artifacts.plans>/<type>-<slug>/plan.md` | `<type>-<slug>/revisions/` |
18
+ | v1 (legacy) | `<artifacts.plans>/<type>-<slug>.md` | none |
19
+
20
+ **Both are legal, permanently.** v1 plans written before the directory shape existed are finished history that will never be written again, so `plan-resolution` is a permanent reader contract and not a migration shim.
21
+
22
+ A goal slice is a plan like any other: `<artifacts.plans>/<type>-<goal-slug>/NN-<slice-slug>/plan.md` with its own `revisions/` beside it.
23
+
24
+ ## Resolving a path
25
+
26
+ Given whatever the user or a caller passed:
27
+
28
+ 1. **A directory** — the plan file is `<dir>/plan.md` and the revision log is `<dir>/revisions/`. If `<dir>/plan.md` is missing, this is not a plan: report the path and stop rather than creating anything.
29
+ 2. **A `.md` file** — that file is the plan, and it has no revision log (v1).
30
+ 3. **A bare `<type>-<slug>` with no extension** — resolve under `artifacts.plans` by trying the directory first, then the flat file. The directory wins when both exist, because a flat file beside a directory of the same name is a half-finished migration, not a choice.
31
+ 4. **Nothing passed** — list the plans under `artifacts.plans`, both shapes, and ask which one. Never pick the newest, the most recently modified, or the only one you found without saying so.
32
+
33
+ ## What a resolution yields
34
+
35
+ - **`plan`** — the plan file to read, and to edit on a write path.
36
+ - **`revisions`** — the revision log directory, or `absent` for a v1 plan.
37
+
38
+ ## What a reader never does
39
+
40
+ - **Never migrates.** A reader reports the shape it found and continues. Creating a directory, moving a file, or rewriting a plan in order to make it resolvable is a write, and only a write path does it.
41
+ - **Never refuses a plan for being v1.** A missing `status` key reads as `active`; a missing provenance header means legacy, not invalid.
42
+ - **Never reimplements detection.** A `[[ -d ... ]]`, a `-f` test, or a `*/*.md` glob written to answer "is this a file or a folder" is a second copy of this file. If a case is missing, it belongs here, not in the caller.
43
+
44
+ ## What a write path does
45
+
46
+ A write path that resolves to a v1 plan migrates it before writing, in the same commit as the write itself:
47
+
48
+ ```bash
49
+ git mv <type>-<slug>.md <type>-<slug>/plan.md
50
+ mkdir <type>-<slug>/revisions
51
+ ```
52
+
53
+ Change nothing else — not a line, not a key, not the title. The migration is a rename that git records as one; a reader's next run sees v2 and its history starts from there. A migration that also "tidies" the plan is a rewrite, and it destroys the text the user confirmed.
@@ -1,3 +1,9 @@
1
+ ---
2
+ suite: sassy-skills
3
+ artifact: reference
4
+ generated_by: sassy-setup@0.17.0
5
+ ---
6
+
1
7
  # The scaffold header
2
8
 
3
9
  One header, one owner. Every project-owned file the suite plants **outside**
@@ -1,3 +1,9 @@
1
+ ---
2
+ suite: sassy-skills
3
+ artifact: reference
4
+ generated_by: sassy-setup@0.17.0
5
+ ---
6
+
1
7
  # Workspace install
2
8
 
3
9
  Read this only when the topology is `workspace`. Everything setup installs
@@ -1,3 +1,9 @@
1
+ ---
2
+ suite: sassy-skills
3
+ artifact: reference
4
+ generated_by: sassy-setup@0.17.0
5
+ ---
6
+
1
7
  # Worktrees
2
8
 
3
9
  Parallel work in one repo: each run gets its own checkout and its own branch,
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env bash
2
+ # generated_by: sassy-setup@0.17.0
2
3
  # Detect project topology and emit a proposed .sassywares/config.yaml.
3
4
  #
4
5
  # Read-only. Writes nothing. sassy-setup runs this, asks the few questions the
@@ -1161,7 +1162,7 @@ cat <<'EOF'
1161
1162
  # --- Commit ---------------------------------------------------------------
1162
1163
  # current: commit on the checked-out branch, even on a base branch, then push
1163
1164
  # it to its upstream. No PR: pr.* and hooks.pr are ignored; hooks.push runs.
1164
- # new: never commit on a base branch — sassy-work, sassy-lfg, and sassy-debug
1165
+ # new: never commit on a base branch — sassy-work and sassy-debug
1165
1166
  # cut a branch at the start of the run and stay on it.
1166
1167
  commit:
1167
1168
  EOF
@@ -1922,7 +1923,7 @@ fi
1922
1923
 
1923
1924
  # --- Branch decision -------------------------------------------------------
1924
1925
  # Read-only. Resolves commit.branch into the single decision the entry skills
1925
- # (sassy-work, sassy-lfg, sassy-debug) make before they start: cut a branch,
1926
+ # (sassy-work, sassy-debug) make before they start: cut a branch,
1926
1927
  # reuse the one checked out, or commit where you stand.
1927
1928
  #
1928
1929
  # Every base_map VALUE counts as a base branch, not just the remote default.
@@ -1,3 +1,4 @@
1
+ // generated_by: sassy-setup@0.17.0
1
2
  // The `skills` CLI's skill-folder hash, as sassy-setup checks it.
2
3
  //
3
4
  // Two eras are live in the wild and the lock's `version` says which one wrote
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env node
2
+ // generated_by: sassy-setup@0.17.0
2
3
  // Verify the vendored suite skill folders against skills-lock.json.
3
4
  //
4
5
  // The suite installs in one of two scopes, like the agents: the project
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env node
2
+ // generated_by: sassy-setup@0.17.0
2
3
  // Verify an installed `.sassywares/worktree/` set against the copy this skill
3
4
  // ships.
4
5
  //
@@ -1,4 +1,7 @@
1
1
  ---
2
+ suite: sassy-skills
3
+ artifact: skill
4
+ generated_by: sassy-ship@0.17.0
2
5
  name: sassy-ship
3
6
  description: >-
4
7
  Close out approved work: capture learnings, bring the docs in line with the
@@ -32,11 +35,11 @@ What is being closed out is decided once, at the start, and every later step tak
32
35
 
33
36
  | Target | Detected by | Read | Writes back |
34
37
  |---|---|---|---|
35
- | Brief or topic | the argument is not a `.md` file under `artifacts.plans` | `references/brief.md` | nothing |
36
- | Plan | a plan file with no `slice`/`goal` frontmatter keys | `references/plan.md` | the plan's `status: done` |
38
+ | Brief or topic | the argument resolves to no plan under `artifacts.plans`, per the `sassy-setup` skill's `references/plan-resolution.md` | `references/brief.md` | nothing |
39
+ | Plan | a resolved plan with no `slice`/`goal` frontmatter keys | `references/plan.md` | the plan's `status: done` |
37
40
  | Slice | a plan whose frontmatter carries `slice` and `goal` | `references/slice.md` | `status: done`, and that slice → `Shipped` in the parent `goal.md` |
38
41
 
39
- The frontmatter keys are the answer; the directory convention — a plan sitting next to a `goal.md` — is only the fallback for a plan written before those keys existed. The caller never has to declare the target, and a `kind:` token is not a thing this skill accepts. Read exactly one of those three references, and only that one.
42
+ The frontmatter keys are the answer; the directory convention — a plan inside a goal folder — is only the fallback for a plan written before those keys existed. The caller never has to declare the target, and a `kind:` token is not a thing this skill accepts. Read exactly one of those three references, and only that one.
40
43
 
41
44
  **What a document target writes back.** The close-out sets the plan's `status: done` in the same edit that step 4 commits, so the status is part of that commit and lands in history beside the work it closes. It is written before the commit runs, so that commit carries it. A commit or snapshot that fails leaves the edit uncommitted on disk: report the failure, stop, and never report the plan as closed on a commit that did not land — the on-disk `done` is a leftover to be re-committed by the next run, not a state to trust. Ship is the sole writer of `done`, not of the key. It writes it only when every phase row in the plan's tracking table is `Done`: a mid-plan close-out — two phases shipped of five — leaves the plan `active`, which is the honest reading. The precondition comes from the table, never from the caller's say-so. A plan whose phases are all `Done` but which was never closed out therefore stays `active` until someone ships it, and the next `sassy-ship` closes it out.
42
45
 
@@ -50,7 +53,7 @@ The frontmatter keys are the answer; the directory convention — a plan sitting
50
53
  4. **Commit or snapshot.** After the review gate — never before it — the docs and any remaining code become durable.
51
54
 
52
55
  **Before anything is persisted, check the plan's `Auto` QA rows.** If the plan carries any and one is not `Done` from a passing `sassy-dogfood` report, stop here: report the outstanding rows, the report path, and what it would take to prove them. Ship never commits, pushes, or opens a PR behind an unproven automated row, and never runs the recipe itself — proving is `sassy-work`'s step, and re-running it here would let a red row reach a commit by being retried instead of fixed. A brief and a plan with only `Manual` rows skip this entirely.
53
- - **`git.repo` is a remote.** Dispatch a `worker`: *load the `sassy-commit` skill and follow it with `branch:current`*, naming that the commit must include the plan and its `status` change, any new solutions docs, the concepts file, `AGENTS.md`, and any doc step 3 wrote — resolved from `artifacts.*`, never hardcoded. The branch already exists: `sassy-work` or `sassy-lfg` cut it before the first change, so the docs belong on it with the phase commits. It returns the hash and subject.
56
+ - **`git.repo` is a remote.** Dispatch a `worker`: *load the `sassy-commit` skill and follow it with `branch:current`*, naming that the commit must include the plan and its `status` change, any new solutions docs, the concepts file, `AGENTS.md`, and any doc step 3 wrote — resolved from `artifacts.*`, never hardcoded. The branch already exists: `sassy-work` cut it before the first change, so the docs belong on it with the phase commits. It returns the hash and subject.
54
57
 
55
58
  **Ship never creates the branch.** Outside `commit.branch: current`, a head on a base branch with unpublished commits is a mis-run — `sassy-work` was supposed to cut before touching code. Ask the commit worker to return `state` and `unpublished` from the `sassy-setup` skill's `scripts/detect.sh --branch`, and stop and ask if they show a base with a non-zero count. Never relocate commits silently, never push to the base. Under `commit.branch: current` this check does not fire: unpublished commits on the head are simply pushed along with the close-out commit.
56
59
  - **`git.repo: workspace`.** Commit code inside each affected repo on the run's shared branch — cut once at the start of the run, `branch:current` from then on — then run `.sassywares/workspace/snapshot`. The snapshot is the workspace's commit and it runs every time, right after approval. A missing or outdated `.sassywares/workspace/snapshot` is a blocker: report it and say to run `sassy-setup`.
@@ -77,7 +80,7 @@ The frontmatter keys are the answer; the directory convention — a plan sitting
77
80
  | One target | The target is resolved once, from the plan's frontmatter, and its reference is the only one read. Never re-decide it mid-run, and never ask the caller to declare it. |
78
81
  | Never close out a draft | A `draft` plan is refused and sent back to `sassy-plan`. `done` is written only when every phase row is `Done`, in the step 4 edit so it is part of that commit. |
79
82
  | Docs in the commit | New docs and pointer lines ship in the same change. |
80
- | One branch | The branch is cut once, before the first change, by `sassy-work` or `sassy-lfg` (unless `commit.branch: current`). Ship and its docs commit land on it. |
83
+ | One branch | The branch is cut once, before the first change, by `sassy-work` (unless `commit.branch: current`). Ship and its docs commit land on it. |
81
84
  | Never create the branch | Ship never cuts a branch. Outside `commit.branch: current`, a head on a base branch with unpublished commits is a stop-and-ask, decided from the commit worker's `state` and `unpublished`. |
82
85
  | Never default | Never push directly to the repo base branch — except under `commit.branch: current`, an explicit opt-in, where ship pushes the checked-out branch (base or not) to its upstream, never forced. |
83
86
  | Current policy | `commit.branch: current` means commit + push, no PR: no `sassy-commit-push-pr`, no `hooks.pr.*`, no babysit, no merge; `hooks.push.after_push` still runs (step 5). A non-fast-forward push is a stop-and-report; in a workspace the push stops at the first rejected repo. |
@@ -1,3 +1,9 @@
1
+ ---
2
+ suite: sassy-skills
3
+ artifact: reference
4
+ generated_by: sassy-ship@0.17.0
5
+ ---
6
+
1
7
  # Target: brief
2
8
 
3
9
  The argument is a topic or a settled brief, not a plan file. Nothing is written back: there is no document to close out. Writing one now — after the work, from memory — is exactly the plan the run deliberately did without.
@@ -1,6 +1,12 @@
1
+ ---
2
+ suite: sassy-skills
3
+ artifact: reference
4
+ generated_by: sassy-ship@0.17.0
5
+ ---
6
+
1
7
  # Target: plan
2
8
 
3
- A standalone plan — a file under `artifacts.plans` with no `slice` or `goal` key. The shared write-back rule is in the body: `status: done` goes in the step 4 edit, and only when every phase row in the tracking table is `Done`.
9
+ A standalone plan — a plan under `artifacts.plans` with no `slice` or `goal` key, resolved per the `sassy-setup` skill's `references/plan-resolution.md`. The shared write-back rule is in the body: `status: done` goes in the step 4 edit, and only when every phase row in the tracking table is `Done`.
4
10
 
5
11
  ## Gate summary lines
6
12
 
@@ -1,3 +1,9 @@
1
+ ---
2
+ suite: sassy-skills
3
+ artifact: reference
4
+ generated_by: sassy-ship@0.17.0
5
+ ---
6
+
1
7
  # Target: slice
2
8
 
3
9
  A plan whose frontmatter carries `slice` (the slice ID) and `goal` (the path to the parent `goal.md`) — one slice of a `sassy-goal` goal. The goal itself is never closed here: `goal.md`'s `status: done` belongs to `sassy-goal mode:close` alone, after every slice has been checked.
@@ -1,4 +1,7 @@
1
1
  ---
2
+ suite: sassy-skills
3
+ artifact: skill
4
+ generated_by: sassy-simplify@0.17.0
2
5
  name: sassy-simplify
3
6
  description: >-
4
7
  Find behavior-preserving simplifications in changed code — reuse, quality,
@@ -1,4 +1,7 @@
1
1
  ---
2
+ suite: sassy-skills
3
+ artifact: skill
4
+ generated_by: sassy-skill@0.17.0
2
5
  name: sassy-skill
3
6
  description: >-
4
7
  Create, retune, or improve an Agent Skill for the user. Places it in the
@@ -1,3 +1,9 @@
1
+ ---
2
+ suite: sassy-skills
3
+ artifact: reference
4
+ generated_by: sassy-skill@0.17.0
5
+ ---
6
+
1
7
  # Mode: create — write a new skill
2
8
 
3
9
  Read the skill's shared sections first (locations, Agent Skills rules, shape rule, checklist). This file is the write side only.
@@ -1,3 +1,9 @@
1
+ ---
2
+ suite: sassy-skills
3
+ artifact: reference
4
+ generated_by: sassy-skill@0.17.0
5
+ ---
6
+
1
7
  # Mode: retune — the smallest fix for one named failure
2
8
 
3
9
  Read the skill's shared sections first (locations, Agent Skills rules, shape rule, checklist). This file is the failure map.
@@ -1,3 +1,9 @@
1
+ ---
2
+ suite: sassy-skills
3
+ artifact: reference
4
+ generated_by: sassy-skill@0.17.0
5
+ ---
6
+
1
7
  # Mode: verify — read, judge, report, change nothing
2
8
 
3
9
  Read the skill's shared sections first (locations, Agent Skills rules, shape rule, checklist). This file is the read-only sweep.
@@ -1,4 +1,7 @@
1
1
  ---
2
+ suite: sassy-skills
3
+ artifact: skill
4
+ generated_by: sassy-strategy@0.17.0
2
5
  name: sassy-strategy
3
6
  description: >-
4
7
  Write and revise a project's strategy — what the product is for, who it is for,
@@ -1,3 +1,9 @@
1
+ ---
2
+ suite: sassy-skills
3
+ artifact: reference
4
+ generated_by: sassy-strategy@0.17.0
5
+ ---
6
+
1
7
  # Mode: check — a read-only fit verdict
2
8
 
3
9
  Read the shared sections in `SKILL.md` and `references/strategy-format.md` first.
@@ -1,3 +1,9 @@
1
+ ---
2
+ suite: sassy-skills
3
+ artifact: reference
4
+ generated_by: sassy-strategy@0.17.0
5
+ ---
6
+
1
7
  # Strategy format
2
8
 
3
9
  The format is settled: six sections, one locked order, one frontmatter. A run
@@ -1,3 +1,9 @@
1
+ ---
2
+ suite: sassy-skills
3
+ artifact: reference
4
+ generated_by: sassy-strategy@0.17.0
5
+ ---
6
+
1
7
  # Mode: write — author or revise the strategy
2
8
 
3
9
  Read the shared sections in `SKILL.md` first, and `references/strategy-format.md`
@@ -1,4 +1,7 @@
1
1
  ---
2
+ suite: sassy-skills
3
+ artifact: skill
4
+ generated_by: sassy-validate@0.17.0
2
5
  name: sassy-validate
3
6
  description: >-
4
7
  Check whether implemented work matches what a plan or stated intent expected,
@@ -33,7 +36,7 @@ Use the mode the caller passed; never pick one yourself.
33
36
 
34
37
  ## Workflow
35
38
 
36
- 1. **Intent.** Resolve the reference: a plan path plus phase (preferred), a plan path with no phase — the whole plan — or an explicit intent the user states. If none exists, ask and stop. When the reference is a plan file, read its frontmatter `status` first: `draft` → refuse, because a plan still being written has nothing implemented to validate against, and send the user back to `sassy-plan`. `active` and `done` both validate normally — a closed-out plan is exactly what a conformance check is for — and a plan with no `status` key counts as `active` (`sassy-plan`'s `references/plan-format.md` owns that rule).
39
+ 1. **Intent.** Resolve the reference: a plan path plus phase (preferred), a plan path with no phase — the whole plan — or an explicit intent the user states. A plan path resolves per the `sassy-setup` skill's `references/plan-resolution.md`, so a directory and a legacy flat file both work. If none exists, ask and stop. When the reference is a plan, read its frontmatter `status` first: `draft` → refuse, because a plan still being written has nothing implemented to validate against, and send the user back to `sassy-plan`. `active` and `done` both validate normally — a closed-out plan is exactly what a conformance check is for — and a plan with no `status` key counts as `active` (`sassy-plan`'s `references/plan-format.md` owns that rule).
37
40
  2. **Validate.** Dispatch the `validator` with that intent reference. When the caller passed `range:<base>..<head>`, hand it to the validator as the commit range to validate; otherwise the validator scopes the work itself.
38
41
  3. **Return.** In `mode:return`, return the validator's grade, evidence, and gaps as-is and stop.
39
42
  4. **Conforms?** If the grade is `Conforms`, report it and stop. If `Blocked — insufficient grounding`, report what it needs and stop — do not guess.
@@ -1,93 +1,92 @@
1
1
  ---
2
+ suite: sassy-skills
3
+ artifact: skill
4
+ generated_by: sassy-work@0.17.0
2
5
  name: sassy-work
3
6
  description: >-
4
- Execute exactly one phase of a sassy plan by delegating to sassy-cycle, then
5
- commit it (or close out via sassy-ship if it was the last). The next phase is
6
- a run of its own when the user starts one. Also runs one settled in-context
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] [review:logic|surface|none]"
7
+ Run a sassy plan — every phase then ship by default, or one phase at a time
8
+ with mode:phase — or one settled in-context brief. Delegates each phase to
9
+ sassy-cycle, commits at every phase boundary, gates on code approval plus QA,
10
+ turns feedback into a plan revision, and closes out via sassy-ship. The
11
+ orchestrator only coordinates.
12
+ argument-hint: "<plan path | brief> [mode:ship|phase] [phase:<n>] [branch:infer|current|new] [worktree:on|off] [review:logic|surface|none]"
9
13
  ---
10
14
 
11
15
  # Sassy Work
12
16
 
13
- **Outcome:** one phase run through `sassy-cycle`, findings fixed, then a single gate that carries both the code approval and the phase's QA checklist (`Manual` rows from the user, `Auto` rows from a `sassy-dogfood` report), marked `Done` only when both pass, committed via `sassy-commit`; then the run ends, or a `sassy-ship` close-out when this was the last phase.
17
+ **Outcome:** every phase not `Done` run through `sassy-cycle`, each committed at its boundary, gated on code approval plus its QA rows — and in `mode:ship`, closed out by `sassy-ship`. Feedback at a gate becomes a revision on the plan, never a pile of edits on a dirty tree.
14
18
 
15
- **Brief input** runs one cycle, presents the code approval gate, commits, and **stops before shipping**.
19
+ ## Modes
16
20
 
17
- **The orchestrator does not do work.** Read the plan, dispatch `sassy-cycle`, apply its result, update the plan's tracking table, dispatch `sassy-commit` or the snapshot, and report. Never edit application code.
21
+ | Mode | Runs | Gates | Ends with |
22
+ |---|---|---|---|
23
+ | `mode:ship` *(default)* | every phase not `Done`, in order | once, after the last phase | `sassy-ship` |
24
+ | `mode:phase` | one phase — the first not `Done`, or the one `phase:<n>` names | after that phase | a report |
18
25
 
19
- **Config.** Resolve `.sassywares/config.yaml` (nearest, walking up) per the `sassy-setup` skill's `references/config.md`. Precedence: explicit token > session instruction > config > skill default. `git.repo` decides what the phase commit does, `artifacts.plans` decides where the plan lives, `commit.branch` decides whether this run needs its own branch, and a `worktree:on|off` token answers the checkout question `branching.md` asks at step 6. The token outranks config but never widens what `worktrees.enabled` allows.
26
+ Both modes run **one process**; only the gate's position differs. `phase:<n>` is a selector, never a stopping mode: `mode:ship phase:2` starts at 2 and runs to the end, `mode:phase phase:2` runs phase 2 alone.
27
+
28
+ **The orchestrator does not do work.** Read the plan, dispatch `sassy-cycle`, dispatch the commits, follow `sassy-plan mode:revise` when a gate sends something back, and report. Never read source or edit code.
29
+
30
+ **Config.** Resolve `.sassywares/config.yaml` (nearest, walking up) per the `sassy-setup` skill's `references/config.md`. Precedence: explicit token > session instruction > config > skill default. `git.repo` decides what a phase commit does, `artifacts.plans` decides where the plan lives, `commit.branch` decides whether this run needs its own branch, and a `worktree:on|off` token answers the checkout question `branching.md` asks at step 6. The token outranks config but never widens what `worktrees.enabled` allows.
20
31
 
21
32
  **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.
22
33
 
23
34
  ## Input
24
35
 
25
- Detect the shape from the argument:
36
+ - **Plan input** — a path under `artifacts.plans`, resolved per the `sassy-setup` skill's `references/plan-resolution.md`: a directory whose `plan.md` is the plan, or a legacy flat `.md` file. Both shapes are legal forever, so never refuse one for being flat and never migrate it just to read it. Read the frontmatter `status` first: `draft` → refuse and send the user back to `sassy-plan`; `done` → refuse, because running a closed plan means reopening it through `sassy-plan`; `active` → run; no `status` key → run, since it counts as `active` (`sassy-plan`'s `references/plan-format.md` owns that rule). Take `mode:` and an optional `phase:<n>`.
37
+ - **Writing a plan is a write path.** Marking a phase `In progress` or `Done`, recording a QA result, or sealing a revision migrates a legacy flat plan first — `git mv` into `<type>-<slug>/plan.md`, `mkdir revisions/`, no other line changed — in the same commit as the write, per `plan-resolution.md`.
38
+ - **Brief input** — anything else. One settled brief, run once, never revised (see **Brief input**).
26
39
 
27
- - **Plan input** — a path to an existing `.md` file under `artifacts.plans`. Read its frontmatter `status` first: `draft` → refuse and send the user back to `sassy-plan` to finish it; `done` → refuse, because the plan was closed out and a new phase needs `sassy-plan` to reopen it; `active` → run; no `status` key at all → run, since it counts as `active` (a rule `sassy-plan`'s `references/plan-format.md` owns). Take an optional `phase:<n>`, and default to the first phase whose status is not `Done`.
28
- - **Brief input** — anything else. Treat the whole argument as the settled brief from `sassy-plan`.
29
-
30
- If a plan path is given but the file does not exist, run `sassy-plan` first and stop.
40
+ If a plan path is given but does not resolve to a plan, run `sassy-plan` first and stop.
31
41
 
32
42
  ## Review tier
33
43
 
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
-
36
- ## QA gate
44
+ 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 overrides it; 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 gate.
37
45
 
38
- Read the plan's frontmatter `qa` key and its per-phase QA table: `qa: off` means no QA gate for that plan, and no `qa` key means every phase's QA table is part of the gate. 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. When you mark a phase or write a QA row result, a plan edited in place gets `updated` set to today.
46
+ ## The process
39
47
 
40
- Rows split by `Mode`, and the split decides who can settle them:
48
+ **A commit lands at every phase boundary, before any gate.** That is what makes a revision's diff exactly the revision: feedback always arrives on a clean tree.
41
49
 
42
- - **`Manual` rows are the user's.** The agent never ticks one it did not hear confirmed: it becomes `Done` only on the user's explicit confirmation in this conversation, with their note recorded.
43
- - **`Auto` rows are proved, not opined.** Step 4 runs `sassy-dogfood` for the phase's sections before the gate, and a row becomes `Done` only from a report whose verdict is `pass`, with the run id in `Notes`. A failed run is a finding into a rework cycle; the row never becomes `Done` because the agent judged it fine.
44
- - A row failing again after its rework is `Blocked` with the reason. Rows nobody has reported on stay `Pending`, and they keep the phase `In progress`. Never infer, batch-assume, or self-certify a pass.
50
+ 1. **Load.** Read the plan and its Phase tracking table; read only the current phase's section. Resolve `mode`. If the selected phase is already `Done`, skip to the next (or stop, in `mode:phase`). If it is `In progress`, an earlier run was interrupted — ask once whether to resume at the gate or re-run its cycle, and take the answer.
51
+ 2. **Resolve the branch, before touching code.** Follow the `sassy-setup` skill's `references/branching.md` with this run's `branch:` and `worktree:` tokens. Cut it now, not at commit time. In `mode:ship` the branch is cut once and every phase commits onto it. `stop-and-ask` stops the run here. When the decision took a checkout, every brief dispatched from here names its absolute `WT_PATH` and every dogfood run uses `WT_PATH` and `WT_NAMESPACE`.
52
+ 3. **Run the cycle.** Set the phase `In progress`, then load `sassy-cycle` with: work brief = the phase's goal, work items, and `Done when`; intent reference = the plan path and phase; review tier as above. On `blocked`, set the phase `Blocked` and stop.
53
+ 4. **Commit the boundary.** The cycle's `done` is the boundary: commit the phase's code and the plan's status edit via `sassy-commit` (`branch:current`), naming the phase in the subject (`feat(auth): sign-in pages (P2)`), per `git.repo`:
54
+ - **A remote** — dispatch a `worker`: *load the `sassy-commit` skill and follow it with `branch:current`*, naming the phase's code and the plan update. It returns the hash and subject.
55
+ - **`workspace`** — a `worker` per affected repo commits on the run's shared branch, then `.sassywares/workspace/snapshot` records the plan, QA results, and docs at the root. A missing snapshot script is a blocker: say to run `sassy-setup`.
56
+ - **`none`** — nothing is persisted; report that and stop. Nothing follows an uncommitted phase.
45
57
 
46
- A brief has no QA table, so its gate is code approval alone. Never invent, enable, or disable QA. A plan's `Auto` rows exist because the project enabled them: `dogfood.enabled` and a recipe section with a `Prove it:` step, per the `sassy-setup` skill's `references/dogfood.md`. Never edit the recipe to turn a red run green — propose the diff and ask.
58
+ A boundary commit is a **checkpoint, not an acceptance**. It records what was built; whether it is accepted is the gate's decision, and `Done` is the gate's word alone.
59
+ 5. **`mode:phase` — prove and gate now.** Prove the phase's `Auto` rows with `sassy-dogfood` in `mode:run` (a `failed` verdict is a finding → back to step 3; a `class: env` verdict stops the run with the toolchain named). Then present the gate below. `mode:ship` skips this step and continues to step 1 for the next phase.
60
+ 6. **`mode:ship` — the end gate.** After the last phase, prove every `Auto` row across every phase that changed, then present one gate carrying all of them.
47
61
 
48
- ## Phase gate
62
+ ## The gate
49
63
 
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. A change the user sends back is new work: a new cycle with the change as its brief, reviewed at its detected tier, then the gate again. Failing QA rows alone are a one-pass rework. Neither is a direct edit.
64
+ Report: the plan and mode, the branch and its start point, each phase's status, what changed per phase, findings raised and what each single fix pass did with them (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 reviewers' suggestions as options the user may pick. Then give the QA checklist verbatim — row ID, check, `Mode`, for `Manual` how to run it and what passing looks like, for `Auto` the 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.
51
65
 
52
- ## Steps
66
+ Read the plan's `qa` key: `qa: off` means no QA gate, and no key means every phase's table is part of it. Never invent, enable, or disable QA. A plan's `Auto` rows exist only because `dogfood.enabled` is `true` and the row names a recipe section with a `Prove it:` step, per the `sassy-setup` skill's `references/dogfood.md`. Never edit the recipe to turn a red run green — propose the diff and ask.
53
67
 
54
- 1. **Load the phase.** Read the plan and only the selected phase's section. If it is already `Done`, stop and report.
68
+ ## Resolving the gate
55
69
 
56
- If the phase is `In progress`, an earlier run was interrupted before both gates passed. Ask one question — resume at the gate, or re-run the cycle from scratch — and take the answer. Resuming skips the cycle and goes straight to step 5, but **still resolve the branch at step 2 first**: on `reuse` it is a no-op, and on `create` it is the difference between committing on the base and not.
57
- 2. **Resolve the branch, before touching code.** Follow the `sassy-setup` skill's `references/branching.md` with this run's `branch:` and `worktree:` tokens, if any. On `create`, cut the branch now — not at commit time — so no change ever exists on a base branch. On `reuse`, stay where you are, which is how a later phase or a resumed run lands on the branch the first phase cut. On `stop-and-ask`, present the choice and wait. When the decision took a checkout, every brief dispatched from here on names its absolute `WT_PATH`, as `branching.md` requires. Carry the branch, its start point, and the checkout into every gate summary you present.
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:
59
- - work brief = the phase's goal, work items, and "Done when" criteria
60
- - intent reference = the plan path and phase
61
- - review tier = this run's `review:` token when present, else the phase's `**Review:**` line
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.
70
+ - **Code approved and every QA row passes** → write the QA results (`Manual` with the user's notes, `Auto` with the verdict and run id) and the phases' `Done` in one plan edit; commit that plan-only edit with the next boundary commit, or on its own (`chore(plan): P<n> done`) when the run ends here. In `mode:ship`, continue to the close-out; in `mode:phase`, report and stop.
71
+ - **Code approved, `Manual` rows pending** → tick nothing, mark nothing `Done`, commit nothing further. Report which rows are outstanding and the command that resumes (`sassy-work <plan> mode:phase`).
72
+ - **Changes requested** → **go through the plan, not around it.** Load `sassy-plan <plan path> mode:revise` with the user's words verbatim. It opens one revision, applies the plan lines, and returns the path. Then a new `sassy-cycle` with the revision's items as the work brief, commit the code with that revision — sealing it in the same commit — and return to the gate. Nothing is ever edited straight into the working tree, and no change is made without a revision saying what it replaced.
73
+ - **A QA row fails, with no change requested** → a rework cycle with the failing rows as findings, the phase and plan as the intent reference. On `done`, re-prove and present the gate again; a row failing twice is `Blocked` with the reason and stops the run.
63
74
 
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 path and namespace — `WT_PATH` and `WT_NAMESPACE` — 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`.
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.
66
- 6. **Resolve the gate.** Four outcomes, nothing in between:
67
- - **Code approved and every QA row passes** → go to step 7.
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.
69
- - **Changes requested** → a new cycle: load `sassy-cycle` with the requested changes as the work brief and the plan path and phase, as amended by those changes, as the intent reference. The cycle detects the change's tier and runs that tier's agents. On `done`, re-prove the `Auto` rows (step 4) and present the gate again from step 5; on `blocked`, mark the phase `Blocked` and stop. If a QA row also failed, name it in the work brief as an additional requirement. Change requests have no cap — each one is the user's call.
70
- - **A QA row fails, with no change requested** → a rework cycle: load `sassy-cycle` with the failing rows as findings and the plan path and phase as the intent reference. On `done`, re-prove the `Auto` rows (step 4) and present the gate again from step 5; on `blocked`, mark the phase `Blocked` and stop. A row that fails again after its rework is `Blocked` with the reason and stops the phase.
71
- 7. **Commit the phase.** On both gates passing, first mark the phase's QA rows `Done` — `Manual` rows with the user's notes, `Auto` rows with the verdict and run id from the report — and the phase `Done` in the Phase tracking table, then persist according to `git.repo`:
75
+ Change requests have no cap — each one is the user's call. A revision that changes a phase already `Done` is also the user's call: put that one question to them rather than reopening it yourself.
72
76
 
73
- - **A remote** — dispatch a `worker` whose task is: *load the `sassy-commit` skill and follow it with `branch:current`*, naming that the commit must include the phase's code changes, the QA table results, and the now-updated Phase tracking table. It returns the hash and subject. The branch already exists: step 2 cut it, so committing on it is the point of `branch:current` here.
74
- - **`workspace`** — dispatch a `worker` per affected repo to commit that repo's code on the run's shared branch, then run `.sassywares/workspace/snapshot` for the plan, QA results, and docs at the root. The gate's approval is the commit approval; the snapshot runs right after it and is never skipped. A missing or outdated `.sassywares/workspace/snapshot` is a blocker — say to run `sassy-setup`.
75
- - **`none`** — nothing is persisted. Report that the phase's work is uncommitted and stop; nothing follows an uncommitted phase.
77
+ ## Close-out
76
78
 
77
- Do not close out until the commit or snapshot succeeds.
78
- 8. **On commit success:**
79
- - **This was the last phase** → run the close-out: load the `sassy-ship` skill and follow it (under `commit.branch: current` ship commits and pushes, with no PR).
80
- - **Any phase is left** → report the commit and stop. Name the next phase and the command that picks it up — `sassy-work <plan>` takes the first phase that is not `Done` — and never start it in this session. Continuing, stopping for now, or choosing another executor is the user's call; do not offer or write a handoff.
79
+ In `mode:ship`, 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 to `sassy-babysit` through `sassy-ship`. The branch from step 2 already carries the work, so ship commits and opens the PR on it and never creates one. Under `commit.branch: current`, ship pushes the checked-out branch to its upstream and skips the PR, `hooks.pr.*`, babysit, and merge.
81
80
 
82
81
  ## Brief input
83
82
 
84
- When the argument is not a plan path, it is one settled brief:
83
+ When the argument is not a plan path, it is one settled brief — one cycle, not several.
85
84
 
86
- 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. Every brief dispatched from there names the absolute `WT_PATH` when the decision took a checkout.
87
- 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.
88
- 3. Present the code approval gate with no QA checklist, and wait. Changes requested → a new cycle with the changes as the work brief and the brief's decisions / done-when, as amended by those changes, as the intent reference, then this gate again; `blocked` stops.
89
- 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.
90
- 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.
85
+ 1. Resolve the branch exactly as a plan path does, before the cycle runs.
86
+ 2. Run one `sassy-cycle` with the brief as the work brief, its decisions and done-when as the intent reference, and this run's `review:` token as the tier.
87
+ 3. Commit at the boundary, with the brief's outcome as the subject.
88
+ 4. Present the code approval gate — no QA checklist, because a brief has no plan. Approve → `mode:ship` closes out through `sassy-ship`, `mode:phase` reports and stops.
89
+ 5. **A brief is never revised.** Its first change request **promotes it to a plan**: open `artifacts.plans/<type>-<slug>/plan.md` through `sassy-plan` as a one-phase plan holding the brief as P1, `status: active`, and record the request as `R01` with `sassy-plan mode:revise`. From that point it is a plan like any other, and the promotion is reported rather than assumed. This is why a brief leaves no directory behind: nothing throwaway becomes a ledger, and nothing gets revised without one.
91
90
 
92
91
  ## Hard rules
93
92
 
@@ -95,20 +94,19 @@ When the argument is not a plan path, it is one settled brief:
95
94
  |------|-------------|
96
95
  | Orchestrator only | Delegate all implementation and quality work to `sassy-cycle`. |
97
96
  | Branch before code | Resolve the branch per the `sassy-setup` skill's `references/branching.md` before the cycle runs, so no change ever lands on a base branch. |
98
- | Checkout from the branch decision | When the decision took a checkout, every brief names the absolute `WT_PATH` and the main checkout stays read-only; never restate that contract, it is `branching.md`'s. |
99
- | One phase per run | Do exactly one phase. Never continue into the next phase in this session. |
100
- | Gate before commit and close-out | Do not commit or close out until the user approves the code and the phase QA rows pass. |
101
- | Commit per phase | Commit the phase, its QA results, and the plan update via `sassy-commit` before close-out. |
102
- | 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. |
103
- | 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. |
104
- | 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. |
105
- | Send-backs split | A user's change request at the gate runs a new `sassy-cycle` at its detected tier; failing QA rows alone go through a one-pass rework. Neither is a direct edit. |
106
- | No shipping on the brief path | The brief path commits and stops. Shipping is `sassy-ship` or `sassy-lfg`. |
97
+ | Checkout from the branch decision | When the decision took a checkout, every brief names the absolute `WT_PATH` and the main checkout stays read-only; `branching.md` owns that contract. |
98
+ | Commit at every boundary | Commit each phase before any gate. A checkpoint is never an acceptance. |
99
+ | Gate before `Done` | Never mark a phase `Done` before the user approves the code and every QA row for it is `Done`. |
100
+ | Revisions, not edits | Feedback after the read-back goes through `sassy-plan mode:revise`; the plan's line, its revision file, and the code land in one commit, and a replaced line is quoted in the revision that replaced it. |
101
+ | QA rows follow their mode | Tick a `Manual` row only from the user's explicit confirmation, an `Auto` row only from a passing dogfood report; keep unreported rows `Pending`; a failed row is a finding. |
102
+ | Modes are not scopes | `mode:ship` and `mode:phase` decide where the run stops. Neither ever widens what the plan asked for. |
103
+ | One process | There is one executor. No second skill, alias, or copied step list runs a plan. |
104
+ | Handing off is the user's | Never write a handoff or suggest one. The run ends at its report. |
107
105
 
108
106
  ## Failure handling
109
107
 
110
- - `sassy-cycle` returns `blocked` → mark the phase `Blocked`, stop, report the open findings and the diagnostic.
111
- - QA stays pending, or a row fails again after its rework → keep the phase `In progress` (or `Blocked` with the reason), commit nothing, and report.
112
- - `sassy-commit` fails or leaves the phase changes uncommitted → stop and report; never close out on top of uncommitted phase work.
113
- - The validator returns **Blocked — insufficient grounding** → treat it as a real blocker; do not advance.
108
+ - `sassy-cycle` returns `blocked` → mark the phase `Blocked`, stop, report the findings and diagnostic.
109
+ - `sassy-commit` fails or leaves the phase uncommitted → stop and report; never gate, revise, or close out on top of uncommitted work.
110
+ - QA stays pending, or a row fails twice → keep the phase `In progress` (or `Blocked` with the reason) and report. Never commit a pass you did not hear or prove.
111
+ - The validator returns **Blocked — insufficient grounding** → a real blocker; do not advance.
114
112
  - Ambiguous or unsafe failure → stop and ask.
@@ -1,4 +1,7 @@
1
1
  ---
2
+ suite: sassy-skills
3
+ artifact: skill
4
+ generated_by: sassy-worktree@0.17.0
2
5
  name: sassy-worktree
3
6
  description: >-
4
7
  Run more than one agent, or more than one line of work, in the same repo: a