pulseed 0.4.2 → 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.d.ts.map +1 -1
- package/dist/interface/cli/cli-runner.js +5 -0
- package/dist/interface/cli/cli-runner.js.map +1 -1
- 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/plugin.d.ts.map +1 -1
- package/dist/interface/cli/commands/plugin.js +2 -9
- package/dist/interface/cli/commands/plugin.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 +2 -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/plugin-loader.d.ts.map +1 -1
- package/dist/runtime/plugin-loader.js +2 -10
- package/dist/runtime/plugin-loader.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,840 +0,0 @@
|
|
|
1
|
-
import { describe, it, expect, beforeEach, afterEach } from "vitest";
|
|
2
|
-
import * as fs from "node:fs";
|
|
3
|
-
import { StateManager } from "../../../base/state/state-manager.js";
|
|
4
|
-
import { SatisficingJudge } from "../../../platform/drive/satisficing-judge.js";
|
|
5
|
-
import { StateAggregator } from "../state-aggregator.js";
|
|
6
|
-
import { makeTempDir } from "../../../../tests/helpers/temp-dir.js";
|
|
7
|
-
import { makeGoal } from "../../../../tests/helpers/fixtures.js";
|
|
8
|
-
function makeDimension(overrides = {}) {
|
|
9
|
-
return {
|
|
10
|
-
name: "score",
|
|
11
|
-
label: "Score",
|
|
12
|
-
current_value: 50,
|
|
13
|
-
threshold: { type: "min", value: 100 },
|
|
14
|
-
confidence: 0.9,
|
|
15
|
-
observation_method: {
|
|
16
|
-
type: "mechanical",
|
|
17
|
-
source: "test",
|
|
18
|
-
schedule: null,
|
|
19
|
-
endpoint: null,
|
|
20
|
-
confidence_tier: "mechanical",
|
|
21
|
-
},
|
|
22
|
-
last_updated: new Date().toISOString(),
|
|
23
|
-
history: [],
|
|
24
|
-
weight: 1.0,
|
|
25
|
-
uncertainty_weight: null,
|
|
26
|
-
state_integrity: "ok",
|
|
27
|
-
dimension_mapping: null,
|
|
28
|
-
...overrides,
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
/** Create an ISO timestamp offset from now by the given number of hours */
|
|
32
|
-
function hoursFromNow(hours) {
|
|
33
|
-
return new Date(Date.now() + hours * 3600 * 1000).toISOString();
|
|
34
|
-
}
|
|
35
|
-
// ─── Test Setup ───
|
|
36
|
-
let tempDir;
|
|
37
|
-
let stateManager;
|
|
38
|
-
let judge;
|
|
39
|
-
let aggregator;
|
|
40
|
-
beforeEach(() => {
|
|
41
|
-
tempDir = makeTempDir();
|
|
42
|
-
stateManager = new StateManager(tempDir);
|
|
43
|
-
judge = new SatisficingJudge(stateManager);
|
|
44
|
-
aggregator = new StateAggregator(stateManager, judge);
|
|
45
|
-
});
|
|
46
|
-
afterEach(() => {
|
|
47
|
-
fs.rmSync(tempDir, { recursive: true, force: true, maxRetries: 3, retryDelay: 100 });
|
|
48
|
-
});
|
|
49
|
-
// ─── Helper: build a parent with N children ───
|
|
50
|
-
async function buildTree(numChildren, childOverrides = []) {
|
|
51
|
-
const children = Array.from({ length: numChildren }, (_, i) => {
|
|
52
|
-
const overrides = childOverrides[i] ?? {};
|
|
53
|
-
return makeGoal({ id: `child-${i}`, ...overrides });
|
|
54
|
-
});
|
|
55
|
-
const parent = makeGoal({
|
|
56
|
-
id: "parent",
|
|
57
|
-
children_ids: children.map((c) => c.id),
|
|
58
|
-
});
|
|
59
|
-
for (const child of children) {
|
|
60
|
-
await stateManager.saveGoal({ ...child, parent_id: parent.id });
|
|
61
|
-
}
|
|
62
|
-
await stateManager.saveGoal(parent);
|
|
63
|
-
return { parent, children };
|
|
64
|
-
}
|
|
65
|
-
// ═══════════════════════════════════════════════════════════════════════════
|
|
66
|
-
// 1. Min aggregation
|
|
67
|
-
// ═══════════════════════════════════════════════════════════════════════════
|
|
68
|
-
describe("aggregateChildStates — min aggregation (default)", async () => {
|
|
69
|
-
it("picks the worst (largest) child gap — single dominant child", async () => {
|
|
70
|
-
await buildTree(3, [
|
|
71
|
-
{ dimensions: [makeDimension({ current_value: 90 })] }, // gap ~0.10
|
|
72
|
-
{ dimensions: [makeDimension({ current_value: 0 })] }, // gap = 1.0
|
|
73
|
-
{ dimensions: [makeDimension({ current_value: 80 })] }, // gap ~0.20
|
|
74
|
-
]);
|
|
75
|
-
const result = await aggregator.aggregateChildStates("parent");
|
|
76
|
-
// "min" on gaps = smallest gap, which corresponds to the BEST child
|
|
77
|
-
// (closest to threshold). The worst child has gap 1.0, but min gives 0.10.
|
|
78
|
-
expect(result.aggregation_method).toBe("min");
|
|
79
|
-
expect(result.aggregated_gap).toBeCloseTo(0.1, 1);
|
|
80
|
-
});
|
|
81
|
-
it("returns 0 when all children are completed", async () => {
|
|
82
|
-
await buildTree(2, [
|
|
83
|
-
{ status: "completed", dimensions: [] },
|
|
84
|
-
{ status: "completed", dimensions: [] },
|
|
85
|
-
]);
|
|
86
|
-
const result = await aggregator.aggregateChildStates("parent");
|
|
87
|
-
expect(result.aggregated_gap).toBe(0);
|
|
88
|
-
});
|
|
89
|
-
it("returns 0 when all children have gap 0", async () => {
|
|
90
|
-
await buildTree(2, [
|
|
91
|
-
{ dimensions: [makeDimension({ current_value: 100 })] },
|
|
92
|
-
{ dimensions: [makeDimension({ current_value: 100 })] },
|
|
93
|
-
]);
|
|
94
|
-
const result = await aggregator.aggregateChildStates("parent");
|
|
95
|
-
expect(result.aggregated_gap).toBe(0);
|
|
96
|
-
});
|
|
97
|
-
it("returns same gap when all children have identical gap", async () => {
|
|
98
|
-
await buildTree(3, [
|
|
99
|
-
{ dimensions: [makeDimension({ current_value: 50 })] },
|
|
100
|
-
{ dimensions: [makeDimension({ current_value: 50 })] },
|
|
101
|
-
{ dimensions: [makeDimension({ current_value: 50 })] },
|
|
102
|
-
]);
|
|
103
|
-
const result = await aggregator.aggregateChildStates("parent");
|
|
104
|
-
expect(result.aggregated_gap).toBeCloseTo(0.5, 5);
|
|
105
|
-
});
|
|
106
|
-
it("tracks per-child gaps in child_gaps map", async () => {
|
|
107
|
-
await buildTree(2, [
|
|
108
|
-
{ dimensions: [makeDimension({ current_value: 100 })] }, // gap 0
|
|
109
|
-
{ dimensions: [makeDimension({ current_value: 0 })] }, // gap 1
|
|
110
|
-
]);
|
|
111
|
-
const result = await aggregator.aggregateChildStates("parent");
|
|
112
|
-
expect(result.child_gaps["child-0"]).toBeCloseTo(0, 5);
|
|
113
|
-
expect(result.child_gaps["child-1"]).toBeCloseTo(1.0, 5);
|
|
114
|
-
});
|
|
115
|
-
it("tracks per-child completion status", async () => {
|
|
116
|
-
await buildTree(2, [
|
|
117
|
-
{ status: "completed" },
|
|
118
|
-
{ status: "active" },
|
|
119
|
-
]);
|
|
120
|
-
const result = await aggregator.aggregateChildStates("parent");
|
|
121
|
-
expect(result.child_completions["child-0"]).toBe(true);
|
|
122
|
-
expect(result.child_completions["child-1"]).toBe(false);
|
|
123
|
-
});
|
|
124
|
-
it("returns aggregated_gap = 0 when parent has no children", async () => {
|
|
125
|
-
const parent = makeGoal({ id: "empty-parent", children_ids: [] });
|
|
126
|
-
await stateManager.saveGoal(parent);
|
|
127
|
-
const result = await aggregator.aggregateChildStates("empty-parent");
|
|
128
|
-
expect(result.aggregated_gap).toBe(0);
|
|
129
|
-
});
|
|
130
|
-
it("handles one child with very high gap (1.0)", async () => {
|
|
131
|
-
await buildTree(2, [
|
|
132
|
-
{ dimensions: [makeDimension({ current_value: 99 })] }, // gap 0.01
|
|
133
|
-
{ dimensions: [makeDimension({ current_value: 0 })] }, // gap 1.0
|
|
134
|
-
]);
|
|
135
|
-
const result = await aggregator.aggregateChildStates("parent");
|
|
136
|
-
// min picks the best child (gap 0.01)
|
|
137
|
-
expect(result.aggregated_gap).toBeCloseTo(0.01, 2);
|
|
138
|
-
});
|
|
139
|
-
it("throws when parent goal not found", async () => {
|
|
140
|
-
await expect(aggregator.aggregateChildStates("nonexistent-parent")).rejects.toThrow(/not found/);
|
|
141
|
-
});
|
|
142
|
-
});
|
|
143
|
-
// ═══════════════════════════════════════════════════════════════════════════
|
|
144
|
-
// 2. Avg aggregation
|
|
145
|
-
// ═══════════════════════════════════════════════════════════════════════════
|
|
146
|
-
describe("aggregateChildStates — avg aggregation", () => {
|
|
147
|
-
function setAvgRule() {
|
|
148
|
-
const rule = {
|
|
149
|
-
parent_id: "parent",
|
|
150
|
-
child_ids: ["child-0", "child-1"],
|
|
151
|
-
aggregation: "avg",
|
|
152
|
-
propagation_direction: "up",
|
|
153
|
-
};
|
|
154
|
-
aggregator.registerAggregationRule(rule);
|
|
155
|
-
}
|
|
156
|
-
it("averages child gaps", async () => {
|
|
157
|
-
await buildTree(2, [
|
|
158
|
-
{ dimensions: [makeDimension({ current_value: 0 })] }, // gap 1.0
|
|
159
|
-
{ dimensions: [makeDimension({ current_value: 100 })] }, // gap 0.0
|
|
160
|
-
]);
|
|
161
|
-
setAvgRule();
|
|
162
|
-
const result = await aggregator.aggregateChildStates("parent");
|
|
163
|
-
expect(result.aggregation_method).toBe("avg");
|
|
164
|
-
expect(result.aggregated_gap).toBeCloseTo(0.5, 5);
|
|
165
|
-
});
|
|
166
|
-
it("avg with 3 equal children", async () => {
|
|
167
|
-
await buildTree(3, [
|
|
168
|
-
{ dimensions: [makeDimension({ current_value: 50 })] },
|
|
169
|
-
{ dimensions: [makeDimension({ current_value: 50 })] },
|
|
170
|
-
{ dimensions: [makeDimension({ current_value: 50 })] },
|
|
171
|
-
]);
|
|
172
|
-
aggregator.registerAggregationRule({
|
|
173
|
-
parent_id: "parent",
|
|
174
|
-
child_ids: ["child-0", "child-1", "child-2"],
|
|
175
|
-
aggregation: "avg",
|
|
176
|
-
propagation_direction: "up",
|
|
177
|
-
});
|
|
178
|
-
const result = await aggregator.aggregateChildStates("parent");
|
|
179
|
-
expect(result.aggregated_gap).toBeCloseTo(0.5, 5);
|
|
180
|
-
});
|
|
181
|
-
it("avg of 0.25 and 0.75 gives 0.5", async () => {
|
|
182
|
-
await buildTree(2, [
|
|
183
|
-
{ dimensions: [makeDimension({ current_value: 75 })] }, // gap 0.25
|
|
184
|
-
{ dimensions: [makeDimension({ current_value: 25 })] }, // gap 0.75
|
|
185
|
-
]);
|
|
186
|
-
setAvgRule();
|
|
187
|
-
const result = await aggregator.aggregateChildStates("parent");
|
|
188
|
-
expect(result.aggregated_gap).toBeCloseTo(0.5, 2);
|
|
189
|
-
});
|
|
190
|
-
it("avg with single child equals that child gap", async () => {
|
|
191
|
-
await buildTree(1, [{ dimensions: [makeDimension({ current_value: 60 })] }]);
|
|
192
|
-
aggregator.registerAggregationRule({
|
|
193
|
-
parent_id: "parent",
|
|
194
|
-
child_ids: ["child-0"],
|
|
195
|
-
aggregation: "avg",
|
|
196
|
-
propagation_direction: "up",
|
|
197
|
-
});
|
|
198
|
-
const result = await aggregator.aggregateChildStates("parent");
|
|
199
|
-
expect(result.aggregated_gap).toBeCloseTo(0.4, 2);
|
|
200
|
-
});
|
|
201
|
-
it("avg includes completed children as gap 0", async () => {
|
|
202
|
-
await buildTree(2, [
|
|
203
|
-
{ status: "completed", dimensions: [] },
|
|
204
|
-
{ dimensions: [makeDimension({ current_value: 0 })] }, // gap 1.0
|
|
205
|
-
]);
|
|
206
|
-
setAvgRule();
|
|
207
|
-
const result = await aggregator.aggregateChildStates("parent");
|
|
208
|
-
expect(result.aggregated_gap).toBeCloseTo(0.5, 5);
|
|
209
|
-
});
|
|
210
|
-
it("avg returns 0 when all children complete", async () => {
|
|
211
|
-
await buildTree(2, [
|
|
212
|
-
{ status: "completed", dimensions: [] },
|
|
213
|
-
{ status: "completed", dimensions: [] },
|
|
214
|
-
]);
|
|
215
|
-
setAvgRule();
|
|
216
|
-
const result = await aggregator.aggregateChildStates("parent");
|
|
217
|
-
expect(result.aggregated_gap).toBe(0);
|
|
218
|
-
});
|
|
219
|
-
});
|
|
220
|
-
// ═══════════════════════════════════════════════════════════════════════════
|
|
221
|
-
// 3. Max aggregation
|
|
222
|
-
// ═══════════════════════════════════════════════════════════════════════════
|
|
223
|
-
describe("aggregateChildStates — max aggregation", () => {
|
|
224
|
-
function setMaxRule() {
|
|
225
|
-
aggregator.registerAggregationRule({
|
|
226
|
-
parent_id: "parent",
|
|
227
|
-
child_ids: ["child-0", "child-1"],
|
|
228
|
-
aggregation: "max",
|
|
229
|
-
propagation_direction: "up",
|
|
230
|
-
});
|
|
231
|
-
}
|
|
232
|
-
it("picks the largest child gap (worst child)", async () => {
|
|
233
|
-
await buildTree(2, [
|
|
234
|
-
{ dimensions: [makeDimension({ current_value: 90 })] }, // gap 0.10
|
|
235
|
-
{ dimensions: [makeDimension({ current_value: 0 })] }, // gap 1.0
|
|
236
|
-
]);
|
|
237
|
-
setMaxRule();
|
|
238
|
-
const result = await aggregator.aggregateChildStates("parent");
|
|
239
|
-
expect(result.aggregation_method).toBe("max");
|
|
240
|
-
expect(result.aggregated_gap).toBeCloseTo(1.0, 5);
|
|
241
|
-
});
|
|
242
|
-
it("returns 0 when all children gap is 0", async () => {
|
|
243
|
-
await buildTree(2, [
|
|
244
|
-
{ dimensions: [makeDimension({ current_value: 100 })] },
|
|
245
|
-
{ dimensions: [makeDimension({ current_value: 100 })] },
|
|
246
|
-
]);
|
|
247
|
-
setMaxRule();
|
|
248
|
-
const result = await aggregator.aggregateChildStates("parent");
|
|
249
|
-
expect(result.aggregated_gap).toBe(0);
|
|
250
|
-
});
|
|
251
|
-
it("max gap with 3 children picks worst", async () => {
|
|
252
|
-
await buildTree(3, [
|
|
253
|
-
{ dimensions: [makeDimension({ current_value: 100 })] }, // 0
|
|
254
|
-
{ dimensions: [makeDimension({ current_value: 50 })] }, // 0.5
|
|
255
|
-
{ dimensions: [makeDimension({ current_value: 80 })] }, // 0.2
|
|
256
|
-
]);
|
|
257
|
-
aggregator.registerAggregationRule({
|
|
258
|
-
parent_id: "parent",
|
|
259
|
-
child_ids: ["child-0", "child-1", "child-2"],
|
|
260
|
-
aggregation: "max",
|
|
261
|
-
propagation_direction: "up",
|
|
262
|
-
});
|
|
263
|
-
const result = await aggregator.aggregateChildStates("parent");
|
|
264
|
-
expect(result.aggregated_gap).toBeCloseTo(0.5, 2);
|
|
265
|
-
});
|
|
266
|
-
it("max with single child equals that child gap", async () => {
|
|
267
|
-
await buildTree(1, [{ dimensions: [makeDimension({ current_value: 40 })] }]);
|
|
268
|
-
aggregator.registerAggregationRule({
|
|
269
|
-
parent_id: "parent",
|
|
270
|
-
child_ids: ["child-0"],
|
|
271
|
-
aggregation: "max",
|
|
272
|
-
propagation_direction: "up",
|
|
273
|
-
});
|
|
274
|
-
const result = await aggregator.aggregateChildStates("parent");
|
|
275
|
-
expect(result.aggregated_gap).toBeCloseTo(0.6, 2);
|
|
276
|
-
});
|
|
277
|
-
});
|
|
278
|
-
// ═══════════════════════════════════════════════════════════════════════════
|
|
279
|
-
// 4. All_required aggregation
|
|
280
|
-
// ═══════════════════════════════════════════════════════════════════════════
|
|
281
|
-
describe("aggregateChildStates — all_required aggregation", async () => {
|
|
282
|
-
function setAllRequiredRule(childIds) {
|
|
283
|
-
aggregator.registerAggregationRule({
|
|
284
|
-
parent_id: "parent",
|
|
285
|
-
child_ids: childIds ?? ["child-0", "child-1"],
|
|
286
|
-
aggregation: "all_required",
|
|
287
|
-
propagation_direction: "up",
|
|
288
|
-
});
|
|
289
|
-
}
|
|
290
|
-
it("returns non-zero gap when any child is incomplete", async () => {
|
|
291
|
-
await buildTree(2, [
|
|
292
|
-
{ status: "completed", dimensions: [] }, // done
|
|
293
|
-
{ dimensions: [makeDimension({ current_value: 0 })] }, // gap 1.0
|
|
294
|
-
]);
|
|
295
|
-
setAllRequiredRule();
|
|
296
|
-
const result = await aggregator.aggregateChildStates("parent");
|
|
297
|
-
expect(result.aggregation_method).toBe("all_required");
|
|
298
|
-
expect(result.aggregated_gap).toBeGreaterThan(0);
|
|
299
|
-
});
|
|
300
|
-
it("returns 0 gap when all children are complete", async () => {
|
|
301
|
-
await buildTree(2, [
|
|
302
|
-
{ status: "completed", dimensions: [] },
|
|
303
|
-
{ status: "completed", dimensions: [] },
|
|
304
|
-
]);
|
|
305
|
-
setAllRequiredRule();
|
|
306
|
-
const result = await aggregator.aggregateChildStates("parent");
|
|
307
|
-
expect(result.aggregated_gap).toBe(0);
|
|
308
|
-
});
|
|
309
|
-
it("partial completion still blocks parent", async () => {
|
|
310
|
-
await buildTree(3, [
|
|
311
|
-
{ status: "completed", dimensions: [] },
|
|
312
|
-
{ status: "completed", dimensions: [] },
|
|
313
|
-
{ dimensions: [makeDimension({ current_value: 50 })] }, // still active
|
|
314
|
-
]);
|
|
315
|
-
setAllRequiredRule(["child-0", "child-1", "child-2"]);
|
|
316
|
-
const result = await aggregator.aggregateChildStates("parent");
|
|
317
|
-
expect(result.aggregated_gap).toBeGreaterThan(0);
|
|
318
|
-
});
|
|
319
|
-
it("single incomplete child with full gap", async () => {
|
|
320
|
-
await buildTree(1, [{ dimensions: [makeDimension({ current_value: 0 })] }]);
|
|
321
|
-
aggregator.registerAggregationRule({
|
|
322
|
-
parent_id: "parent",
|
|
323
|
-
child_ids: ["child-0"],
|
|
324
|
-
aggregation: "all_required",
|
|
325
|
-
propagation_direction: "up",
|
|
326
|
-
});
|
|
327
|
-
const result = await aggregator.aggregateChildStates("parent");
|
|
328
|
-
expect(result.aggregated_gap).toBeGreaterThan(0);
|
|
329
|
-
});
|
|
330
|
-
it("returns 0 when parent has no children", async () => {
|
|
331
|
-
const parent = makeGoal({ id: "empty" });
|
|
332
|
-
await stateManager.saveGoal(parent);
|
|
333
|
-
aggregator.registerAggregationRule({
|
|
334
|
-
parent_id: "empty",
|
|
335
|
-
child_ids: [],
|
|
336
|
-
aggregation: "all_required",
|
|
337
|
-
propagation_direction: "up",
|
|
338
|
-
});
|
|
339
|
-
const result = await aggregator.aggregateChildStates("empty");
|
|
340
|
-
expect(result.aggregated_gap).toBe(0);
|
|
341
|
-
});
|
|
342
|
-
it("cancelled child counts as done", async () => {
|
|
343
|
-
await buildTree(2, [
|
|
344
|
-
{ status: "cancelled", dimensions: [] },
|
|
345
|
-
{ status: "completed", dimensions: [] },
|
|
346
|
-
]);
|
|
347
|
-
setAllRequiredRule();
|
|
348
|
-
const result = await aggregator.aggregateChildStates("parent");
|
|
349
|
-
expect(result.aggregated_gap).toBe(0);
|
|
350
|
-
});
|
|
351
|
-
});
|
|
352
|
-
// ═══════════════════════════════════════════════════════════════════════════
|
|
353
|
-
// 5. Confidence propagation
|
|
354
|
-
// ═══════════════════════════════════════════════════════════════════════════
|
|
355
|
-
describe("aggregateChildStates — confidence propagation", async () => {
|
|
356
|
-
it("aggregated confidence is min of all child confidences", async () => {
|
|
357
|
-
await buildTree(3, [
|
|
358
|
-
{ dimensions: [makeDimension({ confidence: 0.9 })] },
|
|
359
|
-
{ dimensions: [makeDimension({ confidence: 0.6 })] },
|
|
360
|
-
{ dimensions: [makeDimension({ confidence: 0.8 })] },
|
|
361
|
-
]);
|
|
362
|
-
const result = await aggregator.aggregateChildStates("parent");
|
|
363
|
-
expect(result.aggregated_confidence).toBeCloseTo(0.6, 5);
|
|
364
|
-
});
|
|
365
|
-
it("single child confidence equals that child's confidence", async () => {
|
|
366
|
-
await buildTree(1, [{ dimensions: [makeDimension({ confidence: 0.72 })] }]);
|
|
367
|
-
const result = await aggregator.aggregateChildStates("parent");
|
|
368
|
-
expect(result.aggregated_confidence).toBeCloseTo(0.72, 5);
|
|
369
|
-
});
|
|
370
|
-
it("high confidence across all children gives high aggregated confidence", async () => {
|
|
371
|
-
await buildTree(3, [
|
|
372
|
-
{ dimensions: [makeDimension({ confidence: 0.95 })] },
|
|
373
|
-
{ dimensions: [makeDimension({ confidence: 0.90 })] },
|
|
374
|
-
{ dimensions: [makeDimension({ confidence: 0.88 })] },
|
|
375
|
-
]);
|
|
376
|
-
const result = await aggregator.aggregateChildStates("parent");
|
|
377
|
-
expect(result.aggregated_confidence).toBeCloseTo(0.88, 5);
|
|
378
|
-
});
|
|
379
|
-
it("one very low confidence child drives the aggregate down", async () => {
|
|
380
|
-
await buildTree(3, [
|
|
381
|
-
{ dimensions: [makeDimension({ confidence: 0.95 })] },
|
|
382
|
-
{ dimensions: [makeDimension({ confidence: 0.95 })] },
|
|
383
|
-
{ dimensions: [makeDimension({ confidence: 0.1 })] },
|
|
384
|
-
]);
|
|
385
|
-
const result = await aggregator.aggregateChildStates("parent");
|
|
386
|
-
expect(result.aggregated_confidence).toBeCloseTo(0.1, 5);
|
|
387
|
-
});
|
|
388
|
-
it("missing child sets its confidence contribution to 0", async () => {
|
|
389
|
-
const parent = makeGoal({
|
|
390
|
-
id: "parent-missing",
|
|
391
|
-
children_ids: ["real-child", "ghost-child"],
|
|
392
|
-
});
|
|
393
|
-
const realChild = makeGoal({
|
|
394
|
-
id: "real-child",
|
|
395
|
-
parent_id: "parent-missing",
|
|
396
|
-
dimensions: [makeDimension({ confidence: 0.9 })],
|
|
397
|
-
});
|
|
398
|
-
await stateManager.saveGoal(parent);
|
|
399
|
-
await stateManager.saveGoal(realChild);
|
|
400
|
-
const result = await aggregator.aggregateChildStates("parent-missing");
|
|
401
|
-
expect(result.aggregated_confidence).toBe(0);
|
|
402
|
-
});
|
|
403
|
-
it("no children returns confidence 1.0", async () => {
|
|
404
|
-
const parent = makeGoal({ id: "no-children-conf", children_ids: [] });
|
|
405
|
-
await stateManager.saveGoal(parent);
|
|
406
|
-
const result = await aggregator.aggregateChildStates("no-children-conf");
|
|
407
|
-
expect(result.aggregated_confidence).toBe(1.0);
|
|
408
|
-
});
|
|
409
|
-
});
|
|
410
|
-
// ═══════════════════════════════════════════════════════════════════════════
|
|
411
|
-
// 6. Downward constraint propagation
|
|
412
|
-
// ═══════════════════════════════════════════════════════════════════════════
|
|
413
|
-
describe("propagateStateDown — constraint propagation", async () => {
|
|
414
|
-
it("new parent constraint is appended to child", async () => {
|
|
415
|
-
const child = makeGoal({
|
|
416
|
-
id: "child",
|
|
417
|
-
parent_id: "parent",
|
|
418
|
-
constraints: ["existing"],
|
|
419
|
-
});
|
|
420
|
-
const parent = makeGoal({
|
|
421
|
-
id: "parent",
|
|
422
|
-
children_ids: ["child"],
|
|
423
|
-
constraints: ["existing", "new-constraint"],
|
|
424
|
-
});
|
|
425
|
-
await stateManager.saveGoal(child);
|
|
426
|
-
await stateManager.saveGoal(parent);
|
|
427
|
-
await aggregator.propagateStateDown("parent");
|
|
428
|
-
const updatedChild = (await stateManager.loadGoal("child"));
|
|
429
|
-
expect(updatedChild.constraints).toContain("new-constraint");
|
|
430
|
-
expect(updatedChild.constraints).toContain("existing");
|
|
431
|
-
});
|
|
432
|
-
it("does not duplicate an existing constraint (idempotent)", async () => {
|
|
433
|
-
const child = makeGoal({
|
|
434
|
-
id: "child",
|
|
435
|
-
parent_id: "parent",
|
|
436
|
-
constraints: ["shared"],
|
|
437
|
-
});
|
|
438
|
-
const parent = makeGoal({
|
|
439
|
-
id: "parent",
|
|
440
|
-
children_ids: ["child"],
|
|
441
|
-
constraints: ["shared"],
|
|
442
|
-
});
|
|
443
|
-
await stateManager.saveGoal(child);
|
|
444
|
-
await stateManager.saveGoal(parent);
|
|
445
|
-
await aggregator.propagateStateDown("parent");
|
|
446
|
-
const updatedChild = (await stateManager.loadGoal("child"));
|
|
447
|
-
const occurrences = updatedChild.constraints.filter((c) => c === "shared");
|
|
448
|
-
expect(occurrences).toHaveLength(1);
|
|
449
|
-
});
|
|
450
|
-
it("propagates multiple new constraints at once", async () => {
|
|
451
|
-
const child = makeGoal({ id: "child", parent_id: "parent" });
|
|
452
|
-
const parent = makeGoal({
|
|
453
|
-
id: "parent",
|
|
454
|
-
children_ids: ["child"],
|
|
455
|
-
constraints: ["c1", "c2", "c3"],
|
|
456
|
-
});
|
|
457
|
-
await stateManager.saveGoal(child);
|
|
458
|
-
await stateManager.saveGoal(parent);
|
|
459
|
-
await aggregator.propagateStateDown("parent");
|
|
460
|
-
const updatedChild = (await stateManager.loadGoal("child"));
|
|
461
|
-
expect(updatedChild.constraints).toEqual(expect.arrayContaining(["c1", "c2", "c3"]));
|
|
462
|
-
});
|
|
463
|
-
it("propagates to multiple children", async () => {
|
|
464
|
-
const c1 = makeGoal({ id: "c1", parent_id: "parent" });
|
|
465
|
-
const c2 = makeGoal({ id: "c2", parent_id: "parent" });
|
|
466
|
-
const parent = makeGoal({
|
|
467
|
-
id: "parent",
|
|
468
|
-
children_ids: ["c1", "c2"],
|
|
469
|
-
constraints: ["budget-limit"],
|
|
470
|
-
});
|
|
471
|
-
await stateManager.saveGoal(c1);
|
|
472
|
-
await stateManager.saveGoal(c2);
|
|
473
|
-
await stateManager.saveGoal(parent);
|
|
474
|
-
await aggregator.propagateStateDown("parent");
|
|
475
|
-
expect((await stateManager.loadGoal("c1")).constraints).toContain("budget-limit");
|
|
476
|
-
expect((await stateManager.loadGoal("c2")).constraints).toContain("budget-limit");
|
|
477
|
-
});
|
|
478
|
-
it("is idempotent across multiple propagation calls", async () => {
|
|
479
|
-
const child = makeGoal({ id: "child", parent_id: "parent" });
|
|
480
|
-
const parent = makeGoal({
|
|
481
|
-
id: "parent",
|
|
482
|
-
children_ids: ["child"],
|
|
483
|
-
constraints: ["once"],
|
|
484
|
-
});
|
|
485
|
-
await stateManager.saveGoal(child);
|
|
486
|
-
await stateManager.saveGoal(parent);
|
|
487
|
-
await aggregator.propagateStateDown("parent");
|
|
488
|
-
await aggregator.propagateStateDown("parent");
|
|
489
|
-
await aggregator.propagateStateDown("parent");
|
|
490
|
-
const updatedChild = (await stateManager.loadGoal("child"));
|
|
491
|
-
const count = updatedChild.constraints.filter((c) => c === "once").length;
|
|
492
|
-
expect(count).toBe(1);
|
|
493
|
-
});
|
|
494
|
-
it("throws when parent goal not found", async () => {
|
|
495
|
-
await expect(aggregator.propagateStateDown("ghost-parent")).rejects.toThrow(/not found/);
|
|
496
|
-
});
|
|
497
|
-
});
|
|
498
|
-
// ═══════════════════════════════════════════════════════════════════════════
|
|
499
|
-
// 7. Downward deadline adjustment
|
|
500
|
-
// ═══════════════════════════════════════════════════════════════════════════
|
|
501
|
-
describe("propagateStateDown — deadline adjustment", async () => {
|
|
502
|
-
it("child deadline is not later than parent deadline", async () => {
|
|
503
|
-
const childDeadline = hoursFromNow(48);
|
|
504
|
-
const parentDeadline = hoursFromNow(24); // shorter than child
|
|
505
|
-
const child = makeGoal({
|
|
506
|
-
id: "child",
|
|
507
|
-
parent_id: "parent",
|
|
508
|
-
deadline: childDeadline,
|
|
509
|
-
});
|
|
510
|
-
const parent = makeGoal({
|
|
511
|
-
id: "parent",
|
|
512
|
-
children_ids: ["child"],
|
|
513
|
-
deadline: parentDeadline,
|
|
514
|
-
});
|
|
515
|
-
await stateManager.saveGoal(child);
|
|
516
|
-
await stateManager.saveGoal(parent);
|
|
517
|
-
await aggregator.propagateStateDown("parent");
|
|
518
|
-
const updated = (await stateManager.loadGoal("child"));
|
|
519
|
-
const updatedMs = Date.parse(updated.deadline);
|
|
520
|
-
const parentMs = Date.parse(parentDeadline);
|
|
521
|
-
expect(updatedMs).toBeLessThanOrEqual(parentMs);
|
|
522
|
-
});
|
|
523
|
-
it("child deadline is not changed when it is already within parent window", async () => {
|
|
524
|
-
const childDeadline = hoursFromNow(12);
|
|
525
|
-
const parentDeadline = hoursFromNow(24); // parent is later
|
|
526
|
-
const child = makeGoal({
|
|
527
|
-
id: "child",
|
|
528
|
-
parent_id: "parent",
|
|
529
|
-
deadline: childDeadline,
|
|
530
|
-
});
|
|
531
|
-
const parent = makeGoal({
|
|
532
|
-
id: "parent",
|
|
533
|
-
children_ids: ["child"],
|
|
534
|
-
deadline: parentDeadline,
|
|
535
|
-
});
|
|
536
|
-
await stateManager.saveGoal(child);
|
|
537
|
-
await stateManager.saveGoal(parent);
|
|
538
|
-
await aggregator.propagateStateDown("parent");
|
|
539
|
-
const updated = (await stateManager.loadGoal("child"));
|
|
540
|
-
// child already within parent window — deadline should stay the same
|
|
541
|
-
expect(updated.deadline).toBe(childDeadline);
|
|
542
|
-
});
|
|
543
|
-
it("child with null deadline is not affected by parent deadline", async () => {
|
|
544
|
-
const child = makeGoal({
|
|
545
|
-
id: "child",
|
|
546
|
-
parent_id: "parent",
|
|
547
|
-
deadline: null,
|
|
548
|
-
});
|
|
549
|
-
const parent = makeGoal({
|
|
550
|
-
id: "parent",
|
|
551
|
-
children_ids: ["child"],
|
|
552
|
-
deadline: hoursFromNow(10),
|
|
553
|
-
});
|
|
554
|
-
await stateManager.saveGoal(child);
|
|
555
|
-
await stateManager.saveGoal(parent);
|
|
556
|
-
await aggregator.propagateStateDown("parent");
|
|
557
|
-
const updated = (await stateManager.loadGoal("child"));
|
|
558
|
-
expect(updated.deadline).toBeNull();
|
|
559
|
-
});
|
|
560
|
-
it("no deadline propagation when parent has no deadline", async () => {
|
|
561
|
-
const childDeadline = hoursFromNow(24);
|
|
562
|
-
const child = makeGoal({
|
|
563
|
-
id: "child",
|
|
564
|
-
parent_id: "parent",
|
|
565
|
-
deadline: childDeadline,
|
|
566
|
-
});
|
|
567
|
-
const parent = makeGoal({
|
|
568
|
-
id: "parent",
|
|
569
|
-
children_ids: ["child"],
|
|
570
|
-
deadline: null,
|
|
571
|
-
});
|
|
572
|
-
await stateManager.saveGoal(child);
|
|
573
|
-
await stateManager.saveGoal(parent);
|
|
574
|
-
await aggregator.propagateStateDown("parent");
|
|
575
|
-
const updated = (await stateManager.loadGoal("child"));
|
|
576
|
-
expect(updated.deadline).toBe(childDeadline);
|
|
577
|
-
});
|
|
578
|
-
it("shortened parent deadline is propagated to child", async () => {
|
|
579
|
-
// child has 48h, parent now only has 12h → child should be capped
|
|
580
|
-
const childDeadline = hoursFromNow(48);
|
|
581
|
-
const parentDeadline = hoursFromNow(12);
|
|
582
|
-
const child = makeGoal({
|
|
583
|
-
id: "child",
|
|
584
|
-
parent_id: "parent",
|
|
585
|
-
deadline: childDeadline,
|
|
586
|
-
});
|
|
587
|
-
const parent = makeGoal({
|
|
588
|
-
id: "parent",
|
|
589
|
-
children_ids: ["child"],
|
|
590
|
-
deadline: parentDeadline,
|
|
591
|
-
});
|
|
592
|
-
await stateManager.saveGoal(child);
|
|
593
|
-
await stateManager.saveGoal(parent);
|
|
594
|
-
await aggregator.propagateStateDown("parent");
|
|
595
|
-
const updated = (await stateManager.loadGoal("child"));
|
|
596
|
-
const newMs = Date.parse(updated.deadline);
|
|
597
|
-
const parentMs = Date.parse(parentDeadline);
|
|
598
|
-
expect(newMs).toBeLessThanOrEqual(parentMs + 1000); // allow 1s slack
|
|
599
|
-
});
|
|
600
|
-
it("propagates deadline to multiple children", async () => {
|
|
601
|
-
const parentDeadline = hoursFromNow(6);
|
|
602
|
-
const c1 = makeGoal({ id: "c1", parent_id: "parent", deadline: hoursFromNow(48) });
|
|
603
|
-
const c2 = makeGoal({ id: "c2", parent_id: "parent", deadline: hoursFromNow(48) });
|
|
604
|
-
const parent = makeGoal({
|
|
605
|
-
id: "parent",
|
|
606
|
-
children_ids: ["c1", "c2"],
|
|
607
|
-
deadline: parentDeadline,
|
|
608
|
-
});
|
|
609
|
-
await stateManager.saveGoal(c1);
|
|
610
|
-
await stateManager.saveGoal(c2);
|
|
611
|
-
await stateManager.saveGoal(parent);
|
|
612
|
-
await aggregator.propagateStateDown("parent");
|
|
613
|
-
const parentMs = Date.parse(parentDeadline);
|
|
614
|
-
expect(Date.parse((await stateManager.loadGoal("c1")).deadline)).toBeLessThanOrEqual(parentMs + 1000);
|
|
615
|
-
expect(Date.parse((await stateManager.loadGoal("c2")).deadline)).toBeLessThanOrEqual(parentMs + 1000);
|
|
616
|
-
});
|
|
617
|
-
});
|
|
618
|
-
// ═══════════════════════════════════════════════════════════════════════════
|
|
619
|
-
// 8. Completion cascade
|
|
620
|
-
// ═══════════════════════════════════════════════════════════════════════════
|
|
621
|
-
describe("checkCompletionCascade", async () => {
|
|
622
|
-
it("returns parent ID when all siblings are complete", async () => {
|
|
623
|
-
const c1 = makeGoal({ id: "c1", parent_id: "parent", status: "completed" });
|
|
624
|
-
const c2 = makeGoal({ id: "c2", parent_id: "parent", status: "completed" });
|
|
625
|
-
const parent = makeGoal({ id: "parent", children_ids: ["c1", "c2"] });
|
|
626
|
-
await stateManager.saveGoal(c1);
|
|
627
|
-
await stateManager.saveGoal(c2);
|
|
628
|
-
await stateManager.saveGoal(parent);
|
|
629
|
-
const result = await aggregator.checkCompletionCascade("c1");
|
|
630
|
-
expect(result).toContain("parent");
|
|
631
|
-
});
|
|
632
|
-
it("returns empty when one sibling is still active", async () => {
|
|
633
|
-
const c1 = makeGoal({ id: "c1", parent_id: "parent", status: "completed" });
|
|
634
|
-
const c2 = makeGoal({ id: "c2", parent_id: "parent", status: "active" });
|
|
635
|
-
const parent = makeGoal({ id: "parent", children_ids: ["c1", "c2"] });
|
|
636
|
-
await stateManager.saveGoal(c1);
|
|
637
|
-
await stateManager.saveGoal(c2);
|
|
638
|
-
await stateManager.saveGoal(parent);
|
|
639
|
-
const result = await aggregator.checkCompletionCascade("c1");
|
|
640
|
-
expect(result).toEqual([]);
|
|
641
|
-
});
|
|
642
|
-
it("cascades through multiple levels", async () => {
|
|
643
|
-
// leaf → mid → root
|
|
644
|
-
const leaf = makeGoal({ id: "leaf", parent_id: "mid", status: "completed" });
|
|
645
|
-
const mid = makeGoal({
|
|
646
|
-
id: "mid",
|
|
647
|
-
parent_id: "root",
|
|
648
|
-
children_ids: ["leaf"],
|
|
649
|
-
status: "active",
|
|
650
|
-
});
|
|
651
|
-
const root = makeGoal({ id: "root", children_ids: ["mid"] });
|
|
652
|
-
await stateManager.saveGoal(leaf);
|
|
653
|
-
await stateManager.saveGoal(mid);
|
|
654
|
-
await stateManager.saveGoal(root);
|
|
655
|
-
// After leaf completes, mid becomes eligible, then root
|
|
656
|
-
const result = await aggregator.checkCompletionCascade("leaf");
|
|
657
|
-
expect(result).toContain("mid");
|
|
658
|
-
expect(result).toContain("root");
|
|
659
|
-
});
|
|
660
|
-
it("stops cascade when a sibling at higher level is active", async () => {
|
|
661
|
-
// root has two children: mid (all children done) and blocker (active)
|
|
662
|
-
const leaf = makeGoal({ id: "leaf", parent_id: "mid", status: "completed" });
|
|
663
|
-
const mid = makeGoal({
|
|
664
|
-
id: "mid",
|
|
665
|
-
parent_id: "root",
|
|
666
|
-
children_ids: ["leaf"],
|
|
667
|
-
status: "active",
|
|
668
|
-
});
|
|
669
|
-
const blocker = makeGoal({ id: "blocker", parent_id: "root", status: "active" });
|
|
670
|
-
const root = makeGoal({ id: "root", children_ids: ["mid", "blocker"] });
|
|
671
|
-
await stateManager.saveGoal(leaf);
|
|
672
|
-
await stateManager.saveGoal(mid);
|
|
673
|
-
await stateManager.saveGoal(blocker);
|
|
674
|
-
await stateManager.saveGoal(root);
|
|
675
|
-
const result = await aggregator.checkCompletionCascade("leaf");
|
|
676
|
-
expect(result).toContain("mid");
|
|
677
|
-
expect(result).not.toContain("root");
|
|
678
|
-
});
|
|
679
|
-
it("cancelled child (merged) counts as done for cascade", async () => {
|
|
680
|
-
const c1 = makeGoal({ id: "c1", parent_id: "parent", status: "completed" });
|
|
681
|
-
const c2 = makeGoal({ id: "c2", parent_id: "parent", status: "cancelled" }); // merged/pruned
|
|
682
|
-
const parent = makeGoal({ id: "parent", children_ids: ["c1", "c2"] });
|
|
683
|
-
await stateManager.saveGoal(c1);
|
|
684
|
-
await stateManager.saveGoal(c2);
|
|
685
|
-
await stateManager.saveGoal(parent);
|
|
686
|
-
const result = await aggregator.checkCompletionCascade("c1");
|
|
687
|
-
expect(result).toContain("parent");
|
|
688
|
-
});
|
|
689
|
-
it("root goal becomes eligible when its only child completes", async () => {
|
|
690
|
-
const child = makeGoal({ id: "child", parent_id: "root-goal", status: "completed" });
|
|
691
|
-
const root = makeGoal({ id: "root-goal", parent_id: null, children_ids: ["child"] });
|
|
692
|
-
await stateManager.saveGoal(child);
|
|
693
|
-
await stateManager.saveGoal(root);
|
|
694
|
-
const result = await aggregator.checkCompletionCascade("child");
|
|
695
|
-
// root-goal becomes completable because its only child is done
|
|
696
|
-
expect(result).toContain("root-goal");
|
|
697
|
-
});
|
|
698
|
-
it("returns empty for a goal with no parent", async () => {
|
|
699
|
-
const standalone = makeGoal({ id: "standalone", parent_id: null });
|
|
700
|
-
await stateManager.saveGoal(standalone);
|
|
701
|
-
const result = await aggregator.checkCompletionCascade("standalone");
|
|
702
|
-
expect(result).toEqual([]);
|
|
703
|
-
});
|
|
704
|
-
it("result is ordered bottom-up (closest ancestor first)", async () => {
|
|
705
|
-
const l1 = makeGoal({ id: "l1", parent_id: "l2", status: "completed" });
|
|
706
|
-
const l2 = makeGoal({ id: "l2", parent_id: "l3", children_ids: ["l1"], status: "active" });
|
|
707
|
-
const l3 = makeGoal({ id: "l3", parent_id: null, children_ids: ["l2"] });
|
|
708
|
-
await stateManager.saveGoal(l1);
|
|
709
|
-
await stateManager.saveGoal(l2);
|
|
710
|
-
await stateManager.saveGoal(l3);
|
|
711
|
-
const result = await aggregator.checkCompletionCascade("l1");
|
|
712
|
-
expect(result[0]).toBe("l2");
|
|
713
|
-
expect(result[1]).toBe("l3");
|
|
714
|
-
});
|
|
715
|
-
});
|
|
716
|
-
// ═══════════════════════════════════════════════════════════════════════════
|
|
717
|
-
// 9. 3+ layer nesting
|
|
718
|
-
// ═══════════════════════════════════════════════════════════════════════════
|
|
719
|
-
describe("3+ layer nesting", async () => {
|
|
720
|
-
it("deep tree aggregation uses correct child gaps at each level", async () => {
|
|
721
|
-
// root → mid → leaf
|
|
722
|
-
const leaf = makeGoal({
|
|
723
|
-
id: "leaf",
|
|
724
|
-
parent_id: "mid",
|
|
725
|
-
dimensions: [makeDimension({ current_value: 0 })], // gap 1.0
|
|
726
|
-
});
|
|
727
|
-
const mid = makeGoal({
|
|
728
|
-
id: "mid",
|
|
729
|
-
parent_id: "root",
|
|
730
|
-
children_ids: ["leaf"],
|
|
731
|
-
});
|
|
732
|
-
const root = makeGoal({
|
|
733
|
-
id: "root",
|
|
734
|
-
children_ids: ["mid"],
|
|
735
|
-
});
|
|
736
|
-
await stateManager.saveGoal(leaf);
|
|
737
|
-
await stateManager.saveGoal(mid);
|
|
738
|
-
await stateManager.saveGoal(root);
|
|
739
|
-
// Aggregate mid (its child is leaf with gap 1.0)
|
|
740
|
-
const midResult = await aggregator.aggregateChildStates("mid");
|
|
741
|
-
expect(midResult.aggregated_gap).toBeCloseTo(1.0, 5);
|
|
742
|
-
expect(midResult.child_gaps["leaf"]).toBeCloseTo(1.0, 5);
|
|
743
|
-
});
|
|
744
|
-
it("3-level cascade completes all the way to the root", async () => {
|
|
745
|
-
const l1 = makeGoal({ id: "l1", parent_id: "l2", status: "completed" });
|
|
746
|
-
const l2 = makeGoal({ id: "l2", parent_id: "l3", children_ids: ["l1"] });
|
|
747
|
-
const l3 = makeGoal({ id: "l3", parent_id: "l4", children_ids: ["l2"] });
|
|
748
|
-
const l4 = makeGoal({ id: "l4", parent_id: null, children_ids: ["l3"] });
|
|
749
|
-
await stateManager.saveGoal(l1);
|
|
750
|
-
await stateManager.saveGoal(l2);
|
|
751
|
-
await stateManager.saveGoal(l3);
|
|
752
|
-
await stateManager.saveGoal(l4);
|
|
753
|
-
const result = await aggregator.checkCompletionCascade("l1");
|
|
754
|
-
expect(result).toContain("l2");
|
|
755
|
-
expect(result).toContain("l3");
|
|
756
|
-
// l4 is root — it also becomes completable since all its children are done
|
|
757
|
-
expect(result).toContain("l4");
|
|
758
|
-
});
|
|
759
|
-
it("mid-level partial completion blocks grandparent cascade", async () => {
|
|
760
|
-
const l1a = makeGoal({ id: "l1a", parent_id: "l2", status: "completed" });
|
|
761
|
-
const l1b = makeGoal({ id: "l1b", parent_id: "l2", status: "active" }); // blocker
|
|
762
|
-
const l2 = makeGoal({ id: "l2", parent_id: "l3", children_ids: ["l1a", "l1b"] });
|
|
763
|
-
const l3 = makeGoal({ id: "l3", parent_id: null, children_ids: ["l2"] });
|
|
764
|
-
await stateManager.saveGoal(l1a);
|
|
765
|
-
await stateManager.saveGoal(l1b);
|
|
766
|
-
await stateManager.saveGoal(l2);
|
|
767
|
-
await stateManager.saveGoal(l3);
|
|
768
|
-
const result = await aggregator.checkCompletionCascade("l1a");
|
|
769
|
-
expect(result).not.toContain("l2");
|
|
770
|
-
expect(result).not.toContain("l3");
|
|
771
|
-
});
|
|
772
|
-
it("aggregation of a mid node includes only its direct children", async () => {
|
|
773
|
-
// root → mid → [leaf-a, leaf-b]
|
|
774
|
-
const leafA = makeGoal({
|
|
775
|
-
id: "leaf-a",
|
|
776
|
-
parent_id: "mid",
|
|
777
|
-
dimensions: [makeDimension({ current_value: 100 })], // gap 0
|
|
778
|
-
});
|
|
779
|
-
const leafB = makeGoal({
|
|
780
|
-
id: "leaf-b",
|
|
781
|
-
parent_id: "mid",
|
|
782
|
-
dimensions: [makeDimension({ current_value: 50 })], // gap 0.5
|
|
783
|
-
});
|
|
784
|
-
const mid = makeGoal({
|
|
785
|
-
id: "mid",
|
|
786
|
-
parent_id: "root",
|
|
787
|
-
children_ids: ["leaf-a", "leaf-b"],
|
|
788
|
-
});
|
|
789
|
-
const root = makeGoal({ id: "root", children_ids: ["mid"] });
|
|
790
|
-
await stateManager.saveGoal(leafA);
|
|
791
|
-
await stateManager.saveGoal(leafB);
|
|
792
|
-
await stateManager.saveGoal(mid);
|
|
793
|
-
await stateManager.saveGoal(root);
|
|
794
|
-
const midResult = await aggregator.aggregateChildStates("mid");
|
|
795
|
-
expect(midResult.child_gaps).toHaveProperty("leaf-a");
|
|
796
|
-
expect(midResult.child_gaps).toHaveProperty("leaf-b");
|
|
797
|
-
expect(midResult.child_gaps).not.toHaveProperty("root");
|
|
798
|
-
// default "min": picks smaller gap (leaf-a = 0)
|
|
799
|
-
expect(midResult.aggregated_gap).toBeCloseTo(0, 5);
|
|
800
|
-
});
|
|
801
|
-
});
|
|
802
|
-
// ═══════════════════════════════════════════════════════════════════════════
|
|
803
|
-
// 10. Edge cases
|
|
804
|
-
// ═══════════════════════════════════════════════════════════════════════════
|
|
805
|
-
describe("edge cases", async () => {
|
|
806
|
-
it("parent with no children returns gap 0 and confidence 1.0", async () => {
|
|
807
|
-
const parent = makeGoal({ id: "no-kids", children_ids: [] });
|
|
808
|
-
await stateManager.saveGoal(parent);
|
|
809
|
-
const result = await aggregator.aggregateChildStates("no-kids");
|
|
810
|
-
expect(result.aggregated_gap).toBe(0);
|
|
811
|
-
expect(result.aggregated_confidence).toBe(1.0);
|
|
812
|
-
});
|
|
813
|
-
it("single child result mirrors that child's gap", async () => {
|
|
814
|
-
await buildTree(1, [{ dimensions: [makeDimension({ current_value: 75 })] }]);
|
|
815
|
-
const result = await aggregator.aggregateChildStates("parent");
|
|
816
|
-
expect(result.aggregated_gap).toBeCloseTo(0.25, 2);
|
|
817
|
-
});
|
|
818
|
-
it("missing child contributes gap 1.0 and confidence 0", async () => {
|
|
819
|
-
const parent = makeGoal({
|
|
820
|
-
id: "parent-ghost",
|
|
821
|
-
children_ids: ["ghost"],
|
|
822
|
-
});
|
|
823
|
-
await stateManager.saveGoal(parent);
|
|
824
|
-
const result = await aggregator.aggregateChildStates("parent-ghost");
|
|
825
|
-
expect(result.child_gaps["ghost"]).toBe(1.0);
|
|
826
|
-
expect(result.aggregated_confidence).toBe(0);
|
|
827
|
-
});
|
|
828
|
-
it("throws when parent not found in aggregateChildStates", async () => {
|
|
829
|
-
await expect(aggregator.aggregateChildStates("no-such-parent")).rejects.toThrow(/not found/);
|
|
830
|
-
});
|
|
831
|
-
it("throws when parent not found in propagateStateDown", async () => {
|
|
832
|
-
await expect(aggregator.propagateStateDown("no-such-parent")).rejects.toThrow(/not found/);
|
|
833
|
-
});
|
|
834
|
-
it("goal with empty dimensions has gap 0", async () => {
|
|
835
|
-
await buildTree(1, [{ dimensions: [] }]);
|
|
836
|
-
const result = await aggregator.aggregateChildStates("parent");
|
|
837
|
-
expect(result.aggregated_gap).toBe(0);
|
|
838
|
-
});
|
|
839
|
-
});
|
|
840
|
-
//# sourceMappingURL=state-aggregator.test.js.map
|