@sassywares/skills 0.13.2 → 0.15.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 (43) hide show
  1. package/README.md +28 -14
  2. package/package.json +1 -2
  3. package/skills/sassy-compound/SKILL.md +1 -1
  4. package/skills/sassy-compound/references/concepts.md +2 -2
  5. package/skills/sassy-debug/SKILL.md +1 -1
  6. package/skills/sassy-docs/SKILL.md +56 -0
  7. package/skills/sassy-docs/references/handbook.md +17 -0
  8. package/skills/sassy-docs/references/review.md +57 -0
  9. package/skills/sassy-goal/SKILL.md +5 -0
  10. package/skills/sassy-goal/references/check.md +1 -1
  11. package/skills/sassy-goal/references/close.md +6 -5
  12. package/skills/sassy-goal/references/goal-format.md +13 -2
  13. package/skills/sassy-goal/references/next.md +2 -2
  14. package/skills/sassy-goal/references/write.md +9 -5
  15. package/skills/sassy-handoff/references/write.md +1 -1
  16. package/skills/sassy-lfg/SKILL.md +2 -2
  17. package/skills/sassy-plan/SKILL.md +24 -17
  18. package/skills/sassy-plan/references/interview.md +5 -3
  19. package/skills/sassy-plan/references/plan-format.md +22 -2
  20. package/skills/sassy-setup/SKILL.md +19 -11
  21. package/skills/sassy-setup/assets/agents-md.md +71 -0
  22. package/skills/sassy-setup/assets/roster +2 -1
  23. package/skills/sassy-setup/assets/sassywares-readme.md +6 -6
  24. package/skills/sassy-setup/references/anchors.md +122 -0
  25. package/skills/sassy-setup/references/check.md +14 -2
  26. package/skills/sassy-setup/references/config.md +13 -8
  27. package/skills/sassy-setup/references/harness.md +3 -2
  28. package/skills/sassy-setup/references/init.md +9 -4
  29. package/skills/sassy-setup/references/workspace.md +23 -0
  30. package/skills/sassy-setup/scripts/detect.sh +281 -30
  31. package/skills/sassy-ship/SKILL.md +26 -10
  32. package/skills/sassy-ship/references/brief.md +20 -0
  33. package/skills/sassy-ship/references/plan.md +20 -0
  34. package/skills/sassy-ship/references/slice.md +21 -0
  35. package/skills/sassy-strategy/SKILL.md +66 -0
  36. package/skills/sassy-strategy/references/check.md +81 -0
  37. package/skills/sassy-strategy/references/strategy-format.md +84 -0
  38. package/skills/sassy-strategy/references/write.md +180 -0
  39. package/skills/sassy-validate/SKILL.md +1 -1
  40. package/skills/sassy-work/SKILL.md +1 -1
  41. package/CONCEPTS.md +0 -173
  42. package/skills/sassy-handbook/SKILL.md +0 -52
  43. /package/skills/{sassy-handbook → sassy-docs}/references/handbook-format.md +0 -0
@@ -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.
36
- 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.
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.
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. Then read the `sassy-setup` skill's `references/anchors.md` and the project's strategy at the resolved `artifacts.strategy`. A missing file is a presence note and a `draft` is reported as unsettled, never enforced. The strategy changes the questions this grill asks and never blocks the plan: it is not a veto, it decides no branch, and the run continues either way.
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)
@@ -51,7 +53,7 @@ You are a thinking partner, not a form. Raise each lens as its gap appears, one
51
53
  - **Specificity.** The user is "users". Ask for a specific person or narrow segment and what changes for them when this ships.
52
54
  - **Counterfactual.** Ask what people do today when this comes up, and what it costs them if nothing ships.
53
55
  - **Attachment.** The request names a solution shape, not the value it delivers. Ask for the smallest version that still delivers that value, and offer one.
54
- - **Contradiction.** Two answers conflict, or an answer conflicts with the code, a convention, or a prior learning. Quote both sides and ask which wins.
56
+ - **Contradiction.** Two answers conflict, or an answer conflicts with the code, a convention, a prior learning, or a line of the project's strategy — a conflict is a quoted line, its section, and the three outs, per the `sassy-setup` skill's `references/anchors.md`; a `draft` strategy raises none. Quote both sides and ask which wins.
55
57
  - **Directive.** A bare "do it with X" that nobody examined gets exactly one challenge, backed by evidence: what X costs here and the strongest alternative. Whatever the user then chooses is settled — do not re-litigate it.
56
58
  - **Scope creep.** A "while we're at it" addition gets the same scrutiny as the core: does it need to ship with this, or is it a deferred item?
57
59
  - **Higher-upside option.** When an adjacent reframing would make the work clearly more valuable without much carrying cost, put it on the table as a challenger, not a default.
@@ -74,7 +76,7 @@ Before the read-back, walk this list against the settled tree. Every applicable
74
76
  | Non-functional | Performance, security, privacy, accessibility, i18n — only where they bear on this work. |
75
77
  | Rollout | Flag or not, order of release, rollback, who is told. |
76
78
  | Verification | Done-when for the whole and per slice; what the user will check by hand. |
77
- | Non-goals | What this deliberately does not do, so the work cannot drift into it. |
79
+ | Non-goals | What this deliberately does not do, so the work cannot drift into it. Pre-filled from an `active` strategy's **Boundaries** per the `sassy-setup` skill's `references/anchors.md`: offer each quoted line as a candidate non-goal and let the user confirm or cut it. A `draft` pre-fills nothing. |
78
80
 
79
81
  **Integration check.** Then combine what was decided and look for consequences no single answer showed: "invites expire in 7 days (D1) and revoking deletes the record (D4), so a revoked link and an expired link show the same error — intended?" One probe per real combined effect.
80
82
 
@@ -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
  ---
@@ -2,9 +2,10 @@
2
2
  name: sassy-setup
3
3
  description: >-
4
4
  Detect a project's topology and wire it for the Sassy Skills suite: write
5
- .sassywares/config.yaml, check for the suite's skills and the sassy-agents
6
- subagents and install whichever is missing in user or project scope, and
7
- install the snapshot tooling in a multi-repo workspace.
5
+ .sassywares/config.yaml, write the AGENTS.md routing block, check for the
6
+ suite's skills and the sassy-agents subagents and install whichever is missing
7
+ in user or project scope, and install the snapshot tooling in a multi-repo
8
+ workspace.
8
9
  Use when asked to set up or configure a project, or to check an existing
9
10
  setup (`mode:check`).
10
11
  argument-hint: "[path] [mode:init|check]"
@@ -12,7 +13,7 @@ argument-hint: "[path] [mode:init|check]"
12
13
 
13
14
  # Sassy Setup
14
15
 
15
- **Outcome:** `.sassywares/config.yaml` at the project root matching the tree it describes, the dogfood scaffold when agent QA was asked for, the skills installed in user or project scope and visible to the harness, the sassy-agents roster installed for the running harness, the snapshot tooling installed in `workspace` mode, and every file setup wrote committed — so the project is wired and the user is good to go in one run. A `check` run produces the same knowledge as a report, and changes nothing except committing setup-owned files that were already dirty.
16
+ **Outcome:** `.sassywares/config.yaml` at the project root matching the tree it describes, the dogfood scaffold when agent QA was asked for, the skills installed in user or project scope and visible to the harness, the sassy-agents roster installed for the running harness, the routing block in the project's `AGENTS.md`, the snapshot tooling installed in `workspace` mode, and every file setup wrote committed — so the project is wired and the user is good to go in one run. A `check` run produces the same knowledge as a report, and changes nothing except committing setup-owned files that were already dirty.
16
17
 
17
18
  **Read `references/config.md` first.** It is the schema and the resolution rules; this skill only decides and writes.
18
19
 
@@ -20,7 +21,7 @@ argument-hint: "[path] [mode:init|check]"
20
21
 
21
22
  **Harness.** Loading another skill, dispatching an agent, and any command you hand the user follow `references/harness.md`; the agent wiring in step 5 of the init path uses its tables.
22
23
 
23
- **The rest of the suite's shared references.** `references/branching.md` is how a run picks a branch and a base — setup records it here, every run reads it there. On the init path, `references/init.md` points at `references/worktree.md`, `references/dogfood.md`, and `references/workspace.md` when an answer or a topology needs them; a check run needs none of the three.
24
+ **The rest of the suite's shared references.** `references/branching.md` is how a run picks a branch and a base — setup records it here, every run reads it there. `references/anchors.md` is the strategy anchor — where it lives, what counts as a conflict, the three outs, the override record, and the `draft` rule; every run that offers an out reads it there. On the init path, `references/init.md` points at `references/worktree.md`, `references/dogfood.md`, and `references/workspace.md` when an answer or a topology needs them; a check run needs none of the three.
24
25
 
25
26
  ## Modes
26
27
 
@@ -42,6 +43,12 @@ lacks. Report it as a note, not drift, and name `--sync --write` as its fix: it
42
43
  merges the template onto the file and keeps every value the check accepts,
43
44
  comment and all. Drift blocks step 8.
44
45
 
46
+ A missing or stale routing block in `AGENTS.md` is a note of the same kind: the
47
+ suite's block is absent, or its marker version is behind the shipped one, and it
48
+ is reported as a note naming the file — never drift, never a gate, and never a
49
+ reason not to commit. `--sync --write` is what replaces it, leaving every byte
50
+ outside the markers identical.
51
+
45
52
  The `worktrees` half checks what a run would read: the switch, that the tooling is installed with the shipped bytes, that no checkout sits inside the working tree, and that none holds a branch `base_map` names as a base.
46
53
 
47
54
  The `dogfood` half is structural and never runs the product: `enabled` and `timeout` are in range, the two paths are relative and stay inside the project, `reports` and `.sassywares/session` are gitignored in a `repo` topology, and the recipe has a `**Prove it:**` line per section with an `**Expect**` per step and no secret-shaped string. A recipe that does not exist yet is a note, not drift — unless `enabled` is `true`, which is the one combination that would let a planner write Auto rows against a check nobody has.
@@ -50,7 +57,7 @@ comment and all. Drift blocks step 8.
50
57
 
51
58
  8. **Commit what setup owns.** `repo` topology only, and only when step 7 is clean. The file list is exactly what setup wrote or found unwritten:
52
59
 
53
- `.sassywares/config.yaml`, `.sassywares/README.md`, `.sassywares/dogfood/recipe.md` and `.sassywares/.gitignore` when step 4 created them, the two project scripts step 6 scaffolded at `<home>/worktrees/create` and `<home>/worktrees/remove` (only those two named files — never their directory), `.sassywares/worktree/*` when step 6 installed the tooling, the runner file when the user accepted aliases in it, `.agents/skills/sassy-*` and `skills-lock.json` when the suite is in project scope, the project-scope agent files when step 5 copied them, and a root `.gitignore` when step 5 created one. Named files only — never `git add -A`, never `git add .`. The reports directory is never in this list: it is gitignored, and nothing setup writes lives there.
60
+ `.sassywares/config.yaml`, `.sassywares/README.md`, `.sassywares/dogfood/recipe.md` and `.sassywares/.gitignore` when step 4 created them, `AGENTS.md` when step 5 created it or wrote a block into it, the two project scripts step 6 scaffolded at `<home>/worktrees/create` and `<home>/worktrees/remove` (only those two named files — never their directory), `.sassywares/worktree/*` when step 6 installed the tooling, the runner file when the user accepted aliases in it, `.agents/skills/sassy-*` and `skills-lock.json` when the suite is in project scope, the project-scope agent files when step 5 copied them, and a root `.gitignore` when step 5 created one. Named files only — never `git add -A`, never `git add .`. Staging `AGENTS.md` stages the file, never a claim on its other lines: a line already there is not setup's work, and a declined block diff leaves nothing to stage. The reports directory is never in this list: it is gitignored, and nothing setup writes lives there.
54
61
 
55
62
  Dispatch `sassy-commit` with that list and `branch:current`. The token is explicit, not this skill's default: wiring is a one-time bootstrap commit, and cutting a branch would leave the project configured but uncommitted until someone ships it. Name the branch it landed on, base branch included.
56
63
 
@@ -59,7 +66,7 @@ comment and all. Drift blocks step 8.
59
66
  - **`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
67
  - **`none`** — nothing to commit, deliberately.
61
68
 
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.
69
+ 9. **Report.** The config path, the topology, the resolved artifact and knowledge paths, then what became of the routing block — created, appended, refreshed, already current, or left alone after a declined diff, and in `workspace` mode the nested repos skipped for having no `AGENTS.md` — and for `artifacts.strategy` a presence-and-`status` note: the path when the file is `active`, that it is `draft` and unsettled with `sassy-strategy` named as the command that finishes it, or that it is unwritten with `sassy-strategy` named as the command that writes one; never drift, never a blocking finding, and never a reason not to run; then 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
70
 
64
71
  ## Hard rules — every mode
65
72
 
@@ -67,9 +74,10 @@ comment and all. Drift blocks step 8.
67
74
  |------|-------------|
68
75
  | No `git init` | Setup never turns a folder into a repo, and never does remote or ref surgery. The step 8 commit is its only git write. |
69
76
  | Verify before commit | A config that fails `--check` is reported, never committed. |
70
- | Commit only what setup owns | The config, the setup README, the two project scripts step 6 scaffolded, the vendored `sassy-*` folders and `skills-lock.json` (project scope), the project-scope agent files, and a `.gitignore` setup created. Never a file the user wrote or the repo already had, unless they name it. |
71
- | No silent overwrite | An existing config or an existing `.sassywares/workspace/snapshot` is shown and asked about, never replaced blind. |
72
- | Write boundary | Only `.sassywares/` (the config, the setup README, the dogfood scaffold, and the worktree tooling), the two project scripts step 6 scaffolded at `<home>/worktrees/create` and `<home>/worktrees/remove` (new files only — never the whole `worktrees/` folder), the skills and agent files step 5 installed in the scope the user chose, `skills-lock.json` (project scope), `.sassywares/.gitignore` with its two lines, and at most one root `.gitignore` line that step 5 created. Never `package.json` outside step 6's `worktree:*` and `workspace:*` aliases, never a root `.gitignore` in a workspace. Workspace git helpers land in `.sassywares/workspace/`, never in a project's `bin/`. |
77
+ | Commit only what setup owns | The config, the setup README, `AGENTS.md` when setup created it or wrote its block into it, the two project scripts step 6 scaffolded, the vendored `sassy-*` folders and `skills-lock.json` (project scope), the project-scope agent files, and a `.gitignore` setup created. Never a file the user wrote or the repo already had, unless they name it. |
78
+ | No silent overwrite | An existing config or an existing `.sassywares/workspace/snapshot` is shown and asked about, never replaced blind. A differing `AGENTS.md` routing block is a diff and a question, never a clobber. |
79
+ | Never a rewrite of `AGENTS.md` | Only the bytes between the `<!-- sassywares:skills vN -->` markers are written, replaced, or staged; every other line of the file stays exactly as it was. Include the block only in the file setup created or appended to it, and never touch `CLAUDE.md` or a per-harness agent file. |
80
+ | Write boundary | Only `.sassywares/` (the config, the setup README, the dogfood scaffold, and the worktree tooling), the two project scripts step 6 scaffolded at `<home>/worktrees/create` and `<home>/worktrees/remove` (new files only — never the whole `worktrees/` folder), the skills and agent files step 5 installed in the scope the user chose, `skills-lock.json` (project scope), `AGENTS.md` (the file step 5 created, or its marked block appended — every other line of it untouched), `.sassywares/.gitignore` with its two lines, and at most one root `.gitignore` line that step 5 created. Never `package.json` outside step 6's `worktree:*` and `workspace:*` aliases, never a root `.gitignore` in a workspace. Workspace git helpers land in `.sassywares/workspace/`, never in a project's `bin/`. |
73
81
  | Install the tooling, never use it | Setup copies `.sassywares/worktree/` and offers the aliases. It never creates a checkout, never runs a script, and never starts or stops the project's stack — that is the project's own `create`/`remove` script's job. |
74
82
  | Skills come from upstream | Install with `npx skills add`, `-g` for user scope; never hand-copy skill files or maintain the links yourself. |
75
83
  | Agents come from sassy-agents | Only the running harness's folder, as-is: linked by `install.sh` (user scope) or copied verbatim (project scope). Never edit, merge, or overwrite a differing agent file without asking. |
@@ -77,7 +85,7 @@ comment and all. Drift blocks step 8.
77
85
  | Run output and sessions never ship | `.sassywares/.gitignore` holds `/session/` and `/dogfood/reports/`. Never remove a line, never add anything from either path to the commit, and never write a credential anywhere else. |
78
86
  | No secrets in setup's writes | Env var names only, in the config and in the skeleton. A credential never lands in a file setup commits. |
79
87
  | Version is reported | Setup names the snapshot and `workspace-git` versions it installed; `--check` flags an installed copy older than the skill's. |
80
- | Repair is `init` | `check` reports drift and never rewrites; closing it is `mode:init`, where every change is shown and approved first. Template drift is the one stated exception: the check names `--sync --write`, and only the operator runs it. |
88
+ | Repair is `init` | `check` reports drift and never rewrites; closing it is `mode:init`, where every change is shown and approved first. Template drift and the `AGENTS.md` routing block are the stated exceptions: the check names `--sync --write`, and only the operator runs it. |
81
89
 
82
90
  ## What setup is not
83
91
 
@@ -0,0 +1,71 @@
1
+ <!--
2
+ agents-md.md — the routing block sassy-setup writes into a project's AGENTS.md.
3
+
4
+ One file, two uses:
5
+ * a project with no AGENTS.md gets this block as the whole file;
6
+ * a project that already has one gets the block appended, and every later run
7
+ replaces only the lines between the markers.
8
+ The version lives in the markers, so a later shipped version can find and
9
+ replace an older block. `detect.sh --check` reports a missing or stale block as
10
+ a note (never drift); `detect.sh --sync --write` creates, appends, or replaces
11
+ it and leaves every byte outside the markers alone.
12
+ `{{artifacts.*}}` placeholders are rendered by detect.sh from the resolved
13
+ config, so nothing in the block may hardcode a configured path.
14
+ -->
15
+ <!-- sassywares:skills v1 -->
16
+ # Sassy Skills — how this project works
17
+
18
+ This project is wired for the Sassy Skills suite. Load a skill when a request
19
+ matches its trigger below; each one is invoked as `/sassy-<name>`. The suite's
20
+ settings live in `.sassywares/config.yaml` — every path named here is resolved
21
+ from it.
22
+
23
+ ## Anchors
24
+
25
+ The documents that say what this project is. Read them before deciding what to
26
+ build, not while writing the build:
27
+
28
+ - **Strategy** — `{{artifacts.strategy}}`: what the product is for, who it is
29
+ for, and what it refuses. Written and revised by `/sassy-strategy`; it may not
30
+ exist yet, and that absence is not a blocker.
31
+ - **Glossary** — `{{artifacts.concepts}}`: the shared vocabulary, maintained by
32
+ `/sassy-compound`.
33
+ - **Plans** — `{{artifacts.plans}}`: one file per planned piece of work.
34
+ - **Learnings** — `{{artifacts.solutions}}`: durable notes from solved problems.
35
+ - **Handbooks** — `{{artifacts.handbooks}}`: team-facing references written by
36
+ `/sassy-docs`.
37
+
38
+ ## Skills
39
+
40
+ | Skill | What it does | When it runs |
41
+ | --- | --- | --- |
42
+ | `sassy-plan` | Grills the request into a phased plan, writing the plan file as it goes. | Asked to brainstorm, scope, or plan. |
43
+ | `sassy-work`, `sassy-lfg` | Execute one plan phase, or a whole plan phase by phase. | A settled plan or brief is ready to build. |
44
+ | `sassy-goal` | Splits work too large for one plan into slices that plan, ship, and check on their own. | A migration, epic, milestone, or multi-PR effort. |
45
+ | `sassy-cycle`, `sassy-scout` | The quality loop for one unit of work; the grounding brief other agents read. | Called by plan, fix, and review runs; before work needs verified project evidence. |
46
+ | `sassy-debug` | Diagnoses to root cause, gets the fix approved, then fixes and ships it. | A bug, failing test, or unexplained failure. |
47
+ | `sassy-review`, `sassy-simplify`, `sassy-validate` | Review a diff, find behavior-preserving simplifications, check work against a plan's intent. | Asked to review, tidy, or verify; or after a feature lands. |
48
+ | `sassy-ship`, `sassy-commit`, `sassy-commit-push-pr` | Close out approved work: learnings, docs, commit, push, PR. | Work is approved and ready to land. |
49
+ | `sassy-babysit` | Watches an open PR until it looks merge-ready. | A PR needs watching over time, not a one-shot fix. |
50
+ | `sassy-docs` | Keeps README, glossary, plans, and handbooks true; writes team handbooks. | A feature lands, docs may be stale, or a handover is due. |
51
+ | `sassy-compound` | Writes a durable learning and maintains the glossary. | A bug is fixed or a fresh finding is worth keeping. |
52
+ | `sassy-strategy` | Writes and revises `{{artifacts.strategy}}`; gives a read-only fit verdict on work. | Direction is set or changed, or a plan needs a fit check. |
53
+ | `sassy-setup` | Detects topology and wires the project: config, skills, tooling. | A new project, or setup may be out of date. |
54
+ | `sassy-overview` | Reads the project's stack, install, run, test, and env facts, with a source for each. | Facts are needed before acting — never guessed. |
55
+ | `sassy-skill` | Creates, retunes, or restructures an Agent Skill. | Asked to create or fix a skill. |
56
+ | `sassy-worktree` | Runs a second line of work in its own checkout with its own namespace. | More than one agent or branch is active. |
57
+ | `sassy-dogfood` | Uses the product the way a user does and writes a verdict. | A change must be proven at runtime, or QA needs setting up. |
58
+ | `sassy-handoff` | Writes or reads a self-contained handoff between sessions. | Asked to hand off or pick up a handoff. |
59
+
60
+ ## Gates and controls
61
+
62
+ - Reads are free; writes, commits, pushes, and PRs have their own gates.
63
+ `sassy-ship` stops for approval before it writes anything unless given
64
+ `mode:auto`; the commit and PR skills act when you invoke them.
65
+ - Configuration is permission, not automation: a switch such as
66
+ `worktrees.enabled` lets a run offer a checkout, never take one unasked.
67
+ - `commit.branch`, `git.base_map`, and `hooks` in `.sassywares/config.yaml`
68
+ decide where work lands and what runs around it. Read them before branching.
69
+ - This block is the only part of this file the suite maintains. Every other
70
+ line is the project's and is never rewritten.
71
+ <!-- /sassywares:skills v1 -->
@@ -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
@@ -17,6 +17,7 @@ sassy-setup
17
17
  sassy-ship
18
18
  sassy-simplify
19
19
  sassy-skill
20
+ sassy-strategy
20
21
  sassy-validate
21
22
  sassy-work
22
23
  sassy-worktree
@@ -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
 
@@ -0,0 +1,122 @@
1
+ # Strategy anchor
2
+
3
+ The project's strategy is the one document that says what the product is for,
4
+ who it is for, and what it refuses. It is read where **direction** is decided —
5
+ `sassy-plan`, `sassy-goal`, `sassy-docs mode:review`, and `sassy-setup
6
+ mode:check` — and never by an executor: `sassy-work`, `sassy-lfg`, `sassy-review`,
7
+ `sassy-ship`, `sassy-debug`, `sassy-commit`, `sassy-commit-push-pr`,
8
+ `sassy-babysit`, `sassy-worktree`, and `sassy-handoff` do not load it, because by
9
+ the time work is running the direction is settled and re-litigating it mid-run is
10
+ how a boundary becomes a veto.
11
+
12
+ It is written and revised only by `sassy-strategy`. A reader quotes it, asks
13
+ about it, and reports on it; it never edits it.
14
+
15
+ ## Where it lives
16
+
17
+ `artifacts.strategy`, resolved per [`config.md`](config.md) — default
18
+ `docs/strategy.md`. **Never a literal path.** A project that moved the file is
19
+ still correct, and a reader that opens `docs/strategy.md` without asking the
20
+ config is reading a file that may no longer be the anchor.
21
+
22
+ The format — six sections, their locked order, `status: draft|active` — is the
23
+ `sassy-strategy` skill's `references/strategy-format.md`. A reader needs its
24
+ section names, not its rules: **Purpose, Positioning, Users, Boundaries, Key
25
+ metrics, Tracks**, and of those only Boundaries, Positioning, and Tracks can
26
+ conflict.
27
+
28
+ **A missing file is not a failure.** Report it as a presence note with the command
29
+ that writes one (`sassy-strategy`), and carry on. A project that has not written
30
+ a strategy has not broken anything, and no check, plan, or goal turns red for
31
+ being unwired.
32
+
33
+ ## What counts as a conflict
34
+
35
+ Only a **quoted line** in one of these three:
36
+
37
+ | Section | Conflicts when |
38
+ |---|---|
39
+ | Boundaries | the work is one of the changes the document says to resist, or meets the `_Resist a change when:_` line |
40
+ | Positioning | the work would make the product the thing the positioning says it is not |
41
+ | Tracks | the work contradicts a direction the project says it is deliberately pursuing |
42
+
43
+ Purpose and Users never conflict on their own: they are why the product exists and
44
+ who for, so they change the question rather than forbidding an answer. Reading
45
+ them as boundaries turns a direction into a cage, and a strategy that forbids
46
+ everything is one nobody revises.
47
+
48
+ If you cannot quote the strategy line, there is no conflict. "This feels
49
+ off-strategy" is not a finding, a stale impression is not a finding, and a
50
+ boundary the plan already overrode once is not a conflict again unless the
51
+ strategy has changed since.
52
+
53
+ ## The three outs
54
+
55
+ A conflict is a **question, never a veto**: the run continues, and the user
56
+ answers. Present all three every time, in this order.
57
+
58
+ 1. **Change the work** — the request, phase, or slice is reshaped or dropped so it
59
+ no longer meets the line. The caller's edit; the run's own work continues in
60
+ the same run.
61
+ 2. **Make it a track** — the strategy is the thing that is out of date, and the
62
+ direction is admitted as a revision. Only `sassy-strategy` writes it, through
63
+ its section contract, in its own run: cite `sassy-strategy`, never draft the
64
+ section yourself.
65
+ 3. **Override** — the user decides the work proceeds against the line, and the
66
+ decision is recorded. See below.
67
+
68
+ Never pick one for the user, never mark one as the answer unless asked, and never
69
+ soften the question into a note that carries no decision: a boundary the run
70
+ mentions and then steps over silently is worse than one it never read.
71
+
72
+ ## Override and its record
73
+
74
+ An override is the user's decision, recorded **in the artifact the work lives in**
75
+ — the plan's Decisions or Constraints (or `goal.md`'s cross-slice decisions, or
76
+ the brief's settled decisions) — with provenance, so a later reader can tell it
77
+ apart from a decision that was made freely:
78
+
79
+ - the strategy line, quoted;
80
+ - the section it came from;
81
+ - the date;
82
+ - the user's reason, or `no reason given`.
83
+
84
+ Nothing is written to the strategy file. An override never edits the anchor; it
85
+ records that this run knowingly went around it. An agent never overrides on its
86
+ own, and never records one as if the user had agreed when they only declined to
87
+ choose.
88
+
89
+ **A second override on the same boundary earns exactly one offer to revise.** When
90
+ the same line has been overridden before — in this plan, or in a plan since the
91
+ strategy's `updated` — say that it is the second one and offer, once, to revise
92
+ that section through `sassy-strategy`. A declined offer is final: further
93
+ overrides are recorded and reported without comment. The repetition is evidence
94
+ the document may be stale, not evidence the work is wrong, and the only way to
95
+ settle that is the user's answer.
96
+
97
+ ## `draft` is not settled
98
+
99
+ `status: draft` — or a missing or unrecognized value, which reads as `draft` —
100
+ means the document is still being written. Readers:
101
+
102
+ - report it as **unsettled**, naming the path and the command that finishes it;
103
+ - treat its content as context, never as a rule: no conflict is raised from a
104
+ draft, no non-goal is pre-filled from it, no override is offered against it;
105
+ - never enforce it, and never block on it — a draft that stops a plan is a draft
106
+ that will not get finished.
107
+
108
+ Only the confirmed read-back at the end of a `write` run flips it to `active`,
109
+ and only then does it start changing the questions a run asks.
110
+
111
+ ## Who reads it, and what each reports
112
+
113
+ | Reader | Reads it | Reports |
114
+ |---|---|---|
115
+ | `sassy-plan` | before the grill, and again at its non-goals sweep | a quoted conflict with the three outs; Boundaries pre-fills the non-goals row |
116
+ | `sassy-goal` | `mode:write` at the start, and one question at `mode:close` ("did this change what the product is for?") | the revision offer for a yes — close's question is yes/no, not a conflict |
117
+ | `sassy-docs mode:review` | whether the strategy is stale against the change | a report-only row, naming `sassy-strategy`: a `draft`, an `updated` far behind the work, or a Track with no commits behind it |
118
+ | `sassy-setup mode:check` | presence, and the frontmatter `status` when the file exists | a note, never drift; a missing file is not a failure |
119
+
120
+ Every reader here is read-only toward the strategy. The document moves only when
121
+ the user runs `sassy-strategy`, which is the one thing that keeps the anchor worth
122
+ quoting.
@@ -2,7 +2,7 @@
2
2
 
3
3
  Read the shared sections in `SKILL.md` first, including steps 7–9. This file is only what a check run does differently: it enters at step 7 and never runs steps 1–6.
4
4
 
5
- 1. **Enter at step 7.** No detection, no questions, no config write: a folder that is already wired is verified, never rebuilt from detection. Run `scripts/detect.sh --root <path> --check` exactly as step 7 says, and report every `drift:` line verbatim, or that the config matches the tree — plus any `template:` note, which is not drift (see below).
5
+ 1. **Enter at step 7.** No detection, no questions, no config write: a folder that is already wired is verified, never rebuilt from detection. Run `scripts/detect.sh --root <path> --check` exactly as step 7 says, and report every `drift:` line verbatim, or that the config matches the tree — plus any `template:` note, which is not drift (see below), any `agents-md:` note about a missing or stale routing block (step 7 owns the outcomes), and the strategy's presence note (see below).
6
6
  2. **Report the scope you found.** Check the skills and the agents exactly as step 5's **Installed** rules say, and report the scope each was found in or what is missing. **Check installs nothing** — a missing suite or roster is reported with the fix, and it does not block step 8.
7
7
  3. **Commit only dirty setup-owned files.** Step 8 applies only when something setup already owns is uncommitted — an edited config, a scaffold nobody committed, a pin that drifted — and only when step 7 is clean. Nothing dirty, nothing to commit.
8
8
  4. **Report as step 9 says,** then name what closes each finding: the drift line, the missing scope, and the mode that fixes it.
@@ -12,6 +12,7 @@ A check run never edits the config, never installs a skill or an agent, never re
12
12
  | Rule | Requirement |
13
13
  |------|-------------|
14
14
  | Check reports, init repairs | Every finding is reported with `mode:init` as its fix, except the template note, whose fix is the explicit `--sync --write` merge. Nothing is corrected in place, approved or not. |
15
+ | The strategy is a note, never drift | Presence, and the frontmatter `status` when the file exists: absent, or present and `draft`, is reported with `sassy-strategy` named as the fix and changes neither the verdict nor the exit code. A project that has not written a strategy has not failed a check. |
15
16
  | No detection | A check compares the file to the tree; it never re-derives the config from the tree and calls the difference drift. |
16
17
 
17
18
  ## What the template note means
@@ -24,7 +25,9 @@ worktrees, dogfood and refresh the comments (values the check accepts stay)` —
24
25
  and still exits 0. It is never drift: every value the file declares is valid.
25
26
 
26
27
  The fix is `bash scripts/detect.sh --root <path> --sync --write`, which merges
27
- the template onto the file. It keeps the line of every leaf the check accepts —
28
+ the template onto the file; a project that declined the block takes the same
29
+ merge with `--no-agents` (config only, `AGENTS.md` untouched), and `--agents`
30
+ syncs only the block. It keeps the line of every leaf the check accepts —
28
31
  value and same-line trailing comment, byte for byte — so a project's
29
32
  `"*": main # confirmed: …` stays exactly as written, and takes every block,
30
33
  key, comment, and example the file lacks from the proposal. A malformed value is
@@ -35,6 +38,15 @@ second run reports `already current` and touches nothing.
35
38
  Report the note and the command; run the sync only when the user asks, the same
36
39
  as every other repair.
37
40
 
41
+ ## What the strategy note means
42
+
43
+ Check reads presence, and the frontmatter `status` when the file exists; it
44
+ never reads the content for a verdict and never edits it. `active` reports the
45
+ path and nothing else, `draft` is unsettled and `absent` unwritten with
46
+ `sassy-strategy` named for both: the outcomes and their "never drift, never
47
+ non-zero" weight are the hard-rules row's, the rules are [`anchors.md`](anchors.md),
48
+ and the report line is step 9's.
49
+
38
50
  ## What a worktree finding means
39
51
 
40
52
  `worktrees.create` and `worktrees.remove` are the project's own files, so a check