@staff0rd/assist 0.643.2 → 0.643.4
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/claude/commands/draft.md +2 -2
- package/claude/commands/refine.md +1 -1
- package/dist/commands/sessions/web/bundle.js +365 -365
- package/dist/index.js +35 -10
- package/package.json +1 -1
package/claude/commands/draft.md
CHANGED
|
@@ -79,7 +79,7 @@ Two tests for each phase before proposing the plan:
|
|
|
79
79
|
|
|
80
80
|
Keep phases small (2-4 tasks each). A typical item should have 2-3 phases.
|
|
81
81
|
|
|
82
|
-
Most phases should NOT have manual checks. Only add `manualChecks` to a phase when the checks are genuinely difficult to automate (e.g. visual appearance, UX flow, hardware interaction). Do not add a final phase just for end-to-end verification — a
|
|
82
|
+
Most phases should NOT have manual checks. Only add `manualChecks` to a phase when the checks are genuinely difficult to automate (e.g. visual appearance, UX flow, hardware interaction). Do not add a final phase just for end-to-end verification — a `Review` phase is appended to every plan automatically, and authoring one is rejected.
|
|
83
83
|
|
|
84
84
|
## Step 4: Propose the item
|
|
85
85
|
|
|
@@ -100,7 +100,7 @@ cat <<'JSON' | assist backlog propose --json - 2>&1
|
|
|
100
100
|
JSON
|
|
101
101
|
```
|
|
102
102
|
|
|
103
|
-
The payload is strict JSON — an unknown key is an error. `\n` inside the `description` string is a JSON escape and becomes a real newline, which is what the markdown rendering needs. Each phase needs at least one task; omit `manualChecks` for the phases that don't need any (most of them).
|
|
103
|
+
The payload is strict JSON — an unknown key is an error. `\n` inside the `description` string is a JSON escape and becomes a real newline, which is what the markdown rendering needs. Each phase needs at least one task; omit `manualChecks` for the phases that don't need any (most of them). A phase named `Review` is rejected: the runner appends that phase itself.
|
|
104
104
|
|
|
105
105
|
Always run `propose` **as a background task**, and do no other work until it returns. In a web session it blocks on the preview pane until the user decides, which can take far longer than the default command timeout, and the pending preview dies with the process — a killed `propose` abandons the item.
|
|
106
106
|
|
|
@@ -60,7 +60,7 @@ cat <<'JSON' | assist backlog update-plan <id> --json - 2>&1
|
|
|
60
60
|
JSON
|
|
61
61
|
```
|
|
62
62
|
|
|
63
|
-
The payload is the whole plan, not a patch: every phase you want the item to end up with, in order, each with all of its tasks. Take the current plan from `assist backlog view <id>`, apply the user's changes to it, and send the result — a phase you leave out is removed, and reordering is just sending the phases in a different order. The payload is strict JSON, so an unknown key is an error, and each phase needs at least one task. Omit `manualChecks` for phases that don't need any (most of them).
|
|
63
|
+
The payload is the whole plan, not a patch: every phase you want the item to end up with, in order, each with all of its tasks. Take the current plan from `assist backlog view <id>`, apply the user's changes to it, and send the result — a phase you leave out is removed, and reordering is just sending the phases in a different order. The payload is strict JSON, so an unknown key is an error, and each phase needs at least one task. Omit `manualChecks` for phases that don't need any (most of them). A phase named `Review` is rejected: the runner appends that phase itself, so it is never part of the stored plan.
|
|
64
64
|
|
|
65
65
|
Do not chain `add-phase`, `update-phase`, `remove-phase` and `move-phase` calls to build up a change — that is one preview per command and leaves the item half-edited if the user rejects part way. Those commands remain for a human typing a quick one-liner at a terminal.
|
|
66
66
|
|