Skip to content

v4.14.0 — Phase 9: Agent Runtime, Console, Pipe Mode & Strategy Agent

Choose a tag to compare

@Jovancoding Jovancoding released this 02 Apr 20:09
· 21 commits to main since this release

Phase 9 — Agent Runtime, Interactive Console & Strategy Agent

Agent Runtime (Phase 9a)

  • SandboxPolicy: Command allowlists/blocklists, path scoping with traversal protection, risk assessment (low/medium/high)
  • ShellExecutor: Sandboxed child_process.spawn with timeout, output limits, concurrency tracking
  • FileAccessor: Scoped read/write/list with traversal protection
  • ApprovalGate: Human or callback approval for high-risk operations, full history with audit trail

Console UI (Phase 9b)

  • Interactive TUI: ANSI-colored terminal dashboard with readline-based command input
  • 20+ commands: status, exec, read, ls, approve, deny, audit, policy, agents, spawn, stop, bb (CRUD + propose/validate/commit), budget, fsm, health
  • Live status bar: Agents, budget, FSM state, pending approvals
  • Shared orchestrator: Console controls the same LockedBlackboard, FederatedBudget, JourneyFSM, and AdapterRegistry as the MCP server

Pipe Mode (Phase 9d)

  • JSON stdin/stdout protocol:
    px network-ai-console --pipe\ for AI-to-orchestrator control
  • 18 commands: status, exec, bb_read, bb_write, bb_list, bb_delete, bb_propose, bb_validate, bb_commit, budget, budget_spend, budget_reset, fsm, fsm_transition, agents, spawn, health, policy
  • Structured JSON responses with success/error handling

Strategy Agent (Phase 9f)

  • AgentPool: Elastic agent spawn/recycle with capacity enforcement
  • WorkloadPartitioner: Task chunking with priority routing and weighted distribution
  • Adaptive scaling: Auto-scale up/down based on utilization thresholds, budget reallocation, cooldown periods
  • Designed for 1K–1M agent coordination

Testing

  • 280 new tests across 9 sections (9a–9i)
  • 2,204 total tests across 24 suites — all passing
  • Zero external dependencies — Node.js builtins only

Documentation

  • Updated 17 files: README, SECURITY.md (x2), CHANGELOG, ARCHITECTURE, QUICKSTART, CONTRIBUTING, ENTERPRISE, INTEGRATION_GUIDE, SKILL.md, CLAUDE.md, CODEX.md, copilot-instructions.md, references/adapter-system.md, package.json, skill.json, openapi.yaml