pulseed 0.4.3 → 0.4.4
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/dist/adapters/types/a2a.d.ts +46 -46
- package/dist/base/llm/base-llm-client.js +1 -1
- package/dist/base/llm/base-llm-client.js.map +1 -1
- package/dist/base/llm/codex-llm-client.d.ts.map +1 -1
- package/dist/base/llm/codex-llm-client.js +8 -1
- package/dist/base/llm/codex-llm-client.js.map +1 -1
- package/dist/base/llm/provider-config.d.ts +1 -0
- package/dist/base/llm/provider-config.d.ts.map +1 -1
- package/dist/base/llm/provider-config.js +18 -0
- package/dist/base/llm/provider-config.js.map +1 -1
- package/dist/base/utils/json-io.d.ts +1 -1
- package/dist/base/utils/json-io.d.ts.map +1 -1
- package/dist/base/utils/json-io.js +3 -2
- package/dist/base/utils/json-io.js.map +1 -1
- package/dist/interface/cli/cli-command-registry.d.ts.map +1 -1
- package/dist/interface/cli/cli-command-registry.js +5 -2
- package/dist/interface/cli/cli-command-registry.js.map +1 -1
- package/dist/interface/cli/cli-runner.js +0 -0
- package/dist/interface/cli/commands/daemon.d.ts +1 -0
- package/dist/interface/cli/commands/daemon.d.ts.map +1 -1
- package/dist/interface/cli/commands/daemon.js +278 -46
- package/dist/interface/cli/commands/daemon.js.map +1 -1
- package/dist/interface/cli/commands/doctor.d.ts +1 -1
- package/dist/interface/cli/commands/doctor.d.ts.map +1 -1
- package/dist/interface/cli/commands/doctor.js +190 -29
- package/dist/interface/cli/commands/doctor.js.map +1 -1
- package/dist/interface/cli/commands/install.d.ts.map +1 -1
- package/dist/interface/cli/commands/install.js +2 -5
- package/dist/interface/cli/commands/install.js.map +1 -1
- package/dist/interface/cli/commands/setup/steps-runtime.d.ts.map +1 -1
- package/dist/interface/cli/commands/setup/steps-runtime.js +6 -12
- package/dist/interface/cli/commands/setup/steps-runtime.js.map +1 -1
- package/dist/interface/cli/setup.d.ts +2 -0
- package/dist/interface/cli/setup.d.ts.map +1 -1
- package/dist/interface/cli/setup.js +16 -1
- package/dist/interface/cli/setup.js.map +1 -1
- package/dist/interface/cli/utils.d.ts.map +1 -1
- package/dist/interface/cli/utils.js +1 -0
- package/dist/interface/cli/utils.js.map +1 -1
- package/dist/orchestrator/execution/task/task-executor.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-executor.js +6 -0
- package/dist/orchestrator/execution/task/task-executor.js.map +1 -1
- package/dist/orchestrator/execution/task/task-generation.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-generation.js +21 -3
- package/dist/orchestrator/execution/task/task-generation.js.map +1 -1
- package/dist/orchestrator/execution/task/task-lifecycle.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-lifecycle.js +49 -12
- package/dist/orchestrator/execution/task/task-lifecycle.js.map +1 -1
- package/dist/orchestrator/execution/task/task-outcome-ledger.d.ts +83 -0
- package/dist/orchestrator/execution/task/task-outcome-ledger.d.ts.map +1 -0
- package/dist/orchestrator/execution/task/task-outcome-ledger.js +247 -0
- package/dist/orchestrator/execution/task/task-outcome-ledger.js.map +1 -0
- package/dist/orchestrator/execution/task/task-prompt-builder.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-prompt-builder.js +79 -36
- package/dist/orchestrator/execution/task/task-prompt-builder.js.map +1 -1
- package/dist/orchestrator/execution/task/task-verifier-rules.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-verifier-rules.js +2 -0
- package/dist/orchestrator/execution/task/task-verifier-rules.js.map +1 -1
- package/dist/orchestrator/execution/task/task-verifier.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-verifier.js +63 -0
- package/dist/orchestrator/execution/task/task-verifier.js.map +1 -1
- package/dist/orchestrator/loop/core-loop/preparation.d.ts.map +1 -1
- package/dist/orchestrator/loop/core-loop/preparation.js +8 -3
- package/dist/orchestrator/loop/core-loop/preparation.js.map +1 -1
- package/dist/orchestrator/loop/core-loop/task-cycle.d.ts.map +1 -1
- package/dist/orchestrator/loop/core-loop/task-cycle.js +65 -37
- package/dist/orchestrator/loop/core-loop/task-cycle.js.map +1 -1
- package/dist/orchestrator/loop/core-loop.d.ts.map +1 -1
- package/dist/orchestrator/loop/core-loop.js +29 -7
- package/dist/orchestrator/loop/core-loop.js.map +1 -1
- package/dist/platform/dream/dream-types.d.ts +24 -24
- package/dist/platform/knowledge/transfer/knowledge-transfer.d.ts +1 -1
- package/dist/platform/knowledge/transfer/knowledge-transfer.d.ts.map +1 -1
- package/dist/platform/knowledge/transfer/knowledge-transfer.js +16 -2
- package/dist/platform/knowledge/transfer/knowledge-transfer.js.map +1 -1
- package/dist/platform/observation/workspace-context.d.ts +1 -0
- package/dist/platform/observation/workspace-context.d.ts.map +1 -1
- package/dist/platform/observation/workspace-context.js +22 -9
- package/dist/platform/observation/workspace-context.js.map +1 -1
- package/dist/platform/traits/types/curiosity.d.ts +12 -12
- package/dist/platform/traits/types/curiosity.js +1 -1
- package/dist/platform/traits/types/curiosity.js.map +1 -1
- package/dist/runtime/daemon/client.d.ts +14 -0
- package/dist/runtime/daemon/client.d.ts.map +1 -1
- package/dist/runtime/daemon/client.js +32 -5
- package/dist/runtime/daemon/client.js.map +1 -1
- package/dist/runtime/daemon/index.d.ts +1 -1
- package/dist/runtime/daemon/index.d.ts.map +1 -1
- package/dist/runtime/daemon/index.js +1 -1
- package/dist/runtime/daemon/index.js.map +1 -1
- package/dist/runtime/daemon/maintenance.d.ts +59 -1
- package/dist/runtime/daemon/maintenance.d.ts.map +1 -1
- package/dist/runtime/daemon/maintenance.js +111 -7
- package/dist/runtime/daemon/maintenance.js.map +1 -1
- package/dist/runtime/daemon/persistence.d.ts.map +1 -1
- package/dist/runtime/daemon/persistence.js +16 -3
- package/dist/runtime/daemon/persistence.js.map +1 -1
- package/dist/runtime/daemon/runner-lifecycle.d.ts.map +1 -1
- package/dist/runtime/daemon/runner-lifecycle.js +2 -1
- package/dist/runtime/daemon/runner-lifecycle.js.map +1 -1
- package/dist/runtime/daemon/runner.d.ts +57 -0
- package/dist/runtime/daemon/runner.d.ts.map +1 -1
- package/dist/runtime/daemon/runner.js +737 -14
- package/dist/runtime/daemon/runner.js.map +1 -1
- package/dist/runtime/daemon/runtime-ownership.d.ts +10 -0
- package/dist/runtime/daemon/runtime-ownership.d.ts.map +1 -1
- package/dist/runtime/daemon/runtime-ownership.js +139 -30
- package/dist/runtime/daemon/runtime-ownership.js.map +1 -1
- package/dist/runtime/executor/goal-worker.d.ts +7 -1
- package/dist/runtime/executor/goal-worker.d.ts.map +1 -1
- package/dist/runtime/executor/goal-worker.js +16 -1
- package/dist/runtime/executor/goal-worker.js.map +1 -1
- package/dist/runtime/executor/loop-supervisor.d.ts +2 -0
- package/dist/runtime/executor/loop-supervisor.d.ts.map +1 -1
- package/dist/runtime/executor/loop-supervisor.js +38 -5
- package/dist/runtime/executor/loop-supervisor.js.map +1 -1
- package/dist/runtime/pid-manager.d.ts +61 -11
- package/dist/runtime/pid-manager.d.ts.map +1 -1
- package/dist/runtime/pid-manager.js +362 -25
- package/dist/runtime/pid-manager.js.map +1 -1
- package/dist/runtime/schedule/engine-layers.d.ts.map +1 -1
- package/dist/runtime/schedule/engine-layers.js +21 -0
- package/dist/runtime/schedule/engine-layers.js.map +1 -1
- package/dist/runtime/schedule/engine.d.ts +14 -1
- package/dist/runtime/schedule/engine.d.ts.map +1 -1
- package/dist/runtime/schedule/engine.js +325 -74
- package/dist/runtime/schedule/engine.js.map +1 -1
- package/dist/runtime/schedule/history.d.ts +93 -0
- package/dist/runtime/schedule/history.d.ts.map +1 -0
- package/dist/runtime/schedule/history.js +69 -0
- package/dist/runtime/schedule/history.js.map +1 -0
- package/dist/runtime/schedule/index.d.ts +1 -0
- package/dist/runtime/schedule/index.d.ts.map +1 -1
- package/dist/runtime/schedule/index.js +1 -0
- package/dist/runtime/schedule/index.js.map +1 -1
- package/dist/runtime/store/approval-store.d.ts +7 -0
- package/dist/runtime/store/approval-store.d.ts.map +1 -1
- package/dist/runtime/store/approval-store.js +45 -1
- package/dist/runtime/store/approval-store.js.map +1 -1
- package/dist/runtime/store/health-store.d.ts +1 -0
- package/dist/runtime/store/health-store.d.ts.map +1 -1
- package/dist/runtime/store/health-store.js +121 -1
- package/dist/runtime/store/health-store.js.map +1 -1
- package/dist/runtime/store/index.d.ts +2 -2
- package/dist/runtime/store/index.d.ts.map +1 -1
- package/dist/runtime/store/index.js +1 -1
- package/dist/runtime/store/index.js.map +1 -1
- package/dist/runtime/store/outbox-store.d.ts +9 -0
- package/dist/runtime/store/outbox-store.d.ts.map +1 -1
- package/dist/runtime/store/outbox-store.js +24 -0
- package/dist/runtime/store/outbox-store.js.map +1 -1
- package/dist/runtime/store/runtime-schemas.d.ts +524 -0
- package/dist/runtime/store/runtime-schemas.d.ts.map +1 -1
- package/dist/runtime/store/runtime-schemas.js +76 -0
- package/dist/runtime/store/runtime-schemas.js.map +1 -1
- package/dist/runtime/types/cron.d.ts +4 -4
- package/dist/runtime/types/daemon.d.ts +90 -5
- package/dist/runtime/types/daemon.d.ts.map +1 -1
- package/dist/runtime/types/daemon.js +24 -2
- package/dist/runtime/types/daemon.js.map +1 -1
- package/dist/runtime/types/schedule.d.ts +257 -12
- package/dist/runtime/types/schedule.d.ts.map +1 -1
- package/dist/runtime/types/schedule.js +24 -0
- package/dist/runtime/types/schedule.js.map +1 -1
- package/dist/runtime/watchdog.d.ts +7 -0
- package/dist/runtime/watchdog.d.ts.map +1 -1
- package/dist/runtime/watchdog.js +62 -10
- package/dist/runtime/watchdog.js.map +1 -1
- package/dist/tools/mutation/task-history-utils.d.ts.map +1 -1
- package/dist/tools/mutation/task-history-utils.js +2 -0
- package/dist/tools/mutation/task-history-utils.js.map +1 -1
- package/dist/tools/schedule/CreateScheduleTool/CreateScheduleTool.d.ts +40 -0
- package/dist/tools/schedule/CreateScheduleTool/CreateScheduleTool.d.ts.map +1 -1
- package/dist/tools/schedule/UpdateScheduleTool/UpdateScheduleTool.d.ts +14 -0
- package/dist/tools/schedule/UpdateScheduleTool/UpdateScheduleTool.d.ts.map +1 -1
- package/dist/tools/system/EnvTool/EnvTool.d.ts +4 -4
- package/package.json +2 -2
- package/dist/__tests__/core.test.d.ts +0 -2
- package/dist/__tests__/core.test.d.ts.map +0 -1
- package/dist/__tests__/core.test.js +0 -275
- package/dist/__tests__/core.test.js.map +0 -1
- package/dist/__tests__/index-exports.test.d.ts +0 -2
- package/dist/__tests__/index-exports.test.d.ts.map +0 -1
- package/dist/__tests__/index-exports.test.js +0 -21
- package/dist/__tests__/index-exports.test.js.map +0 -1
- package/dist/adapters/__tests__/a2a-adapter.test.d.ts +0 -2
- package/dist/adapters/__tests__/a2a-adapter.test.d.ts.map +0 -1
- package/dist/adapters/__tests__/a2a-adapter.test.js +0 -264
- package/dist/adapters/__tests__/a2a-adapter.test.js.map +0 -1
- package/dist/adapters/__tests__/a2a-client.test.d.ts +0 -2
- package/dist/adapters/__tests__/a2a-client.test.d.ts.map +0 -1
- package/dist/adapters/__tests__/a2a-client.test.js +0 -211
- package/dist/adapters/__tests__/a2a-client.test.js.map +0 -1
- package/dist/adapters/__tests__/agent-profile-loader.test.d.ts +0 -2
- package/dist/adapters/__tests__/agent-profile-loader.test.d.ts.map +0 -1
- package/dist/adapters/__tests__/agent-profile-loader.test.js +0 -141
- package/dist/adapters/__tests__/agent-profile-loader.test.js.map +0 -1
- package/dist/adapters/__tests__/browser-use-cli-adapter.test.d.ts +0 -2
- package/dist/adapters/__tests__/browser-use-cli-adapter.test.d.ts.map +0 -1
- package/dist/adapters/__tests__/browser-use-cli-adapter.test.js +0 -226
- package/dist/adapters/__tests__/browser-use-cli-adapter.test.js.map +0 -1
- package/dist/adapters/__tests__/claude-code-cli-adapter.test.d.ts +0 -2
- package/dist/adapters/__tests__/claude-code-cli-adapter.test.d.ts.map +0 -1
- package/dist/adapters/__tests__/claude-code-cli-adapter.test.js +0 -215
- package/dist/adapters/__tests__/claude-code-cli-adapter.test.js.map +0 -1
- package/dist/adapters/__tests__/file-existence-datasource.test.d.ts +0 -2
- package/dist/adapters/__tests__/file-existence-datasource.test.d.ts.map +0 -1
- package/dist/adapters/__tests__/file-existence-datasource.test.js +0 -119
- package/dist/adapters/__tests__/file-existence-datasource.test.js.map +0 -1
- package/dist/adapters/__tests__/github-issue-adapter.test.d.ts +0 -2
- package/dist/adapters/__tests__/github-issue-adapter.test.d.ts.map +0 -1
- package/dist/adapters/__tests__/github-issue-adapter.test.js +0 -584
- package/dist/adapters/__tests__/github-issue-adapter.test.js.map +0 -1
- package/dist/adapters/__tests__/github-issue-datasource.test.d.ts +0 -2
- package/dist/adapters/__tests__/github-issue-datasource.test.d.ts.map +0 -1
- package/dist/adapters/__tests__/github-issue-datasource.test.js +0 -318
- package/dist/adapters/__tests__/github-issue-datasource.test.js.map +0 -1
- package/dist/adapters/__tests__/mcp-client-manager.test.d.ts +0 -2
- package/dist/adapters/__tests__/mcp-client-manager.test.d.ts.map +0 -1
- package/dist/adapters/__tests__/mcp-client-manager.test.js +0 -248
- package/dist/adapters/__tests__/mcp-client-manager.test.js.map +0 -1
- package/dist/adapters/__tests__/mcp-datasource.test.d.ts +0 -2
- package/dist/adapters/__tests__/mcp-datasource.test.d.ts.map +0 -1
- package/dist/adapters/__tests__/mcp-datasource.test.js +0 -187
- package/dist/adapters/__tests__/mcp-datasource.test.js.map +0 -1
- package/dist/adapters/__tests__/openai-codex-adapter.test.d.ts +0 -2
- package/dist/adapters/__tests__/openai-codex-adapter.test.d.ts.map +0 -1
- package/dist/adapters/__tests__/openai-codex-adapter.test.js +0 -246
- package/dist/adapters/__tests__/openai-codex-adapter.test.js.map +0 -1
- package/dist/adapters/__tests__/openclaw-acp.test.d.ts +0 -2
- package/dist/adapters/__tests__/openclaw-acp.test.d.ts.map +0 -1
- package/dist/adapters/__tests__/openclaw-acp.test.js +0 -239
- package/dist/adapters/__tests__/openclaw-acp.test.js.map +0 -1
- package/dist/adapters/__tests__/openclaw-datasource.test.d.ts +0 -2
- package/dist/adapters/__tests__/openclaw-datasource.test.d.ts.map +0 -1
- package/dist/adapters/__tests__/openclaw-datasource.test.js +0 -252
- package/dist/adapters/__tests__/openclaw-datasource.test.js.map +0 -1
- package/dist/adapters/__tests__/shell-datasource.test.d.ts +0 -2
- package/dist/adapters/__tests__/shell-datasource.test.d.ts.map +0 -1
- package/dist/adapters/__tests__/shell-datasource.test.js +0 -186
- package/dist/adapters/__tests__/shell-datasource.test.js.map +0 -1
- package/dist/base/llm/__tests__/codex-llm-client.test.d.ts +0 -2
- package/dist/base/llm/__tests__/codex-llm-client.test.d.ts.map +0 -1
- package/dist/base/llm/__tests__/codex-llm-client.test.js +0 -334
- package/dist/base/llm/__tests__/codex-llm-client.test.js.map +0 -1
- package/dist/base/llm/__tests__/json-sanitizer.test.d.ts +0 -2
- package/dist/base/llm/__tests__/json-sanitizer.test.d.ts.map +0 -1
- package/dist/base/llm/__tests__/json-sanitizer.test.js +0 -134
- package/dist/base/llm/__tests__/json-sanitizer.test.js.map +0 -1
- package/dist/base/llm/__tests__/llm-client-send-message.test.d.ts +0 -2
- package/dist/base/llm/__tests__/llm-client-send-message.test.d.ts.map +0 -1
- package/dist/base/llm/__tests__/llm-client-send-message.test.js +0 -155
- package/dist/base/llm/__tests__/llm-client-send-message.test.js.map +0 -1
- package/dist/base/llm/__tests__/llm-client.test.d.ts +0 -2
- package/dist/base/llm/__tests__/llm-client.test.d.ts.map +0 -1
- package/dist/base/llm/__tests__/llm-client.test.js +0 -401
- package/dist/base/llm/__tests__/llm-client.test.js.map +0 -1
- package/dist/base/llm/__tests__/ollama-client.test.d.ts +0 -2
- package/dist/base/llm/__tests__/ollama-client.test.d.ts.map +0 -1
- package/dist/base/llm/__tests__/ollama-client.test.js +0 -253
- package/dist/base/llm/__tests__/ollama-client.test.js.map +0 -1
- package/dist/base/llm/__tests__/openai-client.test.d.ts +0 -2
- package/dist/base/llm/__tests__/openai-client.test.d.ts.map +0 -1
- package/dist/base/llm/__tests__/openai-client.test.js +0 -245
- package/dist/base/llm/__tests__/openai-client.test.js.map +0 -1
- package/dist/base/llm/__tests__/provider-config.test.d.ts +0 -2
- package/dist/base/llm/__tests__/provider-config.test.d.ts.map +0 -1
- package/dist/base/llm/__tests__/provider-config.test.js +0 -334
- package/dist/base/llm/__tests__/provider-config.test.js.map +0 -1
- package/dist/base/llm/__tests__/provider-factory.test.d.ts +0 -2
- package/dist/base/llm/__tests__/provider-factory.test.d.ts.map +0 -1
- package/dist/base/llm/__tests__/provider-factory.test.js +0 -166
- package/dist/base/llm/__tests__/provider-factory.test.js.map +0 -1
- package/dist/base/llm/__tests__/provider-oauth.test.d.ts +0 -2
- package/dist/base/llm/__tests__/provider-oauth.test.d.ts.map +0 -1
- package/dist/base/llm/__tests__/provider-oauth.test.js +0 -120
- package/dist/base/llm/__tests__/provider-oauth.test.js.map +0 -1
- package/dist/base/state/__tests__/state-manager.test.d.ts +0 -2
- package/dist/base/state/__tests__/state-manager.test.d.ts.map +0 -1
- package/dist/base/state/__tests__/state-manager.test.js +0 -796
- package/dist/base/state/__tests__/state-manager.test.js.map +0 -1
- package/dist/base/types/__tests__/cross-portfolio.test.d.ts +0 -2
- package/dist/base/types/__tests__/cross-portfolio.test.d.ts.map +0 -1
- package/dist/base/types/__tests__/cross-portfolio.test.js +0 -336
- package/dist/base/types/__tests__/cross-portfolio.test.js.map +0 -1
- package/dist/base/types/__tests__/existing-extensions.test.d.ts +0 -2
- package/dist/base/types/__tests__/existing-extensions.test.d.ts.map +0 -1
- package/dist/base/types/__tests__/existing-extensions.test.js +0 -140
- package/dist/base/types/__tests__/existing-extensions.test.js.map +0 -1
- package/dist/base/types/__tests__/goal-refiner-types.test.d.ts +0 -2
- package/dist/base/types/__tests__/goal-refiner-types.test.d.ts.map +0 -1
- package/dist/base/types/__tests__/goal-refiner-types.test.js +0 -198
- package/dist/base/types/__tests__/goal-refiner-types.test.js.map +0 -1
- package/dist/base/types/__tests__/goal-tree-integration.test.d.ts +0 -2
- package/dist/base/types/__tests__/goal-tree-integration.test.d.ts.map +0 -1
- package/dist/base/types/__tests__/goal-tree-integration.test.js +0 -327
- package/dist/base/types/__tests__/goal-tree-integration.test.js.map +0 -1
- package/dist/base/types/__tests__/goal-tree.test.d.ts +0 -2
- package/dist/base/types/__tests__/goal-tree.test.d.ts.map +0 -1
- package/dist/base/types/__tests__/goal-tree.test.js +0 -286
- package/dist/base/types/__tests__/goal-tree.test.js.map +0 -1
- package/dist/base/types/__tests__/learning.test.d.ts +0 -2
- package/dist/base/types/__tests__/learning.test.d.ts.map +0 -1
- package/dist/base/types/__tests__/learning.test.js +0 -306
- package/dist/base/types/__tests__/learning.test.js.map +0 -1
- package/dist/base/types/__tests__/suggest-output-schema.test.d.ts +0 -2
- package/dist/base/types/__tests__/suggest-output-schema.test.d.ts.map +0 -1
- package/dist/base/types/__tests__/suggest-output-schema.test.js +0 -239
- package/dist/base/types/__tests__/suggest-output-schema.test.js.map +0 -1
- package/dist/chat/__tests__/chat-grounding.test.d.ts +0 -2
- package/dist/chat/__tests__/chat-grounding.test.d.ts.map +0 -1
- package/dist/chat/__tests__/chat-grounding.test.js +0 -388
- package/dist/chat/__tests__/chat-grounding.test.js.map +0 -1
- package/dist/chat/__tests__/chat-history.test.d.ts +0 -2
- package/dist/chat/__tests__/chat-history.test.d.ts.map +0 -1
- package/dist/chat/__tests__/chat-history.test.js +0 -97
- package/dist/chat/__tests__/chat-history.test.js.map +0 -1
- package/dist/chat/__tests__/chat-runner.test.d.ts +0 -2
- package/dist/chat/__tests__/chat-runner.test.d.ts.map +0 -1
- package/dist/chat/__tests__/chat-runner.test.js +0 -270
- package/dist/chat/__tests__/chat-runner.test.js.map +0 -1
- package/dist/chat/__tests__/chat-verifier.test.d.ts +0 -2
- package/dist/chat/__tests__/chat-verifier.test.d.ts.map +0 -1
- package/dist/chat/__tests__/chat-verifier.test.js +0 -71
- package/dist/chat/__tests__/chat-verifier.test.js.map +0 -1
- package/dist/chat/__tests__/escalation.test.d.ts +0 -2
- package/dist/chat/__tests__/escalation.test.d.ts.map +0 -1
- package/dist/chat/__tests__/escalation.test.js +0 -149
- package/dist/chat/__tests__/escalation.test.js.map +0 -1
- package/dist/chat/__tests__/self-knowledge-mutation-tools.test.d.ts +0 -2
- package/dist/chat/__tests__/self-knowledge-mutation-tools.test.d.ts.map +0 -1
- package/dist/chat/__tests__/self-knowledge-mutation-tools.test.js +0 -371
- package/dist/chat/__tests__/self-knowledge-mutation-tools.test.js.map +0 -1
- package/dist/chat/__tests__/self-knowledge-tools.test.d.ts +0 -2
- package/dist/chat/__tests__/self-knowledge-tools.test.d.ts.map +0 -1
- package/dist/chat/__tests__/self-knowledge-tools.test.js +0 -223
- package/dist/chat/__tests__/self-knowledge-tools.test.js.map +0 -1
- package/dist/chat/chat-history.d.ts +0 -80
- package/dist/chat/chat-history.d.ts.map +0 -1
- package/dist/chat/chat-history.js +0 -70
- package/dist/chat/chat-history.js.map +0 -1
- package/dist/chat/chat-runner.d.ts +0 -79
- package/dist/chat/chat-runner.d.ts.map +0 -1
- package/dist/chat/chat-runner.js +0 -279
- package/dist/chat/chat-runner.js.map +0 -1
- package/dist/chat/chat-verifier.d.ts +0 -13
- package/dist/chat/chat-verifier.d.ts.map +0 -1
- package/dist/chat/chat-verifier.js +0 -35
- package/dist/chat/chat-verifier.js.map +0 -1
- package/dist/chat/escalation.d.ts +0 -30
- package/dist/chat/escalation.d.ts.map +0 -1
- package/dist/chat/escalation.js +0 -53
- package/dist/chat/escalation.js.map +0 -1
- package/dist/chat/grounding.d.ts +0 -8
- package/dist/chat/grounding.d.ts.map +0 -1
- package/dist/chat/grounding.js +0 -104
- package/dist/chat/grounding.js.map +0 -1
- package/dist/chat/mutation-tool-defs.d.ts +0 -19
- package/dist/chat/mutation-tool-defs.d.ts.map +0 -1
- package/dist/chat/mutation-tool-defs.js +0 -154
- package/dist/chat/mutation-tool-defs.js.map +0 -1
- package/dist/chat/self-knowledge-mutation-tools.d.ts +0 -5
- package/dist/chat/self-knowledge-mutation-tools.d.ts.map +0 -1
- package/dist/chat/self-knowledge-mutation-tools.js +0 -249
- package/dist/chat/self-knowledge-mutation-tools.js.map +0 -1
- package/dist/chat/self-knowledge-tools.d.ts +0 -22
- package/dist/chat/self-knowledge-tools.d.ts.map +0 -1
- package/dist/chat/self-knowledge-tools.js +0 -261
- package/dist/chat/self-knowledge-tools.js.map +0 -1
- package/dist/cli/__tests__/cleanup-orphan-datasource.test.d.ts +0 -2
- package/dist/cli/__tests__/cleanup-orphan-datasource.test.d.ts.map +0 -1
- package/dist/cli/__tests__/cleanup-orphan-datasource.test.js +0 -108
- package/dist/cli/__tests__/cleanup-orphan-datasource.test.js.map +0 -1
- package/dist/cli/__tests__/cli-capability.test.d.ts +0 -8
- package/dist/cli/__tests__/cli-capability.test.d.ts.map +0 -1
- package/dist/cli/__tests__/cli-capability.test.js +0 -208
- package/dist/cli/__tests__/cli-capability.test.js.map +0 -1
- package/dist/cli/__tests__/cli-daemon-status.test.d.ts +0 -2
- package/dist/cli/__tests__/cli-daemon-status.test.d.ts.map +0 -1
- package/dist/cli/__tests__/cli-daemon-status.test.js +0 -205
- package/dist/cli/__tests__/cli-daemon-status.test.js.map +0 -1
- package/dist/cli/__tests__/cli-doctor.test.d.ts +0 -2
- package/dist/cli/__tests__/cli-doctor.test.d.ts.map +0 -1
- package/dist/cli/__tests__/cli-doctor.test.js +0 -291
- package/dist/cli/__tests__/cli-doctor.test.js.map +0 -1
- package/dist/cli/__tests__/cli-improve.test.d.ts +0 -11
- package/dist/cli/__tests__/cli-improve.test.d.ts.map +0 -1
- package/dist/cli/__tests__/cli-improve.test.js +0 -592
- package/dist/cli/__tests__/cli-improve.test.js.map +0 -1
- package/dist/cli/__tests__/cli-install.test.d.ts +0 -2
- package/dist/cli/__tests__/cli-install.test.d.ts.map +0 -1
- package/dist/cli/__tests__/cli-install.test.js +0 -307
- package/dist/cli/__tests__/cli-install.test.js.map +0 -1
- package/dist/cli/__tests__/cli-knowledge.test.d.ts +0 -9
- package/dist/cli/__tests__/cli-knowledge.test.d.ts.map +0 -1
- package/dist/cli/__tests__/cli-knowledge.test.js +0 -295
- package/dist/cli/__tests__/cli-knowledge.test.js.map +0 -1
- package/dist/cli/__tests__/cli-logs.test.d.ts +0 -2
- package/dist/cli/__tests__/cli-logs.test.d.ts.map +0 -1
- package/dist/cli/__tests__/cli-logs.test.js +0 -204
- package/dist/cli/__tests__/cli-logs.test.js.map +0 -1
- package/dist/cli/__tests__/cli-notify.test.d.ts +0 -2
- package/dist/cli/__tests__/cli-notify.test.d.ts.map +0 -1
- package/dist/cli/__tests__/cli-notify.test.js +0 -208
- package/dist/cli/__tests__/cli-notify.test.js.map +0 -1
- package/dist/cli/__tests__/cli-plugin.test.d.ts +0 -8
- package/dist/cli/__tests__/cli-plugin.test.d.ts.map +0 -1
- package/dist/cli/__tests__/cli-plugin.test.js +0 -379
- package/dist/cli/__tests__/cli-plugin.test.js.map +0 -1
- package/dist/cli/__tests__/cli-runner-datasource-auto.test.d.ts +0 -9
- package/dist/cli/__tests__/cli-runner-datasource-auto.test.d.ts.map +0 -1
- package/dist/cli/__tests__/cli-runner-datasource-auto.test.js +0 -398
- package/dist/cli/__tests__/cli-runner-datasource-auto.test.js.map +0 -1
- package/dist/cli/__tests__/cli-runner-integration.test.d.ts +0 -13
- package/dist/cli/__tests__/cli-runner-integration.test.d.ts.map +0 -1
- package/dist/cli/__tests__/cli-runner-integration.test.js +0 -298
- package/dist/cli/__tests__/cli-runner-integration.test.js.map +0 -1
- package/dist/cli/__tests__/cli-runner.test.d.ts +0 -29
- package/dist/cli/__tests__/cli-runner.test.d.ts.map +0 -1
- package/dist/cli/__tests__/cli-runner.test.js +0 -928
- package/dist/cli/__tests__/cli-runner.test.js.map +0 -1
- package/dist/cli/__tests__/cli-setup.test.d.ts +0 -12
- package/dist/cli/__tests__/cli-setup.test.d.ts.map +0 -1
- package/dist/cli/__tests__/cli-setup.test.js +0 -200
- package/dist/cli/__tests__/cli-setup.test.js.map +0 -1
- package/dist/cli/__tests__/datasource-dedup.test.d.ts +0 -2
- package/dist/cli/__tests__/datasource-dedup.test.d.ts.map +0 -1
- package/dist/cli/__tests__/datasource-dedup.test.js +0 -133
- package/dist/cli/__tests__/datasource-dedup.test.js.map +0 -1
- package/dist/cli/__tests__/goal-dispatch-infer.test.d.ts +0 -11
- package/dist/cli/__tests__/goal-dispatch-infer.test.d.ts.map +0 -1
- package/dist/cli/__tests__/goal-dispatch-infer.test.js +0 -140
- package/dist/cli/__tests__/goal-dispatch-infer.test.js.map +0 -1
- package/dist/cli/__tests__/goal-infer.test.d.ts +0 -2
- package/dist/cli/__tests__/goal-infer.test.d.ts.map +0 -1
- package/dist/cli/__tests__/goal-infer.test.js +0 -94
- package/dist/cli/__tests__/goal-infer.test.js.map +0 -1
- package/dist/cli/__tests__/goal-utils.test.d.ts +0 -2
- package/dist/cli/__tests__/goal-utils.test.d.ts.map +0 -1
- package/dist/cli/__tests__/goal-utils.test.js +0 -123
- package/dist/cli/__tests__/goal-utils.test.js.map +0 -1
- package/dist/cli/__tests__/suggest-normalizer.test.d.ts +0 -2
- package/dist/cli/__tests__/suggest-normalizer.test.d.ts.map +0 -1
- package/dist/cli/__tests__/suggest-normalizer.test.js +0 -43
- package/dist/cli/__tests__/suggest-normalizer.test.js.map +0 -1
- package/dist/cli/cli-command-registry 2.d.ts +0 -16
- package/dist/cli/cli-command-registry 2.d.ts.map +0 -1
- package/dist/cli/cli-command-registry 2.js +0 -408
- package/dist/cli/cli-command-registry 2.js.map +0 -1
- package/dist/cli/cli-command-registry.d.ts +0 -16
- package/dist/cli/cli-command-registry.d.ts.map +0 -1
- package/dist/cli/cli-command-registry.js +0 -408
- package/dist/cli/cli-command-registry.js.map +0 -1
- package/dist/cli/cli-logger.d.ts +0 -3
- package/dist/cli/cli-logger.d.ts.map +0 -1
- package/dist/cli/cli-logger.js +0 -12
- package/dist/cli/cli-logger.js.map +0 -1
- package/dist/cli/cli-runner.d.ts +0 -32
- package/dist/cli/cli-runner.d.ts.map +0 -1
- package/dist/cli/cli-runner.js +0 -122
- package/dist/cli/cli-runner.js.map +0 -1
- package/dist/cli/commands/chat.d.ts +0 -3
- package/dist/cli/commands/chat.d.ts.map +0 -1
- package/dist/cli/commands/chat.js +0 -148
- package/dist/cli/commands/chat.js.map +0 -1
- package/dist/cli/commands/config.d.ts +0 -11
- package/dist/cli/commands/config.d.ts.map +0 -1
- package/dist/cli/commands/config.js +0 -436
- package/dist/cli/commands/config.js.map +0 -1
- package/dist/cli/commands/daemon.d.ts +0 -7
- package/dist/cli/commands/daemon.d.ts.map +0 -1
- package/dist/cli/commands/daemon.js +0 -297
- package/dist/cli/commands/daemon.js.map +0 -1
- package/dist/cli/commands/doctor.d.ts +0 -19
- package/dist/cli/commands/doctor.d.ts.map +0 -1
- package/dist/cli/commands/doctor.js +0 -203
- package/dist/cli/commands/doctor.js.map +0 -1
- package/dist/cli/commands/goal-dispatch.d.ts +0 -13
- package/dist/cli/commands/goal-dispatch.d.ts.map +0 -1
- package/dist/cli/commands/goal-dispatch.js +0 -208
- package/dist/cli/commands/goal-dispatch.js.map +0 -1
- package/dist/cli/commands/goal-infer.d.ts +0 -9
- package/dist/cli/commands/goal-infer.d.ts.map +0 -1
- package/dist/cli/commands/goal-infer.js +0 -71
- package/dist/cli/commands/goal-infer.js.map +0 -1
- package/dist/cli/commands/goal-raw.d.ts +0 -9
- package/dist/cli/commands/goal-raw.d.ts.map +0 -1
- package/dist/cli/commands/goal-raw.js +0 -106
- package/dist/cli/commands/goal-raw.js.map +0 -1
- package/dist/cli/commands/goal-read.d.ts +0 -9
- package/dist/cli/commands/goal-read.d.ts.map +0 -1
- package/dist/cli/commands/goal-read.js +0 -248
- package/dist/cli/commands/goal-read.js.map +0 -1
- package/dist/cli/commands/goal-utils.d.ts +0 -70
- package/dist/cli/commands/goal-utils.d.ts.map +0 -1
- package/dist/cli/commands/goal-utils.js +0 -311
- package/dist/cli/commands/goal-utils.js.map +0 -1
- package/dist/cli/commands/goal-write.d.ts +0 -15
- package/dist/cli/commands/goal-write.d.ts.map +0 -1
- package/dist/cli/commands/goal-write.js +0 -351
- package/dist/cli/commands/goal-write.js.map +0 -1
- package/dist/cli/commands/goal.d.ts +0 -3
- package/dist/cli/commands/goal.d.ts.map +0 -1
- package/dist/cli/commands/goal.js +0 -6
- package/dist/cli/commands/goal.js.map +0 -1
- package/dist/cli/commands/install.d.ts +0 -16
- package/dist/cli/commands/install.d.ts.map +0 -1
- package/dist/cli/commands/install.js +0 -153
- package/dist/cli/commands/install.js.map +0 -1
- package/dist/cli/commands/knowledge.d.ts +0 -5
- package/dist/cli/commands/knowledge.d.ts.map +0 -1
- package/dist/cli/commands/knowledge.js +0 -127
- package/dist/cli/commands/knowledge.js.map +0 -1
- package/dist/cli/commands/logs.d.ts +0 -2
- package/dist/cli/commands/logs.d.ts.map +0 -1
- package/dist/cli/commands/logs.js +0 -201
- package/dist/cli/commands/logs.js.map +0 -1
- package/dist/cli/commands/notify.d.ts +0 -2
- package/dist/cli/commands/notify.d.ts.map +0 -1
- package/dist/cli/commands/notify.js +0 -277
- package/dist/cli/commands/notify.js.map +0 -1
- package/dist/cli/commands/plugin.d.ts +0 -9
- package/dist/cli/commands/plugin.d.ts.map +0 -1
- package/dist/cli/commands/plugin.js +0 -315
- package/dist/cli/commands/plugin.js.map +0 -1
- package/dist/cli/commands/report.d.ts +0 -3
- package/dist/cli/commands/report.d.ts.map +0 -1
- package/dist/cli/commands/report.js +0 -29
- package/dist/cli/commands/report.js.map +0 -1
- package/dist/cli/commands/run.d.ts +0 -7
- package/dist/cli/commands/run.d.ts.map +0 -1
- package/dist/cli/commands/run.js +0 -106
- package/dist/cli/commands/run.js.map +0 -1
- package/dist/cli/commands/setup.d.ts +0 -2
- package/dist/cli/commands/setup.d.ts.map +0 -1
- package/dist/cli/commands/setup.js +0 -339
- package/dist/cli/commands/setup.js.map +0 -1
- package/dist/cli/commands/suggest-normalizer.d.ts +0 -21
- package/dist/cli/commands/suggest-normalizer.d.ts.map +0 -1
- package/dist/cli/commands/suggest-normalizer.js +0 -359
- package/dist/cli/commands/suggest-normalizer.js.map +0 -1
- package/dist/cli/commands/suggest.d.ts +0 -5
- package/dist/cli/commands/suggest.d.ts.map +0 -1
- package/dist/cli/commands/suggest.js +0 -238
- package/dist/cli/commands/suggest.js.map +0 -1
- package/dist/cli/commands/task-read.d.ts +0 -4
- package/dist/cli/commands/task-read.d.ts.map +0 -1
- package/dist/cli/commands/task-read.js +0 -195
- package/dist/cli/commands/task-read.js.map +0 -1
- package/dist/cli/commands/telegram.d.ts +0 -2
- package/dist/cli/commands/telegram.d.ts.map +0 -1
- package/dist/cli/commands/telegram.js +0 -155
- package/dist/cli/commands/telegram.js.map +0 -1
- package/dist/cli/ensure-api-key.d.ts +0 -17
- package/dist/cli/ensure-api-key.d.ts.map +0 -1
- package/dist/cli/ensure-api-key.js +0 -52
- package/dist/cli/ensure-api-key.js.map +0 -1
- package/dist/cli/setup.d.ts +0 -21
- package/dist/cli/setup.d.ts.map +0 -1
- package/dist/cli/setup.js +0 -199
- package/dist/cli/setup.js.map +0 -1
- package/dist/cli/utils/loop-runner.d.ts +0 -8
- package/dist/cli/utils/loop-runner.d.ts.map +0 -1
- package/dist/cli/utils/loop-runner.js +0 -74
- package/dist/cli/utils/loop-runner.js.map +0 -1
- package/dist/cli/utils.d.ts +0 -10
- package/dist/cli/utils.d.ts.map +0 -1
- package/dist/cli/utils.js +0 -147
- package/dist/cli/utils.js.map +0 -1
- package/dist/drive/__tests__/drive-scorer.test.d.ts +0 -2
- package/dist/drive/__tests__/drive-scorer.test.d.ts.map +0 -1
- package/dist/drive/__tests__/drive-scorer.test.js +0 -507
- package/dist/drive/__tests__/drive-scorer.test.js.map +0 -1
- package/dist/drive/__tests__/drive-system.test.d.ts +0 -2
- package/dist/drive/__tests__/drive-system.test.d.ts.map +0 -1
- package/dist/drive/__tests__/drive-system.test.js +0 -456
- package/dist/drive/__tests__/drive-system.test.js.map +0 -1
- package/dist/drive/__tests__/example.test.d.ts +0 -2
- package/dist/drive/__tests__/example.test.d.ts.map +0 -1
- package/dist/drive/__tests__/example.test.js +0 -314
- package/dist/drive/__tests__/example.test.js.map +0 -1
- package/dist/drive/__tests__/gap-calculator.test.d.ts +0 -2
- package/dist/drive/__tests__/gap-calculator.test.d.ts.map +0 -1
- package/dist/drive/__tests__/gap-calculator.test.js +0 -619
- package/dist/drive/__tests__/gap-calculator.test.js.map +0 -1
- package/dist/drive/__tests__/progress-predictor.test.d.ts +0 -2
- package/dist/drive/__tests__/progress-predictor.test.d.ts.map +0 -1
- package/dist/drive/__tests__/progress-predictor.test.js +0 -142
- package/dist/drive/__tests__/progress-predictor.test.js.map +0 -1
- package/dist/drive/__tests__/reward-log.test.d.ts +0 -2
- package/dist/drive/__tests__/reward-log.test.d.ts.map +0 -1
- package/dist/drive/__tests__/reward-log.test.js +0 -177
- package/dist/drive/__tests__/reward-log.test.js.map +0 -1
- package/dist/drive/__tests__/satisficing-judge-convergence.test.d.ts +0 -2
- package/dist/drive/__tests__/satisficing-judge-convergence.test.d.ts.map +0 -1
- package/dist/drive/__tests__/satisficing-judge-convergence.test.js +0 -159
- package/dist/drive/__tests__/satisficing-judge-convergence.test.js.map +0 -1
- package/dist/drive/__tests__/satisficing-judge-dimension-satisfied.test.d.ts +0 -2
- package/dist/drive/__tests__/satisficing-judge-dimension-satisfied.test.d.ts.map +0 -1
- package/dist/drive/__tests__/satisficing-judge-dimension-satisfied.test.js +0 -261
- package/dist/drive/__tests__/satisficing-judge-dimension-satisfied.test.js.map +0 -1
- package/dist/drive/__tests__/satisficing-judge-double-confirm.test.d.ts +0 -2
- package/dist/drive/__tests__/satisficing-judge-double-confirm.test.d.ts.map +0 -1
- package/dist/drive/__tests__/satisficing-judge-double-confirm.test.js +0 -207
- package/dist/drive/__tests__/satisficing-judge-double-confirm.test.js.map +0 -1
- package/dist/drive/__tests__/satisficing-judge-goal-complete.test.d.ts +0 -2
- package/dist/drive/__tests__/satisficing-judge-goal-complete.test.d.ts.map +0 -1
- package/dist/drive/__tests__/satisficing-judge-goal-complete.test.js +0 -359
- package/dist/drive/__tests__/satisficing-judge-goal-complete.test.js.map +0 -1
- package/dist/drive/__tests__/satisficing-judge-propagation-phase2.test.d.ts +0 -2
- package/dist/drive/__tests__/satisficing-judge-propagation-phase2.test.d.ts.map +0 -1
- package/dist/drive/__tests__/satisficing-judge-propagation-phase2.test.js +0 -461
- package/dist/drive/__tests__/satisficing-judge-propagation-phase2.test.js.map +0 -1
- package/dist/drive/__tests__/satisficing-judge-threshold-propagation.test.d.ts +0 -2
- package/dist/drive/__tests__/satisficing-judge-threshold-propagation.test.d.ts.map +0 -1
- package/dist/drive/__tests__/satisficing-judge-threshold-propagation.test.js +0 -337
- package/dist/drive/__tests__/satisficing-judge-threshold-propagation.test.js.map +0 -1
- package/dist/drive/__tests__/satisficing-judge-tree-convergence.test.d.ts +0 -2
- package/dist/drive/__tests__/satisficing-judge-tree-convergence.test.d.ts.map +0 -1
- package/dist/drive/__tests__/satisficing-judge-tree-convergence.test.js +0 -109
- package/dist/drive/__tests__/satisficing-judge-tree-convergence.test.js.map +0 -1
- package/dist/drive/__tests__/satisficing-judge-undershoot.test.d.ts +0 -2
- package/dist/drive/__tests__/satisficing-judge-undershoot.test.d.ts.map +0 -1
- package/dist/drive/__tests__/satisficing-judge-undershoot.test.js +0 -221
- package/dist/drive/__tests__/satisficing-judge-undershoot.test.js.map +0 -1
- package/dist/drive/__tests__/stall-detector-analysis.test.d.ts +0 -12
- package/dist/drive/__tests__/stall-detector-analysis.test.d.ts.map +0 -1
- package/dist/drive/__tests__/stall-detector-analysis.test.js +0 -139
- package/dist/drive/__tests__/stall-detector-analysis.test.js.map +0 -1
- package/dist/drive/__tests__/stall-detector-repetitive.test.d.ts +0 -2
- package/dist/drive/__tests__/stall-detector-repetitive.test.d.ts.map +0 -1
- package/dist/drive/__tests__/stall-detector-repetitive.test.js +0 -84
- package/dist/drive/__tests__/stall-detector-repetitive.test.js.map +0 -1
- package/dist/drive/__tests__/stall-detector.test.d.ts +0 -2
- package/dist/drive/__tests__/stall-detector.test.d.ts.map +0 -1
- package/dist/drive/__tests__/stall-detector.test.js +0 -903
- package/dist/drive/__tests__/stall-detector.test.js.map +0 -1
- package/dist/drive/drive-scorer.d.ts +0 -96
- package/dist/drive/drive-scorer.d.ts.map +0 -1
- package/dist/drive/drive-scorer.js +0 -240
- package/dist/drive/drive-scorer.js.map +0 -1
- package/dist/drive/drive-system.d.ts +0 -99
- package/dist/drive/drive-system.d.ts.map +0 -1
- package/dist/drive/drive-system.js +0 -354
- package/dist/drive/drive-system.js.map +0 -1
- package/dist/drive/gap-calculator.d.ts +0 -88
- package/dist/drive/gap-calculator.d.ts.map +0 -1
- package/dist/drive/gap-calculator.js +0 -243
- package/dist/drive/gap-calculator.js.map +0 -1
- package/dist/drive/progress-predictor.d.ts +0 -24
- package/dist/drive/progress-predictor.d.ts.map +0 -1
- package/dist/drive/progress-predictor.js +0 -93
- package/dist/drive/progress-predictor.js.map +0 -1
- package/dist/drive/reward-log.d.ts +0 -51
- package/dist/drive/reward-log.d.ts.map +0 -1
- package/dist/drive/reward-log.js +0 -48
- package/dist/drive/reward-log.js.map +0 -1
- package/dist/drive/satisficing-helpers.d.ts +0 -28
- package/dist/drive/satisficing-helpers.d.ts.map +0 -1
- package/dist/drive/satisficing-helpers.js +0 -111
- package/dist/drive/satisficing-helpers.js.map +0 -1
- package/dist/drive/satisficing-judge.d.ts +0 -140
- package/dist/drive/satisficing-judge.d.ts.map +0 -1
- package/dist/drive/satisficing-judge.js +0 -427
- package/dist/drive/satisficing-judge.js.map +0 -1
- package/dist/drive/satisficing-propagation.d.ts +0 -30
- package/dist/drive/satisficing-propagation.d.ts.map +0 -1
- package/dist/drive/satisficing-propagation.js +0 -196
- package/dist/drive/satisficing-propagation.js.map +0 -1
- package/dist/drive/stall-detector.d.ts +0 -143
- package/dist/drive/stall-detector.d.ts.map +0 -1
- package/dist/drive/stall-detector.js +0 -567
- package/dist/drive/stall-detector.js.map +0 -1
- package/dist/drive/types/drive.d.ts +0 -194
- package/dist/drive/types/drive.d.ts.map +0 -1
- package/dist/drive/types/drive.js +0 -77
- package/dist/drive/types/drive.js.map +0 -1
- package/dist/drive/types/gap.d.ts +0 -147
- package/dist/drive/types/gap.d.ts.map +0 -1
- package/dist/drive/types/gap.js +0 -41
- package/dist/drive/types/gap.js.map +0 -1
- package/dist/drive/types/satisficing.d.ts +0 -130
- package/dist/drive/types/satisficing.d.ts.map +0 -1
- package/dist/drive/types/satisficing.js +0 -54
- package/dist/drive/types/satisficing.js.map +0 -1
- package/dist/drive/types/stall.d.ts +0 -68
- package/dist/drive/types/stall.d.ts.map +0 -1
- package/dist/drive/types/stall.js +0 -28
- package/dist/drive/types/stall.js.map +0 -1
- package/dist/execution/__tests__/adapter-layer.test.d.ts +0 -2
- package/dist/execution/__tests__/adapter-layer.test.d.ts.map +0 -1
- package/dist/execution/__tests__/adapter-layer.test.js +0 -88
- package/dist/execution/__tests__/adapter-layer.test.js.map +0 -1
- package/dist/execution/__tests__/checkpoint-manager.test.d.ts +0 -2
- package/dist/execution/__tests__/checkpoint-manager.test.d.ts.map +0 -1
- package/dist/execution/__tests__/checkpoint-manager.test.js +0 -304
- package/dist/execution/__tests__/checkpoint-manager.test.js.map +0 -1
- package/dist/execution/__tests__/completion-judger-timeout.test.d.ts +0 -11
- package/dist/execution/__tests__/completion-judger-timeout.test.d.ts.map +0 -1
- package/dist/execution/__tests__/completion-judger-timeout.test.js +0 -260
- package/dist/execution/__tests__/completion-judger-timeout.test.js.map +0 -1
- package/dist/execution/__tests__/context-budget.test.d.ts +0 -2
- package/dist/execution/__tests__/context-budget.test.d.ts.map +0 -1
- package/dist/execution/__tests__/context-budget.test.js +0 -218
- package/dist/execution/__tests__/context-budget.test.js.map +0 -1
- package/dist/execution/__tests__/duplicate-task-guard.test.d.ts +0 -2
- package/dist/execution/__tests__/duplicate-task-guard.test.d.ts.map +0 -1
- package/dist/execution/__tests__/duplicate-task-guard.test.js +0 -187
- package/dist/execution/__tests__/duplicate-task-guard.test.js.map +0 -1
- package/dist/execution/__tests__/failure-context-injection.test.d.ts +0 -2
- package/dist/execution/__tests__/failure-context-injection.test.d.ts.map +0 -1
- package/dist/execution/__tests__/failure-context-injection.test.js +0 -227
- package/dist/execution/__tests__/failure-context-injection.test.js.map +0 -1
- package/dist/execution/__tests__/impact-analyzer.test.d.ts +0 -2
- package/dist/execution/__tests__/impact-analyzer.test.d.ts.map +0 -1
- package/dist/execution/__tests__/impact-analyzer.test.js +0 -117
- package/dist/execution/__tests__/impact-analyzer.test.js.map +0 -1
- package/dist/execution/__tests__/issue-context-fetcher.test.d.ts +0 -2
- package/dist/execution/__tests__/issue-context-fetcher.test.d.ts.map +0 -1
- package/dist/execution/__tests__/issue-context-fetcher.test.js +0 -151
- package/dist/execution/__tests__/issue-context-fetcher.test.js.map +0 -1
- package/dist/execution/__tests__/parallel-executor.test.d.ts +0 -2
- package/dist/execution/__tests__/parallel-executor.test.d.ts.map +0 -1
- package/dist/execution/__tests__/parallel-executor.test.js +0 -313
- package/dist/execution/__tests__/parallel-executor.test.js.map +0 -1
- package/dist/execution/__tests__/pipeline-executor.test.d.ts +0 -2
- package/dist/execution/__tests__/pipeline-executor.test.d.ts.map +0 -1
- package/dist/execution/__tests__/pipeline-executor.test.js +0 -322
- package/dist/execution/__tests__/pipeline-executor.test.js.map +0 -1
- package/dist/execution/__tests__/reflection-generator.test.d.ts +0 -2
- package/dist/execution/__tests__/reflection-generator.test.d.ts.map +0 -1
- package/dist/execution/__tests__/reflection-generator.test.js +0 -422
- package/dist/execution/__tests__/reflection-generator.test.js.map +0 -1
- package/dist/execution/__tests__/result-reconciler.test.d.ts +0 -2
- package/dist/execution/__tests__/result-reconciler.test.d.ts.map +0 -1
- package/dist/execution/__tests__/result-reconciler.test.js +0 -112
- package/dist/execution/__tests__/result-reconciler.test.js.map +0 -1
- package/dist/execution/__tests__/session-manager-phase2.test.d.ts +0 -2
- package/dist/execution/__tests__/session-manager-phase2.test.d.ts.map +0 -1
- package/dist/execution/__tests__/session-manager-phase2.test.js +0 -381
- package/dist/execution/__tests__/session-manager-phase2.test.js.map +0 -1
- package/dist/execution/__tests__/session-manager.test.d.ts +0 -2
- package/dist/execution/__tests__/session-manager.test.d.ts.map +0 -1
- package/dist/execution/__tests__/session-manager.test.js +0 -653
- package/dist/execution/__tests__/session-manager.test.js.map +0 -1
- package/dist/execution/__tests__/task-generation-group.test.d.ts +0 -2
- package/dist/execution/__tests__/task-generation-group.test.d.ts.map +0 -1
- package/dist/execution/__tests__/task-generation-group.test.js +0 -157
- package/dist/execution/__tests__/task-generation-group.test.js.map +0 -1
- package/dist/execution/__tests__/task-lifecycle-cycle.test.d.ts +0 -2
- package/dist/execution/__tests__/task-lifecycle-cycle.test.d.ts.map +0 -1
- package/dist/execution/__tests__/task-lifecycle-cycle.test.js +0 -685
- package/dist/execution/__tests__/task-lifecycle-cycle.test.js.map +0 -1
- package/dist/execution/__tests__/task-lifecycle-dimension.test.d.ts +0 -2
- package/dist/execution/__tests__/task-lifecycle-dimension.test.d.ts.map +0 -1
- package/dist/execution/__tests__/task-lifecycle-dimension.test.js +0 -325
- package/dist/execution/__tests__/task-lifecycle-dimension.test.js.map +0 -1
- package/dist/execution/__tests__/task-lifecycle-ethics.test.d.ts +0 -2
- package/dist/execution/__tests__/task-lifecycle-ethics.test.d.ts.map +0 -1
- package/dist/execution/__tests__/task-lifecycle-ethics.test.js +0 -732
- package/dist/execution/__tests__/task-lifecycle-ethics.test.js.map +0 -1
- package/dist/execution/__tests__/task-lifecycle-execution.test.d.ts +0 -2
- package/dist/execution/__tests__/task-lifecycle-execution.test.d.ts.map +0 -1
- package/dist/execution/__tests__/task-lifecycle-execution.test.js +0 -441
- package/dist/execution/__tests__/task-lifecycle-execution.test.js.map +0 -1
- package/dist/execution/__tests__/task-lifecycle-generation.test.d.ts +0 -2
- package/dist/execution/__tests__/task-lifecycle-generation.test.d.ts.map +0 -1
- package/dist/execution/__tests__/task-lifecycle-generation.test.js +0 -457
- package/dist/execution/__tests__/task-lifecycle-generation.test.js.map +0 -1
- package/dist/execution/__tests__/task-lifecycle-healthcheck.test.d.ts +0 -2
- package/dist/execution/__tests__/task-lifecycle-healthcheck.test.d.ts.map +0 -1
- package/dist/execution/__tests__/task-lifecycle-healthcheck.test.js +0 -325
- package/dist/execution/__tests__/task-lifecycle-healthcheck.test.js.map +0 -1
- package/dist/execution/__tests__/task-lifecycle-verdict.test.d.ts +0 -2
- package/dist/execution/__tests__/task-lifecycle-verdict.test.d.ts.map +0 -1
- package/dist/execution/__tests__/task-lifecycle-verdict.test.js +0 -683
- package/dist/execution/__tests__/task-lifecycle-verdict.test.js.map +0 -1
- package/dist/execution/__tests__/task-lifecycle-verification.test.d.ts +0 -2
- package/dist/execution/__tests__/task-lifecycle-verification.test.d.ts.map +0 -1
- package/dist/execution/__tests__/task-lifecycle-verification.test.js +0 -526
- package/dist/execution/__tests__/task-lifecycle-verification.test.js.map +0 -1
- package/dist/execution/__tests__/task-lifecycle.test.d.ts +0 -2
- package/dist/execution/__tests__/task-lifecycle.test.d.ts.map +0 -1
- package/dist/execution/__tests__/task-lifecycle.test.js +0 -503
- package/dist/execution/__tests__/task-lifecycle.test.js.map +0 -1
- package/dist/execution/__tests__/task-prompt-builder.test.d.ts +0 -2
- package/dist/execution/__tests__/task-prompt-builder.test.d.ts.map +0 -1
- package/dist/execution/__tests__/task-prompt-builder.test.js +0 -148
- package/dist/execution/__tests__/task-prompt-builder.test.js.map +0 -1
- package/dist/execution/__tests__/task-verifier-guards.test.d.ts +0 -2
- package/dist/execution/__tests__/task-verifier-guards.test.d.ts.map +0 -1
- package/dist/execution/__tests__/task-verifier-guards.test.js +0 -735
- package/dist/execution/__tests__/task-verifier-guards.test.js.map +0 -1
- package/dist/execution/__tests__/task-verifier.test.d.ts +0 -2
- package/dist/execution/__tests__/task-verifier.test.d.ts.map +0 -1
- package/dist/execution/__tests__/task-verifier.test.js +0 -113
- package/dist/execution/__tests__/task-verifier.test.js.map +0 -1
- package/dist/execution/__tests__/toolset-lock.test.d.ts +0 -2
- package/dist/execution/__tests__/toolset-lock.test.d.ts.map +0 -1
- package/dist/execution/__tests__/toolset-lock.test.js +0 -204
- package/dist/execution/__tests__/toolset-lock.test.js.map +0 -1
- package/dist/execution/adapter-layer.d.ts +0 -100
- package/dist/execution/adapter-layer.d.ts.map +0 -1
- package/dist/execution/adapter-layer.js +0 -123
- package/dist/execution/adapter-layer.js.map +0 -1
- package/dist/execution/checkpoint-manager.d.ts +0 -49
- package/dist/execution/checkpoint-manager.d.ts.map +0 -1
- package/dist/execution/checkpoint-manager.js +0 -143
- package/dist/execution/checkpoint-manager.js.map +0 -1
- package/dist/execution/context/context-budget.d.ts +0 -35
- package/dist/execution/context/context-budget.d.ts.map +0 -1
- package/dist/execution/context/context-budget.js +0 -73
- package/dist/execution/context/context-budget.js.map +0 -1
- package/dist/execution/context/context-builder.d.ts +0 -44
- package/dist/execution/context/context-builder.d.ts.map +0 -1
- package/dist/execution/context/context-builder.js +0 -132
- package/dist/execution/context/context-builder.js.map +0 -1
- package/dist/execution/context/dimension-selector.d.ts +0 -16
- package/dist/execution/context/dimension-selector.d.ts.map +0 -1
- package/dist/execution/context/dimension-selector.js +0 -57
- package/dist/execution/context/dimension-selector.js.map +0 -1
- package/dist/execution/context/issue-context-fetcher.d.ts +0 -19
- package/dist/execution/context/issue-context-fetcher.d.ts.map +0 -1
- package/dist/execution/context/issue-context-fetcher.js +0 -73
- package/dist/execution/context/issue-context-fetcher.js.map +0 -1
- package/dist/execution/impact-analyzer.d.ts +0 -24
- package/dist/execution/impact-analyzer.d.ts.map +0 -1
- package/dist/execution/impact-analyzer.js +0 -88
- package/dist/execution/impact-analyzer.js.map +0 -1
- package/dist/execution/parallel-executor.d.ts +0 -38
- package/dist/execution/parallel-executor.d.ts.map +0 -1
- package/dist/execution/parallel-executor.js +0 -172
- package/dist/execution/parallel-executor.js.map +0 -1
- package/dist/execution/pipeline-executor.d.ts +0 -54
- package/dist/execution/pipeline-executor.d.ts.map +0 -1
- package/dist/execution/pipeline-executor.js +0 -250
- package/dist/execution/pipeline-executor.js.map +0 -1
- package/dist/execution/reflection-generator.d.ts +0 -24
- package/dist/execution/reflection-generator.d.ts.map +0 -1
- package/dist/execution/reflection-generator.js +0 -143
- package/dist/execution/reflection-generator.js.map +0 -1
- package/dist/execution/result-reconciler.d.ts +0 -23
- package/dist/execution/result-reconciler.d.ts.map +0 -1
- package/dist/execution/result-reconciler.js +0 -109
- package/dist/execution/result-reconciler.js.map +0 -1
- package/dist/execution/session-manager.d.ts +0 -153
- package/dist/execution/session-manager.d.ts.map +0 -1
- package/dist/execution/session-manager.js +0 -393
- package/dist/execution/session-manager.js.map +0 -1
- package/dist/execution/task/task-approval-check.d.ts +0 -9
- package/dist/execution/task/task-approval-check.d.ts.map +0 -1
- package/dist/execution/task/task-approval-check.js +0 -14
- package/dist/execution/task/task-approval-check.js.map +0 -1
- package/dist/execution/task/task-approval.d.ts +0 -22
- package/dist/execution/task/task-approval.d.ts.map +0 -1
- package/dist/execution/task/task-approval.js +0 -147
- package/dist/execution/task/task-approval.js.map +0 -1
- package/dist/execution/task/task-execution-types.d.ts +0 -18
- package/dist/execution/task/task-execution-types.d.ts.map +0 -1
- package/dist/execution/task/task-execution-types.js +0 -10
- package/dist/execution/task/task-execution-types.js.map +0 -1
- package/dist/execution/task/task-executor.d.ts +0 -31
- package/dist/execution/task/task-executor.d.ts.map +0 -1
- package/dist/execution/task/task-executor.js +0 -221
- package/dist/execution/task/task-executor.js.map +0 -1
- package/dist/execution/task/task-generation.d.ts +0 -154
- package/dist/execution/task/task-generation.d.ts.map +0 -1
- package/dist/execution/task/task-generation.js +0 -416
- package/dist/execution/task/task-generation.js.map +0 -1
- package/dist/execution/task/task-health-check.d.ts +0 -36
- package/dist/execution/task/task-health-check.d.ts.map +0 -1
- package/dist/execution/task/task-health-check.js +0 -66
- package/dist/execution/task/task-health-check.js.map +0 -1
- package/dist/execution/task/task-lifecycle.d.ts +0 -126
- package/dist/execution/task/task-lifecycle.d.ts.map +0 -1
- package/dist/execution/task/task-lifecycle.js +0 -313
- package/dist/execution/task/task-lifecycle.js.map +0 -1
- package/dist/execution/task/task-pipeline-cycle.d.ts +0 -45
- package/dist/execution/task/task-pipeline-cycle.d.ts.map +0 -1
- package/dist/execution/task/task-pipeline-cycle.js +0 -132
- package/dist/execution/task/task-pipeline-cycle.js.map +0 -1
- package/dist/execution/task/task-prompt-builder.d.ts +0 -9
- package/dist/execution/task/task-prompt-builder.d.ts.map +0 -1
- package/dist/execution/task/task-prompt-builder.js +0 -197
- package/dist/execution/task/task-prompt-builder.js.map +0 -1
- package/dist/execution/task/task-verifier-llm 2.d.ts +0 -24
- package/dist/execution/task/task-verifier-llm 2.d.ts.map +0 -1
- package/dist/execution/task/task-verifier-llm 2.js +0 -160
- package/dist/execution/task/task-verifier-llm 2.js.map +0 -1
- package/dist/execution/task/task-verifier-llm.d.ts +0 -24
- package/dist/execution/task/task-verifier-llm.d.ts.map +0 -1
- package/dist/execution/task/task-verifier-llm.js +0 -160
- package/dist/execution/task/task-verifier-llm.js.map +0 -1
- package/dist/execution/task/task-verifier-rules 2.d.ts +0 -31
- package/dist/execution/task/task-verifier-rules 2.d.ts.map +0 -1
- package/dist/execution/task/task-verifier-rules 2.js +0 -207
- package/dist/execution/task/task-verifier-rules 2.js.map +0 -1
- package/dist/execution/task/task-verifier-rules.d.ts +0 -31
- package/dist/execution/task/task-verifier-rules.d.ts.map +0 -1
- package/dist/execution/task/task-verifier-rules.js +0 -207
- package/dist/execution/task/task-verifier-rules.js.map +0 -1
- package/dist/execution/task/task-verifier-types 2.d.ts +0 -78
- package/dist/execution/task/task-verifier-types 2.d.ts.map +0 -1
- package/dist/execution/task/task-verifier-types 2.js +0 -9
- package/dist/execution/task/task-verifier-types 2.js.map +0 -1
- package/dist/execution/task/task-verifier-types.d.ts +0 -78
- package/dist/execution/task/task-verifier-types.d.ts.map +0 -1
- package/dist/execution/task/task-verifier-types.js +0 -9
- package/dist/execution/task/task-verifier-types.js.map +0 -1
- package/dist/execution/task/task-verifier.d.ts +0 -48
- package/dist/execution/task/task-verifier.d.ts.map +0 -1
- package/dist/execution/task/task-verifier.js +0 -463
- package/dist/execution/task/task-verifier.js.map +0 -1
- package/dist/execution/toolset-lock.d.ts +0 -27
- package/dist/execution/toolset-lock.d.ts.map +0 -1
- package/dist/execution/toolset-lock.js +0 -49
- package/dist/execution/toolset-lock.js.map +0 -1
- package/dist/execution/types/checkpoint.d.ts +0 -133
- package/dist/execution/types/checkpoint.d.ts.map +0 -1
- package/dist/execution/types/checkpoint.js +0 -38
- package/dist/execution/types/checkpoint.js.map +0 -1
- package/dist/execution/types/pipeline.d.ts +0 -191
- package/dist/execution/types/pipeline.d.ts.map +0 -1
- package/dist/execution/types/pipeline.js +0 -62
- package/dist/execution/types/pipeline.js.map +0 -1
- package/dist/execution/types/session.d.ts +0 -95
- package/dist/execution/types/session.d.ts.map +0 -1
- package/dist/execution/types/session.js +0 -37
- package/dist/execution/types/session.js.map +0 -1
- package/dist/execution/types/task-group.d.ts +0 -246
- package/dist/execution/types/task-group.d.ts.map +0 -1
- package/dist/execution/types/task-group.js +0 -14
- package/dist/execution/types/task-group.js.map +0 -1
- package/dist/execution/types/task.d.ts +0 -267
- package/dist/execution/types/task.d.ts.map +0 -1
- package/dist/execution/types/task.js +0 -70
- package/dist/execution/types/task.js.map +0 -1
- package/dist/goal/__tests__/goal-cli-refine.test.d.ts +0 -8
- package/dist/goal/__tests__/goal-cli-refine.test.d.ts.map +0 -1
- package/dist/goal/__tests__/goal-cli-refine.test.js +0 -237
- package/dist/goal/__tests__/goal-cli-refine.test.js.map +0 -1
- package/dist/goal/__tests__/goal-dependency-graph.test.d.ts +0 -2
- package/dist/goal/__tests__/goal-dependency-graph.test.d.ts.map +0 -1
- package/dist/goal/__tests__/goal-dependency-graph.test.js +0 -352
- package/dist/goal/__tests__/goal-dependency-graph.test.js.map +0 -1
- package/dist/goal/__tests__/goal-negotiator-character.test.d.ts +0 -2
- package/dist/goal/__tests__/goal-negotiator-character.test.d.ts.map +0 -1
- package/dist/goal/__tests__/goal-negotiator-character.test.js +0 -650
- package/dist/goal/__tests__/goal-negotiator-character.test.js.map +0 -1
- package/dist/goal/__tests__/goal-negotiator-core.test.d.ts +0 -2
- package/dist/goal/__tests__/goal-negotiator-core.test.d.ts.map +0 -1
- package/dist/goal/__tests__/goal-negotiator-core.test.js +0 -370
- package/dist/goal/__tests__/goal-negotiator-core.test.js.map +0 -1
- package/dist/goal/__tests__/goal-negotiator-decompose.test.d.ts +0 -2
- package/dist/goal/__tests__/goal-negotiator-decompose.test.d.ts.map +0 -1
- package/dist/goal/__tests__/goal-negotiator-decompose.test.js +0 -876
- package/dist/goal/__tests__/goal-negotiator-decompose.test.js.map +0 -1
- package/dist/goal/__tests__/goal-negotiator-negotiate.test.d.ts +0 -2
- package/dist/goal/__tests__/goal-negotiator-negotiate.test.d.ts.map +0 -1
- package/dist/goal/__tests__/goal-negotiator-negotiate.test.js +0 -411
- package/dist/goal/__tests__/goal-negotiator-negotiate.test.js.map +0 -1
- package/dist/goal/__tests__/goal-negotiator-suggest-filter.test.d.ts +0 -2
- package/dist/goal/__tests__/goal-negotiator-suggest-filter.test.d.ts.map +0 -1
- package/dist/goal/__tests__/goal-negotiator-suggest-filter.test.js +0 -258
- package/dist/goal/__tests__/goal-negotiator-suggest-filter.test.js.map +0 -1
- package/dist/goal/__tests__/goal-negotiator-suggest.test.d.ts +0 -2
- package/dist/goal/__tests__/goal-negotiator-suggest.test.d.ts.map +0 -1
- package/dist/goal/__tests__/goal-negotiator-suggest.test.js +0 -280
- package/dist/goal/__tests__/goal-negotiator-suggest.test.js.map +0 -1
- package/dist/goal/__tests__/goal-refiner.refine.test.d.ts +0 -2
- package/dist/goal/__tests__/goal-refiner.refine.test.d.ts.map +0 -1
- package/dist/goal/__tests__/goal-refiner.refine.test.js +0 -291
- package/dist/goal/__tests__/goal-refiner.refine.test.js.map +0 -1
- package/dist/goal/__tests__/goal-refiner.test.d.ts +0 -2
- package/dist/goal/__tests__/goal-refiner.test.d.ts.map +0 -1
- package/dist/goal/__tests__/goal-refiner.test.js +0 -509
- package/dist/goal/__tests__/goal-refiner.test.js.map +0 -1
- package/dist/goal/__tests__/goal-suggest-timeout.test.d.ts +0 -10
- package/dist/goal/__tests__/goal-suggest-timeout.test.d.ts.map +0 -1
- package/dist/goal/__tests__/goal-suggest-timeout.test.js +0 -63
- package/dist/goal/__tests__/goal-suggest-timeout.test.js.map +0 -1
- package/dist/goal/__tests__/goal-tree-concreteness.test.d.ts +0 -2
- package/dist/goal/__tests__/goal-tree-concreteness.test.d.ts.map +0 -1
- package/dist/goal/__tests__/goal-tree-concreteness.test.js +0 -391
- package/dist/goal/__tests__/goal-tree-concreteness.test.js.map +0 -1
- package/dist/goal/__tests__/goal-tree-manager.test.d.ts +0 -2
- package/dist/goal/__tests__/goal-tree-manager.test.d.ts.map +0 -1
- package/dist/goal/__tests__/goal-tree-manager.test.js +0 -828
- package/dist/goal/__tests__/goal-tree-manager.test.js.map +0 -1
- package/dist/goal/__tests__/goal-tree-quality.test.d.ts +0 -2
- package/dist/goal/__tests__/goal-tree-quality.test.d.ts.map +0 -1
- package/dist/goal/__tests__/goal-tree-quality.test.js +0 -150
- package/dist/goal/__tests__/goal-tree-quality.test.js.map +0 -1
- package/dist/goal/__tests__/goalNegotiator.test.d.ts +0 -2
- package/dist/goal/__tests__/goalNegotiator.test.d.ts.map +0 -1
- package/dist/goal/__tests__/goalNegotiator.test.js +0 -418
- package/dist/goal/__tests__/goalNegotiator.test.js.map +0 -1
- package/dist/goal/__tests__/negotiate-context.test.d.ts +0 -2
- package/dist/goal/__tests__/negotiate-context.test.d.ts.map +0 -1
- package/dist/goal/__tests__/negotiate-context.test.js +0 -192
- package/dist/goal/__tests__/negotiate-context.test.js.map +0 -1
- package/dist/goal/__tests__/refine.test.d.ts +0 -2
- package/dist/goal/__tests__/refine.test.d.ts.map +0 -1
- package/dist/goal/__tests__/refine.test.js +0 -354
- package/dist/goal/__tests__/refine.test.js.map +0 -1
- package/dist/goal/__tests__/refiner-prompts.test.d.ts +0 -2
- package/dist/goal/__tests__/refiner-prompts.test.d.ts.map +0 -1
- package/dist/goal/__tests__/refiner-prompts.test.js +0 -92
- package/dist/goal/__tests__/refiner-prompts.test.js.map +0 -1
- package/dist/goal/__tests__/state-aggregator.test.d.ts +0 -2
- package/dist/goal/__tests__/state-aggregator.test.d.ts.map +0 -1
- package/dist/goal/__tests__/state-aggregator.test.js +0 -840
- package/dist/goal/__tests__/state-aggregator.test.js.map +0 -1
- package/dist/goal/__tests__/subgoal-curriculum.test.d.ts +0 -2
- package/dist/goal/__tests__/subgoal-curriculum.test.d.ts.map +0 -1
- package/dist/goal/__tests__/subgoal-curriculum.test.js +0 -219
- package/dist/goal/__tests__/subgoal-curriculum.test.js.map +0 -1
- package/dist/goal/__tests__/tree-loop-orchestrator.test.d.ts +0 -2
- package/dist/goal/__tests__/tree-loop-orchestrator.test.d.ts.map +0 -1
- package/dist/goal/__tests__/tree-loop-orchestrator.test.js +0 -1078
- package/dist/goal/__tests__/tree-loop-orchestrator.test.js.map +0 -1
- package/dist/goal/goal-decomposer.d.ts +0 -30
- package/dist/goal/goal-decomposer.d.ts.map +0 -1
- package/dist/goal/goal-decomposer.js +0 -167
- package/dist/goal/goal-decomposer.js.map +0 -1
- package/dist/goal/goal-dependency-graph.d.ts +0 -124
- package/dist/goal/goal-dependency-graph.d.ts.map +0 -1
- package/dist/goal/goal-dependency-graph.js +0 -325
- package/dist/goal/goal-dependency-graph.js.map +0 -1
- package/dist/goal/goal-negotiator.d.ts +0 -72
- package/dist/goal/goal-negotiator.d.ts.map +0 -1
- package/dist/goal/goal-negotiator.js +0 -299
- package/dist/goal/goal-negotiator.js.map +0 -1
- package/dist/goal/goal-refiner.d.ts +0 -48
- package/dist/goal/goal-refiner.d.ts.map +0 -1
- package/dist/goal/goal-refiner.js +0 -299
- package/dist/goal/goal-refiner.js.map +0 -1
- package/dist/goal/goal-suggest.d.ts +0 -93
- package/dist/goal/goal-suggest.d.ts.map +0 -1
- package/dist/goal/goal-suggest.js +0 -254
- package/dist/goal/goal-suggest.js.map +0 -1
- package/dist/goal/goal-tree-manager.d.ts +0 -72
- package/dist/goal/goal-tree-manager.d.ts.map +0 -1
- package/dist/goal/goal-tree-manager.js +0 -572
- package/dist/goal/goal-tree-manager.js.map +0 -1
- package/dist/goal/goal-tree-pruner.d.ts +0 -25
- package/dist/goal/goal-tree-pruner.d.ts.map +0 -1
- package/dist/goal/goal-tree-pruner.js +0 -93
- package/dist/goal/goal-tree-pruner.js.map +0 -1
- package/dist/goal/goal-tree-quality.d.ts +0 -22
- package/dist/goal/goal-tree-quality.d.ts.map +0 -1
- package/dist/goal/goal-tree-quality.js +0 -183
- package/dist/goal/goal-tree-quality.js.map +0 -1
- package/dist/goal/goal-validation.d.ts +0 -20
- package/dist/goal/goal-validation.d.ts.map +0 -1
- package/dist/goal/goal-validation.js +0 -93
- package/dist/goal/goal-validation.js.map +0 -1
- package/dist/goal/milestone-evaluator.d.ts +0 -33
- package/dist/goal/milestone-evaluator.d.ts.map +0 -1
- package/dist/goal/milestone-evaluator.js +0 -130
- package/dist/goal/milestone-evaluator.js.map +0 -1
- package/dist/goal/negotiator-context.d.ts +0 -13
- package/dist/goal/negotiator-context.d.ts.map +0 -1
- package/dist/goal/negotiator-context.js +0 -119
- package/dist/goal/negotiator-context.js.map +0 -1
- package/dist/goal/negotiator-prompts.d.ts +0 -31
- package/dist/goal/negotiator-prompts.d.ts.map +0 -1
- package/dist/goal/negotiator-prompts.js +0 -65
- package/dist/goal/negotiator-prompts.js.map +0 -1
- package/dist/goal/negotiator-steps.d.ts +0 -59
- package/dist/goal/negotiator-steps.d.ts.map +0 -1
- package/dist/goal/negotiator-steps.js +0 -269
- package/dist/goal/negotiator-steps.js.map +0 -1
- package/dist/goal/refiner-prompts.d.ts +0 -10
- package/dist/goal/refiner-prompts.d.ts.map +0 -1
- package/dist/goal/refiner-prompts.js +0 -59
- package/dist/goal/refiner-prompts.js.map +0 -1
- package/dist/goal/state-aggregator.d.ts +0 -89
- package/dist/goal/state-aggregator.d.ts.map +0 -1
- package/dist/goal/state-aggregator.js +0 -331
- package/dist/goal/state-aggregator.js.map +0 -1
- package/dist/goal/subgoal-curriculum.d.ts +0 -30
- package/dist/goal/subgoal-curriculum.d.ts.map +0 -1
- package/dist/goal/subgoal-curriculum.js +0 -53
- package/dist/goal/subgoal-curriculum.js.map +0 -1
- package/dist/goal/tree-loop-orchestrator.d.ts +0 -100
- package/dist/goal/tree-loop-orchestrator.d.ts.map +0 -1
- package/dist/goal/tree-loop-orchestrator.js +0 -269
- package/dist/goal/tree-loop-orchestrator.js.map +0 -1
- package/dist/goal/types/dependency.d.ts +0 -108
- package/dist/goal/types/dependency.d.ts.map +0 -1
- package/dist/goal/types/dependency.js +0 -21
- package/dist/goal/types/dependency.js.map +0 -1
- package/dist/goal/types/goal-refiner.d.ts +0 -108
- package/dist/goal/types/goal-refiner.d.ts.map +0 -1
- package/dist/goal/types/goal-refiner.js +0 -39
- package/dist/goal/types/goal-refiner.js.map +0 -1
- package/dist/goal/types/goal-tree.d.ts +0 -180
- package/dist/goal/types/goal-tree.d.ts.map +0 -1
- package/dist/goal/types/goal-tree.js +0 -73
- package/dist/goal/types/goal-tree.js.map +0 -1
- package/dist/goal/types/goal.d.ts +0 -1342
- package/dist/goal/types/goal.d.ts.map +0 -1
- package/dist/goal/types/goal.js +0 -141
- package/dist/goal/types/goal.js.map +0 -1
- package/dist/goal/types/negotiation.d.ts +0 -450
- package/dist/goal/types/negotiation.d.ts.map +0 -1
- package/dist/goal/types/negotiation.js +0 -84
- package/dist/goal/types/negotiation.js.map +0 -1
- package/dist/goal/types/suggest.d.ts +0 -92
- package/dist/goal/types/suggest.d.ts.map +0 -1
- package/dist/goal/types/suggest.js +0 -15
- package/dist/goal/types/suggest.js.map +0 -1
- package/dist/interface/chat/__tests__/chat-grounding.test.d.ts +0 -2
- package/dist/interface/chat/__tests__/chat-grounding.test.d.ts.map +0 -1
- package/dist/interface/chat/__tests__/chat-grounding.test.js +0 -388
- package/dist/interface/chat/__tests__/chat-grounding.test.js.map +0 -1
- package/dist/interface/chat/__tests__/chat-history.test.d.ts +0 -2
- package/dist/interface/chat/__tests__/chat-history.test.d.ts.map +0 -1
- package/dist/interface/chat/__tests__/chat-history.test.js +0 -97
- package/dist/interface/chat/__tests__/chat-history.test.js.map +0 -1
- package/dist/interface/chat/__tests__/chat-runner.test.d.ts +0 -2
- package/dist/interface/chat/__tests__/chat-runner.test.d.ts.map +0 -1
- package/dist/interface/chat/__tests__/chat-runner.test.js +0 -270
- package/dist/interface/chat/__tests__/chat-runner.test.js.map +0 -1
- package/dist/interface/chat/__tests__/chat-verifier.test.d.ts +0 -2
- package/dist/interface/chat/__tests__/chat-verifier.test.d.ts.map +0 -1
- package/dist/interface/chat/__tests__/chat-verifier.test.js +0 -71
- package/dist/interface/chat/__tests__/chat-verifier.test.js.map +0 -1
- package/dist/interface/chat/__tests__/escalation.test.d.ts +0 -2
- package/dist/interface/chat/__tests__/escalation.test.d.ts.map +0 -1
- package/dist/interface/chat/__tests__/escalation.test.js +0 -149
- package/dist/interface/chat/__tests__/escalation.test.js.map +0 -1
- package/dist/interface/chat/__tests__/self-knowledge-mutation-tools.test.d.ts +0 -2
- package/dist/interface/chat/__tests__/self-knowledge-mutation-tools.test.d.ts.map +0 -1
- package/dist/interface/chat/__tests__/self-knowledge-mutation-tools.test.js +0 -371
- package/dist/interface/chat/__tests__/self-knowledge-mutation-tools.test.js.map +0 -1
- package/dist/interface/chat/__tests__/self-knowledge-tools.test.d.ts +0 -2
- package/dist/interface/chat/__tests__/self-knowledge-tools.test.d.ts.map +0 -1
- package/dist/interface/chat/__tests__/self-knowledge-tools.test.js +0 -223
- package/dist/interface/chat/__tests__/self-knowledge-tools.test.js.map +0 -1
- package/dist/interface/cli/__tests__/cleanup-orphan-datasource.test.d.ts +0 -2
- package/dist/interface/cli/__tests__/cleanup-orphan-datasource.test.d.ts.map +0 -1
- package/dist/interface/cli/__tests__/cleanup-orphan-datasource.test.js +0 -108
- package/dist/interface/cli/__tests__/cleanup-orphan-datasource.test.js.map +0 -1
- package/dist/interface/cli/__tests__/cli-capability.test.d.ts +0 -8
- package/dist/interface/cli/__tests__/cli-capability.test.d.ts.map +0 -1
- package/dist/interface/cli/__tests__/cli-capability.test.js +0 -208
- package/dist/interface/cli/__tests__/cli-capability.test.js.map +0 -1
- package/dist/interface/cli/__tests__/cli-daemon-status.test.d.ts +0 -2
- package/dist/interface/cli/__tests__/cli-daemon-status.test.d.ts.map +0 -1
- package/dist/interface/cli/__tests__/cli-daemon-status.test.js +0 -205
- package/dist/interface/cli/__tests__/cli-daemon-status.test.js.map +0 -1
- package/dist/interface/cli/__tests__/cli-doctor.test.d.ts +0 -2
- package/dist/interface/cli/__tests__/cli-doctor.test.d.ts.map +0 -1
- package/dist/interface/cli/__tests__/cli-doctor.test.js +0 -291
- package/dist/interface/cli/__tests__/cli-doctor.test.js.map +0 -1
- package/dist/interface/cli/__tests__/cli-improve.test.d.ts +0 -11
- package/dist/interface/cli/__tests__/cli-improve.test.d.ts.map +0 -1
- package/dist/interface/cli/__tests__/cli-improve.test.js +0 -592
- package/dist/interface/cli/__tests__/cli-improve.test.js.map +0 -1
- package/dist/interface/cli/__tests__/cli-install.test.d.ts +0 -2
- package/dist/interface/cli/__tests__/cli-install.test.d.ts.map +0 -1
- package/dist/interface/cli/__tests__/cli-install.test.js +0 -307
- package/dist/interface/cli/__tests__/cli-install.test.js.map +0 -1
- package/dist/interface/cli/__tests__/cli-knowledge.test.d.ts +0 -9
- package/dist/interface/cli/__tests__/cli-knowledge.test.d.ts.map +0 -1
- package/dist/interface/cli/__tests__/cli-knowledge.test.js +0 -295
- package/dist/interface/cli/__tests__/cli-knowledge.test.js.map +0 -1
- package/dist/interface/cli/__tests__/cli-logs.test.d.ts +0 -2
- package/dist/interface/cli/__tests__/cli-logs.test.d.ts.map +0 -1
- package/dist/interface/cli/__tests__/cli-logs.test.js +0 -204
- package/dist/interface/cli/__tests__/cli-logs.test.js.map +0 -1
- package/dist/interface/cli/__tests__/cli-notify.test.d.ts +0 -2
- package/dist/interface/cli/__tests__/cli-notify.test.d.ts.map +0 -1
- package/dist/interface/cli/__tests__/cli-notify.test.js +0 -208
- package/dist/interface/cli/__tests__/cli-notify.test.js.map +0 -1
- package/dist/interface/cli/__tests__/cli-plugin.test.d.ts +0 -8
- package/dist/interface/cli/__tests__/cli-plugin.test.d.ts.map +0 -1
- package/dist/interface/cli/__tests__/cli-plugin.test.js +0 -379
- package/dist/interface/cli/__tests__/cli-plugin.test.js.map +0 -1
- package/dist/interface/cli/__tests__/cli-runner-datasource-auto.test.d.ts +0 -9
- package/dist/interface/cli/__tests__/cli-runner-datasource-auto.test.d.ts.map +0 -1
- package/dist/interface/cli/__tests__/cli-runner-datasource-auto.test.js +0 -398
- package/dist/interface/cli/__tests__/cli-runner-datasource-auto.test.js.map +0 -1
- package/dist/interface/cli/__tests__/cli-runner-integration.test.d.ts +0 -13
- package/dist/interface/cli/__tests__/cli-runner-integration.test.d.ts.map +0 -1
- package/dist/interface/cli/__tests__/cli-runner-integration.test.js +0 -298
- package/dist/interface/cli/__tests__/cli-runner-integration.test.js.map +0 -1
- package/dist/interface/cli/__tests__/cli-runner.test.d.ts +0 -29
- package/dist/interface/cli/__tests__/cli-runner.test.d.ts.map +0 -1
- package/dist/interface/cli/__tests__/cli-runner.test.js +0 -928
- package/dist/interface/cli/__tests__/cli-runner.test.js.map +0 -1
- package/dist/interface/cli/__tests__/cli-setup.test.d.ts +0 -12
- package/dist/interface/cli/__tests__/cli-setup.test.d.ts.map +0 -1
- package/dist/interface/cli/__tests__/cli-setup.test.js +0 -200
- package/dist/interface/cli/__tests__/cli-setup.test.js.map +0 -1
- package/dist/interface/cli/__tests__/datasource-dedup.test.d.ts +0 -2
- package/dist/interface/cli/__tests__/datasource-dedup.test.d.ts.map +0 -1
- package/dist/interface/cli/__tests__/datasource-dedup.test.js +0 -133
- package/dist/interface/cli/__tests__/datasource-dedup.test.js.map +0 -1
- package/dist/interface/cli/__tests__/goal-dispatch-infer.test.d.ts +0 -11
- package/dist/interface/cli/__tests__/goal-dispatch-infer.test.d.ts.map +0 -1
- package/dist/interface/cli/__tests__/goal-dispatch-infer.test.js +0 -140
- package/dist/interface/cli/__tests__/goal-dispatch-infer.test.js.map +0 -1
- package/dist/interface/cli/__tests__/goal-infer.test.d.ts +0 -2
- package/dist/interface/cli/__tests__/goal-infer.test.d.ts.map +0 -1
- package/dist/interface/cli/__tests__/goal-infer.test.js +0 -94
- package/dist/interface/cli/__tests__/goal-infer.test.js.map +0 -1
- package/dist/interface/cli/__tests__/goal-utils.test.d.ts +0 -2
- package/dist/interface/cli/__tests__/goal-utils.test.d.ts.map +0 -1
- package/dist/interface/cli/__tests__/goal-utils.test.js +0 -123
- package/dist/interface/cli/__tests__/goal-utils.test.js.map +0 -1
- package/dist/interface/cli/__tests__/suggest-normalizer.test.d.ts +0 -2
- package/dist/interface/cli/__tests__/suggest-normalizer.test.d.ts.map +0 -1
- package/dist/interface/cli/__tests__/suggest-normalizer.test.js +0 -43
- package/dist/interface/cli/__tests__/suggest-normalizer.test.js.map +0 -1
- package/dist/interface/mcp-server/__tests__/mcp-server.test.d.ts +0 -2
- package/dist/interface/mcp-server/__tests__/mcp-server.test.d.ts.map +0 -1
- package/dist/interface/mcp-server/__tests__/mcp-server.test.js +0 -180
- package/dist/interface/mcp-server/__tests__/mcp-server.test.js.map +0 -1
- package/dist/interface/tui/__tests__/actions.test.d.ts +0 -2
- package/dist/interface/tui/__tests__/actions.test.d.ts.map +0 -1
- package/dist/interface/tui/__tests__/actions.test.js +0 -300
- package/dist/interface/tui/__tests__/actions.test.js.map +0 -1
- package/dist/interface/tui/__tests__/fuzzy.test.d.ts +0 -2
- package/dist/interface/tui/__tests__/fuzzy.test.d.ts.map +0 -1
- package/dist/interface/tui/__tests__/fuzzy.test.js +0 -95
- package/dist/interface/tui/__tests__/fuzzy.test.js.map +0 -1
- package/dist/interface/tui/__tests__/intent-recognizer.test.d.ts +0 -2
- package/dist/interface/tui/__tests__/intent-recognizer.test.d.ts.map +0 -1
- package/dist/interface/tui/__tests__/intent-recognizer.test.js +0 -174
- package/dist/interface/tui/__tests__/intent-recognizer.test.js.map +0 -1
- package/dist/interface/tui/__tests__/use-loop.test.d.ts +0 -2
- package/dist/interface/tui/__tests__/use-loop.test.d.ts.map +0 -1
- package/dist/interface/tui/__tests__/use-loop.test.js +0 -286
- package/dist/interface/tui/__tests__/use-loop.test.js.map +0 -1
- package/dist/interface/tui/splash-screen.d.ts +0 -9
- package/dist/interface/tui/splash-screen.d.ts.map +0 -1
- package/dist/interface/tui/splash-screen.js +0 -27
- package/dist/interface/tui/splash-screen.js.map +0 -1
- package/dist/knowledge/__tests__/decision-record.test.d.ts +0 -2
- package/dist/knowledge/__tests__/decision-record.test.d.ts.map +0 -1
- package/dist/knowledge/__tests__/decision-record.test.js +0 -141
- package/dist/knowledge/__tests__/decision-record.test.js.map +0 -1
- package/dist/knowledge/__tests__/drive-score-adapter.test.d.ts +0 -2
- package/dist/knowledge/__tests__/drive-score-adapter.test.d.ts.map +0 -1
- package/dist/knowledge/__tests__/drive-score-adapter.test.js +0 -110
- package/dist/knowledge/__tests__/drive-score-adapter.test.js.map +0 -1
- package/dist/knowledge/__tests__/embedding-client.test.d.ts +0 -2
- package/dist/knowledge/__tests__/embedding-client.test.d.ts.map +0 -1
- package/dist/knowledge/__tests__/embedding-client.test.js +0 -77
- package/dist/knowledge/__tests__/embedding-client.test.js.map +0 -1
- package/dist/knowledge/__tests__/hierarchical-memory-integration.test.d.ts +0 -2
- package/dist/knowledge/__tests__/hierarchical-memory-integration.test.d.ts.map +0 -1
- package/dist/knowledge/__tests__/hierarchical-memory-integration.test.js +0 -352
- package/dist/knowledge/__tests__/hierarchical-memory-integration.test.js.map +0 -1
- package/dist/knowledge/__tests__/knowledge-graph.test.d.ts +0 -2
- package/dist/knowledge/__tests__/knowledge-graph.test.d.ts.map +0 -1
- package/dist/knowledge/__tests__/knowledge-graph.test.js +0 -330
- package/dist/knowledge/__tests__/knowledge-graph.test.js.map +0 -1
- package/dist/knowledge/__tests__/knowledge-manager-phase2.test.d.ts +0 -2
- package/dist/knowledge/__tests__/knowledge-manager-phase2.test.d.ts.map +0 -1
- package/dist/knowledge/__tests__/knowledge-manager-phase2.test.js +0 -344
- package/dist/knowledge/__tests__/knowledge-manager-phase2.test.js.map +0 -1
- package/dist/knowledge/__tests__/knowledge-manager.test.d.ts +0 -2
- package/dist/knowledge/__tests__/knowledge-manager.test.d.ts.map +0 -1
- package/dist/knowledge/__tests__/knowledge-manager.test.js +0 -564
- package/dist/knowledge/__tests__/knowledge-manager.test.js.map +0 -1
- package/dist/knowledge/__tests__/knowledge-transfer-apply.test.d.ts +0 -2
- package/dist/knowledge/__tests__/knowledge-transfer-apply.test.d.ts.map +0 -1
- package/dist/knowledge/__tests__/knowledge-transfer-apply.test.js +0 -291
- package/dist/knowledge/__tests__/knowledge-transfer-apply.test.js.map +0 -1
- package/dist/knowledge/__tests__/knowledge-transfer-auto-apply.test.d.ts +0 -2
- package/dist/knowledge/__tests__/knowledge-transfer-auto-apply.test.d.ts.map +0 -1
- package/dist/knowledge/__tests__/knowledge-transfer-auto-apply.test.js +0 -293
- package/dist/knowledge/__tests__/knowledge-transfer-auto-apply.test.js.map +0 -1
- package/dist/knowledge/__tests__/knowledge-transfer-detect.test.d.ts +0 -2
- package/dist/knowledge/__tests__/knowledge-transfer-detect.test.d.ts.map +0 -1
- package/dist/knowledge/__tests__/knowledge-transfer-detect.test.js +0 -315
- package/dist/knowledge/__tests__/knowledge-transfer-detect.test.js.map +0 -1
- package/dist/knowledge/__tests__/knowledge-transfer-evaluate.test.d.ts +0 -2
- package/dist/knowledge/__tests__/knowledge-transfer-evaluate.test.d.ts.map +0 -1
- package/dist/knowledge/__tests__/knowledge-transfer-evaluate.test.js +0 -593
- package/dist/knowledge/__tests__/knowledge-transfer-evaluate.test.js.map +0 -1
- package/dist/knowledge/__tests__/knowledge-transfer-incremental.test.d.ts +0 -2
- package/dist/knowledge/__tests__/knowledge-transfer-incremental.test.d.ts.map +0 -1
- package/dist/knowledge/__tests__/knowledge-transfer-incremental.test.js +0 -402
- package/dist/knowledge/__tests__/knowledge-transfer-incremental.test.js.map +0 -1
- package/dist/knowledge/__tests__/learning-cross-goal.test.d.ts +0 -2
- package/dist/knowledge/__tests__/learning-cross-goal.test.d.ts.map +0 -1
- package/dist/knowledge/__tests__/learning-cross-goal.test.js +0 -377
- package/dist/knowledge/__tests__/learning-cross-goal.test.js.map +0 -1
- package/dist/knowledge/__tests__/learning-pipeline-extraction.test.d.ts +0 -2
- package/dist/knowledge/__tests__/learning-pipeline-extraction.test.d.ts.map +0 -1
- package/dist/knowledge/__tests__/learning-pipeline-extraction.test.js +0 -622
- package/dist/knowledge/__tests__/learning-pipeline-extraction.test.js.map +0 -1
- package/dist/knowledge/__tests__/learning-pipeline-feedback.test.d.ts +0 -2
- package/dist/knowledge/__tests__/learning-pipeline-feedback.test.d.ts.map +0 -1
- package/dist/knowledge/__tests__/learning-pipeline-feedback.test.js +0 -425
- package/dist/knowledge/__tests__/learning-pipeline-feedback.test.js.map +0 -1
- package/dist/knowledge/__tests__/learning-pipeline-persistence.test.d.ts +0 -2
- package/dist/knowledge/__tests__/learning-pipeline-persistence.test.d.ts.map +0 -1
- package/dist/knowledge/__tests__/learning-pipeline-persistence.test.js +0 -928
- package/dist/knowledge/__tests__/learning-pipeline-persistence.test.js.map +0 -1
- package/dist/knowledge/__tests__/learning-pipeline-phase2.test.d.ts +0 -2
- package/dist/knowledge/__tests__/learning-pipeline-phase2.test.d.ts.map +0 -1
- package/dist/knowledge/__tests__/learning-pipeline-phase2.test.js +0 -430
- package/dist/knowledge/__tests__/learning-pipeline-phase2.test.js.map +0 -1
- package/dist/knowledge/__tests__/learning-pipeline-sharing.test.d.ts +0 -2
- package/dist/knowledge/__tests__/learning-pipeline-sharing.test.d.ts.map +0 -1
- package/dist/knowledge/__tests__/learning-pipeline-sharing.test.js +0 -411
- package/dist/knowledge/__tests__/learning-pipeline-sharing.test.js.map +0 -1
- package/dist/knowledge/__tests__/m16-integration.test.d.ts +0 -2
- package/dist/knowledge/__tests__/m16-integration.test.d.ts.map +0 -1
- package/dist/knowledge/__tests__/m16-integration.test.js +0 -332
- package/dist/knowledge/__tests__/m16-integration.test.js.map +0 -1
- package/dist/knowledge/__tests__/memory-lifecycle-phase2.test.d.ts +0 -2
- package/dist/knowledge/__tests__/memory-lifecycle-phase2.test.d.ts.map +0 -1
- package/dist/knowledge/__tests__/memory-lifecycle-phase2.test.js +0 -562
- package/dist/knowledge/__tests__/memory-lifecycle-phase2.test.js.map +0 -1
- package/dist/knowledge/__tests__/memory-lifecycle.test.d.ts +0 -2
- package/dist/knowledge/__tests__/memory-lifecycle.test.d.ts.map +0 -1
- package/dist/knowledge/__tests__/memory-lifecycle.test.js +0 -432
- package/dist/knowledge/__tests__/memory-lifecycle.test.js.map +0 -1
- package/dist/knowledge/__tests__/memory-selection.test.d.ts +0 -2
- package/dist/knowledge/__tests__/memory-selection.test.d.ts.map +0 -1
- package/dist/knowledge/__tests__/memory-selection.test.js +0 -423
- package/dist/knowledge/__tests__/memory-selection.test.js.map +0 -1
- package/dist/knowledge/__tests__/memory-tier.test.d.ts +0 -2
- package/dist/knowledge/__tests__/memory-tier.test.d.ts.map +0 -1
- package/dist/knowledge/__tests__/memory-tier.test.js +0 -413
- package/dist/knowledge/__tests__/memory-tier.test.js.map +0 -1
- package/dist/knowledge/__tests__/transfer-trust.test.d.ts +0 -2
- package/dist/knowledge/__tests__/transfer-trust.test.d.ts.map +0 -1
- package/dist/knowledge/__tests__/transfer-trust.test.js +0 -137
- package/dist/knowledge/__tests__/transfer-trust.test.js.map +0 -1
- package/dist/knowledge/__tests__/vector-index.test.d.ts +0 -2
- package/dist/knowledge/__tests__/vector-index.test.d.ts.map +0 -1
- package/dist/knowledge/__tests__/vector-index.test.js +0 -152
- package/dist/knowledge/__tests__/vector-index.test.js.map +0 -1
- package/dist/knowledge/drive-score-adapter.d.ts +0 -39
- package/dist/knowledge/drive-score-adapter.d.ts.map +0 -1
- package/dist/knowledge/drive-score-adapter.js +0 -32
- package/dist/knowledge/drive-score-adapter.js.map +0 -1
- package/dist/knowledge/embedding-client.d.ts +0 -49
- package/dist/knowledge/embedding-client.d.ts.map +0 -1
- package/dist/knowledge/embedding-client.js +0 -141
- package/dist/knowledge/embedding-client.js.map +0 -1
- package/dist/knowledge/knowledge-decisions.d.ts +0 -41
- package/dist/knowledge/knowledge-decisions.d.ts.map +0 -1
- package/dist/knowledge/knowledge-decisions.js +0 -191
- package/dist/knowledge/knowledge-decisions.js.map +0 -1
- package/dist/knowledge/knowledge-graph.d.ts +0 -74
- package/dist/knowledge/knowledge-graph.d.ts.map +0 -1
- package/dist/knowledge/knowledge-graph.js +0 -207
- package/dist/knowledge/knowledge-graph.js.map +0 -1
- package/dist/knowledge/knowledge-manager-query 2.d.ts +0 -87
- package/dist/knowledge/knowledge-manager-query 2.d.ts.map +0 -1
- package/dist/knowledge/knowledge-manager-query 2.js +0 -287
- package/dist/knowledge/knowledge-manager-query 2.js.map +0 -1
- package/dist/knowledge/knowledge-manager-query.d.ts +0 -87
- package/dist/knowledge/knowledge-manager-query.d.ts.map +0 -1
- package/dist/knowledge/knowledge-manager-query.js +0 -287
- package/dist/knowledge/knowledge-manager-query.js.map +0 -1
- package/dist/knowledge/knowledge-manager.d.ts +0 -121
- package/dist/knowledge/knowledge-manager.d.ts.map +0 -1
- package/dist/knowledge/knowledge-manager.js +0 -249
- package/dist/knowledge/knowledge-manager.js.map +0 -1
- package/dist/knowledge/knowledge-revalidation.d.ts +0 -27
- package/dist/knowledge/knowledge-revalidation.d.ts.map +0 -1
- package/dist/knowledge/knowledge-revalidation.js +0 -130
- package/dist/knowledge/knowledge-revalidation.js.map +0 -1
- package/dist/knowledge/knowledge-search.d.ts +0 -42
- package/dist/knowledge/knowledge-search.d.ts.map +0 -1
- package/dist/knowledge/knowledge-search.js +0 -96
- package/dist/knowledge/knowledge-search.js.map +0 -1
- package/dist/knowledge/learning/learning-cross-goal.d.ts +0 -19
- package/dist/knowledge/learning/learning-cross-goal.d.ts.map +0 -1
- package/dist/knowledge/learning/learning-cross-goal.js +0 -173
- package/dist/knowledge/learning/learning-cross-goal.js.map +0 -1
- package/dist/knowledge/learning/learning-exports.d.ts +0 -4
- package/dist/knowledge/learning/learning-exports.d.ts.map +0 -1
- package/dist/knowledge/learning/learning-exports.js +0 -3
- package/dist/knowledge/learning/learning-exports.js.map +0 -1
- package/dist/knowledge/learning/learning-feedback.d.ts +0 -26
- package/dist/knowledge/learning/learning-feedback.d.ts.map +0 -1
- package/dist/knowledge/learning/learning-feedback.js +0 -183
- package/dist/knowledge/learning/learning-feedback.js.map +0 -1
- package/dist/knowledge/learning/learning-pipeline-prompts.d.ts +0 -134
- package/dist/knowledge/learning/learning-pipeline-prompts.d.ts.map +0 -1
- package/dist/knowledge/learning/learning-pipeline-prompts.js +0 -103
- package/dist/knowledge/learning/learning-pipeline-prompts.js.map +0 -1
- package/dist/knowledge/learning/learning-pipeline.d.ts +0 -105
- package/dist/knowledge/learning/learning-pipeline.d.ts.map +0 -1
- package/dist/knowledge/learning/learning-pipeline.js +0 -465
- package/dist/knowledge/learning/learning-pipeline.js.map +0 -1
- package/dist/knowledge/memory/memory-compression.d.ts +0 -44
- package/dist/knowledge/memory/memory-compression.d.ts.map +0 -1
- package/dist/knowledge/memory/memory-compression.js +0 -291
- package/dist/knowledge/memory/memory-compression.js.map +0 -1
- package/dist/knowledge/memory/memory-distill.d.ts +0 -31
- package/dist/knowledge/memory/memory-distill.d.ts.map +0 -1
- package/dist/knowledge/memory/memory-distill.js +0 -170
- package/dist/knowledge/memory/memory-distill.js.map +0 -1
- package/dist/knowledge/memory/memory-exports.d.ts +0 -7
- package/dist/knowledge/memory/memory-exports.d.ts.map +0 -1
- package/dist/knowledge/memory/memory-exports.js +0 -6
- package/dist/knowledge/memory/memory-exports.js.map +0 -1
- package/dist/knowledge/memory/memory-index.d.ts +0 -11
- package/dist/knowledge/memory/memory-index.d.ts.map +0 -1
- package/dist/knowledge/memory/memory-index.js +0 -134
- package/dist/knowledge/memory/memory-index.js.map +0 -1
- package/dist/knowledge/memory/memory-lifecycle.d.ts +0 -169
- package/dist/knowledge/memory/memory-lifecycle.d.ts.map +0 -1
- package/dist/knowledge/memory/memory-lifecycle.js +0 -402
- package/dist/knowledge/memory/memory-lifecycle.js.map +0 -1
- package/dist/knowledge/memory/memory-persistence.d.ts +0 -30
- package/dist/knowledge/memory/memory-persistence.d.ts.map +0 -1
- package/dist/knowledge/memory/memory-persistence.js +0 -135
- package/dist/knowledge/memory/memory-persistence.js.map +0 -1
- package/dist/knowledge/memory/memory-query.d.ts +0 -4
- package/dist/knowledge/memory/memory-query.d.ts.map +0 -1
- package/dist/knowledge/memory/memory-query.js +0 -64
- package/dist/knowledge/memory/memory-query.js.map +0 -1
- package/dist/knowledge/memory/memory-selection.d.ts +0 -73
- package/dist/knowledge/memory/memory-selection.d.ts.map +0 -1
- package/dist/knowledge/memory/memory-selection.js +0 -328
- package/dist/knowledge/memory/memory-selection.js.map +0 -1
- package/dist/knowledge/memory/memory-stats.d.ts +0 -7
- package/dist/knowledge/memory/memory-stats.d.ts.map +0 -1
- package/dist/knowledge/memory/memory-stats.js +0 -162
- package/dist/knowledge/memory/memory-stats.js.map +0 -1
- package/dist/knowledge/memory/memory-tier.d.ts +0 -65
- package/dist/knowledge/memory/memory-tier.d.ts.map +0 -1
- package/dist/knowledge/memory/memory-tier.js +0 -243
- package/dist/knowledge/memory/memory-tier.js.map +0 -1
- package/dist/knowledge/transfer/knowledge-transfer-apply.d.ts +0 -48
- package/dist/knowledge/transfer/knowledge-transfer-apply.d.ts.map +0 -1
- package/dist/knowledge/transfer/knowledge-transfer-apply.js +0 -221
- package/dist/knowledge/transfer/knowledge-transfer-apply.js.map +0 -1
- package/dist/knowledge/transfer/knowledge-transfer-detect.d.ts +0 -28
- package/dist/knowledge/transfer/knowledge-transfer-detect.d.ts.map +0 -1
- package/dist/knowledge/transfer/knowledge-transfer-detect.js +0 -128
- package/dist/knowledge/transfer/knowledge-transfer-detect.js.map +0 -1
- package/dist/knowledge/transfer/knowledge-transfer-evaluate.d.ts +0 -22
- package/dist/knowledge/transfer/knowledge-transfer-evaluate.d.ts.map +0 -1
- package/dist/knowledge/transfer/knowledge-transfer-evaluate.js +0 -109
- package/dist/knowledge/transfer/knowledge-transfer-evaluate.js.map +0 -1
- package/dist/knowledge/transfer/knowledge-transfer-meta.d.ts +0 -38
- package/dist/knowledge/transfer/knowledge-transfer-meta.d.ts.map +0 -1
- package/dist/knowledge/transfer/knowledge-transfer-meta.js +0 -180
- package/dist/knowledge/transfer/knowledge-transfer-meta.js.map +0 -1
- package/dist/knowledge/transfer/knowledge-transfer-prompts.d.ts +0 -46
- package/dist/knowledge/transfer/knowledge-transfer-prompts.d.ts.map +0 -1
- package/dist/knowledge/transfer/knowledge-transfer-prompts.js +0 -75
- package/dist/knowledge/transfer/knowledge-transfer-prompts.js.map +0 -1
- package/dist/knowledge/transfer/knowledge-transfer-types.d.ts +0 -20
- package/dist/knowledge/transfer/knowledge-transfer-types.d.ts.map +0 -1
- package/dist/knowledge/transfer/knowledge-transfer-types.js +0 -25
- package/dist/knowledge/transfer/knowledge-transfer-types.js.map +0 -1
- package/dist/knowledge/transfer/knowledge-transfer.d.ts +0 -83
- package/dist/knowledge/transfer/knowledge-transfer.d.ts.map +0 -1
- package/dist/knowledge/transfer/knowledge-transfer.js +0 -140
- package/dist/knowledge/transfer/knowledge-transfer.js.map +0 -1
- package/dist/knowledge/transfer/transfer-trust.d.ts +0 -40
- package/dist/knowledge/transfer/transfer-trust.d.ts.map +0 -1
- package/dist/knowledge/transfer/transfer-trust.js +0 -137
- package/dist/knowledge/transfer/transfer-trust.js.map +0 -1
- package/dist/knowledge/types/embedding.d.ts +0 -59
- package/dist/knowledge/types/embedding.d.ts.map +0 -1
- package/dist/knowledge/types/embedding.js +0 -22
- package/dist/knowledge/types/embedding.js.map +0 -1
- package/dist/knowledge/types/knowledge.d.ts +0 -402
- package/dist/knowledge/types/knowledge.d.ts.map +0 -1
- package/dist/knowledge/types/knowledge.js +0 -116
- package/dist/knowledge/types/knowledge.js.map +0 -1
- package/dist/knowledge/types/learning.d.ts +0 -292
- package/dist/knowledge/types/learning.d.ts.map +0 -1
- package/dist/knowledge/types/learning.js +0 -117
- package/dist/knowledge/types/learning.js.map +0 -1
- package/dist/knowledge/types/memory-lifecycle.d.ts +0 -615
- package/dist/knowledge/types/memory-lifecycle.d.ts.map +0 -1
- package/dist/knowledge/types/memory-lifecycle.js +0 -159
- package/dist/knowledge/types/memory-lifecycle.js.map +0 -1
- package/dist/knowledge/vector-index.d.ts +0 -65
- package/dist/knowledge/vector-index.d.ts.map +0 -1
- package/dist/knowledge/vector-index.js +0 -158
- package/dist/knowledge/vector-index.js.map +0 -1
- package/dist/llm/base-llm-client.d.ts +0 -83
- package/dist/llm/base-llm-client.d.ts.map +0 -1
- package/dist/llm/base-llm-client.js +0 -210
- package/dist/llm/base-llm-client.js.map +0 -1
- package/dist/llm/codex-llm-client.d.ts +0 -43
- package/dist/llm/codex-llm-client.d.ts.map +0 -1
- package/dist/llm/codex-llm-client.js +0 -188
- package/dist/llm/codex-llm-client.js.map +0 -1
- package/dist/llm/json-sanitizer.d.ts +0 -34
- package/dist/llm/json-sanitizer.d.ts.map +0 -1
- package/dist/llm/json-sanitizer.js +0 -110
- package/dist/llm/json-sanitizer.js.map +0 -1
- package/dist/llm/llm-client.d.ts +0 -86
- package/dist/llm/llm-client.d.ts.map +0 -1
- package/dist/llm/llm-client.js +0 -205
- package/dist/llm/llm-client.js.map +0 -1
- package/dist/llm/ollama-client.d.ts +0 -27
- package/dist/llm/ollama-client.d.ts.map +0 -1
- package/dist/llm/ollama-client.js +0 -111
- package/dist/llm/ollama-client.js.map +0 -1
- package/dist/llm/openai-client.d.ts +0 -37
- package/dist/llm/openai-client.d.ts.map +0 -1
- package/dist/llm/openai-client.js +0 -156
- package/dist/llm/openai-client.js.map +0 -1
- package/dist/llm/provider-config.d.ts +0 -102
- package/dist/llm/provider-config.d.ts.map +0 -1
- package/dist/llm/provider-config.js +0 -320
- package/dist/llm/provider-config.js.map +0 -1
- package/dist/llm/provider-factory.d.ts +0 -24
- package/dist/llm/provider-factory.d.ts.map +0 -1
- package/dist/llm/provider-factory.js +0 -134
- package/dist/llm/provider-factory.js.map +0 -1
- package/dist/loop/__tests__/core-loop-auto-decompose.test.d.ts +0 -2
- package/dist/loop/__tests__/core-loop-auto-decompose.test.d.ts.map +0 -1
- package/dist/loop/__tests__/core-loop-auto-decompose.test.js +0 -324
- package/dist/loop/__tests__/core-loop-auto-decompose.test.js.map +0 -1
- package/dist/loop/__tests__/core-loop-capability.test.d.ts +0 -2
- package/dist/loop/__tests__/core-loop-capability.test.d.ts.map +0 -1
- package/dist/loop/__tests__/core-loop-capability.test.js +0 -362
- package/dist/loop/__tests__/core-loop-capability.test.js.map +0 -1
- package/dist/loop/__tests__/core-loop-checkpoint.test.d.ts +0 -2
- package/dist/loop/__tests__/core-loop-checkpoint.test.d.ts.map +0 -1
- package/dist/loop/__tests__/core-loop-checkpoint.test.js +0 -323
- package/dist/loop/__tests__/core-loop-checkpoint.test.js.map +0 -1
- package/dist/loop/__tests__/core-loop-drive-context.test.d.ts +0 -2
- package/dist/loop/__tests__/core-loop-drive-context.test.d.ts.map +0 -1
- package/dist/loop/__tests__/core-loop-drive-context.test.js +0 -349
- package/dist/loop/__tests__/core-loop-drive-context.test.js.map +0 -1
- package/dist/loop/__tests__/core-loop-flow.test.d.ts +0 -2
- package/dist/loop/__tests__/core-loop-flow.test.d.ts.map +0 -1
- package/dist/loop/__tests__/core-loop-flow.test.js +0 -676
- package/dist/loop/__tests__/core-loop-flow.test.js.map +0 -1
- package/dist/loop/__tests__/core-loop-integration.test.d.ts +0 -11
- package/dist/loop/__tests__/core-loop-integration.test.d.ts.map +0 -1
- package/dist/loop/__tests__/core-loop-integration.test.js +0 -295
- package/dist/loop/__tests__/core-loop-integration.test.js.map +0 -1
- package/dist/loop/__tests__/core-loop-integrations.test.d.ts +0 -2
- package/dist/loop/__tests__/core-loop-integrations.test.d.ts.map +0 -1
- package/dist/loop/__tests__/core-loop-integrations.test.js +0 -658
- package/dist/loop/__tests__/core-loop-integrations.test.js.map +0 -1
- package/dist/loop/__tests__/core-loop-iteration.test.d.ts +0 -2
- package/dist/loop/__tests__/core-loop-iteration.test.d.ts.map +0 -1
- package/dist/loop/__tests__/core-loop-iteration.test.js +0 -484
- package/dist/loop/__tests__/core-loop-iteration.test.js.map +0 -1
- package/dist/loop/__tests__/core-loop-memory-tier.test.d.ts +0 -11
- package/dist/loop/__tests__/core-loop-memory-tier.test.d.ts.map +0 -1
- package/dist/loop/__tests__/core-loop-memory-tier.test.js +0 -325
- package/dist/loop/__tests__/core-loop-memory-tier.test.js.map +0 -1
- package/dist/loop/__tests__/core-loop-orchestrator-regression.test.d.ts +0 -2
- package/dist/loop/__tests__/core-loop-orchestrator-regression.test.d.ts.map +0 -1
- package/dist/loop/__tests__/core-loop-orchestrator-regression.test.js +0 -360
- package/dist/loop/__tests__/core-loop-orchestrator-regression.test.js.map +0 -1
- package/dist/loop/__tests__/core-loop-reporting.test.d.ts +0 -2
- package/dist/loop/__tests__/core-loop-reporting.test.d.ts.map +0 -1
- package/dist/loop/__tests__/core-loop-reporting.test.js +0 -589
- package/dist/loop/__tests__/core-loop-reporting.test.js.map +0 -1
- package/dist/loop/__tests__/core-loop-stall-refine.test.d.ts +0 -15
- package/dist/loop/__tests__/core-loop-stall-refine.test.d.ts.map +0 -1
- package/dist/loop/__tests__/core-loop-stall-refine.test.js +0 -399
- package/dist/loop/__tests__/core-loop-stall-refine.test.js.map +0 -1
- package/dist/loop/__tests__/core-loop-tree.test.d.ts +0 -2
- package/dist/loop/__tests__/core-loop-tree.test.d.ts.map +0 -1
- package/dist/loop/__tests__/core-loop-tree.test.js +0 -626
- package/dist/loop/__tests__/core-loop-tree.test.js.map +0 -1
- package/dist/loop/__tests__/core-loop.test.d.ts +0 -2
- package/dist/loop/__tests__/core-loop.test.d.ts.map +0 -1
- package/dist/loop/__tests__/core-loop.test.js +0 -550
- package/dist/loop/__tests__/core-loop.test.js.map +0 -1
- package/dist/loop/__tests__/iteration-budget.test.d.ts +0 -2
- package/dist/loop/__tests__/iteration-budget.test.d.ts.map +0 -1
- package/dist/loop/__tests__/iteration-budget.test.js +0 -423
- package/dist/loop/__tests__/iteration-budget.test.js.map +0 -1
- package/dist/loop/__tests__/r1-core-loop-completion.test.d.ts +0 -11
- package/dist/loop/__tests__/r1-core-loop-completion.test.d.ts.map +0 -1
- package/dist/loop/__tests__/r1-core-loop-completion.test.js +0 -315
- package/dist/loop/__tests__/r1-core-loop-completion.test.js.map +0 -1
- package/dist/loop/checkpoint-manager-loop.d.ts +0 -28
- package/dist/loop/checkpoint-manager-loop.d.ts.map +0 -1
- package/dist/loop/checkpoint-manager-loop.js +0 -62
- package/dist/loop/checkpoint-manager-loop.js.map +0 -1
- package/dist/loop/core-loop-capability.d.ts +0 -19
- package/dist/loop/core-loop-capability.d.ts.map +0 -1
- package/dist/loop/core-loop-capability.js +0 -107
- package/dist/loop/core-loop-capability.js.map +0 -1
- package/dist/loop/core-loop-learning.d.ts +0 -34
- package/dist/loop/core-loop-learning.d.ts.map +0 -1
- package/dist/loop/core-loop-learning.js +0 -78
- package/dist/loop/core-loop-learning.js.map +0 -1
- package/dist/loop/core-loop-phases-b.d.ts +0 -31
- package/dist/loop/core-loop-phases-b.d.ts.map +0 -1
- package/dist/loop/core-loop-phases-b.js +0 -458
- package/dist/loop/core-loop-phases-b.js.map +0 -1
- package/dist/loop/core-loop-phases-c.d.ts +0 -27
- package/dist/loop/core-loop-phases-c.d.ts.map +0 -1
- package/dist/loop/core-loop-phases-c.js +0 -72
- package/dist/loop/core-loop-phases-c.js.map +0 -1
- package/dist/loop/core-loop-phases.d.ts +0 -57
- package/dist/loop/core-loop-phases.d.ts.map +0 -1
- package/dist/loop/core-loop-phases.js +0 -290
- package/dist/loop/core-loop-phases.js.map +0 -1
- package/dist/loop/core-loop-types.d.ts +0 -277
- package/dist/loop/core-loop-types.d.ts.map +0 -1
- package/dist/loop/core-loop-types.js +0 -64
- package/dist/loop/core-loop-types.js.map +0 -1
- package/dist/loop/core-loop.d.ts +0 -54
- package/dist/loop/core-loop.d.ts.map +0 -1
- package/dist/loop/core-loop.js +0 -353
- package/dist/loop/core-loop.js.map +0 -1
- package/dist/loop/iteration-budget.d.ts +0 -39
- package/dist/loop/iteration-budget.d.ts.map +0 -1
- package/dist/loop/iteration-budget.js +0 -57
- package/dist/loop/iteration-budget.js.map +0 -1
- package/dist/loop/loop-report-helper.d.ts +0 -14
- package/dist/loop/loop-report-helper.d.ts.map +0 -1
- package/dist/loop/loop-report-helper.js +0 -57
- package/dist/loop/loop-report-helper.js.map +0 -1
- package/dist/loop/parallel-dispatch.d.ts +0 -16
- package/dist/loop/parallel-dispatch.d.ts.map +0 -1
- package/dist/loop/parallel-dispatch.js +0 -103
- package/dist/loop/parallel-dispatch.js.map +0 -1
- package/dist/loop/post-loop-hooks.d.ts +0 -27
- package/dist/loop/post-loop-hooks.d.ts.map +0 -1
- package/dist/loop/post-loop-hooks.js +0 -99
- package/dist/loop/post-loop-hooks.js.map +0 -1
- package/dist/loop/state-diff.d.ts +0 -41
- package/dist/loop/state-diff.d.ts.map +0 -1
- package/dist/loop/state-diff.js +0 -86
- package/dist/loop/state-diff.js.map +0 -1
- package/dist/loop/tree-loop-runner.d.ts +0 -24
- package/dist/loop/tree-loop-runner.d.ts.map +0 -1
- package/dist/loop/tree-loop-runner.js +0 -169
- package/dist/loop/tree-loop-runner.js.map +0 -1
- package/dist/mcp-server/__tests__/mcp-server.test.d.ts +0 -2
- package/dist/mcp-server/__tests__/mcp-server.test.d.ts.map +0 -1
- package/dist/mcp-server/__tests__/mcp-server.test.js +0 -180
- package/dist/mcp-server/__tests__/mcp-server.test.js.map +0 -1
- package/dist/mcp-server/index.d.ts +0 -4
- package/dist/mcp-server/index.d.ts.map +0 -1
- package/dist/mcp-server/index.js +0 -66
- package/dist/mcp-server/index.js.map +0 -1
- package/dist/mcp-server/tools.d.ts +0 -35
- package/dist/mcp-server/tools.d.ts.map +0 -1
- package/dist/mcp-server/tools.js +0 -160
- package/dist/mcp-server/tools.js.map +0 -1
- package/dist/observation/__tests__/capability-dependency.test.d.ts +0 -2
- package/dist/observation/__tests__/capability-dependency.test.d.ts.map +0 -1
- package/dist/observation/__tests__/capability-dependency.test.js +0 -195
- package/dist/observation/__tests__/capability-dependency.test.js.map +0 -1
- package/dist/observation/__tests__/capability-detector-detect.test.d.ts +0 -2
- package/dist/observation/__tests__/capability-detector-detect.test.d.ts.map +0 -1
- package/dist/observation/__tests__/capability-detector-detect.test.js +0 -357
- package/dist/observation/__tests__/capability-detector-detect.test.js.map +0 -1
- package/dist/observation/__tests__/capability-detector-escalate.test.d.ts +0 -2
- package/dist/observation/__tests__/capability-detector-escalate.test.d.ts.map +0 -1
- package/dist/observation/__tests__/capability-detector-escalate.test.js +0 -283
- package/dist/observation/__tests__/capability-detector-escalate.test.js.map +0 -1
- package/dist/observation/__tests__/capability-detector-goal.test.d.ts +0 -2
- package/dist/observation/__tests__/capability-detector-goal.test.d.ts.map +0 -1
- package/dist/observation/__tests__/capability-detector-goal.test.js +0 -288
- package/dist/observation/__tests__/capability-detector-goal.test.js.map +0 -1
- package/dist/observation/__tests__/capability-detector-verify.test.d.ts +0 -2
- package/dist/observation/__tests__/capability-detector-verify.test.d.ts.map +0 -1
- package/dist/observation/__tests__/capability-detector-verify.test.js +0 -311
- package/dist/observation/__tests__/capability-detector-verify.test.js.map +0 -1
- package/dist/observation/__tests__/context-provider.test.d.ts +0 -2
- package/dist/observation/__tests__/context-provider.test.d.ts.map +0 -1
- package/dist/observation/__tests__/context-provider.test.js +0 -318
- package/dist/observation/__tests__/context-provider.test.js.map +0 -1
- package/dist/observation/__tests__/data-source-adapter.test.d.ts +0 -2
- package/dist/observation/__tests__/data-source-adapter.test.d.ts.map +0 -1
- package/dist/observation/__tests__/data-source-adapter.test.js +0 -382
- package/dist/observation/__tests__/data-source-adapter.test.js.map +0 -1
- package/dist/observation/__tests__/data-source-hotplug.test.d.ts +0 -2
- package/dist/observation/__tests__/data-source-hotplug.test.d.ts.map +0 -1
- package/dist/observation/__tests__/data-source-hotplug.test.js +0 -160
- package/dist/observation/__tests__/data-source-hotplug.test.js.map +0 -1
- package/dist/observation/__tests__/observation-crossvalidation-override.test.d.ts +0 -2
- package/dist/observation/__tests__/observation-crossvalidation-override.test.d.ts.map +0 -1
- package/dist/observation/__tests__/observation-crossvalidation-override.test.js +0 -339
- package/dist/observation/__tests__/observation-crossvalidation-override.test.js.map +0 -1
- package/dist/observation/__tests__/observation-engine-context.test.d.ts +0 -2
- package/dist/observation/__tests__/observation-engine-context.test.d.ts.map +0 -1
- package/dist/observation/__tests__/observation-engine-context.test.js +0 -258
- package/dist/observation/__tests__/observation-engine-context.test.js.map +0 -1
- package/dist/observation/__tests__/observation-engine-crossvalidation.test.d.ts +0 -2
- package/dist/observation/__tests__/observation-engine-crossvalidation.test.d.ts.map +0 -1
- package/dist/observation/__tests__/observation-engine-crossvalidation.test.js +0 -222
- package/dist/observation/__tests__/observation-engine-crossvalidation.test.js.map +0 -1
- package/dist/observation/__tests__/observation-engine-dedup.test.d.ts +0 -2
- package/dist/observation/__tests__/observation-engine-dedup.test.d.ts.map +0 -1
- package/dist/observation/__tests__/observation-engine-dedup.test.js +0 -88
- package/dist/observation/__tests__/observation-engine-dedup.test.js.map +0 -1
- package/dist/observation/__tests__/observation-engine-llm.test.d.ts +0 -2
- package/dist/observation/__tests__/observation-engine-llm.test.d.ts.map +0 -1
- package/dist/observation/__tests__/observation-engine-llm.test.js +0 -474
- package/dist/observation/__tests__/observation-engine-llm.test.js.map +0 -1
- package/dist/observation/__tests__/observation-engine-prompt.test.d.ts +0 -2
- package/dist/observation/__tests__/observation-engine-prompt.test.d.ts.map +0 -1
- package/dist/observation/__tests__/observation-engine-prompt.test.js +0 -211
- package/dist/observation/__tests__/observation-engine-prompt.test.js.map +0 -1
- package/dist/observation/__tests__/observation-engine.test.d.ts +0 -2
- package/dist/observation/__tests__/observation-engine.test.d.ts.map +0 -1
- package/dist/observation/__tests__/observation-engine.test.js +0 -806
- package/dist/observation/__tests__/observation-engine.test.js.map +0 -1
- package/dist/observation/__tests__/observation-llm-guard.test.d.ts +0 -2
- package/dist/observation/__tests__/observation-llm-guard.test.d.ts.map +0 -1
- package/dist/observation/__tests__/observation-llm-guard.test.js +0 -353
- package/dist/observation/__tests__/observation-llm-guard.test.js.map +0 -1
- package/dist/observation/__tests__/observation-llm.test.d.ts +0 -2
- package/dist/observation/__tests__/observation-llm.test.d.ts.map +0 -1
- package/dist/observation/__tests__/observation-llm.test.js +0 -29
- package/dist/observation/__tests__/observation-llm.test.js.map +0 -1
- package/dist/observation/__tests__/observation-score-clamp.test.d.ts +0 -2
- package/dist/observation/__tests__/observation-score-clamp.test.d.ts.map +0 -1
- package/dist/observation/__tests__/observation-score-clamp.test.js +0 -165
- package/dist/observation/__tests__/observation-score-clamp.test.js.map +0 -1
- package/dist/observation/__tests__/shell-datasource-auto.test.d.ts +0 -2
- package/dist/observation/__tests__/shell-datasource-auto.test.d.ts.map +0 -1
- package/dist/observation/__tests__/shell-datasource-auto.test.js +0 -217
- package/dist/observation/__tests__/shell-datasource-auto.test.js.map +0 -1
- package/dist/observation/__tests__/workspace-context.test.d.ts +0 -2
- package/dist/observation/__tests__/workspace-context.test.d.ts.map +0 -1
- package/dist/observation/__tests__/workspace-context.test.js +0 -291
- package/dist/observation/__tests__/workspace-context.test.js.map +0 -1
- package/dist/observation/capability-dependencies.d.ts +0 -45
- package/dist/observation/capability-dependencies.d.ts.map +0 -1
- package/dist/observation/capability-dependencies.js +0 -208
- package/dist/observation/capability-dependencies.js.map +0 -1
- package/dist/observation/capability-detector.d.ts +0 -72
- package/dist/observation/capability-detector.d.ts.map +0 -1
- package/dist/observation/capability-detector.js +0 -373
- package/dist/observation/capability-detector.js.map +0 -1
- package/dist/observation/capability-registry.d.ts +0 -48
- package/dist/observation/capability-registry.d.ts.map +0 -1
- package/dist/observation/capability-registry.js +0 -135
- package/dist/observation/capability-registry.js.map +0 -1
- package/dist/observation/context-provider.d.ts +0 -54
- package/dist/observation/context-provider.d.ts.map +0 -1
- package/dist/observation/context-provider.js +0 -312
- package/dist/observation/context-provider.js.map +0 -1
- package/dist/observation/data-source-adapter.d.ts +0 -42
- package/dist/observation/data-source-adapter.d.ts.map +0 -1
- package/dist/observation/data-source-adapter.js +0 -227
- package/dist/observation/data-source-adapter.js.map +0 -1
- package/dist/observation/dimension-pre-checker.d.ts +0 -24
- package/dist/observation/dimension-pre-checker.d.ts.map +0 -1
- package/dist/observation/dimension-pre-checker.js +0 -104
- package/dist/observation/dimension-pre-checker.js.map +0 -1
- package/dist/observation/observation-apply.d.ts +0 -18
- package/dist/observation/observation-apply.d.ts.map +0 -1
- package/dist/observation/observation-apply.js +0 -184
- package/dist/observation/observation-apply.js.map +0 -1
- package/dist/observation/observation-datasource.d.ts +0 -21
- package/dist/observation/observation-datasource.d.ts.map +0 -1
- package/dist/observation/observation-datasource.js +0 -103
- package/dist/observation/observation-datasource.js.map +0 -1
- package/dist/observation/observation-engine.d.ts +0 -160
- package/dist/observation/observation-engine.d.ts.map +0 -1
- package/dist/observation/observation-engine.js +0 -490
- package/dist/observation/observation-engine.js.map +0 -1
- package/dist/observation/observation-helpers.d.ts +0 -114
- package/dist/observation/observation-helpers.d.ts.map +0 -1
- package/dist/observation/observation-helpers.js +0 -173
- package/dist/observation/observation-helpers.js.map +0 -1
- package/dist/observation/observation-llm.d.ts +0 -63
- package/dist/observation/observation-llm.d.ts.map +0 -1
- package/dist/observation/observation-llm.js +0 -407
- package/dist/observation/observation-llm.js.map +0 -1
- package/dist/observation/observation-task.d.ts +0 -29
- package/dist/observation/observation-task.d.ts.map +0 -1
- package/dist/observation/observation-task.js +0 -51
- package/dist/observation/observation-task.js.map +0 -1
- package/dist/observation/types/capability.d.ts +0 -292
- package/dist/observation/types/capability.d.ts.map +0 -1
- package/dist/observation/types/capability.js +0 -53
- package/dist/observation/types/capability.js.map +0 -1
- package/dist/observation/types/data-source.d.ts +0 -311
- package/dist/observation/types/data-source.d.ts.map +0 -1
- package/dist/observation/types/data-source.js +0 -53
- package/dist/observation/types/data-source.js.map +0 -1
- package/dist/observation/workspace-context.d.ts +0 -8
- package/dist/observation/workspace-context.d.ts.map +0 -1
- package/dist/observation/workspace-context.js +0 -308
- package/dist/observation/workspace-context.js.map +0 -1
- package/dist/orchestrator/__tests__/goal-loop-guard.test.d.ts +0 -2
- package/dist/orchestrator/__tests__/goal-loop-guard.test.d.ts.map +0 -1
- package/dist/orchestrator/__tests__/goal-loop-guard.test.js +0 -48
- package/dist/orchestrator/__tests__/goal-loop-guard.test.js.map +0 -1
- package/dist/orchestrator/execution/__tests__/adapter-layer.test.d.ts +0 -2
- package/dist/orchestrator/execution/__tests__/adapter-layer.test.d.ts.map +0 -1
- package/dist/orchestrator/execution/__tests__/adapter-layer.test.js +0 -88
- package/dist/orchestrator/execution/__tests__/adapter-layer.test.js.map +0 -1
- package/dist/orchestrator/execution/__tests__/checkpoint-manager.test.d.ts +0 -2
- package/dist/orchestrator/execution/__tests__/checkpoint-manager.test.d.ts.map +0 -1
- package/dist/orchestrator/execution/__tests__/checkpoint-manager.test.js +0 -304
- package/dist/orchestrator/execution/__tests__/checkpoint-manager.test.js.map +0 -1
- package/dist/orchestrator/execution/__tests__/completion-judger-timeout.test.d.ts +0 -11
- package/dist/orchestrator/execution/__tests__/completion-judger-timeout.test.d.ts.map +0 -1
- package/dist/orchestrator/execution/__tests__/completion-judger-timeout.test.js +0 -260
- package/dist/orchestrator/execution/__tests__/completion-judger-timeout.test.js.map +0 -1
- package/dist/orchestrator/execution/__tests__/context-budget.test.d.ts +0 -2
- package/dist/orchestrator/execution/__tests__/context-budget.test.d.ts.map +0 -1
- package/dist/orchestrator/execution/__tests__/context-budget.test.js +0 -218
- package/dist/orchestrator/execution/__tests__/context-budget.test.js.map +0 -1
- package/dist/orchestrator/execution/__tests__/duplicate-task-guard.test.d.ts +0 -2
- package/dist/orchestrator/execution/__tests__/duplicate-task-guard.test.d.ts.map +0 -1
- package/dist/orchestrator/execution/__tests__/duplicate-task-guard.test.js +0 -187
- package/dist/orchestrator/execution/__tests__/duplicate-task-guard.test.js.map +0 -1
- package/dist/orchestrator/execution/__tests__/failure-context-injection.test.d.ts +0 -2
- package/dist/orchestrator/execution/__tests__/failure-context-injection.test.d.ts.map +0 -1
- package/dist/orchestrator/execution/__tests__/failure-context-injection.test.js +0 -227
- package/dist/orchestrator/execution/__tests__/failure-context-injection.test.js.map +0 -1
- package/dist/orchestrator/execution/__tests__/impact-analyzer.test.d.ts +0 -2
- package/dist/orchestrator/execution/__tests__/impact-analyzer.test.d.ts.map +0 -1
- package/dist/orchestrator/execution/__tests__/impact-analyzer.test.js +0 -117
- package/dist/orchestrator/execution/__tests__/impact-analyzer.test.js.map +0 -1
- package/dist/orchestrator/execution/__tests__/issue-context-fetcher.test.d.ts +0 -2
- package/dist/orchestrator/execution/__tests__/issue-context-fetcher.test.d.ts.map +0 -1
- package/dist/orchestrator/execution/__tests__/issue-context-fetcher.test.js +0 -151
- package/dist/orchestrator/execution/__tests__/issue-context-fetcher.test.js.map +0 -1
- package/dist/orchestrator/execution/__tests__/parallel-executor.test.d.ts +0 -2
- package/dist/orchestrator/execution/__tests__/parallel-executor.test.d.ts.map +0 -1
- package/dist/orchestrator/execution/__tests__/parallel-executor.test.js +0 -313
- package/dist/orchestrator/execution/__tests__/parallel-executor.test.js.map +0 -1
- package/dist/orchestrator/execution/__tests__/pipeline-executor.test.d.ts +0 -2
- package/dist/orchestrator/execution/__tests__/pipeline-executor.test.d.ts.map +0 -1
- package/dist/orchestrator/execution/__tests__/pipeline-executor.test.js +0 -322
- package/dist/orchestrator/execution/__tests__/pipeline-executor.test.js.map +0 -1
- package/dist/orchestrator/execution/__tests__/reflection-generator.test.d.ts +0 -2
- package/dist/orchestrator/execution/__tests__/reflection-generator.test.d.ts.map +0 -1
- package/dist/orchestrator/execution/__tests__/reflection-generator.test.js +0 -422
- package/dist/orchestrator/execution/__tests__/reflection-generator.test.js.map +0 -1
- package/dist/orchestrator/execution/__tests__/result-reconciler.test.d.ts +0 -2
- package/dist/orchestrator/execution/__tests__/result-reconciler.test.d.ts.map +0 -1
- package/dist/orchestrator/execution/__tests__/result-reconciler.test.js +0 -112
- package/dist/orchestrator/execution/__tests__/result-reconciler.test.js.map +0 -1
- package/dist/orchestrator/execution/__tests__/session-manager-phase2.test.d.ts +0 -2
- package/dist/orchestrator/execution/__tests__/session-manager-phase2.test.d.ts.map +0 -1
- package/dist/orchestrator/execution/__tests__/session-manager-phase2.test.js +0 -381
- package/dist/orchestrator/execution/__tests__/session-manager-phase2.test.js.map +0 -1
- package/dist/orchestrator/execution/__tests__/session-manager.test.d.ts +0 -2
- package/dist/orchestrator/execution/__tests__/session-manager.test.d.ts.map +0 -1
- package/dist/orchestrator/execution/__tests__/session-manager.test.js +0 -653
- package/dist/orchestrator/execution/__tests__/session-manager.test.js.map +0 -1
- package/dist/orchestrator/execution/__tests__/task-generation-group.test.d.ts +0 -2
- package/dist/orchestrator/execution/__tests__/task-generation-group.test.d.ts.map +0 -1
- package/dist/orchestrator/execution/__tests__/task-generation-group.test.js +0 -157
- package/dist/orchestrator/execution/__tests__/task-generation-group.test.js.map +0 -1
- package/dist/orchestrator/execution/__tests__/task-lifecycle-cycle.test.d.ts +0 -2
- package/dist/orchestrator/execution/__tests__/task-lifecycle-cycle.test.d.ts.map +0 -1
- package/dist/orchestrator/execution/__tests__/task-lifecycle-cycle.test.js +0 -685
- package/dist/orchestrator/execution/__tests__/task-lifecycle-cycle.test.js.map +0 -1
- package/dist/orchestrator/execution/__tests__/task-lifecycle-dimension.test.d.ts +0 -2
- package/dist/orchestrator/execution/__tests__/task-lifecycle-dimension.test.d.ts.map +0 -1
- package/dist/orchestrator/execution/__tests__/task-lifecycle-dimension.test.js +0 -325
- package/dist/orchestrator/execution/__tests__/task-lifecycle-dimension.test.js.map +0 -1
- package/dist/orchestrator/execution/__tests__/task-lifecycle-ethics.test.d.ts +0 -2
- package/dist/orchestrator/execution/__tests__/task-lifecycle-ethics.test.d.ts.map +0 -1
- package/dist/orchestrator/execution/__tests__/task-lifecycle-ethics.test.js +0 -732
- package/dist/orchestrator/execution/__tests__/task-lifecycle-ethics.test.js.map +0 -1
- package/dist/orchestrator/execution/__tests__/task-lifecycle-execution.test.d.ts +0 -2
- package/dist/orchestrator/execution/__tests__/task-lifecycle-execution.test.d.ts.map +0 -1
- package/dist/orchestrator/execution/__tests__/task-lifecycle-execution.test.js +0 -441
- package/dist/orchestrator/execution/__tests__/task-lifecycle-execution.test.js.map +0 -1
- package/dist/orchestrator/execution/__tests__/task-lifecycle-generation.test.d.ts +0 -2
- package/dist/orchestrator/execution/__tests__/task-lifecycle-generation.test.d.ts.map +0 -1
- package/dist/orchestrator/execution/__tests__/task-lifecycle-generation.test.js +0 -457
- package/dist/orchestrator/execution/__tests__/task-lifecycle-generation.test.js.map +0 -1
- package/dist/orchestrator/execution/__tests__/task-lifecycle-healthcheck.test.d.ts +0 -2
- package/dist/orchestrator/execution/__tests__/task-lifecycle-healthcheck.test.d.ts.map +0 -1
- package/dist/orchestrator/execution/__tests__/task-lifecycle-healthcheck.test.js +0 -325
- package/dist/orchestrator/execution/__tests__/task-lifecycle-healthcheck.test.js.map +0 -1
- package/dist/orchestrator/execution/__tests__/task-lifecycle-verdict.test.d.ts +0 -2
- package/dist/orchestrator/execution/__tests__/task-lifecycle-verdict.test.d.ts.map +0 -1
- package/dist/orchestrator/execution/__tests__/task-lifecycle-verdict.test.js +0 -683
- package/dist/orchestrator/execution/__tests__/task-lifecycle-verdict.test.js.map +0 -1
- package/dist/orchestrator/execution/__tests__/task-lifecycle-verification.test.d.ts +0 -2
- package/dist/orchestrator/execution/__tests__/task-lifecycle-verification.test.d.ts.map +0 -1
- package/dist/orchestrator/execution/__tests__/task-lifecycle-verification.test.js +0 -526
- package/dist/orchestrator/execution/__tests__/task-lifecycle-verification.test.js.map +0 -1
- package/dist/orchestrator/execution/__tests__/task-lifecycle.test.d.ts +0 -2
- package/dist/orchestrator/execution/__tests__/task-lifecycle.test.d.ts.map +0 -1
- package/dist/orchestrator/execution/__tests__/task-lifecycle.test.js +0 -503
- package/dist/orchestrator/execution/__tests__/task-lifecycle.test.js.map +0 -1
- package/dist/orchestrator/execution/__tests__/task-prompt-builder.test.d.ts +0 -2
- package/dist/orchestrator/execution/__tests__/task-prompt-builder.test.d.ts.map +0 -1
- package/dist/orchestrator/execution/__tests__/task-prompt-builder.test.js +0 -148
- package/dist/orchestrator/execution/__tests__/task-prompt-builder.test.js.map +0 -1
- package/dist/orchestrator/execution/__tests__/task-verifier-guards.test.d.ts +0 -2
- package/dist/orchestrator/execution/__tests__/task-verifier-guards.test.d.ts.map +0 -1
- package/dist/orchestrator/execution/__tests__/task-verifier-guards.test.js +0 -735
- package/dist/orchestrator/execution/__tests__/task-verifier-guards.test.js.map +0 -1
- package/dist/orchestrator/execution/__tests__/task-verifier.test.d.ts +0 -2
- package/dist/orchestrator/execution/__tests__/task-verifier.test.d.ts.map +0 -1
- package/dist/orchestrator/execution/__tests__/task-verifier.test.js +0 -113
- package/dist/orchestrator/execution/__tests__/task-verifier.test.js.map +0 -1
- package/dist/orchestrator/execution/__tests__/toolset-lock.test.d.ts +0 -2
- package/dist/orchestrator/execution/__tests__/toolset-lock.test.d.ts.map +0 -1
- package/dist/orchestrator/execution/__tests__/toolset-lock.test.js +0 -204
- package/dist/orchestrator/execution/__tests__/toolset-lock.test.js.map +0 -1
- package/dist/orchestrator/execution/adapter-layer 2.d.ts +0 -100
- package/dist/orchestrator/execution/adapter-layer 2.d.ts.map +0 -1
- package/dist/orchestrator/execution/adapter-layer 2.js +0 -123
- package/dist/orchestrator/execution/adapter-layer 2.js.map +0 -1
- package/dist/orchestrator/execution/checkpoint-manager 2.d.ts +0 -49
- package/dist/orchestrator/execution/checkpoint-manager 2.d.ts.map +0 -1
- package/dist/orchestrator/execution/checkpoint-manager 2.js +0 -143
- package/dist/orchestrator/execution/checkpoint-manager 2.js.map +0 -1
- package/dist/orchestrator/execution/impact-analyzer 2.d.ts +0 -24
- package/dist/orchestrator/execution/impact-analyzer 2.d.ts.map +0 -1
- package/dist/orchestrator/execution/impact-analyzer 2.js +0 -88
- package/dist/orchestrator/execution/impact-analyzer 2.js.map +0 -1
- package/dist/orchestrator/execution/parallel-executor 2.d.ts +0 -38
- package/dist/orchestrator/execution/parallel-executor 2.d.ts.map +0 -1
- package/dist/orchestrator/execution/parallel-executor 2.js +0 -172
- package/dist/orchestrator/execution/parallel-executor 2.js.map +0 -1
- package/dist/orchestrator/execution/pipeline-executor 2.d.ts +0 -54
- package/dist/orchestrator/execution/pipeline-executor 2.d.ts.map +0 -1
- package/dist/orchestrator/execution/pipeline-executor 2.js +0 -250
- package/dist/orchestrator/execution/pipeline-executor 2.js.map +0 -1
- package/dist/orchestrator/execution/reflection-generator 2.d.ts +0 -24
- package/dist/orchestrator/execution/reflection-generator 2.d.ts.map +0 -1
- package/dist/orchestrator/execution/reflection-generator 2.js +0 -143
- package/dist/orchestrator/execution/reflection-generator 2.js.map +0 -1
- package/dist/orchestrator/execution/result-reconciler 2.d.ts +0 -23
- package/dist/orchestrator/execution/result-reconciler 2.d.ts.map +0 -1
- package/dist/orchestrator/execution/result-reconciler 2.js +0 -109
- package/dist/orchestrator/execution/result-reconciler 2.js.map +0 -1
- package/dist/orchestrator/execution/session-manager 2.d.ts +0 -153
- package/dist/orchestrator/execution/session-manager 2.d.ts.map +0 -1
- package/dist/orchestrator/execution/session-manager 2.js +0 -393
- package/dist/orchestrator/execution/session-manager 2.js.map +0 -1
- package/dist/orchestrator/execution/toolset-lock 2.d.ts +0 -27
- package/dist/orchestrator/execution/toolset-lock 2.d.ts.map +0 -1
- package/dist/orchestrator/execution/toolset-lock 2.js +0 -49
- package/dist/orchestrator/execution/toolset-lock 2.js.map +0 -1
- package/dist/orchestrator/goal/__tests__/goal-cli-refine.test.d.ts +0 -8
- package/dist/orchestrator/goal/__tests__/goal-cli-refine.test.d.ts.map +0 -1
- package/dist/orchestrator/goal/__tests__/goal-cli-refine.test.js +0 -237
- package/dist/orchestrator/goal/__tests__/goal-cli-refine.test.js.map +0 -1
- package/dist/orchestrator/goal/__tests__/goal-dependency-graph.test.d.ts +0 -2
- package/dist/orchestrator/goal/__tests__/goal-dependency-graph.test.d.ts.map +0 -1
- package/dist/orchestrator/goal/__tests__/goal-dependency-graph.test.js +0 -352
- package/dist/orchestrator/goal/__tests__/goal-dependency-graph.test.js.map +0 -1
- package/dist/orchestrator/goal/__tests__/goal-negotiator-character.test.d.ts +0 -2
- package/dist/orchestrator/goal/__tests__/goal-negotiator-character.test.d.ts.map +0 -1
- package/dist/orchestrator/goal/__tests__/goal-negotiator-character.test.js +0 -650
- package/dist/orchestrator/goal/__tests__/goal-negotiator-character.test.js.map +0 -1
- package/dist/orchestrator/goal/__tests__/goal-negotiator-core.test.d.ts +0 -2
- package/dist/orchestrator/goal/__tests__/goal-negotiator-core.test.d.ts.map +0 -1
- package/dist/orchestrator/goal/__tests__/goal-negotiator-core.test.js +0 -370
- package/dist/orchestrator/goal/__tests__/goal-negotiator-core.test.js.map +0 -1
- package/dist/orchestrator/goal/__tests__/goal-negotiator-decompose.test.d.ts +0 -2
- package/dist/orchestrator/goal/__tests__/goal-negotiator-decompose.test.d.ts.map +0 -1
- package/dist/orchestrator/goal/__tests__/goal-negotiator-decompose.test.js +0 -876
- package/dist/orchestrator/goal/__tests__/goal-negotiator-decompose.test.js.map +0 -1
- package/dist/orchestrator/goal/__tests__/goal-negotiator-negotiate.test.d.ts +0 -2
- package/dist/orchestrator/goal/__tests__/goal-negotiator-negotiate.test.d.ts.map +0 -1
- package/dist/orchestrator/goal/__tests__/goal-negotiator-negotiate.test.js +0 -411
- package/dist/orchestrator/goal/__tests__/goal-negotiator-negotiate.test.js.map +0 -1
- package/dist/orchestrator/goal/__tests__/goal-negotiator-suggest-filter.test.d.ts +0 -2
- package/dist/orchestrator/goal/__tests__/goal-negotiator-suggest-filter.test.d.ts.map +0 -1
- package/dist/orchestrator/goal/__tests__/goal-negotiator-suggest-filter.test.js +0 -258
- package/dist/orchestrator/goal/__tests__/goal-negotiator-suggest-filter.test.js.map +0 -1
- package/dist/orchestrator/goal/__tests__/goal-negotiator-suggest.test.d.ts +0 -2
- package/dist/orchestrator/goal/__tests__/goal-negotiator-suggest.test.d.ts.map +0 -1
- package/dist/orchestrator/goal/__tests__/goal-negotiator-suggest.test.js +0 -280
- package/dist/orchestrator/goal/__tests__/goal-negotiator-suggest.test.js.map +0 -1
- package/dist/orchestrator/goal/__tests__/goal-refiner.refine.test.d.ts +0 -2
- package/dist/orchestrator/goal/__tests__/goal-refiner.refine.test.d.ts.map +0 -1
- package/dist/orchestrator/goal/__tests__/goal-refiner.refine.test.js +0 -291
- package/dist/orchestrator/goal/__tests__/goal-refiner.refine.test.js.map +0 -1
- package/dist/orchestrator/goal/__tests__/goal-refiner.test.d.ts +0 -2
- package/dist/orchestrator/goal/__tests__/goal-refiner.test.d.ts.map +0 -1
- package/dist/orchestrator/goal/__tests__/goal-refiner.test.js +0 -509
- package/dist/orchestrator/goal/__tests__/goal-refiner.test.js.map +0 -1
- package/dist/orchestrator/goal/__tests__/goal-suggest-timeout.test.d.ts +0 -10
- package/dist/orchestrator/goal/__tests__/goal-suggest-timeout.test.d.ts.map +0 -1
- package/dist/orchestrator/goal/__tests__/goal-suggest-timeout.test.js +0 -63
- package/dist/orchestrator/goal/__tests__/goal-suggest-timeout.test.js.map +0 -1
- package/dist/orchestrator/goal/__tests__/goal-tree-concreteness.test.d.ts +0 -2
- package/dist/orchestrator/goal/__tests__/goal-tree-concreteness.test.d.ts.map +0 -1
- package/dist/orchestrator/goal/__tests__/goal-tree-concreteness.test.js +0 -391
- package/dist/orchestrator/goal/__tests__/goal-tree-concreteness.test.js.map +0 -1
- package/dist/orchestrator/goal/__tests__/goal-tree-manager.test.d.ts +0 -2
- package/dist/orchestrator/goal/__tests__/goal-tree-manager.test.d.ts.map +0 -1
- package/dist/orchestrator/goal/__tests__/goal-tree-manager.test.js +0 -828
- package/dist/orchestrator/goal/__tests__/goal-tree-manager.test.js.map +0 -1
- package/dist/orchestrator/goal/__tests__/goal-tree-quality.test.d.ts +0 -2
- package/dist/orchestrator/goal/__tests__/goal-tree-quality.test.d.ts.map +0 -1
- package/dist/orchestrator/goal/__tests__/goal-tree-quality.test.js +0 -150
- package/dist/orchestrator/goal/__tests__/goal-tree-quality.test.js.map +0 -1
- package/dist/orchestrator/goal/__tests__/goalNegotiator.test.d.ts +0 -2
- package/dist/orchestrator/goal/__tests__/goalNegotiator.test.d.ts.map +0 -1
- package/dist/orchestrator/goal/__tests__/goalNegotiator.test.js +0 -418
- package/dist/orchestrator/goal/__tests__/goalNegotiator.test.js.map +0 -1
- package/dist/orchestrator/goal/__tests__/negotiate-context.test.d.ts +0 -2
- package/dist/orchestrator/goal/__tests__/negotiate-context.test.d.ts.map +0 -1
- package/dist/orchestrator/goal/__tests__/negotiate-context.test.js +0 -192
- package/dist/orchestrator/goal/__tests__/negotiate-context.test.js.map +0 -1
- package/dist/orchestrator/goal/__tests__/refine.test.d.ts +0 -2
- package/dist/orchestrator/goal/__tests__/refine.test.d.ts.map +0 -1
- package/dist/orchestrator/goal/__tests__/refine.test.js +0 -354
- package/dist/orchestrator/goal/__tests__/refine.test.js.map +0 -1
- package/dist/orchestrator/goal/__tests__/refiner-prompts.test.d.ts +0 -2
- package/dist/orchestrator/goal/__tests__/refiner-prompts.test.d.ts.map +0 -1
- package/dist/orchestrator/goal/__tests__/refiner-prompts.test.js +0 -92
- package/dist/orchestrator/goal/__tests__/refiner-prompts.test.js.map +0 -1
- package/dist/orchestrator/goal/__tests__/state-aggregator.test.d.ts +0 -2
- package/dist/orchestrator/goal/__tests__/state-aggregator.test.d.ts.map +0 -1
- package/dist/orchestrator/goal/__tests__/state-aggregator.test.js +0 -840
- package/dist/orchestrator/goal/__tests__/state-aggregator.test.js.map +0 -1
- package/dist/orchestrator/goal/__tests__/subgoal-curriculum.test.d.ts +0 -2
- package/dist/orchestrator/goal/__tests__/subgoal-curriculum.test.d.ts.map +0 -1
- package/dist/orchestrator/goal/__tests__/subgoal-curriculum.test.js +0 -219
- package/dist/orchestrator/goal/__tests__/subgoal-curriculum.test.js.map +0 -1
- package/dist/orchestrator/goal/__tests__/tree-loop-orchestrator.test.d.ts +0 -2
- package/dist/orchestrator/goal/__tests__/tree-loop-orchestrator.test.d.ts.map +0 -1
- package/dist/orchestrator/goal/__tests__/tree-loop-orchestrator.test.js +0 -1078
- package/dist/orchestrator/goal/__tests__/tree-loop-orchestrator.test.js.map +0 -1
- package/dist/orchestrator/goal/goal-decomposer 2.d.ts +0 -30
- package/dist/orchestrator/goal/goal-decomposer 2.d.ts.map +0 -1
- package/dist/orchestrator/goal/goal-decomposer 2.js +0 -167
- package/dist/orchestrator/goal/goal-decomposer 2.js.map +0 -1
- package/dist/orchestrator/goal/goal-dependency-graph 2.d.ts +0 -124
- package/dist/orchestrator/goal/goal-dependency-graph 2.d.ts.map +0 -1
- package/dist/orchestrator/goal/goal-dependency-graph 2.js +0 -325
- package/dist/orchestrator/goal/goal-dependency-graph 2.js.map +0 -1
- package/dist/orchestrator/goal/goal-negotiator 2.d.ts +0 -72
- package/dist/orchestrator/goal/goal-negotiator 2.d.ts.map +0 -1
- package/dist/orchestrator/goal/goal-negotiator 2.js +0 -299
- package/dist/orchestrator/goal/goal-negotiator 2.js.map +0 -1
- package/dist/orchestrator/goal/goal-refiner 2.d.ts +0 -48
- package/dist/orchestrator/goal/goal-refiner 2.d.ts.map +0 -1
- package/dist/orchestrator/goal/goal-refiner 2.js +0 -299
- package/dist/orchestrator/goal/goal-refiner 2.js.map +0 -1
- package/dist/orchestrator/goal/goal-suggest 2.d.ts +0 -93
- package/dist/orchestrator/goal/goal-suggest 2.d.ts.map +0 -1
- package/dist/orchestrator/goal/goal-suggest 2.js +0 -254
- package/dist/orchestrator/goal/goal-suggest 2.js.map +0 -1
- package/dist/orchestrator/goal/goal-tree-manager 2.d.ts +0 -72
- package/dist/orchestrator/goal/goal-tree-manager 2.d.ts.map +0 -1
- package/dist/orchestrator/goal/goal-tree-manager 2.js +0 -572
- package/dist/orchestrator/goal/goal-tree-manager 2.js.map +0 -1
- package/dist/orchestrator/goal/goal-tree-pruner 2.d.ts +0 -25
- package/dist/orchestrator/goal/goal-tree-pruner 2.d.ts.map +0 -1
- package/dist/orchestrator/goal/goal-tree-pruner 2.js +0 -93
- package/dist/orchestrator/goal/goal-tree-pruner 2.js.map +0 -1
- package/dist/orchestrator/goal/goal-tree-quality 2.d.ts +0 -22
- package/dist/orchestrator/goal/goal-tree-quality 2.d.ts.map +0 -1
- package/dist/orchestrator/goal/goal-tree-quality 2.js +0 -183
- package/dist/orchestrator/goal/goal-tree-quality 2.js.map +0 -1
- package/dist/orchestrator/goal/goal-validation 2.d.ts +0 -20
- package/dist/orchestrator/goal/goal-validation 2.d.ts.map +0 -1
- package/dist/orchestrator/goal/goal-validation 2.js +0 -93
- package/dist/orchestrator/goal/goal-validation 2.js.map +0 -1
- package/dist/orchestrator/goal/milestone-evaluator 2.d.ts +0 -33
- package/dist/orchestrator/goal/milestone-evaluator 2.d.ts.map +0 -1
- package/dist/orchestrator/goal/milestone-evaluator 2.js +0 -130
- package/dist/orchestrator/goal/milestone-evaluator 2.js.map +0 -1
- package/dist/orchestrator/goal/negotiator-context 2.d.ts +0 -13
- package/dist/orchestrator/goal/negotiator-context 2.d.ts.map +0 -1
- package/dist/orchestrator/goal/negotiator-context 2.js +0 -119
- package/dist/orchestrator/goal/negotiator-context 2.js.map +0 -1
- package/dist/orchestrator/goal/negotiator-prompts 2.d.ts +0 -31
- package/dist/orchestrator/goal/negotiator-prompts 2.d.ts.map +0 -1
- package/dist/orchestrator/goal/negotiator-prompts 2.js +0 -65
- package/dist/orchestrator/goal/negotiator-prompts 2.js.map +0 -1
- package/dist/orchestrator/goal/negotiator-steps 2.d.ts +0 -59
- package/dist/orchestrator/goal/negotiator-steps 2.d.ts.map +0 -1
- package/dist/orchestrator/goal/negotiator-steps 2.js +0 -269
- package/dist/orchestrator/goal/negotiator-steps 2.js.map +0 -1
- package/dist/orchestrator/goal/refiner-prompts 2.d.ts +0 -10
- package/dist/orchestrator/goal/refiner-prompts 2.d.ts.map +0 -1
- package/dist/orchestrator/goal/refiner-prompts 2.js +0 -59
- package/dist/orchestrator/goal/refiner-prompts 2.js.map +0 -1
- package/dist/orchestrator/goal/state-aggregator 2.d.ts +0 -89
- package/dist/orchestrator/goal/state-aggregator 2.d.ts.map +0 -1
- package/dist/orchestrator/goal/state-aggregator 2.js +0 -331
- package/dist/orchestrator/goal/state-aggregator 2.js.map +0 -1
- package/dist/orchestrator/goal/subgoal-curriculum 2.d.ts +0 -30
- package/dist/orchestrator/goal/subgoal-curriculum 2.d.ts.map +0 -1
- package/dist/orchestrator/goal/subgoal-curriculum 2.js +0 -53
- package/dist/orchestrator/goal/subgoal-curriculum 2.js.map +0 -1
- package/dist/orchestrator/goal/tree-loop-orchestrator 2.d.ts +0 -100
- package/dist/orchestrator/goal/tree-loop-orchestrator 2.d.ts.map +0 -1
- package/dist/orchestrator/goal/tree-loop-orchestrator 2.js +0 -269
- package/dist/orchestrator/goal/tree-loop-orchestrator 2.js.map +0 -1
- package/dist/orchestrator/loop/__tests__/core-loop-auto-decompose.test.d.ts +0 -2
- package/dist/orchestrator/loop/__tests__/core-loop-auto-decompose.test.d.ts.map +0 -1
- package/dist/orchestrator/loop/__tests__/core-loop-auto-decompose.test.js +0 -324
- package/dist/orchestrator/loop/__tests__/core-loop-auto-decompose.test.js.map +0 -1
- package/dist/orchestrator/loop/__tests__/core-loop-capability.test.d.ts +0 -2
- package/dist/orchestrator/loop/__tests__/core-loop-capability.test.d.ts.map +0 -1
- package/dist/orchestrator/loop/__tests__/core-loop-capability.test.js +0 -362
- package/dist/orchestrator/loop/__tests__/core-loop-capability.test.js.map +0 -1
- package/dist/orchestrator/loop/__tests__/core-loop-checkpoint.test.d.ts +0 -2
- package/dist/orchestrator/loop/__tests__/core-loop-checkpoint.test.d.ts.map +0 -1
- package/dist/orchestrator/loop/__tests__/core-loop-checkpoint.test.js +0 -323
- package/dist/orchestrator/loop/__tests__/core-loop-checkpoint.test.js.map +0 -1
- package/dist/orchestrator/loop/__tests__/core-loop-drive-context.test.d.ts +0 -2
- package/dist/orchestrator/loop/__tests__/core-loop-drive-context.test.d.ts.map +0 -1
- package/dist/orchestrator/loop/__tests__/core-loop-drive-context.test.js +0 -349
- package/dist/orchestrator/loop/__tests__/core-loop-drive-context.test.js.map +0 -1
- package/dist/orchestrator/loop/__tests__/core-loop-flow.test.d.ts +0 -2
- package/dist/orchestrator/loop/__tests__/core-loop-flow.test.d.ts.map +0 -1
- package/dist/orchestrator/loop/__tests__/core-loop-flow.test.js +0 -676
- package/dist/orchestrator/loop/__tests__/core-loop-flow.test.js.map +0 -1
- package/dist/orchestrator/loop/__tests__/core-loop-integration.test.d.ts +0 -11
- package/dist/orchestrator/loop/__tests__/core-loop-integration.test.d.ts.map +0 -1
- package/dist/orchestrator/loop/__tests__/core-loop-integration.test.js +0 -295
- package/dist/orchestrator/loop/__tests__/core-loop-integration.test.js.map +0 -1
- package/dist/orchestrator/loop/__tests__/core-loop-integrations.test.d.ts +0 -2
- package/dist/orchestrator/loop/__tests__/core-loop-integrations.test.d.ts.map +0 -1
- package/dist/orchestrator/loop/__tests__/core-loop-integrations.test.js +0 -658
- package/dist/orchestrator/loop/__tests__/core-loop-integrations.test.js.map +0 -1
- package/dist/orchestrator/loop/__tests__/core-loop-iteration.test.d.ts +0 -2
- package/dist/orchestrator/loop/__tests__/core-loop-iteration.test.d.ts.map +0 -1
- package/dist/orchestrator/loop/__tests__/core-loop-iteration.test.js +0 -484
- package/dist/orchestrator/loop/__tests__/core-loop-iteration.test.js.map +0 -1
- package/dist/orchestrator/loop/__tests__/core-loop-memory-tier.test.d.ts +0 -11
- package/dist/orchestrator/loop/__tests__/core-loop-memory-tier.test.d.ts.map +0 -1
- package/dist/orchestrator/loop/__tests__/core-loop-memory-tier.test.js +0 -325
- package/dist/orchestrator/loop/__tests__/core-loop-memory-tier.test.js.map +0 -1
- package/dist/orchestrator/loop/__tests__/core-loop-orchestrator-regression.test.d.ts +0 -2
- package/dist/orchestrator/loop/__tests__/core-loop-orchestrator-regression.test.d.ts.map +0 -1
- package/dist/orchestrator/loop/__tests__/core-loop-orchestrator-regression.test.js +0 -360
- package/dist/orchestrator/loop/__tests__/core-loop-orchestrator-regression.test.js.map +0 -1
- package/dist/orchestrator/loop/__tests__/core-loop-reporting.test.d.ts +0 -2
- package/dist/orchestrator/loop/__tests__/core-loop-reporting.test.d.ts.map +0 -1
- package/dist/orchestrator/loop/__tests__/core-loop-reporting.test.js +0 -589
- package/dist/orchestrator/loop/__tests__/core-loop-reporting.test.js.map +0 -1
- package/dist/orchestrator/loop/__tests__/core-loop-stall-refine.test.d.ts +0 -15
- package/dist/orchestrator/loop/__tests__/core-loop-stall-refine.test.d.ts.map +0 -1
- package/dist/orchestrator/loop/__tests__/core-loop-stall-refine.test.js +0 -399
- package/dist/orchestrator/loop/__tests__/core-loop-stall-refine.test.js.map +0 -1
- package/dist/orchestrator/loop/__tests__/core-loop-tree.test.d.ts +0 -2
- package/dist/orchestrator/loop/__tests__/core-loop-tree.test.d.ts.map +0 -1
- package/dist/orchestrator/loop/__tests__/core-loop-tree.test.js +0 -626
- package/dist/orchestrator/loop/__tests__/core-loop-tree.test.js.map +0 -1
- package/dist/orchestrator/loop/__tests__/core-loop.test.d.ts +0 -2
- package/dist/orchestrator/loop/__tests__/core-loop.test.d.ts.map +0 -1
- package/dist/orchestrator/loop/__tests__/core-loop.test.js +0 -550
- package/dist/orchestrator/loop/__tests__/core-loop.test.js.map +0 -1
- package/dist/orchestrator/loop/__tests__/iteration-budget.test.d.ts +0 -2
- package/dist/orchestrator/loop/__tests__/iteration-budget.test.d.ts.map +0 -1
- package/dist/orchestrator/loop/__tests__/iteration-budget.test.js +0 -423
- package/dist/orchestrator/loop/__tests__/iteration-budget.test.js.map +0 -1
- package/dist/orchestrator/loop/__tests__/r1-core-loop-completion.test.d.ts +0 -11
- package/dist/orchestrator/loop/__tests__/r1-core-loop-completion.test.d.ts.map +0 -1
- package/dist/orchestrator/loop/__tests__/r1-core-loop-completion.test.js +0 -315
- package/dist/orchestrator/loop/__tests__/r1-core-loop-completion.test.js.map +0 -1
- package/dist/orchestrator/loop/core-loop-capability.d.ts +0 -2
- package/dist/orchestrator/loop/core-loop-capability.d.ts.map +0 -1
- package/dist/orchestrator/loop/core-loop-capability.js +0 -2
- package/dist/orchestrator/loop/core-loop-capability.js.map +0 -1
- package/dist/orchestrator/loop/core-loop-learning.d.ts +0 -2
- package/dist/orchestrator/loop/core-loop-learning.d.ts.map +0 -1
- package/dist/orchestrator/loop/core-loop-learning.js +0 -2
- package/dist/orchestrator/loop/core-loop-learning.js.map +0 -1
- package/dist/orchestrator/loop/core-loop-phases-b.d.ts +0 -2
- package/dist/orchestrator/loop/core-loop-phases-b.d.ts.map +0 -1
- package/dist/orchestrator/loop/core-loop-phases-b.js +0 -2
- package/dist/orchestrator/loop/core-loop-phases-b.js.map +0 -1
- package/dist/orchestrator/loop/core-loop-phases-c.d.ts +0 -2
- package/dist/orchestrator/loop/core-loop-phases-c.d.ts.map +0 -1
- package/dist/orchestrator/loop/core-loop-phases-c.js +0 -2
- package/dist/orchestrator/loop/core-loop-phases-c.js.map +0 -1
- package/dist/orchestrator/loop/core-loop-phases.d.ts +0 -2
- package/dist/orchestrator/loop/core-loop-phases.d.ts.map +0 -1
- package/dist/orchestrator/loop/core-loop-phases.js +0 -2
- package/dist/orchestrator/loop/core-loop-phases.js.map +0 -1
- package/dist/orchestrator/loop/core-loop-types.d.ts +0 -2
- package/dist/orchestrator/loop/core-loop-types.d.ts.map +0 -1
- package/dist/orchestrator/loop/core-loop-types.js +0 -2
- package/dist/orchestrator/loop/core-loop-types.js.map +0 -1
- package/dist/orchestrator/strategy/__tests__/cross-goal-portfolio-phase2.test.d.ts +0 -2
- package/dist/orchestrator/strategy/__tests__/cross-goal-portfolio-phase2.test.d.ts.map +0 -1
- package/dist/orchestrator/strategy/__tests__/cross-goal-portfolio-phase2.test.js +0 -472
- package/dist/orchestrator/strategy/__tests__/cross-goal-portfolio-phase2.test.js.map +0 -1
- package/dist/orchestrator/strategy/__tests__/cross-goal-portfolio.test.d.ts +0 -2
- package/dist/orchestrator/strategy/__tests__/cross-goal-portfolio.test.d.ts.map +0 -1
- package/dist/orchestrator/strategy/__tests__/cross-goal-portfolio.test.js +0 -636
- package/dist/orchestrator/strategy/__tests__/cross-goal-portfolio.test.js.map +0 -1
- package/dist/orchestrator/strategy/__tests__/portfolio-manager.test.d.ts +0 -2
- package/dist/orchestrator/strategy/__tests__/portfolio-manager.test.d.ts.map +0 -1
- package/dist/orchestrator/strategy/__tests__/portfolio-manager.test.js +0 -730
- package/dist/orchestrator/strategy/__tests__/portfolio-manager.test.js.map +0 -1
- package/dist/orchestrator/strategy/__tests__/strategy-auto-template.test.d.ts +0 -2
- package/dist/orchestrator/strategy/__tests__/strategy-auto-template.test.d.ts.map +0 -1
- package/dist/orchestrator/strategy/__tests__/strategy-auto-template.test.js +0 -164
- package/dist/orchestrator/strategy/__tests__/strategy-auto-template.test.js.map +0 -1
- package/dist/orchestrator/strategy/__tests__/strategy-helpers-unwrap.test.d.ts +0 -2
- package/dist/orchestrator/strategy/__tests__/strategy-helpers-unwrap.test.d.ts.map +0 -1
- package/dist/orchestrator/strategy/__tests__/strategy-helpers-unwrap.test.js +0 -53
- package/dist/orchestrator/strategy/__tests__/strategy-helpers-unwrap.test.js.map +0 -1
- package/dist/orchestrator/strategy/__tests__/strategy-manager-core.test.d.ts +0 -2
- package/dist/orchestrator/strategy/__tests__/strategy-manager-core.test.d.ts.map +0 -1
- package/dist/orchestrator/strategy/__tests__/strategy-manager-core.test.js +0 -342
- package/dist/orchestrator/strategy/__tests__/strategy-manager-core.test.js.map +0 -1
- package/dist/orchestrator/strategy/__tests__/strategy-manager-phase2.test.d.ts +0 -2
- package/dist/orchestrator/strategy/__tests__/strategy-manager-phase2.test.d.ts.map +0 -1
- package/dist/orchestrator/strategy/__tests__/strategy-manager-phase2.test.js +0 -602
- package/dist/orchestrator/strategy/__tests__/strategy-manager-phase2.test.js.map +0 -1
- package/dist/orchestrator/strategy/__tests__/strategy-manager-stall.test.d.ts +0 -2
- package/dist/orchestrator/strategy/__tests__/strategy-manager-stall.test.d.ts.map +0 -1
- package/dist/orchestrator/strategy/__tests__/strategy-manager-stall.test.js +0 -357
- package/dist/orchestrator/strategy/__tests__/strategy-manager-stall.test.js.map +0 -1
- package/dist/orchestrator/strategy/__tests__/strategy-template-embedding.test.d.ts +0 -2
- package/dist/orchestrator/strategy/__tests__/strategy-template-embedding.test.d.ts.map +0 -1
- package/dist/orchestrator/strategy/__tests__/strategy-template-embedding.test.js +0 -310
- package/dist/orchestrator/strategy/__tests__/strategy-template-embedding.test.js.map +0 -1
- package/dist/orchestrator/strategy/__tests__/strategy-template-registry.test.d.ts +0 -2
- package/dist/orchestrator/strategy/__tests__/strategy-template-registry.test.d.ts.map +0 -1
- package/dist/orchestrator/strategy/__tests__/strategy-template-registry.test.js +0 -402
- package/dist/orchestrator/strategy/__tests__/strategy-template-registry.test.js.map +0 -1
- package/dist/platform/drive/__tests__/drive-scorer.test.d.ts +0 -2
- package/dist/platform/drive/__tests__/drive-scorer.test.d.ts.map +0 -1
- package/dist/platform/drive/__tests__/drive-scorer.test.js +0 -507
- package/dist/platform/drive/__tests__/drive-scorer.test.js.map +0 -1
- package/dist/platform/drive/__tests__/drive-system.test.d.ts +0 -2
- package/dist/platform/drive/__tests__/drive-system.test.d.ts.map +0 -1
- package/dist/platform/drive/__tests__/drive-system.test.js +0 -456
- package/dist/platform/drive/__tests__/drive-system.test.js.map +0 -1
- package/dist/platform/drive/__tests__/example.test.d.ts +0 -2
- package/dist/platform/drive/__tests__/example.test.d.ts.map +0 -1
- package/dist/platform/drive/__tests__/example.test.js +0 -314
- package/dist/platform/drive/__tests__/example.test.js.map +0 -1
- package/dist/platform/drive/__tests__/gap-calculator.test.d.ts +0 -2
- package/dist/platform/drive/__tests__/gap-calculator.test.d.ts.map +0 -1
- package/dist/platform/drive/__tests__/gap-calculator.test.js +0 -619
- package/dist/platform/drive/__tests__/gap-calculator.test.js.map +0 -1
- package/dist/platform/drive/__tests__/progress-predictor.test.d.ts +0 -2
- package/dist/platform/drive/__tests__/progress-predictor.test.d.ts.map +0 -1
- package/dist/platform/drive/__tests__/progress-predictor.test.js +0 -142
- package/dist/platform/drive/__tests__/progress-predictor.test.js.map +0 -1
- package/dist/platform/drive/__tests__/reward-log.test.d.ts +0 -2
- package/dist/platform/drive/__tests__/reward-log.test.d.ts.map +0 -1
- package/dist/platform/drive/__tests__/reward-log.test.js +0 -177
- package/dist/platform/drive/__tests__/reward-log.test.js.map +0 -1
- package/dist/platform/drive/__tests__/satisficing-judge-convergence.test.d.ts +0 -2
- package/dist/platform/drive/__tests__/satisficing-judge-convergence.test.d.ts.map +0 -1
- package/dist/platform/drive/__tests__/satisficing-judge-convergence.test.js +0 -159
- package/dist/platform/drive/__tests__/satisficing-judge-convergence.test.js.map +0 -1
- package/dist/platform/drive/__tests__/satisficing-judge-dimension-satisfied.test.d.ts +0 -2
- package/dist/platform/drive/__tests__/satisficing-judge-dimension-satisfied.test.d.ts.map +0 -1
- package/dist/platform/drive/__tests__/satisficing-judge-dimension-satisfied.test.js +0 -261
- package/dist/platform/drive/__tests__/satisficing-judge-dimension-satisfied.test.js.map +0 -1
- package/dist/platform/drive/__tests__/satisficing-judge-double-confirm.test.d.ts +0 -2
- package/dist/platform/drive/__tests__/satisficing-judge-double-confirm.test.d.ts.map +0 -1
- package/dist/platform/drive/__tests__/satisficing-judge-double-confirm.test.js +0 -207
- package/dist/platform/drive/__tests__/satisficing-judge-double-confirm.test.js.map +0 -1
- package/dist/platform/drive/__tests__/satisficing-judge-goal-complete.test.d.ts +0 -2
- package/dist/platform/drive/__tests__/satisficing-judge-goal-complete.test.d.ts.map +0 -1
- package/dist/platform/drive/__tests__/satisficing-judge-goal-complete.test.js +0 -359
- package/dist/platform/drive/__tests__/satisficing-judge-goal-complete.test.js.map +0 -1
- package/dist/platform/drive/__tests__/satisficing-judge-propagation-phase2.test.d.ts +0 -2
- package/dist/platform/drive/__tests__/satisficing-judge-propagation-phase2.test.d.ts.map +0 -1
- package/dist/platform/drive/__tests__/satisficing-judge-propagation-phase2.test.js +0 -461
- package/dist/platform/drive/__tests__/satisficing-judge-propagation-phase2.test.js.map +0 -1
- package/dist/platform/drive/__tests__/satisficing-judge-threshold-propagation.test.d.ts +0 -2
- package/dist/platform/drive/__tests__/satisficing-judge-threshold-propagation.test.d.ts.map +0 -1
- package/dist/platform/drive/__tests__/satisficing-judge-threshold-propagation.test.js +0 -337
- package/dist/platform/drive/__tests__/satisficing-judge-threshold-propagation.test.js.map +0 -1
- package/dist/platform/drive/__tests__/satisficing-judge-tree-convergence.test.d.ts +0 -2
- package/dist/platform/drive/__tests__/satisficing-judge-tree-convergence.test.d.ts.map +0 -1
- package/dist/platform/drive/__tests__/satisficing-judge-tree-convergence.test.js +0 -109
- package/dist/platform/drive/__tests__/satisficing-judge-tree-convergence.test.js.map +0 -1
- package/dist/platform/drive/__tests__/satisficing-judge-undershoot.test.d.ts +0 -2
- package/dist/platform/drive/__tests__/satisficing-judge-undershoot.test.d.ts.map +0 -1
- package/dist/platform/drive/__tests__/satisficing-judge-undershoot.test.js +0 -221
- package/dist/platform/drive/__tests__/satisficing-judge-undershoot.test.js.map +0 -1
- package/dist/platform/drive/__tests__/stall-detector-analysis.test.d.ts +0 -12
- package/dist/platform/drive/__tests__/stall-detector-analysis.test.d.ts.map +0 -1
- package/dist/platform/drive/__tests__/stall-detector-analysis.test.js +0 -139
- package/dist/platform/drive/__tests__/stall-detector-analysis.test.js.map +0 -1
- package/dist/platform/drive/__tests__/stall-detector-repetitive.test.d.ts +0 -2
- package/dist/platform/drive/__tests__/stall-detector-repetitive.test.d.ts.map +0 -1
- package/dist/platform/drive/__tests__/stall-detector-repetitive.test.js +0 -84
- package/dist/platform/drive/__tests__/stall-detector-repetitive.test.js.map +0 -1
- package/dist/platform/drive/__tests__/stall-detector.test.d.ts +0 -2
- package/dist/platform/drive/__tests__/stall-detector.test.d.ts.map +0 -1
- package/dist/platform/drive/__tests__/stall-detector.test.js +0 -903
- package/dist/platform/drive/__tests__/stall-detector.test.js.map +0 -1
- package/dist/platform/knowledge/__tests__/decision-record.test.d.ts +0 -2
- package/dist/platform/knowledge/__tests__/decision-record.test.d.ts.map +0 -1
- package/dist/platform/knowledge/__tests__/decision-record.test.js +0 -141
- package/dist/platform/knowledge/__tests__/decision-record.test.js.map +0 -1
- package/dist/platform/knowledge/__tests__/drive-score-adapter.test.d.ts +0 -2
- package/dist/platform/knowledge/__tests__/drive-score-adapter.test.d.ts.map +0 -1
- package/dist/platform/knowledge/__tests__/drive-score-adapter.test.js +0 -110
- package/dist/platform/knowledge/__tests__/drive-score-adapter.test.js.map +0 -1
- package/dist/platform/knowledge/__tests__/embedding-client.test.d.ts +0 -2
- package/dist/platform/knowledge/__tests__/embedding-client.test.d.ts.map +0 -1
- package/dist/platform/knowledge/__tests__/embedding-client.test.js +0 -77
- package/dist/platform/knowledge/__tests__/embedding-client.test.js.map +0 -1
- package/dist/platform/knowledge/__tests__/hierarchical-memory-integration.test.d.ts +0 -2
- package/dist/platform/knowledge/__tests__/hierarchical-memory-integration.test.d.ts.map +0 -1
- package/dist/platform/knowledge/__tests__/hierarchical-memory-integration.test.js +0 -352
- package/dist/platform/knowledge/__tests__/hierarchical-memory-integration.test.js.map +0 -1
- package/dist/platform/knowledge/__tests__/knowledge-graph.test.d.ts +0 -2
- package/dist/platform/knowledge/__tests__/knowledge-graph.test.d.ts.map +0 -1
- package/dist/platform/knowledge/__tests__/knowledge-graph.test.js +0 -330
- package/dist/platform/knowledge/__tests__/knowledge-graph.test.js.map +0 -1
- package/dist/platform/knowledge/__tests__/knowledge-manager-phase2.test.d.ts +0 -2
- package/dist/platform/knowledge/__tests__/knowledge-manager-phase2.test.d.ts.map +0 -1
- package/dist/platform/knowledge/__tests__/knowledge-manager-phase2.test.js +0 -344
- package/dist/platform/knowledge/__tests__/knowledge-manager-phase2.test.js.map +0 -1
- package/dist/platform/knowledge/__tests__/knowledge-manager.test.d.ts +0 -2
- package/dist/platform/knowledge/__tests__/knowledge-manager.test.d.ts.map +0 -1
- package/dist/platform/knowledge/__tests__/knowledge-manager.test.js +0 -564
- package/dist/platform/knowledge/__tests__/knowledge-manager.test.js.map +0 -1
- package/dist/platform/knowledge/__tests__/knowledge-transfer-apply.test.d.ts +0 -2
- package/dist/platform/knowledge/__tests__/knowledge-transfer-apply.test.d.ts.map +0 -1
- package/dist/platform/knowledge/__tests__/knowledge-transfer-apply.test.js +0 -291
- package/dist/platform/knowledge/__tests__/knowledge-transfer-apply.test.js.map +0 -1
- package/dist/platform/knowledge/__tests__/knowledge-transfer-auto-apply.test.d.ts +0 -2
- package/dist/platform/knowledge/__tests__/knowledge-transfer-auto-apply.test.d.ts.map +0 -1
- package/dist/platform/knowledge/__tests__/knowledge-transfer-auto-apply.test.js +0 -293
- package/dist/platform/knowledge/__tests__/knowledge-transfer-auto-apply.test.js.map +0 -1
- package/dist/platform/knowledge/__tests__/knowledge-transfer-detect.test.d.ts +0 -2
- package/dist/platform/knowledge/__tests__/knowledge-transfer-detect.test.d.ts.map +0 -1
- package/dist/platform/knowledge/__tests__/knowledge-transfer-detect.test.js +0 -315
- package/dist/platform/knowledge/__tests__/knowledge-transfer-detect.test.js.map +0 -1
- package/dist/platform/knowledge/__tests__/knowledge-transfer-evaluate.test.d.ts +0 -2
- package/dist/platform/knowledge/__tests__/knowledge-transfer-evaluate.test.d.ts.map +0 -1
- package/dist/platform/knowledge/__tests__/knowledge-transfer-evaluate.test.js +0 -593
- package/dist/platform/knowledge/__tests__/knowledge-transfer-evaluate.test.js.map +0 -1
- package/dist/platform/knowledge/__tests__/knowledge-transfer-incremental.test.d.ts +0 -2
- package/dist/platform/knowledge/__tests__/knowledge-transfer-incremental.test.d.ts.map +0 -1
- package/dist/platform/knowledge/__tests__/knowledge-transfer-incremental.test.js +0 -402
- package/dist/platform/knowledge/__tests__/knowledge-transfer-incremental.test.js.map +0 -1
- package/dist/platform/knowledge/__tests__/learning-cross-goal.test.d.ts +0 -2
- package/dist/platform/knowledge/__tests__/learning-cross-goal.test.d.ts.map +0 -1
- package/dist/platform/knowledge/__tests__/learning-cross-goal.test.js +0 -377
- package/dist/platform/knowledge/__tests__/learning-cross-goal.test.js.map +0 -1
- package/dist/platform/knowledge/__tests__/learning-pipeline-extraction.test.d.ts +0 -2
- package/dist/platform/knowledge/__tests__/learning-pipeline-extraction.test.d.ts.map +0 -1
- package/dist/platform/knowledge/__tests__/learning-pipeline-extraction.test.js +0 -622
- package/dist/platform/knowledge/__tests__/learning-pipeline-extraction.test.js.map +0 -1
- package/dist/platform/knowledge/__tests__/learning-pipeline-feedback.test.d.ts +0 -2
- package/dist/platform/knowledge/__tests__/learning-pipeline-feedback.test.d.ts.map +0 -1
- package/dist/platform/knowledge/__tests__/learning-pipeline-feedback.test.js +0 -425
- package/dist/platform/knowledge/__tests__/learning-pipeline-feedback.test.js.map +0 -1
- package/dist/platform/knowledge/__tests__/learning-pipeline-persistence.test.d.ts +0 -2
- package/dist/platform/knowledge/__tests__/learning-pipeline-persistence.test.d.ts.map +0 -1
- package/dist/platform/knowledge/__tests__/learning-pipeline-persistence.test.js +0 -928
- package/dist/platform/knowledge/__tests__/learning-pipeline-persistence.test.js.map +0 -1
- package/dist/platform/knowledge/__tests__/learning-pipeline-phase2.test.d.ts +0 -2
- package/dist/platform/knowledge/__tests__/learning-pipeline-phase2.test.d.ts.map +0 -1
- package/dist/platform/knowledge/__tests__/learning-pipeline-phase2.test.js +0 -430
- package/dist/platform/knowledge/__tests__/learning-pipeline-phase2.test.js.map +0 -1
- package/dist/platform/knowledge/__tests__/learning-pipeline-sharing.test.d.ts +0 -2
- package/dist/platform/knowledge/__tests__/learning-pipeline-sharing.test.d.ts.map +0 -1
- package/dist/platform/knowledge/__tests__/learning-pipeline-sharing.test.js +0 -411
- package/dist/platform/knowledge/__tests__/learning-pipeline-sharing.test.js.map +0 -1
- package/dist/platform/knowledge/__tests__/m16-integration.test.d.ts +0 -2
- package/dist/platform/knowledge/__tests__/m16-integration.test.d.ts.map +0 -1
- package/dist/platform/knowledge/__tests__/m16-integration.test.js +0 -332
- package/dist/platform/knowledge/__tests__/m16-integration.test.js.map +0 -1
- package/dist/platform/knowledge/__tests__/memory-lifecycle-phase2.test.d.ts +0 -2
- package/dist/platform/knowledge/__tests__/memory-lifecycle-phase2.test.d.ts.map +0 -1
- package/dist/platform/knowledge/__tests__/memory-lifecycle-phase2.test.js +0 -562
- package/dist/platform/knowledge/__tests__/memory-lifecycle-phase2.test.js.map +0 -1
- package/dist/platform/knowledge/__tests__/memory-lifecycle.test.d.ts +0 -2
- package/dist/platform/knowledge/__tests__/memory-lifecycle.test.d.ts.map +0 -1
- package/dist/platform/knowledge/__tests__/memory-lifecycle.test.js +0 -432
- package/dist/platform/knowledge/__tests__/memory-lifecycle.test.js.map +0 -1
- package/dist/platform/knowledge/__tests__/memory-selection.test.d.ts +0 -2
- package/dist/platform/knowledge/__tests__/memory-selection.test.d.ts.map +0 -1
- package/dist/platform/knowledge/__tests__/memory-selection.test.js +0 -423
- package/dist/platform/knowledge/__tests__/memory-selection.test.js.map +0 -1
- package/dist/platform/knowledge/__tests__/memory-tier.test.d.ts +0 -2
- package/dist/platform/knowledge/__tests__/memory-tier.test.d.ts.map +0 -1
- package/dist/platform/knowledge/__tests__/memory-tier.test.js +0 -413
- package/dist/platform/knowledge/__tests__/memory-tier.test.js.map +0 -1
- package/dist/platform/knowledge/__tests__/transfer-trust.test.d.ts +0 -2
- package/dist/platform/knowledge/__tests__/transfer-trust.test.d.ts.map +0 -1
- package/dist/platform/knowledge/__tests__/transfer-trust.test.js +0 -137
- package/dist/platform/knowledge/__tests__/transfer-trust.test.js.map +0 -1
- package/dist/platform/knowledge/__tests__/vector-index.test.d.ts +0 -2
- package/dist/platform/knowledge/__tests__/vector-index.test.d.ts.map +0 -1
- package/dist/platform/knowledge/__tests__/vector-index.test.js +0 -152
- package/dist/platform/knowledge/__tests__/vector-index.test.js.map +0 -1
- package/dist/platform/observation/__tests__/capability-dependency.test.d.ts +0 -2
- package/dist/platform/observation/__tests__/capability-dependency.test.d.ts.map +0 -1
- package/dist/platform/observation/__tests__/capability-dependency.test.js +0 -195
- package/dist/platform/observation/__tests__/capability-dependency.test.js.map +0 -1
- package/dist/platform/observation/__tests__/capability-detector-detect.test.d.ts +0 -2
- package/dist/platform/observation/__tests__/capability-detector-detect.test.d.ts.map +0 -1
- package/dist/platform/observation/__tests__/capability-detector-detect.test.js +0 -357
- package/dist/platform/observation/__tests__/capability-detector-detect.test.js.map +0 -1
- package/dist/platform/observation/__tests__/capability-detector-escalate.test.d.ts +0 -2
- package/dist/platform/observation/__tests__/capability-detector-escalate.test.d.ts.map +0 -1
- package/dist/platform/observation/__tests__/capability-detector-escalate.test.js +0 -283
- package/dist/platform/observation/__tests__/capability-detector-escalate.test.js.map +0 -1
- package/dist/platform/observation/__tests__/capability-detector-goal.test.d.ts +0 -2
- package/dist/platform/observation/__tests__/capability-detector-goal.test.d.ts.map +0 -1
- package/dist/platform/observation/__tests__/capability-detector-goal.test.js +0 -288
- package/dist/platform/observation/__tests__/capability-detector-goal.test.js.map +0 -1
- package/dist/platform/observation/__tests__/capability-detector-verify.test.d.ts +0 -2
- package/dist/platform/observation/__tests__/capability-detector-verify.test.d.ts.map +0 -1
- package/dist/platform/observation/__tests__/capability-detector-verify.test.js +0 -311
- package/dist/platform/observation/__tests__/capability-detector-verify.test.js.map +0 -1
- package/dist/platform/observation/__tests__/context-provider.test.d.ts +0 -2
- package/dist/platform/observation/__tests__/context-provider.test.d.ts.map +0 -1
- package/dist/platform/observation/__tests__/context-provider.test.js +0 -318
- package/dist/platform/observation/__tests__/context-provider.test.js.map +0 -1
- package/dist/platform/observation/__tests__/data-source-adapter.test.d.ts +0 -2
- package/dist/platform/observation/__tests__/data-source-adapter.test.d.ts.map +0 -1
- package/dist/platform/observation/__tests__/data-source-adapter.test.js +0 -382
- package/dist/platform/observation/__tests__/data-source-adapter.test.js.map +0 -1
- package/dist/platform/observation/__tests__/data-source-hotplug.test.d.ts +0 -2
- package/dist/platform/observation/__tests__/data-source-hotplug.test.d.ts.map +0 -1
- package/dist/platform/observation/__tests__/data-source-hotplug.test.js +0 -160
- package/dist/platform/observation/__tests__/data-source-hotplug.test.js.map +0 -1
- package/dist/platform/observation/__tests__/observation-crossvalidation-override.test.d.ts +0 -2
- package/dist/platform/observation/__tests__/observation-crossvalidation-override.test.d.ts.map +0 -1
- package/dist/platform/observation/__tests__/observation-crossvalidation-override.test.js +0 -339
- package/dist/platform/observation/__tests__/observation-crossvalidation-override.test.js.map +0 -1
- package/dist/platform/observation/__tests__/observation-engine-context.test.d.ts +0 -2
- package/dist/platform/observation/__tests__/observation-engine-context.test.d.ts.map +0 -1
- package/dist/platform/observation/__tests__/observation-engine-context.test.js +0 -258
- package/dist/platform/observation/__tests__/observation-engine-context.test.js.map +0 -1
- package/dist/platform/observation/__tests__/observation-engine-crossvalidation.test.d.ts +0 -2
- package/dist/platform/observation/__tests__/observation-engine-crossvalidation.test.d.ts.map +0 -1
- package/dist/platform/observation/__tests__/observation-engine-crossvalidation.test.js +0 -222
- package/dist/platform/observation/__tests__/observation-engine-crossvalidation.test.js.map +0 -1
- package/dist/platform/observation/__tests__/observation-engine-dedup.test.d.ts +0 -2
- package/dist/platform/observation/__tests__/observation-engine-dedup.test.d.ts.map +0 -1
- package/dist/platform/observation/__tests__/observation-engine-dedup.test.js +0 -88
- package/dist/platform/observation/__tests__/observation-engine-dedup.test.js.map +0 -1
- package/dist/platform/observation/__tests__/observation-engine-llm.test.d.ts +0 -2
- package/dist/platform/observation/__tests__/observation-engine-llm.test.d.ts.map +0 -1
- package/dist/platform/observation/__tests__/observation-engine-llm.test.js +0 -474
- package/dist/platform/observation/__tests__/observation-engine-llm.test.js.map +0 -1
- package/dist/platform/observation/__tests__/observation-engine-prompt.test.d.ts +0 -2
- package/dist/platform/observation/__tests__/observation-engine-prompt.test.d.ts.map +0 -1
- package/dist/platform/observation/__tests__/observation-engine-prompt.test.js +0 -211
- package/dist/platform/observation/__tests__/observation-engine-prompt.test.js.map +0 -1
- package/dist/platform/observation/__tests__/observation-engine.test.d.ts +0 -2
- package/dist/platform/observation/__tests__/observation-engine.test.d.ts.map +0 -1
- package/dist/platform/observation/__tests__/observation-engine.test.js +0 -806
- package/dist/platform/observation/__tests__/observation-engine.test.js.map +0 -1
- package/dist/platform/observation/__tests__/observation-llm-guard.test.d.ts +0 -2
- package/dist/platform/observation/__tests__/observation-llm-guard.test.d.ts.map +0 -1
- package/dist/platform/observation/__tests__/observation-llm-guard.test.js +0 -353
- package/dist/platform/observation/__tests__/observation-llm-guard.test.js.map +0 -1
- package/dist/platform/observation/__tests__/observation-llm.test.d.ts +0 -2
- package/dist/platform/observation/__tests__/observation-llm.test.d.ts.map +0 -1
- package/dist/platform/observation/__tests__/observation-llm.test.js +0 -29
- package/dist/platform/observation/__tests__/observation-llm.test.js.map +0 -1
- package/dist/platform/observation/__tests__/observation-score-clamp.test.d.ts +0 -2
- package/dist/platform/observation/__tests__/observation-score-clamp.test.d.ts.map +0 -1
- package/dist/platform/observation/__tests__/observation-score-clamp.test.js +0 -165
- package/dist/platform/observation/__tests__/observation-score-clamp.test.js.map +0 -1
- package/dist/platform/observation/__tests__/shell-datasource-auto.test.d.ts +0 -2
- package/dist/platform/observation/__tests__/shell-datasource-auto.test.d.ts.map +0 -1
- package/dist/platform/observation/__tests__/shell-datasource-auto.test.js +0 -217
- package/dist/platform/observation/__tests__/shell-datasource-auto.test.js.map +0 -1
- package/dist/platform/observation/__tests__/workspace-context.test.d.ts +0 -2
- package/dist/platform/observation/__tests__/workspace-context.test.d.ts.map +0 -1
- package/dist/platform/observation/__tests__/workspace-context.test.js +0 -291
- package/dist/platform/observation/__tests__/workspace-context.test.js.map +0 -1
- package/dist/platform/traits/__tests__/character-config.test.d.ts +0 -2
- package/dist/platform/traits/__tests__/character-config.test.d.ts.map +0 -1
- package/dist/platform/traits/__tests__/character-config.test.js +0 -300
- package/dist/platform/traits/__tests__/character-config.test.js.map +0 -1
- package/dist/platform/traits/__tests__/character-separation.test.d.ts +0 -10
- package/dist/platform/traits/__tests__/character-separation.test.d.ts.map +0 -1
- package/dist/platform/traits/__tests__/character-separation.test.js +0 -357
- package/dist/platform/traits/__tests__/character-separation.test.js.map +0 -1
- package/dist/platform/traits/__tests__/curiosity-engine-budget.test.d.ts +0 -2
- package/dist/platform/traits/__tests__/curiosity-engine-budget.test.d.ts.map +0 -1
- package/dist/platform/traits/__tests__/curiosity-engine-budget.test.js +0 -465
- package/dist/platform/traits/__tests__/curiosity-engine-budget.test.js.map +0 -1
- package/dist/platform/traits/__tests__/curiosity-engine-constructor.test.d.ts +0 -2
- package/dist/platform/traits/__tests__/curiosity-engine-constructor.test.d.ts.map +0 -1
- package/dist/platform/traits/__tests__/curiosity-engine-constructor.test.js +0 -592
- package/dist/platform/traits/__tests__/curiosity-engine-constructor.test.js.map +0 -1
- package/dist/platform/traits/__tests__/curiosity-engine-lifecycle.test.d.ts +0 -2
- package/dist/platform/traits/__tests__/curiosity-engine-lifecycle.test.d.ts.map +0 -1
- package/dist/platform/traits/__tests__/curiosity-engine-lifecycle.test.js +0 -399
- package/dist/platform/traits/__tests__/curiosity-engine-lifecycle.test.js.map +0 -1
- package/dist/platform/traits/__tests__/curiosity-engine-proposals.test.d.ts +0 -2
- package/dist/platform/traits/__tests__/curiosity-engine-proposals.test.d.ts.map +0 -1
- package/dist/platform/traits/__tests__/curiosity-engine-proposals.test.js +0 -438
- package/dist/platform/traits/__tests__/curiosity-engine-proposals.test.js.map +0 -1
- package/dist/platform/traits/__tests__/ethics-gate-core.test.d.ts +0 -2
- package/dist/platform/traits/__tests__/ethics-gate-core.test.d.ts.map +0 -1
- package/dist/platform/traits/__tests__/ethics-gate-core.test.js +0 -335
- package/dist/platform/traits/__tests__/ethics-gate-core.test.js.map +0 -1
- package/dist/platform/traits/__tests__/ethics-gate-layer1.test.d.ts +0 -2
- package/dist/platform/traits/__tests__/ethics-gate-layer1.test.d.ts.map +0 -1
- package/dist/platform/traits/__tests__/ethics-gate-layer1.test.js +0 -660
- package/dist/platform/traits/__tests__/ethics-gate-layer1.test.js.map +0 -1
- package/dist/platform/traits/__tests__/guardrail-integration.test.d.ts +0 -2
- package/dist/platform/traits/__tests__/guardrail-integration.test.d.ts.map +0 -1
- package/dist/platform/traits/__tests__/guardrail-integration.test.js +0 -230
- package/dist/platform/traits/__tests__/guardrail-integration.test.js.map +0 -1
- package/dist/platform/traits/__tests__/guardrail-runner.test.d.ts +0 -2
- package/dist/platform/traits/__tests__/guardrail-runner.test.d.ts.map +0 -1
- package/dist/platform/traits/__tests__/guardrail-runner.test.js +0 -295
- package/dist/platform/traits/__tests__/guardrail-runner.test.js.map +0 -1
- package/dist/platform/traits/__tests__/trust-manager.test.d.ts +0 -2
- package/dist/platform/traits/__tests__/trust-manager.test.d.ts.map +0 -1
- package/dist/platform/traits/__tests__/trust-manager.test.js +0 -437
- package/dist/platform/traits/__tests__/trust-manager.test.js.map +0 -1
- package/dist/platform/traits/__tests__/trust-rate-limit.test.d.ts +0 -2
- package/dist/platform/traits/__tests__/trust-rate-limit.test.d.ts.map +0 -1
- package/dist/platform/traits/__tests__/trust-rate-limit.test.js +0 -99
- package/dist/platform/traits/__tests__/trust-rate-limit.test.js.map +0 -1
- package/dist/prompt/__tests__/context-assembler.test.d.ts +0 -2
- package/dist/prompt/__tests__/context-assembler.test.d.ts.map +0 -1
- package/dist/prompt/__tests__/context-assembler.test.js +0 -383
- package/dist/prompt/__tests__/context-assembler.test.js.map +0 -1
- package/dist/prompt/__tests__/formatters.test.d.ts +0 -2
- package/dist/prompt/__tests__/formatters.test.d.ts.map +0 -1
- package/dist/prompt/__tests__/formatters.test.js +0 -236
- package/dist/prompt/__tests__/formatters.test.js.map +0 -1
- package/dist/prompt/__tests__/gateway-integration.test.d.ts +0 -7
- package/dist/prompt/__tests__/gateway-integration.test.d.ts.map +0 -1
- package/dist/prompt/__tests__/gateway-integration.test.js +0 -229
- package/dist/prompt/__tests__/gateway-integration.test.js.map +0 -1
- package/dist/prompt/__tests__/gateway.test.d.ts +0 -2
- package/dist/prompt/__tests__/gateway.test.d.ts.map +0 -1
- package/dist/prompt/__tests__/gateway.test.js +0 -179
- package/dist/prompt/__tests__/gateway.test.js.map +0 -1
- package/dist/prompt/__tests__/slot-definitions.test.d.ts +0 -2
- package/dist/prompt/__tests__/slot-definitions.test.d.ts.map +0 -1
- package/dist/prompt/__tests__/slot-definitions.test.js +0 -171
- package/dist/prompt/__tests__/slot-definitions.test.js.map +0 -1
- package/dist/reflection/__tests__/dream-consolidation.test.d.ts +0 -2
- package/dist/reflection/__tests__/dream-consolidation.test.d.ts.map +0 -1
- package/dist/reflection/__tests__/dream-consolidation.test.js +0 -127
- package/dist/reflection/__tests__/dream-consolidation.test.js.map +0 -1
- package/dist/reflection/__tests__/evening-catchup.test.d.ts +0 -2
- package/dist/reflection/__tests__/evening-catchup.test.d.ts.map +0 -1
- package/dist/reflection/__tests__/evening-catchup.test.js +0 -148
- package/dist/reflection/__tests__/evening-catchup.test.js.map +0 -1
- package/dist/reflection/__tests__/morning-planning.test.d.ts +0 -2
- package/dist/reflection/__tests__/morning-planning.test.d.ts.map +0 -1
- package/dist/reflection/__tests__/morning-planning.test.js +0 -150
- package/dist/reflection/__tests__/morning-planning.test.js.map +0 -1
- package/dist/reflection/__tests__/weekly-review.test.d.ts +0 -2
- package/dist/reflection/__tests__/weekly-review.test.d.ts.map +0 -1
- package/dist/reflection/__tests__/weekly-review.test.js +0 -175
- package/dist/reflection/__tests__/weekly-review.test.js.map +0 -1
- package/dist/reporting/__tests__/reporting-engine.test.d.ts +0 -2
- package/dist/reporting/__tests__/reporting-engine.test.d.ts.map +0 -1
- package/dist/reporting/__tests__/reporting-engine.test.js +0 -760
- package/dist/reporting/__tests__/reporting-engine.test.js.map +0 -1
- package/dist/reporting/report-formatters 2.d.ts +0 -12
- package/dist/reporting/report-formatters 2.d.ts.map +0 -1
- package/dist/reporting/report-formatters 2.js +0 -166
- package/dist/reporting/report-formatters 2.js.map +0 -1
- package/dist/runtime/__tests__/cron-scheduler.test.d.ts +0 -2
- package/dist/runtime/__tests__/cron-scheduler.test.d.ts.map +0 -1
- package/dist/runtime/__tests__/cron-scheduler.test.js +0 -284
- package/dist/runtime/__tests__/cron-scheduler.test.js.map +0 -1
- package/dist/runtime/__tests__/daemon-runner-shutdown.test.d.ts +0 -2
- package/dist/runtime/__tests__/daemon-runner-shutdown.test.d.ts.map +0 -1
- package/dist/runtime/__tests__/daemon-runner-shutdown.test.js +0 -419
- package/dist/runtime/__tests__/daemon-runner-shutdown.test.js.map +0 -1
- package/dist/runtime/__tests__/daemon-runner.test.d.ts +0 -2
- package/dist/runtime/__tests__/daemon-runner.test.d.ts.map +0 -1
- package/dist/runtime/__tests__/daemon-runner.test.js +0 -1194
- package/dist/runtime/__tests__/daemon-runner.test.js.map +0 -1
- package/dist/runtime/__tests__/event-file-watcher.test.d.ts +0 -12
- package/dist/runtime/__tests__/event-file-watcher.test.d.ts.map +0 -1
- package/dist/runtime/__tests__/event-file-watcher.test.js +0 -251
- package/dist/runtime/__tests__/event-file-watcher.test.js.map +0 -1
- package/dist/runtime/__tests__/event-server.test.d.ts +0 -2
- package/dist/runtime/__tests__/event-server.test.d.ts.map +0 -1
- package/dist/runtime/__tests__/event-server.test.js +0 -282
- package/dist/runtime/__tests__/event-server.test.js.map +0 -1
- package/dist/runtime/__tests__/hook-manager.test.d.ts +0 -2
- package/dist/runtime/__tests__/hook-manager.test.d.ts.map +0 -1
- package/dist/runtime/__tests__/hook-manager.test.js +0 -229
- package/dist/runtime/__tests__/hook-manager.test.js.map +0 -1
- package/dist/runtime/__tests__/logger.test.d.ts +0 -2
- package/dist/runtime/__tests__/logger.test.d.ts.map +0 -1
- package/dist/runtime/__tests__/logger.test.js +0 -416
- package/dist/runtime/__tests__/logger.test.js.map +0 -1
- package/dist/runtime/__tests__/notification-batcher.test.d.ts +0 -2
- package/dist/runtime/__tests__/notification-batcher.test.d.ts.map +0 -1
- package/dist/runtime/__tests__/notification-batcher.test.js +0 -210
- package/dist/runtime/__tests__/notification-batcher.test.js.map +0 -1
- package/dist/runtime/__tests__/notification-dispatcher-plugin.test.d.ts +0 -2
- package/dist/runtime/__tests__/notification-dispatcher-plugin.test.d.ts.map +0 -1
- package/dist/runtime/__tests__/notification-dispatcher-plugin.test.js +0 -125
- package/dist/runtime/__tests__/notification-dispatcher-plugin.test.js.map +0 -1
- package/dist/runtime/__tests__/notification-dispatcher.test.d.ts +0 -2
- package/dist/runtime/__tests__/notification-dispatcher.test.d.ts.map +0 -1
- package/dist/runtime/__tests__/notification-dispatcher.test.js +0 -816
- package/dist/runtime/__tests__/notification-dispatcher.test.js.map +0 -1
- package/dist/runtime/__tests__/notifier-registry.test.d.ts +0 -2
- package/dist/runtime/__tests__/notifier-registry.test.d.ts.map +0 -1
- package/dist/runtime/__tests__/notifier-registry.test.js +0 -129
- package/dist/runtime/__tests__/notifier-registry.test.js.map +0 -1
- package/dist/runtime/__tests__/pid-manager.test.d.ts +0 -2
- package/dist/runtime/__tests__/pid-manager.test.d.ts.map +0 -1
- package/dist/runtime/__tests__/pid-manager.test.js +0 -180
- package/dist/runtime/__tests__/pid-manager.test.js.map +0 -1
- package/dist/runtime/__tests__/plugin-loader.test.d.ts +0 -2
- package/dist/runtime/__tests__/plugin-loader.test.d.ts.map +0 -1
- package/dist/runtime/__tests__/plugin-loader.test.js +0 -387
- package/dist/runtime/__tests__/plugin-loader.test.js.map +0 -1
- package/dist/runtime/__tests__/trigger-api.test.d.ts +0 -2
- package/dist/runtime/__tests__/trigger-api.test.d.ts.map +0 -1
- package/dist/runtime/__tests__/trigger-api.test.js +0 -247
- package/dist/runtime/__tests__/trigger-api.test.js.map +0 -1
- package/dist/runtime/__tests__/trigger-mapper.test.d.ts +0 -2
- package/dist/runtime/__tests__/trigger-mapper.test.d.ts.map +0 -1
- package/dist/runtime/__tests__/trigger-mapper.test.js +0 -119
- package/dist/runtime/__tests__/trigger-mapper.test.js.map +0 -1
- package/dist/runtime/daemon-health 2.d.ts +0 -31
- package/dist/runtime/daemon-health 2.d.ts.map +0 -1
- package/dist/runtime/daemon-health 2.js +0 -113
- package/dist/runtime/daemon-health 2.js.map +0 -1
- package/dist/runtime/daemon-health.d.ts +0 -2
- package/dist/runtime/daemon-health.d.ts.map +0 -1
- package/dist/runtime/daemon-health.js +0 -2
- package/dist/runtime/daemon-health.js.map +0 -1
- package/dist/runtime/daemon-runner-lifecycle.d.ts +0 -2
- package/dist/runtime/daemon-runner-lifecycle.d.ts.map +0 -1
- package/dist/runtime/daemon-runner-lifecycle.js +0 -2
- package/dist/runtime/daemon-runner-lifecycle.js.map +0 -1
- package/dist/runtime/daemon-runtime-ownership.d.ts +0 -2
- package/dist/runtime/daemon-runtime-ownership.d.ts.map +0 -1
- package/dist/runtime/daemon-runtime-ownership.js +0 -2
- package/dist/runtime/daemon-runtime-ownership.js.map +0 -1
- package/dist/runtime/daemon-signals 2.d.ts +0 -17
- package/dist/runtime/daemon-signals 2.d.ts.map +0 -1
- package/dist/runtime/daemon-signals 2.js +0 -31
- package/dist/runtime/daemon-signals 2.js.map +0 -1
- package/dist/runtime/daemon-signals.d.ts +0 -2
- package/dist/runtime/daemon-signals.d.ts.map +0 -1
- package/dist/runtime/daemon-signals.js +0 -2
- package/dist/runtime/daemon-signals.js.map +0 -1
- package/dist/runtime/event-dispatcher.d.ts +0 -2
- package/dist/runtime/event-dispatcher.d.ts.map +0 -1
- package/dist/runtime/event-dispatcher.js +0 -2
- package/dist/runtime/event-dispatcher.js.map +0 -1
- package/dist/runtime/event-server-snapshot-reader.d.ts +0 -2
- package/dist/runtime/event-server-snapshot-reader.d.ts.map +0 -1
- package/dist/runtime/event-server-snapshot-reader.js +0 -2
- package/dist/runtime/event-server-snapshot-reader.js.map +0 -1
- package/dist/runtime/event-server-sse.d.ts +0 -2
- package/dist/runtime/event-server-sse.d.ts.map +0 -1
- package/dist/runtime/event-server-sse.js +0 -2
- package/dist/runtime/event-server-sse.js.map +0 -1
- package/dist/runtime/queue/command-bus.d.ts +0 -18
- package/dist/runtime/queue/command-bus.d.ts.map +0 -1
- package/dist/runtime/queue/command-bus.js +0 -64
- package/dist/runtime/queue/command-bus.js.map +0 -1
- package/dist/runtime/queue/event-bus.d.ts +0 -21
- package/dist/runtime/queue/event-bus.d.ts.map +0 -1
- package/dist/runtime/queue/event-bus.js +0 -104
- package/dist/runtime/queue/event-bus.js.map +0 -1
- package/dist/runtime/schedule-engine-layers.d.ts +0 -2
- package/dist/runtime/schedule-engine-layers.d.ts.map +0 -1
- package/dist/runtime/schedule-engine-layers.js +0 -2
- package/dist/runtime/schedule-engine-layers.js.map +0 -1
- package/dist/runtime/schedule-source.d.ts +0 -2
- package/dist/runtime/schedule-source.d.ts.map +0 -1
- package/dist/runtime/schedule-source.js +0 -2
- package/dist/runtime/schedule-source.js.map +0 -1
- package/dist/state/state-manager.d.ts +0 -106
- package/dist/state/state-manager.d.ts.map +0 -1
- package/dist/state/state-manager.js +0 -518
- package/dist/state/state-manager.js.map +0 -1
- package/dist/state/state-persistence 2.d.ts +0 -12
- package/dist/state/state-persistence 2.d.ts.map +0 -1
- package/dist/state/state-persistence 2.js +0 -58
- package/dist/state/state-persistence 2.js.map +0 -1
- package/dist/state/state-persistence.d.ts +0 -12
- package/dist/state/state-persistence.d.ts.map +0 -1
- package/dist/state/state-persistence.js +0 -58
- package/dist/state/state-persistence.js.map +0 -1
- package/dist/strategy/__tests__/cross-goal-portfolio-phase2.test.d.ts +0 -2
- package/dist/strategy/__tests__/cross-goal-portfolio-phase2.test.d.ts.map +0 -1
- package/dist/strategy/__tests__/cross-goal-portfolio-phase2.test.js +0 -472
- package/dist/strategy/__tests__/cross-goal-portfolio-phase2.test.js.map +0 -1
- package/dist/strategy/__tests__/cross-goal-portfolio.test.d.ts +0 -2
- package/dist/strategy/__tests__/cross-goal-portfolio.test.d.ts.map +0 -1
- package/dist/strategy/__tests__/cross-goal-portfolio.test.js +0 -636
- package/dist/strategy/__tests__/cross-goal-portfolio.test.js.map +0 -1
- package/dist/strategy/__tests__/portfolio-manager.test.d.ts +0 -2
- package/dist/strategy/__tests__/portfolio-manager.test.d.ts.map +0 -1
- package/dist/strategy/__tests__/portfolio-manager.test.js +0 -730
- package/dist/strategy/__tests__/portfolio-manager.test.js.map +0 -1
- package/dist/strategy/__tests__/strategy-auto-template.test.d.ts +0 -2
- package/dist/strategy/__tests__/strategy-auto-template.test.d.ts.map +0 -1
- package/dist/strategy/__tests__/strategy-auto-template.test.js +0 -164
- package/dist/strategy/__tests__/strategy-auto-template.test.js.map +0 -1
- package/dist/strategy/__tests__/strategy-helpers-unwrap.test.d.ts +0 -2
- package/dist/strategy/__tests__/strategy-helpers-unwrap.test.d.ts.map +0 -1
- package/dist/strategy/__tests__/strategy-helpers-unwrap.test.js +0 -53
- package/dist/strategy/__tests__/strategy-helpers-unwrap.test.js.map +0 -1
- package/dist/strategy/__tests__/strategy-manager-core.test.d.ts +0 -2
- package/dist/strategy/__tests__/strategy-manager-core.test.d.ts.map +0 -1
- package/dist/strategy/__tests__/strategy-manager-core.test.js +0 -342
- package/dist/strategy/__tests__/strategy-manager-core.test.js.map +0 -1
- package/dist/strategy/__tests__/strategy-manager-phase2.test.d.ts +0 -2
- package/dist/strategy/__tests__/strategy-manager-phase2.test.d.ts.map +0 -1
- package/dist/strategy/__tests__/strategy-manager-phase2.test.js +0 -602
- package/dist/strategy/__tests__/strategy-manager-phase2.test.js.map +0 -1
- package/dist/strategy/__tests__/strategy-manager-stall.test.d.ts +0 -2
- package/dist/strategy/__tests__/strategy-manager-stall.test.d.ts.map +0 -1
- package/dist/strategy/__tests__/strategy-manager-stall.test.js +0 -357
- package/dist/strategy/__tests__/strategy-manager-stall.test.js.map +0 -1
- package/dist/strategy/__tests__/strategy-template-embedding.test.d.ts +0 -2
- package/dist/strategy/__tests__/strategy-template-embedding.test.d.ts.map +0 -1
- package/dist/strategy/__tests__/strategy-template-embedding.test.js +0 -310
- package/dist/strategy/__tests__/strategy-template-embedding.test.js.map +0 -1
- package/dist/strategy/__tests__/strategy-template-registry.test.d.ts +0 -2
- package/dist/strategy/__tests__/strategy-template-registry.test.d.ts.map +0 -1
- package/dist/strategy/__tests__/strategy-template-registry.test.js +0 -402
- package/dist/strategy/__tests__/strategy-template-registry.test.js.map +0 -1
- package/dist/strategy/cross-goal-portfolio.d.ts +0 -115
- package/dist/strategy/cross-goal-portfolio.d.ts.map +0 -1
- package/dist/strategy/cross-goal-portfolio.js +0 -389
- package/dist/strategy/cross-goal-portfolio.js.map +0 -1
- package/dist/strategy/portfolio-allocation.d.ts +0 -69
- package/dist/strategy/portfolio-allocation.d.ts.map +0 -1
- package/dist/strategy/portfolio-allocation.js +0 -264
- package/dist/strategy/portfolio-allocation.js.map +0 -1
- package/dist/strategy/portfolio-manager.d.ts +0 -147
- package/dist/strategy/portfolio-manager.d.ts.map +0 -1
- package/dist/strategy/portfolio-manager.js +0 -340
- package/dist/strategy/portfolio-manager.js.map +0 -1
- package/dist/strategy/portfolio-momentum.d.ts +0 -11
- package/dist/strategy/portfolio-momentum.d.ts.map +0 -1
- package/dist/strategy/portfolio-momentum.js +0 -64
- package/dist/strategy/portfolio-momentum.js.map +0 -1
- package/dist/strategy/portfolio-rebalance.d.ts +0 -75
- package/dist/strategy/portfolio-rebalance.d.ts.map +0 -1
- package/dist/strategy/portfolio-rebalance.js +0 -254
- package/dist/strategy/portfolio-rebalance.js.map +0 -1
- package/dist/strategy/portfolio-scheduling.d.ts +0 -25
- package/dist/strategy/portfolio-scheduling.d.ts.map +0 -1
- package/dist/strategy/portfolio-scheduling.js +0 -133
- package/dist/strategy/portfolio-scheduling.js.map +0 -1
- package/dist/strategy/strategy-helpers.d.ts +0 -115
- package/dist/strategy/strategy-helpers.d.ts.map +0 -1
- package/dist/strategy/strategy-helpers.js +0 -175
- package/dist/strategy/strategy-helpers.js.map +0 -1
- package/dist/strategy/strategy-manager-base.d.ts +0 -103
- package/dist/strategy/strategy-manager-base.d.ts.map +0 -1
- package/dist/strategy/strategy-manager-base.js +0 -394
- package/dist/strategy/strategy-manager-base.js.map +0 -1
- package/dist/strategy/strategy-manager.d.ts +0 -65
- package/dist/strategy/strategy-manager.d.ts.map +0 -1
- package/dist/strategy/strategy-manager.js +0 -226
- package/dist/strategy/strategy-manager.js.map +0 -1
- package/dist/strategy/strategy-template-registry.d.ts +0 -84
- package/dist/strategy/strategy-template-registry.d.ts.map +0 -1
- package/dist/strategy/strategy-template-registry.js +0 -350
- package/dist/strategy/strategy-template-registry.js.map +0 -1
- package/dist/strategy/types/cross-portfolio.d.ts +0 -378
- package/dist/strategy/types/cross-portfolio.d.ts.map +0 -1
- package/dist/strategy/types/cross-portfolio.js +0 -155
- package/dist/strategy/types/cross-portfolio.js.map +0 -1
- package/dist/strategy/types/portfolio.d.ts +0 -146
- package/dist/strategy/types/portfolio.d.ts.map +0 -1
- package/dist/strategy/types/portfolio.js +0 -55
- package/dist/strategy/types/portfolio.js.map +0 -1
- package/dist/strategy/types/strategy.d.ts +0 -563
- package/dist/strategy/types/strategy.d.ts.map +0 -1
- package/dist/strategy/types/strategy.js +0 -58
- package/dist/strategy/types/strategy.js.map +0 -1
- package/dist/tools/builtin/env.d.ts +0 -35
- package/dist/tools/builtin/env.d.ts.map +0 -1
- package/dist/tools/builtin/env.js +0 -125
- package/dist/tools/builtin/env.js.map +0 -1
- package/dist/tools/builtin/file-edit.d.ts +0 -48
- package/dist/tools/builtin/file-edit.d.ts.map +0 -1
- package/dist/tools/builtin/file-edit.js +0 -124
- package/dist/tools/builtin/file-edit.js.map +0 -1
- package/dist/tools/builtin/file-validation.d.ts +0 -6
- package/dist/tools/builtin/file-validation.d.ts.map +0 -1
- package/dist/tools/builtin/file-validation.js +0 -17
- package/dist/tools/builtin/file-validation.js.map +0 -1
- package/dist/tools/builtin/file-write.d.ts +0 -41
- package/dist/tools/builtin/file-write.d.ts.map +0 -1
- package/dist/tools/builtin/file-write.js +0 -83
- package/dist/tools/builtin/file-write.js.map +0 -1
- package/dist/tools/builtin/git-diff.d.ts +0 -43
- package/dist/tools/builtin/git-diff.d.ts.map +0 -1
- package/dist/tools/builtin/git-diff.js +0 -0
- package/dist/tools/builtin/git-diff.js.map +0 -1
- package/dist/tools/builtin/git-log 2.d.ts +0 -61
- package/dist/tools/builtin/git-log 2.d.ts.map +0 -1
- package/dist/tools/builtin/git-log 2.js +0 -109
- package/dist/tools/builtin/git-log 2.js.map +0 -1
- package/dist/tools/builtin/git-log.d.ts +0 -61
- package/dist/tools/builtin/git-log.d.ts.map +0 -1
- package/dist/tools/builtin/git-log.js +0 -109
- package/dist/tools/builtin/git-log.js.map +0 -1
- package/dist/tools/builtin/glob.d.ts +0 -37
- package/dist/tools/builtin/glob.d.ts.map +0 -1
- package/dist/tools/builtin/glob.js +0 -57
- package/dist/tools/builtin/glob.js.map +0 -1
- package/dist/tools/builtin/goal-state 2.d.ts +0 -36
- package/dist/tools/builtin/goal-state 2.d.ts.map +0 -1
- package/dist/tools/builtin/goal-state 2.js +0 -126
- package/dist/tools/builtin/goal-state 2.js.map +0 -1
- package/dist/tools/builtin/goal-state.d.ts +0 -36
- package/dist/tools/builtin/goal-state.d.ts.map +0 -1
- package/dist/tools/builtin/goal-state.js +0 -126
- package/dist/tools/builtin/goal-state.js.map +0 -1
- package/dist/tools/builtin/grep.d.ts +0 -61
- package/dist/tools/builtin/grep.d.ts.map +0 -1
- package/dist/tools/builtin/grep.js +0 -80
- package/dist/tools/builtin/grep.js.map +0 -1
- package/dist/tools/builtin/http-fetch.d.ts +0 -55
- package/dist/tools/builtin/http-fetch.d.ts.map +0 -1
- package/dist/tools/builtin/http-fetch.js +0 -54
- package/dist/tools/builtin/http-fetch.js.map +0 -1
- package/dist/tools/builtin/json-query.d.ts +0 -32
- package/dist/tools/builtin/json-query.d.ts.map +0 -1
- package/dist/tools/builtin/json-query.js +0 -54
- package/dist/tools/builtin/json-query.js.map +0 -1
- package/dist/tools/builtin/knowledge-query 2.d.ts +0 -61
- package/dist/tools/builtin/knowledge-query 2.d.ts.map +0 -1
- package/dist/tools/builtin/knowledge-query 2.js +0 -116
- package/dist/tools/builtin/knowledge-query 2.js.map +0 -1
- package/dist/tools/builtin/knowledge-query.d.ts +0 -61
- package/dist/tools/builtin/knowledge-query.d.ts.map +0 -1
- package/dist/tools/builtin/knowledge-query.js +0 -116
- package/dist/tools/builtin/knowledge-query.js.map +0 -1
- package/dist/tools/builtin/list-dir 2.d.ts +0 -48
- package/dist/tools/builtin/list-dir 2.d.ts.map +0 -1
- package/dist/tools/builtin/list-dir 2.js +0 -89
- package/dist/tools/builtin/list-dir 2.js.map +0 -1
- package/dist/tools/builtin/list-dir.d.ts +0 -48
- package/dist/tools/builtin/list-dir.d.ts.map +0 -1
- package/dist/tools/builtin/list-dir.js +0 -89
- package/dist/tools/builtin/list-dir.js.map +0 -1
- package/dist/tools/builtin/process-status 2.d.ts +0 -61
- package/dist/tools/builtin/process-status 2.d.ts.map +0 -1
- package/dist/tools/builtin/process-status 2.js +0 -145
- package/dist/tools/builtin/process-status 2.js.map +0 -1
- package/dist/tools/builtin/process-status.d.ts +0 -61
- package/dist/tools/builtin/process-status.d.ts.map +0 -1
- package/dist/tools/builtin/process-status.js +0 -145
- package/dist/tools/builtin/process-status.js.map +0 -1
- package/dist/tools/builtin/progress-history 2.d.ts +0 -57
- package/dist/tools/builtin/progress-history 2.d.ts.map +0 -1
- package/dist/tools/builtin/progress-history 2.js +0 -141
- package/dist/tools/builtin/progress-history 2.js.map +0 -1
- package/dist/tools/builtin/progress-history.d.ts +0 -57
- package/dist/tools/builtin/progress-history.d.ts.map +0 -1
- package/dist/tools/builtin/progress-history.js +0 -141
- package/dist/tools/builtin/progress-history.js.map +0 -1
- package/dist/tools/builtin/read.d.ts +0 -37
- package/dist/tools/builtin/read.d.ts.map +0 -1
- package/dist/tools/builtin/read.js +0 -68
- package/dist/tools/builtin/read.js.map +0 -1
- package/dist/tools/builtin/session-history 2.d.ts +0 -42
- package/dist/tools/builtin/session-history 2.d.ts.map +0 -1
- package/dist/tools/builtin/session-history 2.js +0 -116
- package/dist/tools/builtin/session-history 2.js.map +0 -1
- package/dist/tools/builtin/session-history.d.ts +0 -42
- package/dist/tools/builtin/session-history.d.ts.map +0 -1
- package/dist/tools/builtin/session-history.js +0 -116
- package/dist/tools/builtin/session-history.js.map +0 -1
- package/dist/tools/builtin/shared/parse-tool-output.d.ts +0 -18
- package/dist/tools/builtin/shared/parse-tool-output.d.ts.map +0 -1
- package/dist/tools/builtin/shared/parse-tool-output.js +0 -53
- package/dist/tools/builtin/shared/parse-tool-output.js.map +0 -1
- package/dist/tools/builtin/shared/parse-tool-output.test.d.ts +0 -2
- package/dist/tools/builtin/shared/parse-tool-output.test.d.ts.map +0 -1
- package/dist/tools/builtin/shared/parse-tool-output.test.js +0 -68
- package/dist/tools/builtin/shared/parse-tool-output.test.js.map +0 -1
- package/dist/tools/builtin/shell.d.ts +0 -48
- package/dist/tools/builtin/shell.d.ts.map +0 -1
- package/dist/tools/builtin/shell.js +0 -93
- package/dist/tools/builtin/shell.js.map +0 -1
- package/dist/tools/builtin/sleep.d.ts +0 -35
- package/dist/tools/builtin/sleep.d.ts.map +0 -1
- package/dist/tools/builtin/sleep.js +0 -48
- package/dist/tools/builtin/sleep.js.map +0 -1
- package/dist/tools/builtin/test-runner 2.d.ts +0 -53
- package/dist/tools/builtin/test-runner 2.d.ts.map +0 -1
- package/dist/tools/builtin/test-runner 2.js +0 -181
- package/dist/tools/builtin/test-runner 2.js.map +0 -1
- package/dist/tools/builtin/test-runner.d.ts +0 -53
- package/dist/tools/builtin/test-runner.d.ts.map +0 -1
- package/dist/tools/builtin/test-runner.js +0 -181
- package/dist/tools/builtin/test-runner.js.map +0 -1
- package/dist/tools/builtin/tool-search 2.d.ts +0 -43
- package/dist/tools/builtin/tool-search 2.d.ts.map +0 -1
- package/dist/tools/builtin/tool-search 2.js +0 -44
- package/dist/tools/builtin/tool-search 2.js.map +0 -1
- package/dist/tools/builtin/tool-search.d.ts +0 -43
- package/dist/tools/builtin/tool-search.d.ts.map +0 -1
- package/dist/tools/builtin/tool-search.js +0 -44
- package/dist/tools/builtin/tool-search.js.map +0 -1
- package/dist/tools/builtin/trust-state 2.d.ts +0 -30
- package/dist/tools/builtin/trust-state 2.d.ts.map +0 -1
- package/dist/tools/builtin/trust-state 2.js +0 -90
- package/dist/tools/builtin/trust-state 2.js.map +0 -1
- package/dist/tools/builtin/trust-state.d.ts +0 -30
- package/dist/tools/builtin/trust-state.d.ts.map +0 -1
- package/dist/tools/builtin/trust-state.js +0 -90
- package/dist/tools/builtin/trust-state.js.map +0 -1
- package/dist/tools/builtin/web-search.d.ts +0 -49
- package/dist/tools/builtin/web-search.d.ts.map +0 -1
- package/dist/tools/builtin/web-search.js +0 -96
- package/dist/tools/builtin/web-search.js.map +0 -1
- package/dist/tools/concurrency 2.d.ts +0 -20
- package/dist/tools/concurrency 2.d.ts.map +0 -1
- package/dist/tools/concurrency 2.js +0 -58
- package/dist/tools/concurrency 2.js.map +0 -1
- package/dist/tools/executor 2.d.ts +0 -34
- package/dist/tools/executor 2.d.ts.map +0 -1
- package/dist/tools/executor 2.js +0 -156
- package/dist/tools/executor 2.js.map +0 -1
- package/dist/tools/filesystem/file-edit.d.ts +0 -48
- package/dist/tools/filesystem/file-edit.d.ts.map +0 -1
- package/dist/tools/filesystem/file-edit.js +0 -124
- package/dist/tools/filesystem/file-edit.js.map +0 -1
- package/dist/tools/filesystem/file-validation.d.ts +0 -6
- package/dist/tools/filesystem/file-validation.d.ts.map +0 -1
- package/dist/tools/filesystem/file-validation.js +0 -17
- package/dist/tools/filesystem/file-validation.js.map +0 -1
- package/dist/tools/filesystem/file-write.d.ts +0 -41
- package/dist/tools/filesystem/file-write.d.ts.map +0 -1
- package/dist/tools/filesystem/file-write.js +0 -83
- package/dist/tools/filesystem/file-write.js.map +0 -1
- package/dist/tools/filesystem/glob.d.ts +0 -37
- package/dist/tools/filesystem/glob.d.ts.map +0 -1
- package/dist/tools/filesystem/glob.js +0 -57
- package/dist/tools/filesystem/glob.js.map +0 -1
- package/dist/tools/filesystem/grep.d.ts +0 -61
- package/dist/tools/filesystem/grep.d.ts.map +0 -1
- package/dist/tools/filesystem/grep.js +0 -80
- package/dist/tools/filesystem/grep.js.map +0 -1
- package/dist/tools/filesystem/json-query.d.ts +0 -32
- package/dist/tools/filesystem/json-query.d.ts.map +0 -1
- package/dist/tools/filesystem/json-query.js +0 -54
- package/dist/tools/filesystem/json-query.js.map +0 -1
- package/dist/tools/filesystem/list-dir.d.ts +0 -48
- package/dist/tools/filesystem/list-dir.d.ts.map +0 -1
- package/dist/tools/filesystem/list-dir.js +0 -89
- package/dist/tools/filesystem/list-dir.js.map +0 -1
- package/dist/tools/filesystem/read.d.ts +0 -37
- package/dist/tools/filesystem/read.d.ts.map +0 -1
- package/dist/tools/filesystem/read.js +0 -68
- package/dist/tools/filesystem/read.js.map +0 -1
- package/dist/tools/git/git-diff.d.ts +0 -43
- package/dist/tools/git/git-diff.d.ts.map +0 -1
- package/dist/tools/git/git-diff.js +0 -131
- package/dist/tools/git/git-diff.js.map +0 -1
- package/dist/tools/git/git-log.d.ts +0 -61
- package/dist/tools/git/git-log.d.ts.map +0 -1
- package/dist/tools/git/git-log.js +0 -109
- package/dist/tools/git/git-log.js.map +0 -1
- package/dist/tools/index 2.d.ts +0 -10
- package/dist/tools/index 2.d.ts.map +0 -1
- package/dist/tools/index 2.js +0 -7
- package/dist/tools/index 2.js.map +0 -1
- package/dist/tools/meta/tool-search.d.ts +0 -43
- package/dist/tools/meta/tool-search.d.ts.map +0 -1
- package/dist/tools/meta/tool-search.js +0 -44
- package/dist/tools/meta/tool-search.js.map +0 -1
- package/dist/tools/network/http-fetch.d.ts +0 -55
- package/dist/tools/network/http-fetch.d.ts.map +0 -1
- package/dist/tools/network/http-fetch.js +0 -54
- package/dist/tools/network/http-fetch.js.map +0 -1
- package/dist/tools/network/web-search.d.ts +0 -49
- package/dist/tools/network/web-search.d.ts.map +0 -1
- package/dist/tools/network/web-search.js +0 -96
- package/dist/tools/network/web-search.js.map +0 -1
- package/dist/tools/permission 2.d.ts +0 -42
- package/dist/tools/permission 2.d.ts.map +0 -1
- package/dist/tools/permission 2.js +0 -101
- package/dist/tools/permission 2.js.map +0 -1
- package/dist/tools/registry 2.d.ts +0 -38
- package/dist/tools/registry 2.d.ts.map +0 -1
- package/dist/tools/registry 2.js +0 -114
- package/dist/tools/registry 2.js.map +0 -1
- package/dist/tools/state/architecture-tool.d.ts +0 -25
- package/dist/tools/state/architecture-tool.d.ts.map +0 -1
- package/dist/tools/state/architecture-tool.js +0 -98
- package/dist/tools/state/architecture-tool.js.map +0 -1
- package/dist/tools/state/archive-goal-tool.d.ts +0 -34
- package/dist/tools/state/archive-goal-tool.d.ts.map +0 -1
- package/dist/tools/state/archive-goal-tool.js +0 -85
- package/dist/tools/state/archive-goal-tool.js.map +0 -1
- package/dist/tools/state/config-tool.d.ts +0 -25
- package/dist/tools/state/config-tool.d.ts.map +0 -1
- package/dist/tools/state/config-tool.js +0 -87
- package/dist/tools/state/config-tool.js.map +0 -1
- package/dist/tools/state/delete-goal-tool.d.ts +0 -28
- package/dist/tools/state/delete-goal-tool.d.ts.map +0 -1
- package/dist/tools/state/delete-goal-tool.js +0 -87
- package/dist/tools/state/delete-goal-tool.js.map +0 -1
- package/dist/tools/state/goal-state.d.ts +0 -36
- package/dist/tools/state/goal-state.d.ts.map +0 -1
- package/dist/tools/state/goal-state.js +0 -126
- package/dist/tools/state/goal-state.js.map +0 -1
- package/dist/tools/state/knowledge-query.d.ts +0 -61
- package/dist/tools/state/knowledge-query.d.ts.map +0 -1
- package/dist/tools/state/knowledge-query.js +0 -116
- package/dist/tools/state/knowledge-query.js.map +0 -1
- package/dist/tools/state/plugin-state-tool.d.ts +0 -28
- package/dist/tools/state/plugin-state-tool.d.ts.map +0 -1
- package/dist/tools/state/plugin-state-tool.js +0 -78
- package/dist/tools/state/plugin-state-tool.js.map +0 -1
- package/dist/tools/state/progress-history.d.ts +0 -57
- package/dist/tools/state/progress-history.d.ts.map +0 -1
- package/dist/tools/state/progress-history.js +0 -141
- package/dist/tools/state/progress-history.js.map +0 -1
- package/dist/tools/state/reset-trust-tool.d.ts +0 -40
- package/dist/tools/state/reset-trust-tool.d.ts.map +0 -1
- package/dist/tools/state/reset-trust-tool.js +0 -82
- package/dist/tools/state/reset-trust-tool.js.map +0 -1
- package/dist/tools/state/session-history.d.ts +0 -42
- package/dist/tools/state/session-history.d.ts.map +0 -1
- package/dist/tools/state/session-history.js +0 -116
- package/dist/tools/state/session-history.js.map +0 -1
- package/dist/tools/state/set-goal-tool.d.ts +0 -28
- package/dist/tools/state/set-goal-tool.d.ts.map +0 -1
- package/dist/tools/state/set-goal-tool.js +0 -82
- package/dist/tools/state/set-goal-tool.js.map +0 -1
- package/dist/tools/state/toggle-plugin-tool.d.ts +0 -31
- package/dist/tools/state/toggle-plugin-tool.d.ts.map +0 -1
- package/dist/tools/state/toggle-plugin-tool.js +0 -53
- package/dist/tools/state/toggle-plugin-tool.js.map +0 -1
- package/dist/tools/state/trust-state.d.ts +0 -30
- package/dist/tools/state/trust-state.d.ts.map +0 -1
- package/dist/tools/state/trust-state.js +0 -90
- package/dist/tools/state/trust-state.js.map +0 -1
- package/dist/tools/state/update-config-tool.d.ts +0 -31
- package/dist/tools/state/update-config-tool.d.ts.map +0 -1
- package/dist/tools/state/update-config-tool.js +0 -67
- package/dist/tools/state/update-config-tool.js.map +0 -1
- package/dist/tools/state/update-goal-tool.d.ts +0 -40
- package/dist/tools/state/update-goal-tool.d.ts.map +0 -1
- package/dist/tools/state/update-goal-tool.js +0 -71
- package/dist/tools/state/update-goal-tool.js.map +0 -1
- package/dist/tools/system/env.d.ts +0 -35
- package/dist/tools/system/env.d.ts.map +0 -1
- package/dist/tools/system/env.js +0 -125
- package/dist/tools/system/env.js.map +0 -1
- package/dist/tools/system/process-status.d.ts +0 -61
- package/dist/tools/system/process-status.d.ts.map +0 -1
- package/dist/tools/system/process-status.js +0 -145
- package/dist/tools/system/process-status.js.map +0 -1
- package/dist/tools/system/shell.d.ts +0 -48
- package/dist/tools/system/shell.d.ts.map +0 -1
- package/dist/tools/system/shell.js +0 -106
- package/dist/tools/system/shell.js.map +0 -1
- package/dist/tools/system/sleep.d.ts +0 -35
- package/dist/tools/system/sleep.d.ts.map +0 -1
- package/dist/tools/system/sleep.js +0 -48
- package/dist/tools/system/sleep.js.map +0 -1
- package/dist/tools/types 2.d.ts +0 -188
- package/dist/tools/types 2.d.ts.map +0 -1
- package/dist/tools/types 2.js +0 -66
- package/dist/tools/types 2.js.map +0 -1
- package/dist/traits/__tests__/character-config.test.d.ts +0 -2
- package/dist/traits/__tests__/character-config.test.d.ts.map +0 -1
- package/dist/traits/__tests__/character-config.test.js +0 -300
- package/dist/traits/__tests__/character-config.test.js.map +0 -1
- package/dist/traits/__tests__/character-separation.test.d.ts +0 -10
- package/dist/traits/__tests__/character-separation.test.d.ts.map +0 -1
- package/dist/traits/__tests__/character-separation.test.js +0 -357
- package/dist/traits/__tests__/character-separation.test.js.map +0 -1
- package/dist/traits/__tests__/curiosity-engine-budget.test.d.ts +0 -2
- package/dist/traits/__tests__/curiosity-engine-budget.test.d.ts.map +0 -1
- package/dist/traits/__tests__/curiosity-engine-budget.test.js +0 -465
- package/dist/traits/__tests__/curiosity-engine-budget.test.js.map +0 -1
- package/dist/traits/__tests__/curiosity-engine-constructor.test.d.ts +0 -2
- package/dist/traits/__tests__/curiosity-engine-constructor.test.d.ts.map +0 -1
- package/dist/traits/__tests__/curiosity-engine-constructor.test.js +0 -592
- package/dist/traits/__tests__/curiosity-engine-constructor.test.js.map +0 -1
- package/dist/traits/__tests__/curiosity-engine-lifecycle.test.d.ts +0 -2
- package/dist/traits/__tests__/curiosity-engine-lifecycle.test.d.ts.map +0 -1
- package/dist/traits/__tests__/curiosity-engine-lifecycle.test.js +0 -399
- package/dist/traits/__tests__/curiosity-engine-lifecycle.test.js.map +0 -1
- package/dist/traits/__tests__/curiosity-engine-proposals.test.d.ts +0 -2
- package/dist/traits/__tests__/curiosity-engine-proposals.test.d.ts.map +0 -1
- package/dist/traits/__tests__/curiosity-engine-proposals.test.js +0 -438
- package/dist/traits/__tests__/curiosity-engine-proposals.test.js.map +0 -1
- package/dist/traits/__tests__/ethics-gate-core.test.d.ts +0 -2
- package/dist/traits/__tests__/ethics-gate-core.test.d.ts.map +0 -1
- package/dist/traits/__tests__/ethics-gate-core.test.js +0 -335
- package/dist/traits/__tests__/ethics-gate-core.test.js.map +0 -1
- package/dist/traits/__tests__/ethics-gate-layer1.test.d.ts +0 -2
- package/dist/traits/__tests__/ethics-gate-layer1.test.d.ts.map +0 -1
- package/dist/traits/__tests__/ethics-gate-layer1.test.js +0 -660
- package/dist/traits/__tests__/ethics-gate-layer1.test.js.map +0 -1
- package/dist/traits/__tests__/guardrail-integration.test.d.ts +0 -2
- package/dist/traits/__tests__/guardrail-integration.test.d.ts.map +0 -1
- package/dist/traits/__tests__/guardrail-integration.test.js +0 -230
- package/dist/traits/__tests__/guardrail-integration.test.js.map +0 -1
- package/dist/traits/__tests__/guardrail-runner.test.d.ts +0 -2
- package/dist/traits/__tests__/guardrail-runner.test.d.ts.map +0 -1
- package/dist/traits/__tests__/guardrail-runner.test.js +0 -295
- package/dist/traits/__tests__/guardrail-runner.test.js.map +0 -1
- package/dist/traits/__tests__/trust-manager.test.d.ts +0 -2
- package/dist/traits/__tests__/trust-manager.test.d.ts.map +0 -1
- package/dist/traits/__tests__/trust-manager.test.js +0 -437
- package/dist/traits/__tests__/trust-manager.test.js.map +0 -1
- package/dist/traits/__tests__/trust-rate-limit.test.d.ts +0 -2
- package/dist/traits/__tests__/trust-rate-limit.test.d.ts.map +0 -1
- package/dist/traits/__tests__/trust-rate-limit.test.js +0 -99
- package/dist/traits/__tests__/trust-rate-limit.test.js.map +0 -1
- package/dist/traits/character-config.d.ts +0 -34
- package/dist/traits/character-config.d.ts.map +0 -1
- package/dist/traits/character-config.js +0 -53
- package/dist/traits/character-config.js.map +0 -1
- package/dist/traits/curiosity-engine.d.ts +0 -177
- package/dist/traits/curiosity-engine.d.ts.map +0 -1
- package/dist/traits/curiosity-engine.js +0 -523
- package/dist/traits/curiosity-engine.js.map +0 -1
- package/dist/traits/curiosity-proposals.d.ts +0 -38
- package/dist/traits/curiosity-proposals.d.ts.map +0 -1
- package/dist/traits/curiosity-proposals.js +0 -259
- package/dist/traits/curiosity-proposals.js.map +0 -1
- package/dist/traits/curiosity-transfer.d.ts +0 -27
- package/dist/traits/curiosity-transfer.d.ts.map +0 -1
- package/dist/traits/curiosity-transfer.js +0 -50
- package/dist/traits/curiosity-transfer.js.map +0 -1
- package/dist/traits/ethics-gate.d.ts +0 -77
- package/dist/traits/ethics-gate.d.ts.map +0 -1
- package/dist/traits/ethics-gate.js +0 -245
- package/dist/traits/ethics-gate.js.map +0 -1
- package/dist/traits/ethics-rules.d.ts +0 -10
- package/dist/traits/ethics-rules.d.ts.map +0 -1
- package/dist/traits/ethics-rules.js +0 -332
- package/dist/traits/ethics-rules.js.map +0 -1
- package/dist/traits/guardrail-runner.d.ts +0 -29
- package/dist/traits/guardrail-runner.d.ts.map +0 -1
- package/dist/traits/guardrail-runner.js +0 -81
- package/dist/traits/guardrail-runner.js.map +0 -1
- package/dist/traits/trust-manager.d.ts +0 -90
- package/dist/traits/trust-manager.d.ts.map +0 -1
- package/dist/traits/trust-manager.js +0 -276
- package/dist/traits/trust-manager.js.map +0 -1
- package/dist/traits/types/character.d.ts +0 -20
- package/dist/traits/types/character.d.ts.map +0 -1
- package/dist/traits/types/character.js +0 -10
- package/dist/traits/types/character.js.map +0 -1
- package/dist/traits/types/curiosity.d.ts +0 -443
- package/dist/traits/types/curiosity.d.ts.map +0 -1
- package/dist/traits/types/curiosity.js +0 -86
- package/dist/traits/types/curiosity.js.map +0 -1
- package/dist/traits/types/ethics.d.ts +0 -169
- package/dist/traits/types/ethics.d.ts.map +0 -1
- package/dist/traits/types/ethics.js +0 -47
- package/dist/traits/types/ethics.js.map +0 -1
- package/dist/traits/types/guardrail.d.ts +0 -104
- package/dist/traits/types/guardrail.d.ts.map +0 -1
- package/dist/traits/types/guardrail.js +0 -34
- package/dist/traits/types/guardrail.js.map +0 -1
- package/dist/traits/types/trust.d.ts +0 -126
- package/dist/traits/types/trust.d.ts.map +0 -1
- package/dist/traits/types/trust.js +0 -38
- package/dist/traits/types/trust.js.map +0 -1
- package/dist/tui/__tests__/actions.test.d.ts +0 -2
- package/dist/tui/__tests__/actions.test.d.ts.map +0 -1
- package/dist/tui/__tests__/actions.test.js +0 -300
- package/dist/tui/__tests__/actions.test.js.map +0 -1
- package/dist/tui/__tests__/fuzzy.test.d.ts +0 -2
- package/dist/tui/__tests__/fuzzy.test.d.ts.map +0 -1
- package/dist/tui/__tests__/fuzzy.test.js +0 -95
- package/dist/tui/__tests__/fuzzy.test.js.map +0 -1
- package/dist/tui/__tests__/intent-recognizer.test.d.ts +0 -2
- package/dist/tui/__tests__/intent-recognizer.test.d.ts.map +0 -1
- package/dist/tui/__tests__/intent-recognizer.test.js +0 -174
- package/dist/tui/__tests__/intent-recognizer.test.js.map +0 -1
- package/dist/tui/__tests__/use-loop.test.d.ts +0 -2
- package/dist/tui/__tests__/use-loop.test.d.ts.map +0 -1
- package/dist/tui/__tests__/use-loop.test.js +0 -286
- package/dist/tui/__tests__/use-loop.test.js.map +0 -1
- package/dist/tui/actions.d.ts +0 -39
- package/dist/tui/actions.d.ts.map +0 -1
- package/dist/tui/actions.js +0 -231
- package/dist/tui/actions.js.map +0 -1
- package/dist/tui/app.d.ts +0 -24
- package/dist/tui/app.d.ts.map +0 -1
- package/dist/tui/app.js +0 -164
- package/dist/tui/app.js.map +0 -1
- package/dist/tui/approval-overlay.d.ts +0 -8
- package/dist/tui/approval-overlay.d.ts.map +0 -1
- package/dist/tui/approval-overlay.js +0 -21
- package/dist/tui/approval-overlay.js.map +0 -1
- package/dist/tui/chat.d.ts +0 -15
- package/dist/tui/chat.d.ts.map +0 -1
- package/dist/tui/chat.js +0 -179
- package/dist/tui/chat.js.map +0 -1
- package/dist/tui/dashboard.d.ts +0 -9
- package/dist/tui/dashboard.d.ts.map +0 -1
- package/dist/tui/dashboard.js +0 -48
- package/dist/tui/dashboard.js.map +0 -1
- package/dist/tui/entry.d.ts +0 -3
- package/dist/tui/entry.d.ts.map +0 -1
- package/dist/tui/entry.js +0 -242
- package/dist/tui/entry.js.map +0 -1
- package/dist/tui/fuzzy.d.ts +0 -16
- package/dist/tui/fuzzy.d.ts.map +0 -1
- package/dist/tui/fuzzy.js +0 -66
- package/dist/tui/fuzzy.js.map +0 -1
- package/dist/tui/help-overlay.d.ts +0 -6
- package/dist/tui/help-overlay.d.ts.map +0 -1
- package/dist/tui/help-overlay.js +0 -13
- package/dist/tui/help-overlay.js.map +0 -1
- package/dist/tui/intent-recognizer.d.ts +0 -19
- package/dist/tui/intent-recognizer.d.ts.map +0 -1
- package/dist/tui/intent-recognizer.js +0 -131
- package/dist/tui/intent-recognizer.js.map +0 -1
- package/dist/tui/markdown-renderer.d.ts +0 -32
- package/dist/tui/markdown-renderer.d.ts.map +0 -1
- package/dist/tui/markdown-renderer.js +0 -212
- package/dist/tui/markdown-renderer.js.map +0 -1
- package/dist/tui/report-view.d.ts +0 -6
- package/dist/tui/report-view.d.ts.map +0 -1
- package/dist/tui/report-view.js +0 -55
- package/dist/tui/report-view.js.map +0 -1
- package/dist/tui/seedy-art.d.ts +0 -46
- package/dist/tui/seedy-art.d.ts.map +0 -1
- package/dist/tui/seedy-art.js +0 -141
- package/dist/tui/seedy-art.js.map +0 -1
- package/dist/tui/theme.d.ts +0 -47
- package/dist/tui/theme.d.ts.map +0 -1
- package/dist/tui/theme.js +0 -116
- package/dist/tui/theme.js.map +0 -1
- package/dist/tui/use-loop.d.ts +0 -54
- package/dist/tui/use-loop.d.ts.map +0 -1
- package/dist/tui/use-loop.js +0 -185
- package/dist/tui/use-loop.js.map +0 -1
- package/dist/types/__tests__/cross-portfolio.test.d.ts +0 -2
- package/dist/types/__tests__/cross-portfolio.test.d.ts.map +0 -1
- package/dist/types/__tests__/cross-portfolio.test.js +0 -336
- package/dist/types/__tests__/cross-portfolio.test.js.map +0 -1
- package/dist/types/__tests__/existing-extensions.test.d.ts +0 -2
- package/dist/types/__tests__/existing-extensions.test.d.ts.map +0 -1
- package/dist/types/__tests__/existing-extensions.test.js +0 -140
- package/dist/types/__tests__/existing-extensions.test.js.map +0 -1
- package/dist/types/__tests__/goal-refiner-types.test.d.ts +0 -2
- package/dist/types/__tests__/goal-refiner-types.test.d.ts.map +0 -1
- package/dist/types/__tests__/goal-refiner-types.test.js +0 -198
- package/dist/types/__tests__/goal-refiner-types.test.js.map +0 -1
- package/dist/types/__tests__/goal-tree-integration.test.d.ts +0 -2
- package/dist/types/__tests__/goal-tree-integration.test.d.ts.map +0 -1
- package/dist/types/__tests__/goal-tree-integration.test.js +0 -327
- package/dist/types/__tests__/goal-tree-integration.test.js.map +0 -1
- package/dist/types/__tests__/goal-tree.test.d.ts +0 -2
- package/dist/types/__tests__/goal-tree.test.d.ts.map +0 -1
- package/dist/types/__tests__/goal-tree.test.js +0 -286
- package/dist/types/__tests__/goal-tree.test.js.map +0 -1
- package/dist/types/__tests__/learning.test.d.ts +0 -2
- package/dist/types/__tests__/learning.test.d.ts.map +0 -1
- package/dist/types/__tests__/learning.test.js +0 -306
- package/dist/types/__tests__/learning.test.js.map +0 -1
- package/dist/types/__tests__/suggest-output-schema.test.d.ts +0 -2
- package/dist/types/__tests__/suggest-output-schema.test.d.ts.map +0 -1
- package/dist/types/__tests__/suggest-output-schema.test.js +0 -239
- package/dist/types/__tests__/suggest-output-schema.test.js.map +0 -1
- package/dist/types/a2a.d.ts +0 -2
- package/dist/types/a2a.d.ts.map +0 -1
- package/dist/types/a2a.js +0 -3
- package/dist/types/a2a.js.map +0 -1
- package/dist/types/agent-profile.d.ts +0 -2
- package/dist/types/agent-profile.d.ts.map +0 -1
- package/dist/types/agent-profile.js +0 -3
- package/dist/types/agent-profile.js.map +0 -1
- package/dist/types/capability.d.ts +0 -2
- package/dist/types/capability.d.ts.map +0 -1
- package/dist/types/capability.js +0 -3
- package/dist/types/capability.js.map +0 -1
- package/dist/types/character.d.ts +0 -2
- package/dist/types/character.d.ts.map +0 -1
- package/dist/types/character.js +0 -3
- package/dist/types/character.js.map +0 -1
- package/dist/types/checkpoint.d.ts +0 -2
- package/dist/types/checkpoint.d.ts.map +0 -1
- package/dist/types/checkpoint.js +0 -3
- package/dist/types/checkpoint.js.map +0 -1
- package/dist/types/core.d.ts +0 -175
- package/dist/types/core.d.ts.map +0 -1
- package/dist/types/core.js +0 -156
- package/dist/types/core.js.map +0 -1
- package/dist/types/cron.d.ts +0 -2
- package/dist/types/cron.d.ts.map +0 -1
- package/dist/types/cron.js +0 -3
- package/dist/types/cron.js.map +0 -1
- package/dist/types/cross-portfolio.d.ts +0 -2
- package/dist/types/cross-portfolio.d.ts.map +0 -1
- package/dist/types/cross-portfolio.js +0 -3
- package/dist/types/cross-portfolio.js.map +0 -1
- package/dist/types/curiosity.d.ts +0 -2
- package/dist/types/curiosity.d.ts.map +0 -1
- package/dist/types/curiosity.js +0 -3
- package/dist/types/curiosity.js.map +0 -1
- package/dist/types/daemon.d.ts +0 -2
- package/dist/types/daemon.d.ts.map +0 -1
- package/dist/types/daemon.js +0 -3
- package/dist/types/daemon.js.map +0 -1
- package/dist/types/data-source.d.ts +0 -2
- package/dist/types/data-source.d.ts.map +0 -1
- package/dist/types/data-source.js +0 -3
- package/dist/types/data-source.js.map +0 -1
- package/dist/types/dependency.d.ts +0 -2
- package/dist/types/dependency.d.ts.map +0 -1
- package/dist/types/dependency.js +0 -3
- package/dist/types/dependency.js.map +0 -1
- package/dist/types/drive.d.ts +0 -2
- package/dist/types/drive.d.ts.map +0 -1
- package/dist/types/drive.js +0 -3
- package/dist/types/drive.js.map +0 -1
- package/dist/types/embedding.d.ts +0 -2
- package/dist/types/embedding.d.ts.map +0 -1
- package/dist/types/embedding.js +0 -3
- package/dist/types/embedding.js.map +0 -1
- package/dist/types/ethics.d.ts +0 -2
- package/dist/types/ethics.d.ts.map +0 -1
- package/dist/types/ethics.js +0 -3
- package/dist/types/ethics.js.map +0 -1
- package/dist/types/gap.d.ts +0 -2
- package/dist/types/gap.d.ts.map +0 -1
- package/dist/types/gap.js +0 -3
- package/dist/types/gap.js.map +0 -1
- package/dist/types/goal-refiner.d.ts +0 -2
- package/dist/types/goal-refiner.d.ts.map +0 -1
- package/dist/types/goal-refiner.js +0 -3
- package/dist/types/goal-refiner.js.map +0 -1
- package/dist/types/goal-tree.d.ts +0 -2
- package/dist/types/goal-tree.d.ts.map +0 -1
- package/dist/types/goal-tree.js +0 -3
- package/dist/types/goal-tree.js.map +0 -1
- package/dist/types/goal.d.ts +0 -2
- package/dist/types/goal.d.ts.map +0 -1
- package/dist/types/goal.js +0 -3
- package/dist/types/goal.js.map +0 -1
- package/dist/types/guardrail.d.ts +0 -2
- package/dist/types/guardrail.d.ts.map +0 -1
- package/dist/types/guardrail.js +0 -3
- package/dist/types/guardrail.js.map +0 -1
- package/dist/types/hook.d.ts +0 -2
- package/dist/types/hook.d.ts.map +0 -1
- package/dist/types/hook.js +0 -3
- package/dist/types/hook.js.map +0 -1
- package/dist/types/index.d.ts +0 -32
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/index.js +0 -32
- package/dist/types/index.js.map +0 -1
- package/dist/types/knowledge.d.ts +0 -2
- package/dist/types/knowledge.d.ts.map +0 -1
- package/dist/types/knowledge.js +0 -3
- package/dist/types/knowledge.js.map +0 -1
- package/dist/types/learning.d.ts +0 -2
- package/dist/types/learning.d.ts.map +0 -1
- package/dist/types/learning.js +0 -3
- package/dist/types/learning.js.map +0 -1
- package/dist/types/mcp.d.ts +0 -2
- package/dist/types/mcp.d.ts.map +0 -1
- package/dist/types/mcp.js +0 -3
- package/dist/types/mcp.js.map +0 -1
- package/dist/types/memory-lifecycle.d.ts +0 -2
- package/dist/types/memory-lifecycle.d.ts.map +0 -1
- package/dist/types/memory-lifecycle.js +0 -3
- package/dist/types/memory-lifecycle.js.map +0 -1
- package/dist/types/negotiation.d.ts +0 -2
- package/dist/types/negotiation.d.ts.map +0 -1
- package/dist/types/negotiation.js +0 -3
- package/dist/types/negotiation.js.map +0 -1
- package/dist/types/notification.d.ts +0 -2
- package/dist/types/notification.d.ts.map +0 -1
- package/dist/types/notification.js +0 -3
- package/dist/types/notification.js.map +0 -1
- package/dist/types/pipeline.d.ts +0 -2
- package/dist/types/pipeline.d.ts.map +0 -1
- package/dist/types/pipeline.js +0 -3
- package/dist/types/pipeline.js.map +0 -1
- package/dist/types/plugin.d.ts +0 -2
- package/dist/types/plugin.d.ts.map +0 -1
- package/dist/types/plugin.js +0 -3
- package/dist/types/plugin.js.map +0 -1
- package/dist/types/portfolio.d.ts +0 -2
- package/dist/types/portfolio.d.ts.map +0 -1
- package/dist/types/portfolio.js +0 -3
- package/dist/types/portfolio.js.map +0 -1
- package/dist/types/reflection.d.ts +0 -2
- package/dist/types/reflection.d.ts.map +0 -1
- package/dist/types/reflection.js +0 -3
- package/dist/types/reflection.js.map +0 -1
- package/dist/types/report.d.ts +0 -2
- package/dist/types/report.d.ts.map +0 -1
- package/dist/types/report.js +0 -3
- package/dist/types/report.js.map +0 -1
- package/dist/types/satisficing.d.ts +0 -2
- package/dist/types/satisficing.d.ts.map +0 -1
- package/dist/types/satisficing.js +0 -3
- package/dist/types/satisficing.js.map +0 -1
- package/dist/types/session.d.ts +0 -2
- package/dist/types/session.d.ts.map +0 -1
- package/dist/types/session.js +0 -3
- package/dist/types/session.js.map +0 -1
- package/dist/types/stall.d.ts +0 -2
- package/dist/types/stall.d.ts.map +0 -1
- package/dist/types/stall.js +0 -3
- package/dist/types/stall.js.map +0 -1
- package/dist/types/state.d.ts +0 -2
- package/dist/types/state.d.ts.map +0 -1
- package/dist/types/state.js +0 -3
- package/dist/types/state.js.map +0 -1
- package/dist/types/strategy.d.ts +0 -2
- package/dist/types/strategy.d.ts.map +0 -1
- package/dist/types/strategy.js +0 -3
- package/dist/types/strategy.js.map +0 -1
- package/dist/types/suggest.d.ts +0 -2
- package/dist/types/suggest.d.ts.map +0 -1
- package/dist/types/suggest.js +0 -3
- package/dist/types/suggest.js.map +0 -1
- package/dist/types/task-group.d.ts +0 -2
- package/dist/types/task-group.d.ts.map +0 -1
- package/dist/types/task-group.js +0 -3
- package/dist/types/task-group.js.map +0 -1
- package/dist/types/task.d.ts +0 -2
- package/dist/types/task.d.ts.map +0 -1
- package/dist/types/task.js +0 -3
- package/dist/types/task.js.map +0 -1
- package/dist/types/trigger.d.ts +0 -2
- package/dist/types/trigger.d.ts.map +0 -1
- package/dist/types/trigger.js +0 -3
- package/dist/types/trigger.js.map +0 -1
- package/dist/types/trust.d.ts +0 -2
- package/dist/types/trust.d.ts.map +0 -1
- package/dist/types/trust.js +0 -3
- package/dist/types/trust.js.map +0 -1
- package/dist/utils/errors.d.ts +0 -17
- package/dist/utils/errors.d.ts.map +0 -1
- package/dist/utils/errors.js +0 -34
- package/dist/utils/errors.js.map +0 -1
- package/dist/utils/execFileNoThrow.d.ts +0 -20
- package/dist/utils/execFileNoThrow.d.ts.map +0 -1
- package/dist/utils/execFileNoThrow.js +0 -33
- package/dist/utils/execFileNoThrow.js.map +0 -1
- package/dist/utils/json-io.d.ts +0 -28
- package/dist/utils/json-io.d.ts.map +0 -1
- package/dist/utils/json-io.js +0 -71
- package/dist/utils/json-io.js.map +0 -1
- package/dist/utils/paths.d.ts +0 -14
- package/dist/utils/paths.d.ts.map +0 -1
- package/dist/utils/paths.js +0 -38
- package/dist/utils/paths.js.map +0 -1
- package/dist/utils/sleep.d.ts +0 -2
- package/dist/utils/sleep.d.ts.map +0 -1
- package/dist/utils/sleep.js +0 -4
- package/dist/utils/sleep.js.map +0 -1
|
@@ -1,1078 +0,0 @@
|
|
|
1
|
-
import { describe, it, expect, vi, beforeEach, afterEach } from "vitest";
|
|
2
|
-
import * as fs from "node:fs";
|
|
3
|
-
import * as path from "node:path";
|
|
4
|
-
import * as os from "node:os";
|
|
5
|
-
import { StateManager } from "../../../base/state/state-manager.js";
|
|
6
|
-
import { SatisficingJudge } from "../../../platform/drive/satisficing-judge.js";
|
|
7
|
-
import { StateAggregator } from "../state-aggregator.js";
|
|
8
|
-
import { GoalTreeManager } from "../goal-tree-manager.js";
|
|
9
|
-
import { EthicsGate } from "../../../platform/traits/ethics-gate.js";
|
|
10
|
-
import { GoalDependencyGraph } from "../goal-dependency-graph.js";
|
|
11
|
-
import { TreeLoopOrchestrator } from "../tree-loop-orchestrator.js";
|
|
12
|
-
import { createMockLLMClient } from "../../../../tests/helpers/mock-llm.js";
|
|
13
|
-
import { makeGoal } from "../../../../tests/helpers/fixtures.js";
|
|
14
|
-
// ─── Fixtures ───
|
|
15
|
-
function makeDimension(overrides = {}) {
|
|
16
|
-
return {
|
|
17
|
-
name: "score",
|
|
18
|
-
label: "Score",
|
|
19
|
-
current_value: 50,
|
|
20
|
-
threshold: { type: "min", value: 100 },
|
|
21
|
-
confidence: 0.9,
|
|
22
|
-
observation_method: {
|
|
23
|
-
type: "mechanical",
|
|
24
|
-
source: "test",
|
|
25
|
-
schedule: null,
|
|
26
|
-
endpoint: null,
|
|
27
|
-
confidence_tier: "mechanical",
|
|
28
|
-
},
|
|
29
|
-
last_updated: new Date().toISOString(),
|
|
30
|
-
history: [],
|
|
31
|
-
weight: 1.0,
|
|
32
|
-
uncertainty_weight: null,
|
|
33
|
-
state_integrity: "ok",
|
|
34
|
-
dimension_mapping: null,
|
|
35
|
-
...overrides,
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
const DEFAULT_CONFIG = {
|
|
39
|
-
max_depth: 5,
|
|
40
|
-
min_specificity: 0.7,
|
|
41
|
-
auto_prune_threshold: 0.3,
|
|
42
|
-
parallel_loop_limit: 3,
|
|
43
|
-
};
|
|
44
|
-
// ─── Test Setup ───
|
|
45
|
-
let tempDir;
|
|
46
|
-
let stateManager;
|
|
47
|
-
let satisficingJudge;
|
|
48
|
-
let stateAggregator;
|
|
49
|
-
let goalTreeManager;
|
|
50
|
-
let orchestrator;
|
|
51
|
-
beforeEach(() => {
|
|
52
|
-
tempDir = fs.mkdtempSync(path.join(os.tmpdir(), "pulseed-tlo-test-"));
|
|
53
|
-
stateManager = new StateManager(tempDir);
|
|
54
|
-
satisficingJudge = new SatisficingJudge(stateManager);
|
|
55
|
-
stateAggregator = new StateAggregator(stateManager, satisficingJudge);
|
|
56
|
-
const mockLLM = createMockLLMClient([]);
|
|
57
|
-
const ethicsGate = new EthicsGate(stateManager, mockLLM);
|
|
58
|
-
const depGraph = new GoalDependencyGraph(stateManager, mockLLM);
|
|
59
|
-
goalTreeManager = new GoalTreeManager(stateManager, mockLLM, ethicsGate, depGraph);
|
|
60
|
-
orchestrator = new TreeLoopOrchestrator(stateManager, goalTreeManager, stateAggregator, satisficingJudge);
|
|
61
|
-
});
|
|
62
|
-
afterEach(() => {
|
|
63
|
-
try {
|
|
64
|
-
fs.rmSync(tempDir, { recursive: true, force: true, maxRetries: 3, retryDelay: 100 });
|
|
65
|
-
}
|
|
66
|
-
catch { /* ignore cleanup race */ }
|
|
67
|
-
});
|
|
68
|
-
// ─── Helper: save a goal and return it ───
|
|
69
|
-
async function saveGoal(overrides = {}) {
|
|
70
|
-
const g = makeGoal(overrides);
|
|
71
|
-
await stateManager.saveGoal(g);
|
|
72
|
-
return g;
|
|
73
|
-
}
|
|
74
|
-
// ─── Helper: build a simple parent–children tree ───
|
|
75
|
-
async function buildSimpleTree(numChildren, childOverrides = {}) {
|
|
76
|
-
const children = [];
|
|
77
|
-
const childIds = [];
|
|
78
|
-
for (let i = 0; i < numChildren; i++) {
|
|
79
|
-
const child = await saveGoal({
|
|
80
|
-
id: `child-${i}`,
|
|
81
|
-
node_type: "leaf",
|
|
82
|
-
decomposition_depth: 1,
|
|
83
|
-
...childOverrides,
|
|
84
|
-
});
|
|
85
|
-
children.push(child);
|
|
86
|
-
childIds.push(child.id);
|
|
87
|
-
}
|
|
88
|
-
const parent = await saveGoal({
|
|
89
|
-
id: "parent",
|
|
90
|
-
node_type: "goal",
|
|
91
|
-
children_ids: childIds,
|
|
92
|
-
});
|
|
93
|
-
// Update each child's parent_id
|
|
94
|
-
for (const child of children) {
|
|
95
|
-
await stateManager.saveGoal({ ...child, parent_id: parent.id });
|
|
96
|
-
}
|
|
97
|
-
return { parent, children };
|
|
98
|
-
}
|
|
99
|
-
// ═══════════════════════════════════════════════════════════════════
|
|
100
|
-
// 1. NODE SELECTION TESTS (~20 tests)
|
|
101
|
-
// ═══════════════════════════════════════════════════════════════════
|
|
102
|
-
describe("selectNextNode — basic selection", async () => {
|
|
103
|
-
it("returns null when tree root does not exist", async () => {
|
|
104
|
-
const result = await orchestrator.selectNextNode("nonexistent-root");
|
|
105
|
-
expect(result).toBeNull();
|
|
106
|
-
});
|
|
107
|
-
it("selects the root itself if it is the only active idle node", async () => {
|
|
108
|
-
const root = await saveGoal({ id: "root", node_type: "goal" });
|
|
109
|
-
const result = await orchestrator.selectNextNode(root.id);
|
|
110
|
-
expect(result).toBe(root.id);
|
|
111
|
-
});
|
|
112
|
-
it("sets loop_status to 'running' on the selected node", async () => {
|
|
113
|
-
const root = await saveGoal({ id: "root", node_type: "goal" });
|
|
114
|
-
await orchestrator.selectNextNode(root.id);
|
|
115
|
-
const updated = await stateManager.loadGoal(root.id);
|
|
116
|
-
expect(updated?.loop_status).toBe("running");
|
|
117
|
-
});
|
|
118
|
-
it("prefers leaf node over non-leaf node", async () => {
|
|
119
|
-
await saveGoal({
|
|
120
|
-
id: "root",
|
|
121
|
-
node_type: "goal",
|
|
122
|
-
children_ids: ["child-leaf", "child-subgoal"],
|
|
123
|
-
});
|
|
124
|
-
await saveGoal({
|
|
125
|
-
id: "child-leaf",
|
|
126
|
-
node_type: "leaf",
|
|
127
|
-
parent_id: "root",
|
|
128
|
-
decomposition_depth: 1,
|
|
129
|
-
});
|
|
130
|
-
await saveGoal({
|
|
131
|
-
id: "child-subgoal",
|
|
132
|
-
node_type: "subgoal",
|
|
133
|
-
parent_id: "root",
|
|
134
|
-
decomposition_depth: 1,
|
|
135
|
-
});
|
|
136
|
-
const result = await orchestrator.selectNextNode("root");
|
|
137
|
-
expect(result).toBe("child-leaf");
|
|
138
|
-
});
|
|
139
|
-
it("falls back to non-leaf when no leaf nodes exist", async () => {
|
|
140
|
-
await saveGoal({
|
|
141
|
-
id: "root",
|
|
142
|
-
node_type: "goal",
|
|
143
|
-
children_ids: ["child-sub"],
|
|
144
|
-
});
|
|
145
|
-
await saveGoal({
|
|
146
|
-
id: "child-sub",
|
|
147
|
-
node_type: "subgoal",
|
|
148
|
-
parent_id: "root",
|
|
149
|
-
decomposition_depth: 1,
|
|
150
|
-
});
|
|
151
|
-
// root is also an active+idle non-leaf node and appears before child-sub in iteration
|
|
152
|
-
const result = await orchestrator.selectNextNode("root");
|
|
153
|
-
expect(result).not.toBeNull();
|
|
154
|
-
// Either root or child-sub is valid (both are active+idle non-leaf)
|
|
155
|
-
expect(["root", "child-sub"]).toContain(result);
|
|
156
|
-
});
|
|
157
|
-
it("skips nodes with status !== 'active'", async () => {
|
|
158
|
-
await saveGoal({
|
|
159
|
-
id: "root",
|
|
160
|
-
node_type: "goal",
|
|
161
|
-
children_ids: ["c1", "c2"],
|
|
162
|
-
});
|
|
163
|
-
await saveGoal({ id: "c1", node_type: "leaf", parent_id: "root", status: "completed" });
|
|
164
|
-
await saveGoal({ id: "c2", node_type: "leaf", parent_id: "root", status: "active" });
|
|
165
|
-
const result = await orchestrator.selectNextNode("root");
|
|
166
|
-
expect(result).toBe("c2");
|
|
167
|
-
});
|
|
168
|
-
it("skips nodes with loop_status 'running'", async () => {
|
|
169
|
-
await saveGoal({
|
|
170
|
-
id: "root",
|
|
171
|
-
node_type: "goal",
|
|
172
|
-
children_ids: ["c1", "c2"],
|
|
173
|
-
});
|
|
174
|
-
await saveGoal({ id: "c1", node_type: "leaf", parent_id: "root", loop_status: "running" });
|
|
175
|
-
await saveGoal({ id: "c2", node_type: "leaf", parent_id: "root", loop_status: "idle" });
|
|
176
|
-
const result = await orchestrator.selectNextNode("root");
|
|
177
|
-
expect(result).toBe("c2");
|
|
178
|
-
});
|
|
179
|
-
it("skips nodes with loop_status 'paused'", async () => {
|
|
180
|
-
await saveGoal({
|
|
181
|
-
id: "root",
|
|
182
|
-
node_type: "goal",
|
|
183
|
-
children_ids: ["c1", "c2"],
|
|
184
|
-
});
|
|
185
|
-
await saveGoal({ id: "c1", node_type: "leaf", parent_id: "root", loop_status: "paused" });
|
|
186
|
-
await saveGoal({ id: "c2", node_type: "leaf", parent_id: "root", loop_status: "idle" });
|
|
187
|
-
const result = await orchestrator.selectNextNode("root");
|
|
188
|
-
expect(result).toBe("c2");
|
|
189
|
-
});
|
|
190
|
-
it("returns null when all leaf nodes AND the root are running or paused", async () => {
|
|
191
|
-
await saveGoal({
|
|
192
|
-
id: "root",
|
|
193
|
-
node_type: "goal",
|
|
194
|
-
children_ids: ["c1", "c2"],
|
|
195
|
-
loop_status: "running", // root also running
|
|
196
|
-
});
|
|
197
|
-
await saveGoal({ id: "c1", node_type: "leaf", parent_id: "root", loop_status: "running" });
|
|
198
|
-
await saveGoal({ id: "c2", node_type: "leaf", parent_id: "root", loop_status: "paused" });
|
|
199
|
-
const result = await orchestrator.selectNextNode("root");
|
|
200
|
-
expect(result).toBeNull();
|
|
201
|
-
});
|
|
202
|
-
it("returns null when all nodes are completed", async () => {
|
|
203
|
-
await saveGoal({
|
|
204
|
-
id: "root",
|
|
205
|
-
node_type: "goal",
|
|
206
|
-
status: "completed",
|
|
207
|
-
children_ids: ["c1"],
|
|
208
|
-
});
|
|
209
|
-
await saveGoal({ id: "c1", node_type: "leaf", parent_id: "root", status: "completed" });
|
|
210
|
-
const result = await orchestrator.selectNextNode("root");
|
|
211
|
-
expect(result).toBeNull();
|
|
212
|
-
});
|
|
213
|
-
it("returns null when all nodes are cancelled", async () => {
|
|
214
|
-
await saveGoal({
|
|
215
|
-
id: "root",
|
|
216
|
-
node_type: "goal",
|
|
217
|
-
status: "cancelled",
|
|
218
|
-
children_ids: ["c1"],
|
|
219
|
-
});
|
|
220
|
-
await saveGoal({ id: "c1", node_type: "leaf", parent_id: "root", status: "cancelled" });
|
|
221
|
-
const result = await orchestrator.selectNextNode("root");
|
|
222
|
-
expect(result).toBeNull();
|
|
223
|
-
});
|
|
224
|
-
it("selects deeper leaf over shallower leaf when both are eligible", async () => {
|
|
225
|
-
await saveGoal({
|
|
226
|
-
id: "root",
|
|
227
|
-
node_type: "goal",
|
|
228
|
-
children_ids: ["mid"],
|
|
229
|
-
});
|
|
230
|
-
await saveGoal({
|
|
231
|
-
id: "mid",
|
|
232
|
-
node_type: "goal",
|
|
233
|
-
parent_id: "root",
|
|
234
|
-
decomposition_depth: 1,
|
|
235
|
-
children_ids: ["deep"],
|
|
236
|
-
});
|
|
237
|
-
await saveGoal({
|
|
238
|
-
id: "deep",
|
|
239
|
-
node_type: "leaf",
|
|
240
|
-
parent_id: "mid",
|
|
241
|
-
decomposition_depth: 2,
|
|
242
|
-
});
|
|
243
|
-
// root itself is also "goal" type (not leaf), mid is also "goal" (not leaf)
|
|
244
|
-
// only deep is leaf
|
|
245
|
-
const result = await orchestrator.selectNextNode("root");
|
|
246
|
-
expect(result).toBe("deep");
|
|
247
|
-
});
|
|
248
|
-
it("selects single-node tree (root is a leaf)", async () => {
|
|
249
|
-
await saveGoal({ id: "root", node_type: "leaf" });
|
|
250
|
-
const result = await orchestrator.selectNextNode("root");
|
|
251
|
-
expect(result).toBe("root");
|
|
252
|
-
});
|
|
253
|
-
it("does not select cancelled nodes even if loop_status is idle", async () => {
|
|
254
|
-
await saveGoal({
|
|
255
|
-
id: "root",
|
|
256
|
-
node_type: "goal",
|
|
257
|
-
children_ids: ["c1"],
|
|
258
|
-
});
|
|
259
|
-
await saveGoal({ id: "c1", node_type: "leaf", parent_id: "root", status: "cancelled" });
|
|
260
|
-
const result = await orchestrator.selectNextNode("root");
|
|
261
|
-
// root is active+idle+non-leaf, should be selected as fallback
|
|
262
|
-
expect(result).toBe("root");
|
|
263
|
-
});
|
|
264
|
-
it("prefers multiple leaves over non-leaves — first eligible leaf returned", async () => {
|
|
265
|
-
await saveGoal({
|
|
266
|
-
id: "root",
|
|
267
|
-
node_type: "goal",
|
|
268
|
-
children_ids: ["leaf1", "leaf2", "sub1"],
|
|
269
|
-
});
|
|
270
|
-
await saveGoal({ id: "leaf1", node_type: "leaf", parent_id: "root", decomposition_depth: 1 });
|
|
271
|
-
await saveGoal({ id: "leaf2", node_type: "leaf", parent_id: "root", decomposition_depth: 1 });
|
|
272
|
-
await saveGoal({ id: "sub1", node_type: "subgoal", parent_id: "root", decomposition_depth: 1 });
|
|
273
|
-
const result = await orchestrator.selectNextNode("root");
|
|
274
|
-
expect(result).toBe("leaf1"); // first in stable order among equal depth
|
|
275
|
-
});
|
|
276
|
-
it("prioritizes deeper eligible leaves over shallower eligible leaves", async () => {
|
|
277
|
-
await saveGoal({
|
|
278
|
-
id: "root",
|
|
279
|
-
node_type: "goal",
|
|
280
|
-
children_ids: ["shallow", "deep"],
|
|
281
|
-
});
|
|
282
|
-
await saveGoal({
|
|
283
|
-
id: "shallow",
|
|
284
|
-
node_type: "leaf",
|
|
285
|
-
parent_id: "root",
|
|
286
|
-
decomposition_depth: 1,
|
|
287
|
-
});
|
|
288
|
-
await saveGoal({
|
|
289
|
-
id: "deep",
|
|
290
|
-
node_type: "leaf",
|
|
291
|
-
parent_id: "root",
|
|
292
|
-
decomposition_depth: 3,
|
|
293
|
-
});
|
|
294
|
-
const result = await orchestrator.selectNextNode("root");
|
|
295
|
-
expect(result).toBe("deep");
|
|
296
|
-
});
|
|
297
|
-
});
|
|
298
|
-
// ═══════════════════════════════════════════════════════════════════
|
|
299
|
-
// 2. PARALLEL EXECUTION CONTROL (~15 tests)
|
|
300
|
-
// ═══════════════════════════════════════════════════════════════════
|
|
301
|
-
describe("selectNextNode — parallel execution control", async () => {
|
|
302
|
-
it("returns null immediately when parallel_loop_limit=1 and one node is running", async () => {
|
|
303
|
-
await saveGoal({
|
|
304
|
-
id: "root",
|
|
305
|
-
node_type: "goal",
|
|
306
|
-
children_ids: ["c1", "c2"],
|
|
307
|
-
});
|
|
308
|
-
await saveGoal({ id: "c1", node_type: "leaf", parent_id: "root", loop_status: "running" });
|
|
309
|
-
await saveGoal({ id: "c2", node_type: "leaf", parent_id: "root", loop_status: "idle" });
|
|
310
|
-
await orchestrator.startTreeExecution("root", { ...DEFAULT_CONFIG, parallel_loop_limit: 1 });
|
|
311
|
-
// c1 is already running (set before startTreeExecution reset — but startTreeExecution resets to idle)
|
|
312
|
-
// Re-set c1 to running after startTreeExecution
|
|
313
|
-
const c1 = await stateManager.loadGoal("c1");
|
|
314
|
-
await stateManager.saveGoal({ ...c1, loop_status: "running" });
|
|
315
|
-
const result = await orchestrator.selectNextNode("root");
|
|
316
|
-
expect(result).toBeNull();
|
|
317
|
-
});
|
|
318
|
-
it("allows one node when parallel_loop_limit=1 and nothing is running", async () => {
|
|
319
|
-
await saveGoal({
|
|
320
|
-
id: "root",
|
|
321
|
-
node_type: "goal",
|
|
322
|
-
children_ids: ["c1", "c2"],
|
|
323
|
-
});
|
|
324
|
-
await saveGoal({ id: "c1", node_type: "leaf", parent_id: "root" });
|
|
325
|
-
await saveGoal({ id: "c2", node_type: "leaf", parent_id: "root" });
|
|
326
|
-
await orchestrator.startTreeExecution("root", { ...DEFAULT_CONFIG, parallel_loop_limit: 1 });
|
|
327
|
-
const result = await orchestrator.selectNextNode("root");
|
|
328
|
-
expect(result).not.toBeNull();
|
|
329
|
-
});
|
|
330
|
-
it("allows up to parallel_loop_limit=3 concurrent nodes", async () => {
|
|
331
|
-
await saveGoal({
|
|
332
|
-
id: "root",
|
|
333
|
-
node_type: "goal",
|
|
334
|
-
children_ids: ["c1", "c2", "c3", "c4"],
|
|
335
|
-
});
|
|
336
|
-
for (let i = 1; i <= 4; i++) {
|
|
337
|
-
await saveGoal({ id: `c${i}`, node_type: "leaf", parent_id: "root", decomposition_depth: 1 });
|
|
338
|
-
}
|
|
339
|
-
// Select 3 nodes (limit=3)
|
|
340
|
-
const sel1 = await orchestrator.selectNextNode("root");
|
|
341
|
-
const sel2 = await orchestrator.selectNextNode("root");
|
|
342
|
-
const sel3 = await orchestrator.selectNextNode("root");
|
|
343
|
-
expect(sel1).not.toBeNull();
|
|
344
|
-
expect(sel2).not.toBeNull();
|
|
345
|
-
expect(sel3).not.toBeNull();
|
|
346
|
-
// 4th should be blocked
|
|
347
|
-
const sel4 = await orchestrator.selectNextNode("root");
|
|
348
|
-
expect(sel4).toBeNull();
|
|
349
|
-
});
|
|
350
|
-
it("returns null when active_loops count equals parallel_loop_limit", async () => {
|
|
351
|
-
await saveGoal({
|
|
352
|
-
id: "root",
|
|
353
|
-
node_type: "goal",
|
|
354
|
-
children_ids: ["c1", "c2", "c3"],
|
|
355
|
-
});
|
|
356
|
-
await saveGoal({ id: "c1", node_type: "leaf", parent_id: "root", loop_status: "running" });
|
|
357
|
-
await saveGoal({ id: "c2", node_type: "leaf", parent_id: "root", loop_status: "running" });
|
|
358
|
-
await saveGoal({ id: "c3", node_type: "leaf", parent_id: "root", loop_status: "running" });
|
|
359
|
-
// Default config has parallel_loop_limit=3, all 3 are running
|
|
360
|
-
const result = await orchestrator.selectNextNode("root");
|
|
361
|
-
expect(result).toBeNull();
|
|
362
|
-
});
|
|
363
|
-
it("returns a node after a running node is completed (slot freed)", async () => {
|
|
364
|
-
await saveGoal({
|
|
365
|
-
id: "root",
|
|
366
|
-
node_type: "goal",
|
|
367
|
-
children_ids: ["c1", "c2"],
|
|
368
|
-
});
|
|
369
|
-
await saveGoal({ id: "c1", node_type: "leaf", parent_id: "root", loop_status: "running" });
|
|
370
|
-
await saveGoal({ id: "c2", node_type: "leaf", parent_id: "root", loop_status: "idle" });
|
|
371
|
-
// With parallel_loop_limit=1: cannot select
|
|
372
|
-
orchestrator["config"] = { ...DEFAULT_CONFIG, parallel_loop_limit: 1 };
|
|
373
|
-
let result = await orchestrator.selectNextNode("root");
|
|
374
|
-
expect(result).toBeNull();
|
|
375
|
-
// Complete c1 to free the slot
|
|
376
|
-
await orchestrator.onNodeCompleted("c1");
|
|
377
|
-
// Also mark c1 status as completed so it's not selected again
|
|
378
|
-
const c1 = await stateManager.loadGoal("c1");
|
|
379
|
-
await stateManager.saveGoal({ ...c1, status: "completed" });
|
|
380
|
-
// Now should be able to select c2
|
|
381
|
-
result = await orchestrator.selectNextNode("root");
|
|
382
|
-
expect(result).toBe("c2");
|
|
383
|
-
});
|
|
384
|
-
it("sequential selections mark nodes as running and reduce available slots", async () => {
|
|
385
|
-
await saveGoal({
|
|
386
|
-
id: "root",
|
|
387
|
-
node_type: "goal",
|
|
388
|
-
children_ids: ["c1", "c2"],
|
|
389
|
-
});
|
|
390
|
-
await saveGoal({ id: "c1", node_type: "leaf", parent_id: "root", decomposition_depth: 1 });
|
|
391
|
-
await saveGoal({ id: "c2", node_type: "leaf", parent_id: "root", decomposition_depth: 1 });
|
|
392
|
-
const first = await orchestrator.selectNextNode("root");
|
|
393
|
-
const second = await orchestrator.selectNextNode("root");
|
|
394
|
-
expect(first).not.toBeNull();
|
|
395
|
-
expect(second).not.toBeNull();
|
|
396
|
-
expect(first).not.toBe(second);
|
|
397
|
-
});
|
|
398
|
-
it("respects config parallel_loop_limit=2", async () => {
|
|
399
|
-
await saveGoal({
|
|
400
|
-
id: "root",
|
|
401
|
-
node_type: "goal",
|
|
402
|
-
children_ids: ["c1", "c2", "c3"],
|
|
403
|
-
});
|
|
404
|
-
for (let i = 1; i <= 3; i++) {
|
|
405
|
-
await saveGoal({ id: `c${i}`, node_type: "leaf", parent_id: "root", decomposition_depth: 1 });
|
|
406
|
-
}
|
|
407
|
-
await orchestrator.startTreeExecution("root", {
|
|
408
|
-
...DEFAULT_CONFIG,
|
|
409
|
-
parallel_loop_limit: 2,
|
|
410
|
-
});
|
|
411
|
-
const sel1 = await orchestrator.selectNextNode("root");
|
|
412
|
-
const sel2 = await orchestrator.selectNextNode("root");
|
|
413
|
-
const sel3 = await orchestrator.selectNextNode("root");
|
|
414
|
-
expect(sel1).not.toBeNull();
|
|
415
|
-
expect(sel2).not.toBeNull();
|
|
416
|
-
expect(sel3).toBeNull(); // limit of 2 reached
|
|
417
|
-
});
|
|
418
|
-
it("paused nodes do not count toward active_loops", async () => {
|
|
419
|
-
await saveGoal({
|
|
420
|
-
id: "root",
|
|
421
|
-
node_type: "goal",
|
|
422
|
-
children_ids: ["c1", "c2"],
|
|
423
|
-
});
|
|
424
|
-
await saveGoal({ id: "c1", node_type: "leaf", parent_id: "root", loop_status: "paused" });
|
|
425
|
-
await saveGoal({ id: "c2", node_type: "leaf", parent_id: "root", loop_status: "idle" });
|
|
426
|
-
// Only "running" counts for active_loops. With limit=1, paused doesn't block.
|
|
427
|
-
orchestrator["config"] = { ...DEFAULT_CONFIG, parallel_loop_limit: 1 };
|
|
428
|
-
const result = await orchestrator.selectNextNode("root");
|
|
429
|
-
// c2 should be selectable because c1 is paused (not running)
|
|
430
|
-
expect(result).toBe("c2");
|
|
431
|
-
});
|
|
432
|
-
it("selecting a node increments active count for subsequent calls", async () => {
|
|
433
|
-
await saveGoal({
|
|
434
|
-
id: "root",
|
|
435
|
-
node_type: "goal",
|
|
436
|
-
children_ids: ["c1", "c2"],
|
|
437
|
-
});
|
|
438
|
-
await saveGoal({ id: "c1", node_type: "leaf", parent_id: "root", decomposition_depth: 1 });
|
|
439
|
-
await saveGoal({ id: "c2", node_type: "leaf", parent_id: "root", decomposition_depth: 1 });
|
|
440
|
-
orchestrator["config"] = { ...DEFAULT_CONFIG, parallel_loop_limit: 1 };
|
|
441
|
-
const first = await orchestrator.selectNextNode("root");
|
|
442
|
-
expect(first).not.toBeNull();
|
|
443
|
-
// After selecting one, the limit is reached
|
|
444
|
-
const second = await orchestrator.selectNextNode("root");
|
|
445
|
-
expect(second).toBeNull();
|
|
446
|
-
});
|
|
447
|
-
});
|
|
448
|
-
// ═══════════════════════════════════════════════════════════════════
|
|
449
|
-
// 3. NODE COMPLETION CASCADE (~20 tests)
|
|
450
|
-
// ═══════════════════════════════════════════════════════════════════
|
|
451
|
-
describe("onNodeCompleted — loop_status reset", async () => {
|
|
452
|
-
it("sets loop_status to 'idle' after node completes", async () => {
|
|
453
|
-
const node = await saveGoal({ id: "node1", node_type: "leaf", loop_status: "running" });
|
|
454
|
-
await orchestrator.onNodeCompleted(node.id);
|
|
455
|
-
const updated = await stateManager.loadGoal(node.id);
|
|
456
|
-
expect(updated?.loop_status).toBe("idle");
|
|
457
|
-
});
|
|
458
|
-
it("is a no-op if goal does not exist", async () => {
|
|
459
|
-
await expect(orchestrator.onNodeCompleted("nonexistent")).resolves.not.toThrow();
|
|
460
|
-
});
|
|
461
|
-
it("updates updated_at timestamp", async () => {
|
|
462
|
-
const before = new Date().toISOString();
|
|
463
|
-
const node = await saveGoal({ id: "n1", loop_status: "running" });
|
|
464
|
-
await orchestrator.onNodeCompleted(node.id);
|
|
465
|
-
const updated = await stateManager.loadGoal("n1");
|
|
466
|
-
expect(updated?.updated_at >= before).toBe(true);
|
|
467
|
-
});
|
|
468
|
-
});
|
|
469
|
-
describe("onNodeCompleted — parent aggregation", async () => {
|
|
470
|
-
it("triggers aggregation up the parent chain", async () => {
|
|
471
|
-
const { parent, children } = await buildSimpleTree(2);
|
|
472
|
-
const child = children[0];
|
|
473
|
-
// Mark child as completed
|
|
474
|
-
await stateManager.saveGoal({ ...child, status: "completed" });
|
|
475
|
-
await orchestrator.onNodeCompleted(child.id);
|
|
476
|
-
// Parent should still exist
|
|
477
|
-
const updatedParent = await stateManager.loadGoal(parent.id);
|
|
478
|
-
expect(updatedParent).not.toBeNull();
|
|
479
|
-
});
|
|
480
|
-
it("aggregates child states — parent confidence should reflect children", async () => {
|
|
481
|
-
await saveGoal({
|
|
482
|
-
id: "parent",
|
|
483
|
-
node_type: "goal",
|
|
484
|
-
children_ids: ["c1"],
|
|
485
|
-
});
|
|
486
|
-
await saveGoal({
|
|
487
|
-
id: "c1",
|
|
488
|
-
node_type: "leaf",
|
|
489
|
-
parent_id: "parent",
|
|
490
|
-
loop_status: "running",
|
|
491
|
-
status: "completed",
|
|
492
|
-
dimensions: [makeDimension({ confidence: 0.4 })],
|
|
493
|
-
});
|
|
494
|
-
await orchestrator.onNodeCompleted("c1");
|
|
495
|
-
// No throw — aggregation ran
|
|
496
|
-
const parent = await stateManager.loadGoal("parent");
|
|
497
|
-
expect(parent).not.toBeNull();
|
|
498
|
-
});
|
|
499
|
-
it("does not throw when parent has no further parent (root level)", async () => {
|
|
500
|
-
const root = await saveGoal({ id: "root", loop_status: "running" });
|
|
501
|
-
await expect(orchestrator.onNodeCompleted(root.id)).resolves.not.toThrow();
|
|
502
|
-
const updated = await stateManager.loadGoal("root");
|
|
503
|
-
expect(updated?.loop_status).toBe("idle");
|
|
504
|
-
});
|
|
505
|
-
});
|
|
506
|
-
describe("onNodeCompleted — completion cascade", async () => {
|
|
507
|
-
it("marks parent as completed when all siblings are done", async () => {
|
|
508
|
-
await saveGoal({
|
|
509
|
-
id: "parent",
|
|
510
|
-
node_type: "goal",
|
|
511
|
-
status: "active",
|
|
512
|
-
children_ids: ["c1", "c2"],
|
|
513
|
-
});
|
|
514
|
-
await saveGoal({ id: "c1", node_type: "leaf", parent_id: "parent", status: "completed" });
|
|
515
|
-
await saveGoal({ id: "c2", node_type: "leaf", parent_id: "parent", status: "active", loop_status: "running" });
|
|
516
|
-
// Complete c2 — now all children are done
|
|
517
|
-
await stateManager.saveGoal({
|
|
518
|
-
...await stateManager.loadGoal("c2"),
|
|
519
|
-
status: "completed",
|
|
520
|
-
});
|
|
521
|
-
await orchestrator.onNodeCompleted("c2");
|
|
522
|
-
const parent = await stateManager.loadGoal("parent");
|
|
523
|
-
expect(parent?.status).toBe("completed");
|
|
524
|
-
});
|
|
525
|
-
it("does not mark parent as completed when sibling is still active", async () => {
|
|
526
|
-
await saveGoal({
|
|
527
|
-
id: "parent",
|
|
528
|
-
node_type: "goal",
|
|
529
|
-
status: "active",
|
|
530
|
-
children_ids: ["c1", "c2"],
|
|
531
|
-
});
|
|
532
|
-
await saveGoal({ id: "c1", node_type: "leaf", parent_id: "parent", status: "active" });
|
|
533
|
-
await saveGoal({ id: "c2", node_type: "leaf", parent_id: "parent", status: "active", loop_status: "running" });
|
|
534
|
-
await orchestrator.onNodeCompleted("c2");
|
|
535
|
-
// c1 is still active — parent should NOT be completed
|
|
536
|
-
const parent = await stateManager.loadGoal("parent");
|
|
537
|
-
expect(parent?.status).not.toBe("completed");
|
|
538
|
-
});
|
|
539
|
-
it("treats cancelled siblings as done for cascade purposes", async () => {
|
|
540
|
-
await saveGoal({
|
|
541
|
-
id: "parent",
|
|
542
|
-
node_type: "goal",
|
|
543
|
-
status: "active",
|
|
544
|
-
children_ids: ["c1", "c2"],
|
|
545
|
-
});
|
|
546
|
-
await saveGoal({ id: "c1", node_type: "leaf", parent_id: "parent", status: "cancelled" });
|
|
547
|
-
await saveGoal({ id: "c2", node_type: "leaf", parent_id: "parent", status: "active", loop_status: "running" });
|
|
548
|
-
await stateManager.saveGoal({ ...await stateManager.loadGoal("c2"), status: "completed" });
|
|
549
|
-
await orchestrator.onNodeCompleted("c2");
|
|
550
|
-
const parent = await stateManager.loadGoal("parent");
|
|
551
|
-
expect(parent?.status).toBe("completed");
|
|
552
|
-
});
|
|
553
|
-
it("cascades completion through 3 layers", async () => {
|
|
554
|
-
// root → mid → leaf
|
|
555
|
-
await saveGoal({ id: "root", node_type: "goal", status: "active", children_ids: ["mid"] });
|
|
556
|
-
await saveGoal({ id: "mid", node_type: "subgoal", parent_id: "root", status: "active", children_ids: ["leaf1"] });
|
|
557
|
-
await saveGoal({ id: "leaf1", node_type: "leaf", parent_id: "mid", status: "active", loop_status: "running" });
|
|
558
|
-
await stateManager.saveGoal({ ...await stateManager.loadGoal("leaf1"), status: "completed" });
|
|
559
|
-
await orchestrator.onNodeCompleted("leaf1");
|
|
560
|
-
const mid = await stateManager.loadGoal("mid");
|
|
561
|
-
const root = await stateManager.loadGoal("root");
|
|
562
|
-
expect(mid?.status).toBe("completed");
|
|
563
|
-
expect(root?.status).toBe("completed");
|
|
564
|
-
});
|
|
565
|
-
it("stops cascade when a parent has remaining active children", async () => {
|
|
566
|
-
await saveGoal({ id: "root", node_type: "goal", status: "active", children_ids: ["mid1", "mid2"] });
|
|
567
|
-
await saveGoal({ id: "mid1", node_type: "subgoal", parent_id: "root", status: "active", children_ids: ["leaf1"] });
|
|
568
|
-
await saveGoal({ id: "mid2", node_type: "subgoal", parent_id: "root", status: "active", children_ids: [] });
|
|
569
|
-
await saveGoal({ id: "leaf1", node_type: "leaf", parent_id: "mid1", status: "active", loop_status: "running" });
|
|
570
|
-
await stateManager.saveGoal({ ...await stateManager.loadGoal("leaf1"), status: "completed" });
|
|
571
|
-
await orchestrator.onNodeCompleted("leaf1");
|
|
572
|
-
// mid1 should complete (all its children done), but root should not (mid2 still active)
|
|
573
|
-
const mid1 = await stateManager.loadGoal("mid1");
|
|
574
|
-
const root = await stateManager.loadGoal("root");
|
|
575
|
-
expect(mid1?.status).toBe("completed");
|
|
576
|
-
expect(root?.status).not.toBe("completed");
|
|
577
|
-
});
|
|
578
|
-
it("does not re-complete already completed ancestors", async () => {
|
|
579
|
-
await saveGoal({ id: "root", node_type: "goal", status: "completed", children_ids: ["c1"] });
|
|
580
|
-
await saveGoal({ id: "c1", node_type: "leaf", parent_id: "root", status: "active", loop_status: "running" });
|
|
581
|
-
await stateManager.saveGoal({ ...await stateManager.loadGoal("c1"), status: "completed" });
|
|
582
|
-
await orchestrator.onNodeCompleted("c1");
|
|
583
|
-
const root = await stateManager.loadGoal("root");
|
|
584
|
-
expect(root?.status).toBe("completed"); // remains completed (idempotent)
|
|
585
|
-
});
|
|
586
|
-
it("loop_status is idle after cascade-completion", async () => {
|
|
587
|
-
await saveGoal({ id: "root", node_type: "goal", status: "active", children_ids: ["c1"] });
|
|
588
|
-
await saveGoal({ id: "c1", node_type: "leaf", parent_id: "root", loop_status: "running", status: "active" });
|
|
589
|
-
await stateManager.saveGoal({ ...await stateManager.loadGoal("c1"), status: "completed" });
|
|
590
|
-
await orchestrator.onNodeCompleted("c1");
|
|
591
|
-
const c1 = await stateManager.loadGoal("c1");
|
|
592
|
-
expect(c1?.loop_status).toBe("idle");
|
|
593
|
-
});
|
|
594
|
-
it("single child completion triggers parent completion", async () => {
|
|
595
|
-
await saveGoal({ id: "parent", status: "active", children_ids: ["c1"] });
|
|
596
|
-
await saveGoal({ id: "c1", node_type: "leaf", parent_id: "parent", status: "active", loop_status: "running" });
|
|
597
|
-
await stateManager.saveGoal({ ...await stateManager.loadGoal("c1"), status: "completed" });
|
|
598
|
-
await orchestrator.onNodeCompleted("c1");
|
|
599
|
-
expect((await stateManager.loadGoal("parent"))?.status).toBe("completed");
|
|
600
|
-
});
|
|
601
|
-
it("4-level cascade: leaf → L3 → L2 → root", async () => {
|
|
602
|
-
await saveGoal({ id: "root", status: "active", children_ids: ["l2"] });
|
|
603
|
-
await saveGoal({ id: "l2", parent_id: "root", status: "active", children_ids: ["l3"] });
|
|
604
|
-
await saveGoal({ id: "l3", parent_id: "l2", status: "active", children_ids: ["leaf"] });
|
|
605
|
-
await saveGoal({ id: "leaf", node_type: "leaf", parent_id: "l3", status: "active", loop_status: "running" });
|
|
606
|
-
await stateManager.saveGoal({ ...await stateManager.loadGoal("leaf"), status: "completed" });
|
|
607
|
-
await orchestrator.onNodeCompleted("leaf");
|
|
608
|
-
expect((await stateManager.loadGoal("l3"))?.status).toBe("completed");
|
|
609
|
-
expect((await stateManager.loadGoal("l2"))?.status).toBe("completed");
|
|
610
|
-
expect((await stateManager.loadGoal("root"))?.status).toBe("completed");
|
|
611
|
-
});
|
|
612
|
-
it("applies cascade completion to every ancestor returned by the aggregator", async () => {
|
|
613
|
-
await saveGoal({ id: "root", node_type: "goal", status: "active", children_ids: ["mid"] });
|
|
614
|
-
await saveGoal({ id: "mid", node_type: "subgoal", parent_id: "root", status: "active", children_ids: ["leaf"] });
|
|
615
|
-
await saveGoal({ id: "leaf", node_type: "leaf", parent_id: "mid", status: "active", loop_status: "running" });
|
|
616
|
-
await stateManager.saveGoal({ ...await stateManager.loadGoal("leaf"), status: "completed" });
|
|
617
|
-
await orchestrator.onNodeCompleted("leaf");
|
|
618
|
-
expect((await stateManager.loadGoal("mid"))?.status).toBe("completed");
|
|
619
|
-
expect((await stateManager.loadGoal("root"))?.status).toBe("completed");
|
|
620
|
-
});
|
|
621
|
-
});
|
|
622
|
-
// ═══════════════════════════════════════════════════════════════════
|
|
623
|
-
// 4. PAUSE / RESUME (~10 tests)
|
|
624
|
-
// ═══════════════════════════════════════════════════════════════════
|
|
625
|
-
describe("pauseNodeLoop", async () => {
|
|
626
|
-
it("sets loop_status to 'paused'", async () => {
|
|
627
|
-
const goal = await saveGoal({ id: "g1", loop_status: "running" });
|
|
628
|
-
await orchestrator.pauseNodeLoop(goal.id);
|
|
629
|
-
const updated = await stateManager.loadGoal("g1");
|
|
630
|
-
expect(updated?.loop_status).toBe("paused");
|
|
631
|
-
});
|
|
632
|
-
it("is a no-op for non-existent goal", async () => {
|
|
633
|
-
await expect(orchestrator.pauseNodeLoop("nonexistent")).resolves.not.toThrow();
|
|
634
|
-
});
|
|
635
|
-
it("updates updated_at timestamp on pause", async () => {
|
|
636
|
-
const before = new Date().toISOString();
|
|
637
|
-
await saveGoal({ id: "g1", loop_status: "running" });
|
|
638
|
-
await orchestrator.pauseNodeLoop("g1");
|
|
639
|
-
const updated = await stateManager.loadGoal("g1");
|
|
640
|
-
expect(updated?.updated_at >= before).toBe(true);
|
|
641
|
-
});
|
|
642
|
-
it("can pause an idle node too", async () => {
|
|
643
|
-
await saveGoal({ id: "g1", loop_status: "idle" });
|
|
644
|
-
await orchestrator.pauseNodeLoop("g1");
|
|
645
|
-
const updated = await stateManager.loadGoal("g1");
|
|
646
|
-
expect(updated?.loop_status).toBe("paused");
|
|
647
|
-
});
|
|
648
|
-
it("paused node is not selected by selectNextNode", async () => {
|
|
649
|
-
await saveGoal({
|
|
650
|
-
id: "root",
|
|
651
|
-
node_type: "goal",
|
|
652
|
-
children_ids: ["c1", "c2"],
|
|
653
|
-
});
|
|
654
|
-
await saveGoal({ id: "c1", node_type: "leaf", parent_id: "root" });
|
|
655
|
-
await saveGoal({ id: "c2", node_type: "leaf", parent_id: "root" });
|
|
656
|
-
await orchestrator.pauseNodeLoop("c1");
|
|
657
|
-
orchestrator["config"] = { ...DEFAULT_CONFIG, parallel_loop_limit: 1 };
|
|
658
|
-
const result = await orchestrator.selectNextNode("root");
|
|
659
|
-
expect(result).toBe("c2");
|
|
660
|
-
});
|
|
661
|
-
});
|
|
662
|
-
describe("resumeNodeLoop", async () => {
|
|
663
|
-
it("sets loop_status to 'running'", async () => {
|
|
664
|
-
const goal = await saveGoal({ id: "g1", loop_status: "paused" });
|
|
665
|
-
await orchestrator.resumeNodeLoop(goal.id);
|
|
666
|
-
const updated = await stateManager.loadGoal("g1");
|
|
667
|
-
expect(updated?.loop_status).toBe("running");
|
|
668
|
-
});
|
|
669
|
-
it("is a no-op for non-existent goal", async () => {
|
|
670
|
-
await expect(orchestrator.resumeNodeLoop("nonexistent")).resolves.not.toThrow();
|
|
671
|
-
});
|
|
672
|
-
it("updates updated_at timestamp on resume", async () => {
|
|
673
|
-
const before = new Date().toISOString();
|
|
674
|
-
await saveGoal({ id: "g1", loop_status: "paused" });
|
|
675
|
-
await orchestrator.resumeNodeLoop("g1");
|
|
676
|
-
const updated = await stateManager.loadGoal("g1");
|
|
677
|
-
expect(updated?.updated_at >= before).toBe(true);
|
|
678
|
-
});
|
|
679
|
-
it("resumed node is counted toward active_loops", async () => {
|
|
680
|
-
await saveGoal({
|
|
681
|
-
id: "root",
|
|
682
|
-
node_type: "goal",
|
|
683
|
-
children_ids: ["c1", "c2"],
|
|
684
|
-
});
|
|
685
|
-
await saveGoal({ id: "c1", node_type: "leaf", parent_id: "root", loop_status: "paused" });
|
|
686
|
-
await saveGoal({ id: "c2", node_type: "leaf", parent_id: "root", loop_status: "idle" });
|
|
687
|
-
await orchestrator.resumeNodeLoop("c1"); // c1 now running
|
|
688
|
-
// With limit=1, c1 is running → c2 cannot be selected
|
|
689
|
-
orchestrator["config"] = { ...DEFAULT_CONFIG, parallel_loop_limit: 1 };
|
|
690
|
-
const result = await orchestrator.selectNextNode("root");
|
|
691
|
-
expect(result).toBeNull();
|
|
692
|
-
});
|
|
693
|
-
it("pause then resume restores idle→running flow correctly", async () => {
|
|
694
|
-
await saveGoal({ id: "g1", loop_status: "idle" });
|
|
695
|
-
await orchestrator.pauseNodeLoop("g1");
|
|
696
|
-
expect((await stateManager.loadGoal("g1"))?.loop_status).toBe("paused");
|
|
697
|
-
await orchestrator.resumeNodeLoop("g1");
|
|
698
|
-
expect((await stateManager.loadGoal("g1"))?.loop_status).toBe("running");
|
|
699
|
-
});
|
|
700
|
-
});
|
|
701
|
-
// ═══════════════════════════════════════════════════════════════════
|
|
702
|
-
// 5. EDGE CASES (~15 tests)
|
|
703
|
-
// ═══════════════════════════════════════════════════════════════════
|
|
704
|
-
describe("edge cases", async () => {
|
|
705
|
-
it("empty tree (root not found) returns null from selectNextNode", async () => {
|
|
706
|
-
expect(await orchestrator.selectNextNode("does-not-exist")).toBeNull();
|
|
707
|
-
});
|
|
708
|
-
it("single leaf node: selects it and marks running", async () => {
|
|
709
|
-
await saveGoal({ id: "only-leaf", node_type: "leaf" });
|
|
710
|
-
const result = await orchestrator.selectNextNode("only-leaf");
|
|
711
|
-
expect(result).toBe("only-leaf");
|
|
712
|
-
expect((await stateManager.loadGoal("only-leaf"))?.loop_status).toBe("running");
|
|
713
|
-
});
|
|
714
|
-
it("all nodes completed — returns null", async () => {
|
|
715
|
-
await saveGoal({ id: "root", status: "completed", children_ids: ["c1"] });
|
|
716
|
-
await saveGoal({ id: "c1", node_type: "leaf", parent_id: "root", status: "completed" });
|
|
717
|
-
expect(await orchestrator.selectNextNode("root")).toBeNull();
|
|
718
|
-
});
|
|
719
|
-
it("deep tree (5 levels): selects deepest leaf first", async () => {
|
|
720
|
-
await saveGoal({ id: "l0", node_type: "goal", children_ids: ["l1"] });
|
|
721
|
-
await saveGoal({ id: "l1", node_type: "subgoal", parent_id: "l0", decomposition_depth: 1, children_ids: ["l2"] });
|
|
722
|
-
await saveGoal({ id: "l2", node_type: "subgoal", parent_id: "l1", decomposition_depth: 2, children_ids: ["l3"] });
|
|
723
|
-
await saveGoal({ id: "l3", node_type: "subgoal", parent_id: "l2", decomposition_depth: 3, children_ids: ["l4"] });
|
|
724
|
-
await saveGoal({ id: "l4", node_type: "leaf", parent_id: "l3", decomposition_depth: 4 });
|
|
725
|
-
const result = await orchestrator.selectNextNode("l0");
|
|
726
|
-
expect(result).toBe("l4");
|
|
727
|
-
});
|
|
728
|
-
it("root with no children (non-leaf): root itself is selected", async () => {
|
|
729
|
-
await saveGoal({ id: "root", node_type: "goal" });
|
|
730
|
-
const result = await orchestrator.selectNextNode("root");
|
|
731
|
-
expect(result).toBe("root");
|
|
732
|
-
});
|
|
733
|
-
it("startTreeExecution resets all node loop_status to idle", async () => {
|
|
734
|
-
await saveGoal({ id: "root", children_ids: ["c1", "c2"] });
|
|
735
|
-
await saveGoal({ id: "c1", parent_id: "root", loop_status: "running" });
|
|
736
|
-
await saveGoal({ id: "c2", parent_id: "root", loop_status: "paused" });
|
|
737
|
-
await orchestrator.startTreeExecution("root", DEFAULT_CONFIG);
|
|
738
|
-
expect((await stateManager.loadGoal("c1"))?.loop_status).toBe("idle");
|
|
739
|
-
expect((await stateManager.loadGoal("c2"))?.loop_status).toBe("idle");
|
|
740
|
-
});
|
|
741
|
-
it("startTreeExecution saves config used by selectNextNode", async () => {
|
|
742
|
-
await saveGoal({
|
|
743
|
-
id: "root",
|
|
744
|
-
node_type: "goal",
|
|
745
|
-
children_ids: ["c1", "c2"],
|
|
746
|
-
});
|
|
747
|
-
await saveGoal({ id: "c1", node_type: "leaf", parent_id: "root" });
|
|
748
|
-
await saveGoal({ id: "c2", node_type: "leaf", parent_id: "root" });
|
|
749
|
-
await orchestrator.startTreeExecution("root", { ...DEFAULT_CONFIG, parallel_loop_limit: 1 });
|
|
750
|
-
const first = await orchestrator.selectNextNode("root");
|
|
751
|
-
expect(first).not.toBeNull();
|
|
752
|
-
// Second call should return null since limit=1 already reached
|
|
753
|
-
const second = await orchestrator.selectNextNode("root");
|
|
754
|
-
expect(second).toBeNull();
|
|
755
|
-
});
|
|
756
|
-
it("startTreeExecution on non-existent root is safe (no throw)", async () => {
|
|
757
|
-
await expect(orchestrator.startTreeExecution("no-such-root", DEFAULT_CONFIG)).resolves.not.toThrow();
|
|
758
|
-
});
|
|
759
|
-
it("tree with cancelled and waiting nodes: only active idle selected", async () => {
|
|
760
|
-
await saveGoal({
|
|
761
|
-
id: "root",
|
|
762
|
-
node_type: "goal",
|
|
763
|
-
children_ids: ["c1", "c2", "c3"],
|
|
764
|
-
});
|
|
765
|
-
await saveGoal({ id: "c1", node_type: "leaf", parent_id: "root", status: "cancelled" });
|
|
766
|
-
await saveGoal({ id: "c2", node_type: "leaf", parent_id: "root", status: "waiting" });
|
|
767
|
-
await saveGoal({ id: "c3", node_type: "leaf", parent_id: "root", status: "active" });
|
|
768
|
-
const result = await orchestrator.selectNextNode("root");
|
|
769
|
-
expect(result).toBe("c3");
|
|
770
|
-
});
|
|
771
|
-
it("3-sibling tree: two complete, one remaining — root not completed yet", async () => {
|
|
772
|
-
await saveGoal({ id: "root", status: "active", children_ids: ["c1", "c2", "c3"] });
|
|
773
|
-
await saveGoal({ id: "c1", node_type: "leaf", parent_id: "root", status: "completed" });
|
|
774
|
-
await saveGoal({ id: "c2", node_type: "leaf", parent_id: "root", status: "completed" });
|
|
775
|
-
await saveGoal({ id: "c3", node_type: "leaf", parent_id: "root", status: "active", loop_status: "running" });
|
|
776
|
-
orchestrator.onNodeCompleted("c2"); // c2 was already completed but we call it
|
|
777
|
-
const root = await stateManager.loadGoal("root");
|
|
778
|
-
// c3 is still active → root not completed
|
|
779
|
-
expect(root?.status).not.toBe("completed");
|
|
780
|
-
});
|
|
781
|
-
it("completing a leaf with no parent: no aggregation, no crash", async () => {
|
|
782
|
-
await saveGoal({ id: "orphan", node_type: "leaf", parent_id: null, loop_status: "running" });
|
|
783
|
-
await expect(orchestrator.onNodeCompleted("orphan")).resolves.not.toThrow();
|
|
784
|
-
expect((await stateManager.loadGoal("orphan"))?.loop_status).toBe("idle");
|
|
785
|
-
});
|
|
786
|
-
it("multiple consecutive completions: each resets loop_status to idle", async () => {
|
|
787
|
-
await saveGoal({ id: "g1", node_type: "leaf", loop_status: "running" });
|
|
788
|
-
await saveGoal({ id: "g2", node_type: "leaf", loop_status: "running" });
|
|
789
|
-
await orchestrator.onNodeCompleted("g1");
|
|
790
|
-
await orchestrator.onNodeCompleted("g2");
|
|
791
|
-
expect((await stateManager.loadGoal("g1"))?.loop_status).toBe("idle");
|
|
792
|
-
expect((await stateManager.loadGoal("g2"))?.loop_status).toBe("idle");
|
|
793
|
-
});
|
|
794
|
-
it("two branches: completing one branch does not affect the other", async () => {
|
|
795
|
-
await saveGoal({ id: "root", status: "active", children_ids: ["branch1", "branch2"] });
|
|
796
|
-
await saveGoal({ id: "branch1", parent_id: "root", status: "active", children_ids: ["leaf1"] });
|
|
797
|
-
await saveGoal({ id: "branch2", parent_id: "root", status: "active", children_ids: ["leaf2"] });
|
|
798
|
-
await saveGoal({ id: "leaf1", node_type: "leaf", parent_id: "branch1", status: "active", loop_status: "running" });
|
|
799
|
-
await saveGoal({ id: "leaf2", node_type: "leaf", parent_id: "branch2", status: "active" });
|
|
800
|
-
await stateManager.saveGoal({ ...await stateManager.loadGoal("leaf1"), status: "completed" });
|
|
801
|
-
await orchestrator.onNodeCompleted("leaf1");
|
|
802
|
-
// branch1 completed, but branch2 and root should not be
|
|
803
|
-
expect((await stateManager.loadGoal("branch1"))?.status).toBe("completed");
|
|
804
|
-
expect((await stateManager.loadGoal("branch2"))?.status).not.toBe("completed");
|
|
805
|
-
expect((await stateManager.loadGoal("root"))?.status).not.toBe("completed");
|
|
806
|
-
});
|
|
807
|
-
it("does not select nodes from unrelated trees", async () => {
|
|
808
|
-
// Tree A
|
|
809
|
-
await saveGoal({ id: "rootA", children_ids: ["leafA"] });
|
|
810
|
-
await saveGoal({ id: "leafA", node_type: "leaf", parent_id: "rootA" });
|
|
811
|
-
// Tree B (separate)
|
|
812
|
-
await saveGoal({ id: "rootB", children_ids: ["leafB"] });
|
|
813
|
-
await saveGoal({ id: "leafB", node_type: "leaf", parent_id: "rootB" });
|
|
814
|
-
const resultA = await orchestrator.selectNextNode("rootA");
|
|
815
|
-
const resultB = await orchestrator.selectNextNode("rootB");
|
|
816
|
-
// Each call should select from its own tree
|
|
817
|
-
expect(resultA).toBe("leafA");
|
|
818
|
-
expect(resultB).toBe("leafB");
|
|
819
|
-
});
|
|
820
|
-
});
|
|
821
|
-
// ═══════════════════════════════════════════════════════════════════
|
|
822
|
-
// 6. GOAL REFINER INTEGRATION TESTS
|
|
823
|
-
// ═══════════════════════════════════════════════════════════════════
|
|
824
|
-
describe("ensureGoalRefined — GoalRefiner integration", () => {
|
|
825
|
-
it("calls refiner.refine() when GoalRefiner is provided and goal has no children or validated dimensions", async () => {
|
|
826
|
-
const mockRefiner = {
|
|
827
|
-
refine: vi.fn().mockResolvedValue({ goal: {}, leaf: true, children: null, feasibility: null, tokensUsed: 0, reason: "measurable" }),
|
|
828
|
-
reRefineLeaf: vi.fn(),
|
|
829
|
-
};
|
|
830
|
-
const orchestratorWithRefiner = new TreeLoopOrchestrator(stateManager, goalTreeManager, stateAggregator, satisficingJudge, mockRefiner);
|
|
831
|
-
// Goal with manual dimension (not validated) and no children
|
|
832
|
-
const goal = await saveGoal({
|
|
833
|
-
id: "unrefined-goal",
|
|
834
|
-
node_type: "goal",
|
|
835
|
-
children_ids: [],
|
|
836
|
-
dimensions: [{
|
|
837
|
-
name: "score",
|
|
838
|
-
label: "Score",
|
|
839
|
-
current_value: null,
|
|
840
|
-
threshold: { type: "min", value: 100 },
|
|
841
|
-
confidence: 0.5,
|
|
842
|
-
observation_method: {
|
|
843
|
-
type: "manual",
|
|
844
|
-
source: "manual",
|
|
845
|
-
schedule: null,
|
|
846
|
-
endpoint: null,
|
|
847
|
-
confidence_tier: "self_report",
|
|
848
|
-
},
|
|
849
|
-
last_updated: new Date().toISOString(),
|
|
850
|
-
history: [],
|
|
851
|
-
weight: 1.0,
|
|
852
|
-
uncertainty_weight: null,
|
|
853
|
-
state_integrity: "ok",
|
|
854
|
-
dimension_mapping: null,
|
|
855
|
-
}],
|
|
856
|
-
});
|
|
857
|
-
await orchestratorWithRefiner.ensureGoalRefined(goal.id);
|
|
858
|
-
expect(mockRefiner.refine).toHaveBeenCalledOnce();
|
|
859
|
-
expect(mockRefiner.refine).toHaveBeenCalledWith(goal.id, undefined);
|
|
860
|
-
});
|
|
861
|
-
it("does NOT call refiner.refine() when goal already has children", async () => {
|
|
862
|
-
const mockRefiner = {
|
|
863
|
-
refine: vi.fn(),
|
|
864
|
-
reRefineLeaf: vi.fn(),
|
|
865
|
-
};
|
|
866
|
-
const orchestratorWithRefiner = new TreeLoopOrchestrator(stateManager, goalTreeManager, stateAggregator, satisficingJudge, mockRefiner);
|
|
867
|
-
await saveGoal({ id: "child-1", node_type: "leaf" });
|
|
868
|
-
await saveGoal({ id: "parent-goal", node_type: "goal", children_ids: ["child-1"] });
|
|
869
|
-
await orchestratorWithRefiner.ensureGoalRefined("parent-goal");
|
|
870
|
-
expect(mockRefiner.refine).not.toHaveBeenCalled();
|
|
871
|
-
});
|
|
872
|
-
it("does NOT call refiner.refine() when goal already has validated dimensions", async () => {
|
|
873
|
-
const mockRefiner = {
|
|
874
|
-
refine: vi.fn(),
|
|
875
|
-
reRefineLeaf: vi.fn(),
|
|
876
|
-
};
|
|
877
|
-
const orchestratorWithRefiner = new TreeLoopOrchestrator(stateManager, goalTreeManager, stateAggregator, satisficingJudge, mockRefiner);
|
|
878
|
-
// Goal with mechanical (validated) dimension
|
|
879
|
-
await saveGoal({
|
|
880
|
-
id: "validated-goal",
|
|
881
|
-
node_type: "goal",
|
|
882
|
-
children_ids: [],
|
|
883
|
-
dimensions: [makeDimension({
|
|
884
|
-
observation_method: {
|
|
885
|
-
type: "mechanical",
|
|
886
|
-
source: "shell",
|
|
887
|
-
schedule: null,
|
|
888
|
-
endpoint: "npm test",
|
|
889
|
-
confidence_tier: "mechanical",
|
|
890
|
-
},
|
|
891
|
-
})],
|
|
892
|
-
});
|
|
893
|
-
await orchestratorWithRefiner.ensureGoalRefined("validated-goal");
|
|
894
|
-
expect(mockRefiner.refine).not.toHaveBeenCalled();
|
|
895
|
-
});
|
|
896
|
-
it("falls back to goalTreeManager.decomposeGoal() when GoalRefiner is NOT provided", async () => {
|
|
897
|
-
// orchestrator without refiner (default in beforeEach)
|
|
898
|
-
const decompSpy = vi.spyOn(goalTreeManager, "decomposeGoal").mockResolvedValue({
|
|
899
|
-
parent_id: "unrefined-fallback",
|
|
900
|
-
children: [],
|
|
901
|
-
depth: 1,
|
|
902
|
-
specificity_scores: {},
|
|
903
|
-
reasoning: "mock decomposition",
|
|
904
|
-
});
|
|
905
|
-
await saveGoal({
|
|
906
|
-
id: "unrefined-fallback",
|
|
907
|
-
node_type: "goal",
|
|
908
|
-
children_ids: [],
|
|
909
|
-
dimensions: [makeDimension({
|
|
910
|
-
observation_method: {
|
|
911
|
-
type: "manual",
|
|
912
|
-
source: "manual",
|
|
913
|
-
schedule: null,
|
|
914
|
-
endpoint: null,
|
|
915
|
-
confidence_tier: "self_report",
|
|
916
|
-
},
|
|
917
|
-
})],
|
|
918
|
-
});
|
|
919
|
-
await orchestrator.ensureGoalRefined("unrefined-fallback");
|
|
920
|
-
expect(decompSpy).toHaveBeenCalledOnce();
|
|
921
|
-
expect(decompSpy).toHaveBeenCalledWith("unrefined-fallback", expect.any(Object));
|
|
922
|
-
decompSpy.mockRestore();
|
|
923
|
-
});
|
|
924
|
-
it("falls back to decomposeGoal() when refiner.refine() throws", async () => {
|
|
925
|
-
const mockRefiner = {
|
|
926
|
-
refine: vi.fn().mockRejectedValue(new Error("refiner failure")),
|
|
927
|
-
reRefineLeaf: vi.fn(),
|
|
928
|
-
};
|
|
929
|
-
const orchestratorWithRefiner = new TreeLoopOrchestrator(stateManager, goalTreeManager, stateAggregator, satisficingJudge, mockRefiner);
|
|
930
|
-
const decompSpy = vi.spyOn(goalTreeManager, "decomposeGoal").mockResolvedValue({
|
|
931
|
-
parent_id: "fallback-on-error",
|
|
932
|
-
children: [],
|
|
933
|
-
depth: 1,
|
|
934
|
-
specificity_scores: {},
|
|
935
|
-
reasoning: "fallback mock",
|
|
936
|
-
});
|
|
937
|
-
await saveGoal({
|
|
938
|
-
id: "fallback-on-error",
|
|
939
|
-
node_type: "goal",
|
|
940
|
-
children_ids: [],
|
|
941
|
-
dimensions: [makeDimension({
|
|
942
|
-
observation_method: {
|
|
943
|
-
type: "manual",
|
|
944
|
-
source: "manual",
|
|
945
|
-
schedule: null,
|
|
946
|
-
endpoint: null,
|
|
947
|
-
confidence_tier: "self_report",
|
|
948
|
-
},
|
|
949
|
-
})],
|
|
950
|
-
});
|
|
951
|
-
// Should not throw even when refiner errors
|
|
952
|
-
await expect(orchestratorWithRefiner.ensureGoalRefined("fallback-on-error")).resolves.toBeUndefined();
|
|
953
|
-
expect(decompSpy).toHaveBeenCalledOnce();
|
|
954
|
-
decompSpy.mockRestore();
|
|
955
|
-
});
|
|
956
|
-
it("is a no-op for a nonexistent goal", async () => {
|
|
957
|
-
const mockRefiner = {
|
|
958
|
-
refine: vi.fn(),
|
|
959
|
-
reRefineLeaf: vi.fn(),
|
|
960
|
-
};
|
|
961
|
-
const orchestratorWithRefiner = new TreeLoopOrchestrator(stateManager, goalTreeManager, stateAggregator, satisficingJudge, mockRefiner);
|
|
962
|
-
await expect(orchestratorWithRefiner.ensureGoalRefined("does-not-exist")).resolves.toBeUndefined();
|
|
963
|
-
expect(mockRefiner.refine).not.toHaveBeenCalled();
|
|
964
|
-
});
|
|
965
|
-
});
|
|
966
|
-
// ═══════════════════════════════════════════════════════════════════
|
|
967
|
-
// 6. CURRICULUM ORDERING TESTS
|
|
968
|
-
// ═══════════════════════════════════════════════════════════════════
|
|
969
|
-
describe("selectNextNode — curriculum ordering", async () => {
|
|
970
|
-
// Difficulty calculation:
|
|
971
|
-
// easy: min threshold=10, current=9 → normalizedGap=0.1, confidence=0 → difficulty=0.1
|
|
972
|
-
// medium: current_value=null → normalizedGap=1.0, confidence=0.5 → difficulty=0.5
|
|
973
|
-
// hard: current_value=null → normalizedGap=1.0, confidence=0.1 → difficulty=0.9
|
|
974
|
-
//
|
|
975
|
-
// Center-biased distances from 0.5:
|
|
976
|
-
// medium: |0.5 - 0.5| = 0.0 ← selected first
|
|
977
|
-
// easy: |0.1 - 0.5| = 0.4
|
|
978
|
-
// hard: |0.9 - 0.5| = 0.4
|
|
979
|
-
function makeEasyDimension() {
|
|
980
|
-
return makeDimension({
|
|
981
|
-
name: "score",
|
|
982
|
-
current_value: 9,
|
|
983
|
-
threshold: { type: "min", value: 10 },
|
|
984
|
-
confidence: 0,
|
|
985
|
-
weight: 1.0,
|
|
986
|
-
});
|
|
987
|
-
}
|
|
988
|
-
function makeMediumDimension() {
|
|
989
|
-
return makeDimension({
|
|
990
|
-
name: "score",
|
|
991
|
-
current_value: null,
|
|
992
|
-
threshold: { type: "min", value: 10 },
|
|
993
|
-
confidence: 0.5,
|
|
994
|
-
weight: 1.0,
|
|
995
|
-
});
|
|
996
|
-
}
|
|
997
|
-
function makeHardDimension() {
|
|
998
|
-
return makeDimension({
|
|
999
|
-
name: "score",
|
|
1000
|
-
current_value: null,
|
|
1001
|
-
threshold: { type: "min", value: 10 },
|
|
1002
|
-
confidence: 0.1,
|
|
1003
|
-
weight: 1.0,
|
|
1004
|
-
});
|
|
1005
|
-
}
|
|
1006
|
-
it("prefers medium-difficulty leaf over easy and hard leaves", async () => {
|
|
1007
|
-
await saveGoal({
|
|
1008
|
-
id: "root",
|
|
1009
|
-
node_type: "goal",
|
|
1010
|
-
children_ids: ["easy-leaf", "medium-leaf", "hard-leaf"],
|
|
1011
|
-
});
|
|
1012
|
-
await saveGoal({
|
|
1013
|
-
id: "easy-leaf",
|
|
1014
|
-
node_type: "leaf",
|
|
1015
|
-
parent_id: "root",
|
|
1016
|
-
decomposition_depth: 1,
|
|
1017
|
-
dimensions: [makeEasyDimension()],
|
|
1018
|
-
});
|
|
1019
|
-
await saveGoal({
|
|
1020
|
-
id: "medium-leaf",
|
|
1021
|
-
node_type: "leaf",
|
|
1022
|
-
parent_id: "root",
|
|
1023
|
-
decomposition_depth: 1,
|
|
1024
|
-
dimensions: [makeMediumDimension()],
|
|
1025
|
-
});
|
|
1026
|
-
await saveGoal({
|
|
1027
|
-
id: "hard-leaf",
|
|
1028
|
-
node_type: "leaf",
|
|
1029
|
-
parent_id: "root",
|
|
1030
|
-
decomposition_depth: 1,
|
|
1031
|
-
dimensions: [makeHardDimension()],
|
|
1032
|
-
});
|
|
1033
|
-
const result = await orchestrator.selectNextNode("root");
|
|
1034
|
-
expect(result).toBe("medium-leaf");
|
|
1035
|
-
});
|
|
1036
|
-
it("selects nodes in center-biased order across three calls", async () => {
|
|
1037
|
-
// After medium (distance=0.0) is selected, easy and hard (both distance=0.4)
|
|
1038
|
-
// share equal distance; next call returns one of them, then the other.
|
|
1039
|
-
await saveGoal({
|
|
1040
|
-
id: "root",
|
|
1041
|
-
node_type: "goal",
|
|
1042
|
-
children_ids: ["easy-leaf", "medium-leaf", "hard-leaf"],
|
|
1043
|
-
});
|
|
1044
|
-
await saveGoal({
|
|
1045
|
-
id: "easy-leaf",
|
|
1046
|
-
node_type: "leaf",
|
|
1047
|
-
parent_id: "root",
|
|
1048
|
-
decomposition_depth: 1,
|
|
1049
|
-
dimensions: [makeEasyDimension()],
|
|
1050
|
-
});
|
|
1051
|
-
await saveGoal({
|
|
1052
|
-
id: "medium-leaf",
|
|
1053
|
-
node_type: "leaf",
|
|
1054
|
-
parent_id: "root",
|
|
1055
|
-
decomposition_depth: 1,
|
|
1056
|
-
dimensions: [makeMediumDimension()],
|
|
1057
|
-
});
|
|
1058
|
-
await saveGoal({
|
|
1059
|
-
id: "hard-leaf",
|
|
1060
|
-
node_type: "leaf",
|
|
1061
|
-
parent_id: "root",
|
|
1062
|
-
decomposition_depth: 1,
|
|
1063
|
-
dimensions: [makeHardDimension()],
|
|
1064
|
-
});
|
|
1065
|
-
await orchestrator.startTreeExecution("root", {
|
|
1066
|
-
...DEFAULT_CONFIG,
|
|
1067
|
-
parallel_loop_limit: 3,
|
|
1068
|
-
});
|
|
1069
|
-
const sel1 = await orchestrator.selectNextNode("root");
|
|
1070
|
-
const sel2 = await orchestrator.selectNextNode("root");
|
|
1071
|
-
const sel3 = await orchestrator.selectNextNode("root");
|
|
1072
|
-
// First must be medium (closest to 0.5)
|
|
1073
|
-
expect(sel1).toBe("medium-leaf");
|
|
1074
|
-
// Second and third must be easy and hard (in any order — both equidistant)
|
|
1075
|
-
expect(new Set([sel2, sel3])).toEqual(new Set(["easy-leaf", "hard-leaf"]));
|
|
1076
|
-
});
|
|
1077
|
-
});
|
|
1078
|
-
//# sourceMappingURL=tree-loop-orchestrator.test.js.map
|