@toyako/hive 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agent-hive/audit/audit-1782626932077.json +42 -0
- package/.agent-hive/audit/audit-1782632399175.json +34 -0
- package/.agent-hive/benchmark/runtime-benchmark.json +32 -0
- package/.agent-hive/logs/trace-mqaj7s0x.jsonl +2 -0
- package/.agent-hive/runtime/checkpoint/snapshot-task-1782567056424-vmzojglrb.json +13 -0
- package/.agent-hive/runtime/checkpoint/snapshot-task-1782567218044-r9j58nsum.json +10 -0
- package/.agent-hive/runtime/checkpoint/task-1782561125960-o9kjl8iv4.json +24 -0
- package/.agent-hive/runtime/checkpoint/task-1782561318850-fqy5h4dj0.json +50 -0
- package/.agent-hive/runtime/checkpoint/task-1782561318861-oy9cxrfwx.json +24 -0
- package/.agent-hive/runtime/checkpoint/task-1782561835241-68etmejqz.json +24 -0
- package/.agent-hive/runtime/checkpoint/task-1782567056424-vmzojglrb.json +24 -0
- package/.agent-hive/runtime/checkpoint/task-1782567218044-r9j58nsum.json +24 -0
- package/.agent-hive/runtime/checkpoint/task-1782632389172-yzxn6p6tq.json +25 -0
- package/.agent-hive/sandbox/sandbox-task-1782567056424-vmzojglrb-1782567056431/package.json +8 -0
- package/.agent-hive/sandbox/sandbox-task-1782567056424-vmzojglrb-1782567056431/src/auth.js +19 -0
- package/.agent-hive/sandbox/sandbox-task-1782567056424-vmzojglrb-1782567056431/src/auth.test.js +17 -0
- package/.agent-hive/sandbox/sandbox-task-1782567056424-vmzojglrb-1782567056431/test-grand-review.js +270 -0
- package/.agent-hive/sandbox/sandbox-task-1782567218044-r9j58nsum-1782567218053/auth.js +7 -0
- package/.agent-hive/stability/stability_window_trace_20260703_1713.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_1746.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_195119745.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_195119755.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_195119765.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_195119782.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_195119791.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_195119801.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_195119810.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_195119818.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_195119826.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_195119835.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_195202743.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_195202749.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_195202762.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_195202768.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_195202773.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_195202778.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_195202784.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_195202789.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_195202794.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_195202800.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_195322538.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_195322552.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_195322557.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_195322562.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_195322567.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_195322573.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_195322579.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_195322584.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_195322589.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_195322595.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_213404476.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_213404482.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_213404488.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_213404494.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_213404499.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_213404504.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_213404512.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_213404519.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_213404526.json +12 -0
- package/.agent-hive/stability/stability_window_trace_20260703_213404533.json +12 -0
- package/.agent-hive/traces/task-bench-claude-code-01.json +37 -0
- package/.agent-hive/traces/task-bench-claude-code-02.json +37 -0
- package/.agent-hive/traces/task-bench-claude-code-03.json +37 -0
- package/.agent-hive/traces/task-bench-claude-code-04.json +37 -0
- package/.agent-hive/traces/task-bench-claude-plan-01.json +37 -0
- package/.agent-hive/traces/task-bench-claude-plan-02.json +37 -0
- package/.agent-hive/traces/task-bench-claude-plan-03.json +37 -0
- package/.agent-hive/traces/task-bench-claude-reason-01.json +37 -0
- package/.agent-hive/traces/task-bench-claude-reason-02.json +37 -0
- package/.agent-hive/traces/task-bench-claude-reason-03.json +37 -0
- package/.agent-hive/traces/task-bench-claude-review-01.json +37 -0
- package/.agent-hive/traces/task-bench-claude-review-02.json +37 -0
- package/.agent-hive/traces/task-bench-claude-review-03.json +37 -0
- package/.agent-hive/traces/task-bench-codex-code-01.json +37 -0
- package/.agent-hive/traces/task-bench-codex-code-02.json +37 -0
- package/.agent-hive/traces/task-bench-codex-code-03.json +37 -0
- package/.agent-hive/traces/task-bench-codex-code-04.json +37 -0
- package/.agent-hive/traces/task-bench-codex-plan-01.json +37 -0
- package/.agent-hive/traces/task-bench-codex-plan-02.json +37 -0
- package/.agent-hive/traces/task-bench-codex-plan-03.json +37 -0
- package/.agent-hive/traces/task-bench-codex-reason-01.json +37 -0
- package/.agent-hive/traces/task-bench-codex-reason-02.json +37 -0
- package/.agent-hive/traces/task-bench-codex-reason-03.json +37 -0
- package/.agent-hive/traces/task-bench-codex-review-01.json +37 -0
- package/.agent-hive/traces/task-bench-codex-review-02.json +37 -0
- package/.agent-hive/traces/task-bench-codex-review-03.json +37 -0
- package/.agent-hive/traces/task-bench-hermes-code-01.json +37 -0
- package/.agent-hive/traces/task-bench-hermes-code-02.json +37 -0
- package/.agent-hive/traces/task-bench-hermes-code-03.json +37 -0
- package/.agent-hive/traces/task-bench-hermes-code-04.json +37 -0
- package/.agent-hive/traces/task-bench-hermes-plan-01.json +37 -0
- package/.agent-hive/traces/task-bench-hermes-plan-02.json +37 -0
- package/.agent-hive/traces/task-bench-hermes-plan-03.json +37 -0
- package/.agent-hive/traces/task-bench-hermes-reason-01.json +37 -0
- package/.agent-hive/traces/task-bench-hermes-reason-02.json +37 -0
- package/.agent-hive/traces/task-bench-hermes-reason-03.json +37 -0
- package/.agent-hive/traces/task-bench-hermes-review-01.json +37 -0
- package/.agent-hive/traces/task-bench-hermes-review-02.json +37 -0
- package/.agent-hive/traces/task-bench-hermes-review-03.json +37 -0
- package/.det-hash-manifest.json +9 -0
- package/.github/ISSUE_TEMPLATE/bug_report.md +34 -0
- package/.github/ISSUE_TEMPLATE/feature_request.md +27 -0
- package/.github/ISSUE_TEMPLATE/runtime_compatibility.md +35 -0
- package/.github/workflows/ci.yml +44 -0
- package/.github/workflows/hive-ci.yml +43 -0
- package/CHANGELOG.md +66 -0
- package/CONTRIBUTING.md +61 -0
- package/LICENSE +21 -0
- package/README.es.md +36 -0
- package/README.ja.md +36 -0
- package/README.md +115 -0
- package/README.zh-CN.md +117 -0
- package/RELEASE.md +116 -0
- package/audit-scoreboard.json +55 -0
- package/benchmarks/version.json +20 -0
- package/dist/adapters/ClaudeAdapter.d.ts +14 -0
- package/dist/adapters/ClaudeAdapter.d.ts.map +1 -0
- package/dist/adapters/ClaudeAdapter.js +251 -0
- package/dist/adapters/ClaudeAdapter.js.map +1 -0
- package/dist/adapters/CodexAdapter.d.ts +16 -0
- package/dist/adapters/CodexAdapter.d.ts.map +1 -0
- package/dist/adapters/CodexAdapter.js +140 -0
- package/dist/adapters/CodexAdapter.js.map +1 -0
- package/dist/adapters/HermesAdapter.d.ts +15 -0
- package/dist/adapters/HermesAdapter.d.ts.map +1 -0
- package/dist/adapters/HermesAdapter.js +223 -0
- package/dist/adapters/HermesAdapter.js.map +1 -0
- package/dist/adapters/MockClaudeAdapter.d.ts +29 -0
- package/dist/adapters/MockClaudeAdapter.d.ts.map +1 -0
- package/dist/adapters/MockClaudeAdapter.js +62 -0
- package/dist/adapters/MockClaudeAdapter.js.map +1 -0
- package/dist/adapters/MockCodexAdapter.d.ts +16 -0
- package/dist/adapters/MockCodexAdapter.d.ts.map +1 -0
- package/dist/adapters/MockCodexAdapter.js +34 -0
- package/dist/adapters/MockCodexAdapter.js.map +1 -0
- package/dist/adapters/OpenClawAdapter.d.ts +15 -0
- package/dist/adapters/OpenClawAdapter.d.ts.map +1 -0
- package/dist/adapters/OpenClawAdapter.js +195 -0
- package/dist/adapters/OpenClawAdapter.js.map +1 -0
- package/dist/adapters/registry.d.ts +31 -0
- package/dist/adapters/registry.d.ts.map +1 -0
- package/dist/adapters/registry.js +42 -0
- package/dist/adapters/registry.js.map +1 -0
- package/dist/api/HiveAPI.d.ts +46 -0
- package/dist/api/HiveAPI.d.ts.map +1 -0
- package/dist/api/HiveAPI.js +117 -0
- package/dist/api/HiveAPI.js.map +1 -0
- package/dist/api/MeshAPI.d.ts +46 -0
- package/dist/api/MeshAPI.d.ts.map +1 -0
- package/dist/api/MeshAPI.js +117 -0
- package/dist/api/MeshAPI.js.map +1 -0
- package/dist/benchmark/BenchmarkDataset.d.ts +28 -0
- package/dist/benchmark/BenchmarkDataset.d.ts.map +1 -0
- package/dist/benchmark/BenchmarkDataset.js +102 -0
- package/dist/benchmark/BenchmarkDataset.js.map +1 -0
- package/dist/benchmark/BenchmarkPlan.d.ts +155 -0
- package/dist/benchmark/BenchmarkPlan.d.ts.map +1 -0
- package/dist/benchmark/BenchmarkPlan.js +310 -0
- package/dist/benchmark/BenchmarkPlan.js.map +1 -0
- package/dist/benchmark/BenchmarkReport.d.ts +44 -0
- package/dist/benchmark/BenchmarkReport.d.ts.map +1 -0
- package/dist/benchmark/BenchmarkReport.js +152 -0
- package/dist/benchmark/BenchmarkReport.js.map +1 -0
- package/dist/benchmark/BenchmarkRunner.d.ts +30 -0
- package/dist/benchmark/BenchmarkRunner.d.ts.map +1 -0
- package/dist/benchmark/BenchmarkRunner.js +115 -0
- package/dist/benchmark/BenchmarkRunner.js.map +1 -0
- package/dist/benchmark/BenchmarkSuite.d.ts +21 -0
- package/dist/benchmark/BenchmarkSuite.d.ts.map +1 -0
- package/dist/benchmark/BenchmarkSuite.js +174 -0
- package/dist/benchmark/BenchmarkSuite.js.map +1 -0
- package/dist/benchmark/index.d.ts +13 -0
- package/dist/benchmark/index.d.ts.map +1 -0
- package/dist/benchmark/index.js +26 -0
- package/dist/benchmark/index.js.map +1 -0
- package/dist/broker/AgentRegistry.d.ts +15 -0
- package/dist/broker/AgentRegistry.d.ts.map +1 -0
- package/dist/broker/AgentRegistry.js +103 -0
- package/dist/broker/AgentRegistry.js.map +1 -0
- package/dist/broker/Broker.d.ts +52 -0
- package/dist/broker/Broker.d.ts.map +1 -0
- package/dist/broker/Broker.js +119 -0
- package/dist/broker/Broker.js.map +1 -0
- package/dist/broker/GraphOperations.d.ts +38 -0
- package/dist/broker/GraphOperations.d.ts.map +1 -0
- package/dist/broker/GraphOperations.js +66 -0
- package/dist/broker/GraphOperations.js.map +1 -0
- package/dist/broker/MessageBus.d.ts +22 -0
- package/dist/broker/MessageBus.d.ts.map +1 -0
- package/dist/broker/MessageBus.js +85 -0
- package/dist/broker/MessageBus.js.map +1 -0
- package/dist/broker/MessageRouter.d.ts +51 -0
- package/dist/broker/MessageRouter.d.ts.map +1 -0
- package/dist/broker/MessageRouter.js +145 -0
- package/dist/broker/MessageRouter.js.map +1 -0
- package/dist/broker/TaskProcessor.d.ts +35 -0
- package/dist/broker/TaskProcessor.d.ts.map +1 -0
- package/dist/broker/TaskProcessor.js +476 -0
- package/dist/broker/TaskProcessor.js.map +1 -0
- package/dist/broker/TaskRouter.d.ts +9 -0
- package/dist/broker/TaskRouter.d.ts.map +1 -0
- package/dist/broker/TaskRouter.js +36 -0
- package/dist/broker/TaskRouter.js.map +1 -0
- package/dist/channels/ChannelPlugin.d.ts +28 -0
- package/dist/channels/ChannelPlugin.d.ts.map +1 -0
- package/dist/channels/ChannelPlugin.js +7 -0
- package/dist/channels/ChannelPlugin.js.map +1 -0
- package/dist/ci/CIGate.d.ts +62 -0
- package/dist/ci/CIGate.d.ts.map +1 -0
- package/dist/ci/CIGate.js +146 -0
- package/dist/ci/CIGate.js.map +1 -0
- package/dist/ci/ContractLock.d.ts +41 -0
- package/dist/ci/ContractLock.d.ts.map +1 -0
- package/dist/ci/ContractLock.js +103 -0
- package/dist/ci/ContractLock.js.map +1 -0
- package/dist/cli/hive-cli.d.ts +14 -0
- package/dist/cli/hive-cli.d.ts.map +1 -0
- package/dist/cli/hive-cli.js +82 -0
- package/dist/cli/hive-cli.js.map +1 -0
- package/dist/cli.d.ts +14 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +193 -0
- package/dist/cli.js.map +1 -0
- package/dist/command/CommandAST.d.ts +28 -0
- package/dist/command/CommandAST.d.ts.map +1 -0
- package/dist/command/CommandAST.js +22 -0
- package/dist/command/CommandAST.js.map +1 -0
- package/dist/commands/cli.d.ts +3 -0
- package/dist/commands/cli.d.ts.map +1 -0
- package/dist/commands/cli.js +848 -0
- package/dist/commands/cli.js.map +1 -0
- package/dist/commands/demo.d.ts +2 -0
- package/dist/commands/demo.d.ts.map +1 -0
- package/dist/commands/demo.js +71 -0
- package/dist/commands/demo.js.map +1 -0
- package/dist/commands/experiment-routing.d.ts +2 -0
- package/dist/commands/experiment-routing.d.ts.map +1 -0
- package/dist/commands/experiment-routing.js +347 -0
- package/dist/commands/experiment-routing.js.map +1 -0
- package/dist/commands/run-validation.d.ts +2 -0
- package/dist/commands/run-validation.d.ts.map +1 -0
- package/dist/commands/run-validation.js.map +1 -0
- package/dist/commands/test-benchmark.d.ts +2 -0
- package/dist/commands/test-benchmark.d.ts.map +1 -0
- package/dist/commands/test-benchmark.js +214 -0
- package/dist/commands/test-benchmark.js.map +1 -0
- package/dist/commands/test-conversation.d.ts +2 -0
- package/dist/commands/test-conversation.d.ts.map +1 -0
- package/dist/commands/test-conversation.js +358 -0
- package/dist/commands/test-conversation.js.map +1 -0
- package/dist/commands/test-crash.d.ts +2 -0
- package/dist/commands/test-crash.d.ts.map +1 -0
- package/dist/commands/test-crash.js +65 -0
- package/dist/commands/test-crash.js.map +1 -0
- package/dist/commands/test-cross-platform.d.ts +2 -0
- package/dist/commands/test-cross-platform.d.ts.map +1 -0
- package/dist/commands/test-cross-platform.js +62 -0
- package/dist/commands/test-cross-platform.js.map +1 -0
- package/dist/commands/test-graph.d.ts +2 -0
- package/dist/commands/test-graph.d.ts.map +1 -0
- package/dist/commands/test-graph.js +526 -0
- package/dist/commands/test-graph.js.map +1 -0
- package/dist/commands/test-observability.d.ts +2 -0
- package/dist/commands/test-observability.d.ts.map +1 -0
- package/dist/commands/test-observability.js +162 -0
- package/dist/commands/test-observability.js.map +1 -0
- package/dist/commands/test-orchestration.d.ts +2 -0
- package/dist/commands/test-orchestration.d.ts.map +1 -0
- package/dist/commands/test-orchestration.js +110 -0
- package/dist/commands/test-orchestration.js.map +1 -0
- package/dist/commands/test-real-world.d.ts +2 -0
- package/dist/commands/test-real-world.d.ts.map +1 -0
- package/dist/commands/test-real-world.js +176 -0
- package/dist/commands/test-real-world.js.map +1 -0
- package/dist/commands/test-reviewer.d.ts +2 -0
- package/dist/commands/test-reviewer.d.ts.map +1 -0
- package/dist/commands/test-reviewer.js +125 -0
- package/dist/commands/test-reviewer.js.map +1 -0
- package/dist/commands/test-runtime-intelligence.d.ts +2 -0
- package/dist/commands/test-runtime-intelligence.d.ts.map +1 -0
- package/dist/commands/test-runtime-intelligence.js +224 -0
- package/dist/commands/test-runtime-intelligence.js.map +1 -0
- package/dist/commands/test-stress.d.ts +2 -0
- package/dist/commands/test-stress.d.ts.map +1 -0
- package/dist/commands/test-stress.js +116 -0
- package/dist/commands/test-stress.js.map +1 -0
- package/dist/commands/test-timeout.d.ts +2 -0
- package/dist/commands/test-timeout.d.ts.map +1 -0
- package/dist/commands/test-timeout.js +126 -0
- package/dist/commands/test-timeout.js.map +1 -0
- package/dist/commands/test-v2-integration.d.ts +2 -0
- package/dist/commands/test-v2-integration.d.ts.map +1 -0
- package/dist/commands/test-v2-integration.js +634 -0
- package/dist/commands/test-v2-integration.js.map +1 -0
- package/dist/commands/test-validation.d.ts +2 -0
- package/dist/commands/test-validation.d.ts.map +1 -0
- package/dist/commands/test-validation.js +198 -0
- package/dist/commands/test-validation.js.map +1 -0
- package/dist/compiler/ArchitectureSynthesizer.d.ts +42 -0
- package/dist/compiler/ArchitectureSynthesizer.d.ts.map +1 -0
- package/dist/compiler/ArchitectureSynthesizer.js +90 -0
- package/dist/compiler/ArchitectureSynthesizer.js.map +1 -0
- package/dist/compiler/BlueprintPackager.d.ts +21 -0
- package/dist/compiler/BlueprintPackager.d.ts.map +1 -0
- package/dist/compiler/BlueprintPackager.js +13 -0
- package/dist/compiler/BlueprintPackager.js.map +1 -0
- package/dist/compiler/CommandCompiler.d.ts +23 -0
- package/dist/compiler/CommandCompiler.d.ts.map +1 -0
- package/dist/compiler/CommandCompiler.js +49 -0
- package/dist/compiler/CommandCompiler.js.map +1 -0
- package/dist/compiler/DAGCompiler.d.ts +12 -0
- package/dist/compiler/DAGCompiler.d.ts.map +1 -0
- package/dist/compiler/DAGCompiler.js +20 -0
- package/dist/compiler/DAGCompiler.js.map +1 -0
- package/dist/compiler/DomainModelGenerator.d.ts +38 -0
- package/dist/compiler/DomainModelGenerator.d.ts.map +1 -0
- package/dist/compiler/DomainModelGenerator.js +104 -0
- package/dist/compiler/DomainModelGenerator.js.map +1 -0
- package/dist/compiler/FeasibilityGate.d.ts +27 -0
- package/dist/compiler/FeasibilityGate.d.ts.map +1 -0
- package/dist/compiler/FeasibilityGate.js +62 -0
- package/dist/compiler/FeasibilityGate.js.map +1 -0
- package/dist/compiler/InputNormalizer.d.ts +34 -0
- package/dist/compiler/InputNormalizer.d.ts.map +1 -0
- package/dist/compiler/InputNormalizer.js +72 -0
- package/dist/compiler/InputNormalizer.js.map +1 -0
- package/dist/compiler/IntentParser.d.ts +40 -0
- package/dist/compiler/IntentParser.d.ts.map +1 -0
- package/dist/compiler/IntentParser.js +96 -0
- package/dist/compiler/IntentParser.js.map +1 -0
- package/dist/compiler/ModulePlanner.d.ts +13 -0
- package/dist/compiler/ModulePlanner.d.ts.map +1 -0
- package/dist/compiler/ModulePlanner.js +25 -0
- package/dist/compiler/ModulePlanner.js.map +1 -0
- package/dist/compiler/PromptCompiler.d.ts +19 -0
- package/dist/compiler/PromptCompiler.d.ts.map +1 -0
- package/dist/compiler/PromptCompiler.js +31 -0
- package/dist/compiler/PromptCompiler.js.map +1 -0
- package/dist/compiler/index.d.ts +34 -0
- package/dist/compiler/index.d.ts.map +1 -0
- package/dist/compiler/index.js +66 -0
- package/dist/compiler/index.js.map +1 -0
- package/dist/context/ContextManager.d.ts +24 -0
- package/dist/context/ContextManager.d.ts.map +1 -0
- package/dist/context/ContextManager.js +51 -0
- package/dist/context/ContextManager.js.map +1 -0
- package/dist/control-plane/BudgetController.d.ts +54 -0
- package/dist/control-plane/BudgetController.d.ts.map +1 -0
- package/dist/control-plane/BudgetController.js +98 -0
- package/dist/control-plane/BudgetController.js.map +1 -0
- package/dist/control-plane/ControlPlane.d.ts +82 -0
- package/dist/control-plane/ControlPlane.d.ts.map +1 -0
- package/dist/control-plane/ControlPlane.js +196 -0
- package/dist/control-plane/ControlPlane.js.map +1 -0
- package/dist/control-plane/ConvergenceGuard.d.ts +39 -0
- package/dist/control-plane/ConvergenceGuard.d.ts.map +1 -0
- package/dist/control-plane/ConvergenceGuard.js +72 -0
- package/dist/control-plane/ConvergenceGuard.js.map +1 -0
- package/dist/control-plane/DriftDetector.d.ts +44 -0
- package/dist/control-plane/DriftDetector.d.ts.map +1 -0
- package/dist/control-plane/DriftDetector.js +83 -0
- package/dist/control-plane/DriftDetector.js.map +1 -0
- package/dist/control-plane/MetricStabilityLock.d.ts +38 -0
- package/dist/control-plane/MetricStabilityLock.d.ts.map +1 -0
- package/dist/control-plane/MetricStabilityLock.js +63 -0
- package/dist/control-plane/MetricStabilityLock.js.map +1 -0
- package/dist/control-plane/index.d.ts +17 -0
- package/dist/control-plane/index.d.ts.map +1 -0
- package/dist/control-plane/index.js +25 -0
- package/dist/control-plane/index.js.map +1 -0
- package/dist/convergence/ConvergenceValidator.d.ts +143 -0
- package/dist/convergence/ConvergenceValidator.d.ts.map +1 -0
- package/dist/convergence/ConvergenceValidator.js +264 -0
- package/dist/convergence/ConvergenceValidator.js.map +1 -0
- package/dist/convergence/index.d.ts +12 -0
- package/dist/convergence/index.d.ts.map +1 -0
- package/dist/convergence/index.js +23 -0
- package/dist/convergence/index.js.map +1 -0
- package/dist/conversation/ConversationManager.d.ts +55 -0
- package/dist/conversation/ConversationManager.d.ts.map +1 -0
- package/dist/conversation/ConversationManager.js +176 -0
- package/dist/conversation/ConversationManager.js.map +1 -0
- package/dist/dashboard/EventStore.d.ts +27 -0
- package/dist/dashboard/EventStore.d.ts.map +1 -0
- package/dist/dashboard/EventStore.js +36 -0
- package/dist/dashboard/EventStore.js.map +1 -0
- package/dist/dashboard/FailureIntelligence.d.ts +77 -0
- package/dist/dashboard/FailureIntelligence.d.ts.map +1 -0
- package/dist/dashboard/FailureIntelligence.js +251 -0
- package/dist/dashboard/FailureIntelligence.js.map +1 -0
- package/dist/dashboard/ObservationDashboard.d.ts +85 -0
- package/dist/dashboard/ObservationDashboard.d.ts.map +1 -0
- package/dist/dashboard/ObservationDashboard.js +178 -0
- package/dist/dashboard/ObservationDashboard.js.map +1 -0
- package/dist/dashboard/StabilityCurve.d.ts +23 -0
- package/dist/dashboard/StabilityCurve.d.ts.map +1 -0
- package/dist/dashboard/StabilityCurve.js +53 -0
- package/dist/dashboard/StabilityCurve.js.map +1 -0
- package/dist/engine/ExecutionEngine.d.ts +29 -0
- package/dist/engine/ExecutionEngine.d.ts.map +1 -0
- package/dist/engine/ExecutionEngine.js +139 -0
- package/dist/engine/ExecutionEngine.js.map +1 -0
- package/dist/engine/PlatformAdapter.d.ts +19 -0
- package/dist/engine/PlatformAdapter.d.ts.map +1 -0
- package/dist/engine/PlatformAdapter.js +77 -0
- package/dist/engine/PlatformAdapter.js.map +1 -0
- package/dist/engine/ResultNormalizer.d.ts +21 -0
- package/dist/engine/ResultNormalizer.d.ts.map +1 -0
- package/dist/engine/ResultNormalizer.js +57 -0
- package/dist/engine/ResultNormalizer.js.map +1 -0
- package/dist/engine/StructuredLogger.d.ts +25 -0
- package/dist/engine/StructuredLogger.d.ts.map +1 -0
- package/dist/engine/StructuredLogger.js +81 -0
- package/dist/engine/StructuredLogger.js.map +1 -0
- package/dist/evaluation/BaselineRunner.d.ts +26 -0
- package/dist/evaluation/BaselineRunner.d.ts.map +1 -0
- package/dist/evaluation/BaselineRunner.js +107 -0
- package/dist/evaluation/BaselineRunner.js.map +1 -0
- package/dist/evaluation/DecisionTrace.d.ts +20 -0
- package/dist/evaluation/DecisionTrace.d.ts.map +1 -0
- package/dist/evaluation/DecisionTrace.js +21 -0
- package/dist/evaluation/DecisionTrace.js.map +1 -0
- package/dist/evaluation/EvaluationMetrics.d.ts +34 -0
- package/dist/evaluation/EvaluationMetrics.d.ts.map +1 -0
- package/dist/evaluation/EvaluationMetrics.js +28 -0
- package/dist/evaluation/EvaluationMetrics.js.map +1 -0
- package/dist/evaluation/GroundTruthDataset.d.ts +18 -0
- package/dist/evaluation/GroundTruthDataset.d.ts.map +1 -0
- package/dist/evaluation/GroundTruthDataset.js +69 -0
- package/dist/evaluation/GroundTruthDataset.js.map +1 -0
- package/dist/evaluation/RealWorldBenchmark.d.ts +21 -0
- package/dist/evaluation/RealWorldBenchmark.d.ts.map +1 -0
- package/dist/evaluation/RealWorldBenchmark.js +73 -0
- package/dist/evaluation/RealWorldBenchmark.js.map +1 -0
- package/dist/evaluation/RealWorldRunner.d.ts +55 -0
- package/dist/evaluation/RealWorldRunner.d.ts.map +1 -0
- package/dist/evaluation/RealWorldRunner.js +133 -0
- package/dist/evaluation/RealWorldRunner.js.map +1 -0
- package/dist/evaluation/ValidationRunner.d.ts +42 -0
- package/dist/evaluation/ValidationRunner.d.ts.map +1 -0
- package/dist/evaluation/ValidationRunner.js +123 -0
- package/dist/evaluation/ValidationRunner.js.map +1 -0
- package/dist/events/AgentEvent.d.ts +62 -0
- package/dist/events/AgentEvent.d.ts.map +1 -0
- package/dist/events/AgentEvent.js +6 -0
- package/dist/events/AgentEvent.js.map +1 -0
- package/dist/events/DecisionEvent.d.ts +16 -0
- package/dist/events/DecisionEvent.d.ts.map +1 -0
- package/dist/events/DecisionEvent.js +6 -0
- package/dist/events/DecisionEvent.js.map +1 -0
- package/dist/events/ExecutionEvent.d.ts +48 -0
- package/dist/events/ExecutionEvent.d.ts.map +1 -0
- package/dist/events/ExecutionEvent.js +3 -0
- package/dist/events/ExecutionEvent.js.map +1 -0
- package/dist/events/SystemEvent.d.ts +11 -0
- package/dist/events/SystemEvent.d.ts.map +1 -0
- package/dist/events/SystemEvent.js +6 -0
- package/dist/events/SystemEvent.js.map +1 -0
- package/dist/evolution/EvolutionEngine.d.ts +121 -0
- package/dist/evolution/EvolutionEngine.d.ts.map +1 -0
- package/dist/evolution/EvolutionEngine.js +288 -0
- package/dist/evolution/EvolutionEngine.js.map +1 -0
- package/dist/evolution/index.d.ts +15 -0
- package/dist/evolution/index.d.ts.map +1 -0
- package/dist/evolution/index.js +24 -0
- package/dist/evolution/index.js.map +1 -0
- package/dist/execution-fabric/DistributedExecutionFabric.d.ts +108 -0
- package/dist/execution-fabric/DistributedExecutionFabric.d.ts.map +1 -0
- package/dist/execution-fabric/DistributedExecutionFabric.js +236 -0
- package/dist/execution-fabric/DistributedExecutionFabric.js.map +1 -0
- package/dist/execution-fabric/index.d.ts +10 -0
- package/dist/execution-fabric/index.d.ts.map +1 -0
- package/dist/execution-fabric/index.js +14 -0
- package/dist/execution-fabric/index.js.map +1 -0
- package/dist/execution-graph/DynamicExecutionGraphRuntime.d.ts +94 -0
- package/dist/execution-graph/DynamicExecutionGraphRuntime.d.ts.map +1 -0
- package/dist/execution-graph/DynamicExecutionGraphRuntime.js +243 -0
- package/dist/execution-graph/DynamicExecutionGraphRuntime.js.map +1 -0
- package/dist/execution-graph/ExecutionGraphEngine.d.ts +88 -0
- package/dist/execution-graph/ExecutionGraphEngine.d.ts.map +1 -0
- package/dist/execution-graph/ExecutionGraphEngine.js +222 -0
- package/dist/execution-graph/ExecutionGraphEngine.js.map +1 -0
- package/dist/execution-graph/index.d.ts +9 -0
- package/dist/execution-graph/index.d.ts.map +1 -0
- package/dist/execution-graph/index.js +16 -0
- package/dist/execution-graph/index.js.map +1 -0
- package/dist/execution-runtime/ExecutionRuntime.d.ts +99 -0
- package/dist/execution-runtime/ExecutionRuntime.d.ts.map +1 -0
- package/dist/execution-runtime/ExecutionRuntime.js +216 -0
- package/dist/execution-runtime/ExecutionRuntime.js.map +1 -0
- package/dist/execution-runtime/index.d.ts +10 -0
- package/dist/execution-runtime/index.d.ts.map +1 -0
- package/dist/execution-runtime/index.js +14 -0
- package/dist/execution-runtime/index.js.map +1 -0
- package/dist/git-governance/GitGovernanceRuntime.d.ts +200 -0
- package/dist/git-governance/GitGovernanceRuntime.d.ts.map +1 -0
- package/dist/git-governance/GitGovernanceRuntime.js +418 -0
- package/dist/git-governance/GitGovernanceRuntime.js.map +1 -0
- package/dist/git-governance/index.d.ts +16 -0
- package/dist/git-governance/index.d.ts.map +1 -0
- package/dist/git-governance/index.js +33 -0
- package/dist/git-governance/index.js.map +1 -0
- package/dist/governance/EngineeringGovernanceLayer.d.ts +79 -0
- package/dist/governance/EngineeringGovernanceLayer.d.ts.map +1 -0
- package/dist/governance/EngineeringGovernanceLayer.js +212 -0
- package/dist/governance/EngineeringGovernanceLayer.js.map +1 -0
- package/dist/graph/AgentGraph.d.ts +52 -0
- package/dist/graph/AgentGraph.d.ts.map +1 -0
- package/dist/graph/AgentGraph.js +274 -0
- package/dist/graph/AgentGraph.js.map +1 -0
- package/dist/graph/GraphValidator.d.ts +39 -0
- package/dist/graph/GraphValidator.d.ts.map +1 -0
- package/dist/graph/GraphValidator.js +93 -0
- package/dist/graph/GraphValidator.js.map +1 -0
- package/dist/graph/TopologyTemplates.d.ts +39 -0
- package/dist/graph/TopologyTemplates.d.ts.map +1 -0
- package/dist/graph/TopologyTemplates.js +131 -0
- package/dist/graph/TopologyTemplates.js.map +1 -0
- package/dist/hardening/RuntimeHardening.d.ts +169 -0
- package/dist/hardening/RuntimeHardening.d.ts.map +1 -0
- package/dist/hardening/RuntimeHardening.js +330 -0
- package/dist/hardening/RuntimeHardening.js.map +1 -0
- package/dist/hardening/index.d.ts +7 -0
- package/dist/hardening/index.d.ts.map +1 -0
- package/dist/hardening/index.js +15 -0
- package/dist/hardening/index.js.map +1 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +15 -0
- package/dist/index.js.map +1 -0
- package/dist/kernel/ExecutionState.d.ts +68 -0
- package/dist/kernel/ExecutionState.d.ts.map +1 -0
- package/dist/kernel/ExecutionState.js +124 -0
- package/dist/kernel/ExecutionState.js.map +1 -0
- package/dist/kernel/FailureInterceptor.d.ts +51 -0
- package/dist/kernel/FailureInterceptor.d.ts.map +1 -0
- package/dist/kernel/FailureInterceptor.js +112 -0
- package/dist/kernel/FailureInterceptor.js.map +1 -0
- package/dist/kernel/KernelGate.d.ts +41 -0
- package/dist/kernel/KernelGate.d.ts.map +1 -0
- package/dist/kernel/KernelGate.js +62 -0
- package/dist/kernel/KernelGate.js.map +1 -0
- package/dist/kernel/MultiAgentExecutionKernel.d.ts +103 -0
- package/dist/kernel/MultiAgentExecutionKernel.d.ts.map +1 -0
- package/dist/kernel/MultiAgentExecutionKernel.js +187 -0
- package/dist/kernel/MultiAgentExecutionKernel.js.map +1 -0
- package/dist/kernel/RuntimeKernel.d.ts +160 -0
- package/dist/kernel/RuntimeKernel.d.ts.map +1 -0
- package/dist/kernel/RuntimeKernel.js +422 -0
- package/dist/kernel/RuntimeKernel.js.map +1 -0
- package/dist/kernel/index.d.ts +9 -0
- package/dist/kernel/index.d.ts.map +1 -0
- package/dist/kernel/index.js +20 -0
- package/dist/kernel/index.js.map +1 -0
- package/dist/knowledge/KnowledgeSystem.d.ts +62 -0
- package/dist/knowledge/KnowledgeSystem.d.ts.map +1 -0
- package/dist/knowledge/KnowledgeSystem.js +102 -0
- package/dist/knowledge/KnowledgeSystem.js.map +1 -0
- package/dist/learning/ExecutionEpisodeStore.d.ts +64 -0
- package/dist/learning/ExecutionEpisodeStore.d.ts.map +1 -0
- package/dist/learning/ExecutionEpisodeStore.js +62 -0
- package/dist/learning/ExecutionEpisodeStore.js.map +1 -0
- package/dist/learning/InsightEngine.d.ts +31 -0
- package/dist/learning/InsightEngine.d.ts.map +1 -0
- package/dist/learning/InsightEngine.js +63 -0
- package/dist/learning/InsightEngine.js.map +1 -0
- package/dist/learning/LearningLoopEngine.d.ts +48 -0
- package/dist/learning/LearningLoopEngine.d.ts.map +1 -0
- package/dist/learning/LearningLoopEngine.js +82 -0
- package/dist/learning/LearningLoopEngine.js.map +1 -0
- package/dist/learning/MemoryCompressor.d.ts +31 -0
- package/dist/learning/MemoryCompressor.d.ts.map +1 -0
- package/dist/learning/MemoryCompressor.js +76 -0
- package/dist/learning/MemoryCompressor.js.map +1 -0
- package/dist/learning/PolicyOptimizer.d.ts +26 -0
- package/dist/learning/PolicyOptimizer.d.ts.map +1 -0
- package/dist/learning/PolicyOptimizer.js +91 -0
- package/dist/learning/PolicyOptimizer.js.map +1 -0
- package/dist/learning/PolicyStore.d.ts +47 -0
- package/dist/learning/PolicyStore.d.ts.map +1 -0
- package/dist/learning/PolicyStore.js +79 -0
- package/dist/learning/PolicyStore.js.map +1 -0
- package/dist/loop-layer/EvaluationEngine.d.ts +23 -0
- package/dist/loop-layer/EvaluationEngine.d.ts.map +1 -0
- package/dist/loop-layer/EvaluationEngine.js +42 -0
- package/dist/loop-layer/EvaluationEngine.js.map +1 -0
- package/dist/loop-layer/LoopController.d.ts +33 -0
- package/dist/loop-layer/LoopController.d.ts.map +1 -0
- package/dist/loop-layer/LoopController.js +79 -0
- package/dist/loop-layer/LoopController.js.map +1 -0
- package/dist/loop-layer/ObservationEngine.d.ts +62 -0
- package/dist/loop-layer/ObservationEngine.d.ts.map +1 -0
- package/dist/loop-layer/ObservationEngine.js +126 -0
- package/dist/loop-layer/ObservationEngine.js.map +1 -0
- package/dist/memory/ContextCompressor.d.ts +27 -0
- package/dist/memory/ContextCompressor.d.ts.map +1 -0
- package/dist/memory/ContextCompressor.js +71 -0
- package/dist/memory/ContextCompressor.js.map +1 -0
- package/dist/memory/MemoryManager.d.ts +28 -0
- package/dist/memory/MemoryManager.d.ts.map +1 -0
- package/dist/memory/MemoryManager.js +81 -0
- package/dist/memory/MemoryManager.js.map +1 -0
- package/dist/memory/MemorySearch.d.ts +20 -0
- package/dist/memory/MemorySearch.d.ts.map +1 -0
- package/dist/memory/MemorySearch.js +92 -0
- package/dist/memory/MemorySearch.js.map +1 -0
- package/dist/memory/MemoryStore.d.ts +30 -0
- package/dist/memory/MemoryStore.d.ts.map +1 -0
- package/dist/memory/MemoryStore.js +84 -0
- package/dist/memory/MemoryStore.js.map +1 -0
- package/dist/observability/ConversationTrace.d.ts +25 -0
- package/dist/observability/ConversationTrace.d.ts.map +1 -0
- package/dist/observability/ConversationTrace.js +104 -0
- package/dist/observability/ConversationTrace.js.map +1 -0
- package/dist/observability/DecisionRecorder.d.ts +29 -0
- package/dist/observability/DecisionRecorder.d.ts.map +1 -0
- package/dist/observability/DecisionRecorder.js +113 -0
- package/dist/observability/DecisionRecorder.js.map +1 -0
- package/dist/observability/RuntimeMetrics.d.ts +27 -0
- package/dist/observability/RuntimeMetrics.d.ts.map +1 -0
- package/dist/observability/RuntimeMetrics.js +126 -0
- package/dist/observability/RuntimeMetrics.js.map +1 -0
- package/dist/observability/TaskTimeline.d.ts +26 -0
- package/dist/observability/TaskTimeline.d.ts.map +1 -0
- package/dist/observability/TaskTimeline.js +117 -0
- package/dist/observability/TaskTimeline.js.map +1 -0
- package/dist/observation/SystemScoreCalculator.d.ts +66 -0
- package/dist/observation/SystemScoreCalculator.d.ts.map +1 -0
- package/dist/observation/SystemScoreCalculator.js +158 -0
- package/dist/observation/SystemScoreCalculator.js.map +1 -0
- package/dist/observation/__tests__/SystemScoreCalculator.test.d.ts +2 -0
- package/dist/observation/__tests__/SystemScoreCalculator.test.d.ts.map +1 -0
- package/dist/observation/__tests__/SystemScoreCalculator.test.js +61 -0
- package/dist/observation/__tests__/SystemScoreCalculator.test.js.map +1 -0
- package/dist/orchestration/AgentRouter.d.ts +19 -0
- package/dist/orchestration/AgentRouter.d.ts.map +1 -0
- package/dist/orchestration/AgentRouter.js +53 -0
- package/dist/orchestration/AgentRouter.js.map +1 -0
- package/dist/orchestration/DAGExecutor.d.ts +22 -0
- package/dist/orchestration/DAGExecutor.d.ts.map +1 -0
- package/dist/orchestration/DAGExecutor.js +123 -0
- package/dist/orchestration/DAGExecutor.js.map +1 -0
- package/dist/orchestration/JudgeAgent.d.ts +14 -0
- package/dist/orchestration/JudgeAgent.d.ts.map +1 -0
- package/dist/orchestration/JudgeAgent.js +58 -0
- package/dist/orchestration/JudgeAgent.js.map +1 -0
- package/dist/orchestration/Planner.d.ts +10 -0
- package/dist/orchestration/Planner.d.ts.map +1 -0
- package/dist/orchestration/Planner.js +45 -0
- package/dist/orchestration/Planner.js.map +1 -0
- package/dist/orchestration/ReviewerAgent.d.ts +12 -0
- package/dist/orchestration/ReviewerAgent.d.ts.map +1 -0
- package/dist/orchestration/ReviewerAgent.js +67 -0
- package/dist/orchestration/ReviewerAgent.js.map +1 -0
- package/dist/orchestration/contracts/Agent.d.ts +42 -0
- package/dist/orchestration/contracts/Agent.d.ts.map +1 -0
- package/dist/orchestration/contracts/Agent.js +3 -0
- package/dist/orchestration/contracts/Agent.js.map +1 -0
- package/dist/orchestration/registry/AgentProfile.d.ts +12 -0
- package/dist/orchestration/registry/AgentProfile.d.ts.map +1 -0
- package/dist/orchestration/registry/AgentProfile.js +3 -0
- package/dist/orchestration/registry/AgentProfile.js.map +1 -0
- package/dist/orchestration/registry/AgentRegistry.d.ts +15 -0
- package/dist/orchestration/registry/AgentRegistry.d.ts.map +1 -0
- package/dist/orchestration/registry/AgentRegistry.js +29 -0
- package/dist/orchestration/registry/AgentRegistry.js.map +1 -0
- package/dist/planning/ProjectPlanningLayer.d.ts +68 -0
- package/dist/planning/ProjectPlanningLayer.d.ts.map +1 -0
- package/dist/planning/ProjectPlanningLayer.js +176 -0
- package/dist/planning/ProjectPlanningLayer.js.map +1 -0
- package/dist/platform/PlatformCapabilities.d.ts +12 -0
- package/dist/platform/PlatformCapabilities.d.ts.map +1 -0
- package/dist/platform/PlatformCapabilities.js +66 -0
- package/dist/platform/PlatformCapabilities.js.map +1 -0
- package/dist/platform/auth/AuthService.d.ts +32 -0
- package/dist/platform/auth/AuthService.d.ts.map +1 -0
- package/dist/platform/auth/AuthService.js +43 -0
- package/dist/platform/auth/AuthService.js.map +1 -0
- package/dist/platform/index.d.ts +43 -0
- package/dist/platform/index.d.ts.map +1 -0
- package/dist/platform/index.js +67 -0
- package/dist/platform/index.js.map +1 -0
- package/dist/platform/sdk/index.d.ts +44 -0
- package/dist/platform/sdk/index.d.ts.map +1 -0
- package/dist/platform/sdk/index.js +67 -0
- package/dist/platform/sdk/index.js.map +1 -0
- package/dist/platform/server/ApiServer.d.ts +62 -0
- package/dist/platform/server/ApiServer.d.ts.map +1 -0
- package/dist/platform/server/ApiServer.js +232 -0
- package/dist/platform/server/ApiServer.js.map +1 -0
- package/dist/platform/services/MetricsService.d.ts +58 -0
- package/dist/platform/services/MetricsService.d.ts.map +1 -0
- package/dist/platform/services/MetricsService.js +81 -0
- package/dist/platform/services/MetricsService.js.map +1 -0
- package/dist/platform/validation/PlatformValidation.d.ts +30 -0
- package/dist/platform/validation/PlatformValidation.d.ts.map +1 -0
- package/dist/platform/validation/PlatformValidation.js +91 -0
- package/dist/platform/validation/PlatformValidation.js.map +1 -0
- package/dist/platform/validation/benchmark/BenchmarkFramework.d.ts +33 -0
- package/dist/platform/validation/benchmark/BenchmarkFramework.d.ts.map +1 -0
- package/dist/platform/validation/benchmark/BenchmarkFramework.js +63 -0
- package/dist/platform/validation/benchmark/BenchmarkFramework.js.map +1 -0
- package/dist/platform/validation/chaos/FaultInjector.d.ts +44 -0
- package/dist/platform/validation/chaos/FaultInjector.d.ts.map +1 -0
- package/dist/platform/validation/chaos/FaultInjector.js +57 -0
- package/dist/platform/validation/chaos/FaultInjector.js.map +1 -0
- package/dist/product/AutoTopologySelector.d.ts +30 -0
- package/dist/product/AutoTopologySelector.d.ts.map +1 -0
- package/dist/product/AutoTopologySelector.js +113 -0
- package/dist/product/AutoTopologySelector.js.map +1 -0
- package/dist/product/ProductEngineeringLayer.d.ts +65 -0
- package/dist/product/ProductEngineeringLayer.d.ts.map +1 -0
- package/dist/product/ProductEngineeringLayer.js +168 -0
- package/dist/product/ProductEngineeringLayer.js.map +1 -0
- package/dist/product/ProviderRegistry.d.ts +13 -0
- package/dist/product/ProviderRegistry.d.ts.map +1 -0
- package/dist/product/ProviderRegistry.js +21 -0
- package/dist/product/ProviderRegistry.js.map +1 -0
- package/dist/product/TaskIntentClassifier.d.ts +20 -0
- package/dist/product/TaskIntentClassifier.d.ts.map +1 -0
- package/dist/product/TaskIntentClassifier.js +88 -0
- package/dist/product/TaskIntentClassifier.js.map +1 -0
- package/dist/production/ProductionRuntime.d.ts +50 -0
- package/dist/production/ProductionRuntime.d.ts.map +1 -0
- package/dist/production/ProductionRuntime.js +137 -0
- package/dist/production/ProductionRuntime.js.map +1 -0
- package/dist/production/checkpoint/CheckpointManager.d.ts +59 -0
- package/dist/production/checkpoint/CheckpointManager.d.ts.map +1 -0
- package/dist/production/checkpoint/CheckpointManager.js +84 -0
- package/dist/production/checkpoint/CheckpointManager.js.map +1 -0
- package/dist/production/compensation/CompensationEngine.d.ts +28 -0
- package/dist/production/compensation/CompensationEngine.d.ts.map +1 -0
- package/dist/production/compensation/CompensationEngine.js +52 -0
- package/dist/production/compensation/CompensationEngine.js.map +1 -0
- package/dist/production/events/EventStore.d.ts +54 -0
- package/dist/production/events/EventStore.d.ts.map +1 -0
- package/dist/production/events/EventStore.js +71 -0
- package/dist/production/events/EventStore.js.map +1 -0
- package/dist/production/plugins/PluginRegistry.d.ts +50 -0
- package/dist/production/plugins/PluginRegistry.d.ts.map +1 -0
- package/dist/production/plugins/PluginRegistry.js +63 -0
- package/dist/production/plugins/PluginRegistry.js.map +1 -0
- package/dist/production/scheduler/Scheduler.d.ts +55 -0
- package/dist/production/scheduler/Scheduler.d.ts.map +1 -0
- package/dist/production/scheduler/Scheduler.js +72 -0
- package/dist/production/scheduler/Scheduler.js.map +1 -0
- package/dist/production-observation/ProductionObservation.d.ts +137 -0
- package/dist/production-observation/ProductionObservation.d.ts.map +1 -0
- package/dist/production-observation/ProductionObservation.js +278 -0
- package/dist/production-observation/ProductionObservation.js.map +1 -0
- package/dist/production-observation/index.d.ts +14 -0
- package/dist/production-observation/index.d.ts.map +1 -0
- package/dist/production-observation/index.js +25 -0
- package/dist/production-observation/index.js.map +1 -0
- package/dist/productionization/ProductionizationPlan.d.ts +211 -0
- package/dist/productionization/ProductionizationPlan.d.ts.map +1 -0
- package/dist/productionization/ProductionizationPlan.js +498 -0
- package/dist/productionization/ProductionizationPlan.js.map +1 -0
- package/dist/productionization/index.d.ts +16 -0
- package/dist/productionization/index.d.ts.map +1 -0
- package/dist/productionization/index.js +33 -0
- package/dist/productionization/index.js.map +1 -0
- package/dist/prompts/prompts/reviewer.txt +17 -0
- package/dist/prompts/prompts/revision.txt +10 -0
- package/dist/prompts/reviewer.txt +17 -0
- package/dist/prompts/revision.txt +10 -0
- package/dist/providers/OpenAIProvider.d.ts +22 -0
- package/dist/providers/OpenAIProvider.d.ts.map +1 -0
- package/dist/providers/OpenAIProvider.js +55 -0
- package/dist/providers/OpenAIProvider.js.map +1 -0
- package/dist/providers/ProviderAdapter.d.ts +27 -0
- package/dist/providers/ProviderAdapter.d.ts.map +1 -0
- package/dist/providers/ProviderAdapter.js +7 -0
- package/dist/providers/ProviderAdapter.js.map +1 -0
- package/dist/reasoning/ArchitectureCandidateGenerator.d.ts +31 -0
- package/dist/reasoning/ArchitectureCandidateGenerator.d.ts.map +1 -0
- package/dist/reasoning/ArchitectureCandidateGenerator.js +89 -0
- package/dist/reasoning/ArchitectureCandidateGenerator.js.map +1 -0
- package/dist/reasoning/ArchitectureSpaceGenerator.d.ts +21 -0
- package/dist/reasoning/ArchitectureSpaceGenerator.d.ts.map +1 -0
- package/dist/reasoning/ArchitectureSpaceGenerator.js +55 -0
- package/dist/reasoning/ArchitectureSpaceGenerator.js.map +1 -0
- package/dist/reasoning/ConstraintInferenceEngine.d.ts +45 -0
- package/dist/reasoning/ConstraintInferenceEngine.d.ts.map +1 -0
- package/dist/reasoning/ConstraintInferenceEngine.js +97 -0
- package/dist/reasoning/ConstraintInferenceEngine.js.map +1 -0
- package/dist/reasoning/DecisionEngine.d.ts +28 -0
- package/dist/reasoning/DecisionEngine.d.ts.map +1 -0
- package/dist/reasoning/DecisionEngine.js +66 -0
- package/dist/reasoning/DecisionEngine.js.map +1 -0
- package/dist/reasoning/ExplainabilityLayer.d.ts +29 -0
- package/dist/reasoning/ExplainabilityLayer.d.ts.map +1 -0
- package/dist/reasoning/ExplainabilityLayer.js +51 -0
- package/dist/reasoning/ExplainabilityLayer.js.map +1 -0
- package/dist/reasoning/FailureSimulationEngine.d.ts +27 -0
- package/dist/reasoning/FailureSimulationEngine.d.ts.map +1 -0
- package/dist/reasoning/FailureSimulationEngine.js +80 -0
- package/dist/reasoning/FailureSimulationEngine.js.map +1 -0
- package/dist/reasoning/TradeoffReasoningEngine.d.ts +29 -0
- package/dist/reasoning/TradeoffReasoningEngine.d.ts.map +1 -0
- package/dist/reasoning/TradeoffReasoningEngine.js +92 -0
- package/dist/reasoning/TradeoffReasoningEngine.js.map +1 -0
- package/dist/reasoning/index.d.ts +59 -0
- package/dist/reasoning/index.d.ts.map +1 -0
- package/dist/reasoning/index.js +79 -0
- package/dist/reasoning/index.js.map +1 -0
- package/dist/review/ReviewConsensus.d.ts +55 -0
- package/dist/review/ReviewConsensus.d.ts.map +1 -0
- package/dist/review/ReviewConsensus.js +174 -0
- package/dist/review/ReviewConsensus.js.map +1 -0
- package/dist/runtime/CapabilityDiscovery.d.ts +39 -0
- package/dist/runtime/CapabilityDiscovery.d.ts.map +1 -0
- package/dist/runtime/CapabilityDiscovery.js +157 -0
- package/dist/runtime/CapabilityDiscovery.js.map +1 -0
- package/dist/runtime/EventBus.d.ts +26 -0
- package/dist/runtime/EventBus.d.ts.map +1 -0
- package/dist/runtime/EventBus.js +103 -0
- package/dist/runtime/EventBus.js.map +1 -0
- package/dist/runtime/FailureAnalyzer.d.ts +24 -0
- package/dist/runtime/FailureAnalyzer.d.ts.map +1 -0
- package/dist/runtime/FailureAnalyzer.js +71 -0
- package/dist/runtime/FailureAnalyzer.js.map +1 -0
- package/dist/runtime/ReplayEngine.d.ts +19 -0
- package/dist/runtime/ReplayEngine.d.ts.map +1 -0
- package/dist/runtime/ReplayEngine.js +50 -0
- package/dist/runtime/ReplayEngine.js.map +1 -0
- package/dist/runtime/RuntimeConfig.d.ts +27 -0
- package/dist/runtime/RuntimeConfig.d.ts.map +1 -0
- package/dist/runtime/RuntimeConfig.js +121 -0
- package/dist/runtime/RuntimeConfig.js.map +1 -0
- package/dist/runtime/RuntimeScoreManager.d.ts +49 -0
- package/dist/runtime/RuntimeScoreManager.d.ts.map +1 -0
- package/dist/runtime/RuntimeScoreManager.js +139 -0
- package/dist/runtime/RuntimeScoreManager.js.map +1 -0
- package/dist/runtime/RuntimeSelector.d.ts +32 -0
- package/dist/runtime/RuntimeSelector.d.ts.map +1 -0
- package/dist/runtime/RuntimeSelector.js +86 -0
- package/dist/runtime/RuntimeSelector.js.map +1 -0
- package/dist/runtime/v2/RuntimeCore.d.ts +141 -0
- package/dist/runtime/v2/RuntimeCore.d.ts.map +1 -0
- package/dist/runtime/v2/RuntimeCore.js +373 -0
- package/dist/runtime/v2/RuntimeCore.js.map +1 -0
- package/dist/runtime/v2/audit/AuditTrail.d.ts +155 -0
- package/dist/runtime/v2/audit/AuditTrail.d.ts.map +1 -0
- package/dist/runtime/v2/audit/AuditTrail.js +300 -0
- package/dist/runtime/v2/audit/AuditTrail.js.map +1 -0
- package/dist/runtime/v2/budget/BudgetGuard.d.ts +121 -0
- package/dist/runtime/v2/budget/BudgetGuard.d.ts.map +1 -0
- package/dist/runtime/v2/budget/BudgetGuard.js +248 -0
- package/dist/runtime/v2/budget/BudgetGuard.js.map +1 -0
- package/dist/runtime/v2/capability/CapabilityRegistry.d.ts +116 -0
- package/dist/runtime/v2/capability/CapabilityRegistry.d.ts.map +1 -0
- package/dist/runtime/v2/capability/CapabilityRegistry.js +207 -0
- package/dist/runtime/v2/capability/CapabilityRegistry.js.map +1 -0
- package/dist/runtime/v2/checkpoint/HumanCheckpoint.d.ts +116 -0
- package/dist/runtime/v2/checkpoint/HumanCheckpoint.d.ts.map +1 -0
- package/dist/runtime/v2/checkpoint/HumanCheckpoint.js +265 -0
- package/dist/runtime/v2/checkpoint/HumanCheckpoint.js.map +1 -0
- package/dist/runtime/v2/concurrency/ConcurrencyManager.d.ts +101 -0
- package/dist/runtime/v2/concurrency/ConcurrencyManager.d.ts.map +1 -0
- package/dist/runtime/v2/concurrency/ConcurrencyManager.js +202 -0
- package/dist/runtime/v2/concurrency/ConcurrencyManager.js.map +1 -0
- package/dist/runtime/v2/dashboard/DashboardApi.d.ts +172 -0
- package/dist/runtime/v2/dashboard/DashboardApi.d.ts.map +1 -0
- package/dist/runtime/v2/dashboard/DashboardApi.js +336 -0
- package/dist/runtime/v2/dashboard/DashboardApi.js.map +1 -0
- package/dist/runtime/v2/dashboard/DashboardServer.d.ts +45 -0
- package/dist/runtime/v2/dashboard/DashboardServer.d.ts.map +1 -0
- package/dist/runtime/v2/dashboard/DashboardServer.js +184 -0
- package/dist/runtime/v2/dashboard/DashboardServer.js.map +1 -0
- package/dist/runtime/v2/discovery/DiscoveryEngine.d.ts +168 -0
- package/dist/runtime/v2/discovery/DiscoveryEngine.d.ts.map +1 -0
- package/dist/runtime/v2/discovery/DiscoveryEngine.js +418 -0
- package/dist/runtime/v2/discovery/DiscoveryEngine.js.map +1 -0
- package/dist/runtime/v2/evaluator/EvaluatorPipeline.d.ts +79 -0
- package/dist/runtime/v2/evaluator/EvaluatorPipeline.d.ts.map +1 -0
- package/dist/runtime/v2/evaluator/EvaluatorPipeline.js +261 -0
- package/dist/runtime/v2/evaluator/EvaluatorPipeline.js.map +1 -0
- package/dist/runtime/v2/hydration/HydrationEngine.d.ts +68 -0
- package/dist/runtime/v2/hydration/HydrationEngine.d.ts.map +1 -0
- package/dist/runtime/v2/hydration/HydrationEngine.js +272 -0
- package/dist/runtime/v2/hydration/HydrationEngine.js.map +1 -0
- package/dist/runtime/v2/index.d.ts +33 -0
- package/dist/runtime/v2/index.d.ts.map +1 -0
- package/dist/runtime/v2/index.js +117 -0
- package/dist/runtime/v2/index.js.map +1 -0
- package/dist/runtime/v2/intent/TaskContract.d.ts +97 -0
- package/dist/runtime/v2/intent/TaskContract.d.ts.map +1 -0
- package/dist/runtime/v2/intent/TaskContract.js +85 -0
- package/dist/runtime/v2/intent/TaskContract.js.map +1 -0
- package/dist/runtime/v2/isolation/WorkspaceIsolation.d.ts +109 -0
- package/dist/runtime/v2/isolation/WorkspaceIsolation.d.ts.map +1 -0
- package/dist/runtime/v2/isolation/WorkspaceIsolation.js +294 -0
- package/dist/runtime/v2/isolation/WorkspaceIsolation.js.map +1 -0
- package/dist/runtime/v2/observation/EventBus.d.ts +68 -0
- package/dist/runtime/v2/observation/EventBus.d.ts.map +1 -0
- package/dist/runtime/v2/observation/EventBus.js +116 -0
- package/dist/runtime/v2/observation/EventBus.js.map +1 -0
- package/dist/runtime/v2/persistence/PersistenceEngine.d.ts +113 -0
- package/dist/runtime/v2/persistence/PersistenceEngine.d.ts.map +1 -0
- package/dist/runtime/v2/persistence/PersistenceEngine.js +334 -0
- package/dist/runtime/v2/persistence/PersistenceEngine.js.map +1 -0
- package/dist/runtime/v2/planner/PlannerEngine.d.ts +48 -0
- package/dist/runtime/v2/planner/PlannerEngine.d.ts.map +1 -0
- package/dist/runtime/v2/planner/PlannerEngine.js +90 -0
- package/dist/runtime/v2/planner/PlannerEngine.js.map +1 -0
- package/dist/runtime/v2/policy/PolicyEngine.d.ts +66 -0
- package/dist/runtime/v2/policy/PolicyEngine.d.ts.map +1 -0
- package/dist/runtime/v2/policy/PolicyEngine.js +244 -0
- package/dist/runtime/v2/policy/PolicyEngine.js.map +1 -0
- package/dist/runtime/v2/provider/AnthropicProvider.d.ts +24 -0
- package/dist/runtime/v2/provider/AnthropicProvider.d.ts.map +1 -0
- package/dist/runtime/v2/provider/AnthropicProvider.js +139 -0
- package/dist/runtime/v2/provider/AnthropicProvider.js.map +1 -0
- package/dist/runtime/v2/provider/GoogleProvider.d.ts +24 -0
- package/dist/runtime/v2/provider/GoogleProvider.d.ts.map +1 -0
- package/dist/runtime/v2/provider/GoogleProvider.js +146 -0
- package/dist/runtime/v2/provider/GoogleProvider.js.map +1 -0
- package/dist/runtime/v2/provider/OpenAIProvider.d.ts +31 -0
- package/dist/runtime/v2/provider/OpenAIProvider.d.ts.map +1 -0
- package/dist/runtime/v2/provider/OpenAIProvider.js +189 -0
- package/dist/runtime/v2/provider/OpenAIProvider.js.map +1 -0
- package/dist/runtime/v2/provider/ProviderManager.d.ts +67 -0
- package/dist/runtime/v2/provider/ProviderManager.d.ts.map +1 -0
- package/dist/runtime/v2/provider/ProviderManager.js +118 -0
- package/dist/runtime/v2/provider/ProviderManager.js.map +1 -0
- package/dist/runtime/v2/provider/ProviderRegistry.d.ts +144 -0
- package/dist/runtime/v2/provider/ProviderRegistry.d.ts.map +1 -0
- package/dist/runtime/v2/provider/ProviderRegistry.js +154 -0
- package/dist/runtime/v2/provider/ProviderRegistry.js.map +1 -0
- package/dist/runtime/v2/queue/RuntimeQueue.d.ts +129 -0
- package/dist/runtime/v2/queue/RuntimeQueue.d.ts.map +1 -0
- package/dist/runtime/v2/queue/RuntimeQueue.js +240 -0
- package/dist/runtime/v2/queue/RuntimeQueue.js.map +1 -0
- package/dist/runtime/v2/recovery/RecoveryEngine.d.ts +112 -0
- package/dist/runtime/v2/recovery/RecoveryEngine.d.ts.map +1 -0
- package/dist/runtime/v2/recovery/RecoveryEngine.js +293 -0
- package/dist/runtime/v2/recovery/RecoveryEngine.js.map +1 -0
- package/dist/runtime/v2/scheduler/SchedulerEngine.d.ts +129 -0
- package/dist/runtime/v2/scheduler/SchedulerEngine.d.ts.map +1 -0
- package/dist/runtime/v2/scheduler/SchedulerEngine.js +306 -0
- package/dist/runtime/v2/scheduler/SchedulerEngine.js.map +1 -0
- package/dist/runtime/v2/state-machine/RuntimeStateMachine.d.ts +69 -0
- package/dist/runtime/v2/state-machine/RuntimeStateMachine.d.ts.map +1 -0
- package/dist/runtime/v2/state-machine/RuntimeStateMachine.js +152 -0
- package/dist/runtime/v2/state-machine/RuntimeStateMachine.js.map +1 -0
- package/dist/runtime/v2/workflow/RuntimeWorkflowBridge.d.ts +104 -0
- package/dist/runtime/v2/workflow/RuntimeWorkflowBridge.d.ts.map +1 -0
- package/dist/runtime/v2/workflow/RuntimeWorkflowBridge.js +321 -0
- package/dist/runtime/v2/workflow/RuntimeWorkflowBridge.js.map +1 -0
- package/dist/runtime/v2.1/ControlPlane.d.ts +83 -0
- package/dist/runtime/v2.1/ControlPlane.d.ts.map +1 -0
- package/dist/runtime/v2.1/ControlPlane.js +178 -0
- package/dist/runtime/v2.1/ControlPlane.js.map +1 -0
- package/dist/runtime/v2.1/bridge/ExecutionBridge.d.ts +53 -0
- package/dist/runtime/v2.1/bridge/ExecutionBridge.d.ts.map +1 -0
- package/dist/runtime/v2.1/bridge/ExecutionBridge.js +109 -0
- package/dist/runtime/v2.1/bridge/ExecutionBridge.js.map +1 -0
- package/dist/runtime/v2.1/contract/ShadowContractLayer.d.ts +105 -0
- package/dist/runtime/v2.1/contract/ShadowContractLayer.d.ts.map +1 -0
- package/dist/runtime/v2.1/contract/ShadowContractLayer.js +267 -0
- package/dist/runtime/v2.1/contract/ShadowContractLayer.js.map +1 -0
- package/dist/runtime/v2.1/decision/ShadowDecisionLayer.d.ts +62 -0
- package/dist/runtime/v2.1/decision/ShadowDecisionLayer.d.ts.map +1 -0
- package/dist/runtime/v2.1/decision/ShadowDecisionLayer.js +105 -0
- package/dist/runtime/v2.1/decision/ShadowDecisionLayer.js.map +1 -0
- package/dist/runtime/v2.1/der/ChaosExecutionMode.d.ts +50 -0
- package/dist/runtime/v2.1/der/ChaosExecutionMode.d.ts.map +1 -0
- package/dist/runtime/v2.1/der/ChaosExecutionMode.js +89 -0
- package/dist/runtime/v2.1/der/ChaosExecutionMode.js.map +1 -0
- package/dist/runtime/v2.1/der/DER.d.ts +138 -0
- package/dist/runtime/v2.1/der/DER.d.ts.map +1 -0
- package/dist/runtime/v2.1/der/DER.js +395 -0
- package/dist/runtime/v2.1/der/DER.js.map +1 -0
- package/dist/runtime/v2.1/der/FaultInjectionLayer.d.ts +63 -0
- package/dist/runtime/v2.1/der/FaultInjectionLayer.d.ts.map +1 -0
- package/dist/runtime/v2.1/der/FaultInjectionLayer.js +138 -0
- package/dist/runtime/v2.1/der/FaultInjectionLayer.js.map +1 -0
- package/dist/runtime/v2.1/der/StressMetrics.d.ts +65 -0
- package/dist/runtime/v2.1/der/StressMetrics.d.ts.map +1 -0
- package/dist/runtime/v2.1/der/StressMetrics.js +127 -0
- package/dist/runtime/v2.1/der/StressMetrics.js.map +1 -0
- package/dist/runtime/v2.1/index.d.ts +22 -0
- package/dist/runtime/v2.1/index.d.ts.map +1 -0
- package/dist/runtime/v2.1/index.js +51 -0
- package/dist/runtime/v2.1/index.js.map +1 -0
- package/dist/runtime/v2.1/observability/ShadowObservabilityLayer.d.ts +99 -0
- package/dist/runtime/v2.1/observability/ShadowObservabilityLayer.d.ts.map +1 -0
- package/dist/runtime/v2.1/observability/ShadowObservabilityLayer.js +174 -0
- package/dist/runtime/v2.1/observability/ShadowObservabilityLayer.js.map +1 -0
- package/dist/runtime/v2.1/validation/CutoverGate.d.ts +82 -0
- package/dist/runtime/v2.1/validation/CutoverGate.d.ts.map +1 -0
- package/dist/runtime/v2.1/validation/CutoverGate.js +129 -0
- package/dist/runtime/v2.1/validation/CutoverGate.js.map +1 -0
- package/dist/runtime/v2.1/validation/DivergenceAnalyzer.d.ts +58 -0
- package/dist/runtime/v2.1/validation/DivergenceAnalyzer.d.ts.map +1 -0
- package/dist/runtime/v2.1/validation/DivergenceAnalyzer.js +130 -0
- package/dist/runtime/v2.1/validation/DivergenceAnalyzer.js.map +1 -0
- package/dist/runtime/v2.1/validation/ValidationDashboard.d.ts +45 -0
- package/dist/runtime/v2.1/validation/ValidationDashboard.d.ts.map +1 -0
- package/dist/runtime/v2.1/validation/ValidationDashboard.js +112 -0
- package/dist/runtime/v2.1/validation/ValidationDashboard.js.map +1 -0
- package/dist/runtime/v2.1/validation/ValidationEngine.d.ts +89 -0
- package/dist/runtime/v2.1/validation/ValidationEngine.d.ts.map +1 -0
- package/dist/runtime/v2.1/validation/ValidationEngine.js +194 -0
- package/dist/runtime/v2.1/validation/ValidationEngine.js.map +1 -0
- package/dist/runtime-core/agents/hermes.d.ts +18 -0
- package/dist/runtime-core/agents/hermes.d.ts.map +1 -0
- package/dist/runtime-core/agents/hermes.js +21 -0
- package/dist/runtime-core/agents/hermes.js.map +1 -0
- package/dist/runtime-core/agents/registry.d.ts +27 -0
- package/dist/runtime-core/agents/registry.d.ts.map +1 -0
- package/dist/runtime-core/agents/registry.js +29 -0
- package/dist/runtime-core/agents/registry.js.map +1 -0
- package/dist/runtime-core/agents/worker.d.ts +18 -0
- package/dist/runtime-core/agents/worker.d.ts.map +1 -0
- package/dist/runtime-core/agents/worker.js +21 -0
- package/dist/runtime-core/agents/worker.js.map +1 -0
- package/dist/runtime-core/index.d.ts +24 -0
- package/dist/runtime-core/index.d.ts.map +1 -0
- package/dist/runtime-core/index.js +55 -0
- package/dist/runtime-core/index.js.map +1 -0
- package/dist/runtime-core/orchestrator.d.ts +47 -0
- package/dist/runtime-core/orchestrator.d.ts.map +1 -0
- package/dist/runtime-core/orchestrator.js +87 -0
- package/dist/runtime-core/orchestrator.js.map +1 -0
- package/dist/runtime-core/tools/fs.d.ts +9 -0
- package/dist/runtime-core/tools/fs.d.ts.map +1 -0
- package/dist/runtime-core/tools/fs.js +57 -0
- package/dist/runtime-core/tools/fs.js.map +1 -0
- package/dist/runtime-core/tools/registry.d.ts +23 -0
- package/dist/runtime-core/tools/registry.d.ts.map +1 -0
- package/dist/runtime-core/tools/registry.js +29 -0
- package/dist/runtime-core/tools/registry.js.map +1 -0
- package/dist/runtime-v2/agents/PlannerAgent.d.ts +16 -0
- package/dist/runtime-v2/agents/PlannerAgent.d.ts.map +1 -0
- package/dist/runtime-v2/agents/PlannerAgent.js +34 -0
- package/dist/runtime-v2/agents/PlannerAgent.js.map +1 -0
- package/dist/runtime-v2/context/ContextBus.d.ts +45 -0
- package/dist/runtime-v2/context/ContextBus.d.ts.map +1 -0
- package/dist/runtime-v2/context/ContextBus.js +68 -0
- package/dist/runtime-v2/context/ContextBus.js.map +1 -0
- package/dist/runtime-v2/graph/GraphRuntimeEngine.d.ts +75 -0
- package/dist/runtime-v2/graph/GraphRuntimeEngine.d.ts.map +1 -0
- package/dist/runtime-v2/graph/GraphRuntimeEngine.js +171 -0
- package/dist/runtime-v2/graph/GraphRuntimeEngine.js.map +1 -0
- package/dist/runtime-v2/index.d.ts +24 -0
- package/dist/runtime-v2/index.d.ts.map +1 -0
- package/dist/runtime-v2/index.js +58 -0
- package/dist/runtime-v2/index.js.map +1 -0
- package/dist/runtime.d.ts +10 -0
- package/dist/runtime.d.ts.map +1 -0
- package/dist/runtime.js +13 -0
- package/dist/runtime.js.map +1 -0
- package/dist/safety/CircuitBreaker.d.ts +55 -0
- package/dist/safety/CircuitBreaker.d.ts.map +1 -0
- package/dist/safety/CircuitBreaker.js +138 -0
- package/dist/safety/CircuitBreaker.js.map +1 -0
- package/dist/safety/HopCounter.d.ts +30 -0
- package/dist/safety/HopCounter.d.ts.map +1 -0
- package/dist/safety/HopCounter.js +55 -0
- package/dist/safety/HopCounter.js.map +1 -0
- package/dist/safety/MessageDeduplicator.d.ts +33 -0
- package/dist/safety/MessageDeduplicator.d.ts.map +1 -0
- package/dist/safety/MessageDeduplicator.js +64 -0
- package/dist/safety/MessageDeduplicator.js.map +1 -0
- package/dist/safety/TimeBudget.d.ts +69 -0
- package/dist/safety/TimeBudget.d.ts.map +1 -0
- package/dist/safety/TimeBudget.js +109 -0
- package/dist/safety/TimeBudget.js.map +1 -0
- package/dist/safety/__tests__/CircuitBreaker.test.d.ts +2 -0
- package/dist/safety/__tests__/CircuitBreaker.test.d.ts.map +1 -0
- package/dist/safety/__tests__/CircuitBreaker.test.js +98 -0
- package/dist/safety/__tests__/CircuitBreaker.test.js.map +1 -0
- package/dist/sandbox/ExecutionSandbox.d.ts +16 -0
- package/dist/sandbox/ExecutionSandbox.d.ts.map +1 -0
- package/dist/sandbox/ExecutionSandbox.js +52 -0
- package/dist/sandbox/ExecutionSandbox.js.map +1 -0
- package/dist/security/P0IncidentResponse.d.ts +90 -0
- package/dist/security/P0IncidentResponse.d.ts.map +1 -0
- package/dist/security/P0IncidentResponse.js +161 -0
- package/dist/security/P0IncidentResponse.js.map +1 -0
- package/dist/security/SecurityHardening.d.ts +121 -0
- package/dist/security/SecurityHardening.d.ts.map +1 -0
- package/dist/security/SecurityHardening.js +228 -0
- package/dist/security/SecurityHardening.js.map +1 -0
- package/dist/security/index.d.ts +15 -0
- package/dist/security/index.d.ts.map +1 -0
- package/dist/security/index.js +23 -0
- package/dist/security/index.js.map +1 -0
- package/dist/self-healing/ExecutionTrace.d.ts +80 -0
- package/dist/self-healing/ExecutionTrace.d.ts.map +1 -0
- package/dist/self-healing/ExecutionTrace.js +132 -0
- package/dist/self-healing/ExecutionTrace.js.map +1 -0
- package/dist/self-healing/FailureClassifier.d.ts +40 -0
- package/dist/self-healing/FailureClassifier.d.ts.map +1 -0
- package/dist/self-healing/FailureClassifier.js +176 -0
- package/dist/self-healing/FailureClassifier.js.map +1 -0
- package/dist/self-healing/LoopMemory.d.ts +54 -0
- package/dist/self-healing/LoopMemory.d.ts.map +1 -0
- package/dist/self-healing/LoopMemory.js +79 -0
- package/dist/self-healing/LoopMemory.js.map +1 -0
- package/dist/self-healing/PolicyEngine.d.ts +31 -0
- package/dist/self-healing/PolicyEngine.d.ts.map +1 -0
- package/dist/self-healing/PolicyEngine.js +92 -0
- package/dist/self-healing/PolicyEngine.js.map +1 -0
- package/dist/self-healing/RetryPolicy.d.ts +50 -0
- package/dist/self-healing/RetryPolicy.d.ts.map +1 -0
- package/dist/self-healing/RetryPolicy.js +94 -0
- package/dist/self-healing/RetryPolicy.js.map +1 -0
- package/dist/self-healing/RuntimeEvents.d.ts +50 -0
- package/dist/self-healing/RuntimeEvents.d.ts.map +1 -0
- package/dist/self-healing/RuntimeEvents.js +68 -0
- package/dist/self-healing/RuntimeEvents.js.map +1 -0
- package/dist/self-healing/SelfHealingRuntime.d.ts +41 -0
- package/dist/self-healing/SelfHealingRuntime.d.ts.map +1 -0
- package/dist/self-healing/SelfHealingRuntime.js +245 -0
- package/dist/self-healing/SelfHealingRuntime.js.map +1 -0
- package/dist/stability/StabilityEngine.d.ts +67 -0
- package/dist/stability/StabilityEngine.d.ts.map +1 -0
- package/dist/stability/StabilityEngine.js +214 -0
- package/dist/stability/StabilityEngine.js.map +1 -0
- package/dist/stability/TaskQualityGate.d.ts +41 -0
- package/dist/stability/TaskQualityGate.d.ts.map +1 -0
- package/dist/stability/TaskQualityGate.js +90 -0
- package/dist/stability/TaskQualityGate.js.map +1 -0
- package/dist/stability-loop/StabilityHardeningLoop.d.ts +158 -0
- package/dist/stability-loop/StabilityHardeningLoop.d.ts.map +1 -0
- package/dist/stability-loop/StabilityHardeningLoop.js +331 -0
- package/dist/stability-loop/StabilityHardeningLoop.js.map +1 -0
- package/dist/stability-loop/index.d.ts +18 -0
- package/dist/stability-loop/index.d.ts.map +1 -0
- package/dist/stability-loop/index.js +35 -0
- package/dist/stability-loop/index.js.map +1 -0
- package/dist/trace/CausalEngine.d.ts +56 -0
- package/dist/trace/CausalEngine.d.ts.map +1 -0
- package/dist/trace/CausalEngine.js +131 -0
- package/dist/trace/CausalEngine.js.map +1 -0
- package/dist/trace/ExecutionTraceModel.d.ts +127 -0
- package/dist/trace/ExecutionTraceModel.d.ts.map +1 -0
- package/dist/trace/ExecutionTraceModel.js +136 -0
- package/dist/trace/ExecutionTraceModel.js.map +1 -0
- package/dist/trace/KnowledgeInfluenceTracker.d.ts +54 -0
- package/dist/trace/KnowledgeInfluenceTracker.d.ts.map +1 -0
- package/dist/trace/KnowledgeInfluenceTracker.js +76 -0
- package/dist/trace/KnowledgeInfluenceTracker.js.map +1 -0
- package/dist/trace/flexibility/AdaptiveRuntime.d.ts +30 -0
- package/dist/trace/flexibility/AdaptiveRuntime.d.ts.map +1 -0
- package/dist/trace/flexibility/AdaptiveRuntime.js +42 -0
- package/dist/trace/flexibility/AdaptiveRuntime.js.map +1 -0
- package/dist/trace/flexibility/ExecutionFlexibilityEngine.d.ts +52 -0
- package/dist/trace/flexibility/ExecutionFlexibilityEngine.d.ts.map +1 -0
- package/dist/trace/flexibility/ExecutionFlexibilityEngine.js +57 -0
- package/dist/trace/flexibility/ExecutionFlexibilityEngine.js.map +1 -0
- package/dist/trace/flexibility/FlexibleExecutionGate.d.ts +25 -0
- package/dist/trace/flexibility/FlexibleExecutionGate.d.ts.map +1 -0
- package/dist/trace/flexibility/FlexibleExecutionGate.js +48 -0
- package/dist/trace/flexibility/FlexibleExecutionGate.js.map +1 -0
- package/dist/trace/flexibility/index.d.ts +17 -0
- package/dist/trace/flexibility/index.d.ts.map +1 -0
- package/dist/trace/flexibility/index.js +23 -0
- package/dist/trace/flexibility/index.js.map +1 -0
- package/dist/trace/gate/DeviationDetectionEngine.d.ts +60 -0
- package/dist/trace/gate/DeviationDetectionEngine.d.ts.map +1 -0
- package/dist/trace/gate/DeviationDetectionEngine.js +143 -0
- package/dist/trace/gate/DeviationDetectionEngine.js.map +1 -0
- package/dist/trace/gate/ExecutionTracePlan.d.ts +55 -0
- package/dist/trace/gate/ExecutionTracePlan.d.ts.map +1 -0
- package/dist/trace/gate/ExecutionTracePlan.js +67 -0
- package/dist/trace/gate/ExecutionTracePlan.js.map +1 -0
- package/dist/trace/gate/TraceExecutionGate.d.ts +63 -0
- package/dist/trace/gate/TraceExecutionGate.d.ts.map +1 -0
- package/dist/trace/gate/TraceExecutionGate.js +129 -0
- package/dist/trace/gate/TraceExecutionGate.js.map +1 -0
- package/dist/trace/gate/index.d.ts +15 -0
- package/dist/trace/gate/index.d.ts.map +1 -0
- package/dist/trace/gate/index.js +21 -0
- package/dist/trace/gate/index.js.map +1 -0
- package/dist/trace/index.d.ts +13 -0
- package/dist/trace/index.d.ts.map +1 -0
- package/dist/trace/index.js +19 -0
- package/dist/trace/index.js.map +1 -0
- package/dist/trace/proof/ExecutionProofSystem.d.ts +94 -0
- package/dist/trace/proof/ExecutionProofSystem.d.ts.map +1 -0
- package/dist/trace/proof/ExecutionProofSystem.js +185 -0
- package/dist/trace/proof/ExecutionProofSystem.js.map +1 -0
- package/dist/trace/proof/index.d.ts +11 -0
- package/dist/trace/proof/index.d.ts.map +1 -0
- package/dist/trace/proof/index.js +15 -0
- package/dist/trace/proof/index.js.map +1 -0
- package/dist/types/index.d.ts +194 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +4 -0
- package/dist/types/index.js.map +1 -0
- package/dist/unified/UnifiedExecutionEngine.d.ts +118 -0
- package/dist/unified/UnifiedExecutionEngine.d.ts.map +1 -0
- package/dist/unified/UnifiedExecutionEngine.js +187 -0
- package/dist/unified/UnifiedExecutionEngine.js.map +1 -0
- package/dist/unified/index.d.ts +17 -0
- package/dist/unified/index.d.ts.map +1 -0
- package/dist/unified/index.js +21 -0
- package/dist/unified/index.js.map +1 -0
- package/dist/utils/OutputNormalizer.d.ts +8 -0
- package/dist/utils/OutputNormalizer.d.ts.map +1 -0
- package/dist/utils/OutputNormalizer.js +48 -0
- package/dist/utils/OutputNormalizer.js.map +1 -0
- package/dist/utils/RevisionHistory.d.ts +9 -0
- package/dist/utils/RevisionHistory.d.ts.map +1 -0
- package/dist/utils/RevisionHistory.js +72 -0
- package/dist/utils/RevisionHistory.js.map +1 -0
- package/dist/utils/TaskQueue.d.ts +12 -0
- package/dist/utils/TaskQueue.d.ts.map +1 -0
- package/dist/utils/TaskQueue.js +107 -0
- package/dist/utils/TaskQueue.js.map +1 -0
- package/dist/utils/logger.d.ts +16 -0
- package/dist/utils/logger.d.ts.map +1 -0
- package/dist/utils/logger.js +66 -0
- package/dist/utils/logger.js.map +1 -0
- package/dist/utils/uuid.d.ts +2 -0
- package/dist/utils/uuid.d.ts.map +1 -0
- package/dist/utils/uuid.js +41 -0
- package/dist/utils/uuid.js.map +1 -0
- package/dist/validate.d.ts +22 -0
- package/dist/validate.d.ts.map +1 -0
- package/dist/validate.js +46 -0
- package/dist/validate.js.map +1 -0
- package/dist/workflow/WorkflowMachine.d.ts +55 -0
- package/dist/workflow/WorkflowMachine.d.ts.map +1 -0
- package/dist/workflow/WorkflowMachine.js +185 -0
- package/dist/workflow/WorkflowMachine.js.map +1 -0
- package/docs/AGENT-HIVE-CAPABILITY-MATRIX-AUDIT.md +281 -0
- package/docs/AGENT-HIVE-EXECUTION-KERNEL-v1-PRODUCT-READY-SPEC.md +346 -0
- package/docs/AGENT-HIVE-EXECUTION-KERNEL-v1.0-FINAL-SYSTEM-SPEC.md +509 -0
- package/docs/AGENT-HIVE-EXECUTION-KERNEL-v1.0-NEW.md +390 -0
- package/docs/AGENT-HIVE-EXECUTION-KERNEL-v1.0.md +369 -0
- package/docs/AGENT-HIVE-EXECUTION-KERNEL-v1.1-FINAL-SPEC.md +380 -0
- package/docs/AGENT-HIVE-EXECUTION-KERNEL-v1.1-RUNTIME-CORE.md +296 -0
- package/docs/AGENT-HIVE-PHASE-10-EXECUTION-KERNEL-SYSTEM.md +399 -0
- package/docs/AGENT-HIVE-PHASE-10-FINAL-FORM-v2-HARD-TRUTH-ENFORCEMENT-SYSTEM.md +350 -0
- package/docs/AGENT-HIVE-PHASE-10-FINAL-HARD-EXECUTION-TRUTH-SYSTEM-INVARIANT-ROOT-CAUSE-AUDIT.md +286 -0
- package/docs/AGENT-HIVE-PHASE-10-HARD-EXECUTION-TRUTH-SYSTEM-INVARIANT-AUDIT.md +283 -0
- package/docs/AGENT-HIVE-PHASE-5-EXECUTION-VALIDATION-REPORT.md +356 -0
- package/docs/AGENT-HIVE-PHASE-5.1-PLANNER-ERROR-AUDIT.md +323 -0
- package/docs/AGENT-HIVE-PHASE-6-TRUTH-AUDIT.md +454 -0
- package/docs/AGENT-HIVE-PHASE-7-PRODUCTION-READINESS-AUDIT.md +210 -0
- package/docs/AGENT-HIVE-PHASE-8-HARD-EXECUTION-TRUTH-ENFORCEMENT-AUDIT.md +310 -0
- package/docs/AGENT-HIVE-PHASE-9-EXECUTION-COLLAPSE-TEST-SYSTEM.md +241 -0
- package/docs/AGENT-HIVE-RELEASE-VALIDATION-REPORT-v2.md +260 -0
- package/docs/AGENT-HIVE-RELEASE-VALIDATION-REPORT.md +282 -0
- package/docs/AGENT-HIVE-RUNTIME-v2.0-ARCHITECTURE-AUDIT.md +500 -0
- package/docs/AGENT-HIVE-RUNTIME-v2.0-ULTIMATE-INVARIANTS-AUDIT.md +170 -0
- package/docs/AGENT-HIVE-v1.4-lite-KERNEL-PATCH-INTEGRATION-REPORT.md +182 -0
- package/docs/ARCHITECTURE-FREEZE-VALIDATION-REPORT.md +157 -0
- package/docs/ARCHITECTURE.md +51 -0
- package/docs/QUICKSTART.md +44 -0
- package/docs/adr/ADR-001-runtime-architecture.md +28 -0
- package/docs/adr/ADR-002-dag-execution.md +11 -0
- package/docs/adr/ADR-003-observation-layer.md +11 -0
- package/docs/adr/ADR-004-policy-engine.md +11 -0
- package/docs/adr/ADR-005-self-healing.md +24 -0
- package/docs/adr/ADR-006-checkpoint.md +24 -0
- package/docs/adr/ADR-007-event-sourcing.md +11 -0
- package/docs/adr/ADR-008-plugin-sdk.md +11 -0
- package/docs/adr/ADR-009-scheduler.md +24 -0
- package/docs/adr/ADR-010-platform-api.md +11 -0
- package/docs/agent-hive-full-audit-report.md +281 -0
- package/docs/agent-hive-observation.md +100 -0
- package/docs/architecture/overview.md +78 -0
- package/docs/architecture-current.md +301 -0
- package/docs/architecture-review-v2.1.7.md +402 -0
- package/docs/audit-report.md +172 -0
- package/docs/branding-final.md +44 -0
- package/docs/branding-review.md +51 -0
- package/docs/continuous-validation.md +59 -0
- package/docs/dashboard-runtime-validation.md +44 -0
- package/docs/dashboard.md +32 -0
- package/docs/experiment-results.json +341 -0
- package/docs/failure-intelligence-report.md +39 -0
- package/docs/hermes-audit-report.md +119 -0
- package/docs/install-validation.md +43 -0
- package/docs/observability-report.md +71 -0
- package/docs/observability.md +187 -0
- package/docs/orchestration-report.md +119 -0
- package/docs/plugins/README.md +64 -0
- package/docs/positioning.md +67 -0
- package/docs/product-entry.md +55 -0
- package/docs/providers.md +56 -0
- package/docs/real-project-validation.md +120 -0
- package/docs/real-workload-stream.md +69 -0
- package/docs/real-world-validation-report.md +76 -0
- package/docs/release-checklist-v1.1.md +25 -0
- package/docs/runtime-benchmark.md +118 -0
- package/docs/self-hosting.md +64 -0
- package/docs/stability.md +49 -0
- package/docs/task-injection-set.md +49 -0
- package/docs/user-feedback-v1.md +59 -0
- package/docs/v2.0-architecture-proposal.md +684 -0
- package/docs/validation-report.md +116 -0
- package/docs/value-analysis.md +110 -0
- package/examples/ai-workflow/index.js +34 -0
- package/examples/demo/index.js +87 -0
- package/examples/demo/package.json +7 -0
- package/jest.config.js +31 -0
- package/package.json +34 -0
- package/runtime.json.example +26 -0
- package/src/adapters/ClaudeAdapter.ts +229 -0
- package/src/adapters/CodexAdapter.ts +108 -0
- package/src/adapters/HermesAdapter.ts +196 -0
- package/src/adapters/MockClaudeAdapter.ts +70 -0
- package/src/adapters/MockCodexAdapter.ts +36 -0
- package/src/adapters/OpenClawAdapter.ts +172 -0
- package/src/adapters/registry.ts +54 -0
- package/src/api/HiveAPI.ts +148 -0
- package/src/benchmark/BenchmarkDataset.ts +80 -0
- package/src/benchmark/BenchmarkPlan.ts +451 -0
- package/src/benchmark/BenchmarkReport.ts +147 -0
- package/src/benchmark/BenchmarkRunner.ts +143 -0
- package/src/benchmark/BenchmarkSuite.ts +193 -0
- package/src/benchmark/index.ts +39 -0
- package/src/broker/AgentRegistry.ts +76 -0
- package/src/broker/Broker.ts +115 -0
- package/src/broker/GraphOperations.ts +73 -0
- package/src/broker/MessageBus.ts +92 -0
- package/src/broker/MessageRouter.ts +159 -0
- package/src/broker/TaskProcessor.ts +520 -0
- package/src/broker/TaskProcessor.ts.backup +472 -0
- package/src/broker/TaskRouter.ts +32 -0
- package/src/channels/ChannelPlugin.ts +34 -0
- package/src/ci/CIGate.ts +150 -0
- package/src/ci/ContractLock.ts +92 -0
- package/src/cli/hive-cli.ts +104 -0
- package/src/cli.ts +218 -0
- package/src/command/CommandAST.ts +40 -0
- package/src/commands/cli.ts +819 -0
- package/src/commands/demo.ts +81 -0
- package/src/commands/experiment-routing.ts +360 -0
- package/src/commands/generate-dashboard.js +235 -0
- package/src/commands/run-daily-validation.js +125 -0
- package/src/commands/run-validation.ts +316 -0
- package/src/commands/test-benchmark.ts +208 -0
- package/src/commands/test-conversation.ts +284 -0
- package/src/commands/test-crash.ts +67 -0
- package/src/commands/test-cross-platform.ts +65 -0
- package/src/commands/test-graph.ts +466 -0
- package/src/commands/test-observability.ts +137 -0
- package/src/commands/test-orchestration.ts +122 -0
- package/src/commands/test-real-world.ts +180 -0
- package/src/commands/test-reviewer.ts +136 -0
- package/src/commands/test-runtime-intelligence.ts +235 -0
- package/src/commands/test-stress.ts +131 -0
- package/src/commands/test-timeout.ts +145 -0
- package/src/commands/test-v2-integration.ts +615 -0
- package/src/commands/test-validation.ts +210 -0
- package/src/compiler/ArchitectureSynthesizer.ts +117 -0
- package/src/compiler/BlueprintPackager.ts +32 -0
- package/src/compiler/CommandCompiler.ts +66 -0
- package/src/compiler/DAGCompiler.ts +25 -0
- package/src/compiler/DomainModelGenerator.ts +132 -0
- package/src/compiler/FeasibilityGate.ts +81 -0
- package/src/compiler/InputNormalizer.ts +88 -0
- package/src/compiler/IntentParser.ts +109 -0
- package/src/compiler/ModulePlanner.ts +32 -0
- package/src/compiler/PromptCompiler.ts +39 -0
- package/src/compiler/index.ts +84 -0
- package/src/context/ContextManager.ts +63 -0
- package/src/control-plane/BudgetController.ts +120 -0
- package/src/control-plane/ControlPlane.ts +254 -0
- package/src/control-plane/ConvergenceGuard.ts +85 -0
- package/src/control-plane/DriftDetector.ts +99 -0
- package/src/control-plane/MetricStabilityLock.ts +75 -0
- package/src/control-plane/index.ts +24 -0
- package/src/convergence/ConvergenceValidator.ts +367 -0
- package/src/convergence/index.ts +35 -0
- package/src/conversation/ConversationManager.ts +158 -0
- package/src/dashboard/EventStore.ts +54 -0
- package/src/dashboard/FailureIntelligence.ts +302 -0
- package/src/dashboard/ObservationDashboard.ts +256 -0
- package/src/dashboard/StabilityCurve.ts +69 -0
- package/src/dashboard/index.html +144 -0
- package/src/engine/ExecutionEngine.ts +132 -0
- package/src/engine/PlatformAdapter.ts +49 -0
- package/src/engine/ResultNormalizer.ts +69 -0
- package/src/engine/StructuredLogger.ts +61 -0
- package/src/evaluation/BaselineRunner.ts +124 -0
- package/src/evaluation/DecisionTrace.ts +33 -0
- package/src/evaluation/EvaluationMetrics.ts +42 -0
- package/src/evaluation/GroundTruthDataset.ts +84 -0
- package/src/evaluation/RealWorldBenchmark.ts +91 -0
- package/src/evaluation/RealWorldRunner.ts +171 -0
- package/src/evaluation/ValidationRunner.ts +156 -0
- package/src/events/AgentEvent.ts +45 -0
- package/src/events/DecisionEvent.ts +16 -0
- package/src/events/ExecutionEvent.ts +38 -0
- package/src/events/SystemEvent.ts +11 -0
- package/src/evolution/EvolutionEngine.ts +388 -0
- package/src/evolution/index.ts +27 -0
- package/src/execution-fabric/DistributedExecutionFabric.ts +304 -0
- package/src/execution-fabric/index.ts +16 -0
- package/src/execution-graph/DynamicExecutionGraphRuntime.ts +319 -0
- package/src/execution-graph/ExecutionGraphEngine.ts +290 -0
- package/src/execution-graph/index.ts +28 -0
- package/src/execution-runtime/ExecutionRuntime.ts +290 -0
- package/src/execution-runtime/index.ts +17 -0
- package/src/governance/EngineeringGovernanceLayer.ts +287 -0
- package/src/graph/AgentGraph.ts +276 -0
- package/src/graph/GraphValidator.ts +107 -0
- package/src/graph/TopologyTemplates.ts +152 -0
- package/src/hardening/RuntimeHardening.ts +381 -0
- package/src/hardening/index.ts +18 -0
- package/src/index.ts +8 -0
- package/src/kernel/ExecutionState.ts +133 -0
- package/src/kernel/FailureInterceptor.ts +136 -0
- package/src/kernel/KernelGate.ts +77 -0
- package/src/kernel/MultiAgentExecutionKernel.ts +274 -0
- package/src/kernel/RuntimeKernel.ts +494 -0
- package/src/kernel/index.ts +32 -0
- package/src/knowledge/KnowledgeSystem.ts +145 -0
- package/src/learning/ExecutionEpisodeStore.ts +95 -0
- package/src/learning/InsightEngine.ts +78 -0
- package/src/learning/LearningLoopEngine.ts +97 -0
- package/src/learning/MemoryCompressor.ts +94 -0
- package/src/learning/PolicyOptimizer.ts +102 -0
- package/src/learning/PolicyStore.ts +94 -0
- package/src/loop-layer/EvaluationEngine.ts +55 -0
- package/src/loop-layer/LoopController.ts +95 -0
- package/src/loop-layer/ObservationEngine.ts +159 -0
- package/src/memory/ContextCompressor.ts +80 -0
- package/src/memory/MemoryManager.ts +52 -0
- package/src/memory/MemorySearch.ts +91 -0
- package/src/memory/MemoryStore.ts +72 -0
- package/src/observability/ConversationTrace.ts +89 -0
- package/src/observability/DecisionRecorder.ts +95 -0
- package/src/observability/RuntimeMetrics.ts +114 -0
- package/src/observability/TaskTimeline.ts +102 -0
- package/src/observation/SystemScoreCalculator.ts +182 -0
- package/src/observation/__tests__/SystemScoreCalculator.test.ts +71 -0
- package/src/orchestration/AgentRouter.ts +69 -0
- package/src/orchestration/DAGExecutor.ts +150 -0
- package/src/orchestration/JudgeAgent.ts +69 -0
- package/src/orchestration/Planner.ts +52 -0
- package/src/orchestration/ReviewerAgent.ts +76 -0
- package/src/orchestration/contracts/Agent.ts +46 -0
- package/src/orchestration/registry/AgentProfile.ts +11 -0
- package/src/orchestration/registry/AgentRegistry.ts +36 -0
- package/src/planning/ProjectPlanningLayer.ts +230 -0
- package/src/platform/PlatformCapabilities.ts +42 -0
- package/src/platform/auth/AuthService.ts +50 -0
- package/src/platform/index.ts +73 -0
- package/src/platform/sdk/index.ts +87 -0
- package/src/platform/server/ApiServer.ts +226 -0
- package/src/platform/services/MetricsService.ts +97 -0
- package/src/platform/validation/PlatformValidation.ts +109 -0
- package/src/platform/validation/benchmark/BenchmarkFramework.ts +83 -0
- package/src/platform/validation/chaos/FaultInjector.ts +85 -0
- package/src/product/AutoTopologySelector.ts +137 -0
- package/src/product/ProductEngineeringLayer.ts +215 -0
- package/src/product/ProviderRegistry.ts +25 -0
- package/src/product/TaskIntentClassifier.ts +105 -0
- package/src/production/ProductionRuntime.ts +161 -0
- package/src/production/checkpoint/CheckpointManager.ts +103 -0
- package/src/production/compensation/CompensationEngine.ts +71 -0
- package/src/production/events/EventStore.ts +100 -0
- package/src/production/plugins/PluginRegistry.ts +84 -0
- package/src/production/scheduler/Scheduler.ts +93 -0
- package/src/production-observation/ProductionObservation.ts +404 -0
- package/src/production-observation/index.ts +41 -0
- package/src/productionization/ProductionizationPlan.ts +591 -0
- package/src/productionization/index.ts +45 -0
- package/src/prompts/reviewer.txt +17 -0
- package/src/prompts/revision.txt +10 -0
- package/src/providers/OpenAIProvider.ts +61 -0
- package/src/providers/ProviderAdapter.ts +32 -0
- package/src/reasoning/ArchitectureCandidateGenerator.ts +103 -0
- package/src/reasoning/ArchitectureSpaceGenerator.ts +73 -0
- package/src/reasoning/ConstraintInferenceEngine.ts +110 -0
- package/src/reasoning/DecisionEngine.ts +102 -0
- package/src/reasoning/ExplainabilityLayer.ts +72 -0
- package/src/reasoning/FailureSimulationEngine.ts +102 -0
- package/src/reasoning/TradeoffReasoningEngine.ts +114 -0
- package/src/reasoning/index.ts +115 -0
- package/src/review/ReviewConsensus.ts +243 -0
- package/src/runtime/CapabilityDiscovery.ts +142 -0
- package/src/runtime/EventBus.ts +84 -0
- package/src/runtime/FailureAnalyzer.ts +87 -0
- package/src/runtime/ReplayEngine.ts +62 -0
- package/src/runtime/RuntimeConfig.ts +101 -0
- package/src/runtime/RuntimeScoreManager.ts +134 -0
- package/src/runtime/RuntimeSelector.ts +118 -0
- package/src/runtime/v2/RuntimeCore.ts +453 -0
- package/src/runtime/v2/audit/AuditTrail.ts +393 -0
- package/src/runtime/v2/budget/BudgetGuard.ts +304 -0
- package/src/runtime/v2/capability/CapabilityRegistry.ts +244 -0
- package/src/runtime/v2/checkpoint/HumanCheckpoint.ts +364 -0
- package/src/runtime/v2/concurrency/ConcurrencyManager.ts +263 -0
- package/src/runtime/v2/dashboard/DashboardApi.ts +534 -0
- package/src/runtime/v2/dashboard/DashboardServer.ts +160 -0
- package/src/runtime/v2/discovery/DiscoveryEngine.ts +488 -0
- package/src/runtime/v2/evaluator/EvaluatorPipeline.ts +300 -0
- package/src/runtime/v2/hydration/HydrationEngine.ts +289 -0
- package/src/runtime/v2/index.ts +211 -0
- package/src/runtime/v2/intent/TaskContract.ts +182 -0
- package/src/runtime/v2/isolation/WorkspaceIsolation.ts +330 -0
- package/src/runtime/v2/observation/EventBus.ts +137 -0
- package/src/runtime/v2/persistence/PersistenceEngine.ts +330 -0
- package/src/runtime/v2/planner/PlannerEngine.ts +134 -0
- package/src/runtime/v2/policy/PolicyEngine.ts +288 -0
- package/src/runtime/v2/provider/AnthropicProvider.ts +133 -0
- package/src/runtime/v2/provider/GoogleProvider.ts +136 -0
- package/src/runtime/v2/provider/OpenAIProvider.ts +184 -0
- package/src/runtime/v2/provider/ProviderManager.ts +150 -0
- package/src/runtime/v2/provider/ProviderRegistry.ts +262 -0
- package/src/runtime/v2/queue/RuntimeQueue.ts +280 -0
- package/src/runtime/v2/recovery/RecoveryEngine.ts +357 -0
- package/src/runtime/v2/scheduler/SchedulerEngine.ts +358 -0
- package/src/runtime/v2/state-machine/RuntimeStateMachine.ts +186 -0
- package/src/runtime/v2/workflow/RuntimeWorkflowBridge.ts +410 -0
- package/src/runtime/v2.1/ControlPlane.ts +249 -0
- package/src/runtime/v2.1/bridge/ExecutionBridge.ts +142 -0
- package/src/runtime/v2.1/contract/ShadowContractLayer.ts +343 -0
- package/src/runtime/v2.1/decision/ShadowDecisionLayer.ts +165 -0
- package/src/runtime/v2.1/der/ChaosExecutionMode.ts +120 -0
- package/src/runtime/v2.1/der/DER.ts +468 -0
- package/src/runtime/v2.1/der/FaultInjectionLayer.ts +181 -0
- package/src/runtime/v2.1/der/StressMetrics.ts +170 -0
- package/src/runtime/v2.1/index.ts +101 -0
- package/src/runtime/v2.1/observability/ShadowObservabilityLayer.ts +226 -0
- package/src/runtime/v2.1/validation/CutoverGate.ts +179 -0
- package/src/runtime/v2.1/validation/DivergenceAnalyzer.ts +165 -0
- package/src/runtime/v2.1/validation/ValidationDashboard.ts +139 -0
- package/src/runtime/v2.1/validation/ValidationEngine.ts +308 -0
- package/src/runtime-core/agents/hermes.ts +20 -0
- package/src/runtime-core/agents/registry.ts +35 -0
- package/src/runtime-core/agents/worker.ts +20 -0
- package/src/runtime-core/index.ts +60 -0
- package/src/runtime-core/orchestrator.ts +123 -0
- package/src/runtime-core/tools/fs.ts +24 -0
- package/src/runtime-core/tools/registry.ts +34 -0
- package/src/runtime-v2/agents/PlannerAgent.ts +34 -0
- package/src/runtime-v2/context/ContextBus.ts +72 -0
- package/src/runtime-v2/graph/GraphRuntimeEngine.ts +217 -0
- package/src/runtime-v2/index.ts +62 -0
- package/src/runtime.ts +10 -0
- package/src/safety/CircuitBreaker.ts +152 -0
- package/src/safety/HopCounter.ts +57 -0
- package/src/safety/MessageDeduplicator.ts +69 -0
- package/src/safety/TimeBudget.ts +129 -0
- package/src/safety/__tests__/CircuitBreaker.test.ts +113 -0
- package/src/sandbox/ExecutionSandbox.ts +65 -0
- package/src/security/P0IncidentResponse.ts +201 -0
- package/src/security/SecurityHardening.ts +272 -0
- package/src/security/index.ts +29 -0
- package/src/self-healing/ExecutionTrace.ts +164 -0
- package/src/self-healing/FailureClassifier.ts +212 -0
- package/src/self-healing/LoopMemory.ts +98 -0
- package/src/self-healing/PolicyEngine.ts +117 -0
- package/src/self-healing/RetryPolicy.ts +120 -0
- package/src/self-healing/RuntimeEvents.ts +93 -0
- package/src/self-healing/SelfHealingRuntime.ts +282 -0
- package/src/stability/StabilityEngine.ts +216 -0
- package/src/stability/TaskQualityGate.ts +119 -0
- package/src/stability-loop/StabilityHardeningLoop.ts +470 -0
- package/src/stability-loop/index.ts +53 -0
- package/src/trace/CausalEngine.ts +160 -0
- package/src/trace/ExecutionTraceModel.ts +242 -0
- package/src/trace/KnowledgeInfluenceTracker.ts +92 -0
- package/src/trace/flexibility/AdaptiveRuntime.ts +41 -0
- package/src/trace/flexibility/ExecutionFlexibilityEngine.ts +97 -0
- package/src/trace/flexibility/FlexibleExecutionGate.ts +51 -0
- package/src/trace/flexibility/index.ts +26 -0
- package/src/trace/gate/DeviationDetectionEngine.ts +182 -0
- package/src/trace/gate/ExecutionTracePlan.ts +108 -0
- package/src/trace/gate/TraceExecutionGate.ts +163 -0
- package/src/trace/gate/index.ts +15 -0
- package/src/trace/index.ts +13 -0
- package/src/trace/proof/ExecutionProofSystem.ts +232 -0
- package/src/trace/proof/index.ts +16 -0
- package/src/types/index.ts +286 -0
- package/src/unified/UnifiedExecutionEngine.ts +281 -0
- package/src/unified/index.ts +24 -0
- package/src/utils/OutputNormalizer.ts +45 -0
- package/src/utils/RevisionHistory.ts +39 -0
- package/src/utils/TaskQueue.ts +80 -0
- package/src/utils/logger.ts +44 -0
- package/src/utils/uuid.ts +5 -0
- package/src/validate.ts +50 -0
- package/src/workflow/WorkflowMachine.ts +229 -0
- package/test-grand-review.js +192 -0
- package/tests/test-system-score.ts +167 -0
- package/toyako-hive-4.0.0-rc.1.tgz +0 -0
- package/tsconfig.json +20 -0
- package/tsconfig.test.json +9 -0
|
@@ -0,0 +1,466 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Test: Graph Workflow — Multi-Agent Graph-Based Task Processing
|
|
3
|
+
*
|
|
4
|
+
* Verifies:
|
|
5
|
+
* 1. AgentGraph setup with multiple agents and edges
|
|
6
|
+
* 2. TopologyTemplates (simpleChain, planExecuteReview, pipeline)
|
|
7
|
+
* 3. GraphValidator (cycle detection, isolation detection)
|
|
8
|
+
* 4. MessageRouter routing through graph
|
|
9
|
+
* 5. Broker v2.0 graph-mode task processing
|
|
10
|
+
* 6. v1.1 → v2.0 migration (reportsTo → graph edges)
|
|
11
|
+
*/
|
|
12
|
+
import { Broker } from "../broker/Broker";
|
|
13
|
+
import { AgentGraph } from "../graph/AgentGraph";
|
|
14
|
+
import { GraphValidator } from "../graph/GraphValidator";
|
|
15
|
+
import { TopologyTemplates } from "../graph/TopologyTemplates";
|
|
16
|
+
import { MessageRouter } from "../broker/MessageRouter";
|
|
17
|
+
import * as fs from "fs";
|
|
18
|
+
import { AgentAdapter, AgentResult, ReviewResult, Task, AgentProfile, GraphEdge } from "../types";
|
|
19
|
+
|
|
20
|
+
function cleanupBrokerState() {
|
|
21
|
+
try { fs.rmSync(".agent-hive", { recursive: true, force: true }); } catch {}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
// ─── Mock Adapters ────────────────────────────────────
|
|
25
|
+
|
|
26
|
+
class MockExecutor implements AgentAdapter {
|
|
27
|
+
name = "codex";
|
|
28
|
+
role = "developer" as const;
|
|
29
|
+
capabilities = ["coding"];
|
|
30
|
+
async detect() { return true; }
|
|
31
|
+
async health() { return true; }
|
|
32
|
+
async execute(task: Task, instruction?: string): Promise<AgentResult> {
|
|
33
|
+
await this.sleep(100);
|
|
34
|
+
return { success: true, output: `[MockExecutor] Completed: "${instruction || task.instruction}"` };
|
|
35
|
+
}
|
|
36
|
+
private sleep(ms: number) { return new Promise(r => setTimeout(r, ms)); }
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
class MockReviewer implements AgentAdapter {
|
|
40
|
+
name = "claude";
|
|
41
|
+
role = "reviewer" as const;
|
|
42
|
+
capabilities = ["review"];
|
|
43
|
+
private failCount: number;
|
|
44
|
+
private callCount = 0;
|
|
45
|
+
constructor(opts?: { failCount?: number }) { this.failCount = opts?.failCount ?? 0; }
|
|
46
|
+
async detect() { return true; }
|
|
47
|
+
async health() { return true; }
|
|
48
|
+
async execute(): Promise<AgentResult> { return { success: true, output: "" }; }
|
|
49
|
+
async review(task: Task): Promise<ReviewResult> {
|
|
50
|
+
await this.sleep(50);
|
|
51
|
+
this.callCount++;
|
|
52
|
+
if (this.callCount <= this.failCount) {
|
|
53
|
+
return { decision: "FAIL", score: 40, issues: ["Mock issue: needs improvement"] };
|
|
54
|
+
}
|
|
55
|
+
return { decision: "PASS", score: 90, issues: [] };
|
|
56
|
+
}
|
|
57
|
+
getCallCount() { return this.callCount; }
|
|
58
|
+
reset() { this.callCount = 0; }
|
|
59
|
+
private sleep(ms: number) { return new Promise(r => setTimeout(r, ms)); }
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
class MockPlanner implements AgentAdapter {
|
|
63
|
+
name = "planner";
|
|
64
|
+
role = "planner" as const;
|
|
65
|
+
capabilities = ["planning"];
|
|
66
|
+
async detect() { return true; }
|
|
67
|
+
async health() { return true; }
|
|
68
|
+
async execute(task: Task): Promise<AgentResult> {
|
|
69
|
+
await this.sleep(50);
|
|
70
|
+
return { success: true, output: `[MockPlanner] Plan: "${task.instruction}" → 3 steps` };
|
|
71
|
+
}
|
|
72
|
+
private sleep(ms: number) { return new Promise(r => setTimeout(r, ms)); }
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
// ─── Test Functions ────────────────────────────────────
|
|
76
|
+
|
|
77
|
+
function test1_AgentGraphBasics(): boolean {
|
|
78
|
+
console.log("\n [Test 1] AgentGraph Basics");
|
|
79
|
+
console.log(" ────────────────────────────────────");
|
|
80
|
+
|
|
81
|
+
const graph = new AgentGraph("/tmp/test-graph-1");
|
|
82
|
+
let pass = true;
|
|
83
|
+
|
|
84
|
+
// Add agents
|
|
85
|
+
graph.addAgent({ id: "executor", runtimeId: "codex", role: "executor", maxConcurrency: 1, status: "idle" });
|
|
86
|
+
graph.addAgent({ id: "reviewer", runtimeId: "claude", role: "reviewer", maxConcurrency: 1, status: "idle" });
|
|
87
|
+
graph.addAgent({ id: "planner", runtimeId: "planner", role: "planner", maxConcurrency: 1, status: "idle" });
|
|
88
|
+
|
|
89
|
+
if (graph.allAgents().length !== 3) { console.log(" ✗ Agent count wrong"); pass = false; }
|
|
90
|
+
else console.log(" ✓ 3 agents added");
|
|
91
|
+
|
|
92
|
+
// Add edges
|
|
93
|
+
graph.addEdge({ from: "planner", to: "executor", relation: "delegates", weight: 10 });
|
|
94
|
+
graph.addEdge({ from: "executor", to: "reviewer", relation: "reviews", weight: 10 });
|
|
95
|
+
graph.addEdge({ from: "reviewer", to: "executor", relation: "escalates", weight: 5 });
|
|
96
|
+
|
|
97
|
+
if (graph.allEdges().length !== 3) { console.log(" ✗ Edge count wrong"); pass = false; }
|
|
98
|
+
else console.log(" ✓ 3 edges added");
|
|
99
|
+
|
|
100
|
+
// Test findReviewer
|
|
101
|
+
const reviewer = graph.findReviewer("executor");
|
|
102
|
+
if (reviewer !== "reviewer") { console.log(` ✗ findReviewer returned: ${reviewer}`); pass = false; }
|
|
103
|
+
else console.log(" ✓ findReviewer works");
|
|
104
|
+
|
|
105
|
+
// Test findEscalationTarget
|
|
106
|
+
const escTarget = graph.findEscalationTarget("reviewer");
|
|
107
|
+
if (escTarget !== "executor") { console.log(` ✗ findEscalationTarget returned: ${escTarget}`); pass = false; }
|
|
108
|
+
else console.log(" ✓ findEscalationTarget works");
|
|
109
|
+
|
|
110
|
+
// Test findPath
|
|
111
|
+
const path = graph.findPath("planner", "reviewer");
|
|
112
|
+
if (!path || path.length !== 3) { console.log(` ✗ findPath returned: ${JSON.stringify(path)}`); pass = false; }
|
|
113
|
+
else console.log(" ✓ findPath works (planner → executor → reviewer)");
|
|
114
|
+
|
|
115
|
+
// Test getNextAgents
|
|
116
|
+
const next = graph.getNextAgents("executor", "reviews");
|
|
117
|
+
if (next.length !== 1 || next[0].to !== "reviewer") { console.log(" ✗ getNextAgents failed"); pass = false; }
|
|
118
|
+
else console.log(" ✓ getNextAgents works");
|
|
119
|
+
|
|
120
|
+
// Test toString
|
|
121
|
+
const str = graph.toString();
|
|
122
|
+
if (!str.includes("Agent Graph:") || !str.includes("executor")) { console.log(" ✗ toString failed"); pass = false; }
|
|
123
|
+
else console.log(" ✓ toString works");
|
|
124
|
+
|
|
125
|
+
console.log(`\n Test 1: ${pass ? "PASS ✓" : "FAIL ✗"}`);
|
|
126
|
+
return pass;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
function test2_GraphValidator(): boolean {
|
|
130
|
+
console.log("\n [Test 2] GraphValidator");
|
|
131
|
+
console.log(" ────────────────────────────────────");
|
|
132
|
+
|
|
133
|
+
const graph = new AgentGraph("/tmp/test-graph-validator-" + Date.now());
|
|
134
|
+
const validator = new GraphValidator();
|
|
135
|
+
let pass = true;
|
|
136
|
+
|
|
137
|
+
// Build a graph with a cycle
|
|
138
|
+
graph.addAgent({ id: "a", runtimeId: "a", role: "executor", maxConcurrency: 1, status: "idle" });
|
|
139
|
+
graph.addAgent({ id: "b", runtimeId: "b", role: "executor", maxConcurrency: 1, status: "idle" });
|
|
140
|
+
graph.addAgent({ id: "c", runtimeId: "c", role: "reviewer", maxConcurrency: 1, status: "idle" });
|
|
141
|
+
graph.addAgent({ id: "isolated", runtimeId: "iso", role: "executor", maxConcurrency: 1, status: "idle" });
|
|
142
|
+
|
|
143
|
+
graph.addEdge({ from: "a", to: "b", relation: "delegates", weight: 10 });
|
|
144
|
+
graph.addEdge({ from: "b", to: "c", relation: "reviews", weight: 10 });
|
|
145
|
+
graph.addEdge({ from: "c", to: "a", relation: "escalates", weight: 5 });
|
|
146
|
+
|
|
147
|
+
// Cycle detection
|
|
148
|
+
const cycles = validator.detectCycles(graph);
|
|
149
|
+
if (cycles.length === 0) { console.log(" ✗ Cycle not detected"); pass = false; }
|
|
150
|
+
else console.log(` ✓ Cycle detected: ${cycles.length} cycle(s)`);
|
|
151
|
+
|
|
152
|
+
// Review loop detection: needs reviews + escalates between same pair
|
|
153
|
+
// b→c (reviews) and c→b (escalates) = review loop
|
|
154
|
+
const graph2 = new AgentGraph("/tmp/test-graph-reviewloop-" + Date.now());
|
|
155
|
+
graph2.addAgent({ id: "executor", runtimeId: "ex", role: "executor", maxConcurrency: 1, status: "idle" });
|
|
156
|
+
graph2.addAgent({ id: "reviewer", runtimeId: "rv", role: "reviewer", maxConcurrency: 1, status: "idle" });
|
|
157
|
+
graph2.addEdge({ from: "executor", to: "reviewer", relation: "reviews", weight: 10 });
|
|
158
|
+
graph2.addEdge({ from: "reviewer", to: "executor", relation: "escalates", weight: 5 });
|
|
159
|
+
|
|
160
|
+
const loops = validator.detectReviewLoops(graph2);
|
|
161
|
+
if (loops.length !== 1) { console.log(` ✗ Review loop not detected (got ${loops.length})`); pass = false; }
|
|
162
|
+
else console.log(` ✓ Review loop detected: ${loops.length} loop(s)`);
|
|
163
|
+
|
|
164
|
+
// Isolation detection
|
|
165
|
+
const isolated = validator.findIsolatedAgents(graph);
|
|
166
|
+
if (isolated.length !== 1 || isolated[0] !== "isolated") {
|
|
167
|
+
console.log(` ✗ Isolated agents: ${JSON.stringify(isolated)}`);
|
|
168
|
+
pass = false;
|
|
169
|
+
} else console.log(" ✓ Isolated agent detected");
|
|
170
|
+
|
|
171
|
+
// Full validation
|
|
172
|
+
const report = validator.validate(graph);
|
|
173
|
+
if (report.cycles.length === 0 || report.isolatedAgents.length === 0) {
|
|
174
|
+
console.log(" ✗ Full validation report incomplete");
|
|
175
|
+
pass = false;
|
|
176
|
+
} else console.log(" ✓ Full validation report generated");
|
|
177
|
+
|
|
178
|
+
console.log(`\n Test 2: ${pass ? "PASS ✓" : "FAIL ✗"}`);
|
|
179
|
+
return pass;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
function test3_TopologyTemplates(): boolean {
|
|
183
|
+
console.log("\n [Test 3] TopologyTemplates");
|
|
184
|
+
console.log(" ────────────────────────────────────");
|
|
185
|
+
|
|
186
|
+
let pass = true;
|
|
187
|
+
|
|
188
|
+
// Simple chain
|
|
189
|
+
const chain = TopologyTemplates.simpleChain("codex", "claude");
|
|
190
|
+
if (chain.agents.length !== 2 || chain.edges.length !== 2) {
|
|
191
|
+
console.log(" ✗ simpleChain wrong dimensions");
|
|
192
|
+
pass = false;
|
|
193
|
+
} else console.log(" ✓ simpleChain: 2 agents, 2 edges");
|
|
194
|
+
|
|
195
|
+
// Plan-Execute-Review
|
|
196
|
+
const per = TopologyTemplates.planExecuteReview("planner", "codex", "claude");
|
|
197
|
+
if (per.agents.length !== 3 || per.edges.length !== 4) {
|
|
198
|
+
console.log(" ✗ planExecuteReview wrong dimensions");
|
|
199
|
+
pass = false;
|
|
200
|
+
} else console.log(" ✓ planExecuteReview: 3 agents, 4 edges");
|
|
201
|
+
|
|
202
|
+
// Pipeline
|
|
203
|
+
const pipe = TopologyTemplates.pipeline(["codex", "claude", "codex"]);
|
|
204
|
+
if (pipe.agents.length !== 3 || pipe.edges.length !== 2) {
|
|
205
|
+
console.log(" ✗ pipeline wrong dimensions");
|
|
206
|
+
pass = false;
|
|
207
|
+
} else console.log(" ✓ pipeline: 3 stages, 2 edges");
|
|
208
|
+
|
|
209
|
+
// Fan-out
|
|
210
|
+
const fan = TopologyTemplates.fanOutReview("codex", ["claude", "codex", "claude"]);
|
|
211
|
+
if (fan.agents.length !== 4 || fan.edges.length !== 3) {
|
|
212
|
+
console.log(" ✗ fanOutReview wrong dimensions");
|
|
213
|
+
pass = false;
|
|
214
|
+
} else console.log(" ✓ fanOutReview: 4 agents, 3 edges");
|
|
215
|
+
|
|
216
|
+
// Peer review
|
|
217
|
+
const peer = TopologyTemplates.peerReview("codex", "claude");
|
|
218
|
+
if (peer.agents.length !== 2 || peer.edges.length !== 4) {
|
|
219
|
+
console.log(" ✗ peerReview wrong dimensions");
|
|
220
|
+
pass = false;
|
|
221
|
+
} else console.log(" ✓ peerReview: 2 agents, 4 edges");
|
|
222
|
+
|
|
223
|
+
// Apply template to graph
|
|
224
|
+
const graph = new AgentGraph("/tmp/test-graph-3");
|
|
225
|
+
TopologyTemplates.apply(graph, chain);
|
|
226
|
+
if (graph.allAgents().length !== 2) {
|
|
227
|
+
console.log(" ✗ apply template failed");
|
|
228
|
+
pass = false;
|
|
229
|
+
} else console.log(" ✓ Template applied to graph");
|
|
230
|
+
|
|
231
|
+
console.log(`\n Test 3: ${pass ? "PASS ✓" : "FAIL ✗"}`);
|
|
232
|
+
return pass;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
function test4_MessageRouter(): boolean {
|
|
236
|
+
console.log("\n [Test 4] MessageRouter");
|
|
237
|
+
console.log(" ────────────────────────────────────");
|
|
238
|
+
|
|
239
|
+
const graph = new AgentGraph("/tmp/test-graph-4");
|
|
240
|
+
const router = new MessageRouter(graph);
|
|
241
|
+
let pass = true;
|
|
242
|
+
|
|
243
|
+
graph.addAgent({ id: "executor", runtimeId: "codex", role: "executor", maxConcurrency: 1, status: "idle" });
|
|
244
|
+
graph.addAgent({ id: "reviewer", runtimeId: "claude", role: "reviewer", maxConcurrency: 1, status: "idle" });
|
|
245
|
+
graph.addEdge({ from: "executor", to: "reviewer", relation: "reviews", weight: 10 });
|
|
246
|
+
|
|
247
|
+
// Direct resolution
|
|
248
|
+
const direct = router.resolve("executor");
|
|
249
|
+
if (direct !== "executor") { console.log(" ✗ Direct resolution failed"); pass = false; }
|
|
250
|
+
else console.log(" ✓ Direct agent id resolution");
|
|
251
|
+
|
|
252
|
+
// Role resolution
|
|
253
|
+
const roleResolved = router.resolve("role:reviewer");
|
|
254
|
+
if (roleResolved !== "reviewer") { console.log(` ✗ Role resolution: ${roleResolved}`); pass = false; }
|
|
255
|
+
else console.log(" ✓ Role tag resolution");
|
|
256
|
+
|
|
257
|
+
// findReviewer
|
|
258
|
+
const reviewer = router.findReviewer("executor");
|
|
259
|
+
if (reviewer !== "reviewer") { console.log(` ✗ findReviewer: ${reviewer}`); pass = false; }
|
|
260
|
+
else console.log(" ✓ findReviewer via graph");
|
|
261
|
+
|
|
262
|
+
// validateRoute
|
|
263
|
+
const errors = router.validateRoute("executor", "reviewer");
|
|
264
|
+
if (errors.length !== 0) { console.log(` ✗ validateRoute errors: ${errors}`); pass = false; }
|
|
265
|
+
else console.log(" ✓ validateRoute passes");
|
|
266
|
+
|
|
267
|
+
const badErrors = router.validateRoute("nonexistent", "reviewer");
|
|
268
|
+
if (badErrors.length === 0) { console.log(" ✗ validateRoute should fail for nonexistent"); pass = false; }
|
|
269
|
+
else console.log(" ✓ validateRoute catches missing agent");
|
|
270
|
+
|
|
271
|
+
console.log(`\n Test 4: ${pass ? "PASS ✓" : "FAIL ✗"}`);
|
|
272
|
+
return pass;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
function test5_V1Migration(): boolean {
|
|
276
|
+
console.log("\n [Test 5] V1.1 → V2.0 Migration");
|
|
277
|
+
console.log(" ────────────────────────────────────");
|
|
278
|
+
|
|
279
|
+
const graph = new AgentGraph("/tmp/test-graph-5");
|
|
280
|
+
let pass = true;
|
|
281
|
+
|
|
282
|
+
// Simulate v1.1 reportsTo map
|
|
283
|
+
const reportsToMap = new Map<string, string>();
|
|
284
|
+
reportsToMap.set("codex", "claude");
|
|
285
|
+
|
|
286
|
+
graph.migrateFromV1(reportsToMap);
|
|
287
|
+
|
|
288
|
+
if (graph.allAgents().length !== 2) {
|
|
289
|
+
console.log(` ✗ Migration agent count: ${graph.allAgents().length}`);
|
|
290
|
+
pass = false;
|
|
291
|
+
} else console.log(" ✓ 2 agents migrated");
|
|
292
|
+
|
|
293
|
+
// Should have reviews edge and escalation edge
|
|
294
|
+
if (graph.allEdges().length !== 2) {
|
|
295
|
+
console.log(` ✗ Migration edge count: ${graph.allEdges().length}`);
|
|
296
|
+
pass = false;
|
|
297
|
+
} else console.log(" ✓ 2 edges created (reviews + escalates)");
|
|
298
|
+
|
|
299
|
+
// Verify edge directions
|
|
300
|
+
const reviewEdges = graph.getEdgesByRelation("reviews");
|
|
301
|
+
if (reviewEdges.length !== 1 || reviewEdges[0].from !== "codex" || reviewEdges[0].to !== "claude") {
|
|
302
|
+
console.log(" ✗ Review edge wrong");
|
|
303
|
+
pass = false;
|
|
304
|
+
} else console.log(" ✓ Review edge: codex → claude");
|
|
305
|
+
|
|
306
|
+
console.log(`\n Test 5: ${pass ? "PASS ✓" : "FAIL ✗"}`);
|
|
307
|
+
return pass;
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
async function test6_BrokerGraphMode(): Promise<boolean> {
|
|
311
|
+
console.log("\n [Test 6] Broker Graph Mode Task Processing");
|
|
312
|
+
console.log(" ────────────────────────────────────");
|
|
313
|
+
|
|
314
|
+
// Clean state
|
|
315
|
+
cleanupBrokerState();
|
|
316
|
+
|
|
317
|
+
const broker = new Broker();
|
|
318
|
+
let pass = true;
|
|
319
|
+
|
|
320
|
+
// Register mock adapters
|
|
321
|
+
await broker.registerAdapter(new MockExecutor());
|
|
322
|
+
await broker.registerAdapter(new MockReviewer());
|
|
323
|
+
|
|
324
|
+
// Set up graph
|
|
325
|
+
broker.addAgentProfile({ id: "codex", runtimeId: "codex", role: "executor", maxConcurrency: 1, status: "idle" });
|
|
326
|
+
broker.addAgentProfile({ id: "claude", runtimeId: "claude", role: "reviewer", maxConcurrency: 1, status: "idle" });
|
|
327
|
+
broker.addGraphEdge("codex", "claude", "reviews", 10);
|
|
328
|
+
broker.enableGraphMode();
|
|
329
|
+
|
|
330
|
+
if (!broker.isGraphMode()) { console.log(" ✗ Graph mode not enabled"); pass = false; }
|
|
331
|
+
else console.log(" ✓ Graph mode enabled");
|
|
332
|
+
|
|
333
|
+
// Submit and run a task
|
|
334
|
+
broker.submit({
|
|
335
|
+
instruction: "Create a hello world function",
|
|
336
|
+
executor: "codex",
|
|
337
|
+
reviewer: "claude",
|
|
338
|
+
});
|
|
339
|
+
|
|
340
|
+
await broker.run();
|
|
341
|
+
|
|
342
|
+
const tasks = broker.listTasks();
|
|
343
|
+
if (tasks.length !== 1) { console.log(` ✗ Task count: ${tasks.length} (expected 1)`); pass = false; }
|
|
344
|
+
else if (tasks[0].status !== "COMPLETED") { console.log(` ✗ Task status: ${tasks[0].status}`); pass = false; }
|
|
345
|
+
else console.log(" ✓ Task completed via graph mode");
|
|
346
|
+
|
|
347
|
+
// Verify conversation was created
|
|
348
|
+
const convs = broker.getConversations().all();
|
|
349
|
+
if (convs.length === 0) { console.log(" ✗ No conversation created"); pass = false; }
|
|
350
|
+
else console.log(` ✓ Conversation created: ${convs[0].id}`);
|
|
351
|
+
|
|
352
|
+
// Verify safety status
|
|
353
|
+
const safety = broker.getSafetyStatus();
|
|
354
|
+
if (!safety.circuitBreaker) { console.log(" ✗ Safety status missing"); pass = false; }
|
|
355
|
+
else console.log(" ✓ Safety status available");
|
|
356
|
+
|
|
357
|
+
console.log(`\n Test 6: ${pass ? "PASS ✓" : "FAIL ✗"}`);
|
|
358
|
+
return pass;
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
async function test7_BrokerV11Compat(): Promise<boolean> {
|
|
362
|
+
console.log("\n [Test 7] Broker V1.1 Backward Compatibility");
|
|
363
|
+
console.log(" ────────────────────────────────────");
|
|
364
|
+
|
|
365
|
+
// Clean state
|
|
366
|
+
cleanupBrokerState();
|
|
367
|
+
|
|
368
|
+
const broker = new Broker();
|
|
369
|
+
let pass = true;
|
|
370
|
+
|
|
371
|
+
// Register mock adapters (v1.1 style)
|
|
372
|
+
await broker.registerAdapter(new MockExecutor());
|
|
373
|
+
await broker.registerAdapter(new MockReviewer());
|
|
374
|
+
|
|
375
|
+
// Link via v1.1 style
|
|
376
|
+
broker.registry.link("codex", "claude");
|
|
377
|
+
|
|
378
|
+
// Should NOT be in graph mode
|
|
379
|
+
if (broker.isGraphMode()) { console.log(" ✗ Should not be in graph mode yet"); pass = false; }
|
|
380
|
+
else console.log(" ✓ Not in graph mode (v1.1 compat)");
|
|
381
|
+
|
|
382
|
+
// Submit and run v1.1 style
|
|
383
|
+
broker.submit({
|
|
384
|
+
instruction: "Create a utility function",
|
|
385
|
+
executor: "codex",
|
|
386
|
+
reviewer: "claude",
|
|
387
|
+
});
|
|
388
|
+
|
|
389
|
+
await broker.run();
|
|
390
|
+
|
|
391
|
+
const tasks = broker.listTasks();
|
|
392
|
+
if (tasks.length !== 1) { console.log(` ✗ Task count: ${tasks.length}`); pass = false; }
|
|
393
|
+
else if (tasks[0].status !== "COMPLETED") { console.log(` ✗ Task status: ${tasks[0].status}`); pass = false; }
|
|
394
|
+
else console.log(" ✓ Task completed via v1.1 path");
|
|
395
|
+
|
|
396
|
+
console.log(`\n Test 7: ${pass ? "PASS ✓" : "FAIL ✗"}`);
|
|
397
|
+
return pass;
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
async function test8_BrokerAutoMigration(): Promise<boolean> {
|
|
401
|
+
console.log("\n [Test 8] Broker Auto-Migration (reportsTo → graph)");
|
|
402
|
+
console.log(" ────────────────────────────────────");
|
|
403
|
+
|
|
404
|
+
const broker = new Broker();
|
|
405
|
+
let pass = true;
|
|
406
|
+
|
|
407
|
+
// Register and link v1.1 style
|
|
408
|
+
await broker.registerAdapter(new MockExecutor());
|
|
409
|
+
await broker.registerAdapter(new MockReviewer());
|
|
410
|
+
broker.registry.link("codex", "claude");
|
|
411
|
+
|
|
412
|
+
// Auto-migrate: Broker should detect reportsTo and build graph
|
|
413
|
+
broker.migrateFromRegistry();
|
|
414
|
+
|
|
415
|
+
// Now graph should have agents and edges
|
|
416
|
+
const agents = broker.getGraph().allAgents();
|
|
417
|
+
const edges = broker.getGraph().allEdges();
|
|
418
|
+
|
|
419
|
+
if (agents.length < 2) {
|
|
420
|
+
console.log(` ✗ After migration, agents: ${agents.length}`);
|
|
421
|
+
pass = false;
|
|
422
|
+
} else console.log(` ✓ ${agents.length} agents in graph after migration`);
|
|
423
|
+
|
|
424
|
+
if (edges.length < 1) {
|
|
425
|
+
console.log(` ✗ After migration, edges: ${edges.length}`);
|
|
426
|
+
pass = false;
|
|
427
|
+
} else console.log(` ✓ ${edges.length} edges in graph after migration`);
|
|
428
|
+
|
|
429
|
+
if (broker.isGraphMode()) {
|
|
430
|
+
console.log(" ✓ Graph mode auto-enabled after migration");
|
|
431
|
+
} else {
|
|
432
|
+
console.log(" ⚠ Graph mode not auto-enabled (acceptable)");
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
console.log(`\n Test 8: ${pass ? "PASS ✓" : "FAIL ✗"}`);
|
|
436
|
+
return pass;
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
// ─── Main ──────────────────────────────────────────────
|
|
440
|
+
|
|
441
|
+
async function main() {
|
|
442
|
+
console.log("═══════════════════════════════════════════");
|
|
443
|
+
console.log(" Test Suite: Graph Workflow (Phase 2)");
|
|
444
|
+
console.log("═══════════════════════════════════════════");
|
|
445
|
+
|
|
446
|
+
const results: boolean[] = [];
|
|
447
|
+
results.push(test1_AgentGraphBasics());
|
|
448
|
+
results.push(test2_GraphValidator());
|
|
449
|
+
results.push(test3_TopologyTemplates());
|
|
450
|
+
results.push(test4_MessageRouter());
|
|
451
|
+
results.push(test5_V1Migration());
|
|
452
|
+
results.push(await test6_BrokerGraphMode());
|
|
453
|
+
results.push(await test7_BrokerV11Compat());
|
|
454
|
+
results.push(await test8_BrokerAutoMigration());
|
|
455
|
+
|
|
456
|
+
const passed = results.filter(Boolean).length;
|
|
457
|
+
const total = results.length;
|
|
458
|
+
|
|
459
|
+
console.log("\n═══════════════════════════════════════════");
|
|
460
|
+
console.log(` Results: ${passed}/${total} passed`);
|
|
461
|
+
console.log("═══════════════════════════════════════════\n");
|
|
462
|
+
|
|
463
|
+
if (passed < total) process.exit(1);
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
main().catch(err => { console.error("Fatal:", err); process.exit(1); });
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import { TaskTimeline } from "../observability/TaskTimeline";
|
|
2
|
+
import { ConversationTrace } from "../observability/ConversationTrace";
|
|
3
|
+
import { RuntimeMetrics } from "../observability/RuntimeMetrics";
|
|
4
|
+
import { DecisionRecorder } from "../observability/DecisionRecorder";
|
|
5
|
+
import * as fs from "fs";
|
|
6
|
+
|
|
7
|
+
let passed = 0;
|
|
8
|
+
let failed = 0;
|
|
9
|
+
|
|
10
|
+
function assert(condition: boolean, msg: string) {
|
|
11
|
+
if (condition) { console.log(` ✓ ${msg}`); passed++; }
|
|
12
|
+
else { console.log(` ✗ ${msg}`); failed++; }
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
function sleep(ms: number): Promise<void> { return new Promise(r => setTimeout(r, ms)); }
|
|
16
|
+
|
|
17
|
+
async function main() {
|
|
18
|
+
try { fs.rmSync(".agent-hive", { recursive: true, force: true }); } catch {}
|
|
19
|
+
fs.mkdirSync(".agent-hive", { recursive: true });
|
|
20
|
+
|
|
21
|
+
console.log("═══════════════════════════════════════════");
|
|
22
|
+
console.log(" Test Suite: Observability (v2.1.6)");
|
|
23
|
+
console.log("═══════════════════════════════════════════\n");
|
|
24
|
+
|
|
25
|
+
// Test 1: TaskTimeline
|
|
26
|
+
console.log(" [Test 1] TaskTimeline");
|
|
27
|
+
console.log(" ────────────────────────────────────");
|
|
28
|
+
{
|
|
29
|
+
const tl = new TaskTimeline();
|
|
30
|
+
tl.start("task-001");
|
|
31
|
+
await sleep(5);
|
|
32
|
+
tl.event("task-001", "routed", { executor: "codex" });
|
|
33
|
+
await sleep(5);
|
|
34
|
+
tl.event("task-001", "runtime-selected", { runtime: "codex" });
|
|
35
|
+
await sleep(5);
|
|
36
|
+
tl.event("task-001", "execute-start", {});
|
|
37
|
+
await sleep(5);
|
|
38
|
+
tl.event("task-001", "execute-done", { success: true });
|
|
39
|
+
await sleep(5);
|
|
40
|
+
tl.event("task-001", "review", { score: 88, decision: "PASS" });
|
|
41
|
+
await sleep(5);
|
|
42
|
+
tl.complete("task-001", "COMPLETED");
|
|
43
|
+
|
|
44
|
+
const t = tl.get("task-001");
|
|
45
|
+
assert(t !== undefined, "Trace exists");
|
|
46
|
+
assert(t!.status === "COMPLETED", "Status: COMPLETED");
|
|
47
|
+
assert(t!.events.length >= 7, "Events: " + t!.events.length);
|
|
48
|
+
assert(t!.durationMs! > 0, "Duration: " + t!.durationMs + "ms");
|
|
49
|
+
|
|
50
|
+
const fmt = tl.format("task-001");
|
|
51
|
+
assert(fmt.includes("task-001"), "Format has task ID");
|
|
52
|
+
assert(fmt.includes("COMPLETED"), "Format has status");
|
|
53
|
+
assert(fs.existsSync(".agent-hive/traces/task-task-001.json"), "Trace file persisted");
|
|
54
|
+
console.log(" Test 1: PASS ✓\n");
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
// Test 2: ConversationTrace
|
|
58
|
+
console.log(" [Test 2] ConversationTrace");
|
|
59
|
+
console.log(" ────────────────────────────────────");
|
|
60
|
+
{
|
|
61
|
+
const ct = new ConversationTrace();
|
|
62
|
+
ct.start("conv-001", "task-002");
|
|
63
|
+
await sleep(5);
|
|
64
|
+
ct.record("conv-001", { from: "broker", to: "planner", type: "TASK", payload: "Design API", timestamp: Date.now() });
|
|
65
|
+
await sleep(5);
|
|
66
|
+
ct.record("conv-001", { from: "planner", to: "executor", type: "DELEGATE", payload: "Build /users", timestamp: Date.now() });
|
|
67
|
+
await sleep(5);
|
|
68
|
+
ct.record("conv-001", { from: "executor", to: "reviewer", type: "RESULT", payload: "Code done", timestamp: Date.now() });
|
|
69
|
+
await sleep(5);
|
|
70
|
+
ct.record("conv-001", { from: "reviewer", to: "executor", type: "REVIEW", payload: "PASS score=90", timestamp: Date.now() });
|
|
71
|
+
|
|
72
|
+
const t = ct.get("conv-001");
|
|
73
|
+
assert(t !== undefined, "Conversation trace exists");
|
|
74
|
+
assert(t!.messages.length === 4, "Messages: " + t!.messages.length);
|
|
75
|
+
|
|
76
|
+
const byTask = ct.getByTaskId("task-002");
|
|
77
|
+
assert(byTask !== undefined, "Found by taskId");
|
|
78
|
+
|
|
79
|
+
const fmt = ct.format("conv-001");
|
|
80
|
+
assert(fmt.includes("planner → executor"), "Format shows flow");
|
|
81
|
+
assert(fs.existsSync(".agent-hive/traces/conversation-conv-001.json"), "Trace persisted");
|
|
82
|
+
console.log(" Test 2: PASS ✓\n");
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
// Test 3: RuntimeMetrics
|
|
86
|
+
console.log(" [Test 3] RuntimeMetrics");
|
|
87
|
+
console.log(" ────────────────────────────────────");
|
|
88
|
+
{
|
|
89
|
+
const m = new RuntimeMetrics();
|
|
90
|
+
m.record("claude", { success: true, latencyMs: 3000, reviewScore: 90 });
|
|
91
|
+
m.record("claude", { success: true, latencyMs: 5000, reviewScore: 85 });
|
|
92
|
+
m.record("claude", { success: false, latencyMs: 10000, reviewScore: 40 });
|
|
93
|
+
m.record("codex", { success: true, latencyMs: 2000, reviewScore: 88 });
|
|
94
|
+
m.record("hermes", { success: true, latencyMs: 1500, reviewScore: 75 });
|
|
95
|
+
|
|
96
|
+
const c = m.get("claude");
|
|
97
|
+
assert(c !== undefined, "Claude metrics exist");
|
|
98
|
+
assert(c!.taskCount === 3, "Task count: " + c!.taskCount);
|
|
99
|
+
assert(Math.abs(c!.successRate - 2/3) < 0.01, "Success rate: " + c!.successRate.toFixed(2));
|
|
100
|
+
assert(c!.avgLatency === 6000, "Avg latency: " + c!.avgLatency);
|
|
101
|
+
|
|
102
|
+
const fmt = m.format();
|
|
103
|
+
assert(fmt.includes("claude"), "Format includes claude");
|
|
104
|
+
assert(fmt.includes("codex"), "Format includes codex");
|
|
105
|
+
assert(fs.existsSync(".agent-hive/metrics/runtime.json"), "Metrics persisted");
|
|
106
|
+
console.log(" Test 3: PASS ✓\n");
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
// Test 4: DecisionRecorder
|
|
110
|
+
console.log(" [Test 4] DecisionRecorder");
|
|
111
|
+
console.log(" ────────────────────────────────────");
|
|
112
|
+
{
|
|
113
|
+
const dr = new DecisionRecorder();
|
|
114
|
+
dr.runtimeSelection("task-003", "codex", ["codex", "claude", "hermes"], "highest score for coding");
|
|
115
|
+
dr.escalation("task-003", "executor", "senior-executor", "maxRevisionReached");
|
|
116
|
+
dr.consensus("task-003", "majority", 1, 2, "FAIL");
|
|
117
|
+
|
|
118
|
+
const d = dr.get("task-003");
|
|
119
|
+
assert(d.length === 3, "Decisions: " + d.length);
|
|
120
|
+
|
|
121
|
+
const fmt = dr.format("task-003");
|
|
122
|
+
assert(fmt.includes("runtime-selection"), "Has runtime-selection");
|
|
123
|
+
assert(fmt.includes("escalation"), "Has escalation");
|
|
124
|
+
assert(fmt.includes("consensus"), "Has consensus");
|
|
125
|
+
assert(fmt.includes("majority"), "Has strategy");
|
|
126
|
+
assert(fs.existsSync(".agent-hive/traces/decisions-task-003.jsonl"), "Decisions persisted");
|
|
127
|
+
console.log(" Test 4: PASS ✓\n");
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
console.log("═══════════════════════════════════════════");
|
|
131
|
+
console.log(" Results: " + passed + " passed, " + failed + " failed");
|
|
132
|
+
console.log("═══════════════════════════════════════════");
|
|
133
|
+
|
|
134
|
+
if (failed > 0) process.exit(1);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
main().catch(err => { console.error("Fatal:", err); process.exit(1); });
|