Repository navigation
Description
Problem Statement
OpenWiz built an always-on engine (openwiz-service) to drive the whole factory from one machine: a scheduled tick that starts, routes and merges work, health checks with takeover, a start-up switch to turn it on, and push notifications. None of it ever ran the real factory. The factory runs natively in the agent workspace (ADE) instead: loops wake fleet managers, skills do the planning, and the CLI does the deterministic reads. The engine's code and about 1.2 MB of tests still cost CI time and attention, its milestones and live checks stay open, and new users read about a start-up switch they should never need.
Solution
Retire only the parts where the server drives everything: the scheduled tick, health and takeover, the start-up switch, and push notifications. Keep the CLI, the web view and its thin local server, and OpenWiz's existing loop features.
- Map first. Before anything is deleted, one written map lists exactly what the web view, the kept CLI commands and the kept loop features need, and what each removal may delete.
- Onboarding goes ADE-native. The install and onboard skills start a user's first fleet the same way this factory does, with the launch-fleet skill and a fleet-check loop, instead of turning the engine on.
- Then the removals, one area per pull request, each with its tests and a changelog line saying it is retired.
- Close what no longer applies: versions 0.0.8, 0.0.9, 0.0.14 and 0.0.15 close as they stand. Their remaining engine tickets and live checks close as not needed, and 0.0.14 is cancelled.
Changelog headline
OpenWiz now runs inside your agent workspace: the always-on engine's tick, health and takeover, start-up switch and push notifications are retired.
User Stories
- As a new user, I want onboarding to start my first fleet the way the maintainers' own factory runs, so that I install exactly what works.
- As a new user, I want no start-up switch or engine choice during setup, so that setup has fewer steps.
- As a web view user, I want every page I use to keep working, so that the retirement changes nothing I rely on.
- As a web view user, I want pages for retired features gone, so that nothing shows a dead feature.
- As a CLI user, I want
ls,show,send,new,fleetreads andfleet dueto keep working, so that my agents' tools don't change. - As a CLI user, I want retired commands to be gone from help and from the agent catalogue, so that agents never call them.
- As a maintainer, I want an exact map of what the web view needs before any deletion, so that nothing it uses is removed.
- As a maintainer, I want each removal in its own pull request with its tests, so that each is easy to review and revert.
- As a maintainer, I want every retired feature recorded as retired in the changelog, so that the history stays honest.
- As a maintainer, I want the retired versions' open tickets closed with a reason, so that the plan shows only live work.
- As a contributor, I want less code and fewer tests, so that the codebase is easier to understand and CI is cheaper.
Implementation Decisions
- Retired: the service's scheduled fleet tick and the CLI's
fleet tickexecutor (the tick that starts, routes and merges); health observation, watchdog and takeover; the start-up switch (openwiz engine preview,activateandstatus, and the activation handover); and push notifications (the notification engine, delivery, sources and store, their server routes and web pages, and their contracts). - Kept: the CLI, including
fleet dueand every read; the web view and its local server's other routes; the earlier loop features (loop definitions, switches, the Loops page and the scheduler code), untouched here; the GitHub and Cloudroom adapters' reads. - The map is a contract written first. For each web page: its routes, and the server, core and store modules behind them. The same for each kept CLI command and kept loop feature. For each removal ticket: its exact files and tests to delete, and the open follow-up issues it closes. Any module needed by nothing kept and not named for retirement is listed as left for a later decision, not deleted.
- Shared contracts (the fleet-tick contract's rows the launch-fleet skill reads, the CLI contract, the service contract) are edited, not deleted: only the retired parts go.
- Changelog: each removal ticket brings one
removedline in the 0.0.17 entry that starts "Retired:". Published entries for 0.0.8 and 0.0.9 are not rewritten. - Closing the versions follows the plan-graph rule for dropped tickets: each leaves its spec with a public comment naming this spec, then closes; each milestone closes once empty.
- Order: the map blocks every removal. Onboarding moves to launch-fleet before the start-up switch and the CLI tick are deleted.
Testing Decisions
- A good test here is an existing behaviour test that still passes: the web view's route tests, the CLI's command tests and the fleet read tests are the keepers.
- Seam: the full existing suite after each removal. No new test is expected for a pure deletion; a removal adds a test only when it finds a kept behaviour with no keeper.
- Each removal deletes the tests of what it removes, and names, for any test it deletes that covered kept code, the keeper that still covers it.
- The onboarding change keeps the onboard and install journey fixtures green, updated to the launch-fleet path.
- The test rule (The test rule: what earns a test, and what never does #687) applies to every ticket.
Proof
| Claim | Evidence |
|---|---|
| E1 Nothing the web view or the kept CLI needs is deleted | The map, then each removal's full suite green and the web view's route tests unchanged |
| E2 Onboarding starts a fleet through launch-fleet with no engine step | The onboard and install journey fixtures, updated red first |
| E3 Each retired feature's code, tests, routes, pages and contract parts are gone | Each removal's diff against its map entry, reviewed |
| E4 Every retired feature has its changelog line | The changelog check on each pull request |
| E5 The retired versions' tickets and milestones are closed with a reason | Read back from GitHub |
Out of Scope
- The terminal app's removal (Remove the terminal app from OpenWiz main (TA1) #776, already planned).
- The rest of
openwiz-service(its scheduler, runtime, self-update, App tokens and the loop runner): listed by the map, decided later. - Rewriting published changelog entries.
- WizLoops and the new
openwiz loopcommands (their own specs).
Further Notes
- From the J87 grill (2026-11-15, private): A3 (retire only the parts where the server drives everything), A5 (close 0.0.8, 0.0.9, 0.0.14 and 0.0.15 as they stand, recorded as retired), A7 (the removals join the test cleanup), W1 (keep the web view on a thin local server).
- The test campaign that prunes what remains is the Infra test-value spec planned beside this one.
Activity
jparker2006 commentedon Nov 15, 2026
{ "schema": "openwiz.decisions.v1", "kind": "spec_confirmation", "id": "spec-786-confirm-j87-1", "status": "resolved", "fingerprint": "cf0678ab72f3896b81fb131c20dddaac8483a945f7e085dde6c5f15cc7fcd885", "risk": "ordinary", "spec": 786, "summary": [ "Retire only the parts where the server drives everything: the tick, health and takeover, the start-up switch and push notifications.", "Keep the CLI (fleet due and every read), the web view and its local server, and the existing loop features.", "First, a map of exactly what the web view, the kept CLI and loops need, and what each removal deletes.", "Onboarding starts the first fleet through launch-fleet and a fleet-check loop before the start-up switch and the CLI tick go.", "One removal per pull request, each with its tests and a Retired changelog line.", "0.0.8, 0.0.9, 0.0.14 and 0.0.15 close as they stand; their open tickets close as not needed; 0.0.14 is cancelled." ], "headline": "OpenWiz now runs inside your agent workspace: the always-on engine's tick, health and takeover, start-up switch and push notifications are retired.", "tickets": [], "graph": [] }jparker2006 commentedon Nov 15, 2026
Plan graph written, waiting for Jake's approval. Approving starts every ticket as soon as its blockers have merged, and each one merges by the project's merge rules.
This spec is one of four planned together for one approval (the J87 grill and cleanup walkthrough 1): WizLoops 0.1.0 (openwizdev/WizLoops#1), the
openwiz loopCLI (#785), the engine retirement (#786) and the test-value campaign (#787). Jake asked for the specs and tickets written at once, with one approval covering the spec confirmations and the graphs, so no separate proposal comment was posted.Longest chain: 2 links (#795 ER1, #799 ER5, #800 ER6). Can start at approval: 2 of 7 (ER1, and ER7 for the orchestrator).
File links: none.
Link check:
jparker2006 commentedon Nov 15, 2026
{ "schema": "openwiz.decisions.v1", "kind": "plan_approval", "id": "plan-786-rev1-j87-1", "status": "superseded", "fingerprint": "5db22a379f9768eae4a8fbfd9d2d5f8afd027e32d323d34aedb8a13849db6119", "risk": "ordinary", "spec": 786, "summary": [ "Retire only the parts where the server drives everything: the tick, health and takeover, the start-up switch and push notifications.", "Keep the CLI (fleet due and every read), the web view and its local server, and the existing loop features.", "First, a map of exactly what the web view, the kept CLI and loops need, and what each removal deletes.", "Onboarding starts the first fleet through launch-fleet and a fleet-check loop before the start-up switch and the CLI tick go.", "One removal per pull request, each with its tests and a Retired changelog line.", "0.0.8, 0.0.9, 0.0.14 and 0.0.15 close as they stand; their open tickets close as not needed; 0.0.14 is cancelled." ], "headline": "OpenWiz now runs inside your agent workspace: the always-on engine's tick, health and takeover, start-up switch and push notifications are retired.", "tickets": [ { "number": 795, "title": "0.0.17 ER1: map what the web view, the kept CLI and loops need, first", "blockers": [] }, { "number": 796, "title": "0.0.17 ER2: retire the service's scheduled fleet tick", "blockers": [ 795 ] }, { "number": 797, "title": "0.0.17 ER3: retire health and takeover", "blockers": [ 795 ] }, { "number": 798, "title": "0.0.17 ER4: retire push notifications", "blockers": [ 795 ] }, { "number": 799, "title": "0.0.17 ER5: onboarding starts the first fleet through launch-fleet, with no engine step", "blockers": [ 795 ] }, { "number": 800, "title": "0.0.17 ER6: retire the start-up switch and the CLI tick", "blockers": [ 795, 799 ] }, { "number": 801, "title": "0.0.17 ER7: close 0.0.8, 0.0.9, 0.0.14 and 0.0.15 as they stand (a person: the orchestrator)", "blockers": [] } ], "graph": [ { "blocker": 795, "ticket": 796 }, { "blocker": 795, "ticket": 797 }, { "blocker": 795, "ticket": 798 }, { "blocker": 795, "ticket": 799 }, { "blocker": 795, "ticket": 800 }, { "blocker": 799, "ticket": 800 } ] }jparker2006 commentedon Nov 15, 2026
Linked: #818 (loop approval refuses while the service is saving its state) depends on the loop runner keep-or-retire decision. If the runner is kept, the fix follows #753's busy pattern.
jparker2006 commentedon Nov 15, 2026
Plan graph written, waiting for Jake's approval. Approving starts every ticket as soon as its blockers have merged, and each one merges by the project's merge rules.
This spec is one of five planned together for one approval (the J87 grill and cleanup walkthroughs 1 and 2): WizLoops 0.1.0 (openwizdev/WizLoops#1), the
openwiz loopCLI (#785), the engine retirement (#786), the test-value campaign (#787) and one measurement home (#819). Jake asked for the specs and tickets written at once, with one approval covering the spec confirmations and the graphs, so no separate proposal comment was posted.Longest chain: 2 links (#795 ER1, #799 ER5, #800 ER6; and #795 ER1, Infra #828 MT9, #800 ER6). Can start at approval: 2 of 7 (ER1, and ER7 for the orchestrator).
File links: none.
Link check:
jparker2006 commentedon Nov 15, 2026
{ "schema": "openwiz.decisions.v1", "kind": "plan_approval", "id": "plan-786-rev1-j87-2", "status": "superseded", "fingerprint": "cd961f260267871deb2872345b419939822293f4a1164b37f4b1aea361a58ad6", "risk": "ordinary", "spec": 786, "summary": [ "Retire only the parts where the server drives everything: the tick, health and takeover, the start-up switch and push notifications.", "Keep the CLI (fleet due and every read), the web view and its local server, and the existing loop features.", "First, a map of exactly what the web view, the kept CLI and loops need, and what each removal deletes.", "Onboarding starts the first fleet through launch-fleet and a fleet-check loop before the start-up switch and the CLI tick go.", "One removal per pull request, each with its tests and a Retired changelog line.", "0.0.8, 0.0.9, 0.0.14 and 0.0.15 close as they stand; their open tickets close as not needed; 0.0.14 is cancelled." ], "headline": "OpenWiz now runs inside your agent workspace: the always-on engine's tick, health and takeover, start-up switch and push notifications are retired.", "tickets": [ { "number": 795, "title": "0.0.17 ER1: map what the web view, the kept CLI and loops need, first", "blockers": [] }, { "number": 796, "title": "0.0.17 ER2: retire the service's scheduled fleet tick", "blockers": [ 795 ] }, { "number": 797, "title": "0.0.17 ER3: retire health and takeover", "blockers": [ 795 ] }, { "number": 798, "title": "0.0.17 ER4: retire push notifications", "blockers": [ 795 ] }, { "number": 799, "title": "0.0.17 ER5: onboarding starts the first fleet through launch-fleet, with no engine step", "blockers": [ 795 ] }, { "number": 800, "title": "0.0.17 ER6: retire the start-up switch and the CLI tick", "blockers": [ 795, 799, 828 ] }, { "number": 801, "title": "0.0.17 ER7: close 0.0.8, 0.0.9, 0.0.14 and 0.0.15 as they stand (a person: the orchestrator)", "blockers": [] } ], "graph": [ { "blocker": 795, "ticket": 796 }, { "blocker": 795, "ticket": 797 }, { "blocker": 795, "ticket": 798 }, { "blocker": 795, "ticket": 799 }, { "blocker": 795, "ticket": 800 }, { "blocker": 799, "ticket": 800 }, { "blocker": 828, "ticket": 800 } ] }jparker2006 commentedon Nov 15, 2026
Spec confirmed by Jake, 2026-11-15: Jake confirmed this spec as written: retire only the parts where the server drives everything (tick, health and takeover, start-up switch, push notifications), map first, and close 0.0.8, 0.0.9, 0.0.14 and 0.0.15 as they stand. One approval covered it together with the other J87 specs.
Private record: https://github.com/jparker2006/ClosedWiz/issues/325#issuecomment-6902640937
Next: its plan graph, approved in the same decision.
24 remaining items
jparker2006 commentedon Nov 16, 2026
Needs you: #800 (ER6) is held:
contracts/cli.v1.md, which it relies on, changed in #880 (merged 08:27Z). It needs re-approval through plan-graph's next revision (or the orchestrator's C2 release if the change is wording-only, as revision 6 did for #879). It also still waits for #799 and #828.jparker2006 commentedon Nov 16, 2026
Plan graph approved by Jake, 2026-11-16, revision 9: approved under Jake's standing approval for contract and fleet-skill changes a ticket consumes within its unchanged scope (ON1, 2026-11-07).
Private record: https://github.com/jparker2006/ClosedWiz/issues/325#issuecomment-6695890695
Changed since revision 8: none; #800 (ER6) is released. Every merge since revision 8 was read; only #880 changed an existing file this spec's open tickets rely on (
contracts/cli.v1.md: four newlooprows; nothing ER6 retires or keeps changes). No ticket needs an edit.Fingerprint:
4b184d5f7acd08ff2ffa915e3dc76549496fc6d3beb8ea15171357c420678fbdRevision text
jparker2006 commentedon Nov 16, 2026
Needs you: #799 (ER5) is held:
skills/launch-fleet/SKILL.md, which it relies on, changed in #968 (merged 11:09Z). Same kind as #721 and #930, released before under the standing approval for fleet-skill holds. It also still waits for #636.jparker2006 commentedon Nov 16, 2026
Plan graph approved by Jake, 2026-11-16, revision 10: approved under Jake's standing approval for holds caused only by fleet-skill changes a ticket consumes within its existing scope (2026-11-06, extended by ON1 on 2026-11-07).
Private record: https://github.com/jparker2006/ClosedWiz/issues/325#issuecomment-6695890695
Changed since revision 9: none; #799 (ER5) is released after #968's change to skills/launch-fleet/SKILL.md (the overload guard now reads the collector). ER5 uses launch-fleet as it stands to start the first fleet; no ticket needs an edit. Every merge since revision 9 was read; only #968 changed an existing file this spec's open tickets rely on.
Fingerprint:
4b184d5f7acd08ff2ffa915e3dc76549496fc6d3beb8ea15171357c420678fbdRevision text
jparker2006 commentedon Nov 16, 2026
Needs you: #800 (ER6) is held:
contracts/cli.v1.md, which it relies on, changed in #981 (LC2, merged 12:06Z). It needs re-approval through plan-graph's next revision, or the orchestrator's C2 release if the change is wording-only. It also still waits for #799 and #828.jparker2006 commentedon Nov 16, 2026
Plan graph approved by Jake, 2026-11-16, revision 11: approved under Jake's standing approval for contract and fleet-skill changes a ticket consumes within its unchanged scope (ON1, 2026-11-07).
Private record: https://github.com/jparker2006/ClosedWiz/issues/325#issuecomment-6695890695
Changed since revision 10: none; #800 (ER6) was held because its relied-on
contracts/cli.v1.mdchanged in #981 (LC2). I read the change: one table row,loop validatenow points at the shippedvalidate_reportshape instead ofnot_built. ER6 does not consume that row, so its scope is unchanged and the hold is released. It still waits for #799 and #828.Fingerprint:
4b184d5f7acd08ff2ffa915e3dc76549496fc6d3beb8ea15171357c420678fbdRevision text
jparker2006 commentedon Nov 16, 2026
Needs you: #800 (ER6) is held:
contracts/cli.v1.md, which it relies on, changed in #802 (TA1, merged 12:56Z). It needs re-approval, or the orchestrator's ON1/C2 release if ER6 does not consume the change (as revision 11 did for #981). It also still waits for #799 and #828.jparker2006 commentedon Nov 16, 2026
Plan graph approved by Jake, 2026-11-16, revision 12: approved under Jake's standing approval for contract and fleet-skill changes a ticket consumes within its unchanged scope (ON1, 2026-11-07).
Private record: https://github.com/jparker2006/ClosedWiz/issues/325#issuecomment-6695890695
Changed since revision 11: none; #800 (ER6) was held because its relied-on
contracts/cli.v1.mdchanged in #802 (TA1). I read the change: it removes the terminal app'suicommand and its capability result. ER6 retires the always-on engine's rows and does not consume those lines, so its scope is unchanged and the hold is released. It still waits for #799 and #828.Fingerprint:
4b184d5f7acd08ff2ffa915e3dc76549496fc6d3beb8ea15171357c420678fbdRevision text
jparker2006 commentedon Nov 16, 2026
Needs you: #800 (ER6) is held:
contracts/cli.v1.md, which it relies on, changed in #983 (LC3, merged 13:27Z; theloop exportrow and its report wording). It needs re-approval, or the orchestrator's ON1 release if ER6 does not consume the change, as revisions 11 and 12 did. It also still waits for #799 and #828.jparker2006 commentedon Nov 16, 2026
Plan graph approved by Jake, 2026-11-16, revision 13: approved under Jake's standing approval for contract and fleet-skill changes a ticket consumes within its unchanged scope (ON1, 2026-11-07).
Private record: https://github.com/jparker2006/ClosedWiz/issues/325#issuecomment-6695890695
Changed since revision 12: none; #800 (ER6) was held because its relied-on
contracts/cli.v1.mdchanged in #983 (LC3). I read the change: theloop exportrow now points at its shipped report. ER6 retires the always-on engine's rows and does not consume that row, so its scope is unchanged and the hold is released. It still waits for #799 and #828. The same will apply when LC4 (#792) and LC5 (#793) change only their ownloop planandloop applyrows.Fingerprint:
4b184d5f7acd08ff2ffa915e3dc76549496fc6d3beb8ea15171357c420678fbdRevision text
jparker2006 commentedon Nov 17, 2026
launch-fleet: fleet active, loop fleet-786
jparker2006 commentedon Nov 17, 2026
launch-fleet: spec summary
All planned builder tickets have verified merges into main:
ER7 #801 is complete: its record 6902850960 confirms the retired versions’ tickets, specs and milestones were closed and read back. #786 requires no separate live check; this summary makes no live-installation claim.
The kept web view has a startup path on a fresh install without an activation record:
install open --browserlaunches packagedopenwiz-server. The exact-head ER8 review (comment 6941330152 on #1069) traced it from code; the packaged service remains gated as intended.Open polish follow-ups: #865, #866, #867, #868, #923, #1031, #1037, #1038, #1039, #1075 and #1076. These remain in the polish backlog.
Known gaps outside the completed removal plan: the engine-step follow-ups left uncovered by ER1’s map, and #1052’s dormant setup-store engine-selection/activation-transaction code, which was outside ER5/ER8 ownership and awaits a later decision. The rest of the kept service and loop runtime remains outside this spec’s retirement scope.
jparker2006 commentedon Nov 17, 2026
Fleet cleanup handoff: the reviewer is verified archived. The completed builder is out of reach of this fleet, and its physical archive remains assigned to the owning parent through the existing orchestration request. Under launch-fleet’s explicit out-of-reach rule, #874’s fleet archive record is complete (comment 6943778167); this handoff does not claim the parent’s archive was observed. All planned work is complete; summary: comment 6941877117.
jparker2006 commentedon Nov 17, 2026
All planned tickets are complete: eight verified builder merges and ER7’s recorded tracker work. No separate live check is required by this spec. The completion summary and open polish follow-ups are in comment 6941877117. The reviewer is archived; completed-builder cleanup is handed to its owning parent under launch-fleet’s out-of-reach rule, recorded on #874. Closing the completed spec; no release or live-installation claim is made.