Business planning backend: SWOT to milestones, costs, and resource allocation.
- Rust 52.4%
- HTML 37.9%
- JavaScript 9.7%
List cards carry Bootstrap's `.d-flex` (display:flex !important), so
filterList()'s `style.display='none'` was silently overridden and nothing
ever hid — both the text search and the kind/status/priority chips appeared
dead across every list tab (SWOT, Stories, Milestones, …).
Hide with setProperty('display','none','important') and restore via
removeProperty so `.d-flex` resumes. Note: toggling `.d-none` would not work
here either, since it and `.d-flex` are both !important and `.d-flex` wins by
source order.
Verified on the live box: search "deal" and the "opportunity" chip each narrow
the SWOT list from 4 to 1.
Reported in home#275 (hero_planner, mik-tf).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
||
|---|---|---|
| .forgejo/workflows | ||
| .hero | ||
| crates | ||
| docs | ||
| schema | ||
| specs | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| Cargo.toml.hero_builder_backup | ||
| functional_specs.md | ||
| PURPOSE.md | ||
| README.md | ||
| rust-toolchain.toml | ||
hero_planner
Business planning & execution backend — SWOT → conditions → requirements → stories → deliverables → milestones → cost centers → costs → resources.
Components
| Crate | Binary | Socket | Purpose |
|---|---|---|---|
hero_planner_server |
hero_planner_server |
~/hero/var/sockets/hero_planner/rpc.sock |
JSON-RPC backend (OpenRPC) |
hero_planner_admin |
hero_planner_admin |
~/hero/var/sockets/hero_planner/admin.sock |
Admin dashboard (Askama) |
hero_planner_web |
hero_planner_web |
~/hero/var/sockets/hero_planner/web.sock |
End-user web app (Bootstrap) |
hero_planner_lib |
— | — | Shared planner core library |
hero_planner_sdk |
— | — | Generated OpenRPC client SDK |
Lifecycle
Per ADR-0001, lab owns the full build / install / start / stop / status
pipeline on top of hero_proc. There is no Makefile, no bash scripts,
and no service_<name>.nu module.
# Build + install + register + start all three binaries
lab build --install --start --no-upx
# Stop
lab build --stop
# Status
lab build --status
Smoke test
SOCK=~/hero/var/sockets/hero_planner/rpc.sock
curl -s --unix-socket $SOCK http://localhost/health | jq .
curl -s --unix-socket $SOCK http://localhost/openrpc.json | jq '.methods[].name'
curl -s --unix-socket $SOCK http://localhost/.well-known/heroservice.json | jq .