experiments in a post-browser web
10
fork

Configure Feed

Select the types of activity you want to include in your feed.

docs(tasks): record cmd/page/hud core consolidation + ext:all-loaded race fix

Updates the Core-extraction status (all three surfaces done) and adds
2026-04-21 entries to the pruned log for the consolidation commits and
the `ext:all-loaded` subscribe-after-publish race that was silently
dropping 26 core commands on cold start.

+12 -5
+12 -5
docs/tasks.md
··· 112 112 - [ ] Phase 7 — polish + indexing (curated directory, relay/indexer service as separate repo) 113 113 114 114 ### Core extraction (from `docs/core-extraction-plan.md`) 115 - - [x] cmd → `app/cmd/` 116 - - [x] hud → `app/hud/` + `backend/electron/hud-glue.ts` 117 - - [ ] page → `app/page/` (FROZEN canvas architecture — needs design first) 115 + - [x] cmd → `app/cmd/` → consolidated into core background renderer (2026-04-21) 116 + - [x] hud → `app/hud/` → consolidated into core background renderer (2026-04-21) 117 + - [x] page → `app/page/` → consolidated into core background renderer (2026-04-21) 118 118 119 - ### Feature conversion holdouts 120 - - [ ] Remaining v1 features: page (pending design) 119 + All three command-registration surfaces now run inside the core 120 + background renderer (`app/index.js` awaits `initCmd()`, `initPage()`, 121 + `initHud()`). No separate resident BrowserWindows; `cmd-glue.ts`, 122 + `page-glue.ts`, and `hud-glue.ts` are deleted. The page-canvas and 123 + HUD overlay windows still exist — only the *command-registering* 124 + resident renderers were merged. 121 125 122 126 --- 123 127 ··· 125 129 126 130 Keep short — for recent context only. Prune after a few weeks. 127 131 132 + - 2026-04-21 cmd / page / hud resident renderers consolidated into the core background renderer (`app/index.js` → `initCmd/initPage/initHud`). `cmd-glue.ts`, `page-glue.ts`, `hud-glue.ts`, and the three resident shim HTMLs deleted. cmd command registry, page `open`/`modal`, HUD `hud` command + CmdOrCtrl+H shortcut all run inside the single core renderer now. 133 + - 2026-04-21 fixed cmd `ext:ready` / extension-commands race — `registerExtensionCommands()` was hung on an `ext:all-loaded` subscriber that was wired AFTER `topicCorePrefs` publish kicked off `loadExtensions()` in main, so the GLOBAL publish was dropped. Subscribe now lands before the publish; registry grows 72→96 commands on cold start (quit/restart/back/forward/reload/settings/theme-* etc. now register reliably). 134 + - 2026-04-21 fixed Electron 40 console-message forwarder in `core-glue.ts` — event `level` is a string literal in E40, not an int, so the numeric filter dropped all renderer output. 128 135 - 2026-04-16 Trimming Phase 5 closed: TILE_STRICT env flag, capability-violation pubsub topic with rate limiting, static tile-api.d.ts 129 136 - 2026-04-16 Trimming Phase 4 datastore restoration: Phase 4 over-reached; named api.datastore.* methods restored as legacy routes (the strict surface remains) 130 137 - 2026-04-16 Trimming Phase 4 closed: v1-compat shims removed, hard-fail stubs in their place, v1 else-branches deleted from 22 feature HTMLs (2218 tests passing)