@sassywares/skills 0.14.0 → 0.16.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 +58 -34
- package/package.json +1 -2
- 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 +4 -1
- package/skills/sassy-compound/references/concepts.md +8 -2
- 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 +11 -2
- 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 +11 -4
- 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 +8 -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-plan/SKILL.md +30 -23
- package/skills/sassy-plan/references/interview.md +8 -2
- 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 +22 -11
- package/skills/sassy-setup/assets/agents-md.md +71 -0
- package/skills/sassy-setup/assets/roster +1 -1
- package/skills/sassy-setup/references/anchors.md +128 -0
- package/skills/sassy-setup/references/branching.md +19 -10
- package/skills/sassy-setup/references/check.md +20 -2
- package/skills/sassy-setup/references/config.md +22 -12
- 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 +10 -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 +29 -0
- package/skills/sassy-setup/references/worktree.md +6 -0
- package/skills/sassy-setup/scripts/detect.sh +282 -31
- 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 +69 -0
- package/skills/sassy-strategy/references/check.md +87 -0
- package/skills/sassy-strategy/references/strategy-format.md +90 -0
- package/skills/sassy-strategy/references/write.md +186 -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/CONCEPTS.md +0 -178
- package/skills/sassy-lfg/SKILL.md +0 -92
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
---
|
|
2
|
+
suite: sassy-skills
|
|
3
|
+
artifact: reference
|
|
4
|
+
generated_by: sassy-goal
|
|
5
|
+
---
|
|
6
|
+
|
|
1
7
|
# Mode: close — verify the whole goal
|
|
2
8
|
|
|
3
9
|
Runs on the last slice's branch after its `mode:check`, before its PR merges, so `status: done` rides in the last PR.
|
|
@@ -17,7 +23,8 @@ Runs on the last slice's branch after its `mode:check`, before its PR merges, so
|
|
|
17
23
|
- **Accept** — record it as a Decision with provenance: `D<n>: <gap> accepted unmet — <reason> (user-directed, over fixing)`. Never as an Assumption or a Carry-forward entry.
|
|
18
24
|
|
|
19
25
|
Nothing is left unchosen. With mixed choices, run the chosen fixes first.
|
|
20
|
-
4. **
|
|
21
|
-
5. **
|
|
22
|
-
6. **
|
|
23
|
-
7. **
|
|
26
|
+
4. **Ask the one strategy question.** Read the project's strategy at the resolved `artifacts.strategy`, with the `sassy-setup` skill's `references/anchors.md`. Ask it once, and only once: *did this change what the product is for?* A `draft` strategy is reported as unsettled and answered from the user, never enforced; a missing file is a presence note. A yes is not an edit and not a block: offer a revision through `sassy-strategy`, naming the section or sections it would open, and record the answer. A no, a yes, or a declined offer all leave this step where it is and the close-out continues — the strategy is never a veto.
|
|
27
|
+
5. **Mark it `Done`** — only when no gap was sent to a new slice: set `status: done` in the frontmatter. If any was, the goal stays `active`.
|
|
28
|
+
6. **Persist** per the SKILL.md Persisting section, on this branch, so `goal.md` and any fixes merge with the last slice. Skip step 7 if this step failed.
|
|
29
|
+
7. **Run the `after_close` hooks.** No `hooks.goal.<slug>.after_close` entry resolves for this goal's slug → skip in one line. Otherwise resolve them per the `sassy-setup` skill's `references/config.md` and run each in declared order, one `worker` each. The status is already persisted, so a blocked hook cannot rewrite it. Brief them with the goal path and slug, `goal_status` (`done`, or `active` when a gap went to a new slice), every slice's ID, status, and PR link, and the commit hash the persist step wrote, where it wrote one (per repo in a workspace, absent under `none`). A missing skill or a `blocked` result → report `stopped at <name>`, keep everything already persisted, never retry on your own, and do not claim the close-out succeeded; the user re-runs the hook and continues. A `needs-decision` result goes to the user, and the run stops there too.
|
|
30
|
+
8. **Report** the goal path, each Done-when item with its result, the gaps fixed, accepted, or sent to a new slice, and the hook outcome — `ran: <names>`, `none declared`, or `stopped at <name>`. If the goal stayed `active`, give `/sassy-goal <goal path> mode:write` to add the slice, then `mode:next` once this PR merges. Otherwise the goal is closed when this PR merges. Persisting ran with `babysit:off`, so end with `/sassy-babysit <PR url>` in the harness's syntax.
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
---
|
|
2
|
+
suite: sassy-skills
|
|
3
|
+
artifact: reference
|
|
4
|
+
generated_by: sassy-goal
|
|
5
|
+
---
|
|
6
|
+
|
|
1
7
|
# Goal file format
|
|
2
8
|
|
|
3
9
|
Read this before writing or revising `goal.md`.
|
|
@@ -8,9 +14,14 @@ A goal is a folder under `artifacts.plans`:
|
|
|
8
14
|
|
|
9
15
|
```text
|
|
10
16
|
<artifacts.plans>/<type>-<slug>/
|
|
11
|
-
├── goal.md
|
|
12
|
-
├──
|
|
13
|
-
|
|
17
|
+
├── goal.md # this format
|
|
18
|
+
├── revisions/ # append-only: one file per turn of feedback
|
|
19
|
+
├── 01-<slice-slug>/ # S1's plan, written by sassy-plan when S1 starts
|
|
20
|
+
│ ├── plan.md
|
|
21
|
+
│ └── revisions/
|
|
22
|
+
└── 02-<slice-slug>/ # S2's plan, written when S2 starts
|
|
23
|
+
├── plan.md
|
|
24
|
+
└── revisions/
|
|
14
25
|
```
|
|
15
26
|
|
|
16
27
|
The folder name is `<type>-<slug>`, and that whole name is the key `hooks.goal` uses in the project config — prefix included: `hooks.goal.feat-powersync`. The `slug` alone is the part after the `<type>-`.
|
|
@@ -20,7 +31,9 @@ The folder name is `<type>-<slug>`, and that whole name is the key `hooks.goal`
|
|
|
20
31
|
- **Unique.** Two goals on the same object take a qualifier (`-phase-two`), never a timestamp, because the folder name is the `hooks.goal` key.
|
|
21
32
|
- **Undated.** A date in the folder name would land in every `hooks.goal` entry and break when the goal is renamed.
|
|
22
33
|
|
|
23
|
-
Slice plans keep `NN-<slice-slug
|
|
34
|
+
Slice plans keep `NN-<slice-slug>` as their folder name (written via `out:`). `NN` is the slice's order and matches its ID: `S1` → `01-`, `S2` → `02-`. A slice plan is an ordinary sassy plan — a directory holding `plan.md` and its own `revisions/`, the same format as any other — so `sassy-work`, `sassy-ship`, and `sassy-validate` run on it unchanged.
|
|
35
|
+
|
|
36
|
+
A goal is revised exactly like a plan: `mode:revise` opens one `revisions/R<nn>-<slug>.md` per turn, applies its items to `goal.md`, and seals it in the commit that persists the change. `goal.md` is never rewritten wholesale and no row is ever deleted — a slice that stops being wanted is `Withdrawn — R<nn>`, which is why the reasoning behind a dropped slice outlives the decision.
|
|
24
37
|
|
|
25
38
|
## Frontmatter
|
|
26
39
|
|
|
@@ -1,30 +1,36 @@
|
|
|
1
|
+
---
|
|
2
|
+
suite: sassy-skills
|
|
3
|
+
artifact: reference
|
|
4
|
+
generated_by: sassy-goal
|
|
5
|
+
---
|
|
6
|
+
|
|
1
7
|
# Mode: next — plan the next slice
|
|
2
8
|
|
|
3
|
-
**One slice in flight.** This mode starts exactly one slice by planning it. It never implements, never plans a second slice, and never runs work
|
|
9
|
+
**One slice in flight.** This mode starts exactly one slice by planning it. It never implements, never plans a second slice, and never runs work itself.
|
|
4
10
|
|
|
5
11
|
1. **Load the goal, and gate on its status first.** Read `goal.md`. `draft` → stop here, before the hooks, before the base check, and before the grill: the goal is still being written and nothing may slice it. Say so and give `/sassy-goal <goal path> mode:write` to finish it. `done` → say so and stop. The draft gate comes first on purpose — a half-written goal must never fire a project's `before_slice` hook or plan a slice against itself. The run may still stand on the previous slice's branch here; step 6 settles the base.
|
|
6
|
-
2. **Nothing in flight.** If any slice is `Planned` or `Shipped`, stop and name what is due: a `Planned` slice needs `sassy-work`
|
|
12
|
+
2. **Nothing in flight.** If any slice is `Planned` or `Shipped`, stop and name what is due: a `Planned` slice needs `sassy-work` on its plan, a `Shipped` slice needs `mode:check`.
|
|
7
13
|
3. **Earlier slices merged.** Every `Done` slice's PR must be merged before the next slice starts, or the new slice is built on code that may still change. Dispatch a `worker` to check each PR with `gh pr view <url> --json state` and return the states. Under `commit.branch: current`, `git.repo: workspace`, or `git.repo: none` — or when a slice has no PR link — ask the user to confirm instead. Anything unmerged → stop and say which PR must merge first.
|
|
8
14
|
4. **Pick the slice.** The first `Pending` slice whose Depends are all `Done`. A `slice:<ID>` token overrides the pick, but its Depends must still be `Done`; a slice that is not `Pending` is a stop. No eligible slice → if every slice is `Done`, point at `mode:close`; otherwise report what blocks each `Pending` slice and stop.
|
|
9
15
|
5. **Run the `before_slice` hooks.** No `hooks.goal.<slug>.before_slice` entry resolves for this goal's slug → skip in one line. Otherwise resolve them per the `sassy-setup` skill's `references/config.md` and run each in declared order, one `worker` each, briefed with the goal path and slug, the slice ID and title, the plan path that is about to be written, the base and head branches, and the previous slice's PR URL. They run **before** the base check on purpose: a hook may switch each repo to its base, pull, rebase, and migrate, so the base step verifies what the hooks left. A missing skill or a `blocked` result stops the run here, **before** the grill: report which entry stopped it and why, and the recovery — fix the hook, then re-run `mode:next`. No plan is written on an unprepared environment. A `needs-decision` result goes to the user, and the run stops there too.
|
|
10
|
-
6. **Verify a fresh base.** The slice's branch is cut later by `sassy-work
|
|
16
|
+
6. **Verify a fresh base.** The slice's branch is cut later by `sassy-work`, and a run standing on a non-base branch would reuse it. Dispatch a probe `worker` to `git fetch` the remote, run the `sassy-setup` skill's `scripts/detect.sh --branch` (no `--policy`), and return `state`, `head`, and whether local `<head>` equals `<remote>/<head>`. `state` must be `on-base` and the two must match. `on-branch` (usually the previous slice's merged branch), `detached`, or a base behind or ahead of its remote → stop: tell the user to switch to the base and pull, and when hooks ran in step 5, name them as having left it that way. If the head changed since step 1, re-read `goal.md` and confirm the pick still holds. Under `commit.branch: current` this step does not apply.
|
|
11
17
|
7. **Plan it.** Load the `sassy-plan` skill and follow it, with:
|
|
12
18
|
- **frame** = the slice's Ships, Scope, and Done when from `goal.md`
|
|
13
19
|
- **settled** = the goal's Decisions and Constraints, and every Carry-forward entry — enter them in the ledger as settled with their provenance; never re-ask them
|
|
14
20
|
- **context** = the goal path, the goal's Landscape and Coexistence rows for this slice's domains, and the Deferred items addressed to this slice
|
|
15
|
-
- **`out:<goal folder>/NN-<slice-slug
|
|
21
|
+
- **`out:<goal folder>/NN-<slice-slug>`** — the slice's own directory, whose plan lands at `NN-<slice-slug>/plan.md` — with `NN` from the slice ID
|
|
16
22
|
- **frontmatter** — `type:<the goal's type>`, `goal:<path to goal.md, relative to the slice plan>`, `slice:S<n>`; the slice plan's `type` is what names its branch prefix
|
|
17
23
|
|
|
18
|
-
`sassy-plan` grills the slice in full — this is where its detail gets decided — with the plan opened at
|
|
24
|
+
`sassy-plan` grills the slice in full — this is where its detail gets decided — with the plan opened at `<out>/plan.md` as `draft`, appending each section as its branch settles and flipping it to `active` at the confirmed read-back; it skips its picker and returns the path.
|
|
19
25
|
|
|
20
|
-
**Interrupted run.** If
|
|
21
|
-
8. **Mark it `Planned`.** In the slice table set the slice `Planned` and the Plan cell to the plan link. Commit nothing. The plan and `goal.md` ride onto the slice's branch when `sassy-work`
|
|
26
|
+
**Interrupted run.** If the slice's directory `NN-<slice-slug>/` already holds a plan while the slice is still `Pending`, an earlier run stopped after writing it. Pass that plan's path to `sassy-plan` as the `out:` path and the existing plan, so it updates it in place per its existing-plan rule instead of re-grilling from scratch. A resumed run re-fires the `before_slice` hooks, which is why they must be idempotent.
|
|
27
|
+
8. **Mark it `Planned`.** In the slice table set the slice `Planned` and the Plan cell to the plan link. Commit nothing. The plan and `goal.md` ride onto the slice's branch when `sassy-work` cuts it. Their commits name the plan, not `goal.md`, so the `Planned` mark stays uncommitted on the slice branch until `sassy-ship`'s step 4 commit, which sets it `Shipped`.
|
|
22
28
|
9. **Hand over.** Report the plan path, name the hook outcome — `ran: <names>` or `none declared` — and print both commands in the harness's syntax, then stop:
|
|
23
29
|
|
|
24
30
|
```text
|
|
25
31
|
S<n> planned at <plan path>. Pick one:
|
|
26
|
-
/sassy-work <plan path>
|
|
27
|
-
/sassy-
|
|
32
|
+
/sassy-work <plan path> — every phase, then ship
|
|
33
|
+
/sassy-work <plan path> mode:phase — one phase per session
|
|
28
34
|
```
|
|
29
35
|
|
|
30
36
|
After `sassy-ship` closes the slice it prints the `mode:check` command.
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
---
|
|
2
|
+
suite: sassy-skills
|
|
3
|
+
artifact: reference
|
|
4
|
+
generated_by: sassy-goal
|
|
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,7 +1,15 @@
|
|
|
1
|
+
---
|
|
2
|
+
suite: sassy-skills
|
|
3
|
+
artifact: reference
|
|
4
|
+
generated_by: sassy-goal
|
|
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.
|
|
4
10
|
|
|
11
|
+
**Read the anchor first.** Before the first question, read the `sassy-setup` skill's `references/anchors.md` and the project's strategy at the resolved `artifacts.strategy`. It changes the questions this pass asks and nothing else: a missing file is a presence note, a `draft` is reported as unsettled and never enforced, and a quoted conflict is a question with the three outs, never a veto on the goal.
|
|
12
|
+
|
|
5
13
|
## New goal (the argument is an idea)
|
|
6
14
|
|
|
7
15
|
1. **Frame, then create the file.** Restate the goal in one or two sentences — the outcome and why it needs more than one plan. Ask the user to confirm or correct it, and what they are already thinking. On the confirmed frame, pick `<type>` and `<slug>` per `references/goal-format.md` and create `<artifacts.plans>/<type>-<slug>/goal.md`: frontmatter with `status: draft`, `created` and `updated` today, and every section heading from the template, empty — each slice row `Pending`, Carry-forward's one-line note in place. Create it before the first branch question. The file is the ledger; a ledger that lives only in the conversation is what a compaction erases, and this is the mode where that costs the most.
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
---
|
|
2
|
+
suite: sassy-skills
|
|
3
|
+
artifact: reference
|
|
4
|
+
generated_by: sassy-handoff
|
|
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
|
|
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
|
|
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,14 +32,14 @@ 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
|
|
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.
|
|
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.
|
|
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.
|
|
42
45
|
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.
|
|
@@ -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
|
|
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.
|
|
@@ -53,7 +59,7 @@ You are a thinking partner, not a form. Raise each lens as its gap appears, one
|
|
|
53
59
|
- **Specificity.** The user is "users". Ask for a specific person or narrow segment and what changes for them when this ships.
|
|
54
60
|
- **Counterfactual.** Ask what people do today when this comes up, and what it costs them if nothing ships.
|
|
55
61
|
- **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.
|
|
56
|
-
- **Contradiction.** Two answers conflict, or an answer conflicts with the code, a convention, or a
|
|
62
|
+
- **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.
|
|
57
63
|
- **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.
|
|
58
64
|
- **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?
|
|
59
65
|
- **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.
|
|
@@ -76,7 +82,7 @@ Before the read-back, walk this list against the settled tree. Every applicable
|
|
|
76
82
|
| Non-functional | Performance, security, privacy, accessibility, i18n — only where they bear on this work. |
|
|
77
83
|
| Rollout | Flag or not, order of release, rollback, who is told. |
|
|
78
84
|
| Verification | Done-when for the whole and per slice; what the user will check by hand. |
|
|
79
|
-
| Non-goals | What this deliberately does not do, so the work cannot drift into it. |
|
|
85
|
+
| 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. |
|
|
80
86
|
|
|
81
87
|
**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.
|
|
82
88
|
|
|
@@ -1,16 +1,30 @@
|
|
|
1
|
+
---
|
|
2
|
+
suite: sassy-skills
|
|
3
|
+
artifact: reference
|
|
4
|
+
generated_by: sassy-plan
|
|
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
|
|
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
|
|
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.
|