Skip to content

feat(fleet-launcher): introduce kitty spawn + heartbeat crate#158

Merged
NagyVikt merged 1 commit into
mainfrom
feat/fleet-launcher
May 16, 2026
Merged

feat(fleet-launcher): introduce kitty spawn + heartbeat crate#158
NagyVikt merged 1 commit into
mainfrom
feat/fleet-launcher

Conversation

@NagyVikt
Copy link
Copy Markdown
Contributor

Summary

Ports the kitty-spawn path from ~/Documents/hcom (terminal.rs) into a small standalone API for codex-fleet supervisors and tooling.

  • lib.rs — CLI spawn surface (codex / claude / gemini / claw)
  • heartbeat.rs — presence/heartbeat file + sysinfo-based liveness checks
  • bin/spawn.rsfleet-spawn CLI

Workspace registers it automatically via the existing fleet-* glob in rust/Cargo.toml — no workspace manifest edit needed.

Why now

This crate has been staged-but-uncommitted on the primary checkout for a while. Landing it unblocks a follow-up refactor PR (agent/refactor-cli-convention-trait) that introduces a CliConvention trait to replace the per-CLI match in build_command_line(). That refactor is held locally until this lands.

Deps added

libc 0.2, sysinfo 0.32 (default-features disabled, system feature only), jiff 0.2 — plus their transitives in Cargo.lock (+204 lines).

Test plan

  • cargo check -p fleet-launcher — clean
  • cargo test -p fleet-launcher — 12/12 pass (lib + heartbeat unit tests)
  • Smoke-test fleet-spawn binary end-to-end (kitty window spawn) — not run in CI, requires interactive kitty

Ports the kitty-spawn path from ~/Documents/hcom (terminal.rs) into a
small standalone API for codex-fleet supervisors and tooling.

- lib.rs: CLI spawn surface (codex / claude / gemini / claw)
- heartbeat.rs: presence/heartbeat file + sysinfo-based liveness checks
- bin/spawn.rs: fleet-spawn CLI

Workspace registers it automatically via the existing `fleet-*` glob.

This lands the previously-staged crate so the dependent CliConvention
refactor (agent/refactor-cli-convention-trait) can be rebased onto main
and merged as a follow-up.
@NagyVikt NagyVikt merged commit 9eadb49 into main May 16, 2026
2 checks passed
@NagyVikt NagyVikt deleted the feat/fleet-launcher branch May 16, 2026 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant