@sassywares/skills 0.17.0 → 0.17.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sassywares/skills",
3
- "version": "0.17.0",
3
+ "version": "0.17.1",
4
4
  "description": "Lean, explicit-invocation Agent Skills for shipping fast: plan, work, review, validate, ship.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  suite: sassy-skills
3
3
  artifact: skill
4
- generated_by: sassy-plan@0.17.0
4
+ generated_by: sassy-plan@0.17.1
5
5
  name: sassy-plan
6
6
  description: >-
7
7
  Grill the user relentlessly about a piece of work, walking every branch of
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  suite: sassy-skills
3
3
  artifact: reference
4
- generated_by: sassy-plan@0.17.0
4
+ generated_by: sassy-plan@0.17.1
5
5
  ---
6
6
 
7
7
  # Interview protocol
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  suite: sassy-skills
3
3
  artifact: reference
4
- generated_by: sassy-plan@0.17.0
4
+ generated_by: sassy-plan@0.17.1
5
5
  ---
6
6
 
7
7
  # Plan file format
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  suite: sassy-skills
3
3
  artifact: reference
4
- generated_by: sassy-plan@0.17.0
4
+ generated_by: sassy-plan@0.17.1
5
5
  ---
6
6
 
7
7
  # Revision format
@@ -64,6 +64,15 @@ Every item names exactly one, and the class decides what it may touch:
64
64
 
65
65
  A phase marked withdrawn keeps its heading and gains `**Status:** Withdrawn — R<nn>` with the reason. Its work is not run, its history is not erased, and a later revision may reinstate it as a new phase with a note pointing back.
66
66
 
67
+ ## What a revision costs
68
+
69
+ A revision is not a phase, and it does not repeat one. What it costs is decided by its items, not by the turn that asked for it:
70
+
71
+ - **Plan-only** — every item appends to a `Done when`, records a decision, or withdraws a phase, so applying it changes `plan.md` and this file and nothing else. No implementation runs and no quality agent reviews it: the revision is applied by the commit that lands those edits and sealed once that commit exists.
72
+ - **Anything else** — the items reach code, so the executor runs them at the tier its own files earn. An amendment touching only prose is a `surface` change and gets the reviewer alone; the moment an item touches a core-code path the tier is `logic`. A phase's declared tier does not descend to an amendment to it, so a sentence reworded inside a `logic` phase is still prose.
73
+
74
+ The class does not decide this. A `gap` can be either: recording that the code ships 14 days while the plan says 7 is plan-only bookkeeping, and changing the code to match the plan is work.
75
+
67
76
  ## Sealing
68
77
 
69
78
  A revision is `open` while the work it asks for is not done, and sealed (`applied` or `dropped`) in **exactly one edit** that does all of:
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  suite: sassy-skills
3
3
  artifact: reference
4
- generated_by: sassy-plan@0.17.0
4
+ generated_by: sassy-plan@0.17.1
5
5
  ---
6
6
 
7
7
  # Sketches
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  suite: sassy-skills
3
3
  artifact: skill
4
- generated_by: sassy-work@0.17.0
4
+ generated_by: sassy-work@0.17.1
5
5
  name: sassy-work
6
6
  description: >-
7
7
  Run a sassy plan — every phase then ship by default, or one phase at a time
@@ -43,6 +43,8 @@ If a plan path is given but does not resolve to a plan, run `sassy-plan` first a
43
43
 
44
44
  A phase's `**Review:**` line names its change tier — `logic`, `surface`, or `none` — per the `sassy-plan` skill's `references/plan-format.md`. Pass it to `sassy-cycle`. A `review:` token overrides it; without either, the cycle detects the tier from the work. The tier decides the quality agents, so it is never a reason to skip the gate.
45
45
 
46
+ A **revision's** cycle is the one exception: it inherits no tier from the phase it amends. Its own files decide, so a reworded `Done when` in a `logic` phase is `surface` — the reviewer alone — while an item that reaches a core-code path is `logic`. The phase's tier describes building the phase, not amending it.
47
+
46
48
  ## The process
47
49
 
48
50
  **A commit lands at every phase boundary, before any gate.** That is what makes a revision's diff exactly the revision: feedback always arrives on a clean tree.
@@ -69,7 +71,11 @@ Read the plan's `qa` key: `qa: off` means no QA gate, and no key means every pha
69
71
 
70
72
  - **Code approved and every QA row passes** → write the QA results (`Manual` with the user's notes, `Auto` with the verdict and run id) and the phases' `Done` in one plan edit; commit that plan-only edit with the next boundary commit, or on its own (`chore(plan): P<n> done`) when the run ends here. In `mode:ship`, continue to the close-out; in `mode:phase`, report and stop.
71
73
  - **Code approved, `Manual` rows pending** → tick nothing, mark nothing `Done`, commit nothing further. Report which rows are outstanding and the command that resumes (`sassy-work <plan> mode:phase`).
72
- - **Changes requested** → **go through the plan, not around it.** Load `sassy-plan <plan path> mode:revise` with the user's words verbatim. It opens one revision, applies the plan lines, and returns the path. Then a new `sassy-cycle` with the revision's items as the work brief, commit the code with that revision — sealing it in the same commit — and return to the gate. Nothing is ever edited straight into the working tree, and no change is made without a revision saying what it replaced.
74
+ - **Changes requested** → **go through the plan, not around it.** Load `sassy-plan <plan path> mode:revise` with the user's words verbatim. It opens one revision, applies the plan lines, and returns the path. Then split on what the revision's items touch — never on how small the turn felt:
75
+ - **Plan files only** — the items append to a `Done when`, record a decision, or withdraw a phase, so `mode:revise` already made every edit there is. Commit `plan.md` with the revision and return to the gate. No cycle runs: there is nothing to implement, and reviewing the revision against itself proves nothing. The seal follows in the next commit that touches the plan — the gate's `Done` edit or the close-out — naming the commit that applied it, because a file cannot carry the hash of the commit that writes it.
76
+ - **Anything else** — the items reach code, so run a new `sassy-cycle` with them as the work brief and **no inherited tier** (see Review tier above): a prose change lands `surface`, an item touching a core-code path lands `logic`. Commit the code with that revision — sealing it in the same commit — and return to the gate.
77
+
78
+ Nothing is ever edited straight into the working tree, and no change is made without a revision saying what it replaced.
73
79
  - **A QA row fails, with no change requested** → a rework cycle with the failing rows as findings, the phase and plan as the intent reference. On `done`, re-prove and present the gate again; a row failing twice is `Blocked` with the reason and stops the run.
74
80
 
75
81
  Change requests have no cap — each one is the user's call. A revision that changes a phase already `Done` is also the user's call: put that one question to them rather than reopening it yourself.