Complete zinit → hero_proc migration in hero_compute, hero_lib, hero_skills #68

Closed
opened 2026-03-20 14:35:38 +00:00 by mik-tf · 1 comment
Owner

Context

#65 completed the zinit → hero_proc rename across 16 repos (everything built by make dist). Three repos remain with zinit references — they are not compiled by the hero_services build pipeline.

Remaining repos

hero_compute (~163 references)

  • ZINIT_SOCKET env var → HERO_PROC_SOCKET
  • README, docs (configuration.md, architecture.md, setup.md)
  • Makefile targets
  • Any active code referencing zinit

hero_lib (~172 references)

  • Dead Rhai zinit function stubs (documented in RHAI_ALL_IN_ONE.md but no Rust bindings exist)
  • CI scripts: validate_zinit() checks in ci_rhai.sh and tests.yaml
  • Installer templates: base.rhai, nodejs.rhai reference zinit functions
  • AI prompts: RHAI_ALL_IN_ONE.md has full "ZINIT PROCESS MANAGEMENT" section
  • mos/launcher/steps.rs: /sbin/zinit/sbin/hero_proc_pid1 (kernel cmdline)
  • VM/container examples using zinit as PID 1

hero_skills (~524 references)

  • Claude skill definitions (SKILL.md files)
  • Examples and documentation referencing zinit

Approach

Mechanical renames. Each repo should be verified independently:

  • hero_compute: cargo check in its workspace
  • hero_lib: cargo check + verify Rhai script examples still parse
  • hero_skills: text-only changes, no compilation needed

Ref: #65 (Phase 1+2 complete)

Signed-off-by: mik-tf

## Context #65 completed the zinit → hero_proc rename across 16 repos (everything built by `make dist`). Three repos remain with zinit references — they are not compiled by the hero_services build pipeline. ## Remaining repos ### hero_compute (~163 references) - `ZINIT_SOCKET` env var → `HERO_PROC_SOCKET` - README, docs (configuration.md, architecture.md, setup.md) - Makefile targets - Any active code referencing zinit ### hero_lib (~172 references) - Dead Rhai zinit function stubs (documented in RHAI_ALL_IN_ONE.md but no Rust bindings exist) - CI scripts: `validate_zinit()` checks in ci_rhai.sh and tests.yaml - Installer templates: base.rhai, nodejs.rhai reference zinit functions - AI prompts: RHAI_ALL_IN_ONE.md has full "ZINIT PROCESS MANAGEMENT" section - `mos/launcher/steps.rs`: `/sbin/zinit` → `/sbin/hero_proc_pid1` (kernel cmdline) - VM/container examples using zinit as PID 1 ### hero_skills (~524 references) - Claude skill definitions (SKILL.md files) - Examples and documentation referencing zinit ## Approach Mechanical renames. Each repo should be verified independently: - hero_compute: `cargo check` in its workspace - hero_lib: `cargo check` + verify Rhai script examples still parse - hero_skills: text-only changes, no compilation needed Ref: #65 (Phase 1+2 complete) Signed-off-by: mik-tf
Author
Owner

Phase 3 zinit→hero_proc cleanup complete across 3 repos:

hero_compute (1 file):

  • .env.exampleZINIT_SOCKETHERO_PROC_SOCKET, updated comments

hero_lib (20 files):

  • crates/mos/src/launcher/steps.rs/sbin/zinit/sbin/hero_proc_pid1
  • .forgejo/workflows/tests.yamlcheck_tool zinitcheck_tool hero_proc
  • ci_rhai.shvalidate_zinit()validate_hero_proc()
  • 5 docs (run.md, RHAI_ALL_IN_ONE.md, RHAI_CORE.md, codebox README, installers README)
  • 12 Rhai scripts (base.rhai, service_manager examples, codebox, openclaw, rootfs, opencode)

hero_skills (35 files + 4 renames):

  • All SKILL.md files across claude/skills/ updated
  • _beta/zinit_startup_rhai_scripts/_beta/hero_proc_startup_rhai_scripts/
  • _archive/prompts/zinit/_archive/prompts/hero_proc/
  • _archive/prompts/rhai/RHAI_ZINIT.mdRHAI_HERO_PROC.md
  • .nu scripts, knowledge docs, meeting notes updated

Final verification: grep -ri zinit across all 20+ repos returns zero active references (only meta-references in hero_proc's rename verification test and SESSION_STATUS.md history).

All repos pushed to development.

Phase 3 zinit→hero_proc cleanup complete across 3 repos: **hero_compute** (1 file): - `.env.example` — `ZINIT_SOCKET` → `HERO_PROC_SOCKET`, updated comments **hero_lib** (20 files): - `crates/mos/src/launcher/steps.rs` — `/sbin/zinit` → `/sbin/hero_proc_pid1` - `.forgejo/workflows/tests.yaml` — `check_tool zinit` → `check_tool hero_proc` - `ci_rhai.sh` — `validate_zinit()` → `validate_hero_proc()` - 5 docs (run.md, RHAI_ALL_IN_ONE.md, RHAI_CORE.md, codebox README, installers README) - 12 Rhai scripts (base.rhai, service_manager examples, codebox, openclaw, rootfs, opencode) **hero_skills** (35 files + 4 renames): - All SKILL.md files across claude/skills/ updated - `_beta/zinit_startup_rhai_scripts/` → `_beta/hero_proc_startup_rhai_scripts/` - `_archive/prompts/zinit/` → `_archive/prompts/hero_proc/` - `_archive/prompts/rhai/RHAI_ZINIT.md` → `RHAI_HERO_PROC.md` - .nu scripts, knowledge docs, meeting notes updated Final verification: `grep -ri zinit` across all 20+ repos returns zero active references (only meta-references in hero_proc's rename verification test and SESSION_STATUS.md history). All repos pushed to development.
Sign in to join this conversation.
No labels
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/home#68
No description provided.