fix: update socket convention to directory pattern #73

Merged
mik-tf merged 1 commit from development_mik into development 2026-04-13 13:21:41 +00:00
Owner

Summary

  • Update 7 skills to use the directory socket convention (hero_<name>/rpc.sock) instead of flat (hero_<name>.sock)
  • Add env var cascade (HERO_<NAME>_SOCKETHERO_SOCKET_DIR) to hero_sockets skill
  • Add OServer X-Hero-Context dispatch note
  • Fix /run/hero_proc.sock/run/hero_proc/rpc.sock in 5 hero_proc skills

Matches the convention used by hero_agent (commit 6e4b9e4) and all deployed services.

Files changed

  • hero_sockets/SKILL.md — env var cascade, OServer note, updated Rust example
  • hero_proc_cmd/SKILL.md — socket path fix
  • hero_proc_openrpc/SKILL.md — socket path fix
  • hero_proc_sdk/SKILL.md — 3 socket path fixes
  • hero_proc_service_selfstart/SKILL.md — socket path fix
  • hero_proc_service_singlebin/SKILL.md — socket path fix
  • hero_ui_test_create/SKILL.md — socket path fix
## Summary - Update 7 skills to use the directory socket convention (`hero_<name>/rpc.sock`) instead of flat (`hero_<name>.sock`) - Add env var cascade (`HERO_<NAME>_SOCKET` → `HERO_SOCKET_DIR`) to hero_sockets skill - Add OServer `X-Hero-Context` dispatch note - Fix `/run/hero_proc.sock` → `/run/hero_proc/rpc.sock` in 5 hero_proc skills Matches the convention used by hero_agent (commit 6e4b9e4) and all deployed services. ## Files changed - `hero_sockets/SKILL.md` — env var cascade, OServer note, updated Rust example - `hero_proc_cmd/SKILL.md` — socket path fix - `hero_proc_openrpc/SKILL.md` — socket path fix - `hero_proc_sdk/SKILL.md` — 3 socket path fixes - `hero_proc_service_selfstart/SKILL.md` — socket path fix - `hero_proc_service_singlebin/SKILL.md` — socket path fix - `hero_ui_test_create/SKILL.md` — socket path fix
All Hero services use the directory convention: hero_<name>/rpc.sock
and hero_<name>/ui.sock under $HERO_SOCKET_DIR. Updated 7 skills:

- hero_sockets: added env var cascade (HERO_<NAME>_SOCKET → HERO_SOCKET_DIR),
  OServer X-Hero-Context note, updated socket_path() Rust example
- hero_proc_cmd, hero_proc_openrpc, hero_proc_sdk, hero_proc_service_selfstart,
  hero_proc_service_singlebin: /run/hero_proc.sock → /run/hero_proc/rpc.sock
- hero_ui_test_create: <socket_name>.sock → <service_name>/rpc.sock

Matches the convention used by hero_agent (commit 6e4b9e4) and all
deployed services on herozero.

Signed-off-by: mik-tf
mik-tf merged commit 60db8b2763 into development 2026-04-13 13:21:41 +00:00
mik-tf deleted branch development_mik 2026-04-13 13:21:41 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lhumina_code/hero_skills!73
No description provided.