reworked back end · 26 Oct 2026Every feature in the prototype page (index.html, 4,491 lines), checked against the back-end contract on the reworked branch (window.gis: 210 methods, 46 push events, documented in docs/CONNECTORS.md). Each row says what powers the feature today, which back-end channel should power it, and what has to happen.
reworked (PR #52, 25 Oct). It removed the old UI, runs the back end headless, and carries ui/command (the rebuild) and ui/dashboard (the default first window).
browser/ already runs the whole back end in a Web Worker and gives a plain page the real window.gis. The prototype can sit on that bridge without Electron, except for PDF, opening files, the phone server and GeoPackage import.
82 of 175 prototype features run real logic in the page. 46 are simulated or sample data, 16 live only in one browser, 5 call Claude directly, and 21 controls have no effect.
| Feature | Prototype today | Back end on reworked | Status | Next action |
|---|
Built, tested and reachable over window.gis, with no place in the new design yet. Each one needs a panel or a deliberate decision to leave it out.
| Capability | Channels | Note |
|---|
Per CLAUDE.md, operator-facing words come from src/nims/terminology.js. These prototype strings do not.
| Prototype says | Say | Where (line) |
|---|
browser/shims/electron.js:53 to show the new page. Add a fork check to world:command so incidents can't be declared on a live city.window.gis and nothing keeps authoritative state in the page.CONNECTORS.md in the same change, so npm run test:connectors keeps passing.