The orchestrator process was hanging after completing its work because:
1. Fire-and-forget Redis operations in MessageBus.handleMessage() left
unhandled promises that kept the event loop alive
2. No explicit process.exit() call after cleanup
Changes:
- coordination.ts: Add .catch(() => {}) to fire-and-forget Redis ops
- orchestrator.ts: Add explicit process.exit(exitCode) after cleanup
- orchestrator.ts: Improve error handling in main() with proper exit codes
Tested: Pipeline mksup1wq completed full flow and exited cleanly.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Multi Agent
Multi-agent coordination demos
Overview
This directory contains multi-agent coordination demos.
Key Files
| File | Description |
|---|---|
types.ts |
TypeScript module |
coordination.ts |
TypeScript module |
agents.ts |
TypeScript module |
orchestrator.ts |
TypeScript module |
package.json |
Data/Schema |
Interfaces / APIs
Document any APIs, CLI commands, or interfaces here.
Status
** Not Started**
See STATUS.md for detailed progress tracking.
Architecture Reference
Part of the Agent Governance System.
Parent: Agents
Last updated: 2026-01-23 23:25:09 UTC