Skip to content

feat(process): add self-contained aionui-process subprocess crate (001)#445

Open
BlackKeyZ wants to merge 1 commit into
iOfficeAI:mainfrom
BlackKeyZ:feat/001-aionui-process
Open

feat(process): add self-contained aionui-process subprocess crate (001)#445
BlackKeyZ wants to merge 1 commit into
iOfficeAI:mainfrom
BlackKeyZ:feat/001-aionui-process

Conversation

@BlackKeyZ

Copy link
Copy Markdown

Foundation-layer crate that spawns, supervises, and reaps the agent subprocesses it itself starts — parallel to and unaware of the existing CliAgentProcess / process registry. Depends only on aionui-common + aionui-runtime; never parses agent output, holds no session state, and never mutates std::env.

Identity-gated kills (recorded start-time) + single-instance lock/epoch

  • startup reap give crash-recovery without ever touching a live sibling instance's processes. Unix pgid + Windows Job Object containment.

Purely additive: no in-repo consumers yet (boot wiring + claude_code manager arrive with the F1 series). 41 inline unit tests + 1 doctest green; clippy -D warnings + fmt clean. Real-process lifecycle integration tests are kept out of the repo (archived in the project's external docs).

Foundation-layer crate that spawns, supervises, and reaps the agent
subprocesses it itself starts — parallel to and unaware of the existing
CliAgentProcess / process registry. Depends only on aionui-common +
aionui-runtime; never parses agent output, holds no session state, and
never mutates std::env.

Identity-gated kills (recorded start-time) + single-instance lock/epoch
+ startup reap give crash-recovery without ever touching a live sibling
instance's processes. Unix pgid + Windows Job Object containment.

Purely additive: no in-repo consumers yet (boot wiring + claude_code
manager arrive with the F1 series). 41 inline unit tests + 1 doctest
green; clippy -D warnings + fmt clean. Real-process lifecycle integration
tests are kept out of the repo (archived in the project's external docs).
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