mirror of
https://github.com/jparkerweb/plan2code.git
synced 2026-12-05 08:15:41 -08:00
Drop the nothing-changed-yet line from Quick task's post-build review cards
AI Assisted
This commit is contained in:
1 parent
31edc2d5c9
commit
a9e0bf49f0
3 files changed
+15
-2
No files matched your search
@@ -42,7 +42,7 @@ export const BUDGETS = {
|
|||||||
"pathfinder.md": 2622, // raised by the UI prototype line's bytes only
|
"pathfinder.md": 2622, // raised by the UI prototype line's bytes only
|
||||||
"plan.md": 1023, // raised by the UI prototype line's bytes only
|
"plan.md": 1023, // raised by the UI prototype line's bytes only
|
||||||
"pr-prep.md": 4500,
|
"pr-prep.md": 4500,
|
||||||
"quick-task.md": 5194, // raised by the UI prototype line's, the prototype recap line's, the prototype archive wording's, the lessons card line's and the Changes tab lines' bytes only
|
"quick-task.md": 5238, // raised by the UI prototype line's, the prototype recap line's, the prototype archive wording's, the lessons card line's, the Changes tab lines' and the post-build cards' nothingYet bytes only
|
||||||
"review-loop.md": 4000, // its written size (3,564 bytes) plus 10 percent, rounded up to the next 100
|
"review-loop.md": 4000, // its written size (3,564 bytes) plus 10 percent, rounded up to the next 100
|
||||||
"review.md": 1190, // raised by the lessons card line's bytes, then the Review Loop pointer line's bytes only
|
"review.md": 1190, // raised by the lessons card line's bytes, then the Review Loop pointer line's bytes only
|
||||||
"revise-plan.md": 1422, // raised by the UI prototype line's bytes only
|
"revise-plan.md": 1422, // raised by the UI prototype line's bytes only
|
||||||
|
|||||||
@@ -948,6 +948,19 @@ test("notes/quick-task.md has the finished quick task offer Back to the dashboar
|
|||||||
assert.ok(bullet.includes("Review it now"));
|
assert.ok(bullet.includes("Review it now"));
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// A review card says "Nothing has been changed yet" unless it sends nothingYet:false
|
||||||
|
// (screens/cards.js), and both of these come after the build is on disk.
|
||||||
|
test("notes/quick-task.md has its post-build review cards drop the nothing-changed-yet line", () => {
|
||||||
|
const md = fs.readFileSync(path.join(ROOT, "src", "web-console", "notes", "quick-task.md"), "utf8");
|
||||||
|
const bullet = md.slice(md.indexOf("**See it running, before the finish:**"), md.indexOf("**Archive a finished folder:**"));
|
||||||
|
for (const title of ["See it running", "Does it look right?"]) {
|
||||||
|
const at = bullet.indexOf(`\`review\` "${title}" (`);
|
||||||
|
assert.ok(at >= 0, `the ${title} card is specified`);
|
||||||
|
const spec = bullet.slice(at, bullet.indexOf("with `--wait`", at));
|
||||||
|
assert.ok(spec.includes('"nothingYet":false'), `the ${title} card sends nothingYet:false`);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
// Show me it working: a screenshot saved under <session>/shots/ posts as an
|
// Show me it working: a screenshot saved under <session>/shots/ posts as an
|
||||||
// image block and is served back; nothing else is reachable through /shots/.
|
// image block and is served back; nothing else is reachable through /shots/.
|
||||||
test("an image block under the session's shots folder round-trips, and /shots/ serves nothing else", async () => {
|
test("an image block under the session's shots folder round-trips, and /shots/ serves nothing else", async () => {
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ Read `building.md` first.
|
|||||||
```
|
```
|
||||||
|
|
||||||
A step that cannot be done is `- [!]` with the reason, not counted in `cleared`. A step added mid-build raises `headline.total` in the same post. Tick Verify boxes in the post that reports the checks. Do not `wait` until the build is done.
|
A step that cannot be done is `- [!]` with the reason, not counted in `cleared`. A step added mid-build raises `headline.total` in the same post. Tick Verify boxes in the post that reports the checks. Do not `wait` until the build is done.
|
||||||
- **See it running, before the finish:** once built, post `review` "See it running" (`"doc":"plan"`, verdicts `show` ("Show me it working"), `fine` ("No need, finish up"), tokens `show me` / `no`) with `--wait`, the `changes` doc in the same post (`notes/implement.md` → Sign-off, Changes tab); before "Does it look right?", run `diff` again and re-send its block. On `show`, see `notes/implement.md` → Show me it working; its one line goes in the finish `body`. `fine` settles the card in the finish post. After `show`, settle it in the post that shows it, then post `review` "Does it look right?" (`"doc":"shown"`, verdicts `fine` ("Looks right, finish up"), `changes` ("I want changes"), tokens `approved` / `needs changes`) with `--wait`. `changes`: make it, re-run `diff` and re-send its block, reshow if visible, reopen with a `thread` reply, wait again. Only `fine` leads to the finish.
|
- **See it running, before the finish:** once built, post `review` "See it running" (`"doc":"plan"`, `"nothingYet":false`, verdicts `show` ("Show me it working"), `fine` ("No need, finish up"), tokens `show me` / `no`) with `--wait`, the `changes` doc in the same post (`notes/implement.md` → Sign-off, Changes tab); before "Does it look right?", run `diff` again and re-send its block. On `show`, see `notes/implement.md` → Show me it working; its one line goes in the finish `body`. `fine` settles the card in the finish post. After `show`, settle it in the post that shows it, then post `review` "Does it look right?" (`"doc":"shown"`, `"nothingYet":false`, verdicts `fine` ("Looks right, finish up"), `changes` ("I want changes"), tokens `approved` / `needs changes`) with `--wait`. `changes`: make it, re-run `diff` and re-send its block, reshow if visible, reopen with a `thread` reply, wait again. Only `fine` leads to the finish.
|
||||||
- **Archive a finished folder:** launched on a diagnosed folder now Fixed or an upgrade folder now Done, with nothing past the diagnosis or brief, or on a folder of only prototypes now built, post `confirm` "Archive this bug?" ("Archive this upgrade?", "Archive this prototype?") in the same post as "See it running": dry run's `files` in `body`, with any prototype not built named there, `yesLabel` "Archive it", `noLabel` "Keep it in specs/", `consequences` naming `specs--completed/<name>/`. Yes: `node "<S>/specs.mjs" archive <spec>`, and say where it went in the finish `body`.
|
- **Archive a finished folder:** launched on a diagnosed folder now Fixed or an upgrade folder now Done, with nothing past the diagnosis or brief, or on a folder of only prototypes now built, post `confirm` "Archive this bug?" ("Archive this upgrade?", "Archive this prototype?") in the same post as "See it running": dry run's `files` in `body`, with any prototype not built named there, `yesLabel` "Archive it", `noLabel` "Keep it in specs/", `consequences` naming `specs--completed/<name>/`. Yes: `node "<S>/specs.mjs" archive <spec>`, and say where it went in the finish `body`.
|
||||||
- **Finish after the build:** `command` is the filled-in commit command in the project's format (AGENTS.md), `"where":"When you are happy with it, commit it from your terminal:"`, with `review` (**Review it now**), `"commit":true`, `"changelog":true` and `"dashboard":true`. Review and dashboard are required. Whichever button is pressed, what follows is `building-review.md`.
|
- **Finish after the build:** `command` is the filled-in commit command in the project's format (AGENTS.md), `"where":"When you are happy with it, commit it from your terminal:"`, with `review` (**Review it now**), `"commit":true`, `"changelog":true` and `"dashboard":true`. Review and dashboard are required. Whichever button is pressed, what follows is `building-review.md`.
|
||||||
- **Lessons first:** with lessons to offer (`references/lessons.md`, End), post its `card` as one `lessons` item with `--wait` before the finish.
|
- **Lessons first:** with lessons to offer (`references/lessons.md`, End), post its `card` as one `lessons` item with `--wait` before the finish.
|
||||||
|
|||||||
Reference in new issue
Block a user