@sassywares/skills 0.15.0 → 0.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +40 -30
- package/package.json +1 -1
- package/skills/sassy-babysit/SKILL.md +3 -0
- package/skills/sassy-commit/SKILL.md +4 -1
- package/skills/sassy-commit-push-pr/SKILL.md +4 -1
- package/skills/sassy-compound/SKILL.md +3 -0
- package/skills/sassy-compound/references/concepts.md +6 -0
- package/skills/sassy-compound/references/templates.md +6 -0
- package/skills/sassy-cycle/SKILL.md +4 -1
- package/skills/sassy-debug/SKILL.md +3 -0
- package/skills/sassy-docs/SKILL.md +3 -0
- package/skills/sassy-docs/references/handbook-format.md +6 -0
- package/skills/sassy-docs/references/handbook.md +6 -0
- package/skills/sassy-docs/references/review.md +6 -0
- package/skills/sassy-dogfood/SKILL.md +3 -0
- package/skills/sassy-dogfood/references/check.md +6 -0
- package/skills/sassy-dogfood/references/discover.md +6 -0
- package/skills/sassy-dogfood/references/run.md +6 -0
- package/skills/sassy-goal/SKILL.md +18 -12
- package/skills/sassy-goal/references/check.md +7 -1
- package/skills/sassy-goal/references/close.md +6 -0
- package/skills/sassy-goal/references/goal-format.md +17 -4
- package/skills/sassy-goal/references/next.md +15 -9
- package/skills/sassy-goal/references/revise.md +25 -0
- package/skills/sassy-goal/references/write.md +6 -0
- package/skills/sassy-handoff/SKILL.md +3 -0
- package/skills/sassy-handoff/references/read.md +6 -0
- package/skills/sassy-handoff/references/write.md +6 -0
- package/skills/sassy-overview/SKILL.md +3 -0
- package/skills/sassy-overview/references/identify.md +6 -0
- package/skills/sassy-overview/scripts/identify.sh +1 -0
- package/skills/sassy-overview/scripts/lib.sh +1 -0
- package/skills/sassy-plan/SKILL.md +29 -22
- package/skills/sassy-plan/references/interview.md +6 -0
- package/skills/sassy-plan/references/plan-format.md +40 -11
- package/skills/sassy-plan/references/revision-format.md +86 -0
- package/skills/sassy-plan/references/sketches.md +6 -0
- package/skills/sassy-review/SKILL.md +3 -0
- package/skills/sassy-scout/SKILL.md +3 -0
- package/skills/sassy-setup/SKILL.md +4 -1
- package/skills/sassy-setup/assets/agents-md.md +3 -3
- package/skills/sassy-setup/assets/roster +0 -1
- package/skills/sassy-setup/references/anchors.md +7 -1
- package/skills/sassy-setup/references/branching.md +19 -10
- package/skills/sassy-setup/references/check.md +6 -0
- package/skills/sassy-setup/references/config.md +11 -6
- package/skills/sassy-setup/references/dogfood.md +6 -0
- package/skills/sassy-setup/references/harness.md +6 -0
- package/skills/sassy-setup/references/init.md +6 -0
- package/skills/sassy-setup/references/plan-resolution.md +53 -0
- package/skills/sassy-setup/references/scaffold-header.md +6 -0
- package/skills/sassy-setup/references/workspace.md +6 -0
- package/skills/sassy-setup/references/worktree.md +6 -0
- package/skills/sassy-setup/scripts/detect.sh +3 -2
- package/skills/sassy-setup/scripts/hash-skill.mjs +1 -0
- package/skills/sassy-setup/scripts/lockcheck.mjs +1 -0
- package/skills/sassy-setup/scripts/worktree-check.mjs +1 -0
- package/skills/sassy-ship/SKILL.md +8 -5
- package/skills/sassy-ship/references/brief.md +6 -0
- package/skills/sassy-ship/references/plan.md +7 -1
- package/skills/sassy-ship/references/slice.md +6 -0
- package/skills/sassy-simplify/SKILL.md +3 -0
- package/skills/sassy-skill/SKILL.md +3 -0
- package/skills/sassy-skill/references/create.md +6 -0
- package/skills/sassy-skill/references/retune.md +6 -0
- package/skills/sassy-skill/references/verify.md +6 -0
- package/skills/sassy-strategy/SKILL.md +3 -0
- package/skills/sassy-strategy/references/check.md +6 -0
- package/skills/sassy-strategy/references/strategy-format.md +6 -0
- package/skills/sassy-strategy/references/write.md +6 -0
- package/skills/sassy-validate/SKILL.md +4 -1
- package/skills/sassy-work/SKILL.md +66 -68
- package/skills/sassy-worktree/SKILL.md +3 -0
- package/skills/sassy-worktree/references/create.md +6 -0
- package/skills/sassy-worktree/references/list.md +6 -0
- package/skills/sassy-worktree/references/remove.md +6 -0
- package/skills/sassy-lfg/SKILL.md +0 -92
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
---
|
|
2
|
+
suite: sassy-skills
|
|
3
|
+
artifact: reference
|
|
4
|
+
generated_by: sassy-goal@0.17.0
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Mode: revise — one turn of feedback on a settled goal
|
|
8
|
+
|
|
9
|
+
**One turn, one revision file.** A goal is revised the same way a plan is: `goal.md` stays the current truth, and `revisions/` keeps what it used to say. Read the `sassy-plan` skill's `references/revision-format.md` before writing a line of it — the file shape, the three item classes, and the seal are the same, and this mode only adds what is different about a goal.
|
|
10
|
+
|
|
11
|
+
## Steps
|
|
12
|
+
|
|
13
|
+
1. **Precondition.** Read `goal.md`. A `draft` goal is not revisable — it is still being grilled, so send the user back to `mode:write`. If any slice is `Planned` or `Shipped`, say which and stop: a goal's shape is settled between slices, not under one.
|
|
14
|
+
2. **Open the file.** `revisions/R<nn>-<slug>.md`, `nn` the next free number in the goal's own folder, `status: open`, with the user's words verbatim under `## Asked`. Slice plans keep their own `revisions/` and are never touched from here: a revision belongs to the artifact whose line it changes, so a change to a slice's plan is that plan's revision, not the goal's.
|
|
15
|
+
3. **Split it into items**, each `amend`, `gap`, or `scope`, and each naming what it targets in `goal.md` — a cross-slice decision, the landscape, the coexistence rules, the done-when, the non-goals, or the slice table.
|
|
16
|
+
4. **Apply it to `goal.md`.** Append a decision or a carry-forward entry; amend the done-when; add a slice to the table; mark a slice `Withdrawn — R<nn>` with its reason, never deleting a row. If `status` is `done`, set it to `active` in this same edit — a revised goal is no longer verified as a whole.
|
|
17
|
+
5. **Record it.** Add the row to `goal.md`'s `## Revisions`, set `updated`, and seal in one edit once the change is persisted — `status`, `commit`, `## Recorded`.
|
|
18
|
+
6. **Report** the revision path, the items, and the next command: `mode:next` when the change adds or reshapes a slice, or `mode:check` when it only narrows what a shipped slice must prove.
|
|
19
|
+
|
|
20
|
+
## What it may not do
|
|
21
|
+
|
|
22
|
+
- Delete a slice row, a decision, a carry-forward entry, or a revision. Withdrawal is a status, not a deletion.
|
|
23
|
+
- Plan a slice, write a slice plan, or run work. A revision changes what the goal asks for; `mode:next` is what acts on it.
|
|
24
|
+
- Touch a slice plan's `plan.md` or its `revisions/`. That plan's own revision does that, from `sassy-plan mode:revise`.
|
|
25
|
+
- Reopen a sealed revision. A second change to the same thing is a new file with `supersedes: [R02.1]`.
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
---
|
|
2
|
+
suite: sassy-skills
|
|
3
|
+
artifact: reference
|
|
4
|
+
generated_by: sassy-goal@0.17.0
|
|
5
|
+
---
|
|
6
|
+
|
|
1
7
|
# Mode: write — grill and write the goal
|
|
2
8
|
|
|
3
9
|
**Documents only.** This mode writes or revises `goal.md`. It never writes a slice plan, cuts a branch, edits code, or commits.
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
---
|
|
2
|
+
suite: sassy-skills
|
|
3
|
+
artifact: reference
|
|
4
|
+
generated_by: sassy-handoff@0.17.0
|
|
5
|
+
---
|
|
6
|
+
|
|
1
7
|
# Mode: read — understand a handoff, then ask
|
|
2
8
|
|
|
3
9
|
**Read-only until the user answers.** This mode explains and asks. It does not edit, commit, run a skill, or start the next step on its own — even when **Next steps** looks obvious.
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
---
|
|
2
|
+
suite: sassy-skills
|
|
3
|
+
artifact: reference
|
|
4
|
+
generated_by: sassy-overview@0.17.0
|
|
5
|
+
---
|
|
6
|
+
|
|
1
7
|
# Identify
|
|
2
8
|
|
|
3
9
|
`scripts/identify.sh` inspects a project's files and prints one line per key. It is the whole of `mode:identify`: run it, read its lines, branch on its exit code.
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
---
|
|
2
|
+
suite: sassy-skills
|
|
3
|
+
artifact: skill
|
|
4
|
+
generated_by: sassy-plan@0.17.0
|
|
2
5
|
name: sassy-plan
|
|
3
6
|
description: >-
|
|
4
7
|
Grill the user relentlessly about a piece of work, walking every branch of
|
|
5
8
|
the decision tree until nothing is assumed or open, then let the user choose:
|
|
6
9
|
keep the plan it has been writing, start working via sassy-work, or implement
|
|
7
|
-
and ship via sassy-
|
|
10
|
+
and ship via sassy-work. The plan file is written while the interview runs.
|
|
8
11
|
Sketches UI on request. No QA flags. Use when asked to brainstorm, scope,
|
|
9
12
|
plan, or create a phased plan.
|
|
10
13
|
argument-hint: "[feature description, requirements, or idea to scope] [out:<plan path>]"
|
|
@@ -12,9 +15,9 @@ argument-hint: "[feature description, requirements, or idea to scope] [out:<plan
|
|
|
12
15
|
|
|
13
16
|
# Sassy Plan
|
|
14
17
|
|
|
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
|
|
18
|
+
**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 two options: stop, or start working via `sassy-work`. 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
19
|
|
|
17
|
-
**Does not implement.** Planning never implements. Execution belongs to `sassy-work
|
|
20
|
+
**Does not implement.** Planning never implements. Execution belongs to `sassy-work`, and only after the user picks.
|
|
18
21
|
|
|
19
22
|
**Config.** Resolve `.sassywares/config.yaml` (nearest, walking up) per the `sassy-setup` skill's `references/config.md`. Precedence: explicit token > session instruction > config > skill default. Plans land in `artifacts.plans`.
|
|
20
23
|
|
|
@@ -29,13 +32,13 @@ argument-hint: "[feature description, requirements, or idea to scope] [out:<plan
|
|
|
29
32
|
- **No exit with open branches.** Only a ledger with zero open items, or the user explicitly ending the interview, reaches the picker.
|
|
30
33
|
- **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
34
|
- **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-
|
|
35
|
+
- **A draft is not a plan.** It is never handed to an executor. `sassy-work`, `sassy-validate`, and `sassy-ship` all refuse `status: draft`, and only the confirmed read-back flips it to `active`.
|
|
33
36
|
|
|
34
37
|
## Phase A — Grill
|
|
35
38
|
|
|
36
39
|
**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.
|
|
37
40
|
|
|
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
|
|
41
|
+
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 directory at its final path — `plan.md` plus an empty `revisions/`, 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
42
|
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.
|
|
40
43
|
3. **Map.** Show the decision tree as the open ledger, in dependency order. The user can add, cut, or reorder.
|
|
41
44
|
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.
|
|
@@ -45,44 +48,48 @@ argument-hint: "[feature description, requirements, or idea to scope] [out:<plan
|
|
|
45
48
|
|
|
46
49
|
## Caller-set output
|
|
47
50
|
|
|
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
|
|
51
|
+
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`; 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
52
|
|
|
50
53
|
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`.
|
|
51
54
|
|
|
55
|
+
## Revise — `mode:revise`
|
|
56
|
+
|
|
57
|
+
An executor's gate hands feedback back here: `sassy-plan <plan path> mode:revise`, with the user's words verbatim. Revising is not grilling — do not reopen settled branches, do not re-ask, and do not run a read-back.
|
|
58
|
+
|
|
59
|
+
1. **Resolve the plan** per the `sassy-setup` skill's `references/plan-resolution.md`, migrating a flat one first if this write path found it that way. A `draft` plan is not revisable, because it is still being written; a `done` plan reopens by setting `status: active` in the first edit.
|
|
60
|
+
2. **Open one file.** `revisions/R<nn>-<slug>.md`, with `nn` the next free number and `status: open`, and the feedback quoted verbatim under `## Asked`. Read `references/revision-format.md` before writing a line of it.
|
|
61
|
+
3. **Split it into atomic items**, each with one class — `amend`, `gap`, or `scope` — and the phase it belongs to. An item that names no phase belongs to the phase whose work it contradicts.
|
|
62
|
+
4. **Apply them to `plan.md`.** Append to a `Done when`, add a decision or a line that quotes what it supersedes, or mark a phase `Withdrawn — R<nn>`. Never delete a line or a phase, and never replace one without quoting it in the revision.
|
|
63
|
+
5. **Record it.** Add its row to `plan.md`'s `## Revisions` index and set `updated`. Sealing — `status: applied`, `commit`, `## Recorded` — happens once the change is implemented and committed, in exactly one edit; a `dropped` item carries its reason and nothing else.
|
|
64
|
+
6. **Return** the revision path and the phases it touches. The executor keeps running. A revision that changes a phase already `Done` is the user's call, so put that one question to them rather than deciding it.
|
|
65
|
+
|
|
52
66
|
## The picker
|
|
53
67
|
|
|
54
|
-
Only when the read-back is confirmed with zero open items — and no `out:` was given — present exactly these
|
|
68
|
+
Only when the read-back is confirmed with zero open items — and no `out:` was given — present exactly these two options and stop until the user picks. Do not recommend one.
|
|
55
69
|
|
|
56
70
|
```text
|
|
57
71
|
Settled. Pick one:
|
|
58
|
-
1.
|
|
72
|
+
1. Done for now — <artifacts.plans>/<type>-<slug>/plan.md
|
|
59
73
|
2. Start working via sassy-work
|
|
60
|
-
3. Implement and ship it via sassy-lfg
|
|
61
74
|
```
|
|
62
75
|
|
|
63
|
-
The plan
|
|
76
|
+
The plan already exists and is already `active` — the confirmed read-back flipped it — so no option writes it, and no option deletes it. Option 2 hands its path to the executor, so what happens next is recorded in the plan's `revisions/` instead of in a conversation that ends. Say that in one line when presenting the picker.
|
|
64
77
|
|
|
65
78
|
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.
|
|
66
79
|
|
|
67
|
-
### Option 1 —
|
|
80
|
+
### Option 1 — Done for now
|
|
68
81
|
|
|
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
|
|
82
|
+
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 run option, now on the plan:
|
|
70
83
|
|
|
71
84
|
```text
|
|
72
|
-
Plan written to <absolute path>.
|
|
73
|
-
1. Start working via sassy-work
|
|
74
|
-
2. Implement and ship it via sassy-lfg
|
|
85
|
+
Plan written to <absolute path>. Start working via sassy-work, or stop here.
|
|
75
86
|
```
|
|
76
87
|
|
|
77
|
-
Wait for the user.
|
|
88
|
+
Wait for the user. Starting loads `sassy-work` with the plan path as its argument — every phase, then the close-out; add `mode:phase` to run one phase and stop. Anything else, or no human present, ends here with the plan written. Do not implement or commit before a pick.
|
|
78
89
|
|
|
79
90
|
### Option 2 — Start working via `sassy-work`
|
|
80
91
|
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
### Option 3 — Implement and ship it via `sassy-lfg`
|
|
84
|
-
|
|
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.
|
|
92
|
+
Load the `sassy-work` skill with the plan path as its argument. The plan stays on disk and stays `active`: a run writes its phase status and its revisions into the plan, so nothing has to be kept in the conversation. Delete nothing.
|
|
86
93
|
|
|
87
94
|
## QA
|
|
88
95
|
|
|
@@ -98,6 +105,6 @@ Every phase also carries a `**Review:**` line — `logic`, `surface`, or `none`
|
|
|
98
105
|
|
|
99
106
|
## Resume
|
|
100
107
|
|
|
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.
|
|
108
|
+
If the user points at an existing sassy plan, resolve it first per the `sassy-setup` skill's `references/plan-resolution.md` — a flat v1 plan is migrated on this write path, in the same commit, changing no other line — then 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.
|
|
102
109
|
|
|
103
110
|
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.
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
---
|
|
2
|
+
suite: sassy-skills
|
|
3
|
+
artifact: reference
|
|
4
|
+
generated_by: sassy-plan@0.17.0
|
|
5
|
+
---
|
|
6
|
+
|
|
1
7
|
# Interview protocol
|
|
2
8
|
|
|
3
9
|
Read this before the first question. It is how Phase A grills: the ledger, the question discipline, the pushback lenses, and the coverage sweep that has to come back clean before the picker.
|
|
@@ -1,16 +1,30 @@
|
|
|
1
|
+
---
|
|
2
|
+
suite: sassy-skills
|
|
3
|
+
artifact: reference
|
|
4
|
+
generated_by: sassy-plan@0.17.0
|
|
5
|
+
---
|
|
6
|
+
|
|
1
7
|
# Plan file format
|
|
2
8
|
|
|
3
|
-
Read this before writing the plan file.
|
|
9
|
+
Read this before writing the plan file. Reading one never writes it — the `sassy-setup` skill's `references/plan-resolution.md` owns how a plan path is resolved, including the legacy flat shape.
|
|
4
10
|
|
|
5
|
-
##
|
|
11
|
+
## Where a plan lives
|
|
6
12
|
|
|
7
|
-
|
|
13
|
+
A plan is a directory from the moment it is created, never a file that becomes one later:
|
|
8
14
|
|
|
9
|
-
|
|
15
|
+
```text
|
|
16
|
+
<artifacts.plans>/<type>-<slug>/
|
|
17
|
+
├── plan.md # this format
|
|
18
|
+
└── revisions/ # the append-only revision log; empty until the first revision
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
The directory name is the plan's identity and it never changes. `status` flips `draft` to `active` in place, so the path the user was handed at the framing step still points at the plan after the read-back, and a revision never moves it: a rename breaks every reference to the plan (`sassy-work <plan>`, hook briefs, `goal.md`'s slice links).
|
|
22
|
+
|
|
23
|
+
- **`type`** is one of `feat fix chore refactor docs test perf ci build` — the Conventional Commit type the work will ship as — and a standalone plan's directory prefix must equal the frontmatter `type`.
|
|
10
24
|
- **`slug`** is lowercase ASCII kebab, 2–3 words (ceiling 5), naming the thing that changes, never the activity: `worktree-cut`, not `cutting-the-worktree-half`.
|
|
11
|
-
- **No date, no `-plan` suffix, no phase numbers.** The date is frontmatter, because
|
|
25
|
+
- **No date, no `-plan` suffix, no phase numbers.** The date is frontmatter, because the name must survive a revision, and a rename breaks every reference to it.
|
|
12
26
|
- **Never overwrite another plan.** Two concurrent plans on the same object take a qualifier (`-phase-two`), never a timestamp.
|
|
13
|
-
- **A caller passing `out:<path>` owns the name.**
|
|
27
|
+
- **A caller passing `out:<path>` owns the name.** A slice plan is `<goal-folder>/NN-<slice-slug>/plan.md`, and the caller's path wins over every rule here.
|
|
14
28
|
|
|
15
29
|
## The frontmatter
|
|
16
30
|
|
|
@@ -21,9 +35,9 @@ Keys, in this order: `type`, `status`, `created`, and `updated` are required; `q
|
|
|
21
35
|
|
|
22
36
|
| Status | Set by | Means | Read by |
|
|
23
37
|
|---|---|---|---|
|
|
24
|
-
| `draft` | `sassy-plan`, at the framing step | Being grilled. Nothing may run on it | `sassy-work`, `sassy-
|
|
25
|
-
| `active` | `sassy-plan`, immediately after the confirmed read-back | Settled. The executors may run | `sassy-work
|
|
26
|
-
| `done` | `sassy-ship`, in the commit that closes the plan out | Closed out | `sassy-ship` does not close it twice; `sassy-work`
|
|
38
|
+
| `draft` | `sassy-plan`, at the framing step | Being grilled. Nothing may run on it | `sassy-work`, `sassy-validate`, and `sassy-ship` refuse it and send the user back to `sassy-plan` |
|
|
39
|
+
| `active` | `sassy-plan`, immediately after the confirmed read-back | Settled. The executors may run | `sassy-work` |
|
|
40
|
+
| `done` | `sassy-ship`, in the commit that closes the plan out | Closed out | `sassy-ship` does not close it twice; `sassy-work` refuses it; `sassy-plan` resume sets it back to `active` |
|
|
27
41
|
|
|
28
42
|
`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
43
|
|
|
@@ -37,13 +51,19 @@ Slice plans add `goal` (relative path to the parent `goal.md`) and `slice` (the
|
|
|
37
51
|
|
|
38
52
|
The H1 title stays: frontmatter does not render on GitHub, so the heading is what a reader sees.
|
|
39
53
|
|
|
54
|
+
## Revisions
|
|
55
|
+
|
|
56
|
+
Every plan carries this index, last in the file, even when it is empty. One row per revision file, added in the same edit that opens the revision and updated in the same edit that seals it — never removed: `R`, `date`, the class it turned out to be (`amend`, `gap`, `scope`, or `mixed`), the phases it names, a one-line summary, and its `status`. The files themselves live in `revisions/`, and `references/revision-format.md` owns their shape.
|
|
57
|
+
|
|
58
|
+
A line in the body carries no revision number until a revision is what put it there. A reader who wants the reasoning behind a line finds `R<nn>` on it, then opens that file. A plan with an empty index is a plan nobody has revised, which is a perfectly normal state and not a missing section.
|
|
59
|
+
|
|
40
60
|
## Written while the interview runs
|
|
41
61
|
|
|
42
62
|
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
63
|
|
|
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.
|
|
64
|
+
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. After the read-back, a line is only replaced through a revision that quotes the text it replaced (`references/revision-format.md`); before it, a reopened branch replaces its own line in the same turn. 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
65
|
|
|
46
|
-
The draft is deleted
|
|
66
|
+
The draft is never deleted. Every option the picker offers keeps the plan it was handed, because a plan is the record of decisions the user made and deleting it takes the reasoning with it. A run that ends without executing leaves an `active` plan on disk, which is the honest state of work that was settled and not started.
|
|
47
67
|
|
|
48
68
|
## No open questions
|
|
49
69
|
|
|
@@ -170,6 +190,15 @@ Omit empty layers. Do not put the next goal's work here. The `**Review:**` line
|
|
|
170
190
|
…
|
|
171
191
|
```
|
|
172
192
|
|
|
193
|
+
…and last in the file, after the final phase, the index. It is written in the same edit that seals a revision and never removed:
|
|
194
|
+
|
|
195
|
+
```markdown
|
|
196
|
+
## Revisions
|
|
197
|
+
|
|
198
|
+
| R | Date | Class | Target | Summary | Status |
|
|
199
|
+
|---|------|-------|--------|---------|--------|
|
|
200
|
+
```
|
|
201
|
+
|
|
173
202
|
`qa: off` is added to the frontmatter only for a gate-free plan.
|
|
174
203
|
|
|
175
204
|
Every phase has at least one QA row. Status values there are `Pending` | `Done` | `Blocked`: a `Manual` row is `Done` once the user ran that check and confirmed it passed, an `Auto` row is `Done` once a dogfood run passed and its run id is in `Notes`, `Blocked` carries a note saying what failed, and anything unreported stays `Pending`. The frontmatter's `qa: off` is the only thing that removes the gate for executors; its absence leaves the gate on.
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
---
|
|
2
|
+
suite: sassy-skills
|
|
3
|
+
artifact: reference
|
|
4
|
+
generated_by: sassy-plan@0.17.0
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Revision format
|
|
8
|
+
|
|
9
|
+
Read this before opening, sealing, or reading a revision. `plan.md` is the current truth; `revisions/` is what it used to say and why it changed.
|
|
10
|
+
|
|
11
|
+
## When a revision exists
|
|
12
|
+
|
|
13
|
+
Every turn of feedback **after the confirmed read-back** opens exactly one revision — one file per turn, however many items that turn contains. A grill that has not been read back yet is not a revision: it is the draft still being written, and it appends to `plan.md` directly.
|
|
14
|
+
|
|
15
|
+
## The file
|
|
16
|
+
|
|
17
|
+
`revisions/R<nn>-<slug>.md`, beside `plan.md`.
|
|
18
|
+
|
|
19
|
+
- **`nn`** is two digits, contiguous from `01`, in creation order. Numbers are never reused, never renumbered, and never reordered, even after a withdrawal.
|
|
20
|
+
- **`slug`** is lowercase ASCII kebab, 2–3 words, naming what the turn changed: `surface-redesign`, `drop-forgot-password`.
|
|
21
|
+
|
|
22
|
+
```markdown
|
|
23
|
+
---
|
|
24
|
+
artifact: revision
|
|
25
|
+
r: 3
|
|
26
|
+
date: 2026-02-14
|
|
27
|
+
generated_by: sassy-plan@0.16.0
|
|
28
|
+
status: open
|
|
29
|
+
supersedes: []
|
|
30
|
+
phases: [P2]
|
|
31
|
+
commit: null
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
# R03 — the invite modal should show the workspace name
|
|
35
|
+
|
|
36
|
+
## Asked
|
|
37
|
+
|
|
38
|
+
> Verbatim, as the user said it. A paraphrase loses the branch the plan is
|
|
39
|
+
> supposed to be able to reopen, and it is the one thing a later reader
|
|
40
|
+
> cannot reconstruct.
|
|
41
|
+
|
|
42
|
+
## Items
|
|
43
|
+
|
|
44
|
+
- **R03.1 — amend · P2.** The modal shows the workspace name above the email field.
|
|
45
|
+
- Superseded: none — this appends to P2's Done-when.
|
|
46
|
+
- **R03.2 — gap · P1.** The plan said invitations expire in 7 days; the code ships 14.
|
|
47
|
+
- Recorded as a gap, not silently corrected: the plan was wrong and the correction is history.
|
|
48
|
+
|
|
49
|
+
## Recorded
|
|
50
|
+
|
|
51
|
+
- P2's Done-when gains "the modal names the workspace".
|
|
52
|
+
- P1's Decisions gains a line naming 14 days as the shipped value, quoting the old 7.
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
## The three classes
|
|
56
|
+
|
|
57
|
+
Every item names exactly one, and the class decides what it may touch:
|
|
58
|
+
|
|
59
|
+
| Class | Means | May do |
|
|
60
|
+
|---|---|---|
|
|
61
|
+
| `amend` | The outcome was right; the detail was not | Append to a phase's `Done when`, or add a line that quotes what it supersedes |
|
|
62
|
+
| `gap` | The plan and the code disagree | Record what the plan said and what the code does, on the owning phase; never silently rewrite the plan to match the code |
|
|
63
|
+
| `scope` | The work changed shape | Append a phase, or mark one `Withdrawn — R<nn>`; never delete a phase |
|
|
64
|
+
|
|
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
|
+
|
|
67
|
+
## Sealing
|
|
68
|
+
|
|
69
|
+
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:
|
|
70
|
+
|
|
71
|
+
1. sets `status`,
|
|
72
|
+
2. fills `commit` with the commit that applied it (`null` while open),
|
|
73
|
+
3. writes or finalises `## Recorded`,
|
|
74
|
+
4. replaces the `plan.md` line it changes — with the superseded text quoted here, never silently,
|
|
75
|
+
5. sets `plan.md`'s `updated` to today,
|
|
76
|
+
6. replaces that revision's row in `plan.md`'s `## Revisions` index.
|
|
77
|
+
|
|
78
|
+
**A sealed revision is never reopened and never edited.** A change to something a sealed revision decided is a new revision with `supersedes: [R03.2]` naming the item it replaces. That is the whole point of the log: the superseded item stays readable, in the file that recorded it, with the commit that applied it.
|
|
79
|
+
|
|
80
|
+
**`dropped`** is for an item the user withdrew before it was applied. It carries the reason and nothing else.
|
|
81
|
+
|
|
82
|
+
## Reading a plan's history
|
|
83
|
+
|
|
84
|
+
Read `plan.md` for what is true now. Read the index for the sequence. Open the revisions named on the line you are wondering about — not the whole folder: a line carries its revision number only when a revision is what put it there, so the absence of one means the line is original.
|
|
85
|
+
|
|
86
|
+
An executor never needs the whole log to run a phase. It needs the phase, and it needs the revision named on any line it is about to change.
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
---
|
|
2
|
+
suite: sassy-skills
|
|
3
|
+
artifact: reference
|
|
4
|
+
generated_by: sassy-plan@0.17.0
|
|
5
|
+
---
|
|
6
|
+
|
|
1
7
|
# Sketches
|
|
2
8
|
|
|
3
9
|
Read this when the user asks to see a UI decision. A sketch is a throwaway picture that answers one question — which layout, which state, where a step sits in a flow. It is not a design, a prototype, or a spec.
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
+
suite: sassy-skills
|
|
3
|
+
artifact: skill
|
|
4
|
+
generated_by: sassy-setup@0.17.0
|
|
2
5
|
name: sassy-setup
|
|
3
6
|
description: >-
|
|
4
7
|
Detect a project's topology and wire it for the Sassy Skills suite: write
|
|
@@ -21,7 +24,7 @@ argument-hint: "[path] [mode:init|check]"
|
|
|
21
24
|
|
|
22
25
|
**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.
|
|
23
26
|
|
|
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.
|
|
27
|
+
**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. `references/plan-resolution.md` is how a plan path resolves — a directory holding `plan.md`, or a legacy flat file — and every skill that reads or writes a plan resolves it there rather than reimplementing the test. 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.
|
|
25
28
|
|
|
26
29
|
## Modes
|
|
27
30
|
|
|
@@ -12,7 +12,7 @@ it and leaves every byte outside the markers alone.
|
|
|
12
12
|
`{{artifacts.*}}` placeholders are rendered by detect.sh from the resolved
|
|
13
13
|
config, so nothing in the block may hardcode a configured path.
|
|
14
14
|
-->
|
|
15
|
-
<!-- sassywares:skills
|
|
15
|
+
<!-- sassywares:skills v2 -->
|
|
16
16
|
# Sassy Skills — how this project works
|
|
17
17
|
|
|
18
18
|
This project is wired for the Sassy Skills suite. Load a skill when a request
|
|
@@ -40,7 +40,7 @@ build, not while writing the build:
|
|
|
40
40
|
| Skill | What it does | When it runs |
|
|
41
41
|
| --- | --- | --- |
|
|
42
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
|
|
43
|
+
| `sassy-work` | Runs a plan: every phase, then the close-out — or one phase at a time with `mode:phase`. | A settled plan or brief is ready to build. |
|
|
44
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
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
46
|
| `sassy-debug` | Diagnoses to root cause, gets the fix approved, then fixes and ships it. | A bug, failing test, or unexplained failure. |
|
|
@@ -68,4 +68,4 @@ build, not while writing the build:
|
|
|
68
68
|
decide where work lands and what runs around it. Read them before branching.
|
|
69
69
|
- This block is the only part of this file the suite maintains. Every other
|
|
70
70
|
line is the project's and is never rewritten.
|
|
71
|
-
<!-- /sassywares:skills
|
|
71
|
+
<!-- /sassywares:skills v2 -->
|
|
@@ -1,9 +1,15 @@
|
|
|
1
|
+
---
|
|
2
|
+
suite: sassy-skills
|
|
3
|
+
artifact: reference
|
|
4
|
+
generated_by: sassy-setup@0.17.0
|
|
5
|
+
---
|
|
6
|
+
|
|
1
7
|
# Strategy anchor
|
|
2
8
|
|
|
3
9
|
The project's strategy is the one document that says what the product is for,
|
|
4
10
|
who it is for, and what it refuses. It is read where **direction** is decided —
|
|
5
11
|
`sassy-plan`, `sassy-goal`, `sassy-docs mode:review`, and `sassy-setup
|
|
6
|
-
mode:check` — and never by an executor: `sassy-work`, `sassy-
|
|
12
|
+
mode:check` — and never by an executor: `sassy-work`, `sassy-review`,
|
|
7
13
|
`sassy-ship`, `sassy-debug`, `sassy-commit`, `sassy-commit-push-pr`,
|
|
8
14
|
`sassy-babysit`, `sassy-worktree`, and `sassy-handoff` do not load it, because by
|
|
9
15
|
the time work is running the direction is settled and re-litigating it mid-run is
|
|
@@ -1,8 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
suite: sassy-skills
|
|
3
|
+
artifact: reference
|
|
4
|
+
generated_by: sassy-setup@0.17.0
|
|
5
|
+
---
|
|
6
|
+
|
|
1
7
|
# Branching
|
|
2
8
|
|
|
3
|
-
One branch decision per run, made **before** the first change. `sassy-work
|
|
4
|
-
`sassy-
|
|
5
|
-
|
|
9
|
+
One branch decision per run, made **before** the first change. `sassy-work` and
|
|
10
|
+
`sassy-debug` both resolve it here, through one detector, so the two cannot
|
|
11
|
+
drift apart the way two hand-copied paragraphs would.
|
|
6
12
|
|
|
7
13
|
## Resolve
|
|
8
14
|
|
|
@@ -69,12 +75,15 @@ ask at step 6, never a token of its own. There is no `worktree:ask`.
|
|
|
69
75
|
exactly that. Name the count, the branch, and the choice.
|
|
70
76
|
3. Name it `<type>/<slug>` from the plan path or the topic, deterministically,
|
|
71
77
|
so a retried run converges on the same name instead of forking `-2`. The slug
|
|
72
|
-
is the plan's
|
|
73
|
-
|
|
74
|
-
`feat
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
+
is the plan's name relative to `artifacts.plans` — the directory for a v2
|
|
79
|
+
plan, the filename without `.md` for a legacy flat one — with a standalone
|
|
80
|
+
plan's `<type>-` prefix dropped: `feat-worktree-cut/plan.md` and
|
|
81
|
+
`feat-worktree-cut.md` both name `feat/worktree-cut`. A goal slice nests as
|
|
82
|
+
`<type>/<goal>/<NN-slice>`, where `<goal>` is the goal's folder minus its
|
|
83
|
+
`<type>-` prefix and `<NN-slice>` is the slice's own folder:
|
|
84
|
+
`feat-powersync/02-offline-reads/plan.md` names
|
|
85
|
+
`feat/powersync/02-offline-reads`. `<type>` comes from the slice plan's
|
|
86
|
+
frontmatter because its `NN-` prefix carries none. A
|
|
78
87
|
`feat/*`-style `base_map` or
|
|
79
88
|
`hooks.pr` family still matches the nested name by prefix.
|
|
80
89
|
4. Re-run with `--name <name>` and take `pr-base` from that answer: a name like
|
|
@@ -131,7 +140,7 @@ ask at step 6, never a token of its own. There is no `worktree:ask`.
|
|
|
131
140
|
|
|
132
141
|
Report `head` and the checkout you are in, and carry on. Do **not** re-cut because
|
|
133
142
|
`commit.branch` is `new`:
|
|
134
|
-
a second phase, a resumed run, or
|
|
143
|
+
a second phase, a resumed run, or another `sassy-work` is already standing on
|
|
135
144
|
the branch the first one cut. That is the whole reason this is inferred rather
|
|
136
145
|
than forced. It is also what keeps a run inside its own worktree: it finds itself
|
|
137
146
|
on a non-base branch and reuses it rather than nesting another checkout. Both
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
---
|
|
2
|
+
suite: sassy-skills
|
|
3
|
+
artifact: reference
|
|
4
|
+
generated_by: sassy-setup@0.17.0
|
|
5
|
+
---
|
|
6
|
+
|
|
1
7
|
# Mode: check — verify an existing setup, write nothing
|
|
2
8
|
|
|
3
9
|
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.
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
---
|
|
2
|
+
suite: sassy-skills
|
|
3
|
+
artifact: reference
|
|
4
|
+
generated_by: sassy-setup@0.17.0
|
|
5
|
+
---
|
|
6
|
+
|
|
1
7
|
# Project config
|
|
2
8
|
|
|
3
9
|
One file: `.sassywares/config.yaml` at the project root. Every config-reading
|
|
@@ -112,7 +118,7 @@ dogfood:
|
|
|
112
118
|
| `git.remote` | mirror of `git.repo` | Workspace only: mirror remote (URL or `owner/name`) |
|
|
113
119
|
| `git.mirror_branch` | `main` | Workspace only: the branch the mirror pushes to |
|
|
114
120
|
| `repos` | `{}` | Workspace only: repo dir name → the base its PRs target |
|
|
115
|
-
| `commit.branch` | `new` | Resolved once per run, before the first change. `new` never commits on a base branch: `sassy-work
|
|
121
|
+
| `commit.branch` | `new` | Resolved once per run, before the first change. `new` never commits on a base branch: `sassy-work` and `sassy-debug` cut a branch first. `current` commits where you stand, base branch included, and the close-out pushes it to its upstream with no PR |
|
|
116
122
|
| `pr.babysit` | `true` | Whether close-out babysits the PR it opened |
|
|
117
123
|
| `pr.merge` | `false` | `true` authorizes merging a single babysat PR |
|
|
118
124
|
| `pr.delete_branch` | `false` | Delete the head branch once merged |
|
|
@@ -192,9 +198,8 @@ dropped; the refusal names why and what to run instead.
|
|
|
192
198
|
|
|
193
199
|
## `commit.branch` — decide once, before code
|
|
194
200
|
|
|
195
|
-
Resolved once per run, by the entry skill (`sassy-work`, `sassy-
|
|
196
|
-
|
|
197
|
-
`sassy-setup/references/branching.md`. Not at commit time: committing first and
|
|
201
|
+
Resolved once per run, by the entry skill (`sassy-work`, `sassy-debug`),
|
|
202
|
+
**before the first change**, through `sassy-setup/references/branching.md`. Not at commit time: committing first and
|
|
198
203
|
re-branching later leaves the commits on a base branch, and cutting the new
|
|
199
204
|
branch from `origin/<base>` then leaves them behind entirely.
|
|
200
205
|
|
|
@@ -204,8 +209,8 @@ branch from `origin/<base>` then leaves them behind entirely.
|
|
|
204
209
|
| `new` (default) | Never commit on a base branch. Cut one first, then stay on it for the rest of the run |
|
|
205
210
|
|
|
206
211
|
A branch that is already checked out and is **not** a base is reused, whatever
|
|
207
|
-
the config says. That is what makes a second phase, a resumed run, or
|
|
208
|
-
`sassy-
|
|
212
|
+
the config says. That is what makes a second phase, a resumed run, or a later
|
|
213
|
+
`sassy-work` converge on the branch the first one cut instead of cutting
|
|
209
214
|
another.
|
|
210
215
|
|
|
211
216
|
A base is **any `base_map` value**, plus the remote default — not the remote
|