create-principles-disciple 1.0.0 → 1.74.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +109 -7
- package/console/dist/lib/utils.d.ts +2 -0
- package/console/dist/lib/utils.js +5 -0
- package/console/dist/server/config/AuthConfig.d.ts +14 -0
- package/console/dist/server/config/AuthConfig.js +36 -0
- package/console/dist/server/config/WorkspaceConfigStore.d.ts +15 -0
- package/console/dist/server/config/WorkspaceConfigStore.js +100 -0
- package/console/dist/server/index.d.ts +1 -0
- package/console/dist/server/index.js +734 -0
- package/console/dist/server/models/ApprovalsConsoleModel.d.ts +48 -0
- package/console/dist/server/models/ApprovalsConsoleModel.js +208 -0
- package/console/dist/server/models/EventLogReadModel.d.ts +33 -0
- package/console/dist/server/models/EventLogReadModel.js +218 -0
- package/console/dist/server/models/EvolutionConsoleModel.d.ts +79 -0
- package/console/dist/server/models/EvolutionConsoleModel.js +179 -0
- package/console/dist/server/models/FeedbackConsoleModel.d.ts +38 -0
- package/console/dist/server/models/FeedbackConsoleModel.js +129 -0
- package/console/dist/server/models/GateConsoleModel.d.ts +50 -0
- package/console/dist/server/models/GateConsoleModel.js +151 -0
- package/console/dist/server/models/HealthCheckModel.d.ts +43 -0
- package/console/dist/server/models/HealthCheckModel.js +341 -0
- package/console/dist/server/models/OverviewConsoleModel.d.ts +22 -0
- package/console/dist/server/models/OverviewConsoleModel.js +202 -0
- package/console/dist/server/models/PipelineStatsModel.d.ts +35 -0
- package/console/dist/server/models/PipelineStatsModel.js +129 -0
- package/console/dist/server/models/PrinciplesConsoleModel.d.ts +69 -0
- package/console/dist/server/models/PrinciplesConsoleModel.js +200 -0
- package/console/dist/server/models/SampleConsoleModel.d.ts +21 -0
- package/console/dist/server/models/SampleConsoleModel.js +188 -0
- package/console/dist/server/models/ThinkingModelsConsoleModel.d.ts +22 -0
- package/console/dist/server/models/ThinkingModelsConsoleModel.js +75 -0
- package/console/dist/server/models/WorkspaceService.d.ts +34 -0
- package/console/dist/server/models/WorkspaceService.js +105 -0
- package/console/dist/server/routes/agents.d.ts +3 -0
- package/console/dist/server/routes/agents.js +442 -0
- package/console/dist/server/routes/approvals.d.ts +3 -0
- package/console/dist/server/routes/approvals.js +184 -0
- package/console/dist/server/routes/central.d.ts +5 -0
- package/console/dist/server/routes/central.js +31 -0
- package/console/dist/server/routes/events.d.ts +10 -0
- package/console/dist/server/routes/events.js +99 -0
- package/console/dist/server/routes/evolution.d.ts +3 -0
- package/console/dist/server/routes/evolution.js +73 -0
- package/console/dist/server/routes/feedback.d.ts +3 -0
- package/console/dist/server/routes/feedback.js +65 -0
- package/console/dist/server/routes/gates.d.ts +3 -0
- package/console/dist/server/routes/gates.js +52 -0
- package/console/dist/server/routes/health.d.ts +3 -0
- package/console/dist/server/routes/health.js +33 -0
- package/console/dist/server/routes/overview.d.ts +3 -0
- package/console/dist/server/routes/overview.js +49 -0
- package/console/dist/server/routes/pipeline.d.ts +3 -0
- package/console/dist/server/routes/pipeline.js +33 -0
- package/console/dist/server/routes/principles.d.ts +10 -0
- package/console/dist/server/routes/principles.js +48 -0
- package/console/dist/server/routes/samples.d.ts +3 -0
- package/console/dist/server/routes/samples.js +101 -0
- package/console/dist/server/routes/state.d.ts +11 -0
- package/console/dist/server/routes/state.js +97 -0
- package/console/dist/server/routes/thinking-models.d.ts +3 -0
- package/console/dist/server/routes/thinking-models.js +54 -0
- package/console/dist/server/routes/update-history.d.ts +12 -0
- package/console/dist/server/routes/update-history.js +52 -0
- package/console/dist/server/routes/update.d.ts +10 -0
- package/console/dist/server/routes/update.js +435 -0
- package/console/dist/server/routes/workspaces.d.ts +6 -0
- package/console/dist/server/routes/workspaces.js +105 -0
- package/console/dist/server/types/index.d.ts +248 -0
- package/console/dist/server/types/index.js +1 -0
- package/console/dist/server/utils/diagnostic-parser.d.ts +6 -0
- package/console/dist/server/utils/diagnostic-parser.js +81 -0
- package/console/dist/server/utils/request.d.ts +4 -0
- package/console/dist/server/utils/request.js +43 -0
- package/console/dist/server/utils/response.d.ts +8 -0
- package/console/dist/server/utils/response.js +31 -0
- package/console/dist/server.d.ts +1 -0
- package/console/dist/server.js +1 -0
- package/console/dist/types.d.ts +85 -0
- package/console/dist/types.js +1 -0
- package/console/dist/ui/App.d.ts +1 -0
- package/console/dist/ui/App.js +53 -0
- package/console/dist/ui/api.d.ts +498 -0
- package/console/dist/ui/api.js +243 -0
- package/console/dist/ui/components/UpdateBanner.d.ts +1 -0
- package/console/dist/ui/components/UpdateBanner.js +41 -0
- package/console/dist/ui/components/UpdateProgressDialog.d.ts +12 -0
- package/console/dist/ui/components/UpdateProgressDialog.js +28 -0
- package/console/dist/ui/components/app-sidebar.d.ts +7 -0
- package/console/dist/ui/components/app-sidebar.js +74 -0
- package/console/dist/ui/components/approval-card.d.ts +8 -0
- package/console/dist/ui/components/approval-card.js +39 -0
- package/console/dist/ui/components/approval-detail-dialog.d.ts +9 -0
- package/console/dist/ui/components/approval-detail-dialog.js +20 -0
- package/console/dist/ui/components/compare-view.d.ts +7 -0
- package/console/dist/ui/components/compare-view.js +32 -0
- package/console/dist/ui/components/data-freshness-indicator.d.ts +10 -0
- package/console/dist/ui/components/data-freshness-indicator.js +63 -0
- package/console/dist/ui/components/error-boundary.d.ts +15 -0
- package/console/dist/ui/components/error-boundary.js +23 -0
- package/console/dist/ui/components/health-diagnostic-card.d.ts +15 -0
- package/console/dist/ui/components/health-diagnostic-card.js +42 -0
- package/console/dist/ui/components/language-switcher.d.ts +1 -0
- package/console/dist/ui/components/language-switcher.js +17 -0
- package/console/dist/ui/components/page-header.d.ts +10 -0
- package/console/dist/ui/components/page-header.js +37 -0
- package/console/dist/ui/components/rejection-reason-dialog.d.ts +6 -0
- package/console/dist/ui/components/rejection-reason-dialog.js +23 -0
- package/console/dist/ui/components/theme-provider.d.ts +14 -0
- package/console/dist/ui/components/theme-provider.js +35 -0
- package/console/dist/ui/components/theme-toggle.d.ts +1 -0
- package/console/dist/ui/components/theme-toggle.js +30 -0
- package/console/dist/ui/components/ui/alert-dialog.d.ts +20 -0
- package/console/dist/ui/components/ui/alert-dialog.js +26 -0
- package/console/dist/ui/components/ui/badge.d.ts +9 -0
- package/console/dist/ui/components/ui/badge.js +20 -0
- package/console/dist/ui/components/ui/button.d.ts +11 -0
- package/console/dist/ui/components/ui/button.js +33 -0
- package/console/dist/ui/components/ui/card.d.ts +8 -0
- package/console/dist/ui/components/ui/card.js +16 -0
- package/console/dist/ui/components/ui/charts.d.ts +51 -0
- package/console/dist/ui/components/ui/charts.js +69 -0
- package/console/dist/ui/components/ui/dialog.d.ts +19 -0
- package/console/dist/ui/components/ui/dialog.js +22 -0
- package/console/dist/ui/components/ui/input.d.ts +3 -0
- package/console/dist/ui/components/ui/input.js +8 -0
- package/console/dist/ui/components/ui/markdown.d.ts +24 -0
- package/console/dist/ui/components/ui/markdown.js +115 -0
- package/console/dist/ui/components/ui/progress-bar.d.ts +20 -0
- package/console/dist/ui/components/ui/progress-bar.js +38 -0
- package/console/dist/ui/components/ui/select.d.ts +13 -0
- package/console/dist/ui/components/ui/select.js +26 -0
- package/console/dist/ui/components/ui/separator.d.ts +3 -0
- package/console/dist/ui/components/ui/separator.js +6 -0
- package/console/dist/ui/components/ui/sheet.d.ts +25 -0
- package/console/dist/ui/components/ui/sheet.js +36 -0
- package/console/dist/ui/components/ui/skeleton.d.ts +3 -0
- package/console/dist/ui/components/ui/skeleton.js +6 -0
- package/console/dist/ui/components/ui/sonner.d.ts +3 -0
- package/console/dist/ui/components/ui/sonner.js +13 -0
- package/console/dist/ui/components/ui/tooltip.d.ts +7 -0
- package/console/dist/ui/components/ui/tooltip.js +10 -0
- package/console/dist/ui/hooks/useAutoRefresh.d.ts +13 -0
- package/console/dist/ui/hooks/useAutoRefresh.js +64 -0
- package/console/dist/ui/hooks/useBookmarks.d.ts +6 -0
- package/console/dist/ui/hooks/useBookmarks.js +43 -0
- package/console/dist/ui/hooks/useDebounce.d.ts +2 -0
- package/console/dist/ui/hooks/useDebounce.js +32 -0
- package/console/dist/ui/hooks/useKeyboardNavigation.d.ts +14 -0
- package/console/dist/ui/hooks/useKeyboardNavigation.js +75 -0
- package/console/dist/ui/i18n/en.json +530 -0
- package/console/dist/ui/i18n/index.d.ts +2 -0
- package/console/dist/ui/i18n/index.js +21 -0
- package/console/dist/ui/i18n/zh-CN.json +530 -0
- package/console/dist/ui/main.d.ts +1 -0
- package/console/dist/ui/main.js +8 -0
- package/console/dist/ui/pages/AgentsPage.d.ts +1 -0
- package/console/dist/ui/pages/AgentsPage.js +167 -0
- package/console/dist/ui/pages/ApprovalsPage.d.ts +1 -0
- package/console/dist/ui/pages/ApprovalsPage.js +123 -0
- package/console/dist/ui/pages/CentralPage.d.ts +1 -0
- package/console/dist/ui/pages/CentralPage.js +57 -0
- package/console/dist/ui/pages/DataFlowPage.d.ts +1 -0
- package/console/dist/ui/pages/DataFlowPage.js +158 -0
- package/console/dist/ui/pages/EventLogPage.d.ts +1 -0
- package/console/dist/ui/pages/EventLogPage.js +176 -0
- package/console/dist/ui/pages/EvolutionPage.d.ts +1 -0
- package/console/dist/ui/pages/EvolutionPage.js +118 -0
- package/console/dist/ui/pages/FeedbackPage.d.ts +1 -0
- package/console/dist/ui/pages/FeedbackPage.js +46 -0
- package/console/dist/ui/pages/GatesPage.d.ts +1 -0
- package/console/dist/ui/pages/GatesPage.js +31 -0
- package/console/dist/ui/pages/LoginPage.d.ts +5 -0
- package/console/dist/ui/pages/LoginPage.js +39 -0
- package/console/dist/ui/pages/OverviewPage.d.ts +1 -0
- package/console/dist/ui/pages/OverviewPage.js +50 -0
- package/console/dist/ui/pages/PainPage.d.ts +1 -0
- package/console/dist/ui/pages/PainPage.js +50 -0
- package/console/dist/ui/pages/PrincipleDetailPage.d.ts +1 -0
- package/console/dist/ui/pages/PrincipleDetailPage.js +145 -0
- package/console/dist/ui/pages/PrinciplesPage.d.ts +1 -0
- package/console/dist/ui/pages/PrinciplesPage.js +322 -0
- package/console/dist/ui/pages/SamplesPage.d.ts +1 -0
- package/console/dist/ui/pages/SamplesPage.js +105 -0
- package/console/dist/ui/pages/SettingsPage.d.ts +1 -0
- package/console/dist/ui/pages/SettingsPage.js +86 -0
- package/console/dist/ui/pages/TasksPage.d.ts +1 -0
- package/console/dist/ui/pages/TasksPage.js +373 -0
- package/console/dist/ui/pages/ThinkingModelsPage.d.ts +1 -0
- package/console/dist/ui/pages/ThinkingModelsPage.js +32 -0
- package/console/dist/ui/pages/UpdatePage.d.ts +1 -0
- package/console/dist/ui/pages/UpdatePage.js +142 -0
- package/console/dist/ui/utils/format.d.ts +3 -0
- package/console/dist/ui/utils/format.js +20 -0
- package/console/dist/ui/utils/navigation.d.ts +9 -0
- package/console/dist/ui/utils/navigation.js +7 -0
- package/console/dist/web/assets/app.css +2828 -0
- package/console/dist/web/assets/app.js +46353 -0
- package/console/dist/web/index.html +13 -0
- package/console/package.json +53 -0
- package/core/dist/adapters/code-review/code-review-pain-adapter.d.ts +13 -0
- package/core/dist/adapters/code-review/code-review-pain-adapter.d.ts.map +1 -0
- package/core/dist/adapters/code-review/code-review-pain-adapter.js +139 -0
- package/core/dist/adapters/code-review/code-review-pain-adapter.js.map +1 -0
- package/core/dist/adapters/code-review/index.d.ts +6 -0
- package/core/dist/adapters/code-review/index.d.ts.map +1 -0
- package/core/dist/adapters/code-review/index.js +2 -0
- package/core/dist/adapters/code-review/index.js.map +1 -0
- package/core/dist/adapters/code-review/review-event-types.d.ts +54 -0
- package/core/dist/adapters/code-review/review-event-types.d.ts.map +1 -0
- package/core/dist/adapters/code-review/review-event-types.js +8 -0
- package/core/dist/adapters/code-review/review-event-types.js.map +1 -0
- package/core/dist/adapters/coding/index.d.ts +6 -0
- package/core/dist/adapters/coding/index.d.ts.map +1 -0
- package/core/dist/adapters/coding/index.js +5 -0
- package/core/dist/adapters/coding/index.js.map +1 -0
- package/core/dist/adapters/coding/openclaw-event-types.d.ts +26 -0
- package/core/dist/adapters/coding/openclaw-event-types.d.ts.map +1 -0
- package/core/dist/adapters/coding/openclaw-event-types.js +9 -0
- package/core/dist/adapters/coding/openclaw-event-types.js.map +1 -0
- package/core/dist/adapters/coding/openclaw-pain-adapter.d.ts +27 -0
- package/core/dist/adapters/coding/openclaw-pain-adapter.d.ts.map +1 -0
- package/core/dist/adapters/coding/openclaw-pain-adapter.js +102 -0
- package/core/dist/adapters/coding/openclaw-pain-adapter.js.map +1 -0
- package/core/dist/adapters/writing/index.d.ts +6 -0
- package/core/dist/adapters/writing/index.d.ts.map +1 -0
- package/core/dist/adapters/writing/index.js +5 -0
- package/core/dist/adapters/writing/index.js.map +1 -0
- package/core/dist/adapters/writing/writing-pain-adapter.d.ts +22 -0
- package/core/dist/adapters/writing/writing-pain-adapter.d.ts.map +1 -0
- package/core/dist/adapters/writing/writing-pain-adapter.js +62 -0
- package/core/dist/adapters/writing/writing-pain-adapter.js.map +1 -0
- package/core/dist/adapters/writing/writing-types.d.ts +34 -0
- package/core/dist/adapters/writing/writing-types.d.ts.map +1 -0
- package/core/dist/adapters/writing/writing-types.js +9 -0
- package/core/dist/adapters/writing/writing-types.js.map +1 -0
- package/core/dist/evolution-hook.d.ts +70 -0
- package/core/dist/evolution-hook.d.ts.map +1 -0
- package/core/dist/evolution-hook.js +10 -0
- package/core/dist/evolution-hook.js.map +1 -0
- package/core/dist/evolution-store.d.ts +56 -0
- package/core/dist/evolution-store.d.ts.map +1 -0
- package/core/dist/evolution-store.js +150 -0
- package/core/dist/evolution-store.js.map +1 -0
- package/core/dist/index.d.ts +62 -0
- package/core/dist/index.d.ts.map +1 -0
- package/core/dist/index.js +64 -0
- package/core/dist/index.js.map +1 -0
- package/core/dist/io.d.ts +36 -0
- package/core/dist/io.d.ts.map +1 -0
- package/core/dist/io.js +99 -0
- package/core/dist/io.js.map +1 -0
- package/core/dist/pain-flag-resolver.d.ts +18 -0
- package/core/dist/pain-flag-resolver.d.ts.map +1 -0
- package/core/dist/pain-flag-resolver.js +21 -0
- package/core/dist/pain-flag-resolver.js.map +1 -0
- package/core/dist/pain-recorder.d.ts +38 -0
- package/core/dist/pain-recorder.d.ts.map +1 -0
- package/core/dist/pain-recorder.js +62 -0
- package/core/dist/pain-recorder.js.map +1 -0
- package/core/dist/pain-signal-adapter.d.ts +37 -0
- package/core/dist/pain-signal-adapter.d.ts.map +1 -0
- package/core/dist/pain-signal-adapter.js +2 -0
- package/core/dist/pain-signal-adapter.js.map +1 -0
- package/core/dist/pain-signal.d.ts +76 -0
- package/core/dist/pain-signal.d.ts.map +1 -0
- package/core/dist/pain-signal.js +125 -0
- package/core/dist/pain-signal.js.map +1 -0
- package/core/dist/principle-injector.d.ts +67 -0
- package/core/dist/principle-injector.d.ts.map +1 -0
- package/core/dist/principle-injector.js +89 -0
- package/core/dist/principle-injector.js.map +1 -0
- package/core/dist/principle-tree-ledger.d.ts +106 -0
- package/core/dist/principle-tree-ledger.d.ts.map +1 -0
- package/core/dist/principle-tree-ledger.js +254 -0
- package/core/dist/principle-tree-ledger.js.map +1 -0
- package/core/dist/prompt-builder/__tests__/empathy-keyword-matching.test.d.ts +2 -0
- package/core/dist/prompt-builder/__tests__/empathy-keyword-matching.test.d.ts.map +1 -0
- package/core/dist/prompt-builder/__tests__/empathy-keyword-matching.test.js +380 -0
- package/core/dist/prompt-builder/__tests__/empathy-keyword-matching.test.js.map +1 -0
- package/core/dist/prompt-builder/__tests__/focus-compression.test.d.ts +2 -0
- package/core/dist/prompt-builder/__tests__/focus-compression.test.d.ts.map +1 -0
- package/core/dist/prompt-builder/__tests__/focus-compression.test.js +265 -0
- package/core/dist/prompt-builder/__tests__/focus-compression.test.js.map +1 -0
- package/core/dist/prompt-builder/__tests__/principle-selection.test.d.ts +7 -0
- package/core/dist/prompt-builder/__tests__/principle-selection.test.d.ts.map +1 -0
- package/core/dist/prompt-builder/__tests__/principle-selection.test.js +214 -0
- package/core/dist/prompt-builder/__tests__/principle-selection.test.js.map +1 -0
- package/core/dist/prompt-builder/__tests__/prompt-builder-core.test.d.ts +7 -0
- package/core/dist/prompt-builder/__tests__/prompt-builder-core.test.d.ts.map +1 -0
- package/core/dist/prompt-builder/__tests__/prompt-builder-core.test.js +283 -0
- package/core/dist/prompt-builder/__tests__/prompt-builder-core.test.js.map +1 -0
- package/core/dist/prompt-builder/__tests__/routing-guidance.test.d.ts +11 -0
- package/core/dist/prompt-builder/__tests__/routing-guidance.test.d.ts.map +1 -0
- package/core/dist/prompt-builder/__tests__/routing-guidance.test.js +305 -0
- package/core/dist/prompt-builder/__tests__/routing-guidance.test.js.map +1 -0
- package/core/dist/prompt-builder/attitude-directive.d.ts +7 -0
- package/core/dist/prompt-builder/attitude-directive.d.ts.map +1 -0
- package/core/dist/prompt-builder/attitude-directive.js +39 -0
- package/core/dist/prompt-builder/attitude-directive.js.map +1 -0
- package/core/dist/prompt-builder/correction-cue.d.ts +15 -0
- package/core/dist/prompt-builder/correction-cue.d.ts.map +1 -0
- package/core/dist/prompt-builder/correction-cue.js +39 -0
- package/core/dist/prompt-builder/correction-cue.js.map +1 -0
- package/core/dist/prompt-builder/empathy-keyword-matching.d.ts +30 -0
- package/core/dist/prompt-builder/empathy-keyword-matching.d.ts.map +1 -0
- package/core/dist/prompt-builder/empathy-keyword-matching.js +142 -0
- package/core/dist/prompt-builder/empathy-keyword-matching.js.map +1 -0
- package/core/dist/prompt-builder/empathy-types.d.ts +62 -0
- package/core/dist/prompt-builder/empathy-types.d.ts.map +1 -0
- package/core/dist/prompt-builder/empathy-types.js +88 -0
- package/core/dist/prompt-builder/empathy-types.js.map +1 -0
- package/core/dist/prompt-builder/focus-compression.d.ts +63 -0
- package/core/dist/prompt-builder/focus-compression.d.ts.map +1 -0
- package/core/dist/prompt-builder/focus-compression.js +448 -0
- package/core/dist/prompt-builder/focus-compression.js.map +1 -0
- package/core/dist/prompt-builder/index.d.ts +29 -0
- package/core/dist/prompt-builder/index.d.ts.map +1 -0
- package/core/dist/prompt-builder/index.js +27 -0
- package/core/dist/prompt-builder/index.js.map +1 -0
- package/core/dist/prompt-builder/message-extraction.d.ts +7 -0
- package/core/dist/prompt-builder/message-extraction.d.ts.map +1 -0
- package/core/dist/prompt-builder/message-extraction.js +23 -0
- package/core/dist/prompt-builder/message-extraction.js.map +1 -0
- package/core/dist/prompt-builder/minimal-trigger.d.ts +7 -0
- package/core/dist/prompt-builder/minimal-trigger.d.ts.map +1 -0
- package/core/dist/prompt-builder/minimal-trigger.js +11 -0
- package/core/dist/prompt-builder/minimal-trigger.js.map +1 -0
- package/core/dist/prompt-builder/principle-selection.d.ts +68 -0
- package/core/dist/prompt-builder/principle-selection.d.ts.map +1 -0
- package/core/dist/prompt-builder/principle-selection.js +140 -0
- package/core/dist/prompt-builder/principle-selection.js.map +1 -0
- package/core/dist/prompt-builder/routing-guidance.d.ts +64 -0
- package/core/dist/prompt-builder/routing-guidance.d.ts.map +1 -0
- package/core/dist/prompt-builder/routing-guidance.js +227 -0
- package/core/dist/prompt-builder/routing-guidance.js.map +1 -0
- package/core/dist/prompt-builder/size-guard.d.ts +35 -0
- package/core/dist/prompt-builder/size-guard.d.ts.map +1 -0
- package/core/dist/prompt-builder/size-guard.js +144 -0
- package/core/dist/prompt-builder/size-guard.js.map +1 -0
- package/core/dist/prompt-builder/types.d.ts +28 -0
- package/core/dist/prompt-builder/types.d.ts.map +1 -0
- package/core/dist/prompt-builder/types.js +7 -0
- package/core/dist/prompt-builder/types.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/admission-gate.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/admission-gate.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/admission-gate.test.js +126 -0
- package/core/dist/runtime-v2/__tests__/admission-gate.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/architecture-regression.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/architecture-regression.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/architecture-regression.test.js +2990 -0
- package/core/dist/runtime-v2/__tests__/architecture-regression.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/artificer-runner-vslice.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/artificer-runner-vslice.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/artificer-runner-vslice.test.js +608 -0
- package/core/dist/runtime-v2/__tests__/artificer-runner-vslice.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/attack-e2e-pipeline-smoke.test.d.ts +20 -0
- package/core/dist/runtime-v2/__tests__/attack-e2e-pipeline-smoke.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/attack-e2e-pipeline-smoke.test.js +473 -0
- package/core/dist/runtime-v2/__tests__/attack-e2e-pipeline-smoke.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/candidate-audit.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/candidate-audit.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/candidate-audit.test.js +100 -0
- package/core/dist/runtime-v2/__tests__/candidate-audit.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/chain-integrity-attack.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/chain-integrity-attack.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/chain-integrity-attack.test.js +276 -0
- package/core/dist/runtime-v2/__tests__/chain-integrity-attack.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/chain-integrity-real-path.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/chain-integrity-real-path.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/chain-integrity-real-path.test.js +561 -0
- package/core/dist/runtime-v2/__tests__/chain-integrity-real-path.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/control-plane-triage.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/control-plane-triage.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/control-plane-triage.test.js +107 -0
- package/core/dist/runtime-v2/__tests__/control-plane-triage.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/correction-proposal.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/correction-proposal.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/correction-proposal.test.js +486 -0
- package/core/dist/runtime-v2/__tests__/correction-proposal.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/dreamer-output-validator.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/dreamer-output-validator.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/dreamer-output-validator.test.js +171 -0
- package/core/dist/runtime-v2/__tests__/dreamer-output-validator.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/dreamer-runner-real-llm.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/dreamer-runner-real-llm.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/dreamer-runner-real-llm.test.js +155 -0
- package/core/dist/runtime-v2/__tests__/dreamer-runner-real-llm.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/dreamer-runner-vslice.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/dreamer-runner-vslice.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/dreamer-runner-vslice.test.js +515 -0
- package/core/dist/runtime-v2/__tests__/dreamer-runner-vslice.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/dreamer-runner.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/dreamer-runner.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/dreamer-runner.test.js +348 -0
- package/core/dist/runtime-v2/__tests__/dreamer-runner.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/error-categories.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/error-categories.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/error-categories.test.js +149 -0
- package/core/dist/runtime-v2/__tests__/error-categories.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/evaluator-runner-vslice.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/evaluator-runner-vslice.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/evaluator-runner-vslice.test.js +1047 -0
- package/core/dist/runtime-v2/__tests__/evaluator-runner-vslice.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/fixtures/index.d.ts +4 -0
- package/core/dist/runtime-v2/__tests__/fixtures/index.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/fixtures/index.js +3 -0
- package/core/dist/runtime-v2/__tests__/fixtures/index.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/fixtures/llm-e2e-config.d.ts +20 -0
- package/core/dist/runtime-v2/__tests__/fixtures/llm-e2e-config.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/fixtures/llm-e2e-config.js +39 -0
- package/core/dist/runtime-v2/__tests__/fixtures/llm-e2e-config.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/fixtures/llm-e2e-config.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/fixtures/llm-e2e-config.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/fixtures/llm-e2e-config.test.js +111 -0
- package/core/dist/runtime-v2/__tests__/fixtures/llm-e2e-config.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/fixtures/test-helpers.d.ts +20 -0
- package/core/dist/runtime-v2/__tests__/fixtures/test-helpers.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/fixtures/test-helpers.js +37 -0
- package/core/dist/runtime-v2/__tests__/fixtures/test-helpers.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/full-chain-real-llm.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/full-chain-real-llm.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/full-chain-real-llm.test.js +152 -0
- package/core/dist/runtime-v2/__tests__/full-chain-real-llm.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/full-trace-contract.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/full-trace-contract.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/full-trace-contract.test.js +552 -0
- package/core/dist/runtime-v2/__tests__/full-trace-contract.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/gfi-workspace-health.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/gfi-workspace-health.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/gfi-workspace-health.test.js +128 -0
- package/core/dist/runtime-v2/__tests__/gfi-workspace-health.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/golden-trace-candidate-builder.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/golden-trace-candidate-builder.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/golden-trace-candidate-builder.test.js +759 -0
- package/core/dist/runtime-v2/__tests__/golden-trace-candidate-builder.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/golden-trace-replay-validator.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/golden-trace-replay-validator.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/golden-trace-replay-validator.test.js +231 -0
- package/core/dist/runtime-v2/__tests__/golden-trace-replay-validator.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/golden-trace.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/golden-trace.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/golden-trace.test.js +335 -0
- package/core/dist/runtime-v2/__tests__/golden-trace.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/intake-to-internalization-bridge.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/intake-to-internalization-bridge.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/intake-to-internalization-bridge.test.js +307 -0
- package/core/dist/runtime-v2/__tests__/intake-to-internalization-bridge.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/internalization-chain-integrity-read-model.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/internalization-chain-integrity-read-model.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/internalization-chain-integrity-read-model.test.js +268 -0
- package/core/dist/runtime-v2/__tests__/internalization-chain-integrity-read-model.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/internalization-contracts.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/internalization-contracts.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/internalization-contracts.test.js +78 -0
- package/core/dist/runtime-v2/__tests__/internalization-contracts.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/internalization-integrity-remediation.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/internalization-integrity-remediation.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/internalization-integrity-remediation.test.js +218 -0
- package/core/dist/runtime-v2/__tests__/internalization-integrity-remediation.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/internalization-orchestrator.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/internalization-orchestrator.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/internalization-orchestrator.test.js +569 -0
- package/core/dist/runtime-v2/__tests__/internalization-orchestrator.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/internalization-peer-runner-contracts.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/internalization-peer-runner-contracts.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/internalization-peer-runner-contracts.test.js +448 -0
- package/core/dist/runtime-v2/__tests__/internalization-peer-runner-contracts.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/internalization-queue-read-model.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/internalization-queue-read-model.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/internalization-queue-read-model.test.js +415 -0
- package/core/dist/runtime-v2/__tests__/internalization-queue-read-model.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/internalization-route.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/internalization-route.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/internalization-route.test.js +136 -0
- package/core/dist/runtime-v2/__tests__/internalization-route.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/internalization-state-machine.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/internalization-state-machine.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/internalization-state-machine.test.js +679 -0
- package/core/dist/runtime-v2/__tests__/internalization-state-machine.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/l1-hard-cap.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/l1-hard-cap.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/l1-hard-cap.test.js +157 -0
- package/core/dist/runtime-v2/__tests__/l1-hard-cap.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/operator-health-cold-start-guard.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/operator-health-cold-start-guard.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/operator-health-cold-start-guard.test.js +102 -0
- package/core/dist/runtime-v2/__tests__/operator-health-cold-start-guard.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/operator-health-gfi-degraded.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/operator-health-gfi-degraded.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/operator-health-gfi-degraded.test.js +148 -0
- package/core/dist/runtime-v2/__tests__/operator-health-gfi-degraded.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/operator-health-gfi.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/operator-health-gfi.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/operator-health-gfi.test.js +113 -0
- package/core/dist/runtime-v2/__tests__/operator-health-gfi.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/operator-health-read-model.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/operator-health-read-model.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/operator-health-read-model.test.js +136 -0
- package/core/dist/runtime-v2/__tests__/operator-health-read-model.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/pain-chain-read-model.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/pain-chain-read-model.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/pain-chain-read-model.test.js +248 -0
- package/core/dist/runtime-v2/__tests__/pain-chain-read-model.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/pain-evidence-contract.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/pain-evidence-contract.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/pain-evidence-contract.test.js +328 -0
- package/core/dist/runtime-v2/__tests__/pain-evidence-contract.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/pain-flood-simulation.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/pain-flood-simulation.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/pain-flood-simulation.test.js +267 -0
- package/core/dist/runtime-v2/__tests__/pain-flood-simulation.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/pain-signal-bridge-retried.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/pain-signal-bridge-retried.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/pain-signal-bridge-retried.test.js +147 -0
- package/core/dist/runtime-v2/__tests__/pain-signal-bridge-retried.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/pain-signal-observability.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/pain-signal-observability.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/pain-signal-observability.test.js +151 -0
- package/core/dist/runtime-v2/__tests__/pain-signal-observability.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/pain-to-principle-service.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/pain-to-principle-service.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/pain-to-principle-service.test.js +209 -0
- package/core/dist/runtime-v2/__tests__/pain-to-principle-service.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/philosopher-runner-real-llm.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/philosopher-runner-real-llm.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/philosopher-runner-real-llm.test.js +167 -0
- package/core/dist/runtime-v2/__tests__/philosopher-runner-real-llm.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/philosopher-runner-vslice.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/philosopher-runner-vslice.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/philosopher-runner-vslice.test.js +338 -0
- package/core/dist/runtime-v2/__tests__/philosopher-runner-vslice.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/pi-artifact-store.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/pi-artifact-store.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/pi-artifact-store.test.js +247 -0
- package/core/dist/runtime-v2/__tests__/pi-artifact-store.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/pitask-metadata.test.d.ts +8 -0
- package/core/dist/runtime-v2/__tests__/pitask-metadata.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/pitask-metadata.test.js +333 -0
- package/core/dist/runtime-v2/__tests__/pitask-metadata.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/principle-compiler-core.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/principle-compiler-core.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/principle-compiler-core.test.js +141 -0
- package/core/dist/runtime-v2/__tests__/principle-compiler-core.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/production-canary-fixture-gate.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/production-canary-fixture-gate.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/production-canary-fixture-gate.test.js +524 -0
- package/core/dist/runtime-v2/__tests__/production-canary-fixture-gate.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/proven-channel-baseline.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/proven-channel-baseline.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/proven-channel-baseline.test.js +428 -0
- package/core/dist/runtime-v2/__tests__/proven-channel-baseline.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/pruning-read-model.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/pruning-read-model.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/pruning-read-model.test.js +783 -0
- package/core/dist/runtime-v2/__tests__/pruning-read-model.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/pruning-review-log.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/pruning-review-log.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/pruning-review-log.test.js +159 -0
- package/core/dist/runtime-v2/__tests__/pruning-review-log.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/recovery-sweep-service.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/recovery-sweep-service.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/recovery-sweep-service.test.js +83 -0
- package/core/dist/runtime-v2/__tests__/recovery-sweep-service.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/remediation-contract.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/remediation-contract.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/remediation-contract.test.js +39 -0
- package/core/dist/runtime-v2/__tests__/remediation-contract.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/rollout-reviewer-runner-vslice.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/rollout-reviewer-runner-vslice.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/rollout-reviewer-runner-vslice.test.js +658 -0
- package/core/dist/runtime-v2/__tests__/rollout-reviewer-runner-vslice.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/rule-host-evaluator.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/rule-host-evaluator.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/rule-host-evaluator.test.js +509 -0
- package/core/dist/runtime-v2/__tests__/rule-host-evaluator.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/rulehost-oob-defense-simulation.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/rulehost-oob-defense-simulation.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/rulehost-oob-defense-simulation.test.js +535 -0
- package/core/dist/runtime-v2/__tests__/rulehost-oob-defense-simulation.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/runtime-config-boundary.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/runtime-config-boundary.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/runtime-config-boundary.test.js +256 -0
- package/core/dist/runtime-v2/__tests__/runtime-config-boundary.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/runtime-state-handle.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/runtime-state-handle.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/runtime-state-handle.test.js +76 -0
- package/core/dist/runtime-v2/__tests__/runtime-state-handle.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/schema-conformance-read-model.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/schema-conformance-read-model.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/schema-conformance-read-model.test.js +208 -0
- package/core/dist/runtime-v2/__tests__/schema-conformance-read-model.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/scribe-runner-real-llm.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/scribe-runner-real-llm.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/scribe-runner-real-llm.test.js +156 -0
- package/core/dist/runtime-v2/__tests__/scribe-runner-real-llm.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/scribe-runner-vslice.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/scribe-runner-vslice.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/scribe-runner-vslice.test.js +430 -0
- package/core/dist/runtime-v2/__tests__/scribe-runner-vslice.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/sqlite-confirm-first-state-store.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/sqlite-confirm-first-state-store.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/sqlite-confirm-first-state-store.test.js +148 -0
- package/core/dist/runtime-v2/__tests__/sqlite-confirm-first-state-store.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/sqlite-connection-readonly.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/sqlite-connection-readonly.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/sqlite-connection-readonly.test.js +95 -0
- package/core/dist/runtime-v2/__tests__/sqlite-connection-readonly.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/story-a-demo.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/story-a-demo.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/story-a-demo.test.js +257 -0
- package/core/dist/runtime-v2/__tests__/story-a-demo.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/synthetic-baseline.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/synthetic-baseline.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/synthetic-baseline.test.js +155 -0
- package/core/dist/runtime-v2/__tests__/synthetic-baseline.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/task-state-semantics.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/task-state-semantics.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/task-state-semantics.test.js +145 -0
- package/core/dist/runtime-v2/__tests__/task-state-semantics.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/task-three-strikes.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/task-three-strikes.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/task-three-strikes.test.js +268 -0
- package/core/dist/runtime-v2/__tests__/task-three-strikes.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/trace-refiner-agent.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/trace-refiner-agent.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/trace-refiner-agent.test.js +726 -0
- package/core/dist/runtime-v2/__tests__/trace-refiner-agent.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/trace-refiner.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/trace-refiner.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/trace-refiner.test.js +527 -0
- package/core/dist/runtime-v2/__tests__/trace-refiner.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/trainer-output-validator.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/trainer-output-validator.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/trainer-output-validator.test.js +257 -0
- package/core/dist/runtime-v2/__tests__/trainer-output-validator.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/trainer-runner-vslice.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/trainer-runner-vslice.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/trainer-runner-vslice.test.js +506 -0
- package/core/dist/runtime-v2/__tests__/trainer-runner-vslice.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/trajectory-store.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/trajectory-store.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/trajectory-store.test.js +127 -0
- package/core/dist/runtime-v2/__tests__/trajectory-store.test.js.map +1 -0
- package/core/dist/runtime-v2/activation/__tests__/activation-dispatcher.test.d.ts +2 -0
- package/core/dist/runtime-v2/activation/__tests__/activation-dispatcher.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/activation/__tests__/activation-dispatcher.test.js +510 -0
- package/core/dist/runtime-v2/activation/__tests__/activation-dispatcher.test.js.map +1 -0
- package/core/dist/runtime-v2/activation/__tests__/approval-context-types.test.d.ts +2 -0
- package/core/dist/runtime-v2/activation/__tests__/approval-context-types.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/activation/__tests__/approval-context-types.test.js +117 -0
- package/core/dist/runtime-v2/activation/__tests__/approval-context-types.test.js.map +1 -0
- package/core/dist/runtime-v2/activation/__tests__/approval-queue.test.d.ts +2 -0
- package/core/dist/runtime-v2/activation/__tests__/approval-queue.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/activation/__tests__/approval-queue.test.js +179 -0
- package/core/dist/runtime-v2/activation/__tests__/approval-queue.test.js.map +1 -0
- package/core/dist/runtime-v2/activation/__tests__/approval-store-extended.test.d.ts +2 -0
- package/core/dist/runtime-v2/activation/__tests__/approval-store-extended.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/activation/__tests__/approval-store-extended.test.js +174 -0
- package/core/dist/runtime-v2/activation/__tests__/approval-store-extended.test.js.map +1 -0
- package/core/dist/runtime-v2/activation/__tests__/memory-activation-state-store.test.d.ts +2 -0
- package/core/dist/runtime-v2/activation/__tests__/memory-activation-state-store.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/activation/__tests__/memory-activation-state-store.test.js +244 -0
- package/core/dist/runtime-v2/activation/__tests__/memory-activation-state-store.test.js.map +1 -0
- package/core/dist/runtime-v2/activation/__tests__/sqlite-activation-state-store.test.d.ts +2 -0
- package/core/dist/runtime-v2/activation/__tests__/sqlite-activation-state-store.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/activation/__tests__/sqlite-activation-state-store.test.js +109 -0
- package/core/dist/runtime-v2/activation/__tests__/sqlite-activation-state-store.test.js.map +1 -0
- package/core/dist/runtime-v2/activation/__tests__/sqlite-approval-store.test.d.ts +2 -0
- package/core/dist/runtime-v2/activation/__tests__/sqlite-approval-store.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/activation/__tests__/sqlite-approval-store.test.js +124 -0
- package/core/dist/runtime-v2/activation/__tests__/sqlite-approval-store.test.js.map +1 -0
- package/core/dist/runtime-v2/activation/activation-dispatcher.d.ts +18 -0
- package/core/dist/runtime-v2/activation/activation-dispatcher.d.ts.map +1 -0
- package/core/dist/runtime-v2/activation/activation-dispatcher.js +231 -0
- package/core/dist/runtime-v2/activation/activation-dispatcher.js.map +1 -0
- package/core/dist/runtime-v2/activation/activation-types.d.ts +195 -0
- package/core/dist/runtime-v2/activation/activation-types.d.ts.map +1 -0
- package/core/dist/runtime-v2/activation/activation-types.js +29 -0
- package/core/dist/runtime-v2/activation/activation-types.js.map +1 -0
- package/core/dist/runtime-v2/activation/approval-queue.d.ts +15 -0
- package/core/dist/runtime-v2/activation/approval-queue.d.ts.map +1 -0
- package/core/dist/runtime-v2/activation/approval-queue.js +50 -0
- package/core/dist/runtime-v2/activation/approval-queue.js.map +1 -0
- package/core/dist/runtime-v2/activation/index.d.ts +15 -0
- package/core/dist/runtime-v2/activation/index.d.ts.map +1 -0
- package/core/dist/runtime-v2/activation/index.js +11 -0
- package/core/dist/runtime-v2/activation/index.js.map +1 -0
- package/core/dist/runtime-v2/activation/low-risk-writers.d.ts +14 -0
- package/core/dist/runtime-v2/activation/low-risk-writers.d.ts.map +1 -0
- package/core/dist/runtime-v2/activation/low-risk-writers.js +83 -0
- package/core/dist/runtime-v2/activation/low-risk-writers.js.map +1 -0
- package/core/dist/runtime-v2/activation/memory-activation-state-store.d.ts +13 -0
- package/core/dist/runtime-v2/activation/memory-activation-state-store.d.ts.map +1 -0
- package/core/dist/runtime-v2/activation/memory-activation-state-store.js +28 -0
- package/core/dist/runtime-v2/activation/memory-activation-state-store.js.map +1 -0
- package/core/dist/runtime-v2/activation/memory-approval-store.d.ts +12 -0
- package/core/dist/runtime-v2/activation/memory-approval-store.d.ts.map +1 -0
- package/core/dist/runtime-v2/activation/memory-approval-store.js +102 -0
- package/core/dist/runtime-v2/activation/memory-approval-store.js.map +1 -0
- package/core/dist/runtime-v2/activation/sqlite-activation-state-store.d.ts +10 -0
- package/core/dist/runtime-v2/activation/sqlite-activation-state-store.d.ts.map +1 -0
- package/core/dist/runtime-v2/activation/sqlite-activation-state-store.js +87 -0
- package/core/dist/runtime-v2/activation/sqlite-activation-state-store.js.map +1 -0
- package/core/dist/runtime-v2/activation/sqlite-approval-store.d.ts +14 -0
- package/core/dist/runtime-v2/activation/sqlite-approval-store.d.ts.map +1 -0
- package/core/dist/runtime-v2/activation/sqlite-approval-store.js +138 -0
- package/core/dist/runtime-v2/activation/sqlite-approval-store.js.map +1 -0
- package/core/dist/runtime-v2/activation/sqlite-confirm-first-state-store.d.ts +22 -0
- package/core/dist/runtime-v2/activation/sqlite-confirm-first-state-store.d.ts.map +1 -0
- package/core/dist/runtime-v2/activation/sqlite-confirm-first-state-store.js +136 -0
- package/core/dist/runtime-v2/activation/sqlite-confirm-first-state-store.js.map +1 -0
- package/core/dist/runtime-v2/activation/writers/__tests__/rule-host-writer.test.d.ts +2 -0
- package/core/dist/runtime-v2/activation/writers/__tests__/rule-host-writer.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/activation/writers/__tests__/rule-host-writer.test.js +615 -0
- package/core/dist/runtime-v2/activation/writers/__tests__/rule-host-writer.test.js.map +1 -0
- package/core/dist/runtime-v2/activation/writers/index.d.ts +3 -0
- package/core/dist/runtime-v2/activation/writers/index.d.ts.map +1 -0
- package/core/dist/runtime-v2/activation/writers/index.js +2 -0
- package/core/dist/runtime-v2/activation/writers/index.js.map +1 -0
- package/core/dist/runtime-v2/activation/writers/rule-host-writer.d.ts +14 -0
- package/core/dist/runtime-v2/activation/writers/rule-host-writer.d.ts.map +1 -0
- package/core/dist/runtime-v2/activation/writers/rule-host-writer.js +135 -0
- package/core/dist/runtime-v2/activation/writers/rule-host-writer.js.map +1 -0
- package/core/dist/runtime-v2/adapter/__tests__/chaos-json-repair.test.d.ts +2 -0
- package/core/dist/runtime-v2/adapter/__tests__/chaos-json-repair.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/adapter/__tests__/chaos-json-repair.test.js +553 -0
- package/core/dist/runtime-v2/adapter/__tests__/chaos-json-repair.test.js.map +1 -0
- package/core/dist/runtime-v2/adapter/__tests__/json-extractor.test.d.ts +2 -0
- package/core/dist/runtime-v2/adapter/__tests__/json-extractor.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/adapter/__tests__/json-extractor.test.js +148 -0
- package/core/dist/runtime-v2/adapter/__tests__/json-extractor.test.js.map +1 -0
- package/core/dist/runtime-v2/adapter/__tests__/openclaw-cli-runtime-adapter.test.d.ts +2 -0
- package/core/dist/runtime-v2/adapter/__tests__/openclaw-cli-runtime-adapter.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/adapter/__tests__/openclaw-cli-runtime-adapter.test.js +565 -0
- package/core/dist/runtime-v2/adapter/__tests__/openclaw-cli-runtime-adapter.test.js.map +1 -0
- package/core/dist/runtime-v2/adapter/__tests__/output-repair-contract.test.d.ts +2 -0
- package/core/dist/runtime-v2/adapter/__tests__/output-repair-contract.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/adapter/__tests__/output-repair-contract.test.js +305 -0
- package/core/dist/runtime-v2/adapter/__tests__/output-repair-contract.test.js.map +1 -0
- package/core/dist/runtime-v2/adapter/__tests__/pi-ai-runtime-adapter.test.d.ts +2 -0
- package/core/dist/runtime-v2/adapter/__tests__/pi-ai-runtime-adapter.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/adapter/__tests__/pi-ai-runtime-adapter.test.js +1362 -0
- package/core/dist/runtime-v2/adapter/__tests__/pi-ai-runtime-adapter.test.js.map +1 -0
- package/core/dist/runtime-v2/adapter/__tests__/runtime-config-contract.test.d.ts +2 -0
- package/core/dist/runtime-v2/adapter/__tests__/runtime-config-contract.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/adapter/__tests__/runtime-config-contract.test.js +245 -0
- package/core/dist/runtime-v2/adapter/__tests__/runtime-config-contract.test.js.map +1 -0
- package/core/dist/runtime-v2/adapter/__tests__/schema-prompt-adapter.test.d.ts +2 -0
- package/core/dist/runtime-v2/adapter/__tests__/schema-prompt-adapter.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/adapter/__tests__/schema-prompt-adapter.test.js +270 -0
- package/core/dist/runtime-v2/adapter/__tests__/schema-prompt-adapter.test.js.map +1 -0
- package/core/dist/runtime-v2/adapter/__tests__/structured-output-repair.test.d.ts +2 -0
- package/core/dist/runtime-v2/adapter/__tests__/structured-output-repair.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/adapter/__tests__/structured-output-repair.test.js +494 -0
- package/core/dist/runtime-v2/adapter/__tests__/structured-output-repair.test.js.map +1 -0
- package/core/dist/runtime-v2/adapter/__tests__/test-double-runtime-adapter.test.d.ts +2 -0
- package/core/dist/runtime-v2/adapter/__tests__/test-double-runtime-adapter.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/adapter/__tests__/test-double-runtime-adapter.test.js +123 -0
- package/core/dist/runtime-v2/adapter/__tests__/test-double-runtime-adapter.test.js.map +1 -0
- package/core/dist/runtime-v2/adapter/index.d.ts +10 -0
- package/core/dist/runtime-v2/adapter/index.d.ts.map +1 -0
- package/core/dist/runtime-v2/adapter/index.js +6 -0
- package/core/dist/runtime-v2/adapter/index.js.map +1 -0
- package/core/dist/runtime-v2/adapter/json-extractor.d.ts +14 -0
- package/core/dist/runtime-v2/adapter/json-extractor.d.ts.map +1 -0
- package/core/dist/runtime-v2/adapter/json-extractor.js +97 -0
- package/core/dist/runtime-v2/adapter/json-extractor.js.map +1 -0
- package/core/dist/runtime-v2/adapter/openclaw-cli-runtime-adapter.d.ts +66 -0
- package/core/dist/runtime-v2/adapter/openclaw-cli-runtime-adapter.d.ts.map +1 -0
- package/core/dist/runtime-v2/adapter/openclaw-cli-runtime-adapter.js +705 -0
- package/core/dist/runtime-v2/adapter/openclaw-cli-runtime-adapter.js.map +1 -0
- package/core/dist/runtime-v2/adapter/output-repair-contract.d.ts +50 -0
- package/core/dist/runtime-v2/adapter/output-repair-contract.d.ts.map +1 -0
- package/core/dist/runtime-v2/adapter/output-repair-contract.js +96 -0
- package/core/dist/runtime-v2/adapter/output-repair-contract.js.map +1 -0
- package/core/dist/runtime-v2/adapter/pi-ai-runtime-adapter.d.ts +114 -0
- package/core/dist/runtime-v2/adapter/pi-ai-runtime-adapter.d.ts.map +1 -0
- package/core/dist/runtime-v2/adapter/pi-ai-runtime-adapter.js +1110 -0
- package/core/dist/runtime-v2/adapter/pi-ai-runtime-adapter.js.map +1 -0
- package/core/dist/runtime-v2/adapter/principle-tree-ledger-adapter.d.ts +22 -0
- package/core/dist/runtime-v2/adapter/principle-tree-ledger-adapter.d.ts.map +1 -0
- package/core/dist/runtime-v2/adapter/principle-tree-ledger-adapter.js +84 -0
- package/core/dist/runtime-v2/adapter/principle-tree-ledger-adapter.js.map +1 -0
- package/core/dist/runtime-v2/adapter/schema-prompt-adapter.d.ts +13 -0
- package/core/dist/runtime-v2/adapter/schema-prompt-adapter.d.ts.map +1 -0
- package/core/dist/runtime-v2/adapter/schema-prompt-adapter.js +266 -0
- package/core/dist/runtime-v2/adapter/schema-prompt-adapter.js.map +1 -0
- package/core/dist/runtime-v2/adapter/structured-output-repair.d.ts +95 -0
- package/core/dist/runtime-v2/adapter/structured-output-repair.d.ts.map +1 -0
- package/core/dist/runtime-v2/adapter/structured-output-repair.js +259 -0
- package/core/dist/runtime-v2/adapter/structured-output-repair.js.map +1 -0
- package/core/dist/runtime-v2/adapter/test-double-runtime-adapter.d.ts +35 -0
- package/core/dist/runtime-v2/adapter/test-double-runtime-adapter.d.ts.map +1 -0
- package/core/dist/runtime-v2/adapter/test-double-runtime-adapter.js +94 -0
- package/core/dist/runtime-v2/adapter/test-double-runtime-adapter.js.map +1 -0
- package/core/dist/runtime-v2/adapter/tools/diagnostician-tool.d.ts +17 -0
- package/core/dist/runtime-v2/adapter/tools/diagnostician-tool.d.ts.map +1 -0
- package/core/dist/runtime-v2/adapter/tools/diagnostician-tool.js +8 -0
- package/core/dist/runtime-v2/adapter/tools/diagnostician-tool.js.map +1 -0
- package/core/dist/runtime-v2/admission-gate.d.ts +27 -0
- package/core/dist/runtime-v2/admission-gate.d.ts.map +1 -0
- package/core/dist/runtime-v2/admission-gate.js +57 -0
- package/core/dist/runtime-v2/admission-gate.js.map +1 -0
- package/core/dist/runtime-v2/agent-spec.d.ts +86 -0
- package/core/dist/runtime-v2/agent-spec.d.ts.map +1 -0
- package/core/dist/runtime-v2/agent-spec.js +74 -0
- package/core/dist/runtime-v2/agent-spec.js.map +1 -0
- package/core/dist/runtime-v2/candidate-audit.d.ts +8 -0
- package/core/dist/runtime-v2/candidate-audit.d.ts.map +1 -0
- package/core/dist/runtime-v2/candidate-audit.js +47 -0
- package/core/dist/runtime-v2/candidate-audit.js.map +1 -0
- package/core/dist/runtime-v2/candidate-intake-service.d.ts +43 -0
- package/core/dist/runtime-v2/candidate-intake-service.d.ts.map +1 -0
- package/core/dist/runtime-v2/candidate-intake-service.js +117 -0
- package/core/dist/runtime-v2/candidate-intake-service.js.map +1 -0
- package/core/dist/runtime-v2/candidate-intake.d.ts +219 -0
- package/core/dist/runtime-v2/candidate-intake.d.ts.map +1 -0
- package/core/dist/runtime-v2/candidate-intake.js +178 -0
- package/core/dist/runtime-v2/candidate-intake.js.map +1 -0
- package/core/dist/runtime-v2/cli/diagnose.d.ts +127 -0
- package/core/dist/runtime-v2/cli/diagnose.d.ts.map +1 -0
- package/core/dist/runtime-v2/cli/diagnose.js +113 -0
- package/core/dist/runtime-v2/cli/diagnose.js.map +1 -0
- package/core/dist/runtime-v2/cli/index.d.ts +5 -0
- package/core/dist/runtime-v2/cli/index.d.ts.map +1 -0
- package/core/dist/runtime-v2/cli/index.js +3 -0
- package/core/dist/runtime-v2/cli/index.js.map +1 -0
- package/core/dist/runtime-v2/cli/probe.d.ts +31 -0
- package/core/dist/runtime-v2/cli/probe.d.ts.map +1 -0
- package/core/dist/runtime-v2/cli/probe.js +58 -0
- package/core/dist/runtime-v2/cli/probe.js.map +1 -0
- package/core/dist/runtime-v2/context-payload.d.ts +298 -0
- package/core/dist/runtime-v2/context-payload.d.ts.map +1 -0
- package/core/dist/runtime-v2/context-payload.js +140 -0
- package/core/dist/runtime-v2/context-payload.js.map +1 -0
- package/core/dist/runtime-v2/control-plane-triage.d.ts +32 -0
- package/core/dist/runtime-v2/control-plane-triage.d.ts.map +1 -0
- package/core/dist/runtime-v2/control-plane-triage.js +220 -0
- package/core/dist/runtime-v2/control-plane-triage.js.map +1 -0
- package/core/dist/runtime-v2/correction/correction-types.d.ts +87 -0
- package/core/dist/runtime-v2/correction/correction-types.d.ts.map +1 -0
- package/core/dist/runtime-v2/correction/correction-types.js +66 -0
- package/core/dist/runtime-v2/correction/correction-types.js.map +1 -0
- package/core/dist/runtime-v2/correction/index.d.ts +2 -0
- package/core/dist/runtime-v2/correction/index.d.ts.map +1 -0
- package/core/dist/runtime-v2/correction/index.js +2 -0
- package/core/dist/runtime-v2/correction/index.js.map +1 -0
- package/core/dist/runtime-v2/diagnostician/__tests__/diagnostician-prompt-builder.integration.test.d.ts +2 -0
- package/core/dist/runtime-v2/diagnostician/__tests__/diagnostician-prompt-builder.integration.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/diagnostician/__tests__/diagnostician-prompt-builder.integration.test.js +170 -0
- package/core/dist/runtime-v2/diagnostician/__tests__/diagnostician-prompt-builder.integration.test.js.map +1 -0
- package/core/dist/runtime-v2/diagnostician/__tests__/diagnostician-prompt-builder.test.d.ts +2 -0
- package/core/dist/runtime-v2/diagnostician/__tests__/diagnostician-prompt-builder.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/diagnostician/__tests__/diagnostician-prompt-builder.test.js +396 -0
- package/core/dist/runtime-v2/diagnostician/__tests__/diagnostician-prompt-builder.test.js.map +1 -0
- package/core/dist/runtime-v2/diagnostician-output.d.ts +84 -0
- package/core/dist/runtime-v2/diagnostician-output.d.ts.map +1 -0
- package/core/dist/runtime-v2/diagnostician-output.js +60 -0
- package/core/dist/runtime-v2/diagnostician-output.js.map +1 -0
- package/core/dist/runtime-v2/diagnostician-prompt-builder.d.ts +130 -0
- package/core/dist/runtime-v2/diagnostician-prompt-builder.d.ts.map +1 -0
- package/core/dist/runtime-v2/diagnostician-prompt-builder.js +162 -0
- package/core/dist/runtime-v2/diagnostician-prompt-builder.js.map +1 -0
- package/core/dist/runtime-v2/error-categories.d.ts +42 -0
- package/core/dist/runtime-v2/error-categories.d.ts.map +1 -0
- package/core/dist/runtime-v2/error-categories.js +119 -0
- package/core/dist/runtime-v2/error-categories.js.map +1 -0
- package/core/dist/runtime-v2/evolution/evolution-types.d.ts +709 -0
- package/core/dist/runtime-v2/evolution/evolution-types.d.ts.map +1 -0
- package/core/dist/runtime-v2/evolution/evolution-types.js +410 -0
- package/core/dist/runtime-v2/evolution/evolution-types.js.map +1 -0
- package/core/dist/runtime-v2/evolution/index.d.ts +2 -0
- package/core/dist/runtime-v2/evolution/index.d.ts.map +1 -0
- package/core/dist/runtime-v2/evolution/index.js +2 -0
- package/core/dist/runtime-v2/evolution/index.js.map +1 -0
- package/core/dist/runtime-v2/feature-flags/__tests__/feature-flag-contract.test.d.ts +2 -0
- package/core/dist/runtime-v2/feature-flags/__tests__/feature-flag-contract.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/feature-flags/__tests__/feature-flag-contract.test.js +298 -0
- package/core/dist/runtime-v2/feature-flags/__tests__/feature-flag-contract.test.js.map +1 -0
- package/core/dist/runtime-v2/feature-flags/feature-flag-contract.d.ts +35 -0
- package/core/dist/runtime-v2/feature-flags/feature-flag-contract.d.ts.map +1 -0
- package/core/dist/runtime-v2/feature-flags/feature-flag-contract.js +124 -0
- package/core/dist/runtime-v2/feature-flags/feature-flag-contract.js.map +1 -0
- package/core/dist/runtime-v2/feature-flags/index.d.ts +3 -0
- package/core/dist/runtime-v2/feature-flags/index.d.ts.map +1 -0
- package/core/dist/runtime-v2/feature-flags/index.js +2 -0
- package/core/dist/runtime-v2/feature-flags/index.js.map +1 -0
- package/core/dist/runtime-v2/full-trace-contract.d.ts +79 -0
- package/core/dist/runtime-v2/full-trace-contract.d.ts.map +1 -0
- package/core/dist/runtime-v2/full-trace-contract.js +464 -0
- package/core/dist/runtime-v2/full-trace-contract.js.map +1 -0
- package/core/dist/runtime-v2/gfi/__tests__/gfi-kernel.test.d.ts +2 -0
- package/core/dist/runtime-v2/gfi/__tests__/gfi-kernel.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/gfi/__tests__/gfi-kernel.test.js +626 -0
- package/core/dist/runtime-v2/gfi/__tests__/gfi-kernel.test.js.map +1 -0
- package/core/dist/runtime-v2/gfi/__tests__/gfi-read-model.test.d.ts +2 -0
- package/core/dist/runtime-v2/gfi/__tests__/gfi-read-model.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/gfi/__tests__/gfi-read-model.test.js +212 -0
- package/core/dist/runtime-v2/gfi/__tests__/gfi-read-model.test.js.map +1 -0
- package/core/dist/runtime-v2/gfi/gfi-kernel.d.ts +12 -0
- package/core/dist/runtime-v2/gfi/gfi-kernel.d.ts.map +1 -0
- package/core/dist/runtime-v2/gfi/gfi-kernel.js +148 -0
- package/core/dist/runtime-v2/gfi/gfi-kernel.js.map +1 -0
- package/core/dist/runtime-v2/gfi/gfi-policy.d.ts +3 -0
- package/core/dist/runtime-v2/gfi/gfi-policy.d.ts.map +1 -0
- package/core/dist/runtime-v2/gfi/gfi-policy.js +23 -0
- package/core/dist/runtime-v2/gfi/gfi-policy.js.map +1 -0
- package/core/dist/runtime-v2/gfi/gfi-read-model.d.ts +78 -0
- package/core/dist/runtime-v2/gfi/gfi-read-model.d.ts.map +1 -0
- package/core/dist/runtime-v2/gfi/gfi-read-model.js +129 -0
- package/core/dist/runtime-v2/gfi/gfi-read-model.js.map +1 -0
- package/core/dist/runtime-v2/gfi/gfi-types.d.ts +70 -0
- package/core/dist/runtime-v2/gfi/gfi-types.d.ts.map +1 -0
- package/core/dist/runtime-v2/gfi/gfi-types.js +2 -0
- package/core/dist/runtime-v2/gfi/gfi-types.js.map +1 -0
- package/core/dist/runtime-v2/gfi/index.d.ts +6 -0
- package/core/dist/runtime-v2/gfi/index.d.ts.map +1 -0
- package/core/dist/runtime-v2/gfi/index.js +4 -0
- package/core/dist/runtime-v2/gfi/index.js.map +1 -0
- package/core/dist/runtime-v2/golden-trace-candidate-builder.d.ts +23 -0
- package/core/dist/runtime-v2/golden-trace-candidate-builder.d.ts.map +1 -0
- package/core/dist/runtime-v2/golden-trace-candidate-builder.js +193 -0
- package/core/dist/runtime-v2/golden-trace-candidate-builder.js.map +1 -0
- package/core/dist/runtime-v2/golden-trace-replay-adapter.d.ts +18 -0
- package/core/dist/runtime-v2/golden-trace-replay-adapter.d.ts.map +1 -0
- package/core/dist/runtime-v2/golden-trace-replay-adapter.js +18 -0
- package/core/dist/runtime-v2/golden-trace-replay-adapter.js.map +1 -0
- package/core/dist/runtime-v2/golden-trace-replay-validator.d.ts +42 -0
- package/core/dist/runtime-v2/golden-trace-replay-validator.d.ts.map +1 -0
- package/core/dist/runtime-v2/golden-trace-replay-validator.js +220 -0
- package/core/dist/runtime-v2/golden-trace-replay-validator.js.map +1 -0
- package/core/dist/runtime-v2/golden-trace.d.ts +80 -0
- package/core/dist/runtime-v2/golden-trace.d.ts.map +1 -0
- package/core/dist/runtime-v2/golden-trace.js +158 -0
- package/core/dist/runtime-v2/golden-trace.js.map +1 -0
- package/core/dist/runtime-v2/index.d.ts +281 -0
- package/core/dist/runtime-v2/index.d.ts.map +1 -0
- package/core/dist/runtime-v2/index.js +224 -0
- package/core/dist/runtime-v2/index.js.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/artificer-prompt-builder.test.d.ts +2 -0
- package/core/dist/runtime-v2/internalization/__tests__/artificer-prompt-builder.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/artificer-prompt-builder.test.js +57 -0
- package/core/dist/runtime-v2/internalization/__tests__/artificer-prompt-builder.test.js.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/dreamer-prompt-builder.test.d.ts +2 -0
- package/core/dist/runtime-v2/internalization/__tests__/dreamer-prompt-builder.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/dreamer-prompt-builder.test.js +182 -0
- package/core/dist/runtime-v2/internalization/__tests__/dreamer-prompt-builder.test.js.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/evaluator-prompt-builder.test.d.ts +2 -0
- package/core/dist/runtime-v2/internalization/__tests__/evaluator-prompt-builder.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/evaluator-prompt-builder.test.js +112 -0
- package/core/dist/runtime-v2/internalization/__tests__/evaluator-prompt-builder.test.js.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/internalization-job-graph.test.d.ts +2 -0
- package/core/dist/runtime-v2/internalization/__tests__/internalization-job-graph.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/internalization-job-graph.test.js +176 -0
- package/core/dist/runtime-v2/internalization/__tests__/internalization-job-graph.test.js.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/internalization-task-guards.test.d.ts +2 -0
- package/core/dist/runtime-v2/internalization/__tests__/internalization-task-guards.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/internalization-task-guards.test.js +297 -0
- package/core/dist/runtime-v2/internalization/__tests__/internalization-task-guards.test.js.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/philosopher-prompt-builder.test.d.ts +2 -0
- package/core/dist/runtime-v2/internalization/__tests__/philosopher-prompt-builder.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/philosopher-prompt-builder.test.js +149 -0
- package/core/dist/runtime-v2/internalization/__tests__/philosopher-prompt-builder.test.js.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/queue-actionability.test.d.ts +2 -0
- package/core/dist/runtime-v2/internalization/__tests__/queue-actionability.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/queue-actionability.test.js +92 -0
- package/core/dist/runtime-v2/internalization/__tests__/queue-actionability.test.js.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/refiner-rulehost-gate.test.d.ts +2 -0
- package/core/dist/runtime-v2/internalization/__tests__/refiner-rulehost-gate.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/refiner-rulehost-gate.test.js +431 -0
- package/core/dist/runtime-v2/internalization/__tests__/refiner-rulehost-gate.test.js.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/refiner-sandbox-wrapper.test.d.ts +2 -0
- package/core/dist/runtime-v2/internalization/__tests__/refiner-sandbox-wrapper.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/refiner-sandbox-wrapper.test.js +763 -0
- package/core/dist/runtime-v2/internalization/__tests__/refiner-sandbox-wrapper.test.js.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/rollout-reviewer-prompt-builder.test.d.ts +2 -0
- package/core/dist/runtime-v2/internalization/__tests__/rollout-reviewer-prompt-builder.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/rollout-reviewer-prompt-builder.test.js +75 -0
- package/core/dist/runtime-v2/internalization/__tests__/rollout-reviewer-prompt-builder.test.js.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/scribe-prompt-builder.test.d.ts +2 -0
- package/core/dist/runtime-v2/internalization/__tests__/scribe-prompt-builder.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/scribe-prompt-builder.test.js +56 -0
- package/core/dist/runtime-v2/internalization/__tests__/scribe-prompt-builder.test.js.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/trainer-prompt-builder.test.d.ts +2 -0
- package/core/dist/runtime-v2/internalization/__tests__/trainer-prompt-builder.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/trainer-prompt-builder.test.js +141 -0
- package/core/dist/runtime-v2/internalization/__tests__/trainer-prompt-builder.test.js.map +1 -0
- package/core/dist/runtime-v2/internalization/artificer-output.d.ts +67 -0
- package/core/dist/runtime-v2/internalization/artificer-output.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/artificer-output.js +103 -0
- package/core/dist/runtime-v2/internalization/artificer-output.js.map +1 -0
- package/core/dist/runtime-v2/internalization/artificer-prompt-builder.d.ts +24 -0
- package/core/dist/runtime-v2/internalization/artificer-prompt-builder.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/artificer-prompt-builder.js +62 -0
- package/core/dist/runtime-v2/internalization/artificer-prompt-builder.js.map +1 -0
- package/core/dist/runtime-v2/internalization/artificer-runner.d.ts +77 -0
- package/core/dist/runtime-v2/internalization/artificer-runner.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/artificer-runner.js +521 -0
- package/core/dist/runtime-v2/internalization/artificer-runner.js.map +1 -0
- package/core/dist/runtime-v2/internalization/compile-result.d.ts +20 -0
- package/core/dist/runtime-v2/internalization/compile-result.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/compile-result.js +8 -0
- package/core/dist/runtime-v2/internalization/compile-result.js.map +1 -0
- package/core/dist/runtime-v2/internalization/correction-proposal.d.ts +38 -0
- package/core/dist/runtime-v2/internalization/correction-proposal.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/correction-proposal.js +322 -0
- package/core/dist/runtime-v2/internalization/correction-proposal.js.map +1 -0
- package/core/dist/runtime-v2/internalization/deprecated-readiness.d.ts +20 -0
- package/core/dist/runtime-v2/internalization/deprecated-readiness.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/deprecated-readiness.js +75 -0
- package/core/dist/runtime-v2/internalization/deprecated-readiness.js.map +1 -0
- package/core/dist/runtime-v2/internalization/deprecated-readiness.test.d.ts +2 -0
- package/core/dist/runtime-v2/internalization/deprecated-readiness.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/deprecated-readiness.test.js +127 -0
- package/core/dist/runtime-v2/internalization/deprecated-readiness.test.js.map +1 -0
- package/core/dist/runtime-v2/internalization/dreamer-output.d.ts +120 -0
- package/core/dist/runtime-v2/internalization/dreamer-output.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/dreamer-output.js +92 -0
- package/core/dist/runtime-v2/internalization/dreamer-output.js.map +1 -0
- package/core/dist/runtime-v2/internalization/dreamer-prompt-builder.d.ts +41 -0
- package/core/dist/runtime-v2/internalization/dreamer-prompt-builder.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/dreamer-prompt-builder.js +43 -0
- package/core/dist/runtime-v2/internalization/dreamer-prompt-builder.js.map +1 -0
- package/core/dist/runtime-v2/internalization/dreamer-runner.d.ts +134 -0
- package/core/dist/runtime-v2/internalization/dreamer-runner.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/dreamer-runner.js +636 -0
- package/core/dist/runtime-v2/internalization/dreamer-runner.js.map +1 -0
- package/core/dist/runtime-v2/internalization/evaluator-output.d.ts +71 -0
- package/core/dist/runtime-v2/internalization/evaluator-output.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/evaluator-output.js +113 -0
- package/core/dist/runtime-v2/internalization/evaluator-output.js.map +1 -0
- package/core/dist/runtime-v2/internalization/evaluator-prompt-builder.d.ts +24 -0
- package/core/dist/runtime-v2/internalization/evaluator-prompt-builder.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/evaluator-prompt-builder.js +49 -0
- package/core/dist/runtime-v2/internalization/evaluator-prompt-builder.js.map +1 -0
- package/core/dist/runtime-v2/internalization/evaluator-runner.d.ts +80 -0
- package/core/dist/runtime-v2/internalization/evaluator-runner.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/evaluator-runner.js +661 -0
- package/core/dist/runtime-v2/internalization/evaluator-runner.js.map +1 -0
- package/core/dist/runtime-v2/internalization/index.d.ts +81 -0
- package/core/dist/runtime-v2/internalization/index.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/index.js +47 -0
- package/core/dist/runtime-v2/internalization/index.js.map +1 -0
- package/core/dist/runtime-v2/internalization/intake-to-internalization-bridge.d.ts +57 -0
- package/core/dist/runtime-v2/internalization/intake-to-internalization-bridge.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/intake-to-internalization-bridge.js +99 -0
- package/core/dist/runtime-v2/internalization/intake-to-internalization-bridge.js.map +1 -0
- package/core/dist/runtime-v2/internalization/internalization-job-graph.d.ts +78 -0
- package/core/dist/runtime-v2/internalization/internalization-job-graph.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/internalization-job-graph.js +153 -0
- package/core/dist/runtime-v2/internalization/internalization-job-graph.js.map +1 -0
- package/core/dist/runtime-v2/internalization/internalization-orchestrator.d.ts +182 -0
- package/core/dist/runtime-v2/internalization/internalization-orchestrator.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/internalization-orchestrator.js +355 -0
- package/core/dist/runtime-v2/internalization/internalization-orchestrator.js.map +1 -0
- package/core/dist/runtime-v2/internalization/internalization-route.d.ts +28 -0
- package/core/dist/runtime-v2/internalization/internalization-route.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/internalization-route.js +112 -0
- package/core/dist/runtime-v2/internalization/internalization-route.js.map +1 -0
- package/core/dist/runtime-v2/internalization/internalization-state-machine.d.ts +157 -0
- package/core/dist/runtime-v2/internalization/internalization-state-machine.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/internalization-state-machine.js +274 -0
- package/core/dist/runtime-v2/internalization/internalization-state-machine.js.map +1 -0
- package/core/dist/runtime-v2/internalization/internalization-task-guards.d.ts +92 -0
- package/core/dist/runtime-v2/internalization/internalization-task-guards.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/internalization-task-guards.js +152 -0
- package/core/dist/runtime-v2/internalization/internalization-task-guards.js.map +1 -0
- package/core/dist/runtime-v2/internalization/lifecycle-datasource.d.ts +18 -0
- package/core/dist/runtime-v2/internalization/lifecycle-datasource.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/lifecycle-datasource.js +2 -0
- package/core/dist/runtime-v2/internalization/lifecycle-datasource.js.map +1 -0
- package/core/dist/runtime-v2/internalization/lifecycle-metrics.d.ts +24 -0
- package/core/dist/runtime-v2/internalization/lifecycle-metrics.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/lifecycle-metrics.js +124 -0
- package/core/dist/runtime-v2/internalization/lifecycle-metrics.js.map +1 -0
- package/core/dist/runtime-v2/internalization/lifecycle-metrics.test.d.ts +2 -0
- package/core/dist/runtime-v2/internalization/lifecycle-metrics.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/lifecycle-metrics.test.js +201 -0
- package/core/dist/runtime-v2/internalization/lifecycle-metrics.test.js.map +1 -0
- package/core/dist/runtime-v2/internalization/lifecycle-read-model.d.ts +11 -0
- package/core/dist/runtime-v2/internalization/lifecycle-read-model.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/lifecycle-read-model.js +155 -0
- package/core/dist/runtime-v2/internalization/lifecycle-read-model.js.map +1 -0
- package/core/dist/runtime-v2/internalization/lifecycle-read-model.test.d.ts +2 -0
- package/core/dist/runtime-v2/internalization/lifecycle-read-model.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/lifecycle-read-model.test.js +408 -0
- package/core/dist/runtime-v2/internalization/lifecycle-read-model.test.js.map +1 -0
- package/core/dist/runtime-v2/internalization/lifecycle-types.d.ts +75 -0
- package/core/dist/runtime-v2/internalization/lifecycle-types.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/lifecycle-types.js +2 -0
- package/core/dist/runtime-v2/internalization/lifecycle-types.js.map +1 -0
- package/core/dist/runtime-v2/internalization/peer-runner-contracts.d.ts +140 -0
- package/core/dist/runtime-v2/internalization/peer-runner-contracts.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/peer-runner-contracts.js +124 -0
- package/core/dist/runtime-v2/internalization/peer-runner-contracts.js.map +1 -0
- package/core/dist/runtime-v2/internalization/philosopher-output.d.ts +56 -0
- package/core/dist/runtime-v2/internalization/philosopher-output.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/philosopher-output.js +69 -0
- package/core/dist/runtime-v2/internalization/philosopher-output.js.map +1 -0
- package/core/dist/runtime-v2/internalization/philosopher-prompt-builder.d.ts +41 -0
- package/core/dist/runtime-v2/internalization/philosopher-prompt-builder.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/philosopher-prompt-builder.js +50 -0
- package/core/dist/runtime-v2/internalization/philosopher-prompt-builder.js.map +1 -0
- package/core/dist/runtime-v2/internalization/philosopher-runner.d.ts +103 -0
- package/core/dist/runtime-v2/internalization/philosopher-runner.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/philosopher-runner.js +519 -0
- package/core/dist/runtime-v2/internalization/philosopher-runner.js.map +1 -0
- package/core/dist/runtime-v2/internalization/pi-artifact-store.d.ts +13 -0
- package/core/dist/runtime-v2/internalization/pi-artifact-store.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/pi-artifact-store.js +65 -0
- package/core/dist/runtime-v2/internalization/pi-artifact-store.js.map +1 -0
- package/core/dist/runtime-v2/internalization/pi-artifact.d.ts +23 -0
- package/core/dist/runtime-v2/internalization/pi-artifact.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/pi-artifact.js +2 -0
- package/core/dist/runtime-v2/internalization/pi-artifact.js.map +1 -0
- package/core/dist/runtime-v2/internalization/pitask-metadata.d.ts +80 -0
- package/core/dist/runtime-v2/internalization/pitask-metadata.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/pitask-metadata.js +194 -0
- package/core/dist/runtime-v2/internalization/pitask-metadata.js.map +1 -0
- package/core/dist/runtime-v2/internalization/queue-actionability.d.ts +37 -0
- package/core/dist/runtime-v2/internalization/queue-actionability.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/queue-actionability.js +50 -0
- package/core/dist/runtime-v2/internalization/queue-actionability.js.map +1 -0
- package/core/dist/runtime-v2/internalization/refiner-rulehost-gate.d.ts +20 -0
- package/core/dist/runtime-v2/internalization/refiner-rulehost-gate.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/refiner-rulehost-gate.js +151 -0
- package/core/dist/runtime-v2/internalization/refiner-rulehost-gate.js.map +1 -0
- package/core/dist/runtime-v2/internalization/refiner-sandbox-wrapper.d.ts +36 -0
- package/core/dist/runtime-v2/internalization/refiner-sandbox-wrapper.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/refiner-sandbox-wrapper.js +227 -0
- package/core/dist/runtime-v2/internalization/refiner-sandbox-wrapper.js.map +1 -0
- package/core/dist/runtime-v2/internalization/rollout-reviewer-output.d.ts +74 -0
- package/core/dist/runtime-v2/internalization/rollout-reviewer-output.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/rollout-reviewer-output.js +117 -0
- package/core/dist/runtime-v2/internalization/rollout-reviewer-output.js.map +1 -0
- package/core/dist/runtime-v2/internalization/rollout-reviewer-prompt-builder.d.ts +24 -0
- package/core/dist/runtime-v2/internalization/rollout-reviewer-prompt-builder.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/rollout-reviewer-prompt-builder.js +52 -0
- package/core/dist/runtime-v2/internalization/rollout-reviewer-prompt-builder.js.map +1 -0
- package/core/dist/runtime-v2/internalization/rollout-reviewer-runner.d.ts +76 -0
- package/core/dist/runtime-v2/internalization/rollout-reviewer-runner.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/rollout-reviewer-runner.js +538 -0
- package/core/dist/runtime-v2/internalization/rollout-reviewer-runner.js.map +1 -0
- package/core/dist/runtime-v2/internalization/routing-policy.d.ts +24 -0
- package/core/dist/runtime-v2/internalization/routing-policy.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/routing-policy.js +169 -0
- package/core/dist/runtime-v2/internalization/routing-policy.js.map +1 -0
- package/core/dist/runtime-v2/internalization/routing-policy.test.d.ts +2 -0
- package/core/dist/runtime-v2/internalization/routing-policy.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/routing-policy.test.js +286 -0
- package/core/dist/runtime-v2/internalization/routing-policy.test.js.map +1 -0
- package/core/dist/runtime-v2/internalization/rule-code-validator.d.ts +21 -0
- package/core/dist/runtime-v2/internalization/rule-code-validator.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/rule-code-validator.js +42 -0
- package/core/dist/runtime-v2/internalization/rule-code-validator.js.map +1 -0
- package/core/dist/runtime-v2/internalization/rule-host-adapter.d.ts +16 -0
- package/core/dist/runtime-v2/internalization/rule-host-adapter.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/rule-host-adapter.js +13 -0
- package/core/dist/runtime-v2/internalization/rule-host-adapter.js.map +1 -0
- package/core/dist/runtime-v2/internalization/rule-host-contracts.d.ts +61 -0
- package/core/dist/runtime-v2/internalization/rule-host-contracts.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/rule-host-contracts.js +14 -0
- package/core/dist/runtime-v2/internalization/rule-host-contracts.js.map +1 -0
- package/core/dist/runtime-v2/internalization/rule-host-evaluator.d.ts +36 -0
- package/core/dist/runtime-v2/internalization/rule-host-evaluator.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/rule-host-evaluator.js +103 -0
- package/core/dist/runtime-v2/internalization/rule-host-evaluator.js.map +1 -0
- package/core/dist/runtime-v2/internalization/rule-host-helpers.d.ts +27 -0
- package/core/dist/runtime-v2/internalization/rule-host-helpers.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/rule-host-helpers.js +27 -0
- package/core/dist/runtime-v2/internalization/rule-host-helpers.js.map +1 -0
- package/core/dist/runtime-v2/internalization/scribe-output.d.ts +74 -0
- package/core/dist/runtime-v2/internalization/scribe-output.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/scribe-output.js +98 -0
- package/core/dist/runtime-v2/internalization/scribe-output.js.map +1 -0
- package/core/dist/runtime-v2/internalization/scribe-prompt-builder.d.ts +24 -0
- package/core/dist/runtime-v2/internalization/scribe-prompt-builder.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/scribe-prompt-builder.js +60 -0
- package/core/dist/runtime-v2/internalization/scribe-prompt-builder.js.map +1 -0
- package/core/dist/runtime-v2/internalization/scribe-runner.d.ts +77 -0
- package/core/dist/runtime-v2/internalization/scribe-runner.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/scribe-runner.js +518 -0
- package/core/dist/runtime-v2/internalization/scribe-runner.js.map +1 -0
- package/core/dist/runtime-v2/internalization/template-generator.d.ts +21 -0
- package/core/dist/runtime-v2/internalization/template-generator.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/template-generator.js +61 -0
- package/core/dist/runtime-v2/internalization/template-generator.js.map +1 -0
- package/core/dist/runtime-v2/internalization/trainer-output.d.ts +122 -0
- package/core/dist/runtime-v2/internalization/trainer-output.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/trainer-output.js +223 -0
- package/core/dist/runtime-v2/internalization/trainer-output.js.map +1 -0
- package/core/dist/runtime-v2/internalization/trainer-prompt-builder.d.ts +24 -0
- package/core/dist/runtime-v2/internalization/trainer-prompt-builder.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/trainer-prompt-builder.js +57 -0
- package/core/dist/runtime-v2/internalization/trainer-prompt-builder.js.map +1 -0
- package/core/dist/runtime-v2/internalization/trainer-runner.d.ts +76 -0
- package/core/dist/runtime-v2/internalization/trainer-runner.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/trainer-runner.js +538 -0
- package/core/dist/runtime-v2/internalization/trainer-runner.js.map +1 -0
- package/core/dist/runtime-v2/internalization-chain-integrity-read-model.d.ts +42 -0
- package/core/dist/runtime-v2/internalization-chain-integrity-read-model.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization-chain-integrity-read-model.js +413 -0
- package/core/dist/runtime-v2/internalization-chain-integrity-read-model.js.map +1 -0
- package/core/dist/runtime-v2/internalization-integrity-remediation.d.ts +17 -0
- package/core/dist/runtime-v2/internalization-integrity-remediation.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization-integrity-remediation.js +269 -0
- package/core/dist/runtime-v2/internalization-integrity-remediation.js.map +1 -0
- package/core/dist/runtime-v2/internalization-queue-read-model.d.ts +93 -0
- package/core/dist/runtime-v2/internalization-queue-read-model.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization-queue-read-model.js +217 -0
- package/core/dist/runtime-v2/internalization-queue-read-model.js.map +1 -0
- package/core/dist/runtime-v2/l1-hard-cap.d.ts +21 -0
- package/core/dist/runtime-v2/l1-hard-cap.d.ts.map +1 -0
- package/core/dist/runtime-v2/l1-hard-cap.js +51 -0
- package/core/dist/runtime-v2/l1-hard-cap.js.map +1 -0
- package/core/dist/runtime-v2/observer/__tests__/agent-scheduler.test.d.ts +2 -0
- package/core/dist/runtime-v2/observer/__tests__/agent-scheduler.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/observer/__tests__/agent-scheduler.test.js +49 -0
- package/core/dist/runtime-v2/observer/__tests__/agent-scheduler.test.js.map +1 -0
- package/core/dist/runtime-v2/observer/__tests__/correction-observer.test.d.ts +2 -0
- package/core/dist/runtime-v2/observer/__tests__/correction-observer.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/observer/__tests__/correction-observer.test.js +144 -0
- package/core/dist/runtime-v2/observer/__tests__/correction-observer.test.js.map +1 -0
- package/core/dist/runtime-v2/observer/__tests__/empathy-observer.real-e2e.test.d.ts +2 -0
- package/core/dist/runtime-v2/observer/__tests__/empathy-observer.real-e2e.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/observer/__tests__/empathy-observer.real-e2e.test.js +67 -0
- package/core/dist/runtime-v2/observer/__tests__/empathy-observer.real-e2e.test.js.map +1 -0
- package/core/dist/runtime-v2/observer/__tests__/empathy-observer.test.d.ts +2 -0
- package/core/dist/runtime-v2/observer/__tests__/empathy-observer.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/observer/__tests__/empathy-observer.test.js +84 -0
- package/core/dist/runtime-v2/observer/__tests__/empathy-observer.test.js.map +1 -0
- package/core/dist/runtime-v2/observer/agent-scheduler.d.ts +40 -0
- package/core/dist/runtime-v2/observer/agent-scheduler.d.ts.map +1 -0
- package/core/dist/runtime-v2/observer/agent-scheduler.js +30 -0
- package/core/dist/runtime-v2/observer/agent-scheduler.js.map +1 -0
- package/core/dist/runtime-v2/observer/correction-observer.d.ts +59 -0
- package/core/dist/runtime-v2/observer/correction-observer.d.ts.map +1 -0
- package/core/dist/runtime-v2/observer/correction-observer.js +178 -0
- package/core/dist/runtime-v2/observer/correction-observer.js.map +1 -0
- package/core/dist/runtime-v2/observer/empathy-observer.d.ts +35 -0
- package/core/dist/runtime-v2/observer/empathy-observer.d.ts.map +1 -0
- package/core/dist/runtime-v2/observer/empathy-observer.js +98 -0
- package/core/dist/runtime-v2/observer/empathy-observer.js.map +1 -0
- package/core/dist/runtime-v2/operator-health-read-model.d.ts +45 -0
- package/core/dist/runtime-v2/operator-health-read-model.d.ts.map +1 -0
- package/core/dist/runtime-v2/operator-health-read-model.js +189 -0
- package/core/dist/runtime-v2/operator-health-read-model.js.map +1 -0
- package/core/dist/runtime-v2/pain-chain-read-model.d.ts +40 -0
- package/core/dist/runtime-v2/pain-chain-read-model.d.ts.map +1 -0
- package/core/dist/runtime-v2/pain-chain-read-model.js +293 -0
- package/core/dist/runtime-v2/pain-chain-read-model.js.map +1 -0
- package/core/dist/runtime-v2/pain-flood-simulation.d.ts +62 -0
- package/core/dist/runtime-v2/pain-flood-simulation.d.ts.map +1 -0
- package/core/dist/runtime-v2/pain-flood-simulation.js +152 -0
- package/core/dist/runtime-v2/pain-flood-simulation.js.map +1 -0
- package/core/dist/runtime-v2/pain-signal-bridge.d.ts +72 -0
- package/core/dist/runtime-v2/pain-signal-bridge.d.ts.map +1 -0
- package/core/dist/runtime-v2/pain-signal-bridge.js +340 -0
- package/core/dist/runtime-v2/pain-signal-bridge.js.map +1 -0
- package/core/dist/runtime-v2/pain-signal-observability.d.ts +19 -0
- package/core/dist/runtime-v2/pain-signal-observability.d.ts.map +1 -0
- package/core/dist/runtime-v2/pain-signal-observability.js +161 -0
- package/core/dist/runtime-v2/pain-signal-observability.js.map +1 -0
- package/core/dist/runtime-v2/pain-signal-runtime-factory.d.ts +82 -0
- package/core/dist/runtime-v2/pain-signal-runtime-factory.d.ts.map +1 -0
- package/core/dist/runtime-v2/pain-signal-runtime-factory.js +279 -0
- package/core/dist/runtime-v2/pain-signal-runtime-factory.js.map +1 -0
- package/core/dist/runtime-v2/pain-to-principle-service.d.ts +53 -0
- package/core/dist/runtime-v2/pain-to-principle-service.d.ts.map +1 -0
- package/core/dist/runtime-v2/pain-to-principle-service.js +114 -0
- package/core/dist/runtime-v2/pain-to-principle-service.js.map +1 -0
- package/core/dist/runtime-v2/proven-channel-baseline.d.ts +56 -0
- package/core/dist/runtime-v2/proven-channel-baseline.d.ts.map +1 -0
- package/core/dist/runtime-v2/proven-channel-baseline.js +480 -0
- package/core/dist/runtime-v2/proven-channel-baseline.js.map +1 -0
- package/core/dist/runtime-v2/pruning-mask.d.ts +27 -0
- package/core/dist/runtime-v2/pruning-mask.d.ts.map +1 -0
- package/core/dist/runtime-v2/pruning-mask.js +59 -0
- package/core/dist/runtime-v2/pruning-mask.js.map +1 -0
- package/core/dist/runtime-v2/pruning-read-model.d.ts +76 -0
- package/core/dist/runtime-v2/pruning-read-model.d.ts.map +1 -0
- package/core/dist/runtime-v2/pruning-read-model.js +266 -0
- package/core/dist/runtime-v2/pruning-read-model.js.map +1 -0
- package/core/dist/runtime-v2/pruning-review-log.d.ts +41 -0
- package/core/dist/runtime-v2/pruning-review-log.d.ts.map +1 -0
- package/core/dist/runtime-v2/pruning-review-log.js +106 -0
- package/core/dist/runtime-v2/pruning-review-log.js.map +1 -0
- package/core/dist/runtime-v2/recovery-sweep-service.d.ts +14 -0
- package/core/dist/runtime-v2/recovery-sweep-service.d.ts.map +1 -0
- package/core/dist/runtime-v2/recovery-sweep-service.js +26 -0
- package/core/dist/runtime-v2/recovery-sweep-service.js.map +1 -0
- package/core/dist/runtime-v2/remediation-contract.d.ts +46 -0
- package/core/dist/runtime-v2/remediation-contract.d.ts.map +1 -0
- package/core/dist/runtime-v2/remediation-contract.js +29 -0
- package/core/dist/runtime-v2/remediation-contract.js.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/default-validator.test.d.ts +2 -0
- package/core/dist/runtime-v2/runner/__tests__/default-validator.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/default-validator.test.js +526 -0
- package/core/dist/runtime-v2/runner/__tests__/default-validator.test.js.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/diagnose.test.d.ts +2 -0
- package/core/dist/runtime-v2/runner/__tests__/diagnose.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/diagnose.test.js +81 -0
- package/core/dist/runtime-v2/runner/__tests__/diagnose.test.js.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/diagnostician-runner.integration.test.d.ts +2 -0
- package/core/dist/runtime-v2/runner/__tests__/diagnostician-runner.integration.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/diagnostician-runner.integration.test.js +378 -0
- package/core/dist/runtime-v2/runner/__tests__/diagnostician-runner.integration.test.js.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/diagnostician-runner.test.d.ts +2 -0
- package/core/dist/runtime-v2/runner/__tests__/diagnostician-runner.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/diagnostician-runner.test.js +642 -0
- package/core/dist/runtime-v2/runner/__tests__/diagnostician-runner.test.js.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/diagnostician-telemetry.test.d.ts +2 -0
- package/core/dist/runtime-v2/runner/__tests__/diagnostician-telemetry.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/diagnostician-telemetry.test.js +286 -0
- package/core/dist/runtime-v2/runner/__tests__/diagnostician-telemetry.test.js.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/dual-track-e2e.test.d.ts +2 -0
- package/core/dist/runtime-v2/runner/__tests__/dual-track-e2e.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/dual-track-e2e.test.js +320 -0
- package/core/dist/runtime-v2/runner/__tests__/dual-track-e2e.test.js.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/lease-expiration-recovery.integration.test.d.ts +2 -0
- package/core/dist/runtime-v2/runner/__tests__/lease-expiration-recovery.integration.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/lease-expiration-recovery.integration.test.js +261 -0
- package/core/dist/runtime-v2/runner/__tests__/lease-expiration-recovery.integration.test.js.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/m5-05-e2e.test.d.ts +2 -0
- package/core/dist/runtime-v2/runner/__tests__/m5-05-e2e.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/m5-05-e2e.test.js +405 -0
- package/core/dist/runtime-v2/runner/__tests__/m5-05-e2e.test.js.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/m6-06-e2e.test.d.ts +2 -0
- package/core/dist/runtime-v2/runner/__tests__/m6-06-e2e.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/m6-06-e2e.test.js +347 -0
- package/core/dist/runtime-v2/runner/__tests__/m6-06-e2e.test.js.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/m6-06-legacy.test.d.ts +2 -0
- package/core/dist/runtime-v2/runner/__tests__/m6-06-legacy.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/m6-06-legacy.test.js +186 -0
- package/core/dist/runtime-v2/runner/__tests__/m6-06-legacy.test.js.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/m6-06-real-path.test.d.ts +2 -0
- package/core/dist/runtime-v2/runner/__tests__/m6-06-real-path.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/m6-06-real-path.test.js +355 -0
- package/core/dist/runtime-v2/runner/__tests__/m6-06-real-path.test.js.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/m8-02-e2e.test.d.ts +2 -0
- package/core/dist/runtime-v2/runner/__tests__/m8-02-e2e.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/m8-02-e2e.test.js +488 -0
- package/core/dist/runtime-v2/runner/__tests__/m8-02-e2e.test.js.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/m9-adapter-integration.test.d.ts +2 -0
- package/core/dist/runtime-v2/runner/__tests__/m9-adapter-integration.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/m9-adapter-integration.test.js +171 -0
- package/core/dist/runtime-v2/runner/__tests__/m9-adapter-integration.test.js.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/m9-e2e.test.d.ts +2 -0
- package/core/dist/runtime-v2/runner/__tests__/m9-e2e.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/m9-e2e.test.js +182 -0
- package/core/dist/runtime-v2/runner/__tests__/m9-e2e.test.js.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/max-attempts-exceeded.integration.test.d.ts +2 -0
- package/core/dist/runtime-v2/runner/__tests__/max-attempts-exceeded.integration.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/max-attempts-exceeded.integration.test.js +276 -0
- package/core/dist/runtime-v2/runner/__tests__/max-attempts-exceeded.integration.test.js.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/pain-signal-bridge-admission.test.d.ts +2 -0
- package/core/dist/runtime-v2/runner/__tests__/pain-signal-bridge-admission.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/pain-signal-bridge-admission.test.js +462 -0
- package/core/dist/runtime-v2/runner/__tests__/pain-signal-bridge-admission.test.js.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/pain-signal-bridge.test.d.ts +2 -0
- package/core/dist/runtime-v2/runner/__tests__/pain-signal-bridge.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/pain-signal-bridge.test.js +160 -0
- package/core/dist/runtime-v2/runner/__tests__/pain-signal-bridge.test.js.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/retry-wait-recovery.integration.test.d.ts +2 -0
- package/core/dist/runtime-v2/runner/__tests__/retry-wait-recovery.integration.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/retry-wait-recovery.integration.test.js +272 -0
- package/core/dist/runtime-v2/runner/__tests__/retry-wait-recovery.integration.test.js.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/start-run-input.test.d.ts +2 -0
- package/core/dist/runtime-v2/runner/__tests__/start-run-input.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/start-run-input.test.js +67 -0
- package/core/dist/runtime-v2/runner/__tests__/start-run-input.test.js.map +1 -0
- package/core/dist/runtime-v2/runner/default-validator.d.ts +10 -0
- package/core/dist/runtime-v2/runner/default-validator.d.ts.map +1 -0
- package/core/dist/runtime-v2/runner/default-validator.js +168 -0
- package/core/dist/runtime-v2/runner/default-validator.js.map +1 -0
- package/core/dist/runtime-v2/runner/diagnostician-runner-options.d.ts +37 -0
- package/core/dist/runtime-v2/runner/diagnostician-runner-options.d.ts.map +1 -0
- package/core/dist/runtime-v2/runner/diagnostician-runner-options.js +19 -0
- package/core/dist/runtime-v2/runner/diagnostician-runner-options.js.map +1 -0
- package/core/dist/runtime-v2/runner/diagnostician-runner.d.ts +87 -0
- package/core/dist/runtime-v2/runner/diagnostician-runner.d.ts.map +1 -0
- package/core/dist/runtime-v2/runner/diagnostician-runner.js +417 -0
- package/core/dist/runtime-v2/runner/diagnostician-runner.js.map +1 -0
- package/core/dist/runtime-v2/runner/diagnostician-validator.d.ts +56 -0
- package/core/dist/runtime-v2/runner/diagnostician-validator.d.ts.map +1 -0
- package/core/dist/runtime-v2/runner/diagnostician-validator.js +11 -0
- package/core/dist/runtime-v2/runner/diagnostician-validator.js.map +1 -0
- package/core/dist/runtime-v2/runner/runner-phase.d.ts +21 -0
- package/core/dist/runtime-v2/runner/runner-phase.d.ts.map +1 -0
- package/core/dist/runtime-v2/runner/runner-phase.js +22 -0
- package/core/dist/runtime-v2/runner/runner-phase.js.map +1 -0
- package/core/dist/runtime-v2/runner/runner-result.d.ts +20 -0
- package/core/dist/runtime-v2/runner/runner-result.d.ts.map +1 -0
- package/core/dist/runtime-v2/runner/runner-result.js +2 -0
- package/core/dist/runtime-v2/runner/runner-result.js.map +1 -0
- package/core/dist/runtime-v2/runtime-protocol.d.ts +165 -0
- package/core/dist/runtime-v2/runtime-protocol.d.ts.map +1 -0
- package/core/dist/runtime-v2/runtime-protocol.js +130 -0
- package/core/dist/runtime-v2/runtime-protocol.js.map +1 -0
- package/core/dist/runtime-v2/runtime-selector.d.ts +77 -0
- package/core/dist/runtime-v2/runtime-selector.d.ts.map +1 -0
- package/core/dist/runtime-v2/runtime-selector.js +23 -0
- package/core/dist/runtime-v2/runtime-selector.js.map +1 -0
- package/core/dist/runtime-v2/runtime-state-handle.d.ts +10 -0
- package/core/dist/runtime-v2/runtime-state-handle.d.ts.map +1 -0
- package/core/dist/runtime-v2/runtime-state-handle.js +30 -0
- package/core/dist/runtime-v2/runtime-state-handle.js.map +1 -0
- package/core/dist/runtime-v2/schema-conformance-read-model.d.ts +24 -0
- package/core/dist/runtime-v2/schema-conformance-read-model.d.ts.map +1 -0
- package/core/dist/runtime-v2/schema-conformance-read-model.js +178 -0
- package/core/dist/runtime-v2/schema-conformance-read-model.js.map +1 -0
- package/core/dist/runtime-v2/schema-version.d.ts +20 -0
- package/core/dist/runtime-v2/schema-version.d.ts.map +1 -0
- package/core/dist/runtime-v2/schema-version.js +20 -0
- package/core/dist/runtime-v2/schema-version.js.map +1 -0
- package/core/dist/runtime-v2/store/artifact/artifact-store.d.ts +28 -0
- package/core/dist/runtime-v2/store/artifact/artifact-store.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/artifact/artifact-store.js +2 -0
- package/core/dist/runtime-v2/store/artifact/artifact-store.js.map +1 -0
- package/core/dist/runtime-v2/store/artifact/index.d.ts +4 -0
- package/core/dist/runtime-v2/store/artifact/index.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/artifact/index.js +3 -0
- package/core/dist/runtime-v2/store/artifact/index.js.map +1 -0
- package/core/dist/runtime-v2/store/artifact/memory-artifact-store.d.ts +14 -0
- package/core/dist/runtime-v2/store/artifact/memory-artifact-store.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/artifact/memory-artifact-store.js +25 -0
- package/core/dist/runtime-v2/store/artifact/memory-artifact-store.js.map +1 -0
- package/core/dist/runtime-v2/store/artifact/sqlite-artifact-store.d.ts +12 -0
- package/core/dist/runtime-v2/store/artifact/sqlite-artifact-store.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/artifact/sqlite-artifact-store.js +51 -0
- package/core/dist/runtime-v2/store/artifact/sqlite-artifact-store.js.map +1 -0
- package/core/dist/runtime-v2/store/artifact/sqlite-pi-artifact-store.d.ts +13 -0
- package/core/dist/runtime-v2/store/artifact/sqlite-pi-artifact-store.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/artifact/sqlite-pi-artifact-store.js +98 -0
- package/core/dist/runtime-v2/store/artifact/sqlite-pi-artifact-store.js.map +1 -0
- package/core/dist/runtime-v2/store/candidate/__tests__/recommendation-kind-resolver.test.d.ts +2 -0
- package/core/dist/runtime-v2/store/candidate/__tests__/recommendation-kind-resolver.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/candidate/__tests__/recommendation-kind-resolver.test.js +34 -0
- package/core/dist/runtime-v2/store/candidate/__tests__/recommendation-kind-resolver.test.js.map +1 -0
- package/core/dist/runtime-v2/store/candidate/candidate-store.d.ts +42 -0
- package/core/dist/runtime-v2/store/candidate/candidate-store.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/candidate/candidate-store.js +2 -0
- package/core/dist/runtime-v2/store/candidate/candidate-store.js.map +1 -0
- package/core/dist/runtime-v2/store/candidate/index.d.ts +4 -0
- package/core/dist/runtime-v2/store/candidate/index.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/candidate/index.js +3 -0
- package/core/dist/runtime-v2/store/candidate/index.js.map +1 -0
- package/core/dist/runtime-v2/store/candidate/memory-candidate-store.d.ts +22 -0
- package/core/dist/runtime-v2/store/candidate/memory-candidate-store.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/candidate/memory-candidate-store.js +36 -0
- package/core/dist/runtime-v2/store/candidate/memory-candidate-store.js.map +1 -0
- package/core/dist/runtime-v2/store/candidate/recommendation-kind-resolver.d.ts +4 -0
- package/core/dist/runtime-v2/store/candidate/recommendation-kind-resolver.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/candidate/recommendation-kind-resolver.js +14 -0
- package/core/dist/runtime-v2/store/candidate/recommendation-kind-resolver.js.map +1 -0
- package/core/dist/runtime-v2/store/candidate/sqlite-candidate-store.d.ts +13 -0
- package/core/dist/runtime-v2/store/candidate/sqlite-candidate-store.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/candidate/sqlite-candidate-store.js +61 -0
- package/core/dist/runtime-v2/store/candidate/sqlite-candidate-store.js.map +1 -0
- package/core/dist/runtime-v2/store/commit/commit-store.d.ts +19 -0
- package/core/dist/runtime-v2/store/commit/commit-store.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/commit/commit-store.js +2 -0
- package/core/dist/runtime-v2/store/commit/commit-store.js.map +1 -0
- package/core/dist/runtime-v2/store/commit/diagnostician-committer.d.ts +47 -0
- package/core/dist/runtime-v2/store/commit/diagnostician-committer.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/commit/diagnostician-committer.js +140 -0
- package/core/dist/runtime-v2/store/commit/diagnostician-committer.js.map +1 -0
- package/core/dist/runtime-v2/store/commit/index.d.ts +7 -0
- package/core/dist/runtime-v2/store/commit/index.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/commit/index.js +4 -0
- package/core/dist/runtime-v2/store/commit/index.js.map +1 -0
- package/core/dist/runtime-v2/store/commit/memory-commit-store.d.ts +16 -0
- package/core/dist/runtime-v2/store/commit/memory-commit-store.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/commit/memory-commit-store.js +18 -0
- package/core/dist/runtime-v2/store/commit/memory-commit-store.js.map +1 -0
- package/core/dist/runtime-v2/store/commit/sqlite-commit-store.d.ts +11 -0
- package/core/dist/runtime-v2/store/commit/sqlite-commit-store.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/commit/sqlite-commit-store.js +25 -0
- package/core/dist/runtime-v2/store/commit/sqlite-commit-store.js.map +1 -0
- package/core/dist/runtime-v2/store/concurrent-lease.test.d.ts +2 -0
- package/core/dist/runtime-v2/store/concurrent-lease.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/concurrent-lease.test.js +129 -0
- package/core/dist/runtime-v2/store/concurrent-lease.test.js.map +1 -0
- package/core/dist/runtime-v2/store/context/context-assembler.d.ts +19 -0
- package/core/dist/runtime-v2/store/context/context-assembler.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/context/context-assembler.js +2 -0
- package/core/dist/runtime-v2/store/context/context-assembler.js.map +1 -0
- package/core/dist/runtime-v2/store/context/index.d.ts +4 -0
- package/core/dist/runtime-v2/store/context/index.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/context/index.js +3 -0
- package/core/dist/runtime-v2/store/context/index.js.map +1 -0
- package/core/dist/runtime-v2/store/context/resilient-context-assembler.d.ts +13 -0
- package/core/dist/runtime-v2/store/context/resilient-context-assembler.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/context/resilient-context-assembler.js +72 -0
- package/core/dist/runtime-v2/store/context/resilient-context-assembler.js.map +1 -0
- package/core/dist/runtime-v2/store/context/resilient-context-assembler.test.d.ts +2 -0
- package/core/dist/runtime-v2/store/context/resilient-context-assembler.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/context/resilient-context-assembler.test.js +113 -0
- package/core/dist/runtime-v2/store/context/resilient-context-assembler.test.js.map +1 -0
- package/core/dist/runtime-v2/store/context/sqlite-context-assembler.d.ts +28 -0
- package/core/dist/runtime-v2/store/context/sqlite-context-assembler.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/context/sqlite-context-assembler.js +277 -0
- package/core/dist/runtime-v2/store/context/sqlite-context-assembler.js.map +1 -0
- package/core/dist/runtime-v2/store/context/sqlite-context-assembler.test.d.ts +2 -0
- package/core/dist/runtime-v2/store/context/sqlite-context-assembler.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/context/sqlite-context-assembler.test.js +1181 -0
- package/core/dist/runtime-v2/store/context/sqlite-context-assembler.test.js.map +1 -0
- package/core/dist/runtime-v2/store/diagnostician-committer.test.d.ts +2 -0
- package/core/dist/runtime-v2/store/diagnostician-committer.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/diagnostician-committer.test.js +326 -0
- package/core/dist/runtime-v2/store/diagnostician-committer.test.js.map +1 -0
- package/core/dist/runtime-v2/store/event-emitter.d.ts +18 -0
- package/core/dist/runtime-v2/store/event-emitter.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/event-emitter.js +78 -0
- package/core/dist/runtime-v2/store/event-emitter.js.map +1 -0
- package/core/dist/runtime-v2/store/history/history-query.d.ts +57 -0
- package/core/dist/runtime-v2/store/history/history-query.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/history/history-query.js +7 -0
- package/core/dist/runtime-v2/store/history/history-query.js.map +1 -0
- package/core/dist/runtime-v2/store/history/index.d.ts +5 -0
- package/core/dist/runtime-v2/store/history/index.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/history/index.js +4 -0
- package/core/dist/runtime-v2/store/history/index.js.map +1 -0
- package/core/dist/runtime-v2/store/history/resilient-history-query.d.ts +20 -0
- package/core/dist/runtime-v2/store/history/resilient-history-query.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/history/resilient-history-query.js +40 -0
- package/core/dist/runtime-v2/store/history/resilient-history-query.js.map +1 -0
- package/core/dist/runtime-v2/store/history/resilient-history-query.test.d.ts +2 -0
- package/core/dist/runtime-v2/store/history/resilient-history-query.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/history/resilient-history-query.test.js +128 -0
- package/core/dist/runtime-v2/store/history/resilient-history-query.test.js.map +1 -0
- package/core/dist/runtime-v2/store/history/sqlite-history-query.d.ts +24 -0
- package/core/dist/runtime-v2/store/history/sqlite-history-query.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/history/sqlite-history-query.js +166 -0
- package/core/dist/runtime-v2/store/history/sqlite-history-query.js.map +1 -0
- package/core/dist/runtime-v2/store/history/sqlite-history-query.test.d.ts +2 -0
- package/core/dist/runtime-v2/store/history/sqlite-history-query.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/history/sqlite-history-query.test.js +536 -0
- package/core/dist/runtime-v2/store/history/sqlite-history-query.test.js.map +1 -0
- package/core/dist/runtime-v2/store/idempotent-transitions.test.d.ts +2 -0
- package/core/dist/runtime-v2/store/idempotent-transitions.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/idempotent-transitions.test.js +168 -0
- package/core/dist/runtime-v2/store/idempotent-transitions.test.js.map +1 -0
- package/core/dist/runtime-v2/store/lifecycle/index.d.ts +7 -0
- package/core/dist/runtime-v2/store/lifecycle/index.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/lifecycle/index.js +4 -0
- package/core/dist/runtime-v2/store/lifecycle/index.js.map +1 -0
- package/core/dist/runtime-v2/store/lifecycle/lease-manager.d.ts +91 -0
- package/core/dist/runtime-v2/store/lifecycle/lease-manager.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/lifecycle/lease-manager.js +154 -0
- package/core/dist/runtime-v2/store/lifecycle/lease-manager.js.map +1 -0
- package/core/dist/runtime-v2/store/lifecycle/lease-manager.test.d.ts +2 -0
- package/core/dist/runtime-v2/store/lifecycle/lease-manager.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/lifecycle/lease-manager.test.js +243 -0
- package/core/dist/runtime-v2/store/lifecycle/lease-manager.test.js.map +1 -0
- package/core/dist/runtime-v2/store/lifecycle/recovery-sweep.d.ts +82 -0
- package/core/dist/runtime-v2/store/lifecycle/recovery-sweep.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/lifecycle/recovery-sweep.js +145 -0
- package/core/dist/runtime-v2/store/lifecycle/recovery-sweep.js.map +1 -0
- package/core/dist/runtime-v2/store/lifecycle/recovery-sweep.test.d.ts +2 -0
- package/core/dist/runtime-v2/store/lifecycle/recovery-sweep.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/lifecycle/recovery-sweep.test.js +318 -0
- package/core/dist/runtime-v2/store/lifecycle/recovery-sweep.test.js.map +1 -0
- package/core/dist/runtime-v2/store/lifecycle/retry-policy.d.ts +105 -0
- package/core/dist/runtime-v2/store/lifecycle/retry-policy.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/lifecycle/retry-policy.js +48 -0
- package/core/dist/runtime-v2/store/lifecycle/retry-policy.js.map +1 -0
- package/core/dist/runtime-v2/store/lifecycle/retry-policy.test.d.ts +2 -0
- package/core/dist/runtime-v2/store/lifecycle/retry-policy.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/lifecycle/retry-policy.test.js +86 -0
- package/core/dist/runtime-v2/store/lifecycle/retry-policy.test.js.map +1 -0
- package/core/dist/runtime-v2/store/run/index.d.ts +4 -0
- package/core/dist/runtime-v2/store/run/index.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/run/index.js +3 -0
- package/core/dist/runtime-v2/store/run/index.js.map +1 -0
- package/core/dist/runtime-v2/store/run/memory-run-store.d.ts +15 -0
- package/core/dist/runtime-v2/store/run/memory-run-store.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/run/memory-run-store.js +33 -0
- package/core/dist/runtime-v2/store/run/memory-run-store.js.map +1 -0
- package/core/dist/runtime-v2/store/run/run-store.d.ts +43 -0
- package/core/dist/runtime-v2/store/run/run-store.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/run/run-store.js +2 -0
- package/core/dist/runtime-v2/store/run/run-store.js.map +1 -0
- package/core/dist/runtime-v2/store/run/sqlite-run-store.d.ts +14 -0
- package/core/dist/runtime-v2/store/run/sqlite-run-store.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/run/sqlite-run-store.js +108 -0
- package/core/dist/runtime-v2/store/run/sqlite-run-store.js.map +1 -0
- package/core/dist/runtime-v2/store/runtime-state-manager.d.ts +116 -0
- package/core/dist/runtime-v2/store/runtime-state-manager.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/runtime-state-manager.integration.test.d.ts +2 -0
- package/core/dist/runtime-v2/store/runtime-state-manager.integration.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/runtime-state-manager.integration.test.js +187 -0
- package/core/dist/runtime-v2/store/runtime-state-manager.integration.test.js.map +1 -0
- package/core/dist/runtime-v2/store/runtime-state-manager.js +321 -0
- package/core/dist/runtime-v2/store/runtime-state-manager.js.map +1 -0
- package/core/dist/runtime-v2/store/schema-conformance.test.d.ts +2 -0
- package/core/dist/runtime-v2/store/schema-conformance.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/schema-conformance.test.js +607 -0
- package/core/dist/runtime-v2/store/schema-conformance.test.js.map +1 -0
- package/core/dist/runtime-v2/store/sqlite-connection-close.test.d.ts +2 -0
- package/core/dist/runtime-v2/store/sqlite-connection-close.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/sqlite-connection-close.test.js +57 -0
- package/core/dist/runtime-v2/store/sqlite-connection-close.test.js.map +1 -0
- package/core/dist/runtime-v2/store/sqlite-connection-pragma.test.d.ts +2 -0
- package/core/dist/runtime-v2/store/sqlite-connection-pragma.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/sqlite-connection-pragma.test.js +261 -0
- package/core/dist/runtime-v2/store/sqlite-connection-pragma.test.js.map +1 -0
- package/core/dist/runtime-v2/store/sqlite-connection.d.ts +39 -0
- package/core/dist/runtime-v2/store/sqlite-connection.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/sqlite-connection.js +364 -0
- package/core/dist/runtime-v2/store/sqlite-connection.js.map +1 -0
- package/core/dist/runtime-v2/store/sqlite-run-store.test.d.ts +2 -0
- package/core/dist/runtime-v2/store/sqlite-run-store.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/sqlite-run-store.test.js +152 -0
- package/core/dist/runtime-v2/store/sqlite-run-store.test.js.map +1 -0
- package/core/dist/runtime-v2/store/sqlite-task-store.test.d.ts +2 -0
- package/core/dist/runtime-v2/store/sqlite-task-store.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/sqlite-task-store.test.js +166 -0
- package/core/dist/runtime-v2/store/sqlite-task-store.test.js.map +1 -0
- package/core/dist/runtime-v2/store/task/index.d.ts +4 -0
- package/core/dist/runtime-v2/store/task/index.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/task/index.js +3 -0
- package/core/dist/runtime-v2/store/task/index.js.map +1 -0
- package/core/dist/runtime-v2/store/task/memory-task-store.d.ts +15 -0
- package/core/dist/runtime-v2/store/task/memory-task-store.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/task/memory-task-store.js +43 -0
- package/core/dist/runtime-v2/store/task/memory-task-store.js.map +1 -0
- package/core/dist/runtime-v2/store/task/sqlite-task-store.d.ts +14 -0
- package/core/dist/runtime-v2/store/task/sqlite-task-store.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/task/sqlite-task-store.js +144 -0
- package/core/dist/runtime-v2/store/task/sqlite-task-store.js.map +1 -0
- package/core/dist/runtime-v2/store/task/task-store.d.ts +48 -0
- package/core/dist/runtime-v2/store/task/task-store.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/task/task-store.js +2 -0
- package/core/dist/runtime-v2/store/task/task-store.js.map +1 -0
- package/core/dist/runtime-v2/store/task-migration.d.ts +89 -0
- package/core/dist/runtime-v2/store/task-migration.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/task-migration.js +79 -0
- package/core/dist/runtime-v2/store/task-migration.js.map +1 -0
- package/core/dist/runtime-v2/store/trajectory/index.d.ts +5 -0
- package/core/dist/runtime-v2/store/trajectory/index.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/trajectory/index.js +3 -0
- package/core/dist/runtime-v2/store/trajectory/index.js.map +1 -0
- package/core/dist/runtime-v2/store/trajectory/source-trace-locator.d.ts +40 -0
- package/core/dist/runtime-v2/store/trajectory/source-trace-locator.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/trajectory/source-trace-locator.js +18 -0
- package/core/dist/runtime-v2/store/trajectory/source-trace-locator.js.map +1 -0
- package/core/dist/runtime-v2/store/trajectory/source-trace-locator.test.d.ts +2 -0
- package/core/dist/runtime-v2/store/trajectory/source-trace-locator.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/trajectory/source-trace-locator.test.js +320 -0
- package/core/dist/runtime-v2/store/trajectory/source-trace-locator.test.js.map +1 -0
- package/core/dist/runtime-v2/store/trajectory/sqlite-source-trace-locator.d.ts +23 -0
- package/core/dist/runtime-v2/store/trajectory/sqlite-source-trace-locator.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/trajectory/sqlite-source-trace-locator.js +140 -0
- package/core/dist/runtime-v2/store/trajectory/sqlite-source-trace-locator.js.map +1 -0
- package/core/dist/runtime-v2/store/trajectory/sqlite-trajectory-locator.d.ts +27 -0
- package/core/dist/runtime-v2/store/trajectory/sqlite-trajectory-locator.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/trajectory/sqlite-trajectory-locator.js +183 -0
- package/core/dist/runtime-v2/store/trajectory/sqlite-trajectory-locator.js.map +1 -0
- package/core/dist/runtime-v2/store/trajectory/sqlite-trajectory-locator.test.d.ts +2 -0
- package/core/dist/runtime-v2/store/trajectory/sqlite-trajectory-locator.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/trajectory/sqlite-trajectory-locator.test.js +328 -0
- package/core/dist/runtime-v2/store/trajectory/sqlite-trajectory-locator.test.js.map +1 -0
- package/core/dist/runtime-v2/store/trajectory/trajectory-locator.d.ts +30 -0
- package/core/dist/runtime-v2/store/trajectory/trajectory-locator.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/trajectory/trajectory-locator.js +2 -0
- package/core/dist/runtime-v2/store/trajectory/trajectory-locator.js.map +1 -0
- package/core/dist/runtime-v2/store/workspace-isolation.test.d.ts +2 -0
- package/core/dist/runtime-v2/store/workspace-isolation.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/workspace-isolation.test.js +139 -0
- package/core/dist/runtime-v2/store/workspace-isolation.test.js.map +1 -0
- package/core/dist/runtime-v2/story-a-demo.d.ts +67 -0
- package/core/dist/runtime-v2/story-a-demo.d.ts.map +1 -0
- package/core/dist/runtime-v2/story-a-demo.js +188 -0
- package/core/dist/runtime-v2/story-a-demo.js.map +1 -0
- package/core/dist/runtime-v2/synthetic-baseline.d.ts +28 -0
- package/core/dist/runtime-v2/synthetic-baseline.d.ts.map +1 -0
- package/core/dist/runtime-v2/synthetic-baseline.js +116 -0
- package/core/dist/runtime-v2/synthetic-baseline.js.map +1 -0
- package/core/dist/runtime-v2/task-status.d.ts +99 -0
- package/core/dist/runtime-v2/task-status.d.ts.map +1 -0
- package/core/dist/runtime-v2/task-status.js +88 -0
- package/core/dist/runtime-v2/task-status.js.map +1 -0
- package/core/dist/runtime-v2/trace-refiner-agent.d.ts +71 -0
- package/core/dist/runtime-v2/trace-refiner-agent.d.ts.map +1 -0
- package/core/dist/runtime-v2/trace-refiner-agent.js +239 -0
- package/core/dist/runtime-v2/trace-refiner-agent.js.map +1 -0
- package/core/dist/runtime-v2/trace-refiner.d.ts +47 -0
- package/core/dist/runtime-v2/trace-refiner.d.ts.map +1 -0
- package/core/dist/runtime-v2/trace-refiner.js +261 -0
- package/core/dist/runtime-v2/trace-refiner.js.map +1 -0
- package/core/dist/runtime-v2/types/artifact-lineage.d.ts +19 -0
- package/core/dist/runtime-v2/types/artifact-lineage.d.ts.map +1 -0
- package/core/dist/runtime-v2/types/artifact-lineage.js +6 -0
- package/core/dist/runtime-v2/types/artifact-lineage.js.map +1 -0
- package/core/dist/runtime-v2/types/event-payload.d.ts +232 -0
- package/core/dist/runtime-v2/types/event-payload.d.ts.map +1 -0
- package/core/dist/runtime-v2/types/event-payload.js +149 -0
- package/core/dist/runtime-v2/types/event-payload.js.map +1 -0
- package/core/dist/runtime-v2/types/event-types.d.ts +843 -0
- package/core/dist/runtime-v2/types/event-types.d.ts.map +1 -0
- package/core/dist/runtime-v2/types/event-types.js +486 -0
- package/core/dist/runtime-v2/types/event-types.js.map +1 -0
- package/core/dist/runtime-v2/types/hygiene-types.d.ts +40 -0
- package/core/dist/runtime-v2/types/hygiene-types.d.ts.map +1 -0
- package/core/dist/runtime-v2/types/hygiene-types.js +30 -0
- package/core/dist/runtime-v2/types/hygiene-types.js.map +1 -0
- package/core/dist/runtime-v2/types/index.d.ts +32 -0
- package/core/dist/runtime-v2/types/index.d.ts.map +1 -0
- package/core/dist/runtime-v2/types/index.js +17 -0
- package/core/dist/runtime-v2/types/index.js.map +1 -0
- package/core/dist/runtime-v2/types/pain-signal.d.ts +63 -0
- package/core/dist/runtime-v2/types/pain-signal.d.ts.map +1 -0
- package/core/dist/runtime-v2/types/pain-signal.js +118 -0
- package/core/dist/runtime-v2/types/pain-signal.js.map +1 -0
- package/core/dist/runtime-v2/types/pd-task-types.d.ts +139 -0
- package/core/dist/runtime-v2/types/pd-task-types.d.ts.map +1 -0
- package/core/dist/runtime-v2/types/pd-task-types.js +99 -0
- package/core/dist/runtime-v2/types/pd-task-types.js.map +1 -0
- package/core/dist/runtime-v2/types/principle-dependency.d.ts +15 -0
- package/core/dist/runtime-v2/types/principle-dependency.d.ts.map +1 -0
- package/core/dist/runtime-v2/types/principle-dependency.js +8 -0
- package/core/dist/runtime-v2/types/principle-dependency.js.map +1 -0
- package/core/dist/runtime-v2/types/principle-enums.d.ts +19 -0
- package/core/dist/runtime-v2/types/principle-enums.d.ts.map +1 -0
- package/core/dist/runtime-v2/types/principle-enums.js +59 -0
- package/core/dist/runtime-v2/types/principle-enums.js.map +1 -0
- package/core/dist/runtime-v2/types/principle-lifecycle-event.d.ts +28 -0
- package/core/dist/runtime-v2/types/principle-lifecycle-event.d.ts.map +1 -0
- package/core/dist/runtime-v2/types/principle-lifecycle-event.js +24 -0
- package/core/dist/runtime-v2/types/principle-lifecycle-event.js.map +1 -0
- package/core/dist/runtime-v2/types/principle-schema.d.ts +136 -0
- package/core/dist/runtime-v2/types/principle-schema.d.ts.map +1 -0
- package/core/dist/runtime-v2/types/principle-schema.js +71 -0
- package/core/dist/runtime-v2/types/principle-schema.js.map +1 -0
- package/core/dist/runtime-v2/types/principle-tree-store.d.ts +89 -0
- package/core/dist/runtime-v2/types/principle-tree-store.d.ts.map +1 -0
- package/core/dist/runtime-v2/types/principle-tree-store.js +11 -0
- package/core/dist/runtime-v2/types/principle-tree-store.js.map +1 -0
- package/core/dist/runtime-v2/types/principle-value-metrics.d.ts +27 -0
- package/core/dist/runtime-v2/types/principle-value-metrics.d.ts.map +1 -0
- package/core/dist/runtime-v2/types/principle-value-metrics.js +14 -0
- package/core/dist/runtime-v2/types/principle-value-metrics.js.map +1 -0
- package/core/dist/runtime-v2/types/queue-types.d.ts +51 -0
- package/core/dist/runtime-v2/types/queue-types.d.ts.map +1 -0
- package/core/dist/runtime-v2/types/queue-types.js +44 -0
- package/core/dist/runtime-v2/types/queue-types.js.map +1 -0
- package/core/dist/runtime-v2/types/replay-types.d.ts +40 -0
- package/core/dist/runtime-v2/types/replay-types.d.ts.map +1 -0
- package/core/dist/runtime-v2/types/replay-types.js +2 -0
- package/core/dist/runtime-v2/types/replay-types.js.map +1 -0
- package/core/dist/runtime-v2/types/runtime-summary-types.d.ts +93 -0
- package/core/dist/runtime-v2/types/runtime-summary-types.d.ts.map +1 -0
- package/core/dist/runtime-v2/types/runtime-summary-types.js +35 -0
- package/core/dist/runtime-v2/types/runtime-summary-types.js.map +1 -0
- package/core/dist/runtime-v2/utils/cli-process-runner.d.ts +35 -0
- package/core/dist/runtime-v2/utils/cli-process-runner.d.ts.map +1 -0
- package/core/dist/runtime-v2/utils/cli-process-runner.js +259 -0
- package/core/dist/runtime-v2/utils/cli-process-runner.js.map +1 -0
- package/core/dist/runtime-v2/utils/cli-process-runner.test.d.ts +2 -0
- package/core/dist/runtime-v2/utils/cli-process-runner.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/utils/cli-process-runner.test.js +111 -0
- package/core/dist/runtime-v2/utils/cli-process-runner.test.js.map +1 -0
- package/core/dist/storage-adapter.d.ts +59 -0
- package/core/dist/storage-adapter.d.ts.map +1 -0
- package/core/dist/storage-adapter.js +2 -0
- package/core/dist/storage-adapter.js.map +1 -0
- package/core/dist/telemetry-event.d.ts +102 -0
- package/core/dist/telemetry-event.d.ts.map +1 -0
- package/core/dist/telemetry-event.js +186 -0
- package/core/dist/telemetry-event.js.map +1 -0
- package/core/dist/trajectory-store.d.ts +45 -0
- package/core/dist/trajectory-store.d.ts.map +1 -0
- package/core/dist/trajectory-store.js +139 -0
- package/core/dist/trajectory-store.js.map +1 -0
- package/core/dist/types/workspace-resolver.d.ts +25 -0
- package/core/dist/types/workspace-resolver.d.ts.map +1 -0
- package/core/dist/types/workspace-resolver.js +10 -0
- package/core/dist/types/workspace-resolver.js.map +1 -0
- package/core/dist/types.d.ts +56 -0
- package/core/dist/types.d.ts.map +1 -0
- package/core/dist/types.js +16 -0
- package/core/dist/types.js.map +1 -0
- package/core/dist/workflow-funnel-loader.d.ts +143 -0
- package/core/dist/workflow-funnel-loader.d.ts.map +1 -0
- package/core/dist/workflow-funnel-loader.js +174 -0
- package/core/dist/workflow-funnel-loader.js.map +1 -0
- package/core/package.json +100 -0
- package/dist/i18n.d.ts +6 -0
- package/dist/i18n.d.ts.map +1 -0
- package/dist/i18n.js +176 -0
- package/dist/i18n.js.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +203 -122
- package/dist/index.js.map +1 -1
- package/dist/installer.d.ts +21 -6
- package/dist/installer.d.ts.map +1 -1
- package/dist/installer.js +846 -178
- package/dist/installer.js.map +1 -1
- package/dist/mvp-config.d.ts +81 -0
- package/dist/mvp-config.d.ts.map +1 -0
- package/dist/mvp-config.js +265 -0
- package/dist/mvp-config.js.map +1 -0
- package/dist/prompts.d.ts +8 -11
- package/dist/prompts.d.ts.map +1 -1
- package/dist/prompts.js +52 -80
- package/dist/prompts.js.map +1 -1
- package/dist/uninstaller.d.ts +6 -4
- package/dist/uninstaller.d.ts.map +1 -1
- package/dist/uninstaller.js +238 -51
- package/dist/uninstaller.js.map +1 -1
- package/dist/updater.d.ts +45 -0
- package/dist/updater.d.ts.map +1 -0
- package/dist/updater.js +333 -0
- package/dist/updater.js.map +1 -0
- package/dist/utils/env.d.ts +8 -0
- package/dist/utils/env.d.ts.map +1 -1
- package/dist/utils/env.js +79 -3
- package/dist/utils/env.js.map +1 -1
- package/dist/utils/logger.d.ts +1 -0
- package/dist/utils/logger.d.ts.map +1 -1
- package/dist/utils/logger.js +16 -8
- package/dist/utils/logger.js.map +1 -1
- package/package.json +24 -9
- package/pd-cli/dist/commands/artifact.d.ts +14 -0
- package/pd-cli/dist/commands/artifact.d.ts.map +1 -0
- package/pd-cli/dist/commands/artifact.js +67 -0
- package/pd-cli/dist/commands/artifact.js.map +1 -0
- package/pd-cli/dist/commands/candidate.d.ts +83 -0
- package/pd-cli/dist/commands/candidate.d.ts.map +1 -0
- package/pd-cli/dist/commands/candidate.js +891 -0
- package/pd-cli/dist/commands/candidate.js.map +1 -0
- package/pd-cli/dist/commands/central-sync.d.ts +10 -0
- package/pd-cli/dist/commands/central-sync.d.ts.map +1 -0
- package/pd-cli/dist/commands/central-sync.js +32 -0
- package/pd-cli/dist/commands/central-sync.js.map +1 -0
- package/pd-cli/dist/commands/console.d.ts +9 -0
- package/pd-cli/dist/commands/console.d.ts.map +1 -0
- package/pd-cli/dist/commands/console.js +114 -0
- package/pd-cli/dist/commands/console.js.map +1 -0
- package/pd-cli/dist/commands/context.d.ts +7 -0
- package/pd-cli/dist/commands/context.d.ts.map +1 -0
- package/pd-cli/dist/commands/context.js +55 -0
- package/pd-cli/dist/commands/context.js.map +1 -0
- package/pd-cli/dist/commands/demo-story-a.d.ts +12 -0
- package/pd-cli/dist/commands/demo-story-a.d.ts.map +1 -0
- package/pd-cli/dist/commands/demo-story-a.js +175 -0
- package/pd-cli/dist/commands/demo-story-a.js.map +1 -0
- package/pd-cli/dist/commands/diagnose.d.ts +35 -0
- package/pd-cli/dist/commands/diagnose.d.ts.map +1 -0
- package/pd-cli/dist/commands/diagnose.js +390 -0
- package/pd-cli/dist/commands/diagnose.js.map +1 -0
- package/pd-cli/dist/commands/evolution-tasks-list.d.ts +15 -0
- package/pd-cli/dist/commands/evolution-tasks-list.d.ts.map +1 -0
- package/pd-cli/dist/commands/evolution-tasks-list.js +34 -0
- package/pd-cli/dist/commands/evolution-tasks-list.js.map +1 -0
- package/pd-cli/dist/commands/evolution-tasks-show.d.ts +14 -0
- package/pd-cli/dist/commands/evolution-tasks-show.d.ts.map +1 -0
- package/pd-cli/dist/commands/evolution-tasks-show.js +52 -0
- package/pd-cli/dist/commands/evolution-tasks-show.js.map +1 -0
- package/pd-cli/dist/commands/flow.d.ts +7 -0
- package/pd-cli/dist/commands/flow.d.ts.map +1 -0
- package/pd-cli/dist/commands/flow.js +57 -0
- package/pd-cli/dist/commands/flow.js.map +1 -0
- package/pd-cli/dist/commands/health.d.ts +16 -0
- package/pd-cli/dist/commands/health.d.ts.map +1 -0
- package/pd-cli/dist/commands/health.js +150 -0
- package/pd-cli/dist/commands/health.js.map +1 -0
- package/pd-cli/dist/commands/history.d.ts +11 -0
- package/pd-cli/dist/commands/history.d.ts.map +1 -0
- package/pd-cli/dist/commands/history.js +50 -0
- package/pd-cli/dist/commands/history.js.map +1 -0
- package/pd-cli/dist/commands/legacy-cleanup.d.ts +27 -0
- package/pd-cli/dist/commands/legacy-cleanup.d.ts.map +1 -0
- package/pd-cli/dist/commands/legacy-cleanup.js +171 -0
- package/pd-cli/dist/commands/legacy-cleanup.js.map +1 -0
- package/pd-cli/dist/commands/legacy-import.d.ts +7 -0
- package/pd-cli/dist/commands/legacy-import.d.ts.map +1 -0
- package/pd-cli/dist/commands/legacy-import.js +86 -0
- package/pd-cli/dist/commands/legacy-import.js.map +1 -0
- package/pd-cli/dist/commands/pain-record.d.ts +10 -0
- package/pd-cli/dist/commands/pain-record.d.ts.map +1 -0
- package/pd-cli/dist/commands/pain-record.js +162 -0
- package/pd-cli/dist/commands/pain-record.js.map +1 -0
- package/pd-cli/dist/commands/proven-channel-baseline.d.ts +12 -0
- package/pd-cli/dist/commands/proven-channel-baseline.d.ts.map +1 -0
- package/pd-cli/dist/commands/proven-channel-baseline.js +97 -0
- package/pd-cli/dist/commands/proven-channel-baseline.js.map +1 -0
- package/pd-cli/dist/commands/remediation-output.d.ts +40 -0
- package/pd-cli/dist/commands/remediation-output.d.ts.map +1 -0
- package/pd-cli/dist/commands/remediation-output.js +23 -0
- package/pd-cli/dist/commands/remediation-output.js.map +1 -0
- package/pd-cli/dist/commands/run.d.ts +10 -0
- package/pd-cli/dist/commands/run.d.ts.map +1 -0
- package/pd-cli/dist/commands/run.js +68 -0
- package/pd-cli/dist/commands/run.js.map +1 -0
- package/pd-cli/dist/commands/runtime-activation.d.ts +11 -0
- package/pd-cli/dist/commands/runtime-activation.d.ts.map +1 -0
- package/pd-cli/dist/commands/runtime-activation.js +150 -0
- package/pd-cli/dist/commands/runtime-activation.js.map +1 -0
- package/pd-cli/dist/commands/runtime-canary.d.ts +30 -0
- package/pd-cli/dist/commands/runtime-canary.d.ts.map +1 -0
- package/pd-cli/dist/commands/runtime-canary.js +343 -0
- package/pd-cli/dist/commands/runtime-canary.js.map +1 -0
- package/pd-cli/dist/commands/runtime-diagnostics-export.d.ts +20 -0
- package/pd-cli/dist/commands/runtime-diagnostics-export.d.ts.map +1 -0
- package/pd-cli/dist/commands/runtime-diagnostics-export.js +177 -0
- package/pd-cli/dist/commands/runtime-diagnostics-export.js.map +1 -0
- package/pd-cli/dist/commands/runtime-features.d.ts +26 -0
- package/pd-cli/dist/commands/runtime-features.d.ts.map +1 -0
- package/pd-cli/dist/commands/runtime-features.js +70 -0
- package/pd-cli/dist/commands/runtime-features.js.map +1 -0
- package/pd-cli/dist/commands/runtime-gfi-snapshot.d.ts +7 -0
- package/pd-cli/dist/commands/runtime-gfi-snapshot.d.ts.map +1 -0
- package/pd-cli/dist/commands/runtime-gfi-snapshot.js +101 -0
- package/pd-cli/dist/commands/runtime-gfi-snapshot.js.map +1 -0
- package/pd-cli/dist/commands/runtime-health-snapshot.d.ts +7 -0
- package/pd-cli/dist/commands/runtime-health-snapshot.d.ts.map +1 -0
- package/pd-cli/dist/commands/runtime-health-snapshot.js +93 -0
- package/pd-cli/dist/commands/runtime-health-snapshot.js.map +1 -0
- package/pd-cli/dist/commands/runtime-internalization-enqueue-successors.d.ts +9 -0
- package/pd-cli/dist/commands/runtime-internalization-enqueue-successors.d.ts.map +1 -0
- package/pd-cli/dist/commands/runtime-internalization-enqueue-successors.js +393 -0
- package/pd-cli/dist/commands/runtime-internalization-enqueue-successors.js.map +1 -0
- package/pd-cli/dist/commands/runtime-internalization-integrity-repair.d.ts +9 -0
- package/pd-cli/dist/commands/runtime-internalization-integrity-repair.d.ts.map +1 -0
- package/pd-cli/dist/commands/runtime-internalization-integrity-repair.js +54 -0
- package/pd-cli/dist/commands/runtime-internalization-integrity-repair.js.map +1 -0
- package/pd-cli/dist/commands/runtime-internalization-integrity.d.ts +7 -0
- package/pd-cli/dist/commands/runtime-internalization-integrity.d.ts.map +1 -0
- package/pd-cli/dist/commands/runtime-internalization-integrity.js +53 -0
- package/pd-cli/dist/commands/runtime-internalization-integrity.js.map +1 -0
- package/pd-cli/dist/commands/runtime-internalization-queue.d.ts +7 -0
- package/pd-cli/dist/commands/runtime-internalization-queue.d.ts.map +1 -0
- package/pd-cli/dist/commands/runtime-internalization-queue.js +85 -0
- package/pd-cli/dist/commands/runtime-internalization-queue.js.map +1 -0
- package/pd-cli/dist/commands/runtime-internalization-run-once.d.ts +12 -0
- package/pd-cli/dist/commands/runtime-internalization-run-once.d.ts.map +1 -0
- package/pd-cli/dist/commands/runtime-internalization-run-once.js +546 -0
- package/pd-cli/dist/commands/runtime-internalization-run-once.js.map +1 -0
- package/pd-cli/dist/commands/runtime-internalization-wake-once.d.ts +8 -0
- package/pd-cli/dist/commands/runtime-internalization-wake-once.d.ts.map +1 -0
- package/pd-cli/dist/commands/runtime-internalization-wake-once.js +72 -0
- package/pd-cli/dist/commands/runtime-internalization-wake-once.js.map +1 -0
- package/pd-cli/dist/commands/runtime-pain-flood-simulation.d.ts +10 -0
- package/pd-cli/dist/commands/runtime-pain-flood-simulation.d.ts.map +1 -0
- package/pd-cli/dist/commands/runtime-pain-flood-simulation.js +104 -0
- package/pd-cli/dist/commands/runtime-pain-flood-simulation.js.map +1 -0
- package/pd-cli/dist/commands/runtime-pruning.d.ts +45 -0
- package/pd-cli/dist/commands/runtime-pruning.d.ts.map +1 -0
- package/pd-cli/dist/commands/runtime-pruning.js +355 -0
- package/pd-cli/dist/commands/runtime-pruning.js.map +1 -0
- package/pd-cli/dist/commands/runtime-recovery.d.ts +9 -0
- package/pd-cli/dist/commands/runtime-recovery.d.ts.map +1 -0
- package/pd-cli/dist/commands/runtime-recovery.js +94 -0
- package/pd-cli/dist/commands/runtime-recovery.js.map +1 -0
- package/pd-cli/dist/commands/runtime-synthetic-baseline.d.ts +7 -0
- package/pd-cli/dist/commands/runtime-synthetic-baseline.d.ts.map +1 -0
- package/pd-cli/dist/commands/runtime-synthetic-baseline.js +59 -0
- package/pd-cli/dist/commands/runtime-synthetic-baseline.js.map +1 -0
- package/pd-cli/dist/commands/runtime-uat.d.ts +52 -0
- package/pd-cli/dist/commands/runtime-uat.d.ts.map +1 -0
- package/pd-cli/dist/commands/runtime-uat.js +274 -0
- package/pd-cli/dist/commands/runtime-uat.js.map +1 -0
- package/pd-cli/dist/commands/runtime.d.ts +20 -0
- package/pd-cli/dist/commands/runtime.d.ts.map +1 -0
- package/pd-cli/dist/commands/runtime.js +256 -0
- package/pd-cli/dist/commands/runtime.js.map +1 -0
- package/pd-cli/dist/commands/samples-list.d.ts +11 -0
- package/pd-cli/dist/commands/samples-list.d.ts.map +1 -0
- package/pd-cli/dist/commands/samples-list.js +37 -0
- package/pd-cli/dist/commands/samples-list.js.map +1 -0
- package/pd-cli/dist/commands/samples-review.d.ts +14 -0
- package/pd-cli/dist/commands/samples-review.d.ts.map +1 -0
- package/pd-cli/dist/commands/samples-review.js +22 -0
- package/pd-cli/dist/commands/samples-review.js.map +1 -0
- package/pd-cli/dist/commands/task.d.ts +14 -0
- package/pd-cli/dist/commands/task.d.ts.map +1 -0
- package/pd-cli/dist/commands/task.js +92 -0
- package/pd-cli/dist/commands/task.js.map +1 -0
- package/pd-cli/dist/commands/trace.d.ts +19 -0
- package/pd-cli/dist/commands/trace.d.ts.map +1 -0
- package/pd-cli/dist/commands/trace.js +154 -0
- package/pd-cli/dist/commands/trace.js.map +1 -0
- package/pd-cli/dist/commands/trajectory.d.ts +11 -0
- package/pd-cli/dist/commands/trajectory.d.ts.map +1 -0
- package/pd-cli/dist/commands/trajectory.js +47 -0
- package/pd-cli/dist/commands/trajectory.js.map +1 -0
- package/pd-cli/dist/index.d.ts +9 -0
- package/pd-cli/dist/index.d.ts.map +1 -0
- package/pd-cli/dist/index.js +739 -0
- package/pd-cli/dist/index.js.map +1 -0
- package/pd-cli/dist/legacy/legacy-import.d.ts +15 -0
- package/pd-cli/dist/legacy/legacy-import.d.ts.map +1 -0
- package/pd-cli/dist/legacy/legacy-import.js +141 -0
- package/pd-cli/dist/legacy/legacy-import.js.map +1 -0
- package/pd-cli/dist/legacy/session-history-import.d.ts +26 -0
- package/pd-cli/dist/legacy/session-history-import.d.ts.map +1 -0
- package/pd-cli/dist/legacy/session-history-import.js +151 -0
- package/pd-cli/dist/legacy/session-history-import.js.map +1 -0
- package/pd-cli/dist/principle-tree-ledger-adapter.d.ts +12 -0
- package/pd-cli/dist/principle-tree-ledger-adapter.d.ts.map +1 -0
- package/pd-cli/dist/principle-tree-ledger-adapter.js +12 -0
- package/pd-cli/dist/principle-tree-ledger-adapter.js.map +1 -0
- package/pd-cli/dist/resolve-workspace.d.ts +12 -0
- package/pd-cli/dist/resolve-workspace.d.ts.map +1 -0
- package/pd-cli/dist/resolve-workspace.js +20 -0
- package/pd-cli/dist/resolve-workspace.js.map +1 -0
- package/pd-cli/dist/services/demo-story-a-runner.d.ts +8 -0
- package/pd-cli/dist/services/demo-story-a-runner.d.ts.map +1 -0
- package/pd-cli/dist/services/demo-story-a-runner.js +369 -0
- package/pd-cli/dist/services/demo-story-a-runner.js.map +1 -0
- package/pd-cli/dist/services/feature-flag-loader.d.ts +6 -0
- package/pd-cli/dist/services/feature-flag-loader.d.ts.map +1 -0
- package/pd-cli/dist/services/feature-flag-loader.js +54 -0
- package/pd-cli/dist/services/feature-flag-loader.js.map +1 -0
- package/pd-cli/dist/services/pain-flood-simulation-runner.d.ts +10 -0
- package/pd-cli/dist/services/pain-flood-simulation-runner.d.ts.map +1 -0
- package/pd-cli/dist/services/pain-flood-simulation-runner.js +289 -0
- package/pd-cli/dist/services/pain-flood-simulation-runner.js.map +1 -0
- package/pd-cli/dist/services/proven-channel-baseline-runner.d.ts +12 -0
- package/pd-cli/dist/services/proven-channel-baseline-runner.d.ts.map +1 -0
- package/pd-cli/dist/services/proven-channel-baseline-runner.js +114 -0
- package/pd-cli/dist/services/proven-channel-baseline-runner.js.map +1 -0
- package/pd-cli/dist/services/synthetic-baseline-runner.d.ts +8 -0
- package/pd-cli/dist/services/synthetic-baseline-runner.d.ts.map +1 -0
- package/pd-cli/dist/services/synthetic-baseline-runner.js +251 -0
- package/pd-cli/dist/services/synthetic-baseline-runner.js.map +1 -0
- package/pd-cli/package.json +35 -0
- package/plugin/dist/commands/archive-impl.d.ts +18 -0
- package/plugin/dist/commands/archive-impl.js +105 -0
- package/plugin/dist/commands/capabilities.d.ts +3 -0
- package/plugin/dist/commands/capabilities.js +76 -0
- package/plugin/dist/commands/context.d.ts +5 -0
- package/plugin/dist/commands/context.js +293 -0
- package/plugin/dist/commands/disable-impl.d.ts +22 -0
- package/plugin/dist/commands/disable-impl.js +118 -0
- package/plugin/dist/commands/evolution-status.d.ts +4 -0
- package/plugin/dist/commands/evolution-status.js +187 -0
- package/plugin/dist/commands/export.d.ts +2 -0
- package/plugin/dist/commands/export.js +53 -0
- package/plugin/dist/commands/focus.d.ts +14 -0
- package/plugin/dist/commands/focus.js +443 -0
- package/plugin/dist/commands/pain.d.ts +6 -0
- package/plugin/dist/commands/pain.js +309 -0
- package/plugin/dist/commands/principle-rollback.d.ts +4 -0
- package/plugin/dist/commands/principle-rollback.js +26 -0
- package/plugin/dist/commands/promote-impl.d.ts +22 -0
- package/plugin/dist/commands/promote-impl.js +194 -0
- package/plugin/dist/commands/rollback-impl.d.ts +32 -0
- package/plugin/dist/commands/rollback-impl.js +180 -0
- package/plugin/dist/commands/rollback.d.ts +19 -0
- package/plugin/dist/commands/rollback.js +126 -0
- package/plugin/dist/commands/samples.d.ts +2 -0
- package/plugin/dist/commands/samples.js +58 -0
- package/plugin/dist/commands/strategy.d.ts +3 -0
- package/plugin/dist/commands/strategy.js +30 -0
- package/plugin/dist/commands/thinking-os.d.ts +2 -0
- package/plugin/dist/commands/thinking-os.js +164 -0
- package/plugin/dist/commands/workflow-debug.d.ts +6 -0
- package/plugin/dist/commands/workflow-debug.js +111 -0
- package/plugin/dist/config/defaults/runtime.d.ts +64 -0
- package/plugin/dist/config/defaults/runtime.js +81 -0
- package/plugin/dist/config/errors.d.ts +86 -0
- package/plugin/dist/config/errors.js +107 -0
- package/plugin/dist/config/index.d.ts +7 -0
- package/plugin/dist/config/index.js +7 -0
- package/plugin/dist/constants/diagnostician.d.ts +12 -0
- package/plugin/dist/constants/diagnostician.js +65 -0
- package/plugin/dist/constants/tools.d.ts +17 -0
- package/plugin/dist/constants/tools.js +53 -0
- package/plugin/dist/core/__tests__/focus-history.test.d.ts +1 -0
- package/plugin/dist/core/__tests__/focus-history.test.js +160 -0
- package/plugin/dist/core/bootstrap-rules.d.ts +50 -0
- package/plugin/dist/core/bootstrap-rules.js +187 -0
- package/plugin/dist/core/code-implementation-storage.d.ts +80 -0
- package/plugin/dist/core/code-implementation-storage.js +173 -0
- package/plugin/dist/core/config-service.d.ts +15 -0
- package/plugin/dist/core/config-service.js +26 -0
- package/plugin/dist/core/config.d.ts +111 -0
- package/plugin/dist/core/config.js +191 -0
- package/plugin/dist/core/confirm-first-gate.d.ts +59 -0
- package/plugin/dist/core/confirm-first-gate.js +215 -0
- package/plugin/dist/core/control-ui-db.d.ts +106 -0
- package/plugin/dist/core/control-ui-db.js +309 -0
- package/plugin/dist/core/correction-cue-learner.d.ts +33 -0
- package/plugin/dist/core/correction-cue-learner.js +184 -0
- package/plugin/dist/core/correction-types.d.ts +3 -0
- package/plugin/dist/core/correction-types.js +1 -0
- package/plugin/dist/core/detection-funnel.d.ts +33 -0
- package/plugin/dist/core/detection-funnel.js +104 -0
- package/plugin/dist/core/detection-service.d.ts +15 -0
- package/plugin/dist/core/detection-service.js +28 -0
- package/plugin/dist/core/dictionary-service.d.ts +15 -0
- package/plugin/dist/core/dictionary-service.js +26 -0
- package/plugin/dist/core/dictionary.d.ts +38 -0
- package/plugin/dist/core/dictionary.js +148 -0
- package/plugin/dist/core/empathy-keyword-matcher.d.ts +5 -0
- package/plugin/dist/core/empathy-keyword-matcher.js +40 -0
- package/plugin/dist/core/empathy-types.d.ts +2 -0
- package/plugin/dist/core/empathy-types.js +1 -0
- package/plugin/dist/core/event-log.d.ts +73 -0
- package/plugin/dist/core/event-log.js +613 -0
- package/plugin/dist/core/evolution-engine.d.ts +119 -0
- package/plugin/dist/core/evolution-engine.js +460 -0
- package/plugin/dist/core/evolution-hook.d.ts +54 -0
- package/plugin/dist/core/evolution-hook.js +9 -0
- package/plugin/dist/core/evolution-logger.d.ts +137 -0
- package/plugin/dist/core/evolution-logger.js +261 -0
- package/plugin/dist/core/evolution-migration.d.ts +5 -0
- package/plugin/dist/core/evolution-migration.js +65 -0
- package/plugin/dist/core/evolution-reducer.d.ts +124 -0
- package/plugin/dist/core/evolution-reducer.js +730 -0
- package/plugin/dist/core/evolution-types.d.ts +50 -0
- package/plugin/dist/core/evolution-types.js +11 -0
- package/plugin/dist/core/external-training-contract.d.ts +276 -0
- package/plugin/dist/core/external-training-contract.js +269 -0
- package/plugin/dist/core/file-storage-adapter.d.ts +43 -0
- package/plugin/dist/core/file-storage-adapter.js +158 -0
- package/plugin/dist/core/file-store.d.ts +41 -0
- package/plugin/dist/core/file-store.js +46 -0
- package/plugin/dist/core/focus-history.d.ts +50 -0
- package/plugin/dist/core/focus-history.js +574 -0
- package/plugin/dist/core/hygiene/tracker.d.ts +22 -0
- package/plugin/dist/core/hygiene/tracker.js +110 -0
- package/plugin/dist/core/init.d.ts +30 -0
- package/plugin/dist/core/init.js +259 -0
- package/plugin/dist/core/local-worker-routing.d.ts +124 -0
- package/plugin/dist/core/local-worker-routing.js +216 -0
- package/plugin/dist/core/merge-gate-audit.d.ts +21 -0
- package/plugin/dist/core/merge-gate-audit.js +241 -0
- package/plugin/dist/core/migration.d.ts +6 -0
- package/plugin/dist/core/migration.js +87 -0
- package/plugin/dist/core/model-deployment-registry.d.ts +218 -0
- package/plugin/dist/core/model-deployment-registry.js +502 -0
- package/plugin/dist/core/model-training-registry.d.ts +295 -0
- package/plugin/dist/core/model-training-registry.js +474 -0
- package/plugin/dist/core/observability.d.ts +40 -0
- package/plugin/dist/core/observability.js +164 -0
- package/plugin/dist/core/pain-context-extractor.d.ts +31 -0
- package/plugin/dist/core/pain-context-extractor.js +278 -0
- package/plugin/dist/core/pain-diagnostic-gate.d.ts +30 -0
- package/plugin/dist/core/pain-diagnostic-gate.js +96 -0
- package/plugin/dist/core/pain-lifecycle.d.ts +15 -0
- package/plugin/dist/core/pain-lifecycle.js +37 -0
- package/plugin/dist/core/pain-signal-adapter.d.ts +37 -0
- package/plugin/dist/core/pain-signal-adapter.js +1 -0
- package/plugin/dist/core/pain-signal.d.ts +6 -0
- package/plugin/dist/core/pain-signal.js +3 -0
- package/plugin/dist/core/pain.d.ts +87 -0
- package/plugin/dist/core/pain.js +223 -0
- package/plugin/dist/core/path-resolver.d.ts +60 -0
- package/plugin/dist/core/path-resolver.js +359 -0
- package/plugin/dist/core/paths.d.ts +67 -0
- package/plugin/dist/core/paths.js +83 -0
- package/plugin/dist/core/pd-task-reconciler.d.ts +89 -0
- package/plugin/dist/core/pd-task-reconciler.js +262 -0
- package/plugin/dist/core/pd-task-service.d.ts +2 -0
- package/plugin/dist/core/pd-task-service.js +32 -0
- package/plugin/dist/core/pd-task-store.d.ts +5 -0
- package/plugin/dist/core/pd-task-store.js +62 -0
- package/plugin/dist/core/pd-task-types.d.ts +8 -0
- package/plugin/dist/core/pd-task-types.js +2 -0
- package/plugin/dist/core/principle-compiler/__tests__/compiler-replay-gate.test.d.ts +1 -0
- package/plugin/dist/core/principle-compiler/__tests__/compiler-replay-gate.test.js +132 -0
- package/plugin/dist/core/principle-compiler/code-validator.d.ts +14 -0
- package/plugin/dist/core/principle-compiler/code-validator.js +83 -0
- package/plugin/dist/core/principle-compiler/compiler.d.ts +45 -0
- package/plugin/dist/core/principle-compiler/compiler.js +287 -0
- package/plugin/dist/core/principle-compiler/index.d.ts +12 -0
- package/plugin/dist/core/principle-compiler/index.js +10 -0
- package/plugin/dist/core/principle-compiler/ledger-registrar.d.ts +28 -0
- package/plugin/dist/core/principle-compiler/ledger-registrar.js +95 -0
- package/plugin/dist/core/principle-compiler/template-generator.d.ts +7 -0
- package/plugin/dist/core/principle-compiler/template-generator.js +7 -0
- package/plugin/dist/core/principle-injection.d.ts +10 -0
- package/plugin/dist/core/principle-injection.js +10 -0
- package/plugin/dist/core/principle-injector.d.ts +55 -0
- package/plugin/dist/core/principle-injector.js +17 -0
- package/plugin/dist/core/principle-internalization/filesystem-lifecycle-datasource.d.ts +15 -0
- package/plugin/dist/core/principle-internalization/filesystem-lifecycle-datasource.js +34 -0
- package/plugin/dist/core/principle-internalization/lifecycle-read-model.d.ts +17 -0
- package/plugin/dist/core/principle-internalization/lifecycle-read-model.js +21 -0
- package/plugin/dist/core/principle-internalization/lifecycle-refresh.d.ts +2 -0
- package/plugin/dist/core/principle-internalization/lifecycle-refresh.js +4 -0
- package/plugin/dist/core/principle-internalization/principle-lifecycle-service.d.ts +28 -0
- package/plugin/dist/core/principle-internalization/principle-lifecycle-service.js +89 -0
- package/plugin/dist/core/principle-training-state.d.ts +47 -0
- package/plugin/dist/core/principle-training-state.js +113 -0
- package/plugin/dist/core/principle-tree-ledger-adapter.d.ts +32 -0
- package/plugin/dist/core/principle-tree-ledger-adapter.js +125 -0
- package/plugin/dist/core/principle-tree-ledger.d.ts +86 -0
- package/plugin/dist/core/principle-tree-ledger.js +534 -0
- package/plugin/dist/core/principle-tree-migration.d.ts +35 -0
- package/plugin/dist/core/principle-tree-migration.js +137 -0
- package/plugin/dist/core/profile.d.ts +62 -0
- package/plugin/dist/core/profile.js +211 -0
- package/plugin/dist/core/promotion-gate.d.ts +243 -0
- package/plugin/dist/core/promotion-gate.js +554 -0
- package/plugin/dist/core/reflection/reflection-context.d.ts +31 -0
- package/plugin/dist/core/reflection/reflection-context.js +91 -0
- package/plugin/dist/core/replay-engine.d.ts +12 -0
- package/plugin/dist/core/replay-engine.js +82 -0
- package/plugin/dist/core/risk-calculator.d.ts +22 -0
- package/plugin/dist/core/risk-calculator.js +88 -0
- package/plugin/dist/core/rule-host-helpers.d.ts +8 -0
- package/plugin/dist/core/rule-host-helpers.js +7 -0
- package/plugin/dist/core/rule-host-types.d.ts +7 -0
- package/plugin/dist/core/rule-host-types.js +7 -0
- package/plugin/dist/core/rule-host.d.ts +56 -0
- package/plugin/dist/core/rule-host.js +152 -0
- package/plugin/dist/core/rule-implementation-runtime.d.ts +5 -0
- package/plugin/dist/core/rule-implementation-runtime.js +24 -0
- package/plugin/dist/core/runtime-v2-prompt-activation-reader.d.ts +27 -0
- package/plugin/dist/core/runtime-v2-prompt-activation-reader.js +181 -0
- package/plugin/dist/core/schema/db-types.d.ts +11 -0
- package/plugin/dist/core/schema/db-types.js +5 -0
- package/plugin/dist/core/schema/index.d.ts +17 -0
- package/plugin/dist/core/schema/index.js +15 -0
- package/plugin/dist/core/schema/migration-runner.d.ts +53 -0
- package/plugin/dist/core/schema/migration-runner.js +170 -0
- package/plugin/dist/core/schema/migrations/001-init-trajectory.d.ts +6 -0
- package/plugin/dist/core/schema/migrations/001-init-trajectory.js +193 -0
- package/plugin/dist/core/schema/migrations/002-init-central.d.ts +5 -0
- package/plugin/dist/core/schema/migrations/002-init-central.js +108 -0
- package/plugin/dist/core/schema/migrations/003-init-workflow.d.ts +5 -0
- package/plugin/dist/core/schema/migrations/003-init-workflow.js +50 -0
- package/plugin/dist/core/schema/migrations/004-add-thinking-and-gfi.d.ts +8 -0
- package/plugin/dist/core/schema/migrations/004-add-thinking-and-gfi.js +66 -0
- package/plugin/dist/core/schema/migrations/index.d.ts +16 -0
- package/plugin/dist/core/schema/migrations/index.js +27 -0
- package/plugin/dist/core/schema/schema-definitions.d.ts +46 -0
- package/plugin/dist/core/schema/schema-definitions.js +601 -0
- package/plugin/dist/core/session-tracker.d.ts +119 -0
- package/plugin/dist/core/session-tracker.js +462 -0
- package/plugin/dist/core/shadow-observation-registry.d.ts +217 -0
- package/plugin/dist/core/shadow-observation-registry.js +280 -0
- package/plugin/dist/core/storage-adapter.d.ts +58 -0
- package/plugin/dist/core/storage-adapter.js +1 -0
- package/plugin/dist/core/system-logger.d.ts +8 -0
- package/plugin/dist/core/system-logger.js +113 -0
- package/plugin/dist/core/telemetry-event.d.ts +66 -0
- package/plugin/dist/core/telemetry-event.js +86 -0
- package/plugin/dist/core/thinking-models.d.ts +69 -0
- package/plugin/dist/core/thinking-models.js +320 -0
- package/plugin/dist/core/thinking-os-parser.d.ts +35 -0
- package/plugin/dist/core/thinking-os-parser.js +123 -0
- package/plugin/dist/core/training-program.d.ts +233 -0
- package/plugin/dist/core/training-program.js +435 -0
- package/plugin/dist/core/trajectory-types.d.ts +216 -0
- package/plugin/dist/core/trajectory-types.js +8 -0
- package/plugin/dist/core/trajectory.d.ts +242 -0
- package/plugin/dist/core/trajectory.js +1450 -0
- package/plugin/dist/core/workflow-funnel-loader.d.ts +72 -0
- package/plugin/dist/core/workflow-funnel-loader.js +135 -0
- package/plugin/dist/core/workspace-context.d.ts +111 -0
- package/plugin/dist/core/workspace-context.js +247 -0
- package/plugin/dist/core/workspace-dir-service.d.ts +33 -0
- package/plugin/dist/core/workspace-dir-service.js +71 -0
- package/plugin/dist/core/workspace-dir-validation.d.ts +11 -0
- package/plugin/dist/core/workspace-dir-validation.js +37 -0
- package/plugin/dist/hooks/gate-block-helper.d.ts +44 -0
- package/plugin/dist/hooks/gate-block-helper.js +168 -0
- package/plugin/dist/hooks/gate.d.ts +16 -0
- package/plugin/dist/hooks/gate.js +424 -0
- package/plugin/dist/hooks/lifecycle-routing.d.ts +24 -0
- package/plugin/dist/hooks/lifecycle-routing.js +110 -0
- package/plugin/dist/hooks/lifecycle.d.ts +5 -0
- package/plugin/dist/hooks/lifecycle.js +287 -0
- package/plugin/dist/hooks/llm.d.ts +13 -0
- package/plugin/dist/hooks/llm.js +353 -0
- package/plugin/dist/hooks/message-sanitize.d.ts +3 -0
- package/plugin/dist/hooks/message-sanitize.js +47 -0
- package/plugin/dist/hooks/pain.d.ts +11 -0
- package/plugin/dist/hooks/pain.js +553 -0
- package/plugin/dist/hooks/prompt.d.ts +46 -0
- package/plugin/dist/hooks/prompt.js +1108 -0
- package/plugin/dist/hooks/subagent.d.ts +9 -0
- package/plugin/dist/hooks/subagent.js +122 -0
- package/plugin/dist/hooks/trajectory-collector.d.ts +36 -0
- package/plugin/dist/hooks/trajectory-collector.js +258 -0
- package/plugin/dist/i18n/commands.d.ts +26 -0
- package/plugin/dist/i18n/commands.js +108 -0
- package/plugin/dist/index.d.ts +8 -0
- package/plugin/dist/index.js +692 -0
- package/plugin/dist/openclaw-sdk.d.ts +292 -0
- package/plugin/dist/openclaw-sdk.js +4 -0
- package/plugin/dist/service/central-database.d.ts +138 -0
- package/plugin/dist/service/central-database.js +731 -0
- package/plugin/dist/service/central-sync-service.d.ts +8 -0
- package/plugin/dist/service/central-sync-service.js +71 -0
- package/plugin/dist/service/event-log-auditor.d.ts +46 -0
- package/plugin/dist/service/event-log-auditor.js +236 -0
- package/plugin/dist/service/evolution-dedup.d.ts +27 -0
- package/plugin/dist/service/evolution-dedup.js +54 -0
- package/plugin/dist/service/evolution-queue-lock.d.ts +18 -0
- package/plugin/dist/service/evolution-queue-lock.js +36 -0
- package/plugin/dist/service/evolution-queue-migration.d.ts +128 -0
- package/plugin/dist/service/evolution-queue-migration.js +53 -0
- package/plugin/dist/service/evolution-worker.d.ts +103 -0
- package/plugin/dist/service/evolution-worker.js +760 -0
- package/plugin/dist/service/failure-classifier.d.ts +46 -0
- package/plugin/dist/service/failure-classifier.js +57 -0
- package/plugin/dist/service/internalization-trigger-adapter.d.ts +51 -0
- package/plugin/dist/service/internalization-trigger-adapter.js +184 -0
- package/plugin/dist/service/keyword-optimization-service.d.ts +44 -0
- package/plugin/dist/service/keyword-optimization-service.js +137 -0
- package/plugin/dist/service/monitoring-query-service.d.ts +21 -0
- package/plugin/dist/service/monitoring-query-service.js +45 -0
- package/plugin/dist/service/phase3-input-filter.d.ts +73 -0
- package/plugin/dist/service/phase3-input-filter.js +172 -0
- package/plugin/dist/service/queue-io.d.ts +30 -0
- package/plugin/dist/service/queue-io.js +79 -0
- package/plugin/dist/service/queue-migration.d.ts +83 -0
- package/plugin/dist/service/queue-migration.js +56 -0
- package/plugin/dist/service/runtime-summary-service.d.ts +158 -0
- package/plugin/dist/service/runtime-summary-service.js +636 -0
- package/plugin/dist/service/subagent-workflow/index.d.ts +3 -0
- package/plugin/dist/service/subagent-workflow/index.js +2 -0
- package/plugin/dist/service/subagent-workflow/subagent-error-utils.d.ts +8 -0
- package/plugin/dist/service/subagent-workflow/subagent-error-utils.js +23 -0
- package/plugin/dist/service/subagent-workflow/types.d.ts +264 -0
- package/plugin/dist/service/subagent-workflow/types.js +11 -0
- package/plugin/dist/service/subagent-workflow/workflow-store.d.ts +30 -0
- package/plugin/dist/service/subagent-workflow/workflow-store.js +209 -0
- package/plugin/dist/service/trajectory-service.d.ts +2 -0
- package/plugin/dist/service/trajectory-service.js +16 -0
- package/plugin/dist/service/workflow-watchdog.d.ts +23 -0
- package/plugin/dist/service/workflow-watchdog.js +103 -0
- package/plugin/dist/tools/critique-prompt.d.ts +1 -0
- package/plugin/dist/tools/critique-prompt.js +1 -0
- package/plugin/dist/tools/deep-reflect.d.ts +1 -0
- package/plugin/dist/tools/deep-reflect.js +1 -0
- package/plugin/dist/tools/model-index.d.ts +1 -0
- package/plugin/dist/tools/model-index.js +1 -0
- package/plugin/dist/types/event-payload.d.ts +2 -0
- package/plugin/dist/types/event-payload.js +1 -0
- package/plugin/dist/types/event-types.d.ts +2 -0
- package/plugin/dist/types/event-types.js +1 -0
- package/plugin/dist/types/hygiene-types.d.ts +2 -0
- package/plugin/dist/types/hygiene-types.js +1 -0
- package/plugin/dist/types/principle-tree-schema.d.ts +29 -0
- package/plugin/dist/types/principle-tree-schema.js +24 -0
- package/plugin/dist/types/queue.d.ts +2 -0
- package/plugin/dist/types/queue.js +1 -0
- package/plugin/dist/types/runtime-summary.d.ts +1 -0
- package/plugin/dist/types/runtime-summary.js +1 -0
- package/plugin/dist/types.d.ts +33 -0
- package/plugin/dist/types.js +16 -0
- package/plugin/dist/utils/file-lock.d.ts +68 -0
- package/plugin/dist/utils/file-lock.js +310 -0
- package/plugin/dist/utils/glob-match.d.ts +28 -0
- package/plugin/dist/utils/glob-match.js +49 -0
- package/plugin/dist/utils/hashing.d.ts +9 -0
- package/plugin/dist/utils/hashing.js +25 -0
- package/plugin/dist/utils/io.d.ts +12 -0
- package/plugin/dist/utils/io.js +176 -0
- package/plugin/dist/utils/nlp.d.ts +4 -0
- package/plugin/dist/utils/nlp.js +21 -0
- package/plugin/dist/utils/node-vm-polyfill.d.ts +9 -0
- package/plugin/dist/utils/node-vm-polyfill.js +9 -0
- package/plugin/dist/utils/plugin-logger.d.ts +39 -0
- package/plugin/dist/utils/plugin-logger.js +70 -0
- package/plugin/dist/utils/retry.d.ts +210 -0
- package/plugin/dist/utils/retry.js +375 -0
- package/plugin/dist/utils/session-key.d.ts +10 -0
- package/plugin/dist/utils/session-key.js +18 -0
- package/plugin/dist/utils/shadow-fingerprint.d.ts +16 -0
- package/plugin/dist/utils/shadow-fingerprint.js +34 -0
- package/plugin/dist/utils/subagent-probe.d.ts +35 -0
- package/plugin/dist/utils/subagent-probe.js +67 -0
- package/plugin/dist/utils/workspace-resolver.d.ts +50 -0
- package/plugin/dist/utils/workspace-resolver.js +109 -0
- package/plugin/docs/COMMAND_REFERENCE.md +76 -0
- package/plugin/docs/COMMAND_REFERENCE_EN.md +79 -0
- package/plugin/openclaw.plugin.json +65 -0
- package/plugin/package.json +79 -0
- package/plugin/scripts/acceptance-test.mjs +257 -0
- package/plugin/scripts/bootstrap-rules.mjs +66 -0
- package/plugin/scripts/compile-principles.mjs +104 -0
- package/plugin/scripts/db-migrate.mjs +170 -0
- package/plugin/scripts/install-dependencies.cjs +47 -0
- package/plugin/scripts/sync-plugin.mjs +1355 -0
- package/plugin/scripts/validate-live-path.ts +480 -0
- package/plugin/scripts/verify-build.mjs +109 -0
- package/plugin/templates/langs/en/core/AGENTS.md +205 -0
- package/plugin/templates/langs/en/core/BOOT.md +60 -0
- package/plugin/templates/langs/en/core/BOOTSTRAP.md +273 -0
- package/plugin/templates/langs/en/core/HEARTBEAT.md +74 -0
- package/plugin/templates/langs/en/core/IDENTITY.md +8 -0
- package/plugin/templates/langs/en/core/PRINCIPLES.md +10 -0
- package/plugin/templates/langs/en/core/SOUL.md +46 -0
- package/plugin/templates/langs/en/core/TOOLS.md +15 -0
- package/plugin/templates/langs/en/core/USER.md +10 -0
- package/plugin/templates/langs/en/pain/00_seed_samples.md +23 -0
- package/plugin/templates/langs/en/pain_dictionary.json +22 -0
- package/plugin/templates/langs/en/principles/THINKING_OS.md +64 -0
- package/plugin/templates/langs/en/skills/admin/SKILL.md +39 -0
- package/plugin/templates/langs/en/skills/ai-sprint-orchestration/EXAMPLES.md +63 -0
- package/plugin/templates/langs/en/skills/ai-sprint-orchestration/REFERENCE.md +136 -0
- package/plugin/templates/langs/en/skills/ai-sprint-orchestration/SKILL.md +67 -0
- package/plugin/templates/langs/en/skills/ai-sprint-orchestration/references/agent-registry.json +143 -0
- package/plugin/templates/langs/en/skills/ai-sprint-orchestration/references/specs/bugfix-complex-template.json +107 -0
- package/plugin/templates/langs/en/skills/ai-sprint-orchestration/references/specs/feature-complex-template.json +107 -0
- package/plugin/templates/langs/en/skills/ai-sprint-orchestration/references/specs/workflow-validation-minimal-verify.json +95 -0
- package/plugin/templates/langs/en/skills/ai-sprint-orchestration/references/specs/workflow-validation-minimal.json +98 -0
- package/plugin/templates/langs/en/skills/ai-sprint-orchestration/references/workflow-v1-acceptance-checklist.md +58 -0
- package/plugin/templates/langs/en/skills/ai-sprint-orchestration/references/workflow-v1.4-work-unit-handoff.md +190 -0
- package/plugin/templates/langs/en/skills/ai-sprint-orchestration/runtime/.gitignore +2 -0
- package/plugin/templates/langs/en/skills/ai-sprint-orchestration/scripts/lib/archive.mjs +310 -0
- package/plugin/templates/langs/en/skills/ai-sprint-orchestration/scripts/lib/contract-enforcement.mjs +683 -0
- package/plugin/templates/langs/en/skills/ai-sprint-orchestration/scripts/lib/decision.mjs +604 -0
- package/plugin/templates/langs/en/skills/ai-sprint-orchestration/scripts/lib/state-store.mjs +32 -0
- package/plugin/templates/langs/en/skills/ai-sprint-orchestration/scripts/lib/task-specs.mjs +707 -0
- package/plugin/templates/langs/en/skills/ai-sprint-orchestration/scripts/run.mjs +3455 -0
- package/plugin/templates/langs/en/skills/bootstrap-tools/SKILL.md +53 -0
- package/plugin/templates/langs/en/skills/deductive-audit/SKILL.md +36 -0
- package/plugin/templates/langs/en/skills/evolution-framework-update/SKILL.md +31 -0
- package/plugin/templates/langs/en/skills/evolve-system/SKILL.md +46 -0
- package/plugin/templates/langs/en/skills/evolve-task/SKILL.md +83 -0
- package/plugin/templates/langs/en/skills/feedback/SKILL.md +51 -0
- package/plugin/templates/langs/en/skills/init-strategy/SKILL.md +54 -0
- package/plugin/templates/langs/en/skills/inject-rule/SKILL.md +19 -0
- package/plugin/templates/langs/en/skills/manage-okr/SKILL.md +96 -0
- package/plugin/templates/langs/en/skills/pd-auditor/SKILL.md +61 -0
- package/plugin/templates/langs/en/skills/pd-cli-operator/SKILL.md +67 -0
- package/plugin/templates/langs/en/skills/pd-daily/SKILL.md +199 -0
- package/plugin/templates/langs/en/skills/pd-diagnostician/SKILL.md +466 -0
- package/plugin/templates/langs/en/skills/pd-explorer/SKILL.md +65 -0
- package/plugin/templates/langs/en/skills/pd-grooming/SKILL.md +46 -0
- package/plugin/templates/langs/en/skills/pd-implementer/SKILL.md +68 -0
- package/plugin/templates/langs/en/skills/pd-mentor/SKILL.md +230 -0
- package/plugin/templates/langs/en/skills/pd-pain-signal/SKILL.md +30 -0
- package/plugin/templates/langs/en/skills/pd-planner/SKILL.md +65 -0
- package/plugin/templates/langs/en/skills/pd-runtime-v2/SKILL.md +61 -0
- package/plugin/templates/langs/en/skills/plan-script/SKILL.md +32 -0
- package/plugin/templates/langs/en/skills/profile/SKILL.md +24 -0
- package/plugin/templates/langs/en/skills/reflection/SKILL.md +40 -0
- package/plugin/templates/langs/en/skills/reflection-log/SKILL.md +37 -0
- package/plugin/templates/langs/en/skills/report/SKILL.md +13 -0
- package/plugin/templates/langs/en/skills/root-cause/SKILL.md +33 -0
- package/plugin/templates/langs/en/skills/triage/SKILL.md +29 -0
- package/plugin/templates/langs/en/skills/watch-evolution/SKILL.md +33 -0
- package/plugin/templates/langs/zh/core/AGENTS.md +197 -0
- package/plugin/templates/langs/zh/core/BOOT.md +60 -0
- package/plugin/templates/langs/zh/core/BOOTSTRAP.md +273 -0
- package/plugin/templates/langs/zh/core/HEARTBEAT.md +98 -0
- package/plugin/templates/langs/zh/core/IDENTITY.md +8 -0
- package/plugin/templates/langs/zh/core/PRINCIPLES.md +7 -0
- package/plugin/templates/langs/zh/core/SOUL.md +46 -0
- package/plugin/templates/langs/zh/core/TOOLS.md +15 -0
- package/plugin/templates/langs/zh/core/USER.md +10 -0
- package/plugin/templates/langs/zh/pain/00_seed_samples.md +24 -0
- package/plugin/templates/langs/zh/pain_dictionary.json +18 -0
- package/plugin/templates/langs/zh/principles/THINKING_OS.md +64 -0
- package/plugin/templates/langs/zh/skills/admin/SKILL.md +41 -0
- package/plugin/templates/langs/zh/skills/ai-sprint-orchestration/EXAMPLES.md +63 -0
- package/plugin/templates/langs/zh/skills/ai-sprint-orchestration/REFERENCE.md +136 -0
- package/plugin/templates/langs/zh/skills/ai-sprint-orchestration/SKILL.md +67 -0
- package/plugin/templates/langs/zh/skills/ai-sprint-orchestration/references/agent-registry.json +143 -0
- package/plugin/templates/langs/zh/skills/ai-sprint-orchestration/references/specs/bugfix-complex-template.json +107 -0
- package/plugin/templates/langs/zh/skills/ai-sprint-orchestration/references/specs/feature-complex-template.json +107 -0
- package/plugin/templates/langs/zh/skills/ai-sprint-orchestration/references/specs/nocturnal-trinity-quality-enhancement.json +111 -0
- package/plugin/templates/langs/zh/skills/ai-sprint-orchestration/references/specs/workflow-validation-minimal-verify.json +95 -0
- package/plugin/templates/langs/zh/skills/ai-sprint-orchestration/references/specs/workflow-validation-minimal.json +98 -0
- package/plugin/templates/langs/zh/skills/ai-sprint-orchestration/references/workflow-v1-acceptance-checklist.md +58 -0
- package/plugin/templates/langs/zh/skills/ai-sprint-orchestration/references/workflow-v1.4-work-unit-handoff.md +190 -0
- package/plugin/templates/langs/zh/skills/ai-sprint-orchestration/runtime/.gitignore +2 -0
- package/plugin/templates/langs/zh/skills/ai-sprint-orchestration/scripts/lib/archive.mjs +310 -0
- package/plugin/templates/langs/zh/skills/ai-sprint-orchestration/scripts/lib/contract-enforcement.mjs +683 -0
- package/plugin/templates/langs/zh/skills/ai-sprint-orchestration/scripts/lib/decision.mjs +604 -0
- package/plugin/templates/langs/zh/skills/ai-sprint-orchestration/scripts/lib/state-store.mjs +32 -0
- package/plugin/templates/langs/zh/skills/ai-sprint-orchestration/scripts/lib/task-specs.mjs +707 -0
- package/plugin/templates/langs/zh/skills/ai-sprint-orchestration/scripts/run.mjs +3455 -0
- package/plugin/templates/langs/zh/skills/ai-sprint-orchestration/test/archive.test.mjs +230 -0
- package/plugin/templates/langs/zh/skills/ai-sprint-orchestration/test/contract-enforcement.test.mjs +672 -0
- package/plugin/templates/langs/zh/skills/ai-sprint-orchestration/test/decision.test.mjs +1321 -0
- package/plugin/templates/langs/zh/skills/ai-sprint-orchestration/test/run.test.mjs +1435 -0
- package/plugin/templates/langs/zh/skills/bootstrap-tools/SKILL.md +52 -0
- package/plugin/templates/langs/zh/skills/deductive-audit/SKILL.md +36 -0
- package/plugin/templates/langs/zh/skills/evolution-framework-update/SKILL.md +31 -0
- package/plugin/templates/langs/zh/skills/evolve-system/SKILL.md +46 -0
- package/plugin/templates/langs/zh/skills/evolve-task/SKILL.md +83 -0
- package/plugin/templates/langs/zh/skills/feedback/SKILL.md +53 -0
- package/plugin/templates/langs/zh/skills/init-strategy/SKILL.md +54 -0
- package/plugin/templates/langs/zh/skills/inject-rule/SKILL.md +19 -0
- package/plugin/templates/langs/zh/skills/manage-okr/SKILL.md +109 -0
- package/plugin/templates/langs/zh/skills/pd-auditor/SKILL.md +61 -0
- package/plugin/templates/langs/zh/skills/pd-cli-operator/SKILL.md +67 -0
- package/plugin/templates/langs/zh/skills/pd-daily/SKILL.md +283 -0
- package/plugin/templates/langs/zh/skills/pd-diagnostician/SKILL.md +391 -0
- package/plugin/templates/langs/zh/skills/pd-explorer/SKILL.md +65 -0
- package/plugin/templates/langs/zh/skills/pd-grooming/SKILL.md +46 -0
- package/plugin/templates/langs/zh/skills/pd-implementer/SKILL.md +68 -0
- package/plugin/templates/langs/zh/skills/pd-mentor/SKILL.md +230 -0
- package/plugin/templates/langs/zh/skills/pd-pain-signal/SKILL.md +30 -0
- package/plugin/templates/langs/zh/skills/pd-planner/SKILL.md +65 -0
- package/plugin/templates/langs/zh/skills/pd-runtime-v2/SKILL.md +61 -0
- package/plugin/templates/langs/zh/skills/plan-script/SKILL.md +32 -0
- package/plugin/templates/langs/zh/skills/profile/SKILL.md +24 -0
- package/plugin/templates/langs/zh/skills/reflection/SKILL.md +40 -0
- package/plugin/templates/langs/zh/skills/reflection-log/SKILL.md +37 -0
- package/plugin/templates/langs/zh/skills/report/SKILL.md +13 -0
- package/plugin/templates/langs/zh/skills/root-cause/SKILL.md +33 -0
- package/plugin/templates/langs/zh/skills/triage/SKILL.md +29 -0
- package/plugin/templates/langs/zh/skills/watch-evolution/SKILL.md +33 -0
- package/plugin/templates/pain_dictionary.json +36 -0
- package/plugin/templates/pain_settings.json +103 -0
- package/plugin/templates/workspace/.principles/DECISION_POLICY.json +44 -0
- package/plugin/templates/workspace/.principles/PRINCIPLES.md +20 -0
- package/plugin/templates/workspace/.principles/PROFILE.json +54 -0
- package/plugin/templates/workspace/.principles/PROFILE.schema.json +56 -0
- package/plugin/templates/workspace/.principles/THINKING_OS.md +64 -0
- package/plugin/templates/workspace/.principles/THINKING_OS_ARCHIVE.md +7 -0
- package/plugin/templates/workspace/.principles/THINKING_OS_CANDIDATES.md +9 -0
- package/plugin/templates/workspace/.principles/models/_INDEX.md +27 -0
- package/plugin/templates/workspace/.principles/models/first_principles.md +62 -0
- package/plugin/templates/workspace/.principles/models/marketing_4p.md +52 -0
- package/plugin/templates/workspace/.principles/models/porter_five.md +63 -0
- package/plugin/templates/workspace/.principles/models/swot.md +60 -0
- package/plugin/templates/workspace/.principles/models/user_story_map.md +63 -0
- package/plugin/templates/workspace/.state/WORKBOARD.json +4 -0
- package/plugin/templates/workspace/AUDIT.md +15 -0
- package/plugin/templates/workspace/PLAN.md +2 -0
- package/plugin/templates/workspace/okr/CURRENT_FOCUS.md +57 -0
- package/plugin/templates/workspace/okr/RECOVERY_PROTOCOL.md +56 -0
- package/plugin/templates/workspace/okr/TASK_CHANGES.jsonl +6 -0
- package/plugin/templates/workspace/okr/WEEK_TASKS.json +6 -0
- package/templates/langs/en/core/AGENTS.md +205 -0
- package/templates/langs/en/core/BOOT.md +60 -0
- package/templates/langs/en/core/BOOTSTRAP.md +273 -0
- package/templates/langs/en/core/HEARTBEAT.md +74 -0
- package/templates/langs/en/core/IDENTITY.md +8 -0
- package/templates/langs/en/core/PRINCIPLES.md +10 -0
- package/templates/langs/en/core/SOUL.md +46 -0
- package/templates/langs/en/core/TOOLS.md +58 -0
- package/templates/langs/en/core/USER.md +10 -0
- package/templates/langs/en/pain/00_seed_samples.md +23 -0
- package/templates/langs/en/pain_dictionary.json +22 -0
- package/templates/langs/en/principles/THINKING_OS.md +64 -0
- package/templates/langs/en/skills/admin/SKILL.md +39 -0
- package/templates/langs/en/skills/bootstrap-tools/SKILL.md +53 -0
- package/templates/langs/en/skills/deductive-audit/SKILL.md +36 -0
- package/templates/langs/en/skills/evolution-framework-update/SKILL.md +31 -0
- package/templates/langs/en/skills/evolve-system/SKILL.md +46 -0
- package/templates/langs/en/skills/evolve-task/SKILL.md +83 -0
- package/templates/langs/en/skills/feedback/SKILL.md +51 -0
- package/templates/langs/en/skills/init-strategy/SKILL.md +54 -0
- package/templates/langs/en/skills/inject-rule/SKILL.md +19 -0
- package/templates/langs/en/skills/manage-okr/SKILL.md +96 -0
- package/templates/langs/en/skills/pain/SKILL.md +19 -0
- package/templates/langs/en/skills/pd-daily/SKILL.md +199 -0
- package/templates/langs/en/skills/pd-grooming/SKILL.md +46 -0
- package/templates/langs/en/skills/pd-mentor/SKILL.md +230 -0
- package/templates/langs/en/skills/plan-script/SKILL.md +32 -0
- package/templates/langs/en/skills/profile/SKILL.md +24 -0
- package/templates/langs/en/skills/reflection/SKILL.md +40 -0
- package/templates/langs/en/skills/reflection-log/SKILL.md +37 -0
- package/templates/langs/en/skills/report/SKILL.md +13 -0
- package/templates/langs/en/skills/root-cause/SKILL.md +33 -0
- package/templates/langs/en/skills/triage/SKILL.md +29 -0
- package/templates/langs/en/skills/watch-evolution/SKILL.md +33 -0
- package/templates/langs/zh/core/AGENTS.md +197 -0
- package/templates/langs/zh/core/BOOT.md +60 -0
- package/templates/langs/zh/core/BOOTSTRAP.md +273 -0
- package/templates/langs/zh/core/HEARTBEAT.md +98 -0
- package/templates/langs/zh/core/IDENTITY.md +8 -0
- package/templates/langs/zh/core/SOUL.md +46 -0
- package/templates/langs/zh/core/TOOLS.md +58 -0
- package/templates/langs/zh/core/USER.md +10 -0
- package/templates/langs/zh/pain/00_seed_samples.md +24 -0
- package/templates/langs/zh/pain_dictionary.json +18 -0
- package/templates/langs/zh/principles/THINKING_OS.md +64 -0
- package/templates/langs/zh/skills/admin/SKILL.md +41 -0
- package/templates/langs/zh/skills/bootstrap-tools/SKILL.md +52 -0
- package/templates/langs/zh/skills/deductive-audit/SKILL.md +36 -0
- package/templates/langs/zh/skills/evolution-framework-update/SKILL.md +31 -0
- package/templates/langs/zh/skills/evolve-system/SKILL.md +46 -0
- package/templates/langs/zh/skills/evolve-task/SKILL.md +83 -0
- package/templates/langs/zh/skills/feedback/SKILL.md +53 -0
- package/templates/langs/zh/skills/init-strategy/SKILL.md +54 -0
- package/templates/langs/zh/skills/inject-rule/SKILL.md +19 -0
- package/templates/langs/zh/skills/manage-okr/SKILL.md +109 -0
- package/templates/langs/zh/skills/pain/SKILL.md +30 -0
- package/templates/langs/zh/skills/pd-auditor/SKILL.md +61 -0
- package/templates/langs/zh/skills/pd-daily/SKILL.md +283 -0
- package/templates/langs/zh/skills/pd-diagnostician/SKILL.md +287 -0
- package/templates/langs/zh/skills/pd-explorer/SKILL.md +65 -0
- package/templates/langs/zh/skills/pd-grooming/SKILL.md +46 -0
- package/templates/langs/zh/skills/pd-implementer/SKILL.md +68 -0
- package/templates/langs/zh/skills/pd-mentor/SKILL.md +230 -0
- package/templates/langs/zh/skills/pd-planner/SKILL.md +65 -0
- package/templates/langs/zh/skills/pd-reporter/SKILL.md +78 -0
- package/templates/langs/zh/skills/pd-reviewer/SKILL.md +66 -0
- package/templates/langs/zh/skills/plan-script/SKILL.md +32 -0
- package/templates/langs/zh/skills/profile/SKILL.md +24 -0
- package/templates/langs/zh/skills/reflection/SKILL.md +40 -0
- package/templates/langs/zh/skills/reflection-log/SKILL.md +37 -0
- package/templates/langs/zh/skills/report/SKILL.md +13 -0
- package/templates/langs/zh/skills/root-cause/SKILL.md +33 -0
- package/templates/langs/zh/skills/triage/SKILL.md +29 -0
- package/templates/langs/zh/skills/watch-evolution/SKILL.md +33 -0
- package/templates/pain_dictionary.json +36 -0
- package/templates/pain_settings.json +129 -0
- package/templates/workspace/.principles/THINKING_OS.md +64 -0
- package/templates/workspace/AUDIT.md +15 -0
- package/templates/workspace/PLAN.md +2 -0
- package/templates/workspace/okr/CURRENT_FOCUS.md +57 -0
- package/templates/workspace/okr/RECOVERY_PROTOCOL.md +56 -0
- package/templates/workspace/okr/TASK_CHANGES.jsonl +6 -0
- package/templates/workspace/okr/WEEK_TASKS.json +6 -0
|
@@ -0,0 +1,247 @@
|
|
|
1
|
+
import { describe, it, expect, beforeEach, afterEach } from 'vitest';
|
|
2
|
+
import * as fs from 'fs';
|
|
3
|
+
import * as path from 'path';
|
|
4
|
+
import * as os from 'os';
|
|
5
|
+
import { MemoryPIArtifactStore, } from '../internalization/pi-artifact-store.js';
|
|
6
|
+
import { SqlitePIArtifactStore, } from '../store/artifact/sqlite-pi-artifact-store.js';
|
|
7
|
+
import { SqliteConnection } from '../store/sqlite-connection.js';
|
|
8
|
+
function makeRecord(overrides = {}) {
|
|
9
|
+
return {
|
|
10
|
+
artifactId: overrides.artifactId ?? 'art-001',
|
|
11
|
+
artifactKind: overrides.artifactKind ?? 'principle',
|
|
12
|
+
sourceTaskId: overrides.sourceTaskId ?? 'task-001',
|
|
13
|
+
sourcePrincipleId: overrides.sourcePrincipleId,
|
|
14
|
+
sourceRuleId: overrides.sourceRuleId,
|
|
15
|
+
lineageArtifactIds: overrides.lineageArtifactIds ?? [],
|
|
16
|
+
validationStatus: overrides.validationStatus ?? 'pending',
|
|
17
|
+
contentJson: overrides.contentJson ?? '{}',
|
|
18
|
+
createdAt: overrides.createdAt ?? new Date().toISOString(),
|
|
19
|
+
updatedAt: overrides.updatedAt ?? new Date().toISOString(),
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
function createStoreContractTests(name, createStore, cleanup) {
|
|
23
|
+
describe(`${name} PIArtifactStore contract (PRI-84)`, () => {
|
|
24
|
+
let store = createStore();
|
|
25
|
+
beforeEach(() => {
|
|
26
|
+
store = createStore();
|
|
27
|
+
});
|
|
28
|
+
afterEach(() => {
|
|
29
|
+
if (cleanup)
|
|
30
|
+
cleanup();
|
|
31
|
+
});
|
|
32
|
+
it('createArtifact persists a PIArtifact and returns it', async () => {
|
|
33
|
+
const record = makeRecord();
|
|
34
|
+
const result = await store.createArtifact(record);
|
|
35
|
+
expect(result).toEqual(record);
|
|
36
|
+
const fetched = await store.getArtifactById(record.artifactId);
|
|
37
|
+
expect(fetched).toEqual(record);
|
|
38
|
+
});
|
|
39
|
+
it('getArtifactById returns null for unknown artifact', async () => {
|
|
40
|
+
const result = await store.getArtifactById('nonexistent');
|
|
41
|
+
expect(result).toBeNull();
|
|
42
|
+
});
|
|
43
|
+
it('listBySourceTaskId returns all artifacts for a source task', async () => {
|
|
44
|
+
const r1 = makeRecord({ artifactId: 'art-1', sourceTaskId: 'task-A', artifactKind: 'principle' });
|
|
45
|
+
const r2 = makeRecord({ artifactId: 'art-2', sourceTaskId: 'task-A', artifactKind: 'rule' });
|
|
46
|
+
const r3 = makeRecord({ artifactId: 'art-3', sourceTaskId: 'task-B', artifactKind: 'principle' });
|
|
47
|
+
await store.createArtifact(r1);
|
|
48
|
+
await store.createArtifact(r2);
|
|
49
|
+
await store.createArtifact(r3);
|
|
50
|
+
const results = await store.listBySourceTaskId('task-A');
|
|
51
|
+
expect(results).toHaveLength(2);
|
|
52
|
+
expect(results.map(r => r.artifactId)).toEqual(expect.arrayContaining(['art-1', 'art-2']));
|
|
53
|
+
});
|
|
54
|
+
it('listLineage returns artifacts linked via lineageArtifactIds', async () => {
|
|
55
|
+
const parent = makeRecord({ artifactId: 'parent-art', sourceTaskId: 'task-parent', artifactKind: 'principle' });
|
|
56
|
+
const child = makeRecord({
|
|
57
|
+
artifactId: 'child-art',
|
|
58
|
+
sourceTaskId: 'task-child',
|
|
59
|
+
artifactKind: 'rule',
|
|
60
|
+
lineageArtifactIds: ['parent-art'],
|
|
61
|
+
});
|
|
62
|
+
await store.createArtifact(parent);
|
|
63
|
+
await store.createArtifact(child);
|
|
64
|
+
const lineage = await store.listLineage('child-art');
|
|
65
|
+
expect(lineage).toHaveLength(1);
|
|
66
|
+
expect(lineage[0]?.artifactId).toBe('parent-art');
|
|
67
|
+
});
|
|
68
|
+
it('idempotency: same sourceTaskId + artifactKind does not create duplicate', async () => {
|
|
69
|
+
const r1 = makeRecord({ sourceTaskId: 'task-X', artifactKind: 'principle' });
|
|
70
|
+
await store.createArtifact(r1);
|
|
71
|
+
const r2 = makeRecord({
|
|
72
|
+
artifactId: 'art-dup',
|
|
73
|
+
sourceTaskId: 'task-X',
|
|
74
|
+
artifactKind: 'principle',
|
|
75
|
+
});
|
|
76
|
+
await expect(store.createArtifact(r2)).rejects.toThrow();
|
|
77
|
+
});
|
|
78
|
+
it('upsertArtifact creates new when no matching sourceTaskId+kind exists', async () => {
|
|
79
|
+
const record = makeRecord({ sourceTaskId: 'task-Y', artifactKind: 'rule' });
|
|
80
|
+
const result = await store.upsertArtifact(record);
|
|
81
|
+
expect(result.artifactId).toBe(record.artifactId);
|
|
82
|
+
const fetched = await store.getArtifactById(record.artifactId);
|
|
83
|
+
expect(fetched).toEqual(record);
|
|
84
|
+
});
|
|
85
|
+
it('upsertArtifact updates existing when matching sourceTaskId+kind exists', async () => {
|
|
86
|
+
const original = makeRecord({
|
|
87
|
+
artifactId: 'art-original',
|
|
88
|
+
sourceTaskId: 'task-Z',
|
|
89
|
+
artifactKind: 'principle',
|
|
90
|
+
contentJson: '{"old": true}',
|
|
91
|
+
});
|
|
92
|
+
await store.createArtifact(original);
|
|
93
|
+
const updated = makeRecord({
|
|
94
|
+
artifactId: 'art-updated',
|
|
95
|
+
sourceTaskId: 'task-Z',
|
|
96
|
+
artifactKind: 'principle',
|
|
97
|
+
contentJson: '{"new": true}',
|
|
98
|
+
validationStatus: 'validated',
|
|
99
|
+
});
|
|
100
|
+
const result = await store.upsertArtifact(updated);
|
|
101
|
+
expect(result.contentJson).toBe('{"new": true}');
|
|
102
|
+
expect(result.validationStatus).toBe('validated');
|
|
103
|
+
const fetched = await store.getArtifactById('art-original');
|
|
104
|
+
expect(fetched).toBeNull();
|
|
105
|
+
const newFetched = await store.getArtifactById('art-updated');
|
|
106
|
+
expect(newFetched).toBeDefined();
|
|
107
|
+
if (newFetched) {
|
|
108
|
+
expect(newFetched.contentJson).toBe('{"new": true}');
|
|
109
|
+
}
|
|
110
|
+
});
|
|
111
|
+
it('listLineage returns empty array when no lineage refs', async () => {
|
|
112
|
+
const record = makeRecord({ artifactId: 'solo-art', lineageArtifactIds: [] });
|
|
113
|
+
await store.createArtifact(record);
|
|
114
|
+
const lineage = await store.listLineage('solo-art');
|
|
115
|
+
expect(lineage).toEqual([]);
|
|
116
|
+
});
|
|
117
|
+
it('allows different artifactKinds for same sourceTaskId', async () => {
|
|
118
|
+
const r1 = makeRecord({ artifactId: 'art-p', sourceTaskId: 'task-M', artifactKind: 'principle' });
|
|
119
|
+
const r2 = makeRecord({ artifactId: 'art-r', sourceTaskId: 'task-M', artifactKind: 'rule' });
|
|
120
|
+
await store.createArtifact(r1);
|
|
121
|
+
await store.createArtifact(r2);
|
|
122
|
+
const results = await store.listBySourceTaskId('task-M');
|
|
123
|
+
expect(results).toHaveLength(2);
|
|
124
|
+
});
|
|
125
|
+
});
|
|
126
|
+
}
|
|
127
|
+
createStoreContractTests('MemoryPIArtifactStore', () => new MemoryPIArtifactStore());
|
|
128
|
+
describe('MemoryPIArtifactStore index consistency (PRI-84)', () => {
|
|
129
|
+
let store = new MemoryPIArtifactStore();
|
|
130
|
+
beforeEach(() => {
|
|
131
|
+
store = new MemoryPIArtifactStore();
|
|
132
|
+
});
|
|
133
|
+
it('upsertArtifact with different artifactId cleans up old idempotency entries', async () => {
|
|
134
|
+
const r1 = makeRecord({ artifactId: 'art-old', sourceTaskId: 'task-1', artifactKind: 'principle' });
|
|
135
|
+
await store.createArtifact(r1);
|
|
136
|
+
const r2 = makeRecord({ artifactId: 'art-new', sourceTaskId: 'task-1', artifactKind: 'principle' });
|
|
137
|
+
await store.upsertArtifact(r2);
|
|
138
|
+
const byId = await store.getArtifactById('art-old');
|
|
139
|
+
expect(byId).toBeNull();
|
|
140
|
+
const byIdNew = await store.getArtifactById('art-new');
|
|
141
|
+
expect(byIdNew).not.toBeNull();
|
|
142
|
+
expect(byIdNew?.artifactId).toBe('art-new');
|
|
143
|
+
});
|
|
144
|
+
it('upsertArtifact does not leave dangling entries in artifacts map', async () => {
|
|
145
|
+
const r1 = makeRecord({ artifactId: 'art-v1', sourceTaskId: 'task-X', artifactKind: 'principle' });
|
|
146
|
+
await store.createArtifact(r1);
|
|
147
|
+
const r2 = makeRecord({ artifactId: 'art-v2', sourceTaskId: 'task-X', artifactKind: 'principle' });
|
|
148
|
+
await store.upsertArtifact(r2);
|
|
149
|
+
const results = await store.listBySourceTaskId('task-X');
|
|
150
|
+
expect(results).toHaveLength(1);
|
|
151
|
+
const [first] = results;
|
|
152
|
+
expect(first).toBeDefined();
|
|
153
|
+
expect(first?.artifactId).toBe('art-v2');
|
|
154
|
+
});
|
|
155
|
+
});
|
|
156
|
+
describe('SqlitePIArtifactStore contract (PRI-84)', () => {
|
|
157
|
+
let tmpDir = '';
|
|
158
|
+
let connection = new SqliteConnection(os.tmpdir());
|
|
159
|
+
let store = new SqlitePIArtifactStore(connection);
|
|
160
|
+
beforeEach(() => {
|
|
161
|
+
tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), 'pd-pi-art-sqlite-'));
|
|
162
|
+
connection = new SqliteConnection(tmpDir);
|
|
163
|
+
store = new SqlitePIArtifactStore(connection);
|
|
164
|
+
});
|
|
165
|
+
afterEach(() => {
|
|
166
|
+
connection.close();
|
|
167
|
+
fs.rmSync(tmpDir, { recursive: true, force: true });
|
|
168
|
+
});
|
|
169
|
+
it('createArtifact persists to SQLite and returns record', async () => {
|
|
170
|
+
const record = makeRecord();
|
|
171
|
+
const result = await store.createArtifact(record);
|
|
172
|
+
expect(result).toEqual(record);
|
|
173
|
+
const fetched = await store.getArtifactById(record.artifactId);
|
|
174
|
+
expect(fetched).toEqual(record);
|
|
175
|
+
});
|
|
176
|
+
it('getArtifactById returns null for unknown artifact', async () => {
|
|
177
|
+
const result = await store.getArtifactById('nonexistent');
|
|
178
|
+
expect(result).toBeNull();
|
|
179
|
+
});
|
|
180
|
+
it('upsertArtifact with ON CONFLICT replaces existing record', async () => {
|
|
181
|
+
const original = makeRecord({
|
|
182
|
+
artifactId: 'art-v1',
|
|
183
|
+
sourceTaskId: 'task-upsert',
|
|
184
|
+
artifactKind: 'principle',
|
|
185
|
+
contentJson: '{"v": 1}',
|
|
186
|
+
});
|
|
187
|
+
await store.createArtifact(original);
|
|
188
|
+
const updated = makeRecord({
|
|
189
|
+
artifactId: 'art-v2',
|
|
190
|
+
sourceTaskId: 'task-upsert',
|
|
191
|
+
artifactKind: 'principle',
|
|
192
|
+
contentJson: '{"v": 2}',
|
|
193
|
+
validationStatus: 'validated',
|
|
194
|
+
});
|
|
195
|
+
await store.upsertArtifact(updated);
|
|
196
|
+
const oldFetched = await store.getArtifactById('art-v1');
|
|
197
|
+
expect(oldFetched).toBeNull();
|
|
198
|
+
const newFetched = await store.getArtifactById('art-v2');
|
|
199
|
+
expect(newFetched).toBeDefined();
|
|
200
|
+
if (newFetched) {
|
|
201
|
+
expect(newFetched.contentJson).toBe('{"v": 2}');
|
|
202
|
+
expect(newFetched.validationStatus).toBe('validated');
|
|
203
|
+
}
|
|
204
|
+
});
|
|
205
|
+
it('listBySourceTaskId returns matching artifacts from SQLite', async () => {
|
|
206
|
+
const r1 = makeRecord({ artifactId: 'art-a', sourceTaskId: 'task-s', artifactKind: 'principle' });
|
|
207
|
+
const r2 = makeRecord({ artifactId: 'art-b', sourceTaskId: 'task-s', artifactKind: 'rule' });
|
|
208
|
+
const r3 = makeRecord({ artifactId: 'art-c', sourceTaskId: 'task-other', artifactKind: 'principle' });
|
|
209
|
+
await store.createArtifact(r1);
|
|
210
|
+
await store.createArtifact(r2);
|
|
211
|
+
await store.createArtifact(r3);
|
|
212
|
+
const results = await store.listBySourceTaskId('task-s');
|
|
213
|
+
expect(results).toHaveLength(2);
|
|
214
|
+
expect(results.map(r => r.artifactId)).toEqual(expect.arrayContaining(['art-a', 'art-b']));
|
|
215
|
+
});
|
|
216
|
+
it('listLineage resolves lineage from SQLite', async () => {
|
|
217
|
+
const parent = makeRecord({ artifactId: 'p-art', sourceTaskId: 'task-p', artifactKind: 'principle' });
|
|
218
|
+
const child = makeRecord({
|
|
219
|
+
artifactId: 'c-art',
|
|
220
|
+
sourceTaskId: 'task-c',
|
|
221
|
+
artifactKind: 'rule',
|
|
222
|
+
lineageArtifactIds: ['p-art'],
|
|
223
|
+
});
|
|
224
|
+
await store.createArtifact(parent);
|
|
225
|
+
await store.createArtifact(child);
|
|
226
|
+
const lineage = await store.listLineage('c-art');
|
|
227
|
+
expect(lineage).toHaveLength(1);
|
|
228
|
+
expect(lineage[0]?.artifactId).toBe('p-art');
|
|
229
|
+
});
|
|
230
|
+
it('idempotency: duplicate sourceTaskId+kind throws in SQLite', async () => {
|
|
231
|
+
const r1 = makeRecord({ sourceTaskId: 'task-dup', artifactKind: 'principle' });
|
|
232
|
+
await store.createArtifact(r1);
|
|
233
|
+
const r2 = makeRecord({ artifactId: 'art-dup2', sourceTaskId: 'task-dup', artifactKind: 'principle' });
|
|
234
|
+
await expect(store.createArtifact(r2)).rejects.toThrow();
|
|
235
|
+
});
|
|
236
|
+
it('survives process restart (data persists across connections)', async () => {
|
|
237
|
+
const record = makeRecord({ artifactId: 'persist-art', sourceTaskId: 'task-persist' });
|
|
238
|
+
await store.createArtifact(record);
|
|
239
|
+
connection.close();
|
|
240
|
+
connection = new SqliteConnection(tmpDir);
|
|
241
|
+
store = new SqlitePIArtifactStore(connection);
|
|
242
|
+
const fetched = await store.getArtifactById('persist-art');
|
|
243
|
+
expect(fetched).toBeDefined();
|
|
244
|
+
expect(fetched?.artifactId).toBe('persist-art');
|
|
245
|
+
});
|
|
246
|
+
});
|
|
247
|
+
//# sourceMappingURL=pi-artifact-store.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pi-artifact-store.test.js","sourceRoot":"","sources":["../../../src/runtime-v2/__tests__/pi-artifact-store.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACrE,OAAO,KAAK,EAAE,MAAM,IAAI,CAAC;AACzB,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAC7B,OAAO,KAAK,EAAE,MAAM,IAAI,CAAC;AACzB,OAAO,EACL,qBAAqB,GACtB,MAAM,yCAAyC,CAAC;AACjD,OAAO,EACL,qBAAqB,GACtB,MAAM,+CAA+C,CAAC;AACvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAMjE,SAAS,UAAU,CAAC,YAAuC,EAAE;IAC3D,OAAO;QACL,UAAU,EAAE,SAAS,CAAC,UAAU,IAAI,SAAS;QAC7C,YAAY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AAE,WAAW,EAAE,CAAC,CAAC;QACvG,MAAM,MAAM,CAAC,KAAK,CAAC,cAAc,CAAC,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC;IAC3D,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,6DAA6D,EAAE,KAAK,IAAI,EAAE;QAC3E,MAAM,MAAM,GAAG,UAAU,CAAC,EAAE,UAAU,EAAE,aAAa,EAAE,YAAY,EAAE,cAAc,EAAE,CAAC,CAAC;QACvF,MAAM,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC;QAEnC,UAAU,CAAC,KAAK,EAAE,CAAC;QACnB,UAAU,GAAG,IAAI,gBAAgB,CAAC,MAAM,CAAC,CAAC;QAC1C,KAAK,GAAG,IAAI,qBAAqB,CAAC,UAAU,CAAC,CAAC;QAE9C,MAAM,OAAO,GAAG,MAAM,KAAK,CAAC,eAAe,CAAC,aAAa,CAAC,CAAC;QAC3D,MAAM,CAAC,OAAO,CAAC,CAAC,WAAW,EAAE,CAAC;QAC9B,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;IAClD,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PITaskMetadata — Persistence & Hydration Tests (PRI-65)
|
|
3
|
+
*
|
|
4
|
+
* RED phase: tests define the expected contract for serializing PITaskMetadata
|
|
5
|
+
* into diagnosticJson and hydrating it back into PITaskRecord at runtime.
|
|
6
|
+
*/
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=pitask-metadata.test.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pitask-metadata.test.d.ts","sourceRoot":"","sources":["../../../src/runtime-v2/__tests__/pitask-metadata.test.ts"],"names":[],"mappings":"AAAA;;;;;GAKG"}
|
|
@@ -0,0 +1,333 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PITaskMetadata — Persistence & Hydration Tests (PRI-65)
|
|
3
|
+
*
|
|
4
|
+
* RED phase: tests define the expected contract for serializing PITaskMetadata
|
|
5
|
+
* into diagnosticJson and hydrating it back into PITaskRecord at runtime.
|
|
6
|
+
*/
|
|
7
|
+
import { describe, it, expect, afterEach } from 'vitest';
|
|
8
|
+
import * as fs from 'node:fs';
|
|
9
|
+
import * as path from 'node:path';
|
|
10
|
+
import * as os from 'node:os';
|
|
11
|
+
import { serializePITaskMetadata, parsePITaskMetadata, hydratePITaskRecord, createPITaskDiagnosticJson, PI_METADATA_KEY, } from '../internalization/pitask-metadata.js';
|
|
12
|
+
import { isValidPITaskRecord } from '../internalization/index.js';
|
|
13
|
+
import { SqliteTaskStore } from '../store/task/sqlite-task-store.js';
|
|
14
|
+
import { SqliteConnection } from '../store/sqlite-connection.js';
|
|
15
|
+
function createTempDir() {
|
|
16
|
+
return fs.mkdtempSync(path.join(os.tmpdir(), `pitask-metadata-test-${process.pid}-`));
|
|
17
|
+
}
|
|
18
|
+
function cleanupDir(dir) {
|
|
19
|
+
try {
|
|
20
|
+
fs.rmSync(dir, { recursive: true, force: true });
|
|
21
|
+
}
|
|
22
|
+
catch (err) {
|
|
23
|
+
// Report but don't throw — cleanup failure shouldn't fail the test
|
|
24
|
+
console.error('[pitask-metadata.test] cleanupDir failed:', dir, err);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
function makeBaseTaskRecord(overrides) {
|
|
28
|
+
return {
|
|
29
|
+
taskKind: overrides.taskKind ?? 'dreamer',
|
|
30
|
+
status: overrides.status ?? 'pending',
|
|
31
|
+
createdAt: overrides.createdAt ?? new Date().toISOString(),
|
|
32
|
+
updatedAt: overrides.updatedAt ?? new Date().toISOString(),
|
|
33
|
+
attemptCount: 0,
|
|
34
|
+
maxAttempts: 3,
|
|
35
|
+
leaseOwner: undefined,
|
|
36
|
+
leaseExpiresAt: undefined,
|
|
37
|
+
lastError: undefined,
|
|
38
|
+
inputRef: undefined,
|
|
39
|
+
resultRef: undefined,
|
|
40
|
+
...overrides,
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function makeMetadata(overrides) {
|
|
44
|
+
return {
|
|
45
|
+
dependencyTaskIds: overrides?.dependencyTaskIds ?? [],
|
|
46
|
+
channel: overrides?.channel ?? 'prompt',
|
|
47
|
+
timeoutMs: overrides?.timeoutMs ?? 300000,
|
|
48
|
+
inputArtifactRefs: overrides?.inputArtifactRefs ?? [],
|
|
49
|
+
outputArtifactRefs: overrides?.outputArtifactRefs ?? [],
|
|
50
|
+
parentTaskId: overrides?.parentTaskId,
|
|
51
|
+
correlationId: overrides?.correlationId,
|
|
52
|
+
rejectionCount: overrides?.rejectionCount,
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
describe('PITaskMetadata serialization', () => {
|
|
56
|
+
it('serializePITaskMetadata produces valid JSON with pi_metadata envelope', () => {
|
|
57
|
+
const meta = makeMetadata({ channel: 'prompt', timeoutMs: 60000 });
|
|
58
|
+
const json = serializePITaskMetadata(meta);
|
|
59
|
+
const parsed = JSON.parse(json);
|
|
60
|
+
expect(parsed).toHaveProperty(PI_METADATA_KEY);
|
|
61
|
+
expect(parsed[PI_METADATA_KEY]).toEqual(meta);
|
|
62
|
+
});
|
|
63
|
+
it('serializePITaskMetadata includes all required fields', () => {
|
|
64
|
+
const meta = makeMetadata({ channel: 'skill', timeoutMs: 120000 });
|
|
65
|
+
const json = serializePITaskMetadata(meta);
|
|
66
|
+
const parsed = JSON.parse(json)[PI_METADATA_KEY];
|
|
67
|
+
expect(parsed.dependencyTaskIds).toEqual([]);
|
|
68
|
+
expect(parsed.channel).toBe('skill');
|
|
69
|
+
expect(parsed.timeoutMs).toBe(120000);
|
|
70
|
+
expect(parsed.inputArtifactRefs).toEqual([]);
|
|
71
|
+
expect(parsed.outputArtifactRefs).toEqual([]);
|
|
72
|
+
});
|
|
73
|
+
it('serializePITaskMetadata includes optional fields when provided', () => {
|
|
74
|
+
const meta = makeMetadata({
|
|
75
|
+
parentTaskId: 'parent-1',
|
|
76
|
+
correlationId: 'corr-abc',
|
|
77
|
+
});
|
|
78
|
+
const json = serializePITaskMetadata(meta);
|
|
79
|
+
const parsed = JSON.parse(json)[PI_METADATA_KEY];
|
|
80
|
+
expect(parsed.parentTaskId).toBe('parent-1');
|
|
81
|
+
expect(parsed.correlationId).toBe('corr-abc');
|
|
82
|
+
});
|
|
83
|
+
it('createPITaskDiagnosticJson is alias for serializePITaskMetadata', () => {
|
|
84
|
+
const meta = makeMetadata({ channel: 'code_tool_hook' });
|
|
85
|
+
expect(createPITaskDiagnosticJson(meta)).toBe(serializePITaskMetadata(meta));
|
|
86
|
+
});
|
|
87
|
+
});
|
|
88
|
+
describe('parsePITaskMetadata', () => {
|
|
89
|
+
it('valid JSON with all required fields → returns PITaskMetadata', () => {
|
|
90
|
+
const meta = makeMetadata({ channel: 'model_training', timeoutMs: 900000 });
|
|
91
|
+
const json = serializePITaskMetadata(meta);
|
|
92
|
+
const result = parsePITaskMetadata(json);
|
|
93
|
+
expect(result).not.toBeNull();
|
|
94
|
+
if (result === null)
|
|
95
|
+
return; // exhaustive guard
|
|
96
|
+
expect(result.channel).toBe('model_training');
|
|
97
|
+
expect(result.timeoutMs).toBe(900000);
|
|
98
|
+
expect(result.dependencyTaskIds).toEqual([]);
|
|
99
|
+
expect(result.inputArtifactRefs).toEqual([]);
|
|
100
|
+
expect(result.outputArtifactRefs).toEqual([]);
|
|
101
|
+
});
|
|
102
|
+
it('invalid JSON → returns null', () => {
|
|
103
|
+
expect(parsePITaskMetadata('not json at all')).toBeNull();
|
|
104
|
+
expect(parsePITaskMetadata('{ "pi_metadata": invalid }')).toBeNull();
|
|
105
|
+
expect(parsePITaskMetadata('')).toBeNull();
|
|
106
|
+
});
|
|
107
|
+
it('missing pi_metadata key → returns null', () => {
|
|
108
|
+
expect(parsePITaskMetadata('{}')).toBeNull();
|
|
109
|
+
expect(parsePITaskMetadata('{"other": "data"}')).toBeNull();
|
|
110
|
+
});
|
|
111
|
+
it('JSON.parse result is not an object (null/number/string/array) → returns null', () => {
|
|
112
|
+
expect(parsePITaskMetadata('null')).toBeNull();
|
|
113
|
+
expect(parsePITaskMetadata('123')).toBeNull();
|
|
114
|
+
expect(parsePITaskMetadata('"foo"')).toBeNull();
|
|
115
|
+
expect(parsePITaskMetadata('[]')).toBeNull();
|
|
116
|
+
// pi_metadata present but top-level value is array (not object)
|
|
117
|
+
expect(parsePITaskMetadata('{"pi_metadata": []}')).toBeNull();
|
|
118
|
+
});
|
|
119
|
+
it('dependencyTaskIds with non-string elements → returns null', () => {
|
|
120
|
+
const meta = {
|
|
121
|
+
pi_metadata: { ...makeMetadata({ channel: 'prompt' }), dependencyTaskIds: ['dep-1', 123, null] },
|
|
122
|
+
};
|
|
123
|
+
expect(parsePITaskMetadata(JSON.stringify(meta))).toBeNull();
|
|
124
|
+
});
|
|
125
|
+
it('invalid channel → returns null', () => {
|
|
126
|
+
const meta = { pi_metadata: { ...makeMetadata(), channel: 'invalid_channel' } };
|
|
127
|
+
expect(parsePITaskMetadata(JSON.stringify(meta))).toBeNull();
|
|
128
|
+
});
|
|
129
|
+
it('missing required fields → returns null', () => {
|
|
130
|
+
const meta = { pi_metadata: { channel: 'prompt' } }; // missing timeoutMs, arrays
|
|
131
|
+
expect(parsePITaskMetadata(JSON.stringify(meta))).toBeNull();
|
|
132
|
+
});
|
|
133
|
+
it('parentTaskId explicitly null → returns null (fail closed)', () => {
|
|
134
|
+
const meta = { pi_metadata: { ...makeMetadata({ channel: 'prompt' }), parentTaskId: null } };
|
|
135
|
+
expect(parsePITaskMetadata(JSON.stringify(meta))).toBeNull();
|
|
136
|
+
});
|
|
137
|
+
it('correlationId explicitly null → returns null (fail closed)', () => {
|
|
138
|
+
const meta = { pi_metadata: { ...makeMetadata({ channel: 'defer_archive' }), correlationId: null } };
|
|
139
|
+
expect(parsePITaskMetadata(JSON.stringify(meta))).toBeNull();
|
|
140
|
+
});
|
|
141
|
+
it('timeoutMs is 0, negative, NaN, or Infinity → returns null', () => {
|
|
142
|
+
const validMeta = makeMetadata({ channel: 'prompt' });
|
|
143
|
+
expect(parsePITaskMetadata(JSON.stringify({ pi_metadata: { ...validMeta, timeoutMs: 0 } }))).toBeNull();
|
|
144
|
+
expect(parsePITaskMetadata(JSON.stringify({ pi_metadata: { ...validMeta, timeoutMs: -1 } }))).toBeNull();
|
|
145
|
+
expect(parsePITaskMetadata(JSON.stringify({ pi_metadata: { ...validMeta, timeoutMs: NaN } }))).toBeNull();
|
|
146
|
+
expect(parsePITaskMetadata(JSON.stringify({ pi_metadata: { ...validMeta, timeoutMs: Infinity } }))).toBeNull();
|
|
147
|
+
});
|
|
148
|
+
it('inputArtifactRefs with invalid element → returns null', () => {
|
|
149
|
+
const meta = {
|
|
150
|
+
pi_metadata: {
|
|
151
|
+
...makeMetadata({ channel: 'prompt' }),
|
|
152
|
+
inputArtifactRefs: [{ artifactType: 'principle', ref: 'artifact-1' }, { artifactType: 123, ref: 'bad' }],
|
|
153
|
+
},
|
|
154
|
+
};
|
|
155
|
+
expect(parsePITaskMetadata(JSON.stringify(meta))).toBeNull();
|
|
156
|
+
});
|
|
157
|
+
it('outputArtifactRefs with invalid element → returns null', () => {
|
|
158
|
+
const meta = {
|
|
159
|
+
pi_metadata: {
|
|
160
|
+
...makeMetadata({ channel: 'prompt' }),
|
|
161
|
+
outputArtifactRefs: [{ artifactType: 'principle', ref: 'artifact-2' }, { artifactType: 'rule', ref: '' }],
|
|
162
|
+
},
|
|
163
|
+
};
|
|
164
|
+
expect(parsePITaskMetadata(JSON.stringify(meta))).toBeNull();
|
|
165
|
+
});
|
|
166
|
+
it('parentTaskId present but not non-empty string → returns null (fail closed)', () => {
|
|
167
|
+
const meta = { pi_metadata: { ...makeMetadata({ channel: 'prompt' }), parentTaskId: '' } };
|
|
168
|
+
expect(parsePITaskMetadata(JSON.stringify(meta))).toBeNull();
|
|
169
|
+
});
|
|
170
|
+
it('correlationId present but not non-empty string → returns null (fail closed)', () => {
|
|
171
|
+
const meta = { pi_metadata: { ...makeMetadata({ channel: 'defer_archive' }), correlationId: ' ' } };
|
|
172
|
+
expect(parsePITaskMetadata(JSON.stringify(meta))).toBeNull();
|
|
173
|
+
});
|
|
174
|
+
it('whitespace-only diagnosticJson → returns null', () => {
|
|
175
|
+
expect(parsePITaskMetadata(' ')).toBeNull();
|
|
176
|
+
expect(parsePITaskMetadata('\n\t')).toBeNull();
|
|
177
|
+
});
|
|
178
|
+
});
|
|
179
|
+
describe('hydratePITaskRecord', () => {
|
|
180
|
+
it('valid diagnosticJson → returns PITaskRecord passing isValidPITaskRecord()', () => {
|
|
181
|
+
const meta = makeMetadata({ channel: 'skill', timeoutMs: 180000 });
|
|
182
|
+
const task = makeBaseTaskRecord({ taskId: 'task-hydrated-1', taskKind: 'philosopher' });
|
|
183
|
+
task.diagnosticJson = createPITaskDiagnosticJson(meta);
|
|
184
|
+
const result = hydratePITaskRecord(task);
|
|
185
|
+
expect(result).not.toBeNull();
|
|
186
|
+
if (result === null)
|
|
187
|
+
return;
|
|
188
|
+
expect(isValidPITaskRecord(result)).toBe(true);
|
|
189
|
+
expect(result.taskId).toBe('task-hydrated-1');
|
|
190
|
+
expect((result).channel).toBe('skill');
|
|
191
|
+
expect((result).timeoutMs).toBe(180000);
|
|
192
|
+
expect((result).dependencyTaskIds).toEqual([]);
|
|
193
|
+
});
|
|
194
|
+
it('no diagnosticJson → returns null', () => {
|
|
195
|
+
const task = makeBaseTaskRecord({ taskId: 'task-no-diag' });
|
|
196
|
+
expect(hydratePITaskRecord(task)).toBeNull();
|
|
197
|
+
});
|
|
198
|
+
it('empty diagnosticJson string → returns null', () => {
|
|
199
|
+
const task = makeBaseTaskRecord({ taskId: 'task-empty-diag' });
|
|
200
|
+
task.diagnosticJson = '';
|
|
201
|
+
expect(hydratePITaskRecord(task)).toBeNull();
|
|
202
|
+
});
|
|
203
|
+
it('whitespace-only diagnosticJson → returns null', () => {
|
|
204
|
+
const task = makeBaseTaskRecord({ taskId: 'task-whitespace-diag' });
|
|
205
|
+
task.diagnosticJson = ' \n';
|
|
206
|
+
expect(hydratePITaskRecord(task)).toBeNull();
|
|
207
|
+
});
|
|
208
|
+
it('invalid JSON in diagnosticJson → returns null', () => {
|
|
209
|
+
const task = makeBaseTaskRecord({ taskId: 'task-bad-json' });
|
|
210
|
+
task.diagnosticJson = 'not json';
|
|
211
|
+
expect(hydratePITaskRecord(task)).toBeNull();
|
|
212
|
+
});
|
|
213
|
+
it('valid JSON but wrong envelope key → returns null', () => {
|
|
214
|
+
const task = makeBaseTaskRecord({ taskId: 'task-wrong-key' });
|
|
215
|
+
task.diagnosticJson = JSON.stringify({ other_key: {} });
|
|
216
|
+
expect(hydratePITaskRecord(task)).toBeNull();
|
|
217
|
+
});
|
|
218
|
+
it('with dependencyTaskIds and artifactRefs → hydrates correctly', () => {
|
|
219
|
+
const meta = makeMetadata({
|
|
220
|
+
channel: 'prompt',
|
|
221
|
+
dependencyTaskIds: ['dep-1', 'dep-2'],
|
|
222
|
+
inputArtifactRefs: [{ artifactType: 'principle', ref: 'artifact-1' }],
|
|
223
|
+
outputArtifactRefs: [{ artifactType: 'rule', ref: 'artifact-2' }],
|
|
224
|
+
});
|
|
225
|
+
const task = makeBaseTaskRecord({ taskId: 'task-full-meta', taskKind: 'scribe' });
|
|
226
|
+
task.diagnosticJson = createPITaskDiagnosticJson(meta);
|
|
227
|
+
const result = hydratePITaskRecord(task);
|
|
228
|
+
expect(result).not.toBeNull();
|
|
229
|
+
const pi = result;
|
|
230
|
+
expect(pi.dependencyTaskIds).toEqual(['dep-1', 'dep-2']);
|
|
231
|
+
expect(pi.inputArtifactRefs).toEqual([{ artifactType: 'principle', ref: 'artifact-1' }]);
|
|
232
|
+
expect(pi.outputArtifactRefs).toEqual([{ artifactType: 'rule', ref: 'artifact-2' }]);
|
|
233
|
+
});
|
|
234
|
+
it('taskKind not a PeerRunnerKind (e.g. diagnostician) → returns null (fail closed)', () => {
|
|
235
|
+
// hydratePITaskRecord now rejects non-peer task kinds at the hydration boundary.
|
|
236
|
+
// This closes the Agent-Software Contract gap where a non-PI task with valid
|
|
237
|
+
// pi_metadata in diagnosticJson could be treated as a PITaskRecord.
|
|
238
|
+
const meta = makeMetadata({ channel: 'defer_archive' });
|
|
239
|
+
const task = makeBaseTaskRecord({ taskId: 'task-diagnostician', taskKind: 'diagnostician' });
|
|
240
|
+
task.diagnosticJson = createPITaskDiagnosticJson(meta);
|
|
241
|
+
const result = hydratePITaskRecord(task);
|
|
242
|
+
expect(result).toBeNull();
|
|
243
|
+
});
|
|
244
|
+
it('every valid PeerRunnerKind still hydrates successfully', () => {
|
|
245
|
+
const validKinds = ['dreamer', 'philosopher', 'scribe', 'artificer', 'evaluator', 'trainer', 'rollout_reviewer'];
|
|
246
|
+
const meta = makeMetadata({ channel: 'prompt', timeoutMs: 60000 });
|
|
247
|
+
for (const kind of validKinds) {
|
|
248
|
+
const task = makeBaseTaskRecord({ taskId: `task-${kind}`, taskKind: kind });
|
|
249
|
+
task.diagnosticJson = createPITaskDiagnosticJson(meta);
|
|
250
|
+
const result = hydratePITaskRecord(task);
|
|
251
|
+
expect(result).not.toBeNull();
|
|
252
|
+
if (result !== null) {
|
|
253
|
+
expect(result.taskKind).toBe(kind);
|
|
254
|
+
expect(result.channel).toBe('prompt');
|
|
255
|
+
expect(result.timeoutMs).toBe(60000);
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
});
|
|
259
|
+
it('diagnostician with valid pi_metadata is rejected', () => {
|
|
260
|
+
const meta = makeMetadata({ channel: 'prompt', timeoutMs: 60000 });
|
|
261
|
+
const task = makeBaseTaskRecord({ taskId: 'task-diag-reject', taskKind: 'diagnostician' });
|
|
262
|
+
task.diagnosticJson = createPITaskDiagnosticJson(meta);
|
|
263
|
+
expect(hydratePITaskRecord(task)).toBeNull();
|
|
264
|
+
});
|
|
265
|
+
it('parentTaskId and correlationId present → hydrates correctly', () => {
|
|
266
|
+
const meta = makeMetadata({
|
|
267
|
+
channel: 'prompt',
|
|
268
|
+
parentTaskId: 'parent-task-xyz',
|
|
269
|
+
correlationId: 'corr-123',
|
|
270
|
+
});
|
|
271
|
+
const task = makeBaseTaskRecord({ taskId: 'task-optional-fields' });
|
|
272
|
+
task.diagnosticJson = createPITaskDiagnosticJson(meta);
|
|
273
|
+
const result = hydratePITaskRecord(task);
|
|
274
|
+
expect(result).not.toBeNull();
|
|
275
|
+
const pi = result;
|
|
276
|
+
expect(pi.parentTaskId).toBe('parent-task-xyz');
|
|
277
|
+
expect(pi.correlationId).toBe('corr-123');
|
|
278
|
+
});
|
|
279
|
+
});
|
|
280
|
+
describe('SqliteTaskStore roundtrip', () => {
|
|
281
|
+
afterEach(() => {
|
|
282
|
+
// cleanup handled per-test below
|
|
283
|
+
});
|
|
284
|
+
it('createTask with diagnosticJson → getTask returns diagnosticJson', async () => {
|
|
285
|
+
const tmpDir = createTempDir();
|
|
286
|
+
const conn = new SqliteConnection(tmpDir);
|
|
287
|
+
const store = new SqliteTaskStore(conn);
|
|
288
|
+
const meta = makeMetadata({ channel: 'model_training', timeoutMs: 600000 });
|
|
289
|
+
const diagJson = createPITaskDiagnosticJson(meta);
|
|
290
|
+
const task = makeBaseTaskRecord({ taskId: 'task-sqlite-roundtrip', taskKind: 'artificer' });
|
|
291
|
+
const created = await store.createTask(task);
|
|
292
|
+
await store.updateTask(created.taskId, { diagnosticJson: diagJson });
|
|
293
|
+
const retrieved = await store.getTask(created.taskId);
|
|
294
|
+
expect(retrieved).not.toBeNull();
|
|
295
|
+
if (retrieved === null)
|
|
296
|
+
return;
|
|
297
|
+
expect(retrieved.diagnosticJson).toBe(diagJson);
|
|
298
|
+
// Hydration still works
|
|
299
|
+
const hydrated = hydratePITaskRecord(retrieved);
|
|
300
|
+
expect(hydrated).not.toBeNull();
|
|
301
|
+
if (hydrated !== null) {
|
|
302
|
+
expect(isValidPITaskRecord(hydrated)).toBe(true);
|
|
303
|
+
}
|
|
304
|
+
conn.close();
|
|
305
|
+
cleanupDir(tmpDir);
|
|
306
|
+
});
|
|
307
|
+
it('createTask with diagnosticJson directly → getTask returns it', async () => {
|
|
308
|
+
const tmpDir = createTempDir();
|
|
309
|
+
const conn = new SqliteConnection(tmpDir);
|
|
310
|
+
const store = new SqliteTaskStore(conn);
|
|
311
|
+
const meta = makeMetadata({ channel: 'skill', timeoutMs: 120000 });
|
|
312
|
+
const diagJson = createPITaskDiagnosticJson(meta);
|
|
313
|
+
const task = makeBaseTaskRecord({
|
|
314
|
+
taskId: 'task-inline-diag',
|
|
315
|
+
taskKind: 'evaluator',
|
|
316
|
+
diagnosticJson: diagJson,
|
|
317
|
+
});
|
|
318
|
+
const created = await store.createTask(task);
|
|
319
|
+
const retrieved = await store.getTask(created.taskId);
|
|
320
|
+
expect(retrieved).not.toBeNull();
|
|
321
|
+
if (retrieved === null)
|
|
322
|
+
return;
|
|
323
|
+
expect(retrieved.diagnosticJson).toBe(diagJson);
|
|
324
|
+
const hydrated = hydratePITaskRecord(retrieved);
|
|
325
|
+
expect(hydrated).not.toBeNull();
|
|
326
|
+
if (hydrated !== null) {
|
|
327
|
+
expect((hydrated).channel).toBe('skill');
|
|
328
|
+
}
|
|
329
|
+
conn.close();
|
|
330
|
+
cleanupDir(tmpDir);
|
|
331
|
+
});
|
|
332
|
+
});
|
|
333
|
+
//# sourceMappingURL=pitask-metadata.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pitask-metadata.test.js","sourceRoot":"","sources":["../../../src/runtime-v2/__tests__/pitask-metadata.test.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACzD,OAAO,KAAK,EAAE,MAAM,SAAS,CAAC;AAC9B,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,KAAK,EAAE,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