No description
- Rust 49.6%
- HTML 38.5%
- JavaScript 10.5%
- Makefile 1.2%
- Shell 0.2%
Replace duplicated Bootstrap, Bootstrap Icons, Unpoly, highlight.js, marked,
ansi_up, Chart.js and connection-status.js with shared versions from
hero_admin_lib. Add /static/shared/{*path} route. Remove ~10-13 MB of
duplicated static files per crate.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
||
|---|---|---|
| .forgejo/workflows | ||
| .hero | ||
| crates | ||
| docs | ||
| scripts | ||
| specs | ||
| .gitignore | ||
| buildenv.sh | ||
| Cargo.lock | ||
| Cargo.toml | ||
| Cargo.toml.hero_builder_backup | ||
| functional_specs.md | ||
| Makefile | ||
| 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 |
hero_planner |
~/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
This service is managed exclusively through the nu shell module
service_planner in hero_skills/nutools/modules/services/.
There is no Makefile and no bash scripts — the nu module is the single
source of truth for build, install, start, stop, and status.
# Start (build + register + run)
service planner start --update --reset
# Stop
service planner stop
# Status
service planner 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 .