hero_planner: migrate server to oschema-first (openrpc_server!) — DONE #31
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_planner#31
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Tracking issue (filed retroactively) for the hero_planner server migration to the oschema-first
openrpc_server!architecture. The work is already merged todevelopmentand browser-verified; this issue records it and closes with a report.Scope
Replace the hand-rolled JSON-RPC dispatcher + manually-maintained
openrpc.jsonwith.oschemafiles compiled byherolib_macros::openrpc_server!into a typed trait + spec + router; regenerate the SDK; migrate the admin to the askama webserver-admin; keep business logic + SQLite store unchanged.What landed (on
development)78734a3migrate server to oschema-firstopenrpc_server!a055ecafold*_newinto*_set(empty-sid create branch)7c77217migrate admin to askama webserver-admin53dea2cadmin theme via HeroProcClient secret_find/secret_get39d67d5generated OpenRPC client for hero_planner_sdk7c510a7remap hand-JS UI to the migrated oschema RPC surface7976504fill oschema gaps (#24/#25/#26, source + regen)6499ae7vendor shared hero_lifecycle partials for CIbdb3935currency-delete uses real CurrencyRate.id8306f91adopt hero_lib #151 (domain-scoped admin rpc) +1a13efaopenrpc regenData model
All 12 entities are
[rootobject](typed SQL columns; server-minted rowids) — a clean fit, verified by the 2026-06-15 architecture review.Verification
Browser-verified on the merged build (#16): admin connection green,
window.rpcdomain-scoped, web Conditions tab renders real data, 0 console errors.Known follow-ups (not blocking)
Tracked in #30 (N+1 workspace load / dead
_liststub / stale comments) and the parked Dioxus rewrite. Closing as the server migration is complete and shipped.Closing: the oschema server migration is complete, merged to
development, and browser-verified (build #16). Follow-up tech debt is tracked in #30.