@sassywares/skills 0.11.20 → 0.11.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -34,7 +34,7 @@ argument-hint: "<work brief | findings> [review:logic|surface|none] [intent refe
|
|
|
34
34
|
- **Work brief** — what to build or fix, concretely.
|
|
35
35
|
- **Intent reference** — how conformance is judged: a plan path + phase, or root-cause findings. Optional; without one the validator is skipped.
|
|
36
36
|
- **Scope hint** — files or areas, optional.
|
|
37
|
-
- **Review tier** — `logic
|
|
37
|
+
- **Review tier** — `logic`, `surface`, or `none`. Callers pass the plan phase's `**Review:**` line or a `review:` token. When neither exists, step 3 detects it from the work's own report; when the report cannot decide, the tier is `logic`.
|
|
38
38
|
- **Findings** — rework only: fixes to work that already exists — failing QA rows, a standalone skill's picked findings, PR threads, goal gaps. Each is a **fix** unless the caller marks it a **simplification**. Given findings, skip steps 1–5 and start at step 6 with the findings as its lists.
|
|
39
39
|
|
|
40
40
|
A change the user asks for at a gate is **not** a finding. It is new work: the caller runs a new cycle with that change as the work brief, so tier detection, review, and one fix pass apply to it like any other unit.
|
|
@@ -13,7 +13,7 @@ argument-hint: "<plan path | brief> [branch:infer|current|new] [worktree:on|off]
|
|
|
13
13
|
|
|
14
14
|
**The orchestrator does not do work.** Read the plan, dispatch `sassy-cycle` per phase, then `sassy-ship`. Never edit application code. Keep the main context small — all heavy work happens in subagents.
|
|
15
15
|
|
|
16
|
-
**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 live under `artifacts.plans`; `git.repo` decides how the close-out persists; `commit.branch` decides whether the run needs its own branch, and a `worktree:on|off` token answers the checkout question `branching.md` asks at step 6. The token outranks config but never widens what `worktrees.enabled` allows.
|
|
16
|
+
**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 live under `artifacts.plans`; `git.repo` decides how the close-out persists; `commit.branch` decides whether the run needs its own branch, and a `worktree:on|off` token answers the checkout question the `sassy-setup` skill's `references/branching.md` asks at step 6. The token outranks config but never widens what `worktrees.enabled` allows.
|
|
17
17
|
|
|
18
18
|
**Harness.** Loading another skill, dispatching an agent, and any command you hand the user follow the `sassy-setup` skill's `references/harness.md`. Read it once per run, before the first of those.
|
|
19
19
|
|
|
@@ -57,7 +57,7 @@ A brief has no QA table, so its gate is code approval alone. Never invent, enabl
|
|
|
57
57
|
5. **Resolve the gate.** Four outcomes:
|
|
58
58
|
- **Code approved and every QA row passes** → mark the rows `Done` (`Manual` with the user's notes, `Auto` with the verdict and run id), mark the phases `Done`, then run the close-out below.
|
|
59
59
|
- **Code approved, `Manual` rows still pending** → tick nothing, mark nothing `Done`, commit nothing, ship nothing. Report which rows are outstanding and how to resume (invoke `sassy-lfg <plan>` in the harness's syntax), and stop.
|
|
60
|
-
- **Changes requested** → a new cycle per affected phase: load `sassy-cycle` with that phase's requested changes as the work brief and
|
|
60
|
+
- **Changes requested** → a new cycle per affected phase: load `sassy-cycle` with that phase's requested changes as the work brief and the plan path and phase, as amended by those changes, as the intent reference. The cycle detects the change's tier and runs that tier's agents. When every new cycle is `done`, re-prove the `Auto` rows and present the gate again; a `blocked` cycle marks its phase `Blocked` and stops the run. If a QA row also failed, name it in the work brief as an additional requirement. Change requests have no cap — each one is the user's call.
|
|
61
61
|
- **A QA row fails, with no change requested** → a rework cycle per affected phase: load `sassy-cycle` with that phase's failing rows as findings and the plan path and phase as the intent reference. When every rework is `done`, present the gate again; a `blocked` rework marks its phase `Blocked` and stops the run. A row that fails again after its rework is `Blocked` with the reason and stops the run.
|
|
62
62
|
6. **Close-out.** On both gates passing, load the `sassy-ship` skill and follow it. Do only the close-out steps the user approves. Babysit options (`merge:on|off`, `delete-branch:on|off`) are forwarded through `sassy-ship` to `sassy-babysit`. The branch from step 2 already carries the work, so ship commits and opens the PR on it; ship never creates the branch. Under `commit.branch: current` ship commits and pushes the checked-out branch to its upstream and skips the PR, `hooks.pr.*`, babysit, and merge.
|
|
63
63
|
|
|
@@ -67,7 +67,7 @@ When the argument is not a plan path, the brief is the one phase:
|
|
|
67
67
|
|
|
68
68
|
1. Resolve the branch exactly as the plan path does — the `sassy-setup` skill's `references/branching.md`, this run's `branch:` and `worktree:` tokens — before the cycle runs.
|
|
69
69
|
2. Run one `sassy-cycle` with the brief as the work brief, its decisions / done-when as the intent reference, and this run's `review:` token as the tier. Do not split it into multiple phases.
|
|
70
|
-
3. Present the code approval gate with no QA checklist, and wait. Changes requested → a new cycle with the changes as the work brief and
|
|
70
|
+
3. Present the code approval gate with no QA checklist, and wait. Changes requested → a new cycle with the changes as the work brief and the brief's decisions / done-when, as amended by those changes, as the intent reference, then this gate again; `blocked` stops.
|
|
71
71
|
4. On code approval, run `sassy-ship`. Do not run `sassy-plan` or write a plan file.
|
|
72
72
|
|
|
73
73
|
## Hard rules
|
|
@@ -22,7 +22,7 @@ Every phase names the depth of quality work it needs with a `**Review:**` line.
|
|
|
22
22
|
- **`surface`** — everything that is not core code: docs, Markdown, comments, copy/i18n strings, tests, fixtures, formatting. Reviewer only, then one fix pass.
|
|
23
23
|
- **`none`** — machine-generated or mechanical: lockfiles, generated or vendored files, formatter churn, mass renames. No review; the worker's own checks are the record.
|
|
24
24
|
|
|
25
|
-
Default to `logic` when unsure. The tier is a declaration, not a trap: a `surface` phase that turns out to touch core code is promoted to `logic` by the executor, so declaring it optimistically costs nothing.
|
|
25
|
+
Default to `logic` when unsure. The tier is a declaration, not a trap: a `surface` phase that turns out to touch core code is promoted to `logic` by the executor, so declaring it optimistically costs nothing. The template shows `logic`; a missing line is read as `logic`.
|
|
26
26
|
|
|
27
27
|
## QA — part of the gate
|
|
28
28
|
|
|
@@ -66,7 +66,7 @@ Always gate before committing. The cycle has already fixed its findings in one w
|
|
|
66
66
|
6. **Resolve the gate.** Four outcomes, nothing in between:
|
|
67
67
|
- **Code approved and every QA row passes** → go to step 7.
|
|
68
68
|
- **Code approved, `Manual` rows still pending** → record that code is approved but leave the phase `In progress`, tick nothing, commit nothing, and report that the phase is waiting on manual QA plus the command that resumes it.
|
|
69
|
-
- **Changes requested** → a new cycle: load `sassy-cycle` with the requested changes as the work brief and
|
|
69
|
+
- **Changes requested** → a new cycle: load `sassy-cycle` with the requested changes as the work brief and the plan path and phase, as amended by those changes, as the intent reference. The cycle detects the change's tier and runs that tier's agents. On `done`, re-prove the `Auto` rows (step 4) and present the gate again from step 5; on `blocked`, mark the phase `Blocked` and stop. If a QA row also failed, name it in the work brief as an additional requirement. Change requests have no cap — each one is the user's call.
|
|
70
70
|
- **A QA row fails, with no change requested** → a rework cycle: load `sassy-cycle` with the failing rows as findings and the plan path and phase as the intent reference. On `done`, re-prove the `Auto` rows (step 4) and present the gate again from step 5; on `blocked`, mark the phase `Blocked` and stop. A row that fails again after its rework is `Blocked` with the reason and stops the phase.
|
|
71
71
|
7. **Commit the phase.** On both gates passing, first mark the phase's QA rows `Done` — `Manual` rows with the user's notes, `Auto` rows with the verdict and run id from the report — and the phase `Done` in the Phase tracking table, then persist according to `git.repo`:
|
|
72
72
|
|
|
@@ -83,9 +83,9 @@ Always gate before committing. The cycle has already fixed its findings in one w
|
|
|
83
83
|
|
|
84
84
|
When the argument is not a plan path, it is one settled brief:
|
|
85
85
|
|
|
86
|
-
1. Resolve the branch exactly as the plan path does — `references/branching.md`, this run's `branch:` and `worktree:` tokens — before the cycle runs. Every brief dispatched from there names the absolute `WT_PATH` when the decision took a checkout.
|
|
86
|
+
1. Resolve the branch exactly as the plan path does — the `sassy-setup` skill's `references/branching.md`, this run's `branch:` and `worktree:` tokens — before the cycle runs. Every brief dispatched from there names the absolute `WT_PATH` when the decision took a checkout.
|
|
87
87
|
2. Run one `sassy-cycle` with the brief as the work brief, its decisions / done-when as the intent reference, and this run's `review:` token as the tier. Do not split it into multiple cycles.
|
|
88
|
-
3. Present the code approval gate with no QA checklist, and wait. Changes requested → a new cycle with the changes as the work brief and
|
|
88
|
+
3. Present the code approval gate with no QA checklist, and wait. Changes requested → a new cycle with the changes as the work brief and the brief's decisions / done-when, as amended by those changes, as the intent reference, then this gate again; `blocked` stops.
|
|
89
89
|
4. On code approval, persist the brief's changes the same way the plan path does: a `sassy-commit` delegation with `branch:current` in a remote repo, or the workspace snapshot in a workspace.
|
|
90
90
|
5. Stop and report. Shipping is a separate step (`sassy-ship`), or `sassy-lfg` would have built and shipped it. Never create or update a plan file.
|
|
91
91
|
|