@sassywares/skills 0.13.1 → 0.14.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 (34) hide show
  1. package/CONCEPTS.md +16 -6
  2. package/README.md +9 -9
  3. package/package.json +1 -1
  4. package/skills/sassy-debug/SKILL.md +1 -1
  5. package/skills/sassy-docs/SKILL.md +56 -0
  6. package/skills/sassy-docs/references/handbook.md +17 -0
  7. package/skills/sassy-docs/references/review.md +54 -0
  8. package/skills/sassy-goal/SKILL.md +5 -0
  9. package/skills/sassy-goal/references/check.md +1 -1
  10. package/skills/sassy-goal/references/close.md +1 -1
  11. package/skills/sassy-goal/references/goal-format.md +13 -2
  12. package/skills/sassy-goal/references/next.md +2 -2
  13. package/skills/sassy-goal/references/write.md +7 -5
  14. package/skills/sassy-handoff/references/write.md +1 -1
  15. package/skills/sassy-lfg/SKILL.md +2 -2
  16. package/skills/sassy-plan/SKILL.md +23 -16
  17. package/skills/sassy-plan/references/interview.md +3 -1
  18. package/skills/sassy-plan/references/plan-format.md +22 -2
  19. package/skills/sassy-setup/SKILL.md +1 -1
  20. package/skills/sassy-setup/assets/roster +1 -1
  21. package/skills/sassy-setup/assets/sassywares-readme.md +6 -6
  22. package/skills/sassy-setup/references/config.md +9 -4
  23. package/skills/sassy-setup/references/harness.md +3 -2
  24. package/skills/sassy-setup/references/init.md +5 -4
  25. package/skills/sassy-setup/scripts/detect.sh +1 -1
  26. package/skills/sassy-setup/scripts/worktree-check.mjs +24 -14
  27. package/skills/sassy-ship/SKILL.md +26 -10
  28. package/skills/sassy-ship/references/brief.md +20 -0
  29. package/skills/sassy-ship/references/plan.md +20 -0
  30. package/skills/sassy-ship/references/slice.md +21 -0
  31. package/skills/sassy-validate/SKILL.md +1 -1
  32. package/skills/sassy-work/SKILL.md +1 -1
  33. package/skills/sassy-handbook/SKILL.md +0 -52
  34. /package/skills/{sassy-handbook → sassy-docs}/references/handbook-format.md +0 -0
package/CONCEPTS.md CHANGED
@@ -18,7 +18,7 @@ The exact set of paths a skill's run may create or edit, and so the exact set it
18
18
 
19
19
  ## Agent
20
20
 
21
- A specialized subagent from [sassy-agents](https://github.com/sassywares/sassy-agents), installed per harness (`~/.pi/agent/agents/`, `~/.claude/agents/`, or a project `.pi/agents/` / `.claude/agents/`) by `sassy-setup`. Skills delegate bounded work to agents such as `scout`, `worker`, `reviewer`, `simplifier`, and `validator`.
21
+ A specialized subagent from [sassy-agents](https://github.com/sassywares/sassy-agents), installed per harness (`~/.pi/agent/agents/`, `~/.claude/agents/`, `~/.hermes/agents/`, or a project `.pi/agents/` / `.claude/agents/`) by `sassy-setup`. Skills delegate bounded work to agents such as `scout`, `worker`, `reviewer`, `simplifier`, and `validator`.
22
22
 
23
23
  ## Orchestrator
24
24
 
@@ -93,6 +93,11 @@ owns the workflow; the scripts in `.sassywares/worktree/` own the git.
93
93
  `# sassywares:scaffold v1 skill=<name> version=<version> date=<YYYY-MM-DD>`.
94
94
  The `sassy-setup` skill's `references/scaffold-header.md` owns its bytes and the
95
95
  offer-only upgrade rule.
96
+ - **Toolbox** — the installed `.sassywares/worktree/` set of git-mechanics
97
+ scripts, versioned by an integer *contract* header that the project's own
98
+ wrappers are written against. That number is not the suite release a scaffold
99
+ header records, so the two are not comparable; a toolbox older than the shipped
100
+ one is drift, not an upgrade, because the wrappers call flags it never had.
96
101
  - **Managed checkout** — one under `worktrees.dir` that also carries
97
102
  `.sassywares/config.yaml`. The tooling lists and removes only those; anything
98
103
  else belongs to another tool or predates the wiring.
@@ -122,26 +127,27 @@ owns it; its `identify.sh` is the query.
122
127
 
123
128
  ## Modes
124
129
 
125
- Three shared mode tokens: `mode:manual` (default) asks at the skill's gate; `mode:auto` means pre-authorized, no review; `mode:return` reports and changes nothing. Some skills take their own modes instead: `sassy-goal`, `sassy-handoff` (`write`, `read`), `sassy-setup` (`init`, `check`), `sassy-overview` (`identify`), `sassy-worktree` (`list`, `create`, `remove`), and `sassy-skill` (`create`, `retune`, `verify`).
130
+ Three shared mode tokens: `mode:manual` (default) asks at the skill's gate; `mode:auto` means pre-authorized, no review; `mode:return` reports and changes nothing. Some skills take their own modes instead: `sassy-goal`, `sassy-docs` (`review`, `handbook`), `sassy-handoff` (`write`, `read`), `sassy-setup` (`init`, `check`), `sassy-overview` (`identify`), `sassy-worktree` (`list`, `create`, `remove`), and `sassy-skill` (`create`, `retune`, `verify`).
126
131
 
127
132
  - `sassy-ship` and `sassy-compound` accept `manual` and `auto`. Ship reviews the whole close-out in `mode:manual` and forwards `mode:auto` to compound once its own gate is answered.
128
133
  - `sassy-review`, `sassy-simplify`, and `sassy-validate` accept all three: `manual` asks which findings to fix, `auto` fixes them without asking, `return` hands the findings back to the caller.
129
134
  - `sassy-debug` accepts no mode. It always leaves ship's review gate in place.
130
135
  - `sassy-work` and `sassy-lfg` accept no mode.
131
136
  - `sassy-goal` takes its own modes, one per step of a goal: `mode:write` (default), `mode:next`, `mode:check`, and `mode:close`.
137
+ - `sassy-docs` takes `mode:review` (default), which audits the docs against a change, or `mode:handbook`, which writes one handover.
132
138
 
133
139
  Everything else is decided by the artifact, not a mode:
134
140
 
135
- - A plan document under `docs/plans/` — `<type>-<slug>.md`, with YAML frontmatter for `type`, `created`, `updated` (plus `qa: off` when the user asks for no QA gates) — drives phased execution and carries QA tables whose rows are `Auto` or `Manual`.
141
+ - A plan document under `docs/plans/` — `<type>-<slug>.md`, with YAML frontmatter for `type`, `status`, `created`, `updated` (plus `qa: off` when the user asks for no QA gates) — drives phased execution and carries QA tables whose rows are `Auto` or `Manual`.
136
142
  - An in-context brief drives one cycle and has no plan file and no QA tables.
137
143
 
138
144
  ## Plan
139
145
 
140
- A durable document under `docs/plans/<type>-<slug>.md` with frontmatter, intent, decisions, constraints, phase tracking, and per-phase QA tables.
146
+ A durable document under `docs/plans/<type>-<slug>.md` with frontmatter, intent, decisions, constraints, phase tracking, and per-phase QA tables. Its `status` is `draft` while `sassy-plan` is still grilling — the file is opened at that final path at the framing step and appended to as branches settle — `active` once the read-back is confirmed against the file, and `done` once `sassy-ship` closes it out, ship being the only writer of `done` and only when every phase row is `Done`. A plan whose phases are all `Done` but which was never shipped stays `active`: finished, not closed out, which is a real and visible state. Every executor — `sassy-work`, `sassy-lfg`, `sassy-validate`, `sassy-ship` — refuses a `draft`, and `sassy-work` and `sassy-lfg` refuse a `done` one too, since running a closed plan means reopening it through `sassy-plan`.
141
147
 
142
148
  ## Goal
143
149
 
144
- Work too big for one plan — a migration, an epic — run by `sassy-goal` as a folder under `artifacts.plans`, `<type>-<slug>/`: `goal.md` (intent, cross-slice decisions, landscape, coexistence, a slice table, carry-forward) plus one plan per started slice. It turns `done` when `mode:close` verifies its done-when against the whole tree.
150
+ Work too big for one plan — a migration, an epic — run by `sassy-goal` as a folder under `artifacts.plans`, `<type>-<slug>/`: `goal.md` (intent, cross-slice decisions, landscape, coexistence, a slice table, carry-forward) plus one plan per started slice. It turns `done` when `mode:close` verifies its done-when against the whole tree. Like a plan, it is written while it is grilled: `draft` from the framing step, `active` only after a confirmed read-back, `done` only from `mode:close` — and revising a `done` goal reopens it to `active`. `next`, `check`, and `close` all refuse a `draft`, so `before_slice` never fires for a goal that is still being written.
145
151
 
146
152
  ## Slice
147
153
 
@@ -155,9 +161,13 @@ The append-only section of `goal.md` that `mode:check` adds to once per slice: w
155
161
 
156
162
  A project skill run at a goal's boundaries, declared under `hooks.goal` and keyed by the goal's folder name under `artifacts.plans`, `<type>-<slug>` (prefix included). `before_slice` runs in `mode:next` after the previous slice's merge is confirmed and before the next slice is grilled; `after_close` runs in `mode:close` after the status is persisted, on `done` and on a goal left `active`. Neither may touch the goal itself (`goal.md`, the slice plan, the status); anything else — switching to the bases, pulling, rebasing, committing, pushing, migrating — is the project's call, provided every base ends level with its remote. `before_slice` fires before `mode:next` checks the base, so it can be what freshens it. Entries are idempotent, and both fail closed. They are not PR-keyed, so `commit.branch: current` does not suppress them, and since `sassy-goal` has no approval gate the mode's report names what ran, that none are declared, or where it stopped.
157
163
 
164
+ ## Docs
165
+
166
+ `sassy-docs` in `mode:review` (default) takes a scope — a branch, a plan, a PR, a file list, or the close-out's own work — and holds every document that change invalidated against what the change actually does: it fixes each stale claim in place, names what it could not verify or does not own, and writes a handbook when a teammate would need one. `mode:handbook` is that handbook on its own: one plain-English, toolchain-free document under `artifacts.handbooks`. It never changes behavior — a code mismatch it finds is reported, not fixed, because documents are not code. `sassy-ship` dispatches `mode:review` as its docs step.
167
+
158
168
  ## Brief
159
169
 
160
- A settled in-context brief produced by `sassy-plan` when the user picks "start working" (`sassy-work`) or "implement and ship" (`sassy-lfg`). It carries the goal, decisions, constraints, work, and done-when, but no plan file and no QA tables.
170
+ A settled in-context brief produced by `sassy-plan` when the user picks "start working" (`sassy-work`) or "implement and ship" (`sassy-lfg`). It carries the goal, decisions, constraints, work, and done-when, but no plan file and no QA tables: the plan opened during the grill is deleted when the run ends in a brief — already complete and `active` by then — because the user chose the brief over the document.
161
171
 
162
172
  ## Handoff
163
173
 
package/README.md CHANGED
@@ -31,7 +31,7 @@ It covers the whole path from a rough idea to a shipped PR, and from a bug repor
31
31
 
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
- - **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`).
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`, `mode:return` on `sassy-review`, `sassy-simplify`, and `sassy-validate`, and `mode:review`/`mode:handbook` on `sassy-docs`; work, lfg, and debug take no mode; `sassy-goal` takes one mode per step of a goal (`write`, `next`, `check`, `close`).
35
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.
@@ -50,12 +50,12 @@ That discussion settles the work, then offers a pick:
50
50
 
51
51
  ```text
52
52
  Settled. Pick one:
53
- 1. Write the plan — docs/plans/<type>-<slug>.md
53
+ 1. Keep the plan — docs/plans/<type>-<slug>.md
54
54
  2. Start working via /sassy-work
55
55
  3. Implement and ship it via /sassy-lfg
56
56
  ```
57
57
 
58
- Pick 1 to get a plan file — YAML frontmatter (`type`, `created`, `updated`, plus `qa: off` when you ask for a plan with no QA gates) plus intent, decisions, and per-phase QA tables. Plan then asks again with just the other two — start working on it, or implement and ship it — or you stop there and run it later, one phase at a time:
58
+ The plan file is written **while** you talk, not after: `/sassy-plan` opens `docs/plans/<type>-<slug>.md` as `status: draft` with every section heading in place, and appends each decision as its branch settles — so a compaction or a dead session costs the conversation, not the ledger. `status` flips to `active` at the confirmed read-back, before the picker ever appears, and Pick 1 keeps it. Frontmatter is `type`, `status`, `created`, and `updated` (plus `qa: off` when you ask for a plan with no QA gates); the body carries intent, decisions, and per-phase QA tables. Picks 2 and 3 delete the plan and carry the brief in context instead. Keeping it asks again with just the other two — start working on it, or implement and ship it — or you stop there and run it later, one phase at a time:
59
59
 
60
60
  ```text
61
61
  /sassy-work docs/plans/feat-add-workspace-invitations.md
@@ -86,8 +86,8 @@ Debugging:
86
86
 
87
87
  | Skill | What it does |
88
88
  |---|---|
89
- | **`sassy-plan`** | Grills you one question at a time through every branch of the work — pushing back, assuming nothing, sketching UI on request — until nothing is open, then offers three choices: write the plan, start working via `sassy-work`, or implement and ship via `sassy-lfg`. |
90
- | **`sassy-goal`** | Runs a project too big for one plan — a migration, an epic — as a goal split into slices that each ship something complete. `mode:write` (default) grills and writes the goal, `mode:next` plans the next slice via `sassy-plan`, `mode:check` validates a shipped slice and carries its lessons forward, `mode:close` verifies the whole goal. You run every step. |
89
+ | **`sassy-plan`** | Grills you one question at a time through every branch of the work — pushing back, assuming nothing, sketching UI on request — until nothing is open, then offers three choices: keep the plan, start working via `sassy-work`, or implement and ship via `sassy-lfg`. The file is written as you talk, `status: draft` until the read-back is confirmed. |
90
+ | **`sassy-goal`** | Runs a project too big for one plan — a migration, an epic — as a goal split into slices that each ship something complete. `mode:write` (default) grills and writes the goal, `mode:next` plans the next slice via `sassy-plan`, `mode:check` validates a shipped slice and carries its lessons forward, `mode:close` verifies the whole goal. You run every step. The goal is `draft` while it is grilled and `active` only after a confirmed read-back; `next`, `check`, `close`, and a slice's `sassy-plan` all refuse a draft. |
91
91
  | **`sassy-scout`** | Grounds an area on demand and writes the shared grounding brief other agents read instead of re-exploring. |
92
92
  | **`sassy-overview`** | Answers what a project is and how it runs — stack, runner, install, up, down, test, compose, env, wired — by inspecting files, read-only and with the source file for every value. `unknown` when the project hasn't said, and exit `3` so a caller branches instead of guessing. |
93
93
  | **`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. |
@@ -114,7 +114,7 @@ Each does one job and takes `mode:manual` (default: ask which to fix), `mode:aut
114
114
 
115
115
  | Skill | What it does |
116
116
  |---|---|
117
- | **`sassy-ship`** | Compound learnings, optional handbook, commit, PR, and babysit (under `commit.branch: current`: commit and push, no PR). Review gate in `mode:manual` (default), skipped by `mode:auto`. |
117
+ | **`sassy-ship`** | Compound learnings, bring the docs in line (`sassy-docs mode:review`), commit, PR, and babysit (under `commit.branch: current`: commit and push, no PR). Review gate in `mode:manual` (default), skipped by `mode:auto`. Resolves whether it is closing a plan, a goal slice, or a brief once, then follows that target's own rules; it is the only writer of a plan's `status: done`. |
118
118
  | **`sassy-commit`** | Creates a local commit with a clear message. No push, no PR. |
119
119
  | **`sassy-commit-push-pr`** | Commits, pushes, opens or updates a PR, and babysits by default. |
120
120
  | **`sassy-babysit`** | Watches a PR until it looks merge-ready or blocked. |
@@ -124,7 +124,7 @@ Each does one job and takes `mode:manual` (default: ask which to fix), `mode:aut
124
124
  | Skill | What it does |
125
125
  |---|---|
126
126
  | **`sassy-compound`** | Records a solved problem as a durable repo learning. Takes `mode:manual` or `mode:auto`; ship passes `mode:auto` after its own gate. |
127
- | **`sassy-handbook`** | Writes a plain-English team handbook with mermaid diagrams. |
127
+ | **`sassy-docs`** | `mode:review` (default) audits every document against a change — README, concepts, `AGENTS.md`, plans, handbooks — and fixes or names each stale claim. `mode:handbook` writes a plain-English team handbook with mermaid diagrams. |
128
128
 
129
129
  ### Meta
130
130
 
@@ -338,7 +338,7 @@ flowchart LR
338
338
  L -->|approve or mode:auto| M[Commit, PR, babysit]
339
339
  ```
340
340
 
341
- 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.
341
+ Option 1 keeps the durable plan — phased slices, QA tables, and a change tier per phase. Options 2 and 3 delete the draft plan the interview wrote and keep the whole job as one settled in-context brief.
342
342
 
343
343
  `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.
344
344
 
@@ -364,7 +364,7 @@ flowchart LR
364
364
  I --> J[Goal done, rides the last PR]
365
365
  ```
366
366
 
367
- A goal is a folder under `artifacts.plans` — `<type>-<slug>/` — holding `goal.md` and one plan per started slice (`01-<slice>.md`, `02-…`). `mode:write` grounds every affected domain once, grills only goal-level branches — slice boundaries and order, coexistence, the goal's done-when, non-goals — and pushes back on any slice that would leave a half-built layer. Each slice's plan is grilled only when `mode:next` starts it, with the goal's decisions and every carry-forward entry already settled; before that grill, and once the previous slice's merge is confirmed, `mode:next` runs the project's `before_slice` steps. The slice then runs the usual work or lfg → ship path on its own branch (`feat/<goal>/<NN-slice>`, with `<goal>` the goal folder minus its `<type>-` prefix — `feat-offline-reads/` → `feat/offline-reads/02-cached-list`); ship marks it `Shipped` and babysits the PR without merging, so the check can still land in it.
367
+ A goal is a folder under `artifacts.plans` — `<type>-<slug>/` — holding `goal.md` and one plan per started slice (`01-<slice>.md`, `02-…`). `mode:write` grounds every affected domain once, grills only goal-level branches — slice boundaries and order, coexistence, the goal's done-when, non-goals — and pushes back on any slice that would leave a half-built layer. Each slice's plan is grilled only when `mode:next` starts it, with the goal's decisions and every carry-forward entry already settled; before that grill, and once the previous slice's merge is confirmed, `mode:next` runs the project's `before_slice` steps. The slice then runs the usual work or lfg → ship path on its own branch (`feat/<goal>/<NN-slice>`, with `<goal>` the goal folder minus its `<type>-` prefix — `feat-offline-reads/` → `feat/offline-reads/02-cached-list`); ship marks the slice plan `done` and the slice `Shipped`, and babysits the PR without merging, so the check can still land in it. Ship never closes the goal itself — `goal.md`'s `status: done` is `mode:close`'s to write, after every slice has been checked.
368
368
 
369
369
  `mode:check` runs on the slice branch before the PR merges: it validates the whole slice plan against the branch's commits, and every gap is fixed now, deferred to a named later slice, or accepted with a reason. It appends the slice's carry-forward entry, marks it `Done` with its PR link, and pushes `goal.md` into the same PR. After the last slice, `mode:close` checks the goal's done-when against the whole tree and marks the goal `done` in the last PR, then runs the project's `after_close` steps once the status is persisted. One slice is in flight at a time, and nothing chains on its own.
370
370
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sassywares/skills",
3
- "version": "0.13.1",
3
+ "version": "0.14.0",
4
4
  "description": "Lean, explicit-invocation Agent Skills for shipping fast: plan, work, review, validate, ship.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -86,7 +86,7 @@ Report the diagnosis and stop. Nothing is committed.
86
86
 
87
87
  ## Phase 3 — Ship via `sassy-ship`
88
88
 
89
- After work's code approval and commit, load the `sassy-ship` skill and follow it, leaving ship's default `mode:manual` review gate in place. Do not pass a mode yourself. Ship presents its shipping summary and waits. It compounds any learnings, commits, opens or updates the PR, and babysits it via `sassy-babysit` (under `commit.branch: current` it commits and pushes the checked-out branch instead, with no PR, hooks, or babysit). Babysit options (`merge:on|off`, `delete-branch:on|off`) are forwarded through `sassy-ship`. Run only the steps the user approves.
89
+ After work's code approval and commit, load the `sassy-ship` skill and follow it, leaving ship's default `mode:manual` review gate in place. Do not pass a mode yourself. Ship presents its shipping summary and waits. It compounds any learnings, brings the docs in line with the change, commits, opens or updates the PR, and babysits it via `sassy-babysit` (under `commit.branch: current` it commits and pushes the checked-out branch instead, with no PR, hooks, or babysit). Babysit options (`merge:on|off`, `delete-branch:on|off`) are forwarded through `sassy-ship`. Run only the steps the user approves.
90
90
 
91
91
  If the fix gate ended in **Write a plan**, **Hand off**, or **Stop here**, this skill stops there — never commit.
92
92
 
@@ -0,0 +1,56 @@
1
+ ---
2
+ name: sassy-docs
3
+ description: >-
4
+ Keep a project's documents true after the code moves, and write the team's
5
+ handover handbooks. mode:review (default) finds every document a change
6
+ invalidated — README, concepts, AGENTS.md, plans, handbooks — reports what is
7
+ stale, and fixes it; mode:handbook writes a plain-English, self-contained
8
+ developer handbook handing a feature to the team. Use when a feature lands,
9
+ when docs may be outdated, before a close-out, or when asked for a handbook,
10
+ handover notes, or a team reference.
11
+ argument-hint: "[mode:review|handbook] [plan path, topic, branch, or file list]"
12
+ ---
13
+
14
+ # Sassy Docs
15
+
16
+ **Outcome:** `mode:review` — every document the named scope invalidated either corrected or named as outstanding, with the stale claim quoted. `mode:handbook` — one team-readable handbook under the configured handbooks path that any teammate can follow without knowing which agent, skill, or setup produced the work.
17
+
18
+ **Documents, not code.** This skill never changes behavior. A code fix it uncovers is reported, and belongs to `sassy-cycle` through the caller.
19
+
20
+ **Config.** Resolve `.sassywares/config.yaml` (nearest, walking up) per the `sassy-setup` skill's `references/config.md`. Handbooks land in `artifacts.handbooks`; the review's document set starts from `artifacts.*` and `knowledge.read`.
21
+
22
+ **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.
23
+
24
+ ## Modes
25
+
26
+ | Mode | Load | Runs | It ends with |
27
+ |---|---|---|---|
28
+ | `review` (default) | `references/review.md` | after work lands, before a close-out, or on any request to check the docs | a verdict table, every stale claim fixed or named |
29
+ | `handbook` | `references/handbook.md` | a feature that needs a human handover, or a direct request | one handbook created or updated, with its absolute path |
30
+
31
+ Omitted, detect the mode from the request: an ask for a handbook, handover, or team reference is `handbook`; anything that reads like "are the docs still right" is `review`. Read the one reference for that mode **and only that one**, and `references/handbook-format.md` only when you are writing a handbook.
32
+
33
+ ## Hard rules
34
+
35
+ | Rule | Requirement |
36
+ |------|-------------|
37
+ | Truth over coverage | A document that is silent about a user-visible change is as stale as one that is wrong. Both get fixed or named. |
38
+ | Never rewrite | Fix the claim, not the document. Every edit is the smallest one that makes the sentence true, and provenance in a learning or decision survives it. |
39
+ | Fix or name | Nothing stale leaves the run unaccounted for: it is fixed, or it is reported with its file, line, and what is wrong. |
40
+ | Grounded | Paths, types, commands, and behaviors match the tree you can read now. Soften or drop a claim you cannot verify, and say which. |
41
+ | No behavior changes | A source file is never edited here. Report the fix and let the caller route it. |
42
+ | Handbook has no toolchain | Never name skills, slash-commands, agents, or "run X then Y" recipes in a handbook. Say what to check in the app or in code. |
43
+ | One handbook per topic | Update the existing one rather than spawning a near-duplicate. |
44
+ | Honest status | In any document this skill writes: distinguish **done**, **in progress**, and **still to do**. Never write as if unfinished work shipped. |
45
+
46
+ ## Locations
47
+
48
+ ```text
49
+ <artifacts.handbooks>/<kebab-topic>-handbook.md
50
+ ```
51
+
52
+ No dates in the filename, and an existing handbook keeps its name when updated. `mode:review` edits documents where they live; its write boundary is every document the scope invalidated, and no source file.
53
+
54
+ ## Non-goals
55
+
56
+ Not durable gotcha learnings (`sassy-compound`), not implementation plans (`sassy-plan`), and not shipping code.
@@ -0,0 +1,17 @@
1
+ # Mode: handbook — write the team's handover
2
+
3
+ Read this before writing a handbook. The shape, the diagrams, and the voice rules live in `references/handbook-format.md`; read that too, and only when you are actually writing.
4
+
5
+ **When it is warranted.** A teammate who did not do the work would benefit from a handover: a multi-phase or multi-slice change, a new subsystem, a feature that changes how the app is built or extended. Skip it for small or tightly-coupled changes, and say in one line that you skipped it. A handbook that restates one paragraph of README is worse than none.
6
+
7
+ ## Workflow
8
+
9
+ 1. **Gather.** The plan, goal, or topic the caller named, plus a light tree check of every path and type the handbook will claim. Open the real files; never invent. Delegate heavy reading to `sassy-scout` when the change is large, and take the change summary from a `mode:review` run when the caller already did one.
10
+ 2. **Create or update.** No handbook for this topic → create `<topic>-handbook.md`. An existing one that is stale → update it in place and refresh **As of**. The user pointed at a path → edit that file.
11
+ 3. **Write.** Read `references/handbook-format.md` and write in that shape, with mermaid diagrams where they clarify rather than decorate.
12
+ 4. **Voice scrub.** Remove skill names, phase IDs, QA gate tables, and jargon piles, per that reference. What to check in the app or in code — never "run X then Y".
13
+ 5. **Ground and report.** Confirm each cited path exists, or mark it planned. Confirm every status matches reality — **done**, **in progress**, **still to do**, never a blurred "mostly there". Report the absolute path, created vs updated, and anything left unverified.
14
+
15
+ ## Write boundary
16
+
17
+ Only the configured handbooks path, creating it when missing. Never rewrite the source plan or goal: the handbook is a reading of them, and if they disagree with the tree, that disagreement is a finding for the caller, not something to paper over in the handbook.
@@ -0,0 +1,54 @@
1
+ # Mode: review — keep the documents true
2
+
3
+ Read this before auditing anything. It runs on a scope the caller named — a branch or diff range, a plan, a PR, a topic, or a file list — and it reports and fixes documents. It never changes behavior.
4
+
5
+ ## 1. Take the scope
6
+
7
+ The documents to check are the project's declared ones plus everything the change invalidated:
8
+
9
+ - `artifacts.plans`, `artifacts.solutions`, `artifacts.handbooks`, `artifacts.concepts`, from the config.
10
+ - `README.md` and `AGENTS.md` at the repo root, when they describe behavior rather than intent.
11
+ - The plan, goal, or handbook that drove the work, when the caller named one or a scope points at it.
12
+
13
+ A scope of changed paths is not enough on its own: the diff names what moved, and the documents that *describe* those paths are usually unchanged by it. Take the changed paths for the concrete cases, then follow each one to the document that makes a claim about it.
14
+
15
+ ## 2. Read the change before judging a document
16
+
17
+ Dispatch a worker — or use the summary the caller already gave — to state what the change does in a user's terms: commands added or removed, config keys and defaults, flags, environment variables, outputs, file layout, requirements, install and update steps. Never audit a document against your guess at the change: the guess and the document disagree for the wrong reason.
18
+
19
+ ## 3. Audit each document against that summary
20
+
21
+ One question per claim: **is this still true, and does it still describe everything that changed?** Work the rows that go stale fastest:
22
+
23
+ | Surface | What to read for |
24
+ |---|---|
25
+ | Install, update, removal | Steps that no longer work, or a new step nobody wrote down |
26
+ | Commands, keys, flags, defaults | A renamed or removed token, an unmentioned new one |
27
+ | Environment and requirements | A new dependency, a changed minimum, a removed variable |
28
+ | Outputs and paths | A moved file, a renamed script, a different report shape |
29
+ | Examples | A worked example that would now fail if a reader ran it |
30
+ | Skill and capability tables | A skill added, renamed, or removed and a table that still lists the old set |
31
+ | Workflow narrative | Prose describing the old order of steps, or a diagram that contradicts the body |
32
+
33
+ A document silent about a user-visible change fails this audit exactly like a wrong sentence does. Silence is the commoner bug and the harder one to see, because nothing looks broken.
34
+
35
+ ## 4. Fix or name
36
+
37
+ - **Fix in place**, with the smallest edit that makes the claim true. Never rewrite a document to make it easier to review: provenance in a decision, a learning, or a carry-forward entry is the reason the file exists.
38
+ - **A document owned elsewhere** — another repo, a vendored copy, a generated file — is named, not edited.
39
+ - **A source file** is never touched. Report the mismatch: the document says X, the code does Y.
40
+ - **A claim you cannot verify** stays in the report as unverified. Never quietly soften a sentence you did not check.
41
+
42
+ ## 5. Verdict
43
+
44
+ Return a table and one line, and nothing else:
45
+
46
+ ```text
47
+ | Document | Claim | Stale | Outcome |
48
+ |---|---|---|---|
49
+ | README.md:141 | a config key described against its old owner | yes | fixed |
50
+ | CONCEPTS.md | Goal statuses omit `draft` | yes | fixed |
51
+ | docs/handbooks/sync-handbook.md:22 | cites a removed helper | yes | reported — owned by another repo |
52
+ ```
53
+
54
+ `docs in sync` when nothing is outstanding, otherwise `N documents need a human` with each one named in the table. The caller decides what to do about a reported item; this mode never blocks on one.
@@ -28,6 +28,8 @@ argument-hint: "<idea | goal path> [mode:write|next|check|close] [slice:<ID>]"
28
28
 
29
29
  A goal is the folder `<artifacts.plans>/<type>-<slug>/`: `goal.md` plus one plan per started slice, named `NN-<slice-slug>.md` where `NN` matches the slice ID (`S1` → `01-`). Slice plans are ordinary sassy plans. `references/goal-format.md` owns the `goal.md` format, the slice statuses, and the template — read it before writing or revising `goal.md`.
30
30
 
31
+ `goal.md` carries its own frontmatter `status` — `draft` while it is being written, `active` once it is settled, `done` once it is verified — and `references/goal-format.md` owns which mode writes each and which modes read it. A goal is written while it is grilled: `mode:write` creates it as `draft` and appends a section per settled branch, so the file, not the conversation, is the ledger. Only the confirmed read-back flips it to `active`.
32
+
31
33
  Slice statuses run `Pending` > `Planned` > `Shipped` > `Done`, plus `Blocked`. `mode:next` sets `Planned`, `sassy-ship` sets `Shipped` (and babysits the slice PR without merging), `mode:check` sets `Done` and records the PR link.
32
34
 
33
35
  ## Modes
@@ -41,6 +43,8 @@ Slice statuses run `Pending` > `Planned` > `Shipped` > `Done`, plus `Blocked`. `
41
43
 
42
44
  Resolve the mode: an explicit `mode:` token wins. With none, it is `write` — an idea creates a goal, a path to an existing goal folder or `goal.md` revises it. Read the one reference for that mode **and only that one**.
43
45
 
46
+ **Every mode reads the goal's `status` before it does anything else.** `write` owns `draft` and is the only mode that may open one. `next`, `check`, and `close` refuse a `draft` goal and send the user back to `mode:write` — `next` before the `before_slice` hooks and the base check, so a half-written goal can never fire a project's hook, and never gets a slice planned against it.
47
+
44
48
  ```text
45
49
  write → next → work/lfg → ship → check → next → … → ship → check → close
46
50
  ```
@@ -73,6 +77,7 @@ write → next → work/lfg → ship → check → next → … → ship → che
73
77
  | Writing never implements | `mode:write` and `mode:next` produce documents only. Fixes in check and close go through `sassy-cycle`. |
74
78
  | Complete slices | Push back on any slice that does not ship a working outcome on its own; re-cut it before the goal is written. |
75
79
  | One slice in flight | Never plan a slice while another is `Planned` or `Shipped`. No parallel slices. |
80
+ | Draft is never sliceable | `next`, `check`, and `close` read `status` first and refuse a `draft` goal, sending the user back to `mode:write`. Only `write` opens a draft, and only a confirmed read-back flips it to `active`. |
76
81
  | Plan at slice start | A slice's plan is grilled and written only when `mode:next` starts it — never upfront. |
77
82
  | Settled stays settled | The goal's decisions and every carry-forward entry reach each slice grill as settled; they are never re-asked. |
78
83
  | Carry-forward is append-only | One entry per checked slice; never edit or remove an earlier one. |
@@ -2,7 +2,7 @@
2
2
 
3
3
  Runs on the slice branch after `sassy-ship`, before the PR merges, so whatever it changes rides in the same PR.
4
4
 
5
- 1. **Precondition.** Read `goal.md` and find the slice (`slice:<ID>`, else the one `Shipped`). It must be `Shipped`, and every phase in its plan's Phase tracking table must be `Done`. Otherwise stop and say what is due — unfinished phases need `sassy-work` or `sassy-lfg`, an unshipped slice needs `sassy-ship`.
5
+ 1. **Precondition.** Read `goal.md`. If its status is `draft`, stop: a goal still being written has no shipped slice to check, and it goes back to `/sassy-goal <goal path> mode:write`. Then find the slice (`slice:<ID>`, else the one `Shipped`). It must be `Shipped`, its plan must not be `draft` — a shipped slice always has a finished plan — and every phase in its plan's Phase tracking table must be `Done`. Otherwise stop and say what is due — unfinished phases need `sassy-work` or `sassy-lfg`, an unshipped slice needs `sassy-ship`.
6
6
 
7
7
  Then dispatch a probe `worker` to run the `sassy-setup` skill's `scripts/detect.sh --branch` (no `--policy`), returning `state` and `head`, and `gh pr view <head> --json state,url,baseRefName`. Outside `commit.branch: current`:
8
8
  - `state` must be `on-branch` — the slice branch. Anything else → stop and tell the user to check out the slice branch.
@@ -2,7 +2,7 @@
2
2
 
3
3
  Runs on the last slice's branch after its `mode:check`, before its PR merges, so `status: done` rides in the last PR.
4
4
 
5
- 1. **Precondition.** Read `goal.md`. Every slice must be `Done`. Then dispatch a probe `worker` to return:
5
+ 1. **Precondition.** Read `goal.md`. If its status is `draft`, stop: a goal that was never finished cannot be verified, and it goes back to `/sassy-goal <goal path> mode:write`. Every slice must be `Done`. Then dispatch a probe `worker` to return:
6
6
  - the `sassy-setup` skill's `scripts/detect.sh --branch` (no `--policy`) `state` and `head`;
7
7
  - `gh pr view <head> --json state,url` for the last slice's PR;
8
8
  - `gh pr view <url> --json state` for every earlier slice's PR link.
@@ -27,7 +27,15 @@ Slice plans keep `NN-<slice-slug>.md` (written via `out:`). `NN` is the slice's
27
27
  Required keys, in this order, and nothing else:
28
28
 
29
29
  - **`type`** — one of the list above, matching the folder prefix.
30
- - **`status`** — `active` | `done`.
30
+ - **`status`** — `draft` | `active` | `done`. Each transition has exactly one writer, and no mode sets a status it does not own:
31
+
32
+ | Status | Set by | Means | Read by |
33
+ |---|---|---|---|
34
+ | `draft` | `mode:write`, when the file is created | Being grilled. Nothing may slice it | `mode:next`, `mode:check`, `mode:close`, and `sassy-plan` in caller mode refuse it and send the user back to `mode:write` |
35
+ | `active` | `mode:write`, immediately after the confirmed read-back, or in the first edit that reopens a `done` goal | Settled. Slices may run | `mode:next` |
36
+ | `done` | `mode:close`, once the done-when is verified against the whole tree | Verified as a whole | `mode:write`, which sets it back to `active` when the goal is revised |
37
+
38
+ Revising an `active` goal never returns it to `draft`: `mode:write` updates it in place and leaves it `active`. `draft` means a goal that has never been finished, and nothing else.
31
39
  - **`created`** — `YYYY-MM-DD`, the day the goal was first written; never changes.
32
40
  - **`updated`** — `YYYY-MM-DD`; set to today on every material revision, in the same edit. `mode:write`, `mode:next`, `mode:check`, and `mode:close` all set it whenever they edit the file.
33
41
 
@@ -41,6 +49,9 @@ The H1 title stays: frontmatter does not render on GitHub, so the heading is wha
41
49
  - **Every slice ships something complete.** A slice that leaves a half-built layer — a schema nobody reads, an API nobody calls — is not a slice. Re-cut it until each one ships a working outcome on its own.
42
50
  - **Carry-forward is append-only.** One entry per checked slice, added by `mode:check`, never edited afterward. Later slices read it as settled ground; a correction is a new entry.
43
51
  - **Done slices are history.** A revision never re-cuts, renumbers, or rewrites a `Done` slice or its plan.
52
+ - **Written while it is grilled.** `mode:write` creates the folder and `goal.md` with `status: draft` and every section heading in place before the first question, then appends each section as its branch settles — the section order above is the interview order, so the file grows top to bottom. Creating it first and filling it as you go is what keeps the ledger in the file rather than only in the conversation, where a compaction erases it.
53
+ - **Append, never rewrite.** Once the file exists, the only permitted operations are: append a section or a row; replace a single superseded decision in the same turn the user reopens it; set `updated`; and flip `status`. A full-file rewrite is forbidden — it costs the run quadratically, and worse, it replaces the text the user actually confirmed with a fresh paraphrase. If a branch is reopened, the old bullet goes in the same edit, or the file keeps two answers and the later one is a guess.
54
+ - **`draft` is the first thing written and the last thing that leaves.** A goal exists with an unsettled status at no point, and it turns `active` only after the read-back is confirmed — never mid-grill, and never to unblock a slice.
44
55
 
45
56
  ## Slice statuses
46
57
 
@@ -59,7 +70,7 @@ Order: `Pending` > `Planned` > `Shipped` > `Done`. Only one slice is ever `Plann
59
70
  ```markdown
60
71
  ---
61
72
  type: feat
62
- status: active
73
+ status: draft
63
74
  created: YYYY-MM-DD
64
75
  updated: YYYY-MM-DD
65
76
  ---
@@ -2,7 +2,7 @@
2
2
 
3
3
  **One slice in flight.** This mode starts exactly one slice by planning it. It never implements, never plans a second slice, and never runs work or lfg itself.
4
4
 
5
- 1. **Load the goal.** Read `goal.md`. If its status is `done`, say so and stop. The run may still stand on the previous slice's branch here; step 6 settles the base.
5
+ 1. **Load the goal, and gate on its status first.** Read `goal.md`. `draft` → stop here, before the hooks, before the base check, and before the grill: the goal is still being written and nothing may slice it. Say so and give `/sassy-goal <goal path> mode:write` to finish it. `done` → say so and stop. The draft gate comes first on purpose — a half-written goal must never fire a project's `before_slice` hook or plan a slice against itself. The run may still stand on the previous slice's branch here; step 6 settles the base.
6
6
  2. **Nothing in flight.** If any slice is `Planned` or `Shipped`, stop and name what is due: a `Planned` slice needs `sassy-work` or `sassy-lfg` on its plan, a `Shipped` slice needs `mode:check`.
7
7
  3. **Earlier slices merged.** Every `Done` slice's PR must be merged before the next slice starts, or the new slice is built on code that may still change. Dispatch a `worker` to check each PR with `gh pr view <url> --json state` and return the states. Under `commit.branch: current`, `git.repo: workspace`, or `git.repo: none` — or when a slice has no PR link — ask the user to confirm instead. Anything unmerged → stop and say which PR must merge first.
8
8
  4. **Pick the slice.** The first `Pending` slice whose Depends are all `Done`. A `slice:<ID>` token overrides the pick, but its Depends must still be `Done`; a slice that is not `Pending` is a stop. No eligible slice → if every slice is `Done`, point at `mode:close`; otherwise report what blocks each `Pending` slice and stop.
@@ -15,7 +15,7 @@
15
15
  - **`out:<goal folder>/NN-<slice-slug>.md`**, with `NN` from the slice ID
16
16
  - **frontmatter** — `type:<the goal's type>`, `goal:<path to goal.md, relative to the slice plan>`, `slice:S<n>`; the slice plan's `type` is what names its branch prefix
17
17
 
18
- `sassy-plan` grills the slice in full — this is where its detail gets decided — writes the plan to that path, skips its picker, and returns the path.
18
+ `sassy-plan` grills the slice in full — this is where its detail gets decided — with the plan opened at that path as `draft`, appending each section as its branch settles and flipping it to `active` at the confirmed read-back; it skips its picker and returns the path.
19
19
 
20
20
  **Interrupted run.** If an `NN-*.md` for this slice already exists while the slice is still `Pending`, an earlier run stopped after writing it. Pass that file to `sassy-plan` as the `out:` path and the existing plan, so it updates it in place per its existing-plan rule instead of re-grilling from scratch. A resumed run re-fires the `before_slice` hooks, which is why they must be idempotent.
21
21
  8. **Mark it `Planned`.** In the slice table set the slice `Planned` and the Plan cell to the plan link. Commit nothing. The plan and `goal.md` ride onto the slice's branch when `sassy-work` or `sassy-lfg` cuts it. Their commits name the plan, not `goal.md`, so the `Planned` mark stays uncommitted on the slice branch until `sassy-ship`'s step 4 commit, which sets it `Shipped`.
@@ -4,7 +4,7 @@
4
4
 
5
5
  ## New goal (the argument is an idea)
6
6
 
7
- 1. **Frame.** Restate the goal in one or two sentences — the outcome and why it needs more than one plan. Ask the user to confirm or correct it, and what they are already thinking.
7
+ 1. **Frame, then create the file.** Restate the goal in one or two sentences — the outcome and why it needs more than one plan. Ask the user to confirm or correct it, and what they are already thinking. On the confirmed frame, pick `<type>` and `<slug>` per `references/goal-format.md` and create `<artifacts.plans>/<type>-<slug>/goal.md`: frontmatter with `status: draft`, `created` and `updated` today, and every section heading from the template, empty — each slice row `Pending`, Carry-forward's one-line note in place. Create it before the first branch question. The file is the ledger; a ledger that lives only in the conversation is what a compaction erases, and this is the mode where that costs the most.
8
8
  2. **Ground once, broadly.** Use `sassy-scout` on every domain the goal touches, in one run. Its brief feeds Landscape — what changes per domain, where (with `file:line` citations), and the blast radius — and seeds Risks and Coexistence. Do not re-scout per slice here; each slice's grill grounds its own detail.
9
9
  3. **Grill, bounded to the goal.** Read the `sassy-plan` skill's `references/interview.md` and follow it — the ledger, one question per turn with your recommendation, pushback, the read-back — but walk only goal-level branches:
10
10
  - the domains in scope, and the non-goals
@@ -14,16 +14,18 @@
14
14
  - decisions that bind more than one slice
15
15
 
16
16
  Anything a single slice can settle alone — UI states, a table's columns, a helper's shape — goes to Deferred as *to S<n>'s grill*, with the user's agreement. Run the coverage sweep only against these goal-level rows; the rest are N/A until their slice starts.
17
+
18
+ **Append as you settle.** After each branch closes, write it into its section in the same turn the user confirms it: a decision to Decisions with its provenance, a non-goal to Constraints, a slice to both Slice tracking and Slices, a deferral to Deferred, an assumption to Assumptions. Never batch them for the end, and never restate a section that is already written — you are growing the file, not regenerating it.
17
19
  4. **Push back on incomplete slices.** Every slice must ship a working outcome on its own. A "schema first, API next, UI last" cut is the half-built layer this skill exists to prevent: challenge it with the evidence and offer a vertical re-cut (e.g. "one screen end to end on the new store"). Concede only to an argument or the user's explicit call, and record that call as `user-directed`.
18
- 5. **Read back.** The whole ledger — decisions, constraints, the slice list with Ships / Depends, deferred items, assumptions — with an empty Open bucket. A correction reopens that branch.
19
- 6. **Write.** Read `references/goal-format.md` and write `<artifacts.plans>/<type>-<slug>/goal.md` with `status: active`, every slice `Pending`, and an empty Carry-forward.
20
+ 5. **Read back from the file.** Show the whole ledger — decisions, constraints, the slice list with Ships / Depends, deferred items, assumptions — with an empty Open bucket, and take it from `goal.md` rather than from memory. That is what writing as you go buys: the text the user confirms is already the text the file holds. A correction reopens that branch, and it replaces that line in the same edit, never alongside it.
21
+ 6. **Settle — and only then flip.** Check the file against the confirmed read-back before touching its status: every decision present with its provenance, no Open item anywhere, a line for every coverage-sweep area that applies, every slice carrying Ships and Depends. Then set `status: active` and `updated` to today in the same edit. That flip is the only thing that makes the goal sliceable, so it comes after the check, never before it — and never mid-grill to unlock a slice.
20
22
 
21
23
  ## Existing goal (the argument is a goal folder or `goal.md`)
22
24
 
23
- 1. Read `goal.md`. If its status is `done`, say so and stop unless the user asks to reopen it.
25
+ 1. Read `goal.md`, and let its status decide the run. `draft` → an earlier run stopped mid-grill: resume at its first empty section, and re-ask nothing it already settled. `active` → an ordinary revision, and it stays `active`. `done` → say so and stop, unless the user asks to reopen it, in which case the first edit sets `status: active`.
24
26
  2. Ask what changed, then grill **only the delta** with the same protocol: re-cut, add, drop, or reorder slices, or change a goal-level decision, Done-when item, or constraint. Everything else already in `goal.md` is settled ground.
25
27
  3. Keep history intact. `Done` slices, their plans, and every Carry-forward entry stay exactly as written. A `Planned` or `Shipped` slice is in flight: changing it is a contradiction to raise with the user, never a silent edit. New slices take the next free ID, so existing plan filenames never move.
26
- 4. Apply the same pushback on incomplete slices, read back the delta, then update `goal.md` in place.
28
+ 4. Apply the same pushback on incomplete slices, read back the delta from the file, then update `goal.md` in place — appending and replacing single lines, never rewriting the file.
27
29
 
28
30
  ## End
29
31
 
@@ -22,7 +22,7 @@
22
22
  4. **Hand it to the user.** Report the absolute path, then one fenced, copyable command in the running harness's syntax (per `references/harness.md`):
23
23
 
24
24
  ```text
25
- /sassy-handoff mode:read <absolute path> # Claude Code
25
+ /sassy-handoff mode:read <absolute path> # Claude Code, Hermes Agent
26
26
  /skill:sassy-handoff mode:read <absolute path> # pi
27
27
  ```
28
28
 
@@ -9,7 +9,7 @@ argument-hint: "<plan path | brief> [branch:infer|current|new] [worktree:on|off]
9
9
 
10
10
  # Sassy LFG
11
11
 
12
- **Outcome:** every phase in the plan run through `sassy-cycle`, then one gate that carries the code approval and every phase's QA checklist (`Manual` rows from the user, `Auto` rows from a `sassy-dogfood` report), phases marked `Done` only when both pass, then `sassy-ship` closes it out (compound, handbook, commit, PR, babysit; under `commit.branch: current`, commit and push with no PR). A brief runs one cycle through the same gate, then ships.
12
+ **Outcome:** every phase in the plan run through `sassy-cycle`, then one gate that carries the code approval and every phase's QA checklist (`Manual` rows from the user, `Auto` rows from a `sassy-dogfood` report), phases marked `Done` only when both pass, then `sassy-ship` closes it out (compound, docs, commit, PR, babysit; under `commit.branch: current`, commit and push with no PR). A brief runs one cycle through the same gate, then ships.
13
13
 
14
14
  **The orchestrator does not do work.** Read the plan, dispatch `sassy-cycle` per phase, then `sassy-ship`. Never edit application code. Keep the main context small — all heavy work happens in subagents.
15
15
 
@@ -21,7 +21,7 @@ argument-hint: "<plan path | brief> [branch:infer|current|new] [worktree:on|off]
21
21
 
22
22
  Detect the shape from the argument:
23
23
 
24
- - **Plan input** — a path to an existing `.md` file under `artifacts.plans`.
24
+ - **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 running it again 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).
25
25
  - **Brief input** — anything else. Treat the whole argument as the settled brief from `sassy-plan`.
26
26
 
27
27
  If nothing is passed and no plan exists, run `sassy-plan` first and use what the user picks there.
@@ -1,18 +1,18 @@
1
1
  ---
2
2
  name: sassy-plan
3
3
  description: >-
4
- Grill the user relentlessly about a piece of work, walking every branch of the
5
- decision tree until nothing is assumed or open, then let the user choose:
6
- write a plan document, start working via sassy-work, or implement and ship
7
- via sassy-lfg.
8
- Sketches UI on request. No modes, no QA flags. Use when asked to brainstorm,
9
- scope, plan, or create a phased plan.
4
+ Grill the user relentlessly about a piece of work, walking every branch of
5
+ the decision tree until nothing is assumed or open, then let the user choose:
6
+ keep the plan it has been writing, start working via sassy-work, or implement
7
+ and ship via sassy-lfg. The plan file is written while the interview runs.
8
+ Sketches UI on request. No QA flags. Use when asked to brainstorm, scope,
9
+ plan, or create a phased plan.
10
10
  argument-hint: "[feature description, requirements, or idea to scope] [out:<plan path>]"
11
11
  ---
12
12
 
13
13
  # Sassy Plan
14
14
 
15
- **Outcome:** a decision ledger with zero open items — every branch of the work resolved by the user, explicitly delegated by them, or explicitly deferred by them — then the user's explicit choice from three options: write a plan document, start working via `sassy-work`, or implement and ship via `sassy-lfg`.
15
+ **Outcome:** a decision ledger with zero open items — every branch of the work resolved by the user, explicitly delegated by them, or explicitly deferred by them — then the user's explicit choice from three options: keep the plan document, start working via `sassy-work`, or implement and ship via `sassy-lfg`. The ledger is written into the plan file as the grill runs, so the file — not the conversation — is the record, and a compaction mid-interview costs nothing.
16
16
 
17
17
  **Does not implement.** Planning never implements. Execution belongs to `sassy-work` or `sassy-lfg`, and only after the user picks.
18
18
 
@@ -27,22 +27,27 @@ argument-hint: "[feature description, requirements, or idea to scope] [out:<plan
27
27
  - **Explore before asking.** What the repo can answer, look up and cite.
28
28
  - **Push back** with evidence. Concede to an argument or the user's explicit call, never to fatigue.
29
29
  - **No exit with open branches.** Only a ledger with zero open items, or the user explicitly ending the interview, reaches the picker.
30
+ - **Write as you grill.** The plan file is opened at its final path, as `status: draft`, before the second settled branch, and each branch appends its section as it closes. A plan that exists only in the conversation is a plan a compaction can erase — which is the whole reason the draft exists. `references/plan-format.md` owns the section order and the permitted operations.
31
+ - **Append, never rewrite.** Once the file exists, only appends, single-line replacements of superseded decisions, and the `status` flip are permitted. A full-file rewrite costs the run quadratically and replaces what the user confirmed with a fresh paraphrase. Reopening a branch replaces its line in the same edit.
32
+ - **A draft is not a plan.** It is never handed to an executor. `sassy-work`, `sassy-lfg`, `sassy-validate`, and `sassy-ship` all refuse `status: draft`, and only the confirmed read-back flips it to `active`.
30
33
 
31
34
  ## Phase A — Grill
32
35
 
33
36
  **Read `references/interview.md` first.** It owns the ledger, how to ask, the pushback lenses, the coverage sweep, and the read-back; this is only the order.
34
37
 
35
- 1. **Frame.** Restate the goal in one or two sentences; ask the user to confirm or correct it, and what they are already thinking.
38
+ 1. **Frame, then open the draft.** Restate the goal in one or two sentences; ask the user to confirm or correct it, and what they are already thinking. On the confirmed frame, pick `<type>` and `<slug>` per `references/plan-format.md` and create the plan file at its final path — under a caller's `out:<path>`, exactly that path — with the frontmatter (`status: draft`, `created` and `updated` today) and every section heading from the template, empty. Opening it before the grill is the point: the ledger lives in the file from here on.
36
39
  2. **Ground.** Use `sassy-scout` on the area; it returns a gist and a brief path. A relevant prior learning becomes a decision the plan cites, or a pushback if it contradicts the user's direction.
37
40
  3. **Map.** Show the decision tree as the open ledger, in dependency order. The user can add, cut, or reorder.
38
41
  4. **Walk.** Resolve branches parents first, adding new ones as answers open them. Where a branch has several plausible directions, present 2–3 approaches — one non-obvious — before recommending.
39
- 5. **Sweep and read back.** Run the coverage sweep and integration check, then the read-back.
42
+ 5. **Sweep, then read back from the file.** Run the coverage sweep and integration check against what the file holds, then read back by rendering the file rather than your memory: decisions with provenance, constraints, deferred items, assumptions, and an empty Open bucket. A correction replaces its line in the same edit. Only a read-back confirmed from that file flips `status` to `active`, with `updated` set to today in the same edit — the check comes before the flip, never after it.
40
43
 
41
44
  **UI work.** At the first layout, state, flow, or interaction-shape decision, say once that you can sketch it; when the user asks, read `references/sketches.md`.
42
45
 
43
46
  ## Caller-set output
44
47
 
45
- A caller that owns where the plan goes — `sassy-goal` planning a slice, for one — passes `out:<path>`. Grill exactly as usual, then read `references/plan-format.md`, write the plan to exactly that path, skip the picker entirely, and return the path to the caller. The caller owns the name and the frontmatter's `type`, `goal`, and `slice` keys; the path it passes wins over every naming rule in the format. Do not offer `sassy-work` or `sassy-lfg`; the caller hands those over. Anything the caller passes as settled enters the ledger as settled, with its provenance, and is never re-asked.
48
+ A caller that owns where the plan goes — `sassy-goal` planning a slice, for one — passes `out:<path>`. Grill exactly as usual and skip the picker entirely: the plan is written to exactly that path as the grill runs, and the path is returned to the caller. The caller owns the name and the frontmatter's `type`, `goal`, and `slice` keys; the path it passes wins over every naming rule in the format. Do not offer `sassy-work` or `sassy-lfg`; the caller hands those over. Anything the caller passes as settled enters the ledger as settled, with its provenance, and is never re-asked.
49
+
50
+ The draft discipline is unchanged under `out:`: the file is opened at that exact path as `draft`, appended to as branches settle, and flipped to `active` only on the confirmed read-back. **If the caller is a goal slice, read the parent `goal.md`'s `status` first and refuse a `draft` goal** — a goal still being written has no settled slice boundary to plan against. Report it and send the caller back to `/sassy-goal <goal path> mode:write`.
46
51
 
47
52
  ## The picker
48
53
 
@@ -50,16 +55,18 @@ Only when the read-back is confirmed with zero open items — and no `out:` was
50
55
 
51
56
  ```text
52
57
  Settled. Pick one:
53
- 1. Write the plan — <artifacts.plans>/<type>-<slug>.md
58
+ 1. Keep the plan — <artifacts.plans>/<type>-<slug>.md
54
59
  2. Start working via sassy-work
55
60
  3. Implement and ship it via sassy-lfg
56
61
  ```
57
62
 
63
+ The plan file already exists and is already `active` — the confirmed read-back flipped it — so option 1 keeps it rather than writing it, and options 2 and 3 delete it: they take the in-context brief, and a plan left behind would be a document nobody chose to keep. Say that in one line when presenting the picker.
64
+
58
65
  The user must pick explicitly. There is no default and no auto-selection. If no human is present to answer (rare, e.g. a scripted invocation), take option 2 and say so; every branch you resolved without the user is recorded as an assumption, never as a decision.
59
66
 
60
- ### Option 1 — Write the plan
67
+ ### Option 1 — Keep the plan
61
68
 
62
- Read `references/plan-format.md` and write the plan — its frontmatter and the per-phase QA tables that format defines — with each row's `Mode` decided the way that format says. Then report the absolute path and offer the remaining two options, now run on the plan file:
69
+ The plan is already written and already `active`. Verify it against the confirmed read-back — every decision with its provenance, no Open item, a row for every coverage-sweep area that applies — fix any line that does not match in place, bump `updated` if you changed one, and report the absolute path. Then offer the remaining two options, now run on the plan file:
63
70
 
64
71
  ```text
65
72
  Plan written to <absolute path>. Pick one, or stop here:
@@ -71,11 +78,11 @@ Wait for the user. A pick loads that skill with the plan path as its argument
71
78
 
72
79
  ### Option 2 — Start working via `sassy-work`
73
80
 
74
- Load the `sassy-work` skill with the settled brief as the work brief and its decisions / done-when as the intent reference. No plan file is written. It stops before ship.
81
+ Delete the draft plan file. Load the `sassy-work` skill with the settled brief as the work brief and its decisions / done-when as the intent reference. No plan file is kept for the run. It stops before ship.
75
82
 
76
83
  ### Option 3 — Implement and ship it via `sassy-lfg`
77
84
 
78
- Load the `sassy-lfg` skill the same way: the settled brief as the work brief, its decisions / done-when as the intent reference. No plan file is written.
85
+ Delete the draft plan file. Load the `sassy-lfg` skill the same way: the settled brief as the work brief, its decisions / done-when as the intent reference. No plan file is kept for the run.
79
86
 
80
87
  ## QA
81
88
 
@@ -91,6 +98,6 @@ Every phase also carries a `**Review:**` line — `logic`, `surface`, or `none`
91
98
 
92
99
  ## Resume
93
100
 
94
- If the user points at an existing sassy plan, update phases, tables, and `updated` in place (`created` never changes). 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.
101
+ If the user points at an existing sassy plan, update phases, tables, and `updated` in place (`created` never changes), and let its `status` decide how: `draft` → an earlier run stopped mid-grill, so resume at its first empty section and re-ask nothing it already settled; `active` → an ordinary revision; `done` → the plan was closed out and shipped, so a revision reopens it by setting `status: active` in the first edit. 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.
95
102
 
96
103
  Decisions already settled earlier in the conversation, or passed in by a caller as settled, carry forward per `references/interview.md`; never re-ask them.
@@ -6,6 +6,8 @@ Read this before the first question. It is how Phase A grills: the ledger, the q
6
6
 
7
7
  The ledger is the decision tree made visible. Keep it current and show it whenever it changes shape — at the map, after a branch opens new children, and at the read-back.
8
8
 
9
+ **It is a file, not a transcript.** The ledger is persisted in the document being written — the draft plan file for `sassy-plan`, `goal.md` for `sassy-goal`'s `mode:write` — from the first settled branch onward, and showing it means rendering what the file already holds. That is the whole point: an interview that keeps its ledger only in the conversation loses it to a compaction, and a model that lost it will reconstruct decisions rather than admit it. `sassy-plan`'s `references/plan-format.md` and `sassy-goal`'s `references/goal-format.md` own the section order and the permitted operations; both forbid a full-file rewrite.
10
+
9
11
  ```text
10
12
  Open
11
13
  - O1: Who can send invitations? (blocks O3)
@@ -82,6 +84,6 @@ Before the read-back, walk this list against the settled tree. Every applicable
82
84
 
83
85
  ## Read-back
84
86
 
85
- Show the whole ledger: decisions with provenance, constraints, non-goals, deferred items, assumptions — and an empty Open bucket. Ask one question: is this complete and correct? A correction reopens that branch and the walk resumes there. Only a confirmed read-back with zero open items reaches the picker.
87
+ Show the whole ledger: decisions with provenance, constraints, non-goals, deferred items, assumptions — and an empty Open bucket. Ask one question: is this complete and correct? Render it from the file, not from memory: what the user confirms has to be what the document says, or the confirmation buys nothing. A correction reopens that branch, replaces its line in the same edit, and the walk resumes there. Only a confirmed read-back with zero open items lets the run proceed — to the status flip, and then the picker.
86
88
 
87
89
  If the user ends the interview early, every open item moves to Assumptions with your recommended answer, the user sees that list, and the picker follows. That is their explicit call, not your shortcut.
@@ -14,9 +14,20 @@ The filename is the plan's identity: `<artifacts.plans>/<type>-<slug>.md` for a
14
14
 
15
15
  ## The frontmatter
16
16
 
17
- Keys, in this order: `type`, `created`, and `updated` are required; `qa` is optional.
17
+ Keys, in this order: `type`, `status`, `created`, and `updated` are required; `qa` is optional.
18
18
 
19
19
  - **`type`** — matches the filename prefix and names the commit type the work will ship as. For a standalone plan the prefix must equal it; for a slice plan it equals the parent `goal.md`'s `type`, which the caller passes.
20
+ - **`status`** — `draft` | `active` | `done`. Each transition has exactly one writer, and no executor sets a status it does not own:
21
+
22
+ | Status | Set by | Means | Read by |
23
+ |---|---|---|---|
24
+ | `draft` | `sassy-plan`, at the framing step | Being grilled. Nothing may run on it | `sassy-work`, `sassy-lfg`, `sassy-validate`, and `sassy-ship` refuse it and send the user back to `sassy-plan` |
25
+ | `active` | `sassy-plan`, immediately after the confirmed read-back | Settled. The executors may run | `sassy-work`, `sassy-lfg` |
26
+ | `done` | `sassy-ship`, in the commit that closes the plan out | Closed out | `sassy-ship` does not close it twice; `sassy-work` and `sassy-lfg` refuse it; `sassy-plan` resume sets it back to `active` |
27
+
28
+ `done` records that the close-out ran. A plan earns it with no separate verification pass: a plan is one co-located piece of work whose per-phase code approval and QA tables already gate it, which is why anything multi-slice is a goal instead. A plan whose phases are all `Done` but which was never closed out stays `active` — that is the honest reading, and the file says it without anyone having to ask.
29
+
30
+ **A plan with no `status` key predates this contract** — including every plan written before it existed. Treat it as `active`: it was written to run, and refusing it would strand work the suite already shipped. The next edit that touches it adds the key.
20
31
  - **`created`** — `YYYY-MM-DD`, the day the plan was first written; never changes.
21
32
  - **`updated`** — `YYYY-MM-DD`; a revision sets it to today in the same edit, and every executor that writes a phase status or a QA row result bumps it too.
22
33
 
@@ -26,9 +37,17 @@ Slice plans add `goal` (relative path to the parent `goal.md`) and `slice` (the
26
37
 
27
38
  The H1 title stays: frontmatter does not render on GitHub, so the heading is what a reader sees.
28
39
 
40
+ ## Written while the interview runs
41
+
42
+ The plan is written at its final path while the grill is still running, as `status: draft`: the frontmatter and every section heading first, then each section appended as its branch settles. The file grows in the section order above, which is the interview's own order.
43
+
44
+ Once it exists, the only permitted operations are: append a section, a row, or a decision; replace a single superseded decision in the same turn the user reopens it; set `updated`; and flip `status` on the confirmed read-back. A full-file rewrite is forbidden — it costs the run quadratically, and it swaps the text the user confirmed for a fresh paraphrase, which is the one thing the draft exists to prevent. When the user reopens a branch, the old bullet goes in the same edit as the new one.
45
+
46
+ The draft is deleted, not shipped, when the run ends without a plan: the picker's `sassy-work` and `sassy-lfg` options take the in-context brief and delete the file — already `active` by then, since the confirmed read-back is what flipped it. Only the plan option keeps it.
47
+
29
48
  ## No open questions
30
49
 
31
- The plan has no open-questions section. Every branch the interview found is a decision, a deferred item, or an assumption — copy the ledger as it stood at the confirmed read-back. If you find an open branch while writing, stop and ask it before the file lands.
50
+ The plan has no open-questions section. Every branch the interview found is a decision, a deferred item, or an assumption — the file already holds the ledger as it stood at the confirmed read-back. If you find an open branch while appending, stop and ask it before that branch's line goes in.
32
51
 
33
52
  ## Phase splitting rules
34
53
 
@@ -79,6 +98,7 @@ The user may ask in plain language for a plan with no QA gates, in which case om
79
98
  ```markdown
80
99
  ---
81
100
  type: feat
101
+ status: draft
82
102
  created: YYYY-MM-DD
83
103
  updated: YYYY-MM-DD
84
104
  ---
@@ -59,7 +59,7 @@ comment and all. Drift blocks step 8.
59
59
  - **`workspace`** — nothing to commit: the root is not a repo, and `references/workspace.md` forbids running the snapshot here. Say the root config and the pin land with the project's next snapshot.
60
60
  - **`none`** — nothing to commit, deliberately.
61
61
 
62
- 9. **Report.** The config path, the topology, the resolved artifact and knowledge paths, the lifecycle — the two paths `worktrees.create` and `worktrees.remove` name, or one line saying the built-in is used because the keys are absent, with no suggestion attached — whether agent QA is **off** — one line saying every QA row stays a human's, with no suggestion attached — or on, and then whether the recipe is ready or still a skeleton until `sassy-dogfood mode:discover` runs, where the skills are installed (scope) and where the agents are (scope and harness), or why either is not, the commit (hash and branch) or why there is none, and in `workspace` mode what was installed, with versions (`snapshot vN`, `workspace-git vN`), and where the `worktree:*` / `workspace:*` aliases went, or that none were wired because the project has no command-building file to put them in — naming the scripts' path instead, since that is how they are run either way. Remind: `/reload` so the harness rescans. Close with what is left over — at most dirt setup deliberately did not commit — and nothing else: a clean setup leaves the user good to go.
62
+ 9. **Report.** The config path, the topology, the resolved artifact and knowledge paths, the lifecycle — the two paths `worktrees.create` and `worktrees.remove` name, or one line saying the built-in is used because the keys are absent, with no suggestion attached — whether agent QA is **off** — one line saying every QA row stays a human's, with no suggestion attached — or on, and then whether the recipe is ready or still a skeleton until `sassy-dogfood mode:discover` runs, where the skills are installed (scope) and where the agents are (scope and harness), or why either is not, the commit (hash and branch) or why there is none, and in `workspace` mode what was installed, with versions (`snapshot vN`, `workspace-git vN`), and where the `worktree:*` / `workspace:*` aliases went, or that none were wired because the project has no command-building file to put them in — naming the scripts' path instead, since that is how they are run either way. Remind the harness's reload step (`/reload` in pi; a new session elsewhere) so it rescans. Close with what is left over — at most dirt setup deliberately did not commit — and nothing else: a clean setup leaves the user good to go.
63
63
 
64
64
  ## Hard rules — every mode
65
65
 
@@ -4,9 +4,9 @@ sassy-commit-push-pr
4
4
  sassy-compound
5
5
  sassy-cycle
6
6
  sassy-debug
7
+ sassy-docs
7
8
  sassy-dogfood
8
9
  sassy-goal
9
- sassy-handbook
10
10
  sassy-handoff
11
11
  sassy-lfg
12
12
  sassy-overview
@@ -21,17 +21,17 @@ npx skills experimental_install # restore exactly what the project
21
21
  Refreshing the suite is your decision — nothing here updates itself. With both
22
22
  scopes installed, Claude Code runs the user-scope copy.
23
23
 
24
- `.agents/skills/` is read by pi and Cursor; Claude Code reads `.claude/skills/` only, which is why those links exist. After any change, reload your harness (`/reload` in pi, a new session in Claude Code).
24
+ `.agents/skills/` is read by pi and Cursor; Claude Code reads `.claude/skills/` only, which is why those links exist. After any change, reload your harness (`/reload` in pi, a new session in Claude Code and Hermes Agent).
25
25
 
26
26
  ## Agents
27
27
 
28
28
  The skills dispatch five subagents by name — `scout`, `worker`, `reviewer`,
29
29
  `simplifier`, `validator` — from [sassy-agents](https://github.com/sassywares/sassy-agents),
30
- one folder per harness (`pi/`, `claude/`). They live either in the harness's
31
- user directory (`~/.pi/agent/agents/`, `~/.claude/agents/`, linked by
32
- `sassy-agents/scripts/install.sh <harness>`) or in this project's
33
- `.pi/agents/` / `.claude/agents/`. `sassy-setup` checks for them and offers to
34
- install them when missing.
30
+ one folder per harness (`pi/`, `claude/`, `hermes/`). They live either in the
31
+ harness's user directory (`~/.pi/agent/agents/`, `~/.claude/agents/`,
32
+ `~/.hermes/agents/`, linked by `sassy-agents/scripts/install.sh <harness>`) or
33
+ in this project's `.pi/agents/` / `.claude/agents/` — Hermes has user scope
34
+ only. `sassy-setup` checks for them and offers to install them when missing.
35
35
 
36
36
  ## Missing skills
37
37
 
@@ -101,7 +101,7 @@ dogfood:
101
101
  |-----|---------|---------|
102
102
  | `artifacts.plans` | `docs/plans` | Where `sassy-plan` writes plans, and where `sassy-goal` keeps goal folders (`<type>-<slug>/goal.md` plus slice plans) |
103
103
  | `artifacts.solutions` | `docs/solutions` | Where `sassy-compound` writes learnings |
104
- | `artifacts.handbooks` | `docs/handbooks` | Where `sassy-handbook` writes handbooks |
104
+ | `artifacts.handbooks` | `docs/handbooks` | Where `sassy-docs` writes handbooks, and one of the document sets its review walks |
105
105
  | `artifacts.concepts` | `CONCEPTS.md` | The glossary file compound maintains |
106
106
  | `knowledge.read` | `[docs/solutions, CONCEPTS.md]` | Paths scouted for prior learnings |
107
107
  | `knowledge.write` | `true` | `false` = this project takes no learnings |
@@ -180,7 +180,7 @@ without asking, so the version line is how staleness surfaces.
180
180
  | Step | remote | `workspace` | `none` |
181
181
  |------|--------|-------------|--------|
182
182
  | plan, cycle, work, review, validate | normal | normal | normal |
183
- | compound, handbook | normal | normal, at the root | normal |
183
+ | compound, docs | normal | normal, at the root | normal |
184
184
  | commit | `git commit` | no `git commit`; run the snapshot | refused, one line |
185
185
  | PR, ship's PR step, babysit | normal | per affected repo (below) | refused, one line |
186
186
  | snapshot | not used | the commit mechanism | not used |
@@ -586,8 +586,13 @@ report layout, the verdict classes, and the lint are in
586
586
  exact line to delete, and the lifecycle now lives in the two script keys.
587
587
  - `worktrees.enabled` is `true` or `false`. A checkout must resolve outside the
588
588
  working tree and must not hold a branch `base_map` names as a base. An
589
- `enabled: true` with no tooling installed, or with the wrong tooling version,
590
- is drift.
589
+ `enabled: true` with no tooling installed is drift, and so is an older tooling
590
+ set than the one this skill ships: a stale set lacks the flags and helpers the
591
+ project's own create/remove scripts were written against, so a run stops
592
+ mid-operation. `--check` names it stale and then lists every file that differs
593
+ or is no longer shipped; the fix is re-running setup. A set carrying a *newer*
594
+ header is drift too, reported file by file without the stale wording — it
595
+ works, it is simply not the set this skill ships.
591
596
  - `commit.branch` is `current` or `new`; `pr.*` are `true` or `false`. Write
592
597
  booleans as `true`/`false`, never `on`/`off` — bare `on`/`off` are YAML 1.1
593
598
  booleans and parse inconsistently.
@@ -12,10 +12,10 @@ A missing sibling means the suite is incomplete: stop and point at `sassy-setup`
12
12
 
13
13
  ## Dispatching an agent
14
14
 
15
- "Dispatch a `worker`" (or `scout`, `reviewer`, `simplifier`, `validator`) means: start that [sassy-agents](https://github.com/sassywares/sassy-agents) subagent by name through the harness's own mechanism — the `subagent` tool in pi, the Agent tool with that agent type in Claude Code. "In parallel" means several dispatches in one turn.
15
+ "Dispatch a `worker`" (or `scout`, `reviewer`, `simplifier`, `validator`) means: start that [sassy-agents](https://github.com/sassywares/sassy-agents) subagent by name through the harness's own mechanism — the `subagent` tool in pi, the Agent tool with that agent type in Claude Code, `delegate_task` in Hermes Agent with `~/.hermes/agents/<name>.md`'s body, frontmatter stripped, as the child's context. "In parallel" means several dispatches in one turn.
16
16
 
17
17
  - **Agent not installed** — stop and point at `sassy-setup`, which installs the roster for the running harness. Never substitute a generic agent silently.
18
- - **Cannot dispatch** — you are yourself a subagent and the harness does not let subagents dispatch (Claude Code), or the harness has no subagents at all. Do that step inline with the same brief and constraints, and say in your result that it ran inline. Never skip it.
18
+ - **Cannot dispatch** — you are yourself a subagent and the harness does not let subagents dispatch (Claude Code; in Hermes Agent a child cannot call `delegate_task`), or the harness has no subagents at all. Do that step inline with the same brief and constraints, and say in your result that it ran inline. Never skip it.
19
19
 
20
20
  ## Commands the user types
21
21
 
@@ -25,6 +25,7 @@ Skills tell the user what to run next. Write the command for the harness you are
25
25
  |---|---|---|
26
26
  | pi | `/skill:<name> <args>` | `/reload` |
27
27
  | Claude Code | `/<name> <args>` | restart the session |
28
+ | Hermes Agent | `/sassy-plan <args>` | a new session for the `/` menu; a skill is read from disk on every load, so a changed file takes effect immediately |
28
29
 
29
30
  For any other harness, give the skill name and its arguments and let the user invoke it their way.
30
31
 
@@ -56,15 +56,16 @@ Both install the same way: report the scope if the pieces are present, otherwise
56
56
  |---|---|---|---|
57
57
  | pi | `pi/` | `~/.pi/agent/agents/` | `.pi/agents/` |
58
58
  | Claude Code | `claude/` | `~/.claude/agents/` | `.claude/agents/` |
59
+ | Hermes Agent | `hermes/` | `~/.hermes/agents/` | — (user scope only) |
59
60
 
60
- A harness with no row has no folder in sassy-agents: say so, skip the agents, and name it in the report. Never translate another harness's folder by hand.
61
+ A harness with no row has no folder in sassy-agents: say so, skip the agents, and name it in the report. Never translate another harness's folder by hand. Hermes Agent has no project-scope agent directory, so its row has none: install user scope, or set `HERMES_AGENTS_DIR` when the roster lives somewhere else.
61
62
 
62
- **Installed** means all five `<name>.md` files exist in the user scope or the project scope.
63
+ **Installed** means all five `<name>.md` files exist in the user scope or the project scope — user scope alone where the harness has no project scope.
63
64
 
64
65
  - **User scope** — every project on this machine, updated by `git pull`. Reuse the user's sassy-agents checkout if they have one; otherwise ask where to clone it (`git clone https://github.com/sassywares/sassy-agents.git <dir>`). Then run `<dir>/scripts/install.sh <folder>`, which symlinks the folder into the user scope and never overwrites a differing file.
65
- - **Project scope** — only this project, pinned with it. Shallow-clone into its own `mktemp -d` under `/tmp/sassywares/scratch/` (two runs share that folder now, per `references/harness.md`), copy `<folder>/*.md` into the project scope directory, delete the clone. Never overwrite an existing agent file that differs: show it and ask. The copies join step 8's commit list.
66
+ - **Project scope** — only this project, pinned with it. Shallow-clone into its own `mktemp -d` under `/tmp/sassywares/scratch/` (two runs share that folder now, per `references/harness.md`), copy `<folder>/*.md` into the project scope directory, delete the clone. Never overwrite an existing agent file that differs: show it and ask. The copies join step 8's commit list. A harness with no project scope (Hermes Agent) gets no project install: user scope or nothing, said plainly in the report.
66
67
 
67
- - **Tell the user to `/reload`** (or restart the harness). The skills and agents are invisible to the harness until it rescans.
68
+ - **Tell the user the harness's reload step** — `/reload` in pi, a new session in Claude Code and Hermes Agent. A harness that has not rescanned does not see new or changed skills and agents.
68
69
 
69
70
  ## 6. Install the git tooling
70
71
 
@@ -855,7 +855,7 @@ artifacts:
855
855
  EOF
856
856
  kv plans "$PLANS" 34 '# sassy-plan writes plans here'
857
857
  kv solutions "$SOLUTIONS" 34 '# sassy-compound writes learnings here'
858
- kv handbooks "$HANDBOOKS" 34 '# sassy-handbook writes handovers here'
858
+ kv handbooks "$HANDBOOKS" 34 '# sassy-docs writes handbooks here'
859
859
  kv concepts "$CONCEPTS" 34 '# the glossary sassy-compound maintains (a file)'
860
860
  cat <<EOF
861
861
 
@@ -11,10 +11,12 @@
11
11
  // state file records it and no second hash definition exists.
12
12
  //
13
13
  // The shipped set is four files — _lib.sh, create, list, remove. `prune` is
14
- // gone. A v12 install is therefore stale by construction, and its hash cannot
15
- // match: that is an upgrade, not tampering, so the version header earns its
16
- // one job here — an older header is reported as a note and the caller proceeds
17
- // to reinstall. An equal header whose hashes differ is still drift.
14
+ // gone, so an older install is stale by construction and its hash cannot match.
15
+ // That is not tampering, but it is not harmless either: the project's own
16
+ // create/remove scripts are written against the set this skill ships, and an
17
+ // older one lacks the flags and helpers they call, so a run stops mid-operation
18
+ // where no check is watching. A stale set is therefore drift, never a shrugged
19
+ // "upgrade": named once as stale, then by file.
18
20
  //
19
21
  // Usage: worktree-check.mjs --installed DIR --shipped DIR
20
22
  // Prints "<drift|note>\t<message>" per finding and always exits 0: the caller
@@ -69,17 +71,16 @@ const headerVersion = (dir) => {
69
71
 
70
72
  const installedVersion = headerVersion(installed);
71
73
  const shippedVersion = headerVersion(shipped);
72
- if (
74
+
75
+ // A lower header than the shipped one is the stale case: the set installed is
76
+ // not the set the project's scripts were written against, so they stop mid-run
77
+ // on a flag it never had. A higher header is not stale — a newer set works, it
78
+ // is simply not the one this skill ships — so it reports through the file walk
79
+ // alone and never borrows the "falls over" wording.
80
+ const stale =
73
81
  installedVersion !== null &&
74
82
  shippedVersion !== null &&
75
- installedVersion < shippedVersion
76
- ) {
77
- note(
78
- `worktree tooling is v${installedVersion}; this skill ships v${shippedVersion} — an upgrade, not drift — re-run setup, then delete .sassywares/worktree/prune, which v${shippedVersion} no longer ships`,
79
- );
80
- console.log(lines.join("\n"));
81
- process.exit(0);
82
- }
83
+ installedVersion < shippedVersion;
83
84
 
84
85
  // Walk each side once: the hash is the verdict and the same arrays name which
85
86
  // bytes moved, so the per-file report cannot contradict the folder hash.
@@ -97,6 +98,12 @@ if (got === want) {
97
98
  process.exit(0);
98
99
  }
99
100
 
101
+ // Verdict first, evidence after: the stale line says what it costs, and the walk
102
+ // below names the files so the report cannot be read as vague.
103
+ if (stale) {
104
+ drift("worktree setup is stale — it goes off mid-run, not here; re-run setup");
105
+ }
106
+
100
107
  const byPath = (files) => new Map(files.map((file) => [file.path, file.body]));
101
108
  const installedByPath = byPath(installedFiles);
102
109
  const shippedByPath = byPath(shippedFiles);
@@ -108,9 +115,12 @@ for (const [path, body] of shippedByPath) {
108
115
  drift(`.sassywares/worktree/${path} differs from the shipped copy — re-run setup`);
109
116
  }
110
117
  }
118
+ // A file this skill no longer ships is left over from an older set, and the
119
+ // `_lib.sh` helpers it calls went with it — so it is not merely untidy, it is a
120
+ // command that cannot work.
111
121
  for (const path of installedByPath.keys()) {
112
122
  if (!shippedByPath.has(path)) {
113
- drift(`.sassywares/worktree/${path} is not shipped by this skill — remove it, or re-run setup`);
123
+ drift(`${path} is retired and its helpers went with it — it cannot run; re-run setup`);
114
124
  }
115
125
  }
116
126
 
@@ -1,18 +1,18 @@
1
1
  ---
2
2
  name: sassy-ship
3
3
  description: >-
4
- Close out approved work: capture learnings, write a handover handbook when
5
- warranted, then commit, open a PR, and babysit it (under
4
+ Close out approved work: capture learnings, bring the docs in line with the
5
+ change, then commit, open a PR, and babysit it (under
6
6
  `commit.branch: current`, commit and push only). Every heavy step is
7
7
  delegated to subagents. Default `mode:manual` presents a shipping summary and
8
8
  waits before anything is written, committed, pushed, or opened. `mode:auto`
9
9
  runs the close-out with no review.
10
- argument-hint: "<plan path or topic> [steps:compound,handbook,commit,pr,babysit] [base:<branch>] [merge:on|off] [delete-branch:on|off] [mode:manual|auto]"
10
+ argument-hint: "<plan path or topic> [steps:compound,docs,commit,pr,babysit] [base:<branch>] [merge:on|off] [delete-branch:on|off] [mode:manual|auto]"
11
11
  ---
12
12
 
13
13
  # Sassy Ship
14
14
 
15
- **Outcome:** qualifying learnings captured, a handbook written when warranted, the change committed — or snapshotted, in a workspace — a PR opened or updated, and the PR babysat to looks-merge-ready or blocked. Under `commit.branch: current` there is no PR: the commit is pushed to the checked-out branch's upstream and the close-out ends there.
15
+ **Outcome:** qualifying learnings captured, the project's docs brought in line with the change, the change committed — or snapshotted, in a workspace — a PR opened or updated, and the PR babysat to looks-merge-ready or blocked. Under `commit.branch: current` there is no PR: the commit is pushed to the checked-out branch's upstream and the close-out ends there.
16
16
 
17
17
  **Modes.** `mode:manual` (default) reviews the whole close-out before any side effect; `mode:auto` is pre-authorized and skips that review. Never toggle it on your own.
18
18
 
@@ -26,15 +26,31 @@ argument-hint: "<plan path or topic> [steps:compound,handbook,commit,pr,babysit]
26
26
 
27
27
  **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.
28
28
 
29
+ ## Target — resolve it once
30
+
31
+ What is being closed out is decided once, at the start, and every later step takes the answer from here instead of re-deriving it: the gate's summary, the commit's file list, the babysit overrides, and the closing report all differ by target, and deciding them separately is how they drift apart.
32
+
33
+ | Target | Detected by | Read | Writes back |
34
+ |---|---|---|---|
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` |
37
+ | Slice | a plan whose frontmatter carries `slice` and `goal` | `references/slice.md` | `status: done`, and that slice → `Shipped` in the parent `goal.md` |
38
+
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.
40
+
41
+ **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
+
43
+ **Never close out a draft.** `status: draft` means the plan is still being grilled. Refuse in one line and send the user back to `sassy-plan`. Ship never writes `active`, and never finishes a half-written plan. A plan with no `status` key predates the contract and counts as `active`, a rule `sassy-plan`'s `references/plan-format.md` owns. A plan already `status: done` is not closed out twice: report it as already closed and stop, naming the commit that closed it. The one exception is a slice whose plan is `done` but whose `goal.md` row has not reached `Shipped` — an interrupted close-out — where ship writes only that slice row and stops, since the plan half already landed.
44
+
29
45
  ## Steps (in order)
30
46
 
31
- 1. **Review gate.** In `mode:manual` only: present a compact shipping summary — the plan or topic, the changes from the cycle results, the docs the close-out expects to write, the branch/PR target, the babysit options, for a goal slice the `goal.md` change (slice → `Shipped`) and that babysit will not merge, and **the hooks resolved for this run's head — point, skill, and args — or that none are declared** — and wait. Under `commit.branch: current`, state instead "commit + push to `<head>`, no PR", that no PR, babysit, merge, or `hooks.pr.*` (`before_create`, `after_create`, `before_merge`, `after_merge`) will run, and **the `hooks.push.after_push` entries resolved for `<head>` — skill and args — or that none are declared**. In `mode:auto`, skip this gate.
47
+ 1. **Review gate.** In `mode:manual` only: present a compact shipping summary — the plan or topic, the changes from the cycle results, the docs the close-out expects to write, the branch/PR target, the babysit options, the target's own summary lines from its reference — for a slice, the `goal.md` change (slice → `Shipped`) and that babysit will not merge — and **the hooks resolved for this run's head — point, skill, and args — or that none are declared** — and wait. Under `commit.branch: current`, state instead "commit + push to `<head>`, no PR", that no PR, babysit, merge, or `hooks.pr.*` (`before_create`, `after_create`, `before_merge`, `after_merge`) will run, and **the `hooks.push.after_push` entries resolved for `<head>` — skill and args — or that none are declared**. In `mode:auto`, skip this gate.
32
48
  2. **Compound (conditional).** If the work produced a qualifying learning, dispatch a `worker` whose task is: *load the `sassy-compound` skill and follow it with `mode:auto`* — with a compact learnings brief (the solved problems, root causes, and solutions taken from the cycle results, not from re-reading the tree). It always gets `mode:auto` because ship's own gate already covered the approval. Skip cleanly when nothing qualifies, and skip entirely when `knowledge.write` is `false`.
33
- 3. **Handbook (conditional).** If the feature is self-contained and independent enough that a teammate would benefit from a handover, dispatch a `worker` whose task is: *load the `sassy-handbook` skill and follow it* — with the plan path and topic. The worker reads the tree itself. Skip for small or tightly-coupled changes.
49
+ 3. **Docs.** Dispatch a `worker` whose task is: *load the `sassy-docs` skill and follow it in `mode:review`* — with the target path or topic, the change summary taken from the cycle results rather than re-read from the tree, the document set from `artifacts.*`, and this run's scope. It reports every stale claim, fixes it, and writes a handbook when the change is independent enough that a teammate would need a handover. It always gets the change summary: an auditor re-deriving the change from the tree disagrees with the document for the wrong reason. Skip cleanly when the change is trivially small and touches no documented surface, and skip entirely when the caller's `steps:` omits `docs`.
34
50
  4. **Commit or snapshot.** After the review gate — never before it — the docs and any remaining code become durable.
35
51
 
36
52
  **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.
37
- - **`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, any new solutions docs, the concepts file, `AGENTS.md`, and any handbook just written — 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.
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.
38
54
 
39
55
  **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.
40
56
  - **`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`.
@@ -48,8 +64,6 @@ argument-hint: "<plan path or topic> [steps:compound,handbook,commit,pr,babysit]
48
64
 
49
65
  **One PR per run.** Babysitting a workspace fan-out means one `sassy-babysit` run per PR, and a fan-out is never auto-merged: `pr.merge` and `pr.merge:on` apply to a single-PR run only. A multi-repo merge needs an explicit per-PR say-so.
50
66
 
51
- **Goal slices.** A `sassy-goal` slice is a plan whose frontmatter `slice` key names the slice ID and whose `goal` key names the parent `goal.md`, with the directory convention (a plan sitting next to a `goal.md`) as the fallback when those keys are absent. The step 4 commit worker sets that slice `Shipped` in `goal.md`'s slice table and names `goal.md` in the commit, since `sassy-commit` stages named files only. Step 6 babysits the PR **without merging** — forward `merge:off` whatever `pr.merge` or the caller says — because `sassy-goal` `mode:check` must run on the open PR first. End the final report with the `sassy-goal <goal path> mode:check` command in the harness's syntax.
52
-
53
67
  ## Rules
54
68
 
55
69
  | Rule | Requirement |
@@ -59,7 +73,9 @@ argument-hint: "<plan path or topic> [steps:compound,handbook,commit,pr,babysit]
59
73
  | No review | `mode:auto` runs the close-out with no approval gate. Never toggled by the skill. |
60
74
  | All-or-nothing gate | In `mode:manual`, nothing is written until the gate is answered. |
61
75
  | Delegate everything | The orchestrator runs no git, gh, or file work itself. |
62
- | Conditional docs | Compound and handbook are skipped when they do not qualify. |
76
+ | Conditional docs | Compound is skipped when nothing qualifies. Docs always runs `sassy-docs` in `mode:review`, and is skipped only for a change that touches no documented surface. |
77
+ | 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
+ | 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. |
63
79
  | Docs in the commit | New docs and pointer lines ship in the same change. |
64
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. |
65
81
  | 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`. |
@@ -0,0 +1,20 @@
1
+ # Target: brief
2
+
3
+ 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.
4
+
5
+ ## Gate summary lines
6
+
7
+ - The topic, and that no plan is being closed out, so no `status` moves.
8
+ - The change summary taken from the cycle results.
9
+
10
+ ## Step 4
11
+
12
+ Nothing to name for a target. The commit carries the code plus whatever the close-out wrote on its own — docs, learnings, concepts, `AGENTS.md` — and contains no plan path.
13
+
14
+ ## Babysit
15
+
16
+ Ordinary: the caller's `merge:on|off` and `delete-branch:on|off`, else `pr.merge` and `pr.delete_branch`. No downstream check waits on the PR, so an auto-merge needs no special casing.
17
+
18
+ ## Closing report
19
+
20
+ The topic, commit hash, the docs step 3 wrote, the PR URL or the pushed hash with "no PR — hooks.pr.* skipped", and the babysit status. Say **no plan — brief close-out** in one line, so the reader knows why no status moved rather than assuming one was forgotten.
@@ -0,0 +1,20 @@
1
+ # Target: plan
2
+
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`.
4
+
5
+ ## Gate summary lines
6
+
7
+ - The plan path, and which it is: "every phase `Done`, so the close-out sets `status: done`" or "two of five phases `Done` — the plan stays `active` after this".
8
+ - That no goal is involved. A reader who has been shipping slices expects a `goal.md` write; say plainly that this plan has none.
9
+
10
+ ## Step 4
11
+
12
+ Name the plan file in the commit brief. The `status` change is a file edit and `sassy-commit` stages named files only, so a commit that stages the code without it leaves the plan `active` after the work is closed — which the next reader correctly reads as unfinished work.
13
+
14
+ ## Babysit
15
+
16
+ Ordinary: forward the caller's `merge:on|off` and `delete-branch:on|off`, else `pr.merge` and `pr.delete_branch`. A standalone plan has no downstream verification to protect, so an auto-merge needs no override here.
17
+
18
+ ## Closing report
19
+
20
+ One line each: plan path and its new status, commit hash, the docs step 3 wrote, the PR URL or the pushed hash with "no PR — hooks.pr.* skipped", and the babysit status.
@@ -0,0 +1,21 @@
1
+ # Target: slice
2
+
3
+ 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.
4
+
5
+ ## Gate summary lines
6
+
7
+ - The slice ID and the parent `goal.md` path.
8
+ - That the slice's row in `goal.md` becomes `Shipped` and `goal.md` joins the commit.
9
+ - That babysit will not merge, and why: `sassy-goal mode:check` has to run against the open PR first.
10
+
11
+ ## Step 4 — two writes, one commit
12
+
13
+ The commit worker sets that slice's row to `Shipped` in `goal.md`'s slice tracking table and names `goal.md` in the commit, because `sassy-commit` stages named files only. It lands in the same edit set as the plan's `status: done`: a slice marked `Shipped` whose plan still reads `active` is a contradiction the next reader has to resolve by hand, and a plan marked `done` whose slice still reads `In progress` sends `mode:check` looking for work that already shipped.
14
+
15
+ ## Babysit
16
+
17
+ Forward `merge:off` whatever `pr.merge` says or the caller asks for. Never merge: `mode:check` needs the PR open.
18
+
19
+ ## Closing report
20
+
21
+ End with the `sassy-goal <goal path> mode:check` command in the harness's syntax, and say in one line that the goal's own `status: done` is still `mode:close`'s to write once every slice is `Done`.
@@ -33,7 +33,7 @@ Use the mode the caller passed; never pick one yourself.
33
33
 
34
34
  ## Workflow
35
35
 
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.
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).
37
37
  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
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.
@@ -24,7 +24,7 @@ argument-hint: "<plan path | brief> [phase:<n>] [branch:infer|current|new] [work
24
24
 
25
25
  Detect the shape from the argument:
26
26
 
27
- - **Plan input** — a path to an existing `.md` file under `artifacts.plans`. Take an optional `phase:<n>`. Default to the first phase whose status is not `Done`.
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
28
  - **Brief input** — anything else. Treat the whole argument as the settled brief from `sassy-plan`.
29
29
 
30
30
  If a plan path is given but the file does not exist, run `sassy-plan` first and stop.
@@ -1,52 +0,0 @@
1
- ---
2
- name: sassy-handbook
3
- description: >-
4
- Write a plain-English, self-contained developer handbook for handing a new
5
- feature off to the team, stored in the project's handbooks folder. Hyperfocused, key
6
- information only, with mermaid diagrams. Use when asked for a handbook,
7
- handover notes, a team reference, or to turn a plan into a readable guide.
8
- argument-hint: "[plan path, topic, or brief context]"
9
- ---
10
-
11
- # Sassy Handbook
12
-
13
- **Outcome:** one team-readable handbook under the configured handbooks path that any teammate can follow without knowing which agent, skill, or setup produced the work.
14
-
15
- **Not this skill:** durable gotcha learnings (`sassy-compound`), implementation plans, or shipping code.
16
-
17
- **Config.** Resolve `.sassywares/config.yaml` (nearest, walking up) per the `sassy-setup` skill's `references/config.md`. Handbooks land in `artifacts.handbooks`.
18
-
19
- **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.
20
-
21
- ## When to run
22
-
23
- - After a plan or multi-phase change needs a **human handover** (what landed, what is left, how to extend it).
24
- - When the user asks for a **handbook**, **handover**, or **team reference**.
25
-
26
- ## Hard rules
27
-
28
- | Rule | Requirement |
29
- |------|-------------|
30
- | Audience | Humans on the team — not agents, not one person's toolchain. |
31
- | No toolchain names | Never name skills, slash-commands, agents, or "run X then Y" recipes. Say what to check in the app or in code. |
32
- | Hyperfocused | Only the key information. Link deep docs instead of restating them. A teammate should skim it in a few minutes. |
33
- | No fake completion | Distinguish **done**, **in progress**, and **still to do**. Never write as if unfinished work shipped. |
34
- | Grounded | Paths, types, and behaviors match the tree you can read now. Soften or drop claims you cannot verify. |
35
- | One per topic | Update an existing handbook rather than spawning near-duplicates. |
36
- | Write boundary | Only the configured handbooks path (create it if missing). Do not rewrite the source plan. |
37
-
38
- ## Location
39
-
40
- ```text
41
- <artifacts.handbooks>/<kebab-topic>-handbook.md
42
- ```
43
-
44
- No dates in the filename. Keep the existing filename when updating an existing handbook.
45
-
46
- ## Workflow
47
-
48
- 1. **Gather.** The plan or brief the user named, plus a light tree check of the paths and types the handbook will claim. Open the real files; do not invent. Delegate heavy reading to `sassy-scout` if the change is large.
49
- 2. **Create or update.** No handbook for this topic → create `<topic>-handbook.md`. Existing and stale → update in place and refresh **As of**. User pointed at a path → edit that file.
50
- 3. **Write the handbook.** Read `references/handbook-format.md` now and write it in that shape, with mermaid diagrams where they clarify.
51
- 4. **Voice scrub.** Follow the voice rules in that reference: remove skill names, phase IDs, gate tables, and jargon piles.
52
- 5. **Ground and report.** Confirm cited paths exist (or mark them planned), confirm statuses match reality, and report the absolute path, create vs update, and anything unverified.