Sync upstream v3.2.4: slim install refs, a crash-safe installer, Change project restarts the agent (v3.2.4)

AI Assisted
This commit is contained in:
jparkerweb committed 2026-12-03 15:17:47 -08:00
1 parent 50319aa332
commit f997a82c4d
45 files changed
+7851 -306

No files matched your search

+4 -15
View File
@@ -46,12 +46,6 @@
- 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
@@ -63,10 +57,10 @@
- Why: The new tools fold-out reused git-tools and the Branches row's flex rule laid it out side by side.
- Noted: 2026-11-17, quick-task
### Each recordInstalled() in install.js stamps the version being installed into install.json, so a failed update must restore the old one with setRecordVersion(), or a retry says Already on.
- Kind: how-it-works
- About: install.js
- Noted: 2026-11-17, implement-review
### Before test-app-meter.mjs on a fresh checkout, run npm ci and node scripts/vendor.mjs in plan2code-app/: without ui/vendor/, app.js stops at its top-level await.
- Kind: command
- About: scripts/test-app-meter.mjs, plan2code-app/scripts/vendor.mjs
- Noted: 2026-12-03, implement-review
### Every heading and .md-h gets text-wrap: balance from tokens.css, so a long heading such as a lesson title splits into two even halves; set text-wrap: wrap where a heading runs longer than a line.
- Kind: how-it-works
@@ -94,11 +88,6 @@
- About: src/web-console/public/screens/agents
- Noted: 2026-11-17, implement-review
### The app's webview data sits outside ~/.plan2code, in Tauri's app_local_data_dir() on Windows and Linux (%LOCALAPPDATA%/com.plan2code.desktop); appWebviewDirs() in install.js lists it per OS.
- Kind: how-it-works
- About: install.js
- Noted: 2026-11-17, implement-review
### The desktop app's CSP allows no inline script, so anything that must run before the first paint (the saved theme and accent) goes in the classic head script ui/theme-early.js, not in app.js.
- Kind: convention
- About: plan2code-app/ui/theme-early.js