feat(KB-501): implement multi-project runtime architecture with HybridExecutor

- Add ProjectRuntime interface with InProcessRuntime and ChildProcessRuntime implementations
- Implement HybridExecutor for multi-project task orchestration
- Add IPC protocol for host-worker communication in child-process mode
- Implement health monitoring with automatic restart for child processes
- Add comprehensive tests for hybrid-executor and project-runtime
- Update AGENTS.md with multi-project runtime documentation
- Add changeset for hybrid-executor-runtime release
This commit is contained in:
gsxdsm
2026-03-31 20:17:25 -07:00
parent 7852d74872
commit 6307fea203
8 changed files with 1391 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
---
"@fusion/engine": minor
---
Add per-project runtime abstraction and hybrid executor lifecycle
- New ProjectRuntime interface with in-process and child-process implementations
- IPC protocol for isolated task execution between parent and child processes
- HybridExecutor for managing multi-project task execution
- Configurable isolation modes per project (in-process vs child-process)
- Runtime health monitoring with automatic crash recovery
- Global concurrency coordination via CentralCore