Commit e3a2a8a
committed
Revert cosmetic GUI reformatting; keep only the shared-loader change
The previous commit's deno-fmt pass rewrote the already-merged GUI files
(gui/app.html, gui/app.js, gui/server.js) wholesale, which SonarCloud then
counted as "new code" — and app.js's kind/strata constants duplicated the new
CLI/test, leaving duplication at 4.4% (> 3%).
Restore gui/app.html and gui/app.js to their merged (main) state, and keep
only the functional shared-loader change in gui/server.js and
scripts/validate-cartridges.js (route both through src/cartridges.js so the
cartridge walk lives in exactly one place). Narrow deno.json fmt.include to the
files this PR actually authors, so the merged GUI shell is no longer reformatted.
Verified (Deno 2.8.3): deno fmt --check, deno lint, deno task test (59/59),
deno task build (1/1), GUI /api/cartridges live probe — all green.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01A1BaAhqxUjkgVb1yg1sZap1 parent 48bf632 commit e3a2a8a
5 files changed
Lines changed: 274 additions & 698 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
0 commit comments