Keep four lessons from the Review Loop build

AI Assisted
This commit is contained in:
jparkerweb committed 2026-11-28 21:09:07 -08:00
1 parent 57567d7a0b
commit bcb6e43dbd
1 file changed
+22
+22
View File
@@ -16,17 +16,39 @@
- About: scripts/test-web-console-shape.mjs, .agents-docs/AGENTS-architecture-console-page.md
- Noted: 2026-11-14, implement-review
### A new page module under src/web-console/public/ must be added to the file list in src/web-console/static.mjs, or the server answers 404 for it and the whole page never draws.
- Kind: correction
- About: src/web-console/static.mjs
- Why: The Review Loop screen was missing from the list and every page test timed out waiting for the page to draw, with no page error to point at it.
- Noted: 2026-11-28, implement-review
### A new scripts/test-*.mjs file must be named in the test script of the root package.json as well as in scripts/test-lanes.json, or test-skill-scripts.mjs fails.
- Kind: correction
- About: package.json
- Why: Two new test files were listed in test-lanes.json only and the full npm test failed on it.
- Noted: 2026-11-28, implement-review
### A no-hop dashboard request goes as a __<name> send; the agent answers with a top-level patch key checked in validate() (patches.mjs), and pointersForSend() maps it to console-launches.md.
- Kind: convention
- About: src/web-console/patches.mjs, src/web-console/pointers.mjs
- Noted: 2026-11-17, quick-task
### A page screen never imports another screen (the shape test forbids it): what two screens share, such as the loop setup field builders, goes in a module beside state.js, like public/loop-parts.js.
- Kind: convention
- About: src/web-console/public/loop-parts.js
- Noted: 2026-11-28, implement-review
### A test run of node install.js with a temp HOME still writes the plan2code shims into the real npm global bin, because npm's prefix does not follow HOME; also set npm_config_prefix to a temp folder.
- Kind: correction
- About: install.js
- Why: A piped --update test run repointed the real plan2code shims at a temp folder until they were fixed by hand.
- Noted: 2026-11-17, implement-review
### An extra review round in a loop phase reaches the driver through loop_driver::note_page: a Review page goes to rec.round_wait, because rec.sid still holds the phase's own session.
- Kind: how-it-works
- About: plan2code-app/src-tauri/src/loop_driver.rs
- Noted: 2026-11-28, implement-review
### Before adding a class to the git board, grep styles/git.css for it: short names like git-tools and git-path are already taken (the Branches search row, the file path cell).
- Kind: correction
- About: src/web-console/public/styles/git.css