create-principles-disciple 1.147.13 → 1.147.14
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/_release/product-identity.json +1 -1
- package/codex-adapter/dist/codex-evidence-recorder.d.ts +1 -1
- package/codex-adapter/dist/ingestion/admission.d.ts +1 -1
- package/codex-adapter/dist/ingestion/admission.js +1 -1
- package/codex-adapter/dist/ingestion/catch-up.js +1 -1
- package/codex-adapter/dist/ingestion/turn-context.js +1 -1
- package/codex-adapter/dist/pd-hook.js +3 -3
- package/codex-adapter/dist/tool-semantics.d.ts +1 -1
- package/codex-adapter/dist/tool-semantics.js +1 -1
- package/codex-adapter/dist/worker/workspace-worker.js +2 -2
- package/codex-adapter/package.json +1 -1
- package/console/dist/server/config/pd-config-store.d.ts +2 -2
- package/console/dist/server/config/pd-config-store.js +34 -20
- package/console/dist/server/feedback/github-adapter.d.ts +1 -1
- package/console/dist/server/feedback/github-adapter.js +3 -2
- package/console/dist/server/feedback/ingest-adapter.d.ts +1 -1
- package/console/dist/server/feedback/ingest-adapter.js +3 -2
- package/console/dist/server/feedback/submit-service.d.ts +1 -1
- package/console/dist/server/feedback/submit-service.js +1 -1
- package/console/dist/server/index.js +13 -10
- package/console/dist/server/models/ActivationsConsoleModel.d.ts +5 -5
- package/console/dist/server/models/ActivationsConsoleModel.js +11 -10
- package/console/dist/server/models/ApprovalsConsoleModel.d.ts +2 -2
- package/console/dist/server/models/ApprovalsConsoleModel.js +7 -6
- package/console/dist/server/models/ApprovalsGroupedConsoleModel.js +5 -4
- package/console/dist/server/models/CodexGovernanceHealthModel.js +2 -1
- package/console/dist/server/models/ConsoleLifecycleDatasource.d.ts +2 -2
- package/console/dist/server/models/ConsoleLifecycleDatasource.js +2 -1
- package/console/dist/server/models/EvidenceChainConsoleModel.d.ts +1 -1
- package/console/dist/server/models/EvidenceChainConsoleModel.js +4 -3
- package/console/dist/server/models/ExaminerEvidenceModel.d.ts +1 -1
- package/console/dist/server/models/ExaminerEvidenceModel.js +2 -1
- package/console/dist/server/models/FeedbackReportConsoleModel.d.ts +1 -1
- package/console/dist/server/models/FeedbackReportConsoleModel.js +8 -7
- package/console/dist/server/models/GovernanceConsoleModel.js +3 -2
- package/console/dist/server/models/GovernanceExperienceCollector.d.ts +1 -1
- package/console/dist/server/models/GovernanceExperienceCollector.js +1 -1
- package/console/dist/server/models/GovernanceProjectionCollector.d.ts +1 -1
- package/console/dist/server/models/GovernanceProjectionCollector.js +1 -1
- package/console/dist/server/models/HealthCheckModel.js +3 -2
- package/console/dist/server/models/IntentDecisionModel.d.ts +1 -1
- package/console/dist/server/models/IntentDecisionModel.js +1 -1
- package/console/dist/server/models/IntentPageModel.d.ts +1 -1
- package/console/dist/server/models/IntentPageModel.js +99 -27
- package/console/dist/server/models/LifecycleConsoleModel.js +1 -1
- package/console/dist/server/models/OwnerDecisionConsoleModel.d.ts +1 -1
- package/console/dist/server/models/OwnerDecisionConsoleModel.js +1 -1
- package/console/dist/server/models/OwnerDecisionViewModel.d.ts +1 -1
- package/console/dist/server/models/OwnerDecisionViewModel.js +5 -5
- package/console/dist/server/models/PrincipleClassifier.js +1 -1
- package/console/dist/server/models/PrincipleTrajectoryModel.js +8 -7
- package/console/dist/server/models/PrinciplesConsoleModel.d.ts +1 -1
- package/console/dist/server/models/PrinciplesConsoleModel.js +10 -3
- package/console/dist/server/models/ReceiptsConsoleModel.d.ts +1 -1
- package/console/dist/server/models/ReceiptsConsoleModel.js +5 -4
- package/console/dist/server/models/RuleCandidateBindingConsoleModel.d.ts +3 -3
- package/console/dist/server/models/RuleCandidateBindingConsoleModel.js +1 -1
- package/console/dist/server/models/artifact-principle-resolver.d.ts +1 -1
- package/console/dist/server/models/artifact-principle-resolver.js +1 -1
- package/console/dist/server/models/principle-id-resolution.d.ts +3 -3
- package/console/dist/server/models/principle-id-resolution.js +2 -2
- package/console/dist/server/routes/activations.d.ts +1 -1
- package/console/dist/server/routes/activations.js +10 -10
- package/console/dist/server/routes/approvals-grouped.js +2 -2
- package/console/dist/server/routes/approvals.js +8 -11
- package/console/dist/server/routes/design-gate.js +1 -1
- package/console/dist/server/routes/evidence-chain.js +2 -2
- package/console/dist/server/routes/evidence-outcomes.js +1 -1
- package/console/dist/server/routes/failed-tasks.d.ts +1 -1
- package/console/dist/server/routes/failed-tasks.js +3 -6
- package/console/dist/server/routes/feedback-reports.js +5 -8
- package/console/dist/server/routes/governance.d.ts +1 -1
- package/console/dist/server/routes/governance.js +3 -3
- package/console/dist/server/routes/health.js +2 -2
- package/console/dist/server/routes/intent-decisions.js +7 -10
- package/console/dist/server/routes/lifecycle.js +2 -2
- package/console/dist/server/routes/onboarding.d.ts +1 -1
- package/console/dist/server/routes/onboarding.js +3 -3
- package/console/dist/server/routes/owner-decision.js +4 -4
- package/console/dist/server/routes/owner-decisions.js +4 -4
- package/console/dist/server/routes/owner-identity.d.ts +1 -1
- package/console/dist/server/routes/owner-identity.js +1 -1
- package/console/dist/server/routes/principles.js +13 -13
- package/console/dist/server/routes/receipts.js +4 -4
- package/console/dist/server/routes/update-transaction.js +4 -4
- package/console/dist/server/routes/update.js +3 -3
- package/console/dist/server/routes/workspaces.js +5 -8
- package/console/dist/server/utils/cli-smoke.js +2 -1
- package/console/dist/server/utils/gateway.js +2 -1
- package/console/dist/server/utils/pd-backups.js +3 -2
- package/console/dist/server/utils/request.js +8 -6
- package/console/dist/server/utils/response.d.ts +10 -0
- package/console/dist/server/utils/response.js +18 -0
- package/console/dist/shared/approved-rule-revision-contract.d.ts +1 -1
- package/console/dist/web/assets/app.js +31 -31
- package/console/lab/lib/examiner-injection-evidence.mjs +1 -1
- package/core/dist/host/host-adapter.d.ts +3 -3
- package/core/dist/host/host-adapter.d.ts.map +1 -1
- package/core/dist/index.d.ts +26 -26
- package/core/dist/index.d.ts.map +1 -1
- package/core/dist/index.js +16 -16
- package/core/dist/index.js.map +1 -1
- package/core/dist/principle-tree-ledger.d.ts +5 -5
- package/core/dist/principle-tree-ledger.d.ts.map +1 -1
- package/core/dist/principle-tree-ledger.js +17 -4
- package/core/dist/principle-tree-ledger.js.map +1 -1
- package/core/dist/prompt-builder/model-config.js +1 -1
- package/core/dist/prompt-builder/model-config.js.map +1 -1
- package/core/dist/prompt-builder/size-guard.d.ts.map +1 -1
- package/core/dist/prompt-builder/size-guard.js +39 -6
- package/core/dist/prompt-builder/size-guard.js.map +1 -1
- package/core/dist/prompt-builder/xml-escape.d.ts +1 -1
- package/core/dist/prompt-builder/xml-escape.js +1 -1
- package/core/dist/runtime/activation/activation-control-types.d.ts.map +1 -0
- package/core/dist/runtime/activation/activation-control-types.js.map +1 -0
- package/core/dist/runtime/activation/activation-dispatcher.d.ts.map +1 -0
- package/core/dist/runtime/activation/activation-dispatcher.js.map +1 -0
- package/core/dist/runtime/activation/activation-types.d.ts.map +1 -0
- package/core/dist/runtime/activation/activation-types.js.map +1 -0
- package/core/dist/runtime/activation/adaptive-delivery-record.d.ts.map +1 -0
- package/core/dist/runtime/activation/adaptive-delivery-record.js.map +1 -0
- package/core/dist/runtime/activation/adaptive-principle-intervention.d.ts +83 -0
- package/core/dist/runtime/activation/adaptive-principle-intervention.d.ts.map +1 -0
- package/core/dist/runtime/activation/adaptive-principle-intervention.js.map +1 -0
- package/core/dist/runtime/activation/approval-completion-service.d.ts.map +1 -0
- package/core/dist/runtime/activation/approval-completion-service.js.map +1 -0
- package/core/dist/runtime/activation/approval-queue.d.ts.map +1 -0
- package/core/dist/runtime/activation/approval-queue.js.map +1 -0
- package/core/dist/runtime/activation/approval-review-guard.d.ts.map +1 -0
- package/core/dist/runtime/activation/approval-review-guard.js.map +1 -0
- package/core/dist/runtime/activation/index.d.ts +48 -0
- package/core/dist/runtime/activation/index.d.ts.map +1 -0
- package/core/dist/runtime/activation/index.js +38 -0
- package/core/dist/runtime/activation/index.js.map +1 -0
- package/core/dist/runtime/activation/ledger-identity.d.ts.map +1 -0
- package/core/dist/runtime/activation/ledger-identity.js.map +1 -0
- package/core/dist/runtime/activation/low-risk-writers.d.ts.map +1 -0
- package/core/dist/runtime/activation/low-risk-writers.js.map +1 -0
- package/core/dist/runtime/activation/memory-activation-state-store.d.ts.map +1 -0
- package/core/dist/runtime/activation/memory-activation-state-store.js.map +1 -0
- package/core/dist/runtime/activation/memory-approval-store.d.ts.map +1 -0
- package/core/dist/runtime/activation/memory-approval-store.js.map +1 -0
- package/core/dist/runtime/activation/openclaw-promotion-checks.d.ts.map +1 -0
- package/core/dist/runtime/activation/openclaw-promotion-checks.js.map +1 -0
- package/core/dist/runtime/activation/production-gate-deps.d.ts.map +1 -0
- package/core/dist/runtime/activation/production-gate-deps.js.map +1 -0
- package/core/dist/runtime/activation/promotion-evidence-snapshot.d.ts.map +1 -0
- package/core/dist/runtime/activation/promotion-evidence-snapshot.js.map +1 -0
- package/core/dist/runtime/activation/promotion-readiness-evaluator.d.ts.map +1 -0
- package/core/dist/runtime/activation/promotion-readiness-evaluator.js.map +1 -0
- package/core/dist/runtime/activation/promotion-readiness-reader.d.ts.map +1 -0
- package/core/dist/runtime/activation/promotion-readiness-reader.js.map +1 -0
- package/core/dist/runtime/activation/prompt-activation-reader-contract.d.ts +118 -0
- package/core/dist/runtime/activation/prompt-activation-reader-contract.d.ts.map +1 -0
- package/core/dist/runtime/activation/prompt-activation-reader-contract.js +209 -0
- package/core/dist/runtime/activation/prompt-activation-reader-contract.js.map +1 -0
- package/core/dist/runtime/activation/prompt-budget-policy.d.ts.map +1 -0
- package/core/dist/runtime/activation/prompt-budget-policy.js +326 -0
- package/core/dist/runtime/activation/prompt-budget-policy.js.map +1 -0
- package/core/dist/runtime/activation/prompt-replacement.d.ts.map +1 -0
- package/core/dist/runtime/activation/prompt-replacement.js.map +1 -0
- package/core/dist/runtime/activation/recovery-composition.d.ts.map +1 -0
- package/core/dist/runtime/activation/recovery-composition.js.map +1 -0
- package/core/dist/runtime/activation/recovery-control-surfaces.d.ts.map +1 -0
- package/core/dist/runtime/activation/recovery-control-surfaces.js.map +1 -0
- package/core/dist/runtime/activation/rule-replacement.d.ts.map +1 -0
- package/core/dist/runtime/activation/rule-replacement.js.map +1 -0
- package/core/dist/runtime/activation/rulecode-owner-decision-service.d.ts.map +1 -0
- package/core/dist/runtime/activation/rulecode-owner-decision-service.js.map +1 -0
- package/core/dist/runtime/activation/rulecode-safety-circuit-breaker.d.ts.map +1 -0
- package/core/dist/runtime/activation/rulecode-safety-circuit-breaker.js.map +1 -0
- package/core/dist/runtime/activation/rulecode-shadow-summary.d.ts.map +1 -0
- package/core/dist/runtime/activation/rulecode-shadow-summary.js.map +1 -0
- package/core/dist/runtime/activation/sqlite-activation-safety-store.d.ts.map +1 -0
- package/core/dist/runtime/activation/sqlite-activation-safety-store.js.map +1 -0
- package/core/dist/runtime/activation/sqlite-activation-state-store.d.ts.map +1 -0
- package/core/dist/runtime/activation/sqlite-activation-state-store.js.map +1 -0
- package/core/dist/runtime/activation/sqlite-approval-store.d.ts.map +1 -0
- package/core/dist/runtime/activation/sqlite-approval-store.js.map +1 -0
- package/core/dist/runtime/activation/writers/index.d.ts.map +1 -0
- package/core/dist/runtime/activation/writers/index.js.map +1 -0
- package/core/dist/runtime/activation/writers/rule-host-writer.d.ts.map +1 -0
- package/core/dist/runtime/activation/writers/rule-host-writer.js.map +1 -0
- package/core/dist/runtime/activation-compatibility-read-model.d.ts.map +1 -0
- package/core/dist/runtime/activation-compatibility-read-model.js.map +1 -0
- package/core/dist/runtime/adapter/artificer-l2-adapter.d.ts.map +1 -0
- package/core/dist/runtime/adapter/artificer-l2-adapter.js.map +1 -0
- package/core/dist/runtime/adapter/index.d.ts.map +1 -0
- package/core/dist/runtime/adapter/index.js.map +1 -0
- package/core/dist/runtime/adapter/json-extractor.d.ts.map +1 -0
- package/core/dist/runtime/adapter/json-extractor.js.map +1 -0
- package/core/dist/runtime/adapter/l2-agent-loop-adapter.d.ts.map +1 -0
- package/core/dist/runtime/adapter/l2-agent-loop-adapter.js.map +1 -0
- package/core/dist/runtime/adapter/output-repair-contract.d.ts.map +1 -0
- package/core/dist/runtime/adapter/output-repair-contract.js +99 -0
- package/core/dist/runtime/adapter/output-repair-contract.js.map +1 -0
- package/core/dist/runtime/adapter/output-schema-registry.d.ts.map +1 -0
- package/core/dist/runtime/adapter/output-schema-registry.js.map +1 -0
- package/core/dist/runtime/adapter/pi-ai-catalog.d.ts.map +1 -0
- package/core/dist/runtime/adapter/pi-ai-catalog.js.map +1 -0
- package/core/dist/runtime/adapter/pi-ai-http-transport.d.ts.map +1 -0
- package/core/dist/runtime/adapter/pi-ai-http-transport.js.map +1 -0
- package/core/dist/runtime/adapter/pi-ai-runtime-adapter.d.ts.map +1 -0
- package/core/dist/runtime/adapter/pi-ai-runtime-adapter.js +1489 -0
- package/core/dist/runtime/adapter/pi-ai-runtime-adapter.js.map +1 -0
- package/core/dist/runtime/adapter/principle-tree-ledger-adapter.d.ts +98 -0
- package/core/dist/runtime/adapter/principle-tree-ledger-adapter.d.ts.map +1 -0
- package/core/dist/runtime/adapter/principle-tree-ledger-adapter.js +243 -0
- package/core/dist/runtime/adapter/principle-tree-ledger-adapter.js.map +1 -0
- package/core/dist/runtime/adapter/schema-json-converter.d.ts.map +1 -0
- package/core/dist/runtime/adapter/schema-json-converter.js.map +1 -0
- package/core/dist/runtime/adapter/schema-prompt-adapter.d.ts.map +1 -0
- package/core/dist/runtime/adapter/schema-prompt-adapter.js.map +1 -0
- package/core/dist/runtime/adapter/split-pipeline-fixtures.d.ts.map +1 -0
- package/core/dist/runtime/adapter/split-pipeline-fixtures.js.map +1 -0
- package/core/dist/runtime/adapter/structured-output-repair.d.ts.map +1 -0
- package/core/dist/runtime/adapter/structured-output-repair.js +298 -0
- package/core/dist/runtime/adapter/structured-output-repair.js.map +1 -0
- package/core/dist/runtime/adapter/test-double-runtime-adapter.d.ts.map +1 -0
- package/core/dist/runtime/adapter/test-double-runtime-adapter.js.map +1 -0
- package/core/dist/runtime/adapter/tools/diagnostician-tool.d.ts.map +1 -0
- package/core/dist/runtime/adapter/tools/diagnostician-tool.js.map +1 -0
- package/core/dist/runtime/admission-gate.d.ts.map +1 -0
- package/core/dist/runtime/admission-gate.js.map +1 -0
- package/core/dist/runtime/adversarial-loop.d.ts.map +1 -0
- package/core/dist/runtime/adversarial-loop.js.map +1 -0
- package/core/dist/runtime/agent-spec.d.ts.map +1 -0
- package/core/dist/runtime/agent-spec.js.map +1 -0
- package/core/dist/runtime/bridge-result-shaper.d.ts.map +1 -0
- package/core/dist/runtime/bridge-result-shaper.js.map +1 -0
- package/core/dist/runtime/build-l2-principle-reader.d.ts.map +1 -0
- package/core/dist/runtime/build-l2-principle-reader.js.map +1 -0
- package/core/dist/runtime/candidate-audit.d.ts.map +1 -0
- package/core/dist/runtime/candidate-audit.js.map +1 -0
- package/core/dist/runtime/candidate-intake-service.d.ts.map +1 -0
- package/core/dist/runtime/candidate-intake-service.js.map +1 -0
- package/core/dist/runtime/candidate-intake.d.ts.map +1 -0
- package/core/dist/runtime/candidate-intake.js.map +1 -0
- package/core/dist/runtime/cli/diagnose.d.ts.map +1 -0
- package/core/dist/runtime/cli/diagnose.js.map +1 -0
- package/core/dist/runtime/cli/index.d.ts.map +1 -0
- package/core/dist/runtime/cli/index.js.map +1 -0
- package/core/dist/runtime/cli/probe.d.ts.map +1 -0
- package/core/dist/runtime/cli/probe.js.map +1 -0
- package/core/dist/runtime/config/index.d.ts.map +1 -0
- package/core/dist/runtime/config/index.js.map +1 -0
- package/core/dist/runtime/config/pd-config-agent-binding.d.ts.map +1 -0
- package/core/dist/runtime/config/pd-config-agent-binding.js.map +1 -0
- package/core/dist/runtime/config/pd-config-defaults.d.ts.map +1 -0
- package/core/dist/runtime/config/pd-config-defaults.js.map +1 -0
- package/core/dist/runtime/config/pd-config-effective.d.ts.map +1 -0
- package/core/dist/runtime/config/pd-config-effective.js.map +1 -0
- package/core/dist/runtime/config/pd-config-feature-flags.d.ts.map +1 -0
- package/core/dist/runtime/config/pd-config-feature-flags.js.map +1 -0
- package/core/dist/runtime/config/pd-config-redaction.d.ts.map +1 -0
- package/core/dist/runtime/config/pd-config-redaction.js +202 -0
- package/core/dist/runtime/config/pd-config-redaction.js.map +1 -0
- package/core/dist/runtime/config/pd-config-types.d.ts.map +1 -0
- package/core/dist/runtime/config/pd-config-types.js.map +1 -0
- package/core/dist/runtime/config/pd-config-validate.d.ts.map +1 -0
- package/core/dist/runtime/config/pd-config-validate.js.map +1 -0
- package/core/dist/runtime/config/pd-profile-constants.d.ts.map +1 -0
- package/core/dist/runtime/config/pd-profile-constants.js.map +1 -0
- package/core/dist/runtime/config/pd-validate-profile.d.ts.map +1 -0
- package/core/dist/runtime/config/pd-validate-profile.js.map +1 -0
- package/core/dist/runtime/context-payload.d.ts.map +1 -0
- package/core/dist/runtime/context-payload.js.map +1 -0
- package/core/dist/runtime/control-plane-triage.d.ts.map +1 -0
- package/core/dist/runtime/control-plane-triage.js.map +1 -0
- package/core/dist/runtime/core-principles/core-axiom-block.d.ts.map +1 -0
- package/core/dist/runtime/core-principles/core-axiom-block.js.map +1 -0
- package/core/dist/runtime/core-principles/core-principle-registry.d.ts.map +1 -0
- package/core/dist/runtime/core-principles/core-principle-registry.js.map +1 -0
- package/core/dist/runtime/core-principles/index.d.ts.map +1 -0
- package/core/dist/runtime/core-principles/index.js.map +1 -0
- package/core/dist/runtime/core-principles/strip-fabricated-ids.d.ts.map +1 -0
- package/core/dist/runtime/core-principles/strip-fabricated-ids.js.map +1 -0
- package/core/dist/runtime/correction/correction-types.d.ts.map +1 -0
- package/core/dist/runtime/correction/correction-types.js.map +1 -0
- package/core/dist/runtime/correction/index.d.ts.map +1 -0
- package/core/dist/runtime/correction/index.js.map +1 -0
- package/core/dist/runtime/detection/detection-funnel-policy.d.ts.map +1 -0
- package/core/dist/runtime/detection/detection-funnel-policy.js.map +1 -0
- package/core/dist/runtime/detection/index.d.ts.map +1 -0
- package/core/dist/runtime/detection/index.js.map +1 -0
- package/core/dist/runtime/diagnostician/diag-distiller-output.d.ts.map +1 -0
- package/core/dist/runtime/diagnostician/diag-distiller-output.js.map +1 -0
- package/core/dist/runtime/diagnostician/diag-rootcause-output.d.ts.map +1 -0
- package/core/dist/runtime/diagnostician/diag-rootcause-output.js.map +1 -0
- package/core/dist/runtime/diagnostician/distiller-prompt-builder.d.ts.map +1 -0
- package/core/dist/runtime/diagnostician/distiller-prompt-builder.js.map +1 -0
- package/core/dist/runtime/diagnostician/evidence-ref-binding.d.ts.map +1 -0
- package/core/dist/runtime/diagnostician/evidence-ref-binding.js.map +1 -0
- package/core/dist/runtime/diagnostician/rootcause-prompt-builder.d.ts.map +1 -0
- package/core/dist/runtime/diagnostician/rootcause-prompt-builder.js.map +1 -0
- package/core/dist/runtime/diagnostician/router-prompt-builder.d.ts.map +1 -0
- package/core/dist/runtime/diagnostician/router-prompt-builder.js.map +1 -0
- package/core/dist/runtime/diagnostician-association-shadow.d.ts.map +1 -0
- package/core/dist/runtime/diagnostician-association-shadow.js.map +1 -0
- package/core/dist/runtime/diagnostician-association-validation.d.ts.map +1 -0
- package/core/dist/runtime/diagnostician-association-validation.js.map +1 -0
- package/core/dist/runtime/diagnostician-capability.d.ts.map +1 -0
- package/core/dist/runtime/diagnostician-capability.js.map +1 -0
- package/core/dist/runtime/diagnostician-output.d.ts.map +1 -0
- package/core/dist/runtime/diagnostician-output.js.map +1 -0
- package/core/dist/runtime/diagnostician-prompt-builder.d.ts.map +1 -0
- package/core/dist/runtime/diagnostician-prompt-builder.js.map +1 -0
- package/core/dist/runtime/error-categories.d.ts +42 -0
- package/core/dist/runtime/error-categories.d.ts.map +1 -0
- package/core/dist/runtime/error-categories.js +122 -0
- package/core/dist/runtime/error-categories.js.map +1 -0
- package/core/dist/runtime/evidence-guards.d.ts.map +1 -0
- package/core/dist/runtime/evidence-guards.js.map +1 -0
- package/core/dist/runtime/evidence-sanitizer.d.ts.map +1 -0
- package/core/dist/runtime/evidence-sanitizer.js.map +1 -0
- package/core/dist/runtime/evidence-triage/index.d.ts.map +1 -0
- package/core/dist/runtime/evidence-triage/index.js.map +1 -0
- package/core/dist/runtime/evidence-triage/observation-resolver.d.ts.map +1 -0
- package/core/dist/runtime/evidence-triage/observation-resolver.js.map +1 -0
- package/core/dist/runtime/evidence-triage/source-descriptors.d.ts.map +1 -0
- package/core/dist/runtime/evidence-triage/source-descriptors.js.map +1 -0
- package/core/dist/runtime/evidence-triage/triage-policy.d.ts.map +1 -0
- package/core/dist/runtime/evidence-triage/triage-policy.js.map +1 -0
- package/core/dist/runtime/evidence-triage/trigger-controller.d.ts.map +1 -0
- package/core/dist/runtime/evidence-triage/trigger-controller.js.map +1 -0
- package/core/dist/runtime/evidence-triage/types.d.ts.map +1 -0
- package/core/dist/runtime/evidence-triage/types.js.map +1 -0
- package/core/dist/runtime/evolution/evolution-types.d.ts.map +1 -0
- package/core/dist/runtime/evolution/evolution-types.js.map +1 -0
- package/core/dist/runtime/feature-flags/feature-flag-contract.d.ts.map +1 -0
- package/core/dist/runtime/feature-flags/feature-flag-contract.js.map +1 -0
- package/core/dist/runtime/feature-flags/feature-flag-lifecycle.d.ts.map +1 -0
- package/core/dist/runtime/feature-flags/feature-flag-lifecycle.js +273 -0
- package/core/dist/runtime/feature-flags/feature-flag-lifecycle.js.map +1 -0
- package/core/dist/runtime/feature-flags/index.d.ts.map +1 -0
- package/core/dist/runtime/feature-flags/index.js.map +1 -0
- package/core/dist/runtime/feature-flags/plugin-surface-registry.d.ts.map +1 -0
- package/core/dist/runtime/feature-flags/plugin-surface-registry.js.map +1 -0
- package/core/dist/runtime/feature-flags/surface-guard-policy.d.ts.map +1 -0
- package/core/dist/runtime/feature-flags/surface-guard-policy.js.map +1 -0
- package/core/dist/runtime/feedback/create-report.d.ts.map +1 -0
- package/core/dist/runtime/feedback/create-report.js.map +1 -0
- package/core/dist/runtime/feedback/feedback-types.d.ts.map +1 -0
- package/core/dist/runtime/feedback/feedback-types.js.map +1 -0
- package/core/dist/runtime/feedback/fingerprint.d.ts.map +1 -0
- package/core/dist/runtime/feedback/fingerprint.js.map +1 -0
- package/core/dist/runtime/feedback/index.d.ts.map +1 -0
- package/core/dist/runtime/feedback/index.js +18 -0
- package/core/dist/runtime/feedback/index.js.map +1 -0
- package/core/dist/runtime/feedback/internal-guards.d.ts.map +1 -0
- package/core/dist/runtime/feedback/internal-guards.js.map +1 -0
- package/core/dist/runtime/feedback/pending-agent-draft-store.d.ts.map +1 -0
- package/core/dist/runtime/feedback/pending-agent-draft-store.js.map +1 -0
- package/core/dist/runtime/feedback/privacy-preview.d.ts.map +1 -0
- package/core/dist/runtime/feedback/privacy-preview.js.map +1 -0
- package/core/dist/runtime/feedback/redact-sensitive.d.ts.map +1 -0
- package/core/dist/runtime/feedback/redact-sensitive.js +318 -0
- package/core/dist/runtime/feedback/redact-sensitive.js.map +1 -0
- package/core/dist/runtime/feedback/render-github-url.d.ts.map +1 -0
- package/core/dist/runtime/feedback/render-github-url.js.map +1 -0
- package/core/dist/runtime/feedback/render-markdown.d.ts.map +1 -0
- package/core/dist/runtime/feedback/render-markdown.js.map +1 -0
- package/core/dist/runtime/feedback/safe-stringify.d.ts.map +1 -0
- package/core/dist/runtime/feedback/safe-stringify.js.map +1 -0
- package/core/dist/runtime/full-trace-contract.d.ts.map +1 -0
- package/core/dist/runtime/full-trace-contract.js +481 -0
- package/core/dist/runtime/full-trace-contract.js.map +1 -0
- package/core/dist/runtime/golden-trace-replay-validator.d.ts.map +1 -0
- package/core/dist/runtime/golden-trace-replay-validator.js.map +1 -0
- package/core/dist/runtime/golden-trace.d.ts.map +1 -0
- package/core/dist/runtime/golden-trace.js.map +1 -0
- package/core/dist/runtime/governance-experience-contract.d.ts.map +1 -0
- package/core/dist/runtime/governance-experience-contract.js.map +1 -0
- package/core/dist/runtime/governance-experience.d.ts.map +1 -0
- package/core/dist/runtime/governance-experience.js.map +1 -0
- package/core/dist/runtime/governance-projection-contract.d.ts.map +1 -0
- package/core/dist/runtime/governance-projection-contract.js.map +1 -0
- package/core/dist/runtime/governance-projection.d.ts.map +1 -0
- package/core/dist/runtime/governance-projection.js.map +1 -0
- package/core/dist/runtime/governance-timestamp-schema.d.ts.map +1 -0
- package/core/dist/runtime/governance-timestamp-schema.js.map +1 -0
- package/core/dist/runtime/index.d.ts +446 -0
- package/core/dist/runtime/index.d.ts.map +1 -0
- package/core/dist/runtime/index.js +409 -0
- package/core/dist/runtime/index.js.map +1 -0
- package/core/dist/runtime/intent/index.d.ts.map +1 -0
- package/core/dist/runtime/intent/index.js.map +1 -0
- package/core/dist/runtime/intent/intent-browser.d.ts +23 -0
- package/core/dist/runtime/intent/intent-browser.d.ts.map +1 -0
- package/core/dist/runtime/intent/intent-browser.js +21 -0
- package/core/dist/runtime/intent/intent-browser.js.map +1 -0
- package/core/dist/runtime/intent/intent-decision-record.d.ts +125 -0
- package/core/dist/runtime/intent/intent-decision-record.d.ts.map +1 -0
- package/core/dist/runtime/intent/intent-decision-record.js +21 -0
- package/core/dist/runtime/intent/intent-decision-record.js.map +1 -0
- package/core/dist/runtime/intent/intent-doc-reader-port.d.ts.map +1 -0
- package/core/dist/runtime/intent/intent-doc-reader-port.js.map +1 -0
- package/core/dist/runtime/intent/intent-doc-version.d.ts.map +1 -0
- package/core/dist/runtime/intent/intent-doc-version.js.map +1 -0
- package/core/dist/runtime/intent/intent-doc.d.ts.map +1 -0
- package/core/dist/runtime/intent/intent-doc.js.map +1 -0
- package/core/dist/runtime/intent/intent-friction-block.d.ts.map +1 -0
- package/core/dist/runtime/intent/intent-friction-block.js.map +1 -0
- package/core/dist/runtime/intent/intent-hash.d.ts.map +1 -0
- package/core/dist/runtime/intent/intent-hash.js.map +1 -0
- package/core/dist/runtime/intent/intent-patch-proposal.d.ts.map +1 -0
- package/core/dist/runtime/intent/intent-patch-proposal.js.map +1 -0
- package/core/dist/runtime/internalization/adversarial-case.d.ts.map +1 -0
- package/core/dist/runtime/internalization/adversarial-case.js.map +1 -0
- package/core/dist/runtime/internalization/adversarial-feedback.d.ts.map +1 -0
- package/core/dist/runtime/internalization/adversarial-feedback.js.map +1 -0
- package/core/dist/runtime/internalization/approved-rule-revision.d.ts.map +1 -0
- package/core/dist/runtime/internalization/approved-rule-revision.js.map +1 -0
- package/core/dist/runtime/internalization/artifact-content-hash.d.ts.map +1 -0
- package/core/dist/runtime/internalization/artifact-content-hash.js.map +1 -0
- package/core/dist/runtime/internalization/artifact-summary.d.ts.map +1 -0
- package/core/dist/runtime/internalization/artifact-summary.js.map +1 -0
- package/core/dist/runtime/internalization/artificer-code-bearing.d.ts.map +1 -0
- package/core/dist/runtime/internalization/artificer-code-bearing.js.map +1 -0
- package/core/dist/runtime/internalization/artificer-intent-preflight.d.ts.map +1 -0
- package/core/dist/runtime/internalization/artificer-intent-preflight.js.map +1 -0
- package/core/dist/runtime/internalization/artificer-output.d.ts.map +1 -0
- package/core/dist/runtime/internalization/artificer-output.js.map +1 -0
- package/core/dist/runtime/internalization/artificer-prompt-builder.d.ts.map +1 -0
- package/core/dist/runtime/internalization/artificer-prompt-builder.js.map +1 -0
- package/core/dist/runtime/internalization/artificer-run-correlation.d.ts.map +1 -0
- package/core/dist/runtime/internalization/artificer-run-correlation.js.map +1 -0
- package/core/dist/runtime/internalization/artificer-runner.d.ts.map +1 -0
- package/core/dist/runtime/internalization/artificer-runner.js.map +1 -0
- package/core/dist/runtime/internalization/bash-risk.d.ts.map +1 -0
- package/core/dist/runtime/internalization/bash-risk.js +908 -0
- package/core/dist/runtime/internalization/bash-risk.js.map +1 -0
- package/core/dist/runtime/internalization/behavior-example-pack.d.ts +47 -0
- package/core/dist/runtime/internalization/behavior-example-pack.d.ts.map +1 -0
- package/core/dist/runtime/internalization/behavior-example-pack.js +214 -0
- package/core/dist/runtime/internalization/behavior-example-pack.js.map +1 -0
- package/core/dist/runtime/internalization/candidate-identity.d.ts.map +1 -0
- package/core/dist/runtime/internalization/candidate-identity.js.map +1 -0
- package/core/dist/runtime/internalization/compile-result.d.ts.map +1 -0
- package/core/dist/runtime/internalization/compile-result.js.map +1 -0
- package/core/dist/runtime/internalization/consumer-evidence-preflight.d.ts.map +1 -0
- package/core/dist/runtime/internalization/consumer-evidence-preflight.js.map +1 -0
- package/core/dist/runtime/internalization/correction-proposal.d.ts.map +1 -0
- package/core/dist/runtime/internalization/correction-proposal.js +352 -0
- package/core/dist/runtime/internalization/correction-proposal.js.map +1 -0
- package/core/dist/runtime/internalization/deprecated-readiness.d.ts.map +1 -0
- package/core/dist/runtime/internalization/deprecated-readiness.js.map +1 -0
- package/core/dist/runtime/internalization/design-gate-facts.d.ts.map +1 -0
- package/core/dist/runtime/internalization/design-gate-facts.js.map +1 -0
- package/core/dist/runtime/internalization/diag-distiller-runner.d.ts.map +1 -0
- package/core/dist/runtime/internalization/diag-distiller-runner.js.map +1 -0
- package/core/dist/runtime/internalization/diag-rootcause-runner.d.ts.map +1 -0
- package/core/dist/runtime/internalization/diag-rootcause-runner.js.map +1 -0
- package/core/dist/runtime/internalization/diag-router-runner.d.ts.map +1 -0
- package/core/dist/runtime/internalization/diag-router-runner.js.map +1 -0
- package/core/dist/runtime/internalization/dreamer-output.d.ts.map +1 -0
- package/core/dist/runtime/internalization/dreamer-output.js.map +1 -0
- package/core/dist/runtime/internalization/dreamer-prompt-builder.d.ts.map +1 -0
- package/core/dist/runtime/internalization/dreamer-prompt-builder.js.map +1 -0
- package/core/dist/runtime/internalization/dreamer-runner.d.ts.map +1 -0
- package/core/dist/runtime/internalization/dreamer-runner.js.map +1 -0
- package/core/dist/runtime/internalization/evaluator-output.d.ts.map +1 -0
- package/core/dist/runtime/internalization/evaluator-output.js.map +1 -0
- package/core/dist/runtime/internalization/evaluator-prompt-builder.d.ts.map +1 -0
- package/core/dist/runtime/internalization/evaluator-prompt-builder.js.map +1 -0
- package/core/dist/runtime/internalization/evaluator-runner.d.ts.map +1 -0
- package/core/dist/runtime/internalization/evaluator-runner.js.map +1 -0
- package/core/dist/runtime/internalization/evidence-readiness.d.ts.map +1 -0
- package/core/dist/runtime/internalization/evidence-readiness.js.map +1 -0
- package/core/dist/runtime/internalization/formation-context.d.ts.map +1 -0
- package/core/dist/runtime/internalization/formation-context.js.map +1 -0
- package/core/dist/runtime/internalization/golden-dogfood-fixtures.d.ts.map +1 -0
- package/core/dist/runtime/internalization/golden-dogfood-fixtures.js.map +1 -0
- package/core/dist/runtime/internalization/index.d.ts.map +1 -0
- package/core/dist/runtime/internalization/index.js.map +1 -0
- package/core/dist/runtime/internalization/intake-to-internalization-bridge.d.ts.map +1 -0
- package/core/dist/runtime/internalization/intake-to-internalization-bridge.js.map +1 -0
- package/core/dist/runtime/internalization/intent-contract.d.ts.map +1 -0
- package/core/dist/runtime/internalization/intent-contract.js.map +1 -0
- package/core/dist/runtime/internalization/internalization-consumer-decision.d.ts.map +1 -0
- package/core/dist/runtime/internalization/internalization-consumer-decision.js.map +1 -0
- package/core/dist/runtime/internalization/internalization-job-graph.d.ts.map +1 -0
- package/core/dist/runtime/internalization/internalization-job-graph.js.map +1 -0
- package/core/dist/runtime/internalization/internalization-orchestrator.d.ts.map +1 -0
- package/core/dist/runtime/internalization/internalization-orchestrator.js.map +1 -0
- package/core/dist/runtime/internalization/internalization-route.d.ts.map +1 -0
- package/core/dist/runtime/internalization/internalization-route.js.map +1 -0
- package/core/dist/runtime/internalization/internalization-state-machine.d.ts.map +1 -0
- package/core/dist/runtime/internalization/internalization-state-machine.js.map +1 -0
- package/core/dist/runtime/internalization/internalization-task-guards.d.ts.map +1 -0
- package/core/dist/runtime/internalization/internalization-task-guards.js.map +1 -0
- package/core/dist/runtime/internalization/internalization-transition-decision.d.ts.map +1 -0
- package/core/dist/runtime/internalization/internalization-transition-decision.js.map +1 -0
- package/core/dist/runtime/internalization/legacy-rule-contract-scanner.d.ts.map +1 -0
- package/core/dist/runtime/internalization/legacy-rule-contract-scanner.js.map +1 -0
- package/core/dist/runtime/internalization/lifecycle-datasource.d.ts.map +1 -0
- package/core/dist/runtime/internalization/lifecycle-datasource.js.map +1 -0
- package/core/dist/runtime/internalization/lifecycle-metrics.d.ts.map +1 -0
- package/core/dist/runtime/internalization/lifecycle-metrics.js.map +1 -0
- package/core/dist/runtime/internalization/lifecycle-read-model.d.ts.map +1 -0
- package/core/dist/runtime/internalization/lifecycle-read-model.js.map +1 -0
- package/core/dist/runtime/internalization/lifecycle-types.d.ts.map +1 -0
- package/core/dist/runtime/internalization/lifecycle-types.js.map +1 -0
- package/core/dist/runtime/internalization/owner-decision-review.d.ts.map +1 -0
- package/core/dist/runtime/internalization/owner-decision-review.js.map +1 -0
- package/core/dist/runtime/internalization/owner-evidence-recovery.d.ts.map +1 -0
- package/core/dist/runtime/internalization/owner-evidence-recovery.js.map +1 -0
- package/core/dist/runtime/internalization/owner-resolution-service.d.ts.map +1 -0
- package/core/dist/runtime/internalization/owner-resolution-service.js.map +1 -0
- package/core/dist/runtime/internalization/owner-retry.d.ts.map +1 -0
- package/core/dist/runtime/internalization/owner-retry.js.map +1 -0
- package/core/dist/runtime/internalization/owner-review.d.ts.map +1 -0
- package/core/dist/runtime/internalization/owner-review.js.map +1 -0
- package/core/dist/runtime/internalization/peer-runner-contracts.d.ts.map +1 -0
- package/core/dist/runtime/internalization/peer-runner-contracts.js.map +1 -0
- package/core/dist/runtime/internalization/philosopher-output.d.ts.map +1 -0
- package/core/dist/runtime/internalization/philosopher-output.js.map +1 -0
- package/core/dist/runtime/internalization/philosopher-prompt-builder.d.ts.map +1 -0
- package/core/dist/runtime/internalization/philosopher-prompt-builder.js.map +1 -0
- package/core/dist/runtime/internalization/philosopher-runner.d.ts.map +1 -0
- package/core/dist/runtime/internalization/philosopher-runner.js.map +1 -0
- package/core/dist/runtime/internalization/pi-artifact-store.d.ts.map +1 -0
- package/core/dist/runtime/internalization/pi-artifact-store.js.map +1 -0
- package/core/dist/runtime/internalization/pi-artifact.d.ts.map +1 -0
- package/core/dist/runtime/internalization/pi-artifact.js.map +1 -0
- package/core/dist/runtime/internalization/pitask-metadata.d.ts.map +1 -0
- package/core/dist/runtime/internalization/pitask-metadata.js +1030 -0
- package/core/dist/runtime/internalization/pitask-metadata.js.map +1 -0
- package/core/dist/runtime/internalization/prompt-serializer.d.ts.map +1 -0
- package/core/dist/runtime/internalization/prompt-serializer.js.map +1 -0
- package/core/dist/runtime/internalization/queue-actionability.d.ts.map +1 -0
- package/core/dist/runtime/internalization/queue-actionability.js.map +1 -0
- package/core/dist/runtime/internalization/refiner-rulehost-gate.d.ts.map +1 -0
- package/core/dist/runtime/internalization/refiner-rulehost-gate.js.map +1 -0
- package/core/dist/runtime/internalization/refiner-sandbox-wrapper.d.ts.map +1 -0
- package/core/dist/runtime/internalization/refiner-sandbox-wrapper.js.map +1 -0
- package/core/dist/runtime/internalization/repair-replay-resolver.d.ts.map +1 -0
- package/core/dist/runtime/internalization/repair-replay-resolver.js.map +1 -0
- package/core/dist/runtime/internalization/revision-reopen.d.ts.map +1 -0
- package/core/dist/runtime/internalization/revision-reopen.js.map +1 -0
- package/core/dist/runtime/internalization/rollout-reviewer-output.d.ts.map +1 -0
- package/core/dist/runtime/internalization/rollout-reviewer-output.js.map +1 -0
- package/core/dist/runtime/internalization/rollout-reviewer-prompt-builder.d.ts.map +1 -0
- package/core/dist/runtime/internalization/rollout-reviewer-prompt-builder.js.map +1 -0
- package/core/dist/runtime/internalization/rollout-reviewer-runner.d.ts.map +1 -0
- package/core/dist/runtime/internalization/rollout-reviewer-runner.js.map +1 -0
- package/core/dist/runtime/internalization/router-context-evidence.d.ts.map +1 -0
- package/core/dist/runtime/internalization/router-context-evidence.js.map +1 -0
- package/core/dist/runtime/internalization/routing-policy.d.ts.map +1 -0
- package/core/dist/runtime/internalization/routing-policy.js.map +1 -0
- package/core/dist/runtime/internalization/rule-activation-contract.d.ts.map +1 -0
- package/core/dist/runtime/internalization/rule-activation-contract.js.map +1 -0
- package/core/dist/runtime/internalization/rule-binding-revision.d.ts.map +1 -0
- package/core/dist/runtime/internalization/rule-binding-revision.js.map +1 -0
- package/core/dist/runtime/internalization/rule-code-validator.d.ts.map +1 -0
- package/core/dist/runtime/internalization/rule-code-validator.js.map +1 -0
- package/core/dist/runtime/internalization/rule-context-v2.d.ts +64 -0
- package/core/dist/runtime/internalization/rule-context-v2.d.ts.map +1 -0
- package/core/dist/runtime/internalization/rule-context-v2.js +285 -0
- package/core/dist/runtime/internalization/rule-context-v2.js.map +1 -0
- package/core/dist/runtime/internalization/rule-host-adapter.d.ts.map +1 -0
- package/core/dist/runtime/internalization/rule-host-adapter.js.map +1 -0
- package/core/dist/runtime/internalization/rule-host-contracts.d.ts.map +1 -0
- package/core/dist/runtime/internalization/rule-host-contracts.js.map +1 -0
- package/core/dist/runtime/internalization/rule-host-evaluator.d.ts.map +1 -0
- package/core/dist/runtime/internalization/rule-host-evaluator.js.map +1 -0
- package/core/dist/runtime/internalization/rule-host-helpers.d.ts.map +1 -0
- package/core/dist/runtime/internalization/rule-host-helpers.js.map +1 -0
- package/core/dist/runtime/internalization/rule-host-input-builder.d.ts.map +1 -0
- package/core/dist/runtime/internalization/rule-host-input-builder.js.map +1 -0
- package/core/dist/runtime/internalization/rule-host-validator.d.ts.map +1 -0
- package/core/dist/runtime/internalization/rule-host-validator.js.map +1 -0
- package/core/dist/runtime/internalization/rule-reliability-validation.d.ts.map +1 -0
- package/core/dist/runtime/internalization/rule-reliability-validation.js.map +1 -0
- package/core/dist/runtime/internalization/rule-source-correction.d.ts.map +1 -0
- package/core/dist/runtime/internalization/rule-source-correction.js.map +1 -0
- package/core/dist/runtime/internalization/rulecode-verification-obligations.d.ts.map +1 -0
- package/core/dist/runtime/internalization/rulecode-verification-obligations.js.map +1 -0
- package/core/dist/runtime/internalization/scribe-output.d.ts.map +1 -0
- package/core/dist/runtime/internalization/scribe-output.js.map +1 -0
- package/core/dist/runtime/internalization/scribe-prompt-builder.d.ts.map +1 -0
- package/core/dist/runtime/internalization/scribe-prompt-builder.js.map +1 -0
- package/core/dist/runtime/internalization/scribe-runner.d.ts.map +1 -0
- package/core/dist/runtime/internalization/scribe-runner.js.map +1 -0
- package/core/dist/runtime/internalization/split-diagnostician-runner.d.ts.map +1 -0
- package/core/dist/runtime/internalization/split-diagnostician-runner.js.map +1 -0
- package/core/dist/runtime/internalization/template-generator.d.ts.map +1 -0
- package/core/dist/runtime/internalization/template-generator.js.map +1 -0
- package/core/dist/runtime/internalization/textual-basis-anchor.d.ts.map +1 -0
- package/core/dist/runtime/internalization/textual-basis-anchor.js.map +1 -0
- package/core/dist/runtime/internalization/tool-semantic-baseline.d.ts.map +1 -0
- package/core/dist/runtime/internalization/tool-semantic-baseline.js.map +1 -0
- package/core/dist/runtime/internalization/tool-semantic-registry.d.ts.map +1 -0
- package/core/dist/runtime/internalization/tool-semantic-registry.js.map +1 -0
- package/core/dist/runtime/internalization/v2-adversarial-cases.d.ts.map +1 -0
- package/core/dist/runtime/internalization/v2-adversarial-cases.js.map +1 -0
- package/core/dist/runtime/internalization-chain-integrity-read-model.d.ts.map +1 -0
- package/core/dist/runtime/internalization-chain-integrity-read-model.js.map +1 -0
- package/core/dist/runtime/internalization-integrity-remediation.d.ts.map +1 -0
- package/core/dist/runtime/internalization-integrity-remediation.js.map +1 -0
- package/core/dist/runtime/internalization-queue-read-model.d.ts.map +1 -0
- package/core/dist/runtime/internalization-queue-read-model.js.map +1 -0
- package/core/dist/runtime/intervention-evidence-normalizer.d.ts.map +1 -0
- package/core/dist/runtime/intervention-evidence-normalizer.js.map +1 -0
- package/core/dist/runtime/l1-hard-cap.d.ts.map +1 -0
- package/core/dist/runtime/l1-hard-cap.js.map +1 -0
- package/core/dist/runtime/language-directive.d.ts.map +1 -0
- package/core/dist/runtime/language-directive.js.map +1 -0
- package/core/dist/runtime/learning-lab/actor-action-output.d.ts.map +1 -0
- package/core/dist/runtime/learning-lab/actor-action-output.js.map +1 -0
- package/core/dist/runtime/mainline-contract.d.ts.map +1 -0
- package/core/dist/runtime/mainline-contract.js.map +1 -0
- package/core/dist/runtime/observer/agent-scheduler.d.ts.map +1 -0
- package/core/dist/runtime/observer/agent-scheduler.js.map +1 -0
- package/core/dist/runtime/observer/correction-observer.d.ts.map +1 -0
- package/core/dist/runtime/observer/correction-observer.js.map +1 -0
- package/core/dist/runtime/operator-health-read-model.d.ts.map +1 -0
- package/core/dist/runtime/operator-health-read-model.js +135 -0
- package/core/dist/runtime/operator-health-read-model.js.map +1 -0
- package/core/dist/runtime/owner-decision/owner-decision-view-contract.d.ts.map +1 -0
- package/core/dist/runtime/owner-decision/owner-decision-view-contract.js.map +1 -0
- package/core/dist/runtime/owner-decision/owner-decision-view.d.ts.map +1 -0
- package/core/dist/runtime/owner-decision/owner-decision-view.js.map +1 -0
- package/core/dist/runtime/owner-decision/semantic-selector.d.ts.map +1 -0
- package/core/dist/runtime/owner-decision/semantic-selector.js.map +1 -0
- package/core/dist/runtime/owner-identity.d.ts.map +1 -0
- package/core/dist/runtime/owner-identity.js.map +1 -0
- package/core/dist/runtime/pain-chain-read-model.d.ts.map +1 -0
- package/core/dist/runtime/pain-chain-read-model.js +327 -0
- package/core/dist/runtime/pain-chain-read-model.js.map +1 -0
- package/core/dist/runtime/pain-flood-simulation.d.ts.map +1 -0
- package/core/dist/runtime/pain-flood-simulation.js +152 -0
- package/core/dist/runtime/pain-flood-simulation.js.map +1 -0
- package/core/dist/runtime/pain-ingress-payload.d.ts.map +1 -0
- package/core/dist/runtime/pain-ingress-payload.js.map +1 -0
- package/core/dist/runtime/pain-ingress.d.ts.map +1 -0
- package/core/dist/runtime/pain-ingress.js.map +1 -0
- package/core/dist/runtime/pain-recall-capability.d.ts.map +1 -0
- package/core/dist/runtime/pain-recall-capability.js.map +1 -0
- package/core/dist/runtime/pain-recall-read-model.d.ts.map +1 -0
- package/core/dist/runtime/pain-recall-read-model.js.map +1 -0
- package/core/dist/runtime/pain-recall-snapshot-hooks.d.ts.map +1 -0
- package/core/dist/runtime/pain-recall-snapshot-hooks.js.map +1 -0
- package/core/dist/runtime/pain-signal-bridge.d.ts +389 -0
- package/core/dist/runtime/pain-signal-bridge.d.ts.map +1 -0
- package/core/dist/runtime/pain-signal-bridge.js +1460 -0
- package/core/dist/runtime/pain-signal-bridge.js.map +1 -0
- package/core/dist/runtime/pain-signal-observability.d.ts +36 -0
- package/core/dist/runtime/pain-signal-observability.d.ts.map +1 -0
- package/core/dist/runtime/pain-signal-observability.js.map +1 -0
- package/core/dist/runtime/pain-signal-runtime-factory.d.ts +254 -0
- package/core/dist/runtime/pain-signal-runtime-factory.d.ts.map +1 -0
- package/core/dist/runtime/pain-signal-runtime-factory.js +780 -0
- package/core/dist/runtime/pain-signal-runtime-factory.js.map +1 -0
- package/core/dist/runtime/pain-to-principle-service.d.ts.map +1 -0
- package/core/dist/runtime/pain-to-principle-service.js.map +1 -0
- package/core/dist/runtime/principle-reuse/reuse-domain.d.ts +89 -0
- package/core/dist/runtime/principle-reuse/reuse-domain.d.ts.map +1 -0
- package/core/dist/runtime/principle-reuse/reuse-domain.js +16 -0
- package/core/dist/runtime/principle-reuse/reuse-domain.js.map +1 -0
- package/core/dist/runtime/principle-reuse/reuse-evaluation-output.d.ts.map +1 -0
- package/core/dist/runtime/principle-reuse/reuse-evaluation-output.js.map +1 -0
- package/core/dist/runtime/principle-reuse/reuse-evaluation-runner.d.ts.map +1 -0
- package/core/dist/runtime/principle-reuse/reuse-evaluation-runner.js.map +1 -0
- package/core/dist/runtime/principle-reuse/reuse-proposal.d.ts.map +1 -0
- package/core/dist/runtime/principle-reuse/reuse-proposal.js.map +1 -0
- package/core/dist/runtime/principle-reuse/reuse-retrieval.d.ts.map +1 -0
- package/core/dist/runtime/principle-reuse/reuse-retrieval.js.map +1 -0
- package/core/dist/runtime/principle-reuse/reuse-shortlist.d.ts.map +1 -0
- package/core/dist/runtime/principle-reuse/reuse-shortlist.js.map +1 -0
- package/core/dist/runtime/principle-tree/ledger-codec.d.ts.map +1 -0
- package/core/dist/runtime/principle-tree/ledger-codec.js.map +1 -0
- package/core/dist/runtime/principle-tree/rule-candidate-binding.d.ts.map +1 -0
- package/core/dist/runtime/principle-tree/rule-candidate-binding.js.map +1 -0
- package/core/dist/runtime/product-telemetry/daily-identity.d.ts.map +1 -0
- package/core/dist/runtime/product-telemetry/daily-identity.js.map +1 -0
- package/core/dist/runtime/product-telemetry/snapshot-contract.d.ts.map +1 -0
- package/core/dist/runtime/product-telemetry/snapshot-contract.js.map +1 -0
- package/core/dist/runtime/proven-channel-baseline.d.ts.map +1 -0
- package/core/dist/runtime/proven-channel-baseline.js +547 -0
- package/core/dist/runtime/proven-channel-baseline.js.map +1 -0
- package/core/dist/runtime/pruning-read-model.d.ts.map +1 -0
- package/core/dist/runtime/pruning-read-model.js.map +1 -0
- package/core/dist/runtime/receipt-coverage.d.ts.map +1 -0
- package/core/dist/runtime/receipt-coverage.js.map +1 -0
- package/core/dist/runtime/recovery-actions-log.d.ts.map +1 -0
- package/core/dist/runtime/recovery-actions-log.js.map +1 -0
- package/core/dist/runtime/recovery-sweep-service.d.ts.map +1 -0
- package/core/dist/runtime/recovery-sweep-service.js.map +1 -0
- package/core/dist/runtime/remediation-contract.d.ts.map +1 -0
- package/core/dist/runtime/remediation-contract.js.map +1 -0
- package/core/dist/runtime/risk/index.d.ts.map +1 -0
- package/core/dist/runtime/risk/index.js.map +1 -0
- package/core/dist/runtime/risk/risk-calculator-policy.d.ts.map +1 -0
- package/core/dist/runtime/risk/risk-calculator-policy.js.map +1 -0
- package/core/dist/runtime/runner/base-peer-runner.d.ts.map +1 -0
- package/core/dist/runtime/runner/base-peer-runner.js.map +1 -0
- package/core/dist/runtime/runner/default-validator.d.ts.map +1 -0
- package/core/dist/runtime/runner/default-validator.js.map +1 -0
- package/core/dist/runtime/runner/diagnostician-validator.d.ts.map +1 -0
- package/core/dist/runtime/runner/diagnostician-validator.js.map +1 -0
- package/core/dist/runtime/runner/peer-runner-types.d.ts.map +1 -0
- package/core/dist/runtime/runner/peer-runner-types.js.map +1 -0
- package/core/dist/runtime/runner/runner-phase.d.ts.map +1 -0
- package/core/dist/runtime/runner/runner-phase.js.map +1 -0
- package/core/dist/runtime/runner/runner-result.d.ts.map +1 -0
- package/core/dist/runtime/runner/runner-result.js.map +1 -0
- package/core/dist/runtime/runtime-protocol.d.ts.map +1 -0
- package/core/dist/runtime/runtime-protocol.js.map +1 -0
- package/core/dist/runtime/runtime-state-handle.d.ts.map +1 -0
- package/core/dist/runtime/runtime-state-handle.js.map +1 -0
- package/core/dist/runtime/schema-conformance-read-model.d.ts.map +1 -0
- package/core/dist/runtime/schema-conformance-read-model.js.map +1 -0
- package/core/dist/runtime/schema-version.d.ts +20 -0
- package/core/dist/runtime/schema-version.d.ts.map +1 -0
- package/core/dist/runtime/schema-version.js +20 -0
- package/core/dist/runtime/schema-version.js.map +1 -0
- package/core/dist/runtime/signal-collector/confidence-gate.d.ts.map +1 -0
- package/core/dist/runtime/signal-collector/confidence-gate.js.map +1 -0
- package/core/dist/runtime/signal-collector/index.d.ts.map +1 -0
- package/core/dist/runtime/signal-collector/index.js.map +1 -0
- package/core/dist/runtime/signal-collector/keyword-stage.d.ts.map +1 -0
- package/core/dist/runtime/signal-collector/keyword-stage.js.map +1 -0
- package/core/dist/runtime/signal-collector/llm-stage.d.ts.map +1 -0
- package/core/dist/runtime/signal-collector/llm-stage.js.map +1 -0
- package/core/dist/runtime/signal-collector/signal-collector.d.ts.map +1 -0
- package/core/dist/runtime/signal-collector/signal-collector.js.map +1 -0
- package/core/dist/runtime/signal-collector/types.d.ts.map +1 -0
- package/core/dist/runtime/signal-collector/types.js.map +1 -0
- package/core/dist/runtime/stalled-diagnostician-task-read-model.d.ts.map +1 -0
- package/core/dist/runtime/stalled-diagnostician-task-read-model.js.map +1 -0
- package/core/dist/runtime/store/artifact/artifact-store.d.ts.map +1 -0
- package/core/dist/runtime/store/artifact/artifact-store.js.map +1 -0
- package/core/dist/runtime/store/artifact/index.d.ts.map +1 -0
- package/core/dist/runtime/store/artifact/index.js.map +1 -0
- package/core/dist/runtime/store/artifact/memory-artifact-store.d.ts.map +1 -0
- package/core/dist/runtime/store/artifact/memory-artifact-store.js.map +1 -0
- package/core/dist/runtime/store/artifact/sqlite-artifact-store.d.ts.map +1 -0
- package/core/dist/runtime/store/artifact/sqlite-artifact-store.js.map +1 -0
- package/core/dist/runtime/store/artifact/sqlite-pi-artifact-store.d.ts.map +1 -0
- package/core/dist/runtime/store/artifact/sqlite-pi-artifact-store.js.map +1 -0
- package/core/dist/runtime/store/candidate/admission-document.d.ts.map +1 -0
- package/core/dist/runtime/store/candidate/admission-document.js.map +1 -0
- package/core/dist/runtime/store/candidate/candidate-store.d.ts.map +1 -0
- package/core/dist/runtime/store/candidate/candidate-store.js.map +1 -0
- package/core/dist/runtime/store/candidate/index.d.ts.map +1 -0
- package/core/dist/runtime/store/candidate/index.js.map +1 -0
- package/core/dist/runtime/store/candidate/memory-candidate-store.d.ts.map +1 -0
- package/core/dist/runtime/store/candidate/memory-candidate-store.js.map +1 -0
- package/core/dist/runtime/store/candidate/recommendation-kind-resolver.d.ts.map +1 -0
- package/core/dist/runtime/store/candidate/recommendation-kind-resolver.js.map +1 -0
- package/core/dist/runtime/store/candidate/sqlite-candidate-store.d.ts.map +1 -0
- package/core/dist/runtime/store/candidate/sqlite-candidate-store.js.map +1 -0
- package/core/dist/runtime/store/commit/commit-store.d.ts.map +1 -0
- package/core/dist/runtime/store/commit/commit-store.js.map +1 -0
- package/core/dist/runtime/store/commit/diagnostician-committer.d.ts.map +1 -0
- package/core/dist/runtime/store/commit/diagnostician-committer.js.map +1 -0
- package/core/dist/runtime/store/commit/index.d.ts.map +1 -0
- package/core/dist/runtime/store/commit/index.js.map +1 -0
- package/core/dist/runtime/store/commit/memory-commit-store.d.ts.map +1 -0
- package/core/dist/runtime/store/commit/memory-commit-store.js.map +1 -0
- package/core/dist/runtime/store/commit/sqlite-commit-store.d.ts.map +1 -0
- package/core/dist/runtime/store/commit/sqlite-commit-store.js.map +1 -0
- package/core/dist/runtime/store/context/context-assembler.d.ts.map +1 -0
- package/core/dist/runtime/store/context/context-assembler.js.map +1 -0
- package/core/dist/runtime/store/context/index.d.ts.map +1 -0
- package/core/dist/runtime/store/context/index.js.map +1 -0
- package/core/dist/runtime/store/context/resilient-context-assembler.d.ts.map +1 -0
- package/core/dist/runtime/store/context/resilient-context-assembler.js.map +1 -0
- package/core/dist/runtime/store/context/sqlite-context-assembler.d.ts.map +1 -0
- package/core/dist/runtime/store/context/sqlite-context-assembler.js.map +1 -0
- package/core/dist/runtime/store/context/trajectory-turn-reader.d.ts.map +1 -0
- package/core/dist/runtime/store/context/trajectory-turn-reader.js.map +1 -0
- package/core/dist/runtime/store/design-gate/sqlite-design-gate-store.d.ts.map +1 -0
- package/core/dist/runtime/store/design-gate/sqlite-design-gate-store.js.map +1 -0
- package/core/dist/runtime/store/event-emitter.d.ts.map +1 -0
- package/core/dist/runtime/store/event-emitter.js.map +1 -0
- package/core/dist/runtime/store/history/history-query.d.ts.map +1 -0
- package/core/dist/runtime/store/history/history-query.js.map +1 -0
- package/core/dist/runtime/store/history/index.d.ts.map +1 -0
- package/core/dist/runtime/store/history/index.js.map +1 -0
- package/core/dist/runtime/store/history/resilient-history-query.d.ts.map +1 -0
- package/core/dist/runtime/store/history/resilient-history-query.js.map +1 -0
- package/core/dist/runtime/store/history/sqlite-history-query.d.ts.map +1 -0
- package/core/dist/runtime/store/history/sqlite-history-query.js.map +1 -0
- package/core/dist/runtime/store/intent/index.d.ts.map +1 -0
- package/core/dist/runtime/store/intent/index.js.map +1 -0
- package/core/dist/runtime/store/intent/sqlite-intent-decision-store.d.ts.map +1 -0
- package/core/dist/runtime/store/intent/sqlite-intent-decision-store.js.map +1 -0
- package/core/dist/runtime/store/intent/sqlite-intent-doc-version-store.d.ts.map +1 -0
- package/core/dist/runtime/store/intent/sqlite-intent-doc-version-store.js.map +1 -0
- package/core/dist/runtime/store/intervention-evidence-schema.d.ts.map +1 -0
- package/core/dist/runtime/store/intervention-evidence-schema.js.map +1 -0
- package/core/dist/runtime/store/lifecycle/index.d.ts.map +1 -0
- package/core/dist/runtime/store/lifecycle/index.js.map +1 -0
- package/core/dist/runtime/store/lifecycle/lease-manager.d.ts.map +1 -0
- package/core/dist/runtime/store/lifecycle/lease-manager.js.map +1 -0
- package/core/dist/runtime/store/lifecycle/recovery-sweep.d.ts.map +1 -0
- package/core/dist/runtime/store/lifecycle/recovery-sweep.js.map +1 -0
- package/core/dist/runtime/store/lifecycle/retry-policy.d.ts.map +1 -0
- package/core/dist/runtime/store/lifecycle/retry-policy.js.map +1 -0
- package/core/dist/runtime/store/pain/index.d.ts.map +1 -0
- package/core/dist/runtime/store/pain/index.js.map +1 -0
- package/core/dist/runtime/store/pain/sqlite-dead-letter-store.d.ts.map +1 -0
- package/core/dist/runtime/store/pain/sqlite-dead-letter-store.js.map +1 -0
- package/core/dist/runtime/store/pain-diagnosis/pain-diagnosis-store.d.ts.map +1 -0
- package/core/dist/runtime/store/pain-diagnosis/pain-diagnosis-store.js.map +1 -0
- package/core/dist/runtime/store/pain-diagnosis/sqlite-pain-diagnosis-store.d.ts.map +1 -0
- package/core/dist/runtime/store/pain-diagnosis/sqlite-pain-diagnosis-store.js.map +1 -0
- package/core/dist/runtime/store/reconciliation-cursor-store.d.ts.map +1 -0
- package/core/dist/runtime/store/reconciliation-cursor-store.js.map +1 -0
- package/core/dist/runtime/store/run/index.d.ts.map +1 -0
- package/core/dist/runtime/store/run/index.js.map +1 -0
- package/core/dist/runtime/store/run/memory-run-store.d.ts.map +1 -0
- package/core/dist/runtime/store/run/memory-run-store.js.map +1 -0
- package/core/dist/runtime/store/run/run-store.d.ts.map +1 -0
- package/core/dist/runtime/store/run/run-store.js.map +1 -0
- package/core/dist/runtime/store/run/sqlite-run-store.d.ts.map +1 -0
- package/core/dist/runtime/store/run/sqlite-run-store.js.map +1 -0
- package/core/dist/runtime/store/runtime-state-manager.d.ts.map +1 -0
- package/core/dist/runtime/store/runtime-state-manager.js.map +1 -0
- package/core/dist/runtime/store/sqlite-connection.d.ts.map +1 -0
- package/core/dist/runtime/store/sqlite-connection.js.map +1 -0
- package/core/dist/runtime/store/sqlite-intervention-evidence-store.d.ts.map +1 -0
- package/core/dist/runtime/store/sqlite-intervention-evidence-store.js.map +1 -0
- package/core/dist/runtime/store/task/index.d.ts.map +1 -0
- package/core/dist/runtime/store/task/index.js.map +1 -0
- package/core/dist/runtime/store/task/memory-task-store.d.ts.map +1 -0
- package/core/dist/runtime/store/task/memory-task-store.js.map +1 -0
- package/core/dist/runtime/store/task/sqlite-approved-rule-revision.d.ts.map +1 -0
- package/core/dist/runtime/store/task/sqlite-approved-rule-revision.js.map +1 -0
- package/core/dist/runtime/store/task/sqlite-family-reopen.d.ts.map +1 -0
- package/core/dist/runtime/store/task/sqlite-family-reopen.js.map +1 -0
- package/core/dist/runtime/store/task/sqlite-task-store.d.ts.map +1 -0
- package/core/dist/runtime/store/task/sqlite-task-store.js.map +1 -0
- package/core/dist/runtime/store/task/task-store.d.ts.map +1 -0
- package/core/dist/runtime/store/task/task-store.js.map +1 -0
- package/core/dist/runtime/store/task/task-types.d.ts.map +1 -0
- package/core/dist/runtime/store/task/task-types.js.map +1 -0
- package/core/dist/runtime/store/trajectory/index.d.ts.map +1 -0
- package/core/dist/runtime/store/trajectory/index.js.map +1 -0
- package/core/dist/runtime/store/trajectory/source-trace-locator.d.ts.map +1 -0
- package/core/dist/runtime/store/trajectory/source-trace-locator.js.map +1 -0
- package/core/dist/runtime/store/trajectory/sqlite-source-trace-locator.d.ts.map +1 -0
- package/core/dist/runtime/store/trajectory/sqlite-source-trace-locator.js.map +1 -0
- package/core/dist/runtime/store/trajectory/sqlite-trajectory-locator.d.ts.map +1 -0
- package/core/dist/runtime/store/trajectory/sqlite-trajectory-locator.js.map +1 -0
- package/core/dist/runtime/store/trajectory/trajectory-locator.d.ts.map +1 -0
- package/core/dist/runtime/store/trajectory/trajectory-locator.js.map +1 -0
- package/core/dist/runtime/store/workspace-leak-guard.d.ts.map +1 -0
- package/core/dist/runtime/store/workspace-leak-guard.js.map +1 -0
- package/core/dist/runtime/story-a-demo.d.ts +77 -0
- package/core/dist/runtime/story-a-demo.d.ts.map +1 -0
- package/core/dist/runtime/story-a-demo.js.map +1 -0
- package/core/dist/runtime/synthetic-baseline.d.ts.map +1 -0
- package/core/dist/runtime/synthetic-baseline.js +116 -0
- package/core/dist/runtime/synthetic-baseline.js.map +1 -0
- package/core/dist/runtime/system-prompt-merge.d.ts.map +1 -0
- package/core/dist/runtime/system-prompt-merge.js.map +1 -0
- package/core/dist/runtime/task-status.d.ts.map +1 -0
- package/core/dist/runtime/task-status.js.map +1 -0
- package/core/dist/runtime/tools/agent-tool-contract.d.ts.map +1 -0
- package/core/dist/runtime/tools/agent-tool-contract.js.map +1 -0
- package/core/dist/runtime/tools/artificer-l2-tool-contract.d.ts.map +1 -0
- package/core/dist/runtime/tools/artificer-l2-tool-contract.js.map +1 -0
- package/core/dist/runtime/tools/artificer-output-typebox.d.ts.map +1 -0
- package/core/dist/runtime/tools/artificer-output-typebox.js.map +1 -0
- package/core/dist/runtime/tools/dreamer-output-typebox.d.ts.map +1 -0
- package/core/dist/runtime/tools/dreamer-output-typebox.js.map +1 -0
- package/core/dist/runtime/trajectory-schema.d.ts.map +1 -0
- package/core/dist/runtime/trajectory-schema.js.map +1 -0
- package/core/dist/runtime/types/artifact-lineage.d.ts.map +1 -0
- package/core/dist/runtime/types/artifact-lineage.js.map +1 -0
- package/core/dist/runtime/types/event-payload.d.ts.map +1 -0
- package/core/dist/runtime/types/event-payload.js.map +1 -0
- package/core/dist/runtime/types/event-types.d.ts +940 -0
- package/core/dist/runtime/types/event-types.d.ts.map +1 -0
- package/core/dist/runtime/types/event-types.js +520 -0
- package/core/dist/runtime/types/event-types.js.map +1 -0
- package/core/dist/runtime/types/evidence-chain-contract.d.ts +282 -0
- package/core/dist/runtime/types/evidence-chain-contract.d.ts.map +1 -0
- package/core/dist/runtime/types/evidence-chain-contract.js +1301 -0
- package/core/dist/runtime/types/evidence-chain-contract.js.map +1 -0
- package/core/dist/runtime/types/hygiene-types.d.ts.map +1 -0
- package/core/dist/runtime/types/hygiene-types.js.map +1 -0
- package/core/dist/runtime/types/index.d.ts +32 -0
- package/core/dist/runtime/types/index.d.ts.map +1 -0
- package/core/dist/runtime/types/index.js +21 -0
- package/core/dist/runtime/types/index.js.map +1 -0
- package/core/dist/runtime/types/intervention-evidence-contract.d.ts.map +1 -0
- package/core/dist/runtime/types/intervention-evidence-contract.js.map +1 -0
- package/core/dist/runtime/types/ledger-store.d.ts.map +1 -0
- package/core/dist/runtime/types/ledger-store.js.map +1 -0
- package/core/dist/runtime/types/pain-signal.d.ts.map +1 -0
- package/core/dist/runtime/types/pain-signal.js.map +1 -0
- package/core/dist/runtime/types/pd-task-types.d.ts.map +1 -0
- package/core/dist/runtime/types/pd-task-types.js.map +1 -0
- package/core/dist/runtime/types/principle-dependency.d.ts.map +1 -0
- package/core/dist/runtime/types/principle-dependency.js.map +1 -0
- package/core/dist/runtime/types/principle-enums.d.ts.map +1 -0
- package/core/dist/runtime/types/principle-enums.js.map +1 -0
- package/core/dist/runtime/types/principle-lifecycle-event.d.ts.map +1 -0
- package/core/dist/runtime/types/principle-lifecycle-event.js.map +1 -0
- package/core/dist/runtime/types/principle-schema.d.ts.map +1 -0
- package/core/dist/runtime/types/principle-schema.js.map +1 -0
- package/core/dist/runtime/types/principle-tree-store.d.ts.map +1 -0
- package/core/dist/runtime/types/principle-tree-store.js.map +1 -0
- package/core/dist/runtime/types/principle-value-metrics.d.ts.map +1 -0
- package/core/dist/runtime/types/principle-value-metrics.js.map +1 -0
- package/core/dist/runtime/types/replay-types.d.ts.map +1 -0
- package/core/dist/runtime/types/replay-types.js.map +1 -0
- package/core/dist/runtime/types/rule-candidate-binding.d.ts.map +1 -0
- package/core/dist/runtime/types/rule-candidate-binding.js.map +1 -0
- package/core/dist/trajectory-types.d.ts +1 -1
- package/core/dist/trajectory-types.d.ts.map +1 -1
- package/core/dist/workflow-funnel-loader.d.ts +1 -1
- package/core/dist/workflow-funnel-loader.d.ts.map +1 -1
- package/core/package.json +55 -55
- package/dist/installer.js +1 -1
- package/dist/installer.js.map +1 -1
- package/dist/installers/workbuddy-host-installer.js +1 -1
- package/dist/utils/config-file-io.d.ts +1 -1
- package/dist/utils/config-file-io.d.ts.map +1 -1
- package/dist/utils/config-file-io.js +1 -1
- package/dist/utils/config-file-io.js.map +1 -1
- package/dist/utils/env.js +1 -1
- package/dist/utils/env.js.map +1 -1
- package/host-runtime/dist/active-principle-prompt.d.ts +1 -1
- package/host-runtime/dist/active-principle-prompt.js +1 -1
- package/host-runtime/dist/adaptive-journal-reconciliation.js +1 -1
- package/host-runtime/dist/adaptive-principle-revalidation.d.ts +1 -1
- package/host-runtime/dist/behavior-example-pack-assembler.d.ts +2 -2
- package/host-runtime/dist/behavior-example-pack-assembler.js +6 -6
- package/host-runtime/dist/behavior-history.d.ts +1 -1
- package/host-runtime/dist/behavior-history.js +1 -1
- package/host-runtime/dist/cli-recovery-probe.d.ts +1 -1
- package/host-runtime/dist/codex-artificer-trusted-facts.d.ts +1 -1
- package/host-runtime/dist/codex-rule-context-provider.d.ts +1 -1
- package/host-runtime/dist/codex-rule-context-provider.js +1 -1
- package/host-runtime/dist/codex-worker-status.js +1 -1
- package/host-runtime/dist/design-gate-facts.d.ts +1 -1
- package/host-runtime/dist/design-gate-facts.js +1 -1
- package/host-runtime/dist/evaluator-runtime-context.d.ts +1 -1
- package/host-runtime/dist/evaluator-runtime-context.js +1 -1
- package/host-runtime/dist/governance-observation-store.js +1 -1
- package/host-runtime/dist/governance-signal-admission.d.ts +2 -2
- package/host-runtime/dist/governance-signal-admission.js +3 -3
- package/host-runtime/dist/host-liveness-contract.d.ts +1 -1
- package/host-runtime/dist/host-tool-declaration.d.ts +1 -1
- package/host-runtime/dist/host-tool-declaration.js +1 -1
- package/host-runtime/dist/host-tool-semantic-resolver.d.ts +1 -1
- package/host-runtime/dist/host-tool-semantic-resolver.js +1 -1
- package/host-runtime/dist/index.d.ts +1 -1
- package/host-runtime/dist/index.js +2 -2
- package/host-runtime/dist/internalization-consumer-cycle.d.ts +2 -2
- package/host-runtime/dist/internalization-consumer-cycle.js +2 -2
- package/host-runtime/dist/internalization-consumer-governance.d.ts +1 -1
- package/host-runtime/dist/internalization-consumer-governance.js +1 -1
- package/host-runtime/dist/intervention-evidence-ingress.d.ts +1 -1
- package/host-runtime/dist/intervention-evidence-ingress.js +1 -1
- package/host-runtime/dist/pd-config.d.ts +1 -1
- package/host-runtime/dist/pd-config.js +1 -1
- package/host-runtime/dist/product-telemetry/consent-store.js +1 -1
- package/host-runtime/dist/product-telemetry/exporter.d.ts +1 -1
- package/host-runtime/dist/product-telemetry/milestone-readers.d.ts +1 -1
- package/host-runtime/dist/product-telemetry/service.d.ts +1 -1
- package/host-runtime/dist/product-telemetry/service.js +1 -1
- package/host-runtime/dist/product-telemetry/workspace-scope.js +1 -1
- package/host-runtime/dist/production-pain-evidence.d.ts +1 -1
- package/host-runtime/dist/production-pain-evidence.js +3 -3
- package/host-runtime/dist/production-rulehost-gate.d.ts +1 -1
- package/host-runtime/dist/production-rulehost-gate.js +3 -3
- package/host-runtime/dist/prompt-activation-authority.d.ts +1 -1
- package/host-runtime/dist/prompt-activation-deliverability.d.ts +1 -1
- package/host-runtime/dist/prompt-activation-deliverability.js +1 -1
- package/host-runtime/dist/prompt-injection-budget-observation.d.ts +16 -5
- package/host-runtime/dist/prompt-injection-budget-observation.js +23 -9
- package/host-runtime/dist/prompt-injection-projection.d.ts +1 -1
- package/host-runtime/dist/prompt-injection-projection.js +1 -1
- package/host-runtime/dist/prompt-injection-status.d.ts +1 -1
- package/host-runtime/dist/prompt-injection-status.js +1 -1
- package/host-runtime/dist/signal-classifier.d.ts +2 -2
- package/host-runtime/dist/signal-classifier.js +3 -3
- package/host-runtime/dist/workbuddy-rule-context-provider.d.ts +1 -1
- package/host-runtime/dist/workbuddy-rule-context-provider.js +1 -1
- package/host-runtime/dist/workbuddy-worker-status.js +1 -1
- package/host-runtime/dist/workspace-behavior-evidence.d.ts +1 -1
- package/host-runtime/dist/workspace-behavior-evidence.js +2 -2
- package/host-runtime/dist/workspace-telemetry-emitter.d.ts +1 -1
- package/host-runtime/dist/workspace-telemetry-emitter.js +1 -1
- package/host-runtime/package.json +1 -1
- package/package.json +3 -3
- package/pd-cli/dist/commands/admission-gate.d.ts +1 -1
- package/pd-cli/dist/commands/admission-gate.d.ts.map +1 -1
- package/pd-cli/dist/commands/admission-gate.js +1 -1
- package/pd-cli/dist/commands/admission-gate.js.map +1 -1
- package/pd-cli/dist/commands/artifact.js +1 -1
- package/pd-cli/dist/commands/artifact.js.map +1 -1
- package/pd-cli/dist/commands/build-trajectory-evidence.d.ts +1 -1
- package/pd-cli/dist/commands/build-trajectory-evidence.d.ts.map +1 -1
- package/pd-cli/dist/commands/build-trajectory-evidence.js +1 -1
- package/pd-cli/dist/commands/build-trajectory-evidence.js.map +1 -1
- package/pd-cli/dist/commands/candidate.d.ts +1 -1
- package/pd-cli/dist/commands/candidate.d.ts.map +1 -1
- package/pd-cli/dist/commands/candidate.js +1 -1
- package/pd-cli/dist/commands/candidate.js.map +1 -1
- package/pd-cli/dist/commands/codex-reconcile.js +2 -2
- package/pd-cli/dist/commands/codex-reconcile.js.map +1 -1
- package/pd-cli/dist/commands/codex-setup.js +1 -1
- package/pd-cli/dist/commands/codex-setup.js.map +1 -1
- package/pd-cli/dist/commands/console.d.ts +1 -1
- package/pd-cli/dist/commands/console.js +5 -5
- package/pd-cli/dist/commands/console.js.map +1 -1
- package/pd-cli/dist/commands/demo-story-a.d.ts.map +1 -1
- package/pd-cli/dist/commands/demo-story-a.js +18 -8
- package/pd-cli/dist/commands/demo-story-a.js.map +1 -1
- package/pd-cli/dist/commands/diagnose.js +2 -2
- package/pd-cli/dist/commands/diagnose.js.map +1 -1
- package/pd-cli/dist/commands/health-codex.js +2 -2
- package/pd-cli/dist/commands/health-codex.js.map +1 -1
- package/pd-cli/dist/commands/health.d.ts +3 -3
- package/pd-cli/dist/commands/health.js +4 -4
- package/pd-cli/dist/commands/health.js.map +1 -1
- package/pd-cli/dist/commands/intent.d.ts +1 -1
- package/pd-cli/dist/commands/intent.d.ts.map +1 -1
- package/pd-cli/dist/commands/intent.js +116 -23
- package/pd-cli/dist/commands/intent.js.map +1 -1
- package/pd-cli/dist/commands/legacy-cleanup.js +1 -1
- package/pd-cli/dist/commands/legacy-cleanup.js.map +1 -1
- package/pd-cli/dist/commands/legacy-import.js +2 -2
- package/pd-cli/dist/commands/pain-recall.js +1 -1
- package/pd-cli/dist/commands/pain-recall.js.map +1 -1
- package/pd-cli/dist/commands/pain-record.js +1 -1
- package/pd-cli/dist/commands/pain-record.js.map +1 -1
- package/pd-cli/dist/commands/pain-retry.js +1 -1
- package/pd-cli/dist/commands/pain-retry.js.map +1 -1
- package/pd-cli/dist/commands/principles-stats.js +1 -1
- package/pd-cli/dist/commands/principles-stats.js.map +1 -1
- package/pd-cli/dist/commands/proven-channel-baseline.js +1 -1
- package/pd-cli/dist/commands/proven-channel-baseline.js.map +1 -1
- package/pd-cli/dist/commands/recovery-reachability-probe.d.ts +1 -1
- package/pd-cli/dist/commands/recovery-reachability-probe.d.ts.map +1 -1
- package/pd-cli/dist/commands/rulecode.d.ts +1 -1
- package/pd-cli/dist/commands/rulecode.d.ts.map +1 -1
- package/pd-cli/dist/commands/rulecode.js +1 -1
- package/pd-cli/dist/commands/rulecode.js.map +1 -1
- package/pd-cli/dist/commands/runtime-activation.d.ts +3 -3
- package/pd-cli/dist/commands/runtime-activation.d.ts.map +1 -1
- package/pd-cli/dist/commands/runtime-activation.js +6 -6
- package/pd-cli/dist/commands/runtime-activation.js.map +1 -1
- package/pd-cli/dist/commands/runtime-artifact-repair.js +1 -1
- package/pd-cli/dist/commands/runtime-artifact-repair.js.map +1 -1
- package/pd-cli/dist/commands/runtime-canary.js +1 -1
- package/pd-cli/dist/commands/runtime-canary.js.map +1 -1
- package/pd-cli/dist/commands/runtime-compatibility-scan.js +1 -1
- package/pd-cli/dist/commands/runtime-compatibility-scan.js.map +1 -1
- package/pd-cli/dist/commands/runtime-diagnostics-export.d.ts.map +1 -1
- package/pd-cli/dist/commands/runtime-diagnostics-export.js +8 -3
- package/pd-cli/dist/commands/runtime-diagnostics-export.js.map +1 -1
- package/pd-cli/dist/commands/runtime-health-snapshot.js +2 -2
- package/pd-cli/dist/commands/runtime-health-snapshot.js.map +1 -1
- package/pd-cli/dist/commands/runtime-init.js +3 -3
- package/pd-cli/dist/commands/runtime-init.js.map +1 -1
- package/pd-cli/dist/commands/runtime-internalization-audit-artificer-evidence.js +1 -1
- package/pd-cli/dist/commands/runtime-internalization-audit-artificer-evidence.js.map +1 -1
- package/pd-cli/dist/commands/runtime-internalization-enqueue-successors.js +1 -1
- package/pd-cli/dist/commands/runtime-internalization-enqueue-successors.js.map +1 -1
- package/pd-cli/dist/commands/runtime-internalization-evidence.js +1 -1
- package/pd-cli/dist/commands/runtime-internalization-evidence.js.map +1 -1
- package/pd-cli/dist/commands/runtime-internalization-integrity-repair.js +1 -1
- package/pd-cli/dist/commands/runtime-internalization-integrity-repair.js.map +1 -1
- package/pd-cli/dist/commands/runtime-internalization-integrity.js +1 -1
- package/pd-cli/dist/commands/runtime-internalization-integrity.js.map +1 -1
- package/pd-cli/dist/commands/runtime-internalization-queue.js +1 -1
- package/pd-cli/dist/commands/runtime-internalization-queue.js.map +1 -1
- package/pd-cli/dist/commands/runtime-internalization-retry.js +1 -1
- package/pd-cli/dist/commands/runtime-internalization-retry.js.map +1 -1
- package/pd-cli/dist/commands/runtime-internalization-run-once.js +2 -2
- package/pd-cli/dist/commands/runtime-internalization-run-once.js.map +1 -1
- package/pd-cli/dist/commands/runtime-internalization-run-rulehost.js +3 -3
- package/pd-cli/dist/commands/runtime-internalization-run-rulehost.js.map +1 -1
- package/pd-cli/dist/commands/runtime-internalization-wake-once.js +2 -2
- package/pd-cli/dist/commands/runtime-internalization-wake-once.js.map +1 -1
- package/pd-cli/dist/commands/runtime-pruning.js +1 -1
- package/pd-cli/dist/commands/runtime-pruning.js.map +1 -1
- package/pd-cli/dist/commands/runtime-recovery-failed-task.js +1 -1
- package/pd-cli/dist/commands/runtime-recovery-failed-task.js.map +1 -1
- package/pd-cli/dist/commands/runtime-recovery-failed-tasks.js +1 -1
- package/pd-cli/dist/commands/runtime-recovery-failed-tasks.js.map +1 -1
- package/pd-cli/dist/commands/runtime-recovery.js +1 -1
- package/pd-cli/dist/commands/runtime-recovery.js.map +1 -1
- package/pd-cli/dist/commands/runtime-uat.js +1 -1
- package/pd-cli/dist/commands/runtime.js +1 -1
- package/pd-cli/dist/commands/runtime.js.map +1 -1
- package/pd-cli/dist/commands/trace.js +1 -1
- package/pd-cli/dist/commands/trace.js.map +1 -1
- package/pd-cli/dist/commands/workbuddy-worker.js +1 -1
- package/pd-cli/dist/commands/workbuddy-worker.js.map +1 -1
- package/pd-cli/dist/config-reader.d.ts +1 -1
- package/pd-cli/dist/config-reader.d.ts.map +1 -1
- package/pd-cli/dist/config-reader.js +1 -1
- package/pd-cli/dist/config-reader.js.map +1 -1
- package/pd-cli/dist/legacy/session-history-import.d.ts +2 -2
- package/pd-cli/dist/legacy/session-history-import.js +2 -2
- package/pd-cli/dist/services/admission-write-gate.d.ts +1 -1
- package/pd-cli/dist/services/admission-write-gate.d.ts.map +1 -1
- package/pd-cli/dist/services/admission-write-gate.js +1 -1
- package/pd-cli/dist/services/admission-write-gate.js.map +1 -1
- package/pd-cli/dist/services/config-doctor.js +1 -1
- package/pd-cli/dist/services/config-doctor.js.map +1 -1
- package/pd-cli/dist/services/demo-rule-compiler.d.ts +1 -1
- package/pd-cli/dist/services/demo-rule-compiler.d.ts.map +1 -1
- package/pd-cli/dist/services/demo-rule-compiler.js +1 -1
- package/pd-cli/dist/services/demo-rule-compiler.js.map +1 -1
- package/pd-cli/dist/services/demo-story-a-runner.d.ts +1 -1
- package/pd-cli/dist/services/demo-story-a-runner.d.ts.map +1 -1
- package/pd-cli/dist/services/demo-story-a-runner.js +3 -3
- package/pd-cli/dist/services/demo-story-a-runner.js.map +1 -1
- package/pd-cli/dist/services/mainline-snapshot-assembler.d.ts +3 -3
- package/pd-cli/dist/services/mainline-snapshot-assembler.d.ts.map +1 -1
- package/pd-cli/dist/services/mainline-snapshot-assembler.js +3 -3
- package/pd-cli/dist/services/mainline-snapshot-assembler.js.map +1 -1
- package/pd-cli/dist/services/pain-flood-simulation-runner.d.ts +1 -1
- package/pd-cli/dist/services/pain-flood-simulation-runner.d.ts.map +1 -1
- package/pd-cli/dist/services/pain-flood-simulation-runner.js +12 -12
- package/pd-cli/dist/services/pain-flood-simulation-runner.js.map +1 -1
- package/pd-cli/dist/services/pd-config-loader.d.ts +1 -1
- package/pd-cli/dist/services/pd-config-loader.d.ts.map +1 -1
- package/pd-cli/dist/services/pd-config-loader.js +1 -1
- package/pd-cli/dist/services/pd-config-loader.js.map +1 -1
- package/pd-cli/dist/services/proven-channel-baseline-runner.d.ts +1 -1
- package/pd-cli/dist/services/proven-channel-baseline-runner.d.ts.map +1 -1
- package/pd-cli/dist/services/proven-channel-baseline-runner.js +1 -1
- package/pd-cli/dist/services/proven-channel-baseline-runner.js.map +1 -1
- package/pd-cli/dist/services/resolve-runtime-from-pd-config.d.ts +2 -2
- package/pd-cli/dist/services/resolve-runtime-from-pd-config.d.ts.map +1 -1
- package/pd-cli/dist/services/resolve-runtime-from-pd-config.js +1 -1
- package/pd-cli/dist/services/resolve-runtime-from-pd-config.js.map +1 -1
- package/pd-cli/dist/services/reuse-gated-intake.d.ts +2 -2
- package/pd-cli/dist/services/reuse-gated-intake.d.ts.map +1 -1
- package/pd-cli/dist/services/reuse-gated-intake.js +1 -1
- package/pd-cli/dist/services/reuse-gated-intake.js.map +1 -1
- package/pd-cli/dist/services/rulehost-pipeline-runner.d.ts +3 -3
- package/pd-cli/dist/services/rulehost-pipeline-runner.d.ts.map +1 -1
- package/pd-cli/dist/services/rulehost-pipeline-runner.js +2 -2
- package/pd-cli/dist/services/rulehost-pipeline-runner.js.map +1 -1
- package/pd-cli/dist/services/rulehost-readiness.js +1 -1
- package/pd-cli/dist/services/rulehost-readiness.js.map +1 -1
- package/pd-cli/dist/services/runtime-adapter-resolver.d.ts +2 -2
- package/pd-cli/dist/services/runtime-adapter-resolver.d.ts.map +1 -1
- package/pd-cli/dist/services/runtime-adapter-resolver.js +1 -1
- package/pd-cli/dist/services/runtime-adapter-resolver.js.map +1 -1
- package/pd-cli/dist/services/synthetic-baseline-runner.d.ts +1 -1
- package/pd-cli/dist/services/synthetic-baseline-runner.d.ts.map +1 -1
- package/pd-cli/dist/services/synthetic-baseline-runner.js +15 -15
- package/pd-cli/dist/services/synthetic-baseline-runner.js.map +1 -1
- package/pd-cli/dist/services/workspace-telemetry.js +1 -1
- package/pd-cli/dist/services/workspace-telemetry.js.map +1 -1
- package/pd-cli/dist/services/workspace-tool-semantics.d.ts +1 -1
- package/pd-cli/dist/services/workspace-tool-semantics.d.ts.map +1 -1
- package/pd-mcp-server/dist/envelope.d.ts +1 -1
- package/pd-mcp-server/dist/envelope.js +1 -1
- package/pd-mcp-server/dist/server.d.ts +2 -2
- package/pd-mcp-server/dist/server.js +2 -2
- package/pd-mcp-server/dist/version.d.ts +1 -1
- package/pd-mcp-server/dist/version.js +1 -1
- package/pd-mcp-server/package.json +1 -1
- package/plugin/dist/bundle.js +399 -399
- package/plugin/dist/commands/promote-impl.d.ts +1 -1
- package/plugin/dist/constants/tool-semantics.d.ts +1 -1
- package/plugin/dist/core/correction-types.d.ts +2 -2
- package/plugin/dist/core/event-log.d.ts +3 -3
- package/plugin/dist/core/evolution-types.d.ts +5 -5
- package/plugin/dist/core/intent-doc-reader-adapter.d.ts +1 -1
- package/plugin/dist/core/intent-doc-reader.d.ts +1 -1
- package/plugin/dist/core/pd-task-types.d.ts +2 -2
- package/plugin/dist/core/principle-compiler/code-validator.d.ts +2 -2
- package/plugin/dist/core/principle-compiler/compiler.d.ts +2 -2
- package/plugin/dist/core/principle-compiler/template-generator.d.ts +1 -1
- package/plugin/dist/core/principle-internalization/filesystem-lifecycle-datasource.d.ts +2 -2
- package/plugin/dist/core/principle-internalization/lifecycle-read-model.d.ts +5 -5
- package/plugin/dist/core/principle-internalization/principle-lifecycle-service.d.ts +3 -3
- package/plugin/dist/core/principle-tree-ledger.d.ts +1 -1
- package/plugin/dist/core/replay-engine.d.ts +1 -1
- package/plugin/dist/core/rule-context-assembler.d.ts +1 -1
- package/plugin/dist/core/rule-host.d.ts +3 -3
- package/plugin/dist/core/runtime-prompt-activation-reader.d.ts +30 -0
- package/plugin/dist/core/signal-collector-host.d.ts +1 -1
- package/plugin/dist/core/workspace-context.d.ts +1 -1
- package/plugin/dist/governance-audit.d.ts +2 -2
- package/plugin/dist/governance-audit.js +1 -1
- package/plugin/dist/hooks/gate.d.ts +1 -1
- package/plugin/dist/hooks/message-sanitize.d.ts +1 -1
- package/plugin/dist/hooks/pain-ingress-adapter.d.ts +1 -1
- package/plugin/dist/hooks/raw-observation-adapter.d.ts +2 -2
- package/plugin/dist/hooks/raw-observation-types.d.ts +2 -2
- package/plugin/dist/hooks/trajectory-evidence.d.ts +1 -1
- package/plugin/dist/hooks/triage-adapter.d.ts +1 -1
- package/plugin/dist/index.d.ts +1 -1
- package/plugin/dist/openclaw.plugin.json +1 -1
- package/plugin/dist/service/correction-observer-service.d.ts +1 -1
- package/plugin/dist/service/keyword-optimization-service.d.ts +2 -2
- package/plugin/dist/types/event-types.d.ts +2 -2
- package/plugin/dist/types/hygiene-types.d.ts +2 -2
- package/plugin/dist/types/principle-tree-schema.d.ts +2 -2
- package/plugin/dist/utils/workspace-resolver.d.ts +1 -1
- package/plugin/openclaw.plugin.json +1 -1
- package/plugin/package.json +1 -1
- package/release-manager/dist/installer.js +1 -1
- package/release-manager/dist/installers/workbuddy-host-installer.js +1 -1
- package/release-manager/dist/utils/config-file-io.js +1 -1
- package/release-manager/dist/utils/env.js +1 -1
- package/release-manager/package.json +1 -1
- package/workbuddy-adapter/dist/pd-hook.js +3 -3
- package/workbuddy-adapter/dist/tool-semantics.d.ts +1 -1
- package/workbuddy-adapter/dist/tool-semantics.js +1 -1
- package/workbuddy-adapter/dist/workbuddy-evidence-recorder.d.ts +1 -1
- package/workbuddy-adapter/dist/worker/workspace-worker.js +2 -2
- package/workbuddy-adapter/package.json +1 -1
- package/core/dist/runtime-v2/activation/activation-control-types.d.ts.map +0 -1
- package/core/dist/runtime-v2/activation/activation-control-types.js.map +0 -1
- package/core/dist/runtime-v2/activation/activation-dispatcher.d.ts.map +0 -1
- package/core/dist/runtime-v2/activation/activation-dispatcher.js.map +0 -1
- package/core/dist/runtime-v2/activation/activation-types.d.ts.map +0 -1
- package/core/dist/runtime-v2/activation/activation-types.js.map +0 -1
- package/core/dist/runtime-v2/activation/adaptive-delivery-record.d.ts.map +0 -1
- package/core/dist/runtime-v2/activation/adaptive-delivery-record.js.map +0 -1
- package/core/dist/runtime-v2/activation/adaptive-principle-intervention.d.ts +0 -83
- package/core/dist/runtime-v2/activation/adaptive-principle-intervention.d.ts.map +0 -1
- package/core/dist/runtime-v2/activation/adaptive-principle-intervention.js.map +0 -1
- package/core/dist/runtime-v2/activation/approval-completion-service.d.ts.map +0 -1
- package/core/dist/runtime-v2/activation/approval-completion-service.js.map +0 -1
- package/core/dist/runtime-v2/activation/approval-queue.d.ts.map +0 -1
- package/core/dist/runtime-v2/activation/approval-queue.js.map +0 -1
- package/core/dist/runtime-v2/activation/approval-review-guard.d.ts.map +0 -1
- package/core/dist/runtime-v2/activation/approval-review-guard.js.map +0 -1
- package/core/dist/runtime-v2/activation/index.d.ts +0 -48
- package/core/dist/runtime-v2/activation/index.d.ts.map +0 -1
- package/core/dist/runtime-v2/activation/index.js +0 -38
- package/core/dist/runtime-v2/activation/index.js.map +0 -1
- package/core/dist/runtime-v2/activation/ledger-identity.d.ts.map +0 -1
- package/core/dist/runtime-v2/activation/ledger-identity.js.map +0 -1
- package/core/dist/runtime-v2/activation/low-risk-writers.d.ts.map +0 -1
- package/core/dist/runtime-v2/activation/low-risk-writers.js.map +0 -1
- package/core/dist/runtime-v2/activation/memory-activation-state-store.d.ts.map +0 -1
- package/core/dist/runtime-v2/activation/memory-activation-state-store.js.map +0 -1
- package/core/dist/runtime-v2/activation/memory-approval-store.d.ts.map +0 -1
- package/core/dist/runtime-v2/activation/memory-approval-store.js.map +0 -1
- package/core/dist/runtime-v2/activation/openclaw-promotion-checks.d.ts.map +0 -1
- package/core/dist/runtime-v2/activation/openclaw-promotion-checks.js.map +0 -1
- package/core/dist/runtime-v2/activation/production-gate-deps.d.ts.map +0 -1
- package/core/dist/runtime-v2/activation/production-gate-deps.js.map +0 -1
- package/core/dist/runtime-v2/activation/promotion-evidence-snapshot.d.ts.map +0 -1
- package/core/dist/runtime-v2/activation/promotion-evidence-snapshot.js.map +0 -1
- package/core/dist/runtime-v2/activation/promotion-readiness-evaluator.d.ts.map +0 -1
- package/core/dist/runtime-v2/activation/promotion-readiness-evaluator.js.map +0 -1
- package/core/dist/runtime-v2/activation/promotion-readiness-reader.d.ts.map +0 -1
- package/core/dist/runtime-v2/activation/promotion-readiness-reader.js.map +0 -1
- package/core/dist/runtime-v2/activation/prompt-activation-reader-contract.d.ts +0 -118
- package/core/dist/runtime-v2/activation/prompt-activation-reader-contract.d.ts.map +0 -1
- package/core/dist/runtime-v2/activation/prompt-activation-reader-contract.js +0 -209
- package/core/dist/runtime-v2/activation/prompt-activation-reader-contract.js.map +0 -1
- package/core/dist/runtime-v2/activation/prompt-budget-policy.d.ts.map +0 -1
- package/core/dist/runtime-v2/activation/prompt-budget-policy.js +0 -326
- package/core/dist/runtime-v2/activation/prompt-budget-policy.js.map +0 -1
- package/core/dist/runtime-v2/activation/prompt-replacement.d.ts.map +0 -1
- package/core/dist/runtime-v2/activation/prompt-replacement.js.map +0 -1
- package/core/dist/runtime-v2/activation/recovery-composition.d.ts.map +0 -1
- package/core/dist/runtime-v2/activation/recovery-composition.js.map +0 -1
- package/core/dist/runtime-v2/activation/recovery-control-surfaces.d.ts.map +0 -1
- package/core/dist/runtime-v2/activation/recovery-control-surfaces.js.map +0 -1
- package/core/dist/runtime-v2/activation/rule-replacement.d.ts.map +0 -1
- package/core/dist/runtime-v2/activation/rule-replacement.js.map +0 -1
- package/core/dist/runtime-v2/activation/rulecode-owner-decision-service.d.ts.map +0 -1
- package/core/dist/runtime-v2/activation/rulecode-owner-decision-service.js.map +0 -1
- package/core/dist/runtime-v2/activation/rulecode-safety-circuit-breaker.d.ts.map +0 -1
- package/core/dist/runtime-v2/activation/rulecode-safety-circuit-breaker.js.map +0 -1
- package/core/dist/runtime-v2/activation/rulecode-shadow-summary.d.ts.map +0 -1
- package/core/dist/runtime-v2/activation/rulecode-shadow-summary.js.map +0 -1
- package/core/dist/runtime-v2/activation/sqlite-activation-safety-store.d.ts.map +0 -1
- package/core/dist/runtime-v2/activation/sqlite-activation-safety-store.js.map +0 -1
- package/core/dist/runtime-v2/activation/sqlite-activation-state-store.d.ts.map +0 -1
- package/core/dist/runtime-v2/activation/sqlite-activation-state-store.js.map +0 -1
- package/core/dist/runtime-v2/activation/sqlite-approval-store.d.ts.map +0 -1
- package/core/dist/runtime-v2/activation/sqlite-approval-store.js.map +0 -1
- package/core/dist/runtime-v2/activation/writers/index.d.ts.map +0 -1
- package/core/dist/runtime-v2/activation/writers/index.js.map +0 -1
- package/core/dist/runtime-v2/activation/writers/rule-host-writer.d.ts.map +0 -1
- package/core/dist/runtime-v2/activation/writers/rule-host-writer.js.map +0 -1
- package/core/dist/runtime-v2/activation-compatibility-read-model.d.ts.map +0 -1
- package/core/dist/runtime-v2/activation-compatibility-read-model.js.map +0 -1
- package/core/dist/runtime-v2/adapter/artificer-l2-adapter.d.ts.map +0 -1
- package/core/dist/runtime-v2/adapter/artificer-l2-adapter.js.map +0 -1
- package/core/dist/runtime-v2/adapter/index.d.ts.map +0 -1
- package/core/dist/runtime-v2/adapter/index.js.map +0 -1
- package/core/dist/runtime-v2/adapter/json-extractor.d.ts.map +0 -1
- package/core/dist/runtime-v2/adapter/json-extractor.js.map +0 -1
- package/core/dist/runtime-v2/adapter/l2-agent-loop-adapter.d.ts.map +0 -1
- package/core/dist/runtime-v2/adapter/l2-agent-loop-adapter.js.map +0 -1
- package/core/dist/runtime-v2/adapter/output-repair-contract.d.ts.map +0 -1
- package/core/dist/runtime-v2/adapter/output-repair-contract.js +0 -99
- package/core/dist/runtime-v2/adapter/output-repair-contract.js.map +0 -1
- package/core/dist/runtime-v2/adapter/output-schema-registry.d.ts.map +0 -1
- package/core/dist/runtime-v2/adapter/output-schema-registry.js.map +0 -1
- package/core/dist/runtime-v2/adapter/pi-ai-catalog.d.ts.map +0 -1
- package/core/dist/runtime-v2/adapter/pi-ai-catalog.js.map +0 -1
- package/core/dist/runtime-v2/adapter/pi-ai-http-transport.d.ts.map +0 -1
- package/core/dist/runtime-v2/adapter/pi-ai-http-transport.js.map +0 -1
- package/core/dist/runtime-v2/adapter/pi-ai-runtime-adapter.d.ts.map +0 -1
- package/core/dist/runtime-v2/adapter/pi-ai-runtime-adapter.js +0 -1489
- package/core/dist/runtime-v2/adapter/pi-ai-runtime-adapter.js.map +0 -1
- package/core/dist/runtime-v2/adapter/principle-tree-ledger-adapter.d.ts +0 -98
- package/core/dist/runtime-v2/adapter/principle-tree-ledger-adapter.d.ts.map +0 -1
- package/core/dist/runtime-v2/adapter/principle-tree-ledger-adapter.js +0 -243
- package/core/dist/runtime-v2/adapter/principle-tree-ledger-adapter.js.map +0 -1
- package/core/dist/runtime-v2/adapter/schema-json-converter.d.ts.map +0 -1
- package/core/dist/runtime-v2/adapter/schema-json-converter.js.map +0 -1
- package/core/dist/runtime-v2/adapter/schema-prompt-adapter.d.ts.map +0 -1
- package/core/dist/runtime-v2/adapter/schema-prompt-adapter.js.map +0 -1
- package/core/dist/runtime-v2/adapter/split-pipeline-fixtures.d.ts.map +0 -1
- package/core/dist/runtime-v2/adapter/split-pipeline-fixtures.js.map +0 -1
- package/core/dist/runtime-v2/adapter/structured-output-repair.d.ts.map +0 -1
- package/core/dist/runtime-v2/adapter/structured-output-repair.js +0 -298
- package/core/dist/runtime-v2/adapter/structured-output-repair.js.map +0 -1
- package/core/dist/runtime-v2/adapter/test-double-runtime-adapter.d.ts.map +0 -1
- package/core/dist/runtime-v2/adapter/test-double-runtime-adapter.js.map +0 -1
- package/core/dist/runtime-v2/adapter/tools/diagnostician-tool.d.ts.map +0 -1
- package/core/dist/runtime-v2/adapter/tools/diagnostician-tool.js.map +0 -1
- package/core/dist/runtime-v2/admission-gate.d.ts.map +0 -1
- package/core/dist/runtime-v2/admission-gate.js.map +0 -1
- package/core/dist/runtime-v2/adversarial-loop.d.ts.map +0 -1
- package/core/dist/runtime-v2/adversarial-loop.js.map +0 -1
- package/core/dist/runtime-v2/agent-spec.d.ts.map +0 -1
- package/core/dist/runtime-v2/agent-spec.js.map +0 -1
- package/core/dist/runtime-v2/bridge-result-shaper.d.ts.map +0 -1
- package/core/dist/runtime-v2/bridge-result-shaper.js.map +0 -1
- package/core/dist/runtime-v2/build-l2-principle-reader.d.ts.map +0 -1
- package/core/dist/runtime-v2/build-l2-principle-reader.js.map +0 -1
- package/core/dist/runtime-v2/candidate-audit.d.ts.map +0 -1
- package/core/dist/runtime-v2/candidate-audit.js.map +0 -1
- package/core/dist/runtime-v2/candidate-intake-service.d.ts.map +0 -1
- package/core/dist/runtime-v2/candidate-intake-service.js.map +0 -1
- package/core/dist/runtime-v2/candidate-intake.d.ts.map +0 -1
- package/core/dist/runtime-v2/candidate-intake.js.map +0 -1
- package/core/dist/runtime-v2/cli/diagnose.d.ts.map +0 -1
- package/core/dist/runtime-v2/cli/diagnose.js.map +0 -1
- package/core/dist/runtime-v2/cli/index.d.ts.map +0 -1
- package/core/dist/runtime-v2/cli/index.js.map +0 -1
- package/core/dist/runtime-v2/cli/probe.d.ts.map +0 -1
- package/core/dist/runtime-v2/cli/probe.js.map +0 -1
- package/core/dist/runtime-v2/config/index.d.ts.map +0 -1
- package/core/dist/runtime-v2/config/index.js.map +0 -1
- package/core/dist/runtime-v2/config/pd-config-agent-binding.d.ts.map +0 -1
- package/core/dist/runtime-v2/config/pd-config-agent-binding.js.map +0 -1
- package/core/dist/runtime-v2/config/pd-config-defaults.d.ts.map +0 -1
- package/core/dist/runtime-v2/config/pd-config-defaults.js.map +0 -1
- package/core/dist/runtime-v2/config/pd-config-effective.d.ts.map +0 -1
- package/core/dist/runtime-v2/config/pd-config-effective.js.map +0 -1
- package/core/dist/runtime-v2/config/pd-config-feature-flags.d.ts.map +0 -1
- package/core/dist/runtime-v2/config/pd-config-feature-flags.js.map +0 -1
- package/core/dist/runtime-v2/config/pd-config-redaction.d.ts.map +0 -1
- package/core/dist/runtime-v2/config/pd-config-redaction.js +0 -202
- package/core/dist/runtime-v2/config/pd-config-redaction.js.map +0 -1
- package/core/dist/runtime-v2/config/pd-config-types.d.ts.map +0 -1
- package/core/dist/runtime-v2/config/pd-config-types.js.map +0 -1
- package/core/dist/runtime-v2/config/pd-config-validate.d.ts.map +0 -1
- package/core/dist/runtime-v2/config/pd-config-validate.js.map +0 -1
- package/core/dist/runtime-v2/config/pd-profile-constants.d.ts.map +0 -1
- package/core/dist/runtime-v2/config/pd-profile-constants.js.map +0 -1
- package/core/dist/runtime-v2/config/pd-validate-profile.d.ts.map +0 -1
- package/core/dist/runtime-v2/config/pd-validate-profile.js.map +0 -1
- package/core/dist/runtime-v2/context-payload.d.ts.map +0 -1
- package/core/dist/runtime-v2/context-payload.js.map +0 -1
- package/core/dist/runtime-v2/control-plane-triage.d.ts.map +0 -1
- package/core/dist/runtime-v2/control-plane-triage.js.map +0 -1
- package/core/dist/runtime-v2/core-principles/core-axiom-block.d.ts.map +0 -1
- package/core/dist/runtime-v2/core-principles/core-axiom-block.js.map +0 -1
- package/core/dist/runtime-v2/core-principles/core-principle-registry.d.ts.map +0 -1
- package/core/dist/runtime-v2/core-principles/core-principle-registry.js.map +0 -1
- package/core/dist/runtime-v2/core-principles/index.d.ts.map +0 -1
- package/core/dist/runtime-v2/core-principles/index.js.map +0 -1
- package/core/dist/runtime-v2/core-principles/strip-fabricated-ids.d.ts.map +0 -1
- package/core/dist/runtime-v2/core-principles/strip-fabricated-ids.js.map +0 -1
- package/core/dist/runtime-v2/correction/correction-types.d.ts.map +0 -1
- package/core/dist/runtime-v2/correction/correction-types.js.map +0 -1
- package/core/dist/runtime-v2/correction/index.d.ts.map +0 -1
- package/core/dist/runtime-v2/correction/index.js.map +0 -1
- package/core/dist/runtime-v2/detection/detection-funnel-policy.d.ts.map +0 -1
- package/core/dist/runtime-v2/detection/detection-funnel-policy.js.map +0 -1
- package/core/dist/runtime-v2/detection/index.d.ts.map +0 -1
- package/core/dist/runtime-v2/detection/index.js.map +0 -1
- package/core/dist/runtime-v2/diagnostician/diag-distiller-output.d.ts.map +0 -1
- package/core/dist/runtime-v2/diagnostician/diag-distiller-output.js.map +0 -1
- package/core/dist/runtime-v2/diagnostician/diag-rootcause-output.d.ts.map +0 -1
- package/core/dist/runtime-v2/diagnostician/diag-rootcause-output.js.map +0 -1
- package/core/dist/runtime-v2/diagnostician/distiller-prompt-builder.d.ts.map +0 -1
- package/core/dist/runtime-v2/diagnostician/distiller-prompt-builder.js.map +0 -1
- package/core/dist/runtime-v2/diagnostician/evidence-ref-binding.d.ts.map +0 -1
- package/core/dist/runtime-v2/diagnostician/evidence-ref-binding.js.map +0 -1
- package/core/dist/runtime-v2/diagnostician/rootcause-prompt-builder.d.ts.map +0 -1
- package/core/dist/runtime-v2/diagnostician/rootcause-prompt-builder.js.map +0 -1
- package/core/dist/runtime-v2/diagnostician/router-prompt-builder.d.ts.map +0 -1
- package/core/dist/runtime-v2/diagnostician/router-prompt-builder.js.map +0 -1
- package/core/dist/runtime-v2/diagnostician-association-shadow.d.ts.map +0 -1
- package/core/dist/runtime-v2/diagnostician-association-shadow.js.map +0 -1
- package/core/dist/runtime-v2/diagnostician-association-validation.d.ts.map +0 -1
- package/core/dist/runtime-v2/diagnostician-association-validation.js.map +0 -1
- package/core/dist/runtime-v2/diagnostician-capability.d.ts.map +0 -1
- package/core/dist/runtime-v2/diagnostician-capability.js.map +0 -1
- package/core/dist/runtime-v2/diagnostician-output.d.ts.map +0 -1
- package/core/dist/runtime-v2/diagnostician-output.js.map +0 -1
- package/core/dist/runtime-v2/diagnostician-prompt-builder.d.ts.map +0 -1
- package/core/dist/runtime-v2/diagnostician-prompt-builder.js.map +0 -1
- package/core/dist/runtime-v2/error-categories.d.ts +0 -42
- package/core/dist/runtime-v2/error-categories.d.ts.map +0 -1
- package/core/dist/runtime-v2/error-categories.js +0 -122
- package/core/dist/runtime-v2/error-categories.js.map +0 -1
- package/core/dist/runtime-v2/evidence-guards.d.ts.map +0 -1
- package/core/dist/runtime-v2/evidence-guards.js.map +0 -1
- package/core/dist/runtime-v2/evidence-sanitizer.d.ts.map +0 -1
- package/core/dist/runtime-v2/evidence-sanitizer.js.map +0 -1
- package/core/dist/runtime-v2/evidence-triage/index.d.ts.map +0 -1
- package/core/dist/runtime-v2/evidence-triage/index.js.map +0 -1
- package/core/dist/runtime-v2/evidence-triage/observation-resolver.d.ts.map +0 -1
- package/core/dist/runtime-v2/evidence-triage/observation-resolver.js.map +0 -1
- package/core/dist/runtime-v2/evidence-triage/source-descriptors.d.ts.map +0 -1
- package/core/dist/runtime-v2/evidence-triage/source-descriptors.js.map +0 -1
- package/core/dist/runtime-v2/evidence-triage/triage-policy.d.ts.map +0 -1
- package/core/dist/runtime-v2/evidence-triage/triage-policy.js.map +0 -1
- package/core/dist/runtime-v2/evidence-triage/trigger-controller.d.ts.map +0 -1
- package/core/dist/runtime-v2/evidence-triage/trigger-controller.js.map +0 -1
- package/core/dist/runtime-v2/evidence-triage/types.d.ts.map +0 -1
- package/core/dist/runtime-v2/evidence-triage/types.js.map +0 -1
- package/core/dist/runtime-v2/evolution/evolution-types.d.ts.map +0 -1
- package/core/dist/runtime-v2/evolution/evolution-types.js.map +0 -1
- package/core/dist/runtime-v2/feature-flags/feature-flag-contract.d.ts.map +0 -1
- package/core/dist/runtime-v2/feature-flags/feature-flag-contract.js.map +0 -1
- package/core/dist/runtime-v2/feature-flags/feature-flag-lifecycle.d.ts.map +0 -1
- package/core/dist/runtime-v2/feature-flags/feature-flag-lifecycle.js +0 -273
- package/core/dist/runtime-v2/feature-flags/feature-flag-lifecycle.js.map +0 -1
- package/core/dist/runtime-v2/feature-flags/index.d.ts.map +0 -1
- package/core/dist/runtime-v2/feature-flags/index.js.map +0 -1
- package/core/dist/runtime-v2/feature-flags/plugin-surface-registry.d.ts.map +0 -1
- package/core/dist/runtime-v2/feature-flags/plugin-surface-registry.js.map +0 -1
- package/core/dist/runtime-v2/feature-flags/surface-guard-policy.d.ts.map +0 -1
- package/core/dist/runtime-v2/feature-flags/surface-guard-policy.js.map +0 -1
- package/core/dist/runtime-v2/feedback/create-report.d.ts.map +0 -1
- package/core/dist/runtime-v2/feedback/create-report.js.map +0 -1
- package/core/dist/runtime-v2/feedback/feedback-types.d.ts.map +0 -1
- package/core/dist/runtime-v2/feedback/feedback-types.js.map +0 -1
- package/core/dist/runtime-v2/feedback/fingerprint.d.ts.map +0 -1
- package/core/dist/runtime-v2/feedback/fingerprint.js.map +0 -1
- package/core/dist/runtime-v2/feedback/index.d.ts.map +0 -1
- package/core/dist/runtime-v2/feedback/index.js +0 -18
- package/core/dist/runtime-v2/feedback/index.js.map +0 -1
- package/core/dist/runtime-v2/feedback/internal-guards.d.ts.map +0 -1
- package/core/dist/runtime-v2/feedback/internal-guards.js.map +0 -1
- package/core/dist/runtime-v2/feedback/pending-agent-draft-store.d.ts.map +0 -1
- package/core/dist/runtime-v2/feedback/pending-agent-draft-store.js.map +0 -1
- package/core/dist/runtime-v2/feedback/privacy-preview.d.ts.map +0 -1
- package/core/dist/runtime-v2/feedback/privacy-preview.js.map +0 -1
- package/core/dist/runtime-v2/feedback/redact-sensitive.d.ts.map +0 -1
- package/core/dist/runtime-v2/feedback/redact-sensitive.js +0 -301
- package/core/dist/runtime-v2/feedback/redact-sensitive.js.map +0 -1
- package/core/dist/runtime-v2/feedback/render-github-url.d.ts.map +0 -1
- package/core/dist/runtime-v2/feedback/render-github-url.js.map +0 -1
- package/core/dist/runtime-v2/feedback/render-markdown.d.ts.map +0 -1
- package/core/dist/runtime-v2/feedback/render-markdown.js.map +0 -1
- package/core/dist/runtime-v2/feedback/safe-stringify.d.ts.map +0 -1
- package/core/dist/runtime-v2/feedback/safe-stringify.js.map +0 -1
- package/core/dist/runtime-v2/full-trace-contract.d.ts.map +0 -1
- package/core/dist/runtime-v2/full-trace-contract.js +0 -466
- package/core/dist/runtime-v2/full-trace-contract.js.map +0 -1
- package/core/dist/runtime-v2/golden-trace-replay-validator.d.ts.map +0 -1
- package/core/dist/runtime-v2/golden-trace-replay-validator.js.map +0 -1
- package/core/dist/runtime-v2/golden-trace.d.ts.map +0 -1
- package/core/dist/runtime-v2/golden-trace.js.map +0 -1
- package/core/dist/runtime-v2/governance-experience-contract.d.ts.map +0 -1
- package/core/dist/runtime-v2/governance-experience-contract.js.map +0 -1
- package/core/dist/runtime-v2/governance-experience.d.ts.map +0 -1
- package/core/dist/runtime-v2/governance-experience.js.map +0 -1
- package/core/dist/runtime-v2/governance-projection-contract.d.ts.map +0 -1
- package/core/dist/runtime-v2/governance-projection-contract.js.map +0 -1
- package/core/dist/runtime-v2/governance-projection.d.ts.map +0 -1
- package/core/dist/runtime-v2/governance-projection.js.map +0 -1
- package/core/dist/runtime-v2/governance-timestamp-schema.d.ts.map +0 -1
- package/core/dist/runtime-v2/governance-timestamp-schema.js.map +0 -1
- package/core/dist/runtime-v2/index.d.ts +0 -446
- package/core/dist/runtime-v2/index.d.ts.map +0 -1
- package/core/dist/runtime-v2/index.js +0 -409
- package/core/dist/runtime-v2/index.js.map +0 -1
- package/core/dist/runtime-v2/intent/index.d.ts.map +0 -1
- package/core/dist/runtime-v2/intent/index.js.map +0 -1
- package/core/dist/runtime-v2/intent/intent-browser.d.ts +0 -23
- package/core/dist/runtime-v2/intent/intent-browser.d.ts.map +0 -1
- package/core/dist/runtime-v2/intent/intent-browser.js +0 -21
- package/core/dist/runtime-v2/intent/intent-browser.js.map +0 -1
- package/core/dist/runtime-v2/intent/intent-decision-record.d.ts +0 -125
- package/core/dist/runtime-v2/intent/intent-decision-record.d.ts.map +0 -1
- package/core/dist/runtime-v2/intent/intent-decision-record.js +0 -21
- package/core/dist/runtime-v2/intent/intent-decision-record.js.map +0 -1
- package/core/dist/runtime-v2/intent/intent-doc-reader-port.d.ts.map +0 -1
- package/core/dist/runtime-v2/intent/intent-doc-reader-port.js.map +0 -1
- package/core/dist/runtime-v2/intent/intent-doc-version.d.ts.map +0 -1
- package/core/dist/runtime-v2/intent/intent-doc-version.js.map +0 -1
- package/core/dist/runtime-v2/intent/intent-doc.d.ts.map +0 -1
- package/core/dist/runtime-v2/intent/intent-doc.js.map +0 -1
- package/core/dist/runtime-v2/intent/intent-friction-block.d.ts.map +0 -1
- package/core/dist/runtime-v2/intent/intent-friction-block.js.map +0 -1
- package/core/dist/runtime-v2/intent/intent-hash.d.ts.map +0 -1
- package/core/dist/runtime-v2/intent/intent-hash.js.map +0 -1
- package/core/dist/runtime-v2/intent/intent-patch-proposal.d.ts.map +0 -1
- package/core/dist/runtime-v2/intent/intent-patch-proposal.js.map +0 -1
- package/core/dist/runtime-v2/internalization/adversarial-case.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/adversarial-case.js.map +0 -1
- package/core/dist/runtime-v2/internalization/adversarial-feedback.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/adversarial-feedback.js.map +0 -1
- package/core/dist/runtime-v2/internalization/approved-rule-revision.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/approved-rule-revision.js.map +0 -1
- package/core/dist/runtime-v2/internalization/artifact-content-hash.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/artifact-content-hash.js.map +0 -1
- package/core/dist/runtime-v2/internalization/artifact-summary.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/artifact-summary.js.map +0 -1
- package/core/dist/runtime-v2/internalization/artificer-code-bearing.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/artificer-code-bearing.js.map +0 -1
- package/core/dist/runtime-v2/internalization/artificer-intent-preflight.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/artificer-intent-preflight.js.map +0 -1
- package/core/dist/runtime-v2/internalization/artificer-output.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/artificer-output.js.map +0 -1
- package/core/dist/runtime-v2/internalization/artificer-prompt-builder.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/artificer-prompt-builder.js.map +0 -1
- package/core/dist/runtime-v2/internalization/artificer-run-correlation.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/artificer-run-correlation.js.map +0 -1
- package/core/dist/runtime-v2/internalization/artificer-runner.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/artificer-runner.js.map +0 -1
- package/core/dist/runtime-v2/internalization/bash-risk.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/bash-risk.js +0 -905
- package/core/dist/runtime-v2/internalization/bash-risk.js.map +0 -1
- package/core/dist/runtime-v2/internalization/behavior-example-pack.d.ts +0 -47
- package/core/dist/runtime-v2/internalization/behavior-example-pack.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/behavior-example-pack.js +0 -214
- package/core/dist/runtime-v2/internalization/behavior-example-pack.js.map +0 -1
- package/core/dist/runtime-v2/internalization/candidate-identity.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/candidate-identity.js.map +0 -1
- package/core/dist/runtime-v2/internalization/compile-result.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/compile-result.js.map +0 -1
- package/core/dist/runtime-v2/internalization/consumer-evidence-preflight.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/consumer-evidence-preflight.js.map +0 -1
- package/core/dist/runtime-v2/internalization/correction-proposal.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/correction-proposal.js +0 -333
- package/core/dist/runtime-v2/internalization/correction-proposal.js.map +0 -1
- package/core/dist/runtime-v2/internalization/deprecated-readiness.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/deprecated-readiness.js.map +0 -1
- package/core/dist/runtime-v2/internalization/design-gate-facts.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/design-gate-facts.js.map +0 -1
- package/core/dist/runtime-v2/internalization/diag-distiller-runner.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/diag-distiller-runner.js.map +0 -1
- package/core/dist/runtime-v2/internalization/diag-rootcause-runner.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/diag-rootcause-runner.js.map +0 -1
- package/core/dist/runtime-v2/internalization/diag-router-runner.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/diag-router-runner.js.map +0 -1
- package/core/dist/runtime-v2/internalization/dreamer-output.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/dreamer-output.js.map +0 -1
- package/core/dist/runtime-v2/internalization/dreamer-prompt-builder.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/dreamer-prompt-builder.js.map +0 -1
- package/core/dist/runtime-v2/internalization/dreamer-runner.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/dreamer-runner.js.map +0 -1
- package/core/dist/runtime-v2/internalization/evaluator-output.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/evaluator-output.js.map +0 -1
- package/core/dist/runtime-v2/internalization/evaluator-prompt-builder.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/evaluator-prompt-builder.js.map +0 -1
- package/core/dist/runtime-v2/internalization/evaluator-runner.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/evaluator-runner.js.map +0 -1
- package/core/dist/runtime-v2/internalization/evidence-readiness.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/evidence-readiness.js.map +0 -1
- package/core/dist/runtime-v2/internalization/formation-context.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/formation-context.js.map +0 -1
- package/core/dist/runtime-v2/internalization/golden-dogfood-fixtures.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/golden-dogfood-fixtures.js.map +0 -1
- package/core/dist/runtime-v2/internalization/index.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/index.js.map +0 -1
- package/core/dist/runtime-v2/internalization/intake-to-internalization-bridge.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/intake-to-internalization-bridge.js.map +0 -1
- package/core/dist/runtime-v2/internalization/intent-contract.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/intent-contract.js.map +0 -1
- package/core/dist/runtime-v2/internalization/internalization-consumer-decision.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/internalization-consumer-decision.js.map +0 -1
- package/core/dist/runtime-v2/internalization/internalization-job-graph.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/internalization-job-graph.js.map +0 -1
- package/core/dist/runtime-v2/internalization/internalization-orchestrator.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/internalization-orchestrator.js.map +0 -1
- package/core/dist/runtime-v2/internalization/internalization-route.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/internalization-route.js.map +0 -1
- package/core/dist/runtime-v2/internalization/internalization-state-machine.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/internalization-state-machine.js.map +0 -1
- package/core/dist/runtime-v2/internalization/internalization-task-guards.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/internalization-task-guards.js.map +0 -1
- package/core/dist/runtime-v2/internalization/internalization-transition-decision.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/internalization-transition-decision.js.map +0 -1
- package/core/dist/runtime-v2/internalization/legacy-rule-contract-scanner.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/legacy-rule-contract-scanner.js.map +0 -1
- package/core/dist/runtime-v2/internalization/lifecycle-datasource.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/lifecycle-datasource.js.map +0 -1
- package/core/dist/runtime-v2/internalization/lifecycle-metrics.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/lifecycle-metrics.js.map +0 -1
- package/core/dist/runtime-v2/internalization/lifecycle-read-model.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/lifecycle-read-model.js.map +0 -1
- package/core/dist/runtime-v2/internalization/lifecycle-types.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/lifecycle-types.js.map +0 -1
- package/core/dist/runtime-v2/internalization/owner-decision-review.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/owner-decision-review.js.map +0 -1
- package/core/dist/runtime-v2/internalization/owner-evidence-recovery.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/owner-evidence-recovery.js.map +0 -1
- package/core/dist/runtime-v2/internalization/owner-resolution-service.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/owner-resolution-service.js.map +0 -1
- package/core/dist/runtime-v2/internalization/owner-retry.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/owner-retry.js.map +0 -1
- package/core/dist/runtime-v2/internalization/owner-review.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/owner-review.js.map +0 -1
- package/core/dist/runtime-v2/internalization/peer-runner-contracts.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/peer-runner-contracts.js.map +0 -1
- package/core/dist/runtime-v2/internalization/philosopher-output.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/philosopher-output.js.map +0 -1
- package/core/dist/runtime-v2/internalization/philosopher-prompt-builder.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/philosopher-prompt-builder.js.map +0 -1
- package/core/dist/runtime-v2/internalization/philosopher-runner.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/philosopher-runner.js.map +0 -1
- package/core/dist/runtime-v2/internalization/pi-artifact-store.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/pi-artifact-store.js.map +0 -1
- package/core/dist/runtime-v2/internalization/pi-artifact.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/pi-artifact.js.map +0 -1
- package/core/dist/runtime-v2/internalization/pitask-metadata.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/pitask-metadata.js +0 -1030
- package/core/dist/runtime-v2/internalization/pitask-metadata.js.map +0 -1
- package/core/dist/runtime-v2/internalization/prompt-serializer.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/prompt-serializer.js.map +0 -1
- package/core/dist/runtime-v2/internalization/queue-actionability.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/queue-actionability.js.map +0 -1
- package/core/dist/runtime-v2/internalization/refiner-rulehost-gate.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/refiner-rulehost-gate.js.map +0 -1
- package/core/dist/runtime-v2/internalization/refiner-sandbox-wrapper.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/refiner-sandbox-wrapper.js.map +0 -1
- package/core/dist/runtime-v2/internalization/repair-replay-resolver.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/repair-replay-resolver.js.map +0 -1
- package/core/dist/runtime-v2/internalization/revision-reopen.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/revision-reopen.js.map +0 -1
- package/core/dist/runtime-v2/internalization/rollout-reviewer-output.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/rollout-reviewer-output.js.map +0 -1
- package/core/dist/runtime-v2/internalization/rollout-reviewer-prompt-builder.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/rollout-reviewer-prompt-builder.js.map +0 -1
- package/core/dist/runtime-v2/internalization/rollout-reviewer-runner.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/rollout-reviewer-runner.js.map +0 -1
- package/core/dist/runtime-v2/internalization/router-context-evidence.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/router-context-evidence.js.map +0 -1
- package/core/dist/runtime-v2/internalization/routing-policy.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/routing-policy.js.map +0 -1
- package/core/dist/runtime-v2/internalization/rule-activation-contract.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/rule-activation-contract.js.map +0 -1
- package/core/dist/runtime-v2/internalization/rule-binding-revision.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/rule-binding-revision.js.map +0 -1
- package/core/dist/runtime-v2/internalization/rule-code-validator.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/rule-code-validator.js.map +0 -1
- package/core/dist/runtime-v2/internalization/rule-context-v2.d.ts +0 -64
- package/core/dist/runtime-v2/internalization/rule-context-v2.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/rule-context-v2.js +0 -285
- package/core/dist/runtime-v2/internalization/rule-context-v2.js.map +0 -1
- package/core/dist/runtime-v2/internalization/rule-host-adapter.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/rule-host-adapter.js.map +0 -1
- package/core/dist/runtime-v2/internalization/rule-host-contracts.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/rule-host-contracts.js.map +0 -1
- package/core/dist/runtime-v2/internalization/rule-host-evaluator.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/rule-host-evaluator.js.map +0 -1
- package/core/dist/runtime-v2/internalization/rule-host-helpers.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/rule-host-helpers.js.map +0 -1
- package/core/dist/runtime-v2/internalization/rule-host-input-builder.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/rule-host-input-builder.js.map +0 -1
- package/core/dist/runtime-v2/internalization/rule-host-validator.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/rule-host-validator.js.map +0 -1
- package/core/dist/runtime-v2/internalization/rule-reliability-validation.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/rule-reliability-validation.js.map +0 -1
- package/core/dist/runtime-v2/internalization/rule-source-correction.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/rule-source-correction.js.map +0 -1
- package/core/dist/runtime-v2/internalization/rulecode-verification-obligations.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/rulecode-verification-obligations.js.map +0 -1
- package/core/dist/runtime-v2/internalization/scribe-output.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/scribe-output.js.map +0 -1
- package/core/dist/runtime-v2/internalization/scribe-prompt-builder.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/scribe-prompt-builder.js.map +0 -1
- package/core/dist/runtime-v2/internalization/scribe-runner.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/scribe-runner.js.map +0 -1
- package/core/dist/runtime-v2/internalization/split-diagnostician-runner.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/split-diagnostician-runner.js.map +0 -1
- package/core/dist/runtime-v2/internalization/template-generator.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/template-generator.js.map +0 -1
- package/core/dist/runtime-v2/internalization/textual-basis-anchor.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/textual-basis-anchor.js.map +0 -1
- package/core/dist/runtime-v2/internalization/tool-semantic-baseline.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/tool-semantic-baseline.js.map +0 -1
- package/core/dist/runtime-v2/internalization/tool-semantic-registry.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/tool-semantic-registry.js.map +0 -1
- package/core/dist/runtime-v2/internalization/v2-adversarial-cases.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/v2-adversarial-cases.js.map +0 -1
- package/core/dist/runtime-v2/internalization-chain-integrity-read-model.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization-chain-integrity-read-model.js.map +0 -1
- package/core/dist/runtime-v2/internalization-integrity-remediation.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization-integrity-remediation.js.map +0 -1
- package/core/dist/runtime-v2/internalization-queue-read-model.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization-queue-read-model.js.map +0 -1
- package/core/dist/runtime-v2/intervention-evidence-normalizer.d.ts.map +0 -1
- package/core/dist/runtime-v2/intervention-evidence-normalizer.js.map +0 -1
- package/core/dist/runtime-v2/l1-hard-cap.d.ts.map +0 -1
- package/core/dist/runtime-v2/l1-hard-cap.js.map +0 -1
- package/core/dist/runtime-v2/language-directive.d.ts.map +0 -1
- package/core/dist/runtime-v2/language-directive.js.map +0 -1
- package/core/dist/runtime-v2/learning-lab/actor-action-output.d.ts.map +0 -1
- package/core/dist/runtime-v2/learning-lab/actor-action-output.js.map +0 -1
- package/core/dist/runtime-v2/mainline-contract.d.ts.map +0 -1
- package/core/dist/runtime-v2/mainline-contract.js.map +0 -1
- package/core/dist/runtime-v2/observer/agent-scheduler.d.ts.map +0 -1
- package/core/dist/runtime-v2/observer/agent-scheduler.js.map +0 -1
- package/core/dist/runtime-v2/observer/correction-observer.d.ts.map +0 -1
- package/core/dist/runtime-v2/observer/correction-observer.js.map +0 -1
- package/core/dist/runtime-v2/operator-health-read-model.d.ts.map +0 -1
- package/core/dist/runtime-v2/operator-health-read-model.js +0 -135
- package/core/dist/runtime-v2/operator-health-read-model.js.map +0 -1
- package/core/dist/runtime-v2/owner-decision/owner-decision-view-contract.d.ts.map +0 -1
- package/core/dist/runtime-v2/owner-decision/owner-decision-view-contract.js.map +0 -1
- package/core/dist/runtime-v2/owner-decision/owner-decision-view.d.ts.map +0 -1
- package/core/dist/runtime-v2/owner-decision/owner-decision-view.js.map +0 -1
- package/core/dist/runtime-v2/owner-decision/semantic-selector.d.ts.map +0 -1
- package/core/dist/runtime-v2/owner-decision/semantic-selector.js.map +0 -1
- package/core/dist/runtime-v2/owner-identity.d.ts.map +0 -1
- package/core/dist/runtime-v2/owner-identity.js.map +0 -1
- package/core/dist/runtime-v2/pain-chain-read-model.d.ts.map +0 -1
- package/core/dist/runtime-v2/pain-chain-read-model.js +0 -327
- package/core/dist/runtime-v2/pain-chain-read-model.js.map +0 -1
- package/core/dist/runtime-v2/pain-flood-simulation.d.ts.map +0 -1
- package/core/dist/runtime-v2/pain-flood-simulation.js +0 -152
- package/core/dist/runtime-v2/pain-flood-simulation.js.map +0 -1
- package/core/dist/runtime-v2/pain-ingress-payload.d.ts.map +0 -1
- package/core/dist/runtime-v2/pain-ingress-payload.js.map +0 -1
- package/core/dist/runtime-v2/pain-ingress.d.ts.map +0 -1
- package/core/dist/runtime-v2/pain-ingress.js.map +0 -1
- package/core/dist/runtime-v2/pain-recall-capability.d.ts.map +0 -1
- package/core/dist/runtime-v2/pain-recall-capability.js.map +0 -1
- package/core/dist/runtime-v2/pain-recall-read-model.d.ts.map +0 -1
- package/core/dist/runtime-v2/pain-recall-read-model.js.map +0 -1
- package/core/dist/runtime-v2/pain-recall-snapshot-hooks.d.ts.map +0 -1
- package/core/dist/runtime-v2/pain-recall-snapshot-hooks.js.map +0 -1
- package/core/dist/runtime-v2/pain-signal-bridge.d.ts +0 -389
- package/core/dist/runtime-v2/pain-signal-bridge.d.ts.map +0 -1
- package/core/dist/runtime-v2/pain-signal-bridge.js +0 -1460
- package/core/dist/runtime-v2/pain-signal-bridge.js.map +0 -1
- package/core/dist/runtime-v2/pain-signal-observability.d.ts +0 -36
- package/core/dist/runtime-v2/pain-signal-observability.d.ts.map +0 -1
- package/core/dist/runtime-v2/pain-signal-observability.js.map +0 -1
- package/core/dist/runtime-v2/pain-signal-runtime-factory.d.ts +0 -254
- package/core/dist/runtime-v2/pain-signal-runtime-factory.d.ts.map +0 -1
- package/core/dist/runtime-v2/pain-signal-runtime-factory.js +0 -780
- package/core/dist/runtime-v2/pain-signal-runtime-factory.js.map +0 -1
- package/core/dist/runtime-v2/pain-to-principle-service.d.ts.map +0 -1
- package/core/dist/runtime-v2/pain-to-principle-service.js.map +0 -1
- package/core/dist/runtime-v2/principle-reuse/reuse-domain.d.ts +0 -89
- package/core/dist/runtime-v2/principle-reuse/reuse-domain.d.ts.map +0 -1
- package/core/dist/runtime-v2/principle-reuse/reuse-domain.js +0 -16
- package/core/dist/runtime-v2/principle-reuse/reuse-domain.js.map +0 -1
- package/core/dist/runtime-v2/principle-reuse/reuse-evaluation-output.d.ts.map +0 -1
- package/core/dist/runtime-v2/principle-reuse/reuse-evaluation-output.js.map +0 -1
- package/core/dist/runtime-v2/principle-reuse/reuse-evaluation-runner.d.ts.map +0 -1
- package/core/dist/runtime-v2/principle-reuse/reuse-evaluation-runner.js.map +0 -1
- package/core/dist/runtime-v2/principle-reuse/reuse-proposal.d.ts.map +0 -1
- package/core/dist/runtime-v2/principle-reuse/reuse-proposal.js.map +0 -1
- package/core/dist/runtime-v2/principle-reuse/reuse-retrieval.d.ts.map +0 -1
- package/core/dist/runtime-v2/principle-reuse/reuse-retrieval.js.map +0 -1
- package/core/dist/runtime-v2/principle-reuse/reuse-shortlist.d.ts.map +0 -1
- package/core/dist/runtime-v2/principle-reuse/reuse-shortlist.js.map +0 -1
- package/core/dist/runtime-v2/principle-tree/ledger-codec.d.ts.map +0 -1
- package/core/dist/runtime-v2/principle-tree/ledger-codec.js.map +0 -1
- package/core/dist/runtime-v2/principle-tree/rule-candidate-binding.d.ts.map +0 -1
- package/core/dist/runtime-v2/principle-tree/rule-candidate-binding.js.map +0 -1
- package/core/dist/runtime-v2/product-telemetry/daily-identity.d.ts.map +0 -1
- package/core/dist/runtime-v2/product-telemetry/daily-identity.js.map +0 -1
- package/core/dist/runtime-v2/product-telemetry/snapshot-contract.d.ts.map +0 -1
- package/core/dist/runtime-v2/product-telemetry/snapshot-contract.js.map +0 -1
- package/core/dist/runtime-v2/proven-channel-baseline.d.ts.map +0 -1
- package/core/dist/runtime-v2/proven-channel-baseline.js +0 -547
- package/core/dist/runtime-v2/proven-channel-baseline.js.map +0 -1
- package/core/dist/runtime-v2/pruning-read-model.d.ts.map +0 -1
- package/core/dist/runtime-v2/pruning-read-model.js.map +0 -1
- package/core/dist/runtime-v2/receipt-coverage.d.ts.map +0 -1
- package/core/dist/runtime-v2/receipt-coverage.js.map +0 -1
- package/core/dist/runtime-v2/recovery-actions-log.d.ts.map +0 -1
- package/core/dist/runtime-v2/recovery-actions-log.js.map +0 -1
- package/core/dist/runtime-v2/recovery-sweep-service.d.ts.map +0 -1
- package/core/dist/runtime-v2/recovery-sweep-service.js.map +0 -1
- package/core/dist/runtime-v2/remediation-contract.d.ts.map +0 -1
- package/core/dist/runtime-v2/remediation-contract.js.map +0 -1
- package/core/dist/runtime-v2/risk/index.d.ts.map +0 -1
- package/core/dist/runtime-v2/risk/index.js.map +0 -1
- package/core/dist/runtime-v2/risk/risk-calculator-policy.d.ts.map +0 -1
- package/core/dist/runtime-v2/risk/risk-calculator-policy.js.map +0 -1
- package/core/dist/runtime-v2/runner/base-peer-runner.d.ts.map +0 -1
- package/core/dist/runtime-v2/runner/base-peer-runner.js.map +0 -1
- package/core/dist/runtime-v2/runner/default-validator.d.ts.map +0 -1
- package/core/dist/runtime-v2/runner/default-validator.js.map +0 -1
- package/core/dist/runtime-v2/runner/diagnostician-validator.d.ts.map +0 -1
- package/core/dist/runtime-v2/runner/diagnostician-validator.js.map +0 -1
- package/core/dist/runtime-v2/runner/peer-runner-types.d.ts.map +0 -1
- package/core/dist/runtime-v2/runner/peer-runner-types.js.map +0 -1
- package/core/dist/runtime-v2/runner/runner-phase.d.ts.map +0 -1
- package/core/dist/runtime-v2/runner/runner-phase.js.map +0 -1
- package/core/dist/runtime-v2/runner/runner-result.d.ts.map +0 -1
- package/core/dist/runtime-v2/runner/runner-result.js.map +0 -1
- package/core/dist/runtime-v2/runtime-protocol.d.ts.map +0 -1
- package/core/dist/runtime-v2/runtime-protocol.js.map +0 -1
- package/core/dist/runtime-v2/runtime-state-handle.d.ts.map +0 -1
- package/core/dist/runtime-v2/runtime-state-handle.js.map +0 -1
- package/core/dist/runtime-v2/schema-conformance-read-model.d.ts.map +0 -1
- package/core/dist/runtime-v2/schema-conformance-read-model.js.map +0 -1
- package/core/dist/runtime-v2/schema-version.d.ts +0 -20
- package/core/dist/runtime-v2/schema-version.d.ts.map +0 -1
- package/core/dist/runtime-v2/schema-version.js +0 -20
- package/core/dist/runtime-v2/schema-version.js.map +0 -1
- package/core/dist/runtime-v2/signal-collector/confidence-gate.d.ts.map +0 -1
- package/core/dist/runtime-v2/signal-collector/confidence-gate.js.map +0 -1
- package/core/dist/runtime-v2/signal-collector/index.d.ts.map +0 -1
- package/core/dist/runtime-v2/signal-collector/index.js.map +0 -1
- package/core/dist/runtime-v2/signal-collector/keyword-stage.d.ts.map +0 -1
- package/core/dist/runtime-v2/signal-collector/keyword-stage.js.map +0 -1
- package/core/dist/runtime-v2/signal-collector/llm-stage.d.ts.map +0 -1
- package/core/dist/runtime-v2/signal-collector/llm-stage.js.map +0 -1
- package/core/dist/runtime-v2/signal-collector/signal-collector.d.ts.map +0 -1
- package/core/dist/runtime-v2/signal-collector/signal-collector.js.map +0 -1
- package/core/dist/runtime-v2/signal-collector/types.d.ts.map +0 -1
- package/core/dist/runtime-v2/signal-collector/types.js.map +0 -1
- package/core/dist/runtime-v2/stalled-diagnostician-task-read-model.d.ts.map +0 -1
- package/core/dist/runtime-v2/stalled-diagnostician-task-read-model.js.map +0 -1
- package/core/dist/runtime-v2/store/artifact/artifact-store.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/artifact/artifact-store.js.map +0 -1
- package/core/dist/runtime-v2/store/artifact/index.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/artifact/index.js.map +0 -1
- package/core/dist/runtime-v2/store/artifact/memory-artifact-store.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/artifact/memory-artifact-store.js.map +0 -1
- package/core/dist/runtime-v2/store/artifact/sqlite-artifact-store.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/artifact/sqlite-artifact-store.js.map +0 -1
- package/core/dist/runtime-v2/store/artifact/sqlite-pi-artifact-store.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/artifact/sqlite-pi-artifact-store.js.map +0 -1
- package/core/dist/runtime-v2/store/candidate/admission-document.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/candidate/admission-document.js.map +0 -1
- package/core/dist/runtime-v2/store/candidate/candidate-store.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/candidate/candidate-store.js.map +0 -1
- package/core/dist/runtime-v2/store/candidate/index.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/candidate/index.js.map +0 -1
- package/core/dist/runtime-v2/store/candidate/memory-candidate-store.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/candidate/memory-candidate-store.js.map +0 -1
- package/core/dist/runtime-v2/store/candidate/recommendation-kind-resolver.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/candidate/recommendation-kind-resolver.js.map +0 -1
- package/core/dist/runtime-v2/store/candidate/sqlite-candidate-store.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/candidate/sqlite-candidate-store.js.map +0 -1
- package/core/dist/runtime-v2/store/commit/commit-store.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/commit/commit-store.js.map +0 -1
- package/core/dist/runtime-v2/store/commit/diagnostician-committer.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/commit/diagnostician-committer.js.map +0 -1
- package/core/dist/runtime-v2/store/commit/index.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/commit/index.js.map +0 -1
- package/core/dist/runtime-v2/store/commit/memory-commit-store.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/commit/memory-commit-store.js.map +0 -1
- package/core/dist/runtime-v2/store/commit/sqlite-commit-store.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/commit/sqlite-commit-store.js.map +0 -1
- package/core/dist/runtime-v2/store/context/context-assembler.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/context/context-assembler.js.map +0 -1
- package/core/dist/runtime-v2/store/context/index.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/context/index.js.map +0 -1
- package/core/dist/runtime-v2/store/context/resilient-context-assembler.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/context/resilient-context-assembler.js.map +0 -1
- package/core/dist/runtime-v2/store/context/sqlite-context-assembler.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/context/sqlite-context-assembler.js.map +0 -1
- package/core/dist/runtime-v2/store/context/trajectory-turn-reader.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/context/trajectory-turn-reader.js.map +0 -1
- package/core/dist/runtime-v2/store/design-gate/sqlite-design-gate-store.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/design-gate/sqlite-design-gate-store.js.map +0 -1
- package/core/dist/runtime-v2/store/event-emitter.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/event-emitter.js.map +0 -1
- package/core/dist/runtime-v2/store/history/history-query.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/history/history-query.js.map +0 -1
- package/core/dist/runtime-v2/store/history/index.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/history/index.js.map +0 -1
- package/core/dist/runtime-v2/store/history/resilient-history-query.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/history/resilient-history-query.js.map +0 -1
- package/core/dist/runtime-v2/store/history/sqlite-history-query.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/history/sqlite-history-query.js.map +0 -1
- package/core/dist/runtime-v2/store/intent/index.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/intent/index.js.map +0 -1
- package/core/dist/runtime-v2/store/intent/sqlite-intent-decision-store.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/intent/sqlite-intent-decision-store.js.map +0 -1
- package/core/dist/runtime-v2/store/intent/sqlite-intent-doc-version-store.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/intent/sqlite-intent-doc-version-store.js.map +0 -1
- package/core/dist/runtime-v2/store/intervention-evidence-schema.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/intervention-evidence-schema.js.map +0 -1
- package/core/dist/runtime-v2/store/lifecycle/index.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/lifecycle/index.js.map +0 -1
- package/core/dist/runtime-v2/store/lifecycle/lease-manager.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/lifecycle/lease-manager.js.map +0 -1
- package/core/dist/runtime-v2/store/lifecycle/recovery-sweep.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/lifecycle/recovery-sweep.js.map +0 -1
- package/core/dist/runtime-v2/store/lifecycle/retry-policy.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/lifecycle/retry-policy.js.map +0 -1
- package/core/dist/runtime-v2/store/pain/index.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/pain/index.js.map +0 -1
- package/core/dist/runtime-v2/store/pain/sqlite-dead-letter-store.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/pain/sqlite-dead-letter-store.js.map +0 -1
- package/core/dist/runtime-v2/store/pain-diagnosis/pain-diagnosis-store.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/pain-diagnosis/pain-diagnosis-store.js.map +0 -1
- package/core/dist/runtime-v2/store/pain-diagnosis/sqlite-pain-diagnosis-store.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/pain-diagnosis/sqlite-pain-diagnosis-store.js.map +0 -1
- package/core/dist/runtime-v2/store/reconciliation-cursor-store.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/reconciliation-cursor-store.js.map +0 -1
- package/core/dist/runtime-v2/store/run/index.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/run/index.js.map +0 -1
- package/core/dist/runtime-v2/store/run/memory-run-store.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/run/memory-run-store.js.map +0 -1
- package/core/dist/runtime-v2/store/run/run-store.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/run/run-store.js.map +0 -1
- package/core/dist/runtime-v2/store/run/sqlite-run-store.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/run/sqlite-run-store.js.map +0 -1
- package/core/dist/runtime-v2/store/runtime-state-manager.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/runtime-state-manager.js.map +0 -1
- package/core/dist/runtime-v2/store/sqlite-connection.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/sqlite-connection.js.map +0 -1
- package/core/dist/runtime-v2/store/sqlite-intervention-evidence-store.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/sqlite-intervention-evidence-store.js.map +0 -1
- package/core/dist/runtime-v2/store/task/index.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/task/index.js.map +0 -1
- package/core/dist/runtime-v2/store/task/memory-task-store.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/task/memory-task-store.js.map +0 -1
- package/core/dist/runtime-v2/store/task/sqlite-approved-rule-revision.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/task/sqlite-approved-rule-revision.js.map +0 -1
- package/core/dist/runtime-v2/store/task/sqlite-family-reopen.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/task/sqlite-family-reopen.js.map +0 -1
- package/core/dist/runtime-v2/store/task/sqlite-task-store.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/task/sqlite-task-store.js.map +0 -1
- package/core/dist/runtime-v2/store/task/task-store.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/task/task-store.js.map +0 -1
- package/core/dist/runtime-v2/store/task/task-types.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/task/task-types.js.map +0 -1
- package/core/dist/runtime-v2/store/trajectory/index.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/trajectory/index.js.map +0 -1
- package/core/dist/runtime-v2/store/trajectory/source-trace-locator.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/trajectory/source-trace-locator.js.map +0 -1
- package/core/dist/runtime-v2/store/trajectory/sqlite-source-trace-locator.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/trajectory/sqlite-source-trace-locator.js.map +0 -1
- package/core/dist/runtime-v2/store/trajectory/sqlite-trajectory-locator.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/trajectory/sqlite-trajectory-locator.js.map +0 -1
- package/core/dist/runtime-v2/store/trajectory/trajectory-locator.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/trajectory/trajectory-locator.js.map +0 -1
- package/core/dist/runtime-v2/store/workspace-leak-guard.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/workspace-leak-guard.js.map +0 -1
- package/core/dist/runtime-v2/story-a-demo.d.ts +0 -77
- package/core/dist/runtime-v2/story-a-demo.d.ts.map +0 -1
- package/core/dist/runtime-v2/story-a-demo.js.map +0 -1
- package/core/dist/runtime-v2/synthetic-baseline.d.ts.map +0 -1
- package/core/dist/runtime-v2/synthetic-baseline.js +0 -116
- package/core/dist/runtime-v2/synthetic-baseline.js.map +0 -1
- package/core/dist/runtime-v2/system-prompt-merge.d.ts.map +0 -1
- package/core/dist/runtime-v2/system-prompt-merge.js.map +0 -1
- package/core/dist/runtime-v2/task-status.d.ts.map +0 -1
- package/core/dist/runtime-v2/task-status.js.map +0 -1
- package/core/dist/runtime-v2/tools/agent-tool-contract.d.ts.map +0 -1
- package/core/dist/runtime-v2/tools/agent-tool-contract.js.map +0 -1
- package/core/dist/runtime-v2/tools/artificer-l2-tool-contract.d.ts.map +0 -1
- package/core/dist/runtime-v2/tools/artificer-l2-tool-contract.js.map +0 -1
- package/core/dist/runtime-v2/tools/artificer-output-typebox.d.ts.map +0 -1
- package/core/dist/runtime-v2/tools/artificer-output-typebox.js.map +0 -1
- package/core/dist/runtime-v2/tools/dreamer-output-typebox.d.ts.map +0 -1
- package/core/dist/runtime-v2/tools/dreamer-output-typebox.js.map +0 -1
- package/core/dist/runtime-v2/trajectory-schema.d.ts.map +0 -1
- package/core/dist/runtime-v2/trajectory-schema.js.map +0 -1
- package/core/dist/runtime-v2/types/artifact-lineage.d.ts.map +0 -1
- package/core/dist/runtime-v2/types/artifact-lineage.js.map +0 -1
- package/core/dist/runtime-v2/types/event-payload.d.ts.map +0 -1
- package/core/dist/runtime-v2/types/event-payload.js.map +0 -1
- package/core/dist/runtime-v2/types/event-types.d.ts +0 -940
- package/core/dist/runtime-v2/types/event-types.d.ts.map +0 -1
- package/core/dist/runtime-v2/types/event-types.js +0 -520
- package/core/dist/runtime-v2/types/event-types.js.map +0 -1
- package/core/dist/runtime-v2/types/evidence-chain-contract.d.ts +0 -282
- package/core/dist/runtime-v2/types/evidence-chain-contract.d.ts.map +0 -1
- package/core/dist/runtime-v2/types/evidence-chain-contract.js +0 -1301
- package/core/dist/runtime-v2/types/evidence-chain-contract.js.map +0 -1
- package/core/dist/runtime-v2/types/hygiene-types.d.ts.map +0 -1
- package/core/dist/runtime-v2/types/hygiene-types.js.map +0 -1
- package/core/dist/runtime-v2/types/index.d.ts +0 -32
- package/core/dist/runtime-v2/types/index.d.ts.map +0 -1
- package/core/dist/runtime-v2/types/index.js +0 -21
- package/core/dist/runtime-v2/types/index.js.map +0 -1
- package/core/dist/runtime-v2/types/intervention-evidence-contract.d.ts.map +0 -1
- package/core/dist/runtime-v2/types/intervention-evidence-contract.js.map +0 -1
- package/core/dist/runtime-v2/types/ledger-store.d.ts.map +0 -1
- package/core/dist/runtime-v2/types/ledger-store.js.map +0 -1
- package/core/dist/runtime-v2/types/pain-signal.d.ts.map +0 -1
- package/core/dist/runtime-v2/types/pain-signal.js.map +0 -1
- package/core/dist/runtime-v2/types/pd-task-types.d.ts.map +0 -1
- package/core/dist/runtime-v2/types/pd-task-types.js.map +0 -1
- package/core/dist/runtime-v2/types/principle-dependency.d.ts.map +0 -1
- package/core/dist/runtime-v2/types/principle-dependency.js.map +0 -1
- package/core/dist/runtime-v2/types/principle-enums.d.ts.map +0 -1
- package/core/dist/runtime-v2/types/principle-enums.js.map +0 -1
- package/core/dist/runtime-v2/types/principle-lifecycle-event.d.ts.map +0 -1
- package/core/dist/runtime-v2/types/principle-lifecycle-event.js.map +0 -1
- package/core/dist/runtime-v2/types/principle-schema.d.ts.map +0 -1
- package/core/dist/runtime-v2/types/principle-schema.js.map +0 -1
- package/core/dist/runtime-v2/types/principle-tree-store.d.ts.map +0 -1
- package/core/dist/runtime-v2/types/principle-tree-store.js.map +0 -1
- package/core/dist/runtime-v2/types/principle-value-metrics.d.ts.map +0 -1
- package/core/dist/runtime-v2/types/principle-value-metrics.js.map +0 -1
- package/core/dist/runtime-v2/types/replay-types.d.ts.map +0 -1
- package/core/dist/runtime-v2/types/replay-types.js.map +0 -1
- package/core/dist/runtime-v2/types/rule-candidate-binding.d.ts.map +0 -1
- package/core/dist/runtime-v2/types/rule-candidate-binding.js.map +0 -1
- package/plugin/dist/core/runtime-v2-prompt-activation-reader.d.ts +0 -30
- /package/core/dist/{runtime-v2 → runtime}/activation/activation-control-types.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/activation-control-types.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/activation-dispatcher.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/activation-dispatcher.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/activation-types.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/activation-types.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/adaptive-delivery-record.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/adaptive-delivery-record.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/adaptive-principle-intervention.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/approval-completion-service.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/approval-completion-service.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/approval-queue.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/approval-queue.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/approval-review-guard.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/approval-review-guard.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/ledger-identity.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/ledger-identity.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/low-risk-writers.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/low-risk-writers.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/memory-activation-state-store.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/memory-activation-state-store.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/memory-approval-store.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/memory-approval-store.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/openclaw-promotion-checks.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/openclaw-promotion-checks.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/production-gate-deps.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/production-gate-deps.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/promotion-evidence-snapshot.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/promotion-evidence-snapshot.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/promotion-readiness-evaluator.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/promotion-readiness-evaluator.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/promotion-readiness-reader.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/promotion-readiness-reader.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/prompt-budget-policy.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/prompt-replacement.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/prompt-replacement.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/recovery-composition.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/recovery-composition.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/recovery-control-surfaces.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/recovery-control-surfaces.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/rule-replacement.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/rule-replacement.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/rulecode-owner-decision-service.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/rulecode-owner-decision-service.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/rulecode-safety-circuit-breaker.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/rulecode-safety-circuit-breaker.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/rulecode-shadow-summary.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/rulecode-shadow-summary.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/sqlite-activation-safety-store.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/sqlite-activation-safety-store.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/sqlite-activation-state-store.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/sqlite-activation-state-store.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/sqlite-approval-store.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/sqlite-approval-store.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/writers/index.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/writers/index.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/writers/rule-host-writer.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/writers/rule-host-writer.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation-compatibility-read-model.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation-compatibility-read-model.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/adapter/artificer-l2-adapter.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/adapter/artificer-l2-adapter.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/adapter/index.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/adapter/index.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/adapter/json-extractor.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/adapter/json-extractor.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/adapter/l2-agent-loop-adapter.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/adapter/l2-agent-loop-adapter.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/adapter/output-repair-contract.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/adapter/output-schema-registry.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/adapter/output-schema-registry.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/adapter/pi-ai-catalog.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/adapter/pi-ai-catalog.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/adapter/pi-ai-http-transport.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/adapter/pi-ai-http-transport.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/adapter/pi-ai-runtime-adapter.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/adapter/schema-json-converter.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/adapter/schema-json-converter.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/adapter/schema-prompt-adapter.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/adapter/schema-prompt-adapter.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/adapter/split-pipeline-fixtures.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/adapter/split-pipeline-fixtures.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/adapter/structured-output-repair.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/adapter/test-double-runtime-adapter.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/adapter/test-double-runtime-adapter.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/adapter/tools/diagnostician-tool.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/adapter/tools/diagnostician-tool.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/admission-gate.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/admission-gate.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/adversarial-loop.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/adversarial-loop.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/agent-spec.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/agent-spec.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/bridge-result-shaper.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/bridge-result-shaper.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/build-l2-principle-reader.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/build-l2-principle-reader.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/candidate-audit.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/candidate-audit.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/candidate-intake-service.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/candidate-intake-service.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/candidate-intake.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/candidate-intake.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/cli/diagnose.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/cli/diagnose.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/cli/index.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/cli/index.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/cli/probe.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/cli/probe.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/config/index.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/config/index.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/config/pd-config-agent-binding.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/config/pd-config-agent-binding.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/config/pd-config-defaults.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/config/pd-config-defaults.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/config/pd-config-effective.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/config/pd-config-effective.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/config/pd-config-feature-flags.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/config/pd-config-feature-flags.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/config/pd-config-redaction.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/config/pd-config-types.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/config/pd-config-types.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/config/pd-config-validate.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/config/pd-config-validate.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/config/pd-profile-constants.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/config/pd-profile-constants.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/config/pd-validate-profile.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/config/pd-validate-profile.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/context-payload.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/context-payload.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/control-plane-triage.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/control-plane-triage.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/core-principles/core-axiom-block.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/core-principles/core-axiom-block.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/core-principles/core-principle-registry.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/core-principles/core-principle-registry.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/core-principles/index.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/core-principles/index.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/core-principles/strip-fabricated-ids.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/core-principles/strip-fabricated-ids.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/correction/correction-types.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/correction/correction-types.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/correction/index.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/correction/index.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/detection/detection-funnel-policy.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/detection/detection-funnel-policy.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/detection/index.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/detection/index.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/diagnostician/diag-distiller-output.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/diagnostician/diag-distiller-output.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/diagnostician/diag-rootcause-output.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/diagnostician/diag-rootcause-output.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/diagnostician/distiller-prompt-builder.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/diagnostician/distiller-prompt-builder.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/diagnostician/evidence-ref-binding.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/diagnostician/evidence-ref-binding.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/diagnostician/rootcause-prompt-builder.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/diagnostician/rootcause-prompt-builder.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/diagnostician/router-prompt-builder.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/diagnostician/router-prompt-builder.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/diagnostician-association-shadow.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/diagnostician-association-shadow.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/diagnostician-association-validation.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/diagnostician-association-validation.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/diagnostician-capability.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/diagnostician-capability.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/diagnostician-output.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/diagnostician-output.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/diagnostician-prompt-builder.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/diagnostician-prompt-builder.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/evidence-guards.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/evidence-guards.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/evidence-sanitizer.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/evidence-sanitizer.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/evidence-triage/index.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/evidence-triage/index.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/evidence-triage/observation-resolver.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/evidence-triage/observation-resolver.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/evidence-triage/source-descriptors.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/evidence-triage/source-descriptors.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/evidence-triage/triage-policy.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/evidence-triage/triage-policy.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/evidence-triage/trigger-controller.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/evidence-triage/trigger-controller.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/evidence-triage/types.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/evidence-triage/types.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/evolution/evolution-types.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/evolution/evolution-types.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/feature-flags/feature-flag-contract.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/feature-flags/feature-flag-contract.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/feature-flags/feature-flag-lifecycle.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/feature-flags/index.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/feature-flags/index.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/feature-flags/plugin-surface-registry.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/feature-flags/plugin-surface-registry.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/feature-flags/surface-guard-policy.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/feature-flags/surface-guard-policy.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/feedback/create-report.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/feedback/create-report.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/feedback/feedback-types.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/feedback/feedback-types.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/feedback/fingerprint.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/feedback/fingerprint.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/feedback/index.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/feedback/internal-guards.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/feedback/internal-guards.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/feedback/pending-agent-draft-store.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/feedback/pending-agent-draft-store.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/feedback/privacy-preview.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/feedback/privacy-preview.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/feedback/redact-sensitive.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/feedback/render-github-url.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/feedback/render-github-url.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/feedback/render-markdown.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/feedback/render-markdown.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/feedback/safe-stringify.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/feedback/safe-stringify.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/full-trace-contract.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/golden-trace-replay-validator.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/golden-trace-replay-validator.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/golden-trace.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/golden-trace.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/governance-experience-contract.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/governance-experience-contract.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/governance-experience.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/governance-experience.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/governance-projection-contract.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/governance-projection-contract.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/governance-projection.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/governance-projection.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/governance-timestamp-schema.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/governance-timestamp-schema.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/intent/index.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/intent/index.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/intent/intent-doc-reader-port.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/intent/intent-doc-reader-port.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/intent/intent-doc-version.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/intent/intent-doc-version.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/intent/intent-doc.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/intent/intent-doc.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/intent/intent-friction-block.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/intent/intent-friction-block.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/intent/intent-hash.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/intent/intent-hash.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/intent/intent-patch-proposal.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/intent/intent-patch-proposal.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/adversarial-case.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/adversarial-case.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/adversarial-feedback.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/adversarial-feedback.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/approved-rule-revision.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/approved-rule-revision.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/artifact-content-hash.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/artifact-content-hash.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/artifact-summary.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/artifact-summary.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/artificer-code-bearing.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/artificer-code-bearing.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/artificer-intent-preflight.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/artificer-intent-preflight.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/artificer-output.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/artificer-output.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/artificer-prompt-builder.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/artificer-prompt-builder.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/artificer-run-correlation.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/artificer-run-correlation.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/artificer-runner.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/artificer-runner.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/bash-risk.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/candidate-identity.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/candidate-identity.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/compile-result.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/compile-result.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/consumer-evidence-preflight.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/consumer-evidence-preflight.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/correction-proposal.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/deprecated-readiness.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/deprecated-readiness.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/design-gate-facts.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/design-gate-facts.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/diag-distiller-runner.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/diag-distiller-runner.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/diag-rootcause-runner.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/diag-rootcause-runner.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/diag-router-runner.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/diag-router-runner.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/dreamer-output.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/dreamer-output.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/dreamer-prompt-builder.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/dreamer-prompt-builder.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/dreamer-runner.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/dreamer-runner.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/evaluator-output.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/evaluator-output.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/evaluator-prompt-builder.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/evaluator-prompt-builder.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/evaluator-runner.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/evaluator-runner.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/evidence-readiness.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/evidence-readiness.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/formation-context.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/formation-context.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/golden-dogfood-fixtures.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/golden-dogfood-fixtures.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/index.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/index.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/intake-to-internalization-bridge.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/intake-to-internalization-bridge.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/intent-contract.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/intent-contract.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/internalization-consumer-decision.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/internalization-consumer-decision.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/internalization-job-graph.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/internalization-job-graph.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/internalization-orchestrator.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/internalization-orchestrator.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/internalization-route.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/internalization-route.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/internalization-state-machine.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/internalization-state-machine.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/internalization-task-guards.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/internalization-task-guards.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/internalization-transition-decision.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/internalization-transition-decision.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/legacy-rule-contract-scanner.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/legacy-rule-contract-scanner.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/lifecycle-datasource.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/lifecycle-datasource.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/lifecycle-metrics.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/lifecycle-metrics.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/lifecycle-read-model.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/lifecycle-read-model.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/lifecycle-types.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/lifecycle-types.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/owner-decision-review.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/owner-decision-review.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/owner-evidence-recovery.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/owner-evidence-recovery.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/owner-resolution-service.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/owner-resolution-service.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/owner-retry.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/owner-retry.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/owner-review.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/owner-review.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/peer-runner-contracts.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/peer-runner-contracts.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/philosopher-output.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/philosopher-output.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/philosopher-prompt-builder.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/philosopher-prompt-builder.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/philosopher-runner.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/philosopher-runner.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/pi-artifact-store.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/pi-artifact-store.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/pi-artifact.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/pi-artifact.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/pitask-metadata.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/prompt-serializer.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/prompt-serializer.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/queue-actionability.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/queue-actionability.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/refiner-rulehost-gate.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/refiner-rulehost-gate.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/refiner-sandbox-wrapper.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/refiner-sandbox-wrapper.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/repair-replay-resolver.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/repair-replay-resolver.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/revision-reopen.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/revision-reopen.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/rollout-reviewer-output.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/rollout-reviewer-output.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/rollout-reviewer-prompt-builder.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/rollout-reviewer-prompt-builder.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/rollout-reviewer-runner.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/rollout-reviewer-runner.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/router-context-evidence.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/router-context-evidence.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/routing-policy.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/routing-policy.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/rule-activation-contract.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/rule-activation-contract.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/rule-binding-revision.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/rule-binding-revision.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/rule-code-validator.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/rule-code-validator.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/rule-host-adapter.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/rule-host-adapter.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/rule-host-contracts.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/rule-host-contracts.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/rule-host-evaluator.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/rule-host-evaluator.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/rule-host-helpers.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/rule-host-helpers.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/rule-host-input-builder.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/rule-host-input-builder.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/rule-host-validator.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/rule-host-validator.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/rule-reliability-validation.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/rule-reliability-validation.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/rule-source-correction.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/rule-source-correction.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/rulecode-verification-obligations.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/rulecode-verification-obligations.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/scribe-output.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/scribe-output.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/scribe-prompt-builder.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/scribe-prompt-builder.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/scribe-runner.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/scribe-runner.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/split-diagnostician-runner.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/split-diagnostician-runner.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/template-generator.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/template-generator.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/textual-basis-anchor.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/textual-basis-anchor.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/tool-semantic-baseline.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/tool-semantic-baseline.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/tool-semantic-registry.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/tool-semantic-registry.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/v2-adversarial-cases.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/v2-adversarial-cases.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization-chain-integrity-read-model.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization-chain-integrity-read-model.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization-integrity-remediation.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization-integrity-remediation.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization-queue-read-model.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization-queue-read-model.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/intervention-evidence-normalizer.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/intervention-evidence-normalizer.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/l1-hard-cap.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/l1-hard-cap.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/language-directive.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/language-directive.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/learning-lab/actor-action-output.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/learning-lab/actor-action-output.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/mainline-contract.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/mainline-contract.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/observer/agent-scheduler.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/observer/agent-scheduler.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/observer/correction-observer.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/observer/correction-observer.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/operator-health-read-model.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/owner-decision/owner-decision-view-contract.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/owner-decision/owner-decision-view-contract.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/owner-decision/owner-decision-view.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/owner-decision/owner-decision-view.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/owner-decision/semantic-selector.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/owner-decision/semantic-selector.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/owner-identity.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/owner-identity.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/pain-chain-read-model.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/pain-flood-simulation.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/pain-ingress-payload.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/pain-ingress-payload.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/pain-ingress.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/pain-ingress.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/pain-recall-capability.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/pain-recall-capability.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/pain-recall-read-model.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/pain-recall-read-model.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/pain-recall-snapshot-hooks.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/pain-recall-snapshot-hooks.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/pain-signal-observability.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/pain-to-principle-service.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/pain-to-principle-service.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/principle-reuse/reuse-evaluation-output.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/principle-reuse/reuse-evaluation-output.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/principle-reuse/reuse-evaluation-runner.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/principle-reuse/reuse-evaluation-runner.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/principle-reuse/reuse-proposal.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/principle-reuse/reuse-proposal.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/principle-reuse/reuse-retrieval.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/principle-reuse/reuse-retrieval.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/principle-reuse/reuse-shortlist.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/principle-reuse/reuse-shortlist.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/principle-tree/ledger-codec.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/principle-tree/ledger-codec.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/principle-tree/rule-candidate-binding.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/principle-tree/rule-candidate-binding.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/product-telemetry/daily-identity.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/product-telemetry/daily-identity.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/product-telemetry/snapshot-contract.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/product-telemetry/snapshot-contract.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/proven-channel-baseline.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/pruning-read-model.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/pruning-read-model.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/receipt-coverage.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/receipt-coverage.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/recovery-actions-log.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/recovery-actions-log.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/recovery-sweep-service.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/recovery-sweep-service.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/remediation-contract.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/remediation-contract.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/risk/index.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/risk/index.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/risk/risk-calculator-policy.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/risk/risk-calculator-policy.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/runner/base-peer-runner.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/runner/base-peer-runner.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/runner/default-validator.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/runner/default-validator.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/runner/diagnostician-validator.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/runner/diagnostician-validator.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/runner/peer-runner-types.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/runner/peer-runner-types.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/runner/runner-phase.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/runner/runner-phase.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/runner/runner-result.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/runner/runner-result.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/runtime-protocol.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/runtime-protocol.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/runtime-state-handle.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/runtime-state-handle.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/schema-conformance-read-model.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/schema-conformance-read-model.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/signal-collector/confidence-gate.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/signal-collector/confidence-gate.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/signal-collector/index.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/signal-collector/index.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/signal-collector/keyword-stage.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/signal-collector/keyword-stage.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/signal-collector/llm-stage.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/signal-collector/llm-stage.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/signal-collector/signal-collector.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/signal-collector/signal-collector.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/signal-collector/types.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/signal-collector/types.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/stalled-diagnostician-task-read-model.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/stalled-diagnostician-task-read-model.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/artifact/artifact-store.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/artifact/artifact-store.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/artifact/index.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/artifact/index.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/artifact/memory-artifact-store.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/artifact/memory-artifact-store.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/artifact/sqlite-artifact-store.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/artifact/sqlite-artifact-store.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/artifact/sqlite-pi-artifact-store.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/artifact/sqlite-pi-artifact-store.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/candidate/admission-document.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/candidate/admission-document.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/candidate/candidate-store.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/candidate/candidate-store.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/candidate/index.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/candidate/index.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/candidate/memory-candidate-store.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/candidate/memory-candidate-store.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/candidate/recommendation-kind-resolver.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/candidate/recommendation-kind-resolver.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/candidate/sqlite-candidate-store.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/candidate/sqlite-candidate-store.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/commit/commit-store.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/commit/commit-store.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/commit/diagnostician-committer.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/commit/diagnostician-committer.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/commit/index.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/commit/index.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/commit/memory-commit-store.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/commit/memory-commit-store.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/commit/sqlite-commit-store.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/commit/sqlite-commit-store.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/context/context-assembler.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/context/context-assembler.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/context/index.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/context/index.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/context/resilient-context-assembler.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/context/resilient-context-assembler.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/context/sqlite-context-assembler.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/context/sqlite-context-assembler.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/context/trajectory-turn-reader.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/context/trajectory-turn-reader.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/design-gate/sqlite-design-gate-store.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/design-gate/sqlite-design-gate-store.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/event-emitter.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/event-emitter.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/history/history-query.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/history/history-query.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/history/index.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/history/index.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/history/resilient-history-query.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/history/resilient-history-query.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/history/sqlite-history-query.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/history/sqlite-history-query.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/intent/index.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/intent/index.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/intent/sqlite-intent-decision-store.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/intent/sqlite-intent-decision-store.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/intent/sqlite-intent-doc-version-store.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/intent/sqlite-intent-doc-version-store.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/intervention-evidence-schema.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/intervention-evidence-schema.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/lifecycle/index.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/lifecycle/index.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/lifecycle/lease-manager.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/lifecycle/lease-manager.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/lifecycle/recovery-sweep.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/lifecycle/recovery-sweep.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/lifecycle/retry-policy.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/lifecycle/retry-policy.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/pain/index.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/pain/index.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/pain/sqlite-dead-letter-store.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/pain/sqlite-dead-letter-store.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/pain-diagnosis/pain-diagnosis-store.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/pain-diagnosis/pain-diagnosis-store.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/pain-diagnosis/sqlite-pain-diagnosis-store.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/pain-diagnosis/sqlite-pain-diagnosis-store.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/reconciliation-cursor-store.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/reconciliation-cursor-store.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/run/index.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/run/index.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/run/memory-run-store.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/run/memory-run-store.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/run/run-store.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/run/run-store.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/run/sqlite-run-store.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/run/sqlite-run-store.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/runtime-state-manager.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/runtime-state-manager.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/sqlite-connection.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/sqlite-connection.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/sqlite-intervention-evidence-store.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/sqlite-intervention-evidence-store.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/task/index.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/task/index.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/task/memory-task-store.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/task/memory-task-store.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/task/sqlite-approved-rule-revision.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/task/sqlite-approved-rule-revision.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/task/sqlite-family-reopen.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/task/sqlite-family-reopen.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/task/sqlite-task-store.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/task/sqlite-task-store.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/task/task-store.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/task/task-store.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/task/task-types.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/task/task-types.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/trajectory/index.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/trajectory/index.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/trajectory/source-trace-locator.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/trajectory/source-trace-locator.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/trajectory/sqlite-source-trace-locator.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/trajectory/sqlite-source-trace-locator.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/trajectory/sqlite-trajectory-locator.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/trajectory/sqlite-trajectory-locator.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/trajectory/trajectory-locator.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/trajectory/trajectory-locator.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/workspace-leak-guard.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/workspace-leak-guard.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/story-a-demo.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/synthetic-baseline.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/system-prompt-merge.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/system-prompt-merge.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/task-status.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/task-status.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/tools/agent-tool-contract.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/tools/agent-tool-contract.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/tools/artificer-l2-tool-contract.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/tools/artificer-l2-tool-contract.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/tools/artificer-output-typebox.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/tools/artificer-output-typebox.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/tools/dreamer-output-typebox.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/tools/dreamer-output-typebox.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/trajectory-schema.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/trajectory-schema.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/types/artifact-lineage.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/types/artifact-lineage.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/types/event-payload.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/types/event-payload.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/types/hygiene-types.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/types/hygiene-types.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/types/intervention-evidence-contract.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/types/intervention-evidence-contract.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/types/ledger-store.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/types/ledger-store.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/types/pain-signal.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/types/pain-signal.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/types/pd-task-types.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/types/pd-task-types.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/types/principle-dependency.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/types/principle-dependency.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/types/principle-enums.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/types/principle-enums.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/types/principle-lifecycle-event.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/types/principle-lifecycle-event.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/types/principle-schema.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/types/principle-schema.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/types/principle-tree-store.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/types/principle-tree-store.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/types/principle-value-metrics.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/types/principle-value-metrics.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/types/replay-types.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/types/replay-types.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/types/rule-candidate-binding.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/types/rule-candidate-binding.js +0 -0
|
@@ -0,0 +1,1301 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EvidenceChainContract — shared core contracts and assembly mapper for
|
|
3
|
+
* the Pain Evidence Chain (PRI-385).
|
|
4
|
+
*
|
|
5
|
+
* This file is purely logical (no fs, db, or network dependencies) and
|
|
6
|
+
* lives inside principles-core to be shared by Console read models,
|
|
7
|
+
* CLI commands, and test fixtures.
|
|
8
|
+
*/
|
|
9
|
+
import { Type } from '@sinclair/typebox';
|
|
10
|
+
import { IntentTensionSchema, } from '../diagnostician/diag-rootcause-output.js';
|
|
11
|
+
export const EvidenceChainStateSchema = Type.Union([
|
|
12
|
+
Type.Literal('recorded-only'),
|
|
13
|
+
Type.Literal('evidence-only'),
|
|
14
|
+
Type.Literal('diagnosis-queued'),
|
|
15
|
+
Type.Literal('diagnosis-running'),
|
|
16
|
+
Type.Literal('diagnosis-succeeded'),
|
|
17
|
+
Type.Literal('diagnosis-failed'),
|
|
18
|
+
Type.Literal('diagnosis-retry-wait'),
|
|
19
|
+
Type.Literal('candidate-generated'),
|
|
20
|
+
Type.Literal('internalization-missing'),
|
|
21
|
+
Type.Literal('internalization-pending'),
|
|
22
|
+
Type.Literal('internalization-running'),
|
|
23
|
+
Type.Literal('internalization-failed'),
|
|
24
|
+
Type.Literal('internalization-succeeded'),
|
|
25
|
+
Type.Literal('owner-reviewable'),
|
|
26
|
+
Type.Literal('malformed'),
|
|
27
|
+
Type.Literal('degraded'),
|
|
28
|
+
]);
|
|
29
|
+
export const EvidenceChainRecordSchema = Type.Object({
|
|
30
|
+
id: Type.String(),
|
|
31
|
+
sourceKind: Type.String(),
|
|
32
|
+
observedAt: Type.String(),
|
|
33
|
+
state: EvidenceChainStateSchema,
|
|
34
|
+
summary: Type.String(),
|
|
35
|
+
admissionDecision: Type.Optional(Type.String()),
|
|
36
|
+
linkedPainId: Type.Optional(Type.String()),
|
|
37
|
+
linkedTaskId: Type.Optional(Type.String()),
|
|
38
|
+
linkedTaskStatus: Type.Optional(Type.String()),
|
|
39
|
+
linkedCandidateId: Type.Optional(Type.String()),
|
|
40
|
+
linkedPrincipleId: Type.Optional(Type.String()),
|
|
41
|
+
failureReason: Type.Optional(Type.String()),
|
|
42
|
+
degradedReason: Type.Optional(Type.String()),
|
|
43
|
+
nextAction: Type.Optional(Type.String()),
|
|
44
|
+
candidateTitle: Type.Optional(Type.String()),
|
|
45
|
+
candidateSummary: Type.Optional(Type.String()),
|
|
46
|
+
rootCauseSummary: Type.Optional(Type.String()),
|
|
47
|
+
confidence: Type.Optional(Type.Number()),
|
|
48
|
+
recommendationKind: Type.Optional(Type.String()),
|
|
49
|
+
internalizationTaskId: Type.Optional(Type.String()),
|
|
50
|
+
dreamerTaskStatus: Type.Optional(Type.String()),
|
|
51
|
+
canonicalPainId: Type.Optional(Type.String()),
|
|
52
|
+
runtimeTaskId: Type.Optional(Type.String()),
|
|
53
|
+
linkMode: Type.Optional(Type.Union([Type.Literal('canonical'), Type.Literal('legacy')])),
|
|
54
|
+
// PRI-469: optional intent tension from diagnostician artifact (SPEC §16).
|
|
55
|
+
// `confidence` is forbidden on this object (SPEC §16.3); enforced by
|
|
56
|
+
// IntentTensionSchema's additionalProperties:false and by validateIntentTension.
|
|
57
|
+
intentTension: Type.Optional(IntentTensionSchema),
|
|
58
|
+
});
|
|
59
|
+
export const EvidenceChainResponseSchema = Type.Object({
|
|
60
|
+
records: Type.Array(EvidenceChainRecordSchema),
|
|
61
|
+
generatedAt: Type.String(),
|
|
62
|
+
degradedReason: Type.Optional(Type.String()),
|
|
63
|
+
nextAction: Type.Optional(Type.String()),
|
|
64
|
+
note: Type.Optional(Type.String()),
|
|
65
|
+
});
|
|
66
|
+
// ── Internal Helpers & Type Guards ───────────────────────────────────────────
|
|
67
|
+
function isRecord(value) {
|
|
68
|
+
return typeof value === 'object' && value !== null && !Array.isArray(value);
|
|
69
|
+
}
|
|
70
|
+
function isString(value) {
|
|
71
|
+
return typeof value === 'string';
|
|
72
|
+
}
|
|
73
|
+
function getOwnValue(record, key) {
|
|
74
|
+
return Object.hasOwn(record, key) ? record[key] : undefined;
|
|
75
|
+
}
|
|
76
|
+
function readOwnString(record, key) {
|
|
77
|
+
const value = getOwnValue(record, key);
|
|
78
|
+
return isString(value) ? value : undefined;
|
|
79
|
+
}
|
|
80
|
+
function _readOwnStringArray(record, key) {
|
|
81
|
+
const value = getOwnValue(record, key);
|
|
82
|
+
if (!Array.isArray(value))
|
|
83
|
+
return [];
|
|
84
|
+
return value.filter(isString);
|
|
85
|
+
}
|
|
86
|
+
function coerceToString(value) {
|
|
87
|
+
if (typeof value === 'string')
|
|
88
|
+
return value;
|
|
89
|
+
if (typeof value === 'number' && Number.isFinite(value))
|
|
90
|
+
return String(value);
|
|
91
|
+
return '';
|
|
92
|
+
}
|
|
93
|
+
// ── PRI-469: Intent Tension validation (SPEC §16) ────────────────────────────
|
|
94
|
+
//
|
|
95
|
+
// Pure helper that validates an untrusted `intentTension` object read from the
|
|
96
|
+
// diagnostician artifact's content_json. Returns the validated IntentTension
|
|
97
|
+
// (with evidence truncated to max 3 per SPEC §16.4) or `undefined` when the
|
|
98
|
+
// data is malformed. The caller is responsible for setting a degradedReason
|
|
99
|
+
// when validation fails (ERR-002: graceful degradation must include a reason).
|
|
100
|
+
//
|
|
101
|
+
// SPEC §16.3: `confidence` is FORBIDDEN on intentTension. The Stage A
|
|
102
|
+
// rootCause-level confidence is the only diagnostician confidence. This helper
|
|
103
|
+
// explicitly rejects any object carrying a `confidence` field, in addition to
|
|
104
|
+
// the TypeBox schema's additionalProperties:false guard — defense in depth
|
|
105
|
+
// (ERR-001: untrusted data from DB artifacts).
|
|
106
|
+
const VALID_INTENT_TENSION_SOURCES = new Set([
|
|
107
|
+
'none',
|
|
108
|
+
'action_drift',
|
|
109
|
+
'intent_suspect',
|
|
110
|
+
'healthy_tension',
|
|
111
|
+
]);
|
|
112
|
+
const VALID_EVIDENCE_STRENGTHS = new Set(['weak', 'moderate', 'strong']);
|
|
113
|
+
const VALID_INTENT_RELATED_FIELDS = new Set([
|
|
114
|
+
'why',
|
|
115
|
+
'desired_outcome',
|
|
116
|
+
'non_negotiables',
|
|
117
|
+
'stop_escalation',
|
|
118
|
+
'current_strategic_focus',
|
|
119
|
+
]);
|
|
120
|
+
const VALID_SUGGESTED_OWNER_ACTIONS = new Set([
|
|
121
|
+
'confirm_drift',
|
|
122
|
+
'revise_intent',
|
|
123
|
+
'observe',
|
|
124
|
+
'dismiss',
|
|
125
|
+
'promote_to_principle',
|
|
126
|
+
'promote_to_rulehost',
|
|
127
|
+
]);
|
|
128
|
+
/** SPEC §16.4: evidence array is capped at 3 items to limit Owner review burden. */
|
|
129
|
+
const INTENT_TENSION_EVIDENCE_MAX = 3;
|
|
130
|
+
/**
|
|
131
|
+
* Validate an untrusted `intentTension` value from a diagnostician artifact.
|
|
132
|
+
*
|
|
133
|
+
* @returns The validated IntentTension (evidence truncated to max 3), or
|
|
134
|
+
* `undefined` when the value is malformed. Never throws.
|
|
135
|
+
*
|
|
136
|
+
* Runtime Contract rules applied:
|
|
137
|
+
* - Rule 1: input is `unknown`, validated before use (ERR-001)
|
|
138
|
+
* - Rule 2: no `as` bypass — all fields checked with typeof / Set.has (ERR-001/005)
|
|
139
|
+
* - Rule 4: array element types validated element-wise (ERR-005/007)
|
|
140
|
+
* - Rule 5: Object.hasOwn used for key checks (ERR-013)
|
|
141
|
+
* - Rule 9: callers must set a degradedReason when this returns undefined (ERR-002)
|
|
142
|
+
*/
|
|
143
|
+
export function validateIntentTension(value) {
|
|
144
|
+
if (!isRecord(value))
|
|
145
|
+
return undefined;
|
|
146
|
+
// SPEC §16.3: confidence is forbidden on intentTension.
|
|
147
|
+
if (Object.hasOwn(value, 'confidence'))
|
|
148
|
+
return undefined;
|
|
149
|
+
const source = getOwnValue(value, 'source');
|
|
150
|
+
if (typeof source !== 'string' || !VALID_INTENT_TENSION_SOURCES.has(source)) {
|
|
151
|
+
return undefined;
|
|
152
|
+
}
|
|
153
|
+
const evidenceStrength = getOwnValue(value, 'evidenceStrength');
|
|
154
|
+
if (typeof evidenceStrength !== 'string' || !VALID_EVIDENCE_STRENGTHS.has(evidenceStrength)) {
|
|
155
|
+
return undefined;
|
|
156
|
+
}
|
|
157
|
+
// relatedIntentFields: must be an array of valid enum strings (ERR-005/007).
|
|
158
|
+
const relatedIntentFieldsRaw = getOwnValue(value, 'relatedIntentFields');
|
|
159
|
+
if (!Array.isArray(relatedIntentFieldsRaw))
|
|
160
|
+
return undefined;
|
|
161
|
+
const relatedIntentFields = [];
|
|
162
|
+
for (const f of relatedIntentFieldsRaw) {
|
|
163
|
+
// Runtime-validated against the enum Set; the `as` cast below is AFTER
|
|
164
|
+
// validation, which is the correct pattern (Rule 2 forbids using `as`
|
|
165
|
+
// INSTEAD of validation, not after it).
|
|
166
|
+
if (typeof f !== 'string' || !VALID_INTENT_RELATED_FIELDS.has(f))
|
|
167
|
+
return undefined;
|
|
168
|
+
relatedIntentFields.push(f);
|
|
169
|
+
}
|
|
170
|
+
// evidence: must be an array of strings. Truncate to max 3 (SPEC §16.4,
|
|
171
|
+
// graceful degradation — keep the first 3 rather than dropping the whole
|
|
172
|
+
// tension, so the Owner still sees the signal).
|
|
173
|
+
const evidenceRaw = getOwnValue(value, 'evidence');
|
|
174
|
+
if (!Array.isArray(evidenceRaw))
|
|
175
|
+
return undefined;
|
|
176
|
+
const evidence = [];
|
|
177
|
+
for (const e of evidenceRaw) {
|
|
178
|
+
if (typeof e !== 'string')
|
|
179
|
+
return undefined;
|
|
180
|
+
evidence.push(e);
|
|
181
|
+
}
|
|
182
|
+
const truncatedEvidence = evidence.slice(0, INTENT_TENSION_EVIDENCE_MAX);
|
|
183
|
+
const explanation = getOwnValue(value, 'explanation');
|
|
184
|
+
if (typeof explanation !== 'string' || explanation.length === 0)
|
|
185
|
+
return undefined;
|
|
186
|
+
const suggestedOwnerAction = getOwnValue(value, 'suggestedOwnerAction');
|
|
187
|
+
if (typeof suggestedOwnerAction !== 'string' ||
|
|
188
|
+
!VALID_SUGGESTED_OWNER_ACTIONS.has(suggestedOwnerAction)) {
|
|
189
|
+
return undefined;
|
|
190
|
+
}
|
|
191
|
+
// intentDocHash: optional string.
|
|
192
|
+
const intentDocHash = getOwnValue(value, 'intentDocHash');
|
|
193
|
+
if (intentDocHash !== undefined && typeof intentDocHash !== 'string')
|
|
194
|
+
return undefined;
|
|
195
|
+
const result = {
|
|
196
|
+
source: source,
|
|
197
|
+
evidenceStrength: evidenceStrength,
|
|
198
|
+
relatedIntentFields,
|
|
199
|
+
evidence: truncatedEvidence,
|
|
200
|
+
explanation,
|
|
201
|
+
suggestedOwnerAction: suggestedOwnerAction,
|
|
202
|
+
};
|
|
203
|
+
if (typeof intentDocHash === 'string') {
|
|
204
|
+
result.intentDocHash = intentDocHash;
|
|
205
|
+
}
|
|
206
|
+
return result;
|
|
207
|
+
}
|
|
208
|
+
// ── Mapping & State Resolution ────────────────────────────────────────────────
|
|
209
|
+
export function mapSourceKind(source) {
|
|
210
|
+
switch (source) {
|
|
211
|
+
case 'manual':
|
|
212
|
+
case 'owner_explicit_cli':
|
|
213
|
+
case 'owner_explicit_chat':
|
|
214
|
+
return 'manual';
|
|
215
|
+
case 'tool_call':
|
|
216
|
+
case 'hook':
|
|
217
|
+
return 'tool_call';
|
|
218
|
+
case 'rulehost':
|
|
219
|
+
case 'gate':
|
|
220
|
+
return 'rulehost';
|
|
221
|
+
case 'empathy':
|
|
222
|
+
case 'empathy_inferred':
|
|
223
|
+
return 'empathy_inferred';
|
|
224
|
+
case 'review':
|
|
225
|
+
case 'review_finding':
|
|
226
|
+
return 'review';
|
|
227
|
+
default:
|
|
228
|
+
return source || 'unknown';
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
export function inferAdmissionDecision(sourceKind) {
|
|
232
|
+
switch (sourceKind) {
|
|
233
|
+
case 'manual':
|
|
234
|
+
case 'review':
|
|
235
|
+
return 'store_signal';
|
|
236
|
+
case 'empathy_inferred':
|
|
237
|
+
return 'owner_confirmation_required';
|
|
238
|
+
default:
|
|
239
|
+
return 'evidence_only';
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
export function determineState(params) {
|
|
243
|
+
const { sourceKind, taskStatus, hasCandidate, dreamerStatus, ledgerPrincipleStatus } = params;
|
|
244
|
+
if (ledgerPrincipleStatus === 'active' || ledgerPrincipleStatus === 'probation') {
|
|
245
|
+
return 'internalization-succeeded';
|
|
246
|
+
}
|
|
247
|
+
if (ledgerPrincipleStatus === 'candidate') {
|
|
248
|
+
return 'owner-reviewable';
|
|
249
|
+
}
|
|
250
|
+
if (hasCandidate) {
|
|
251
|
+
if (!dreamerStatus) {
|
|
252
|
+
return 'internalization-missing';
|
|
253
|
+
}
|
|
254
|
+
switch (dreamerStatus) {
|
|
255
|
+
case 'pending':
|
|
256
|
+
case 'queued':
|
|
257
|
+
return 'internalization-pending';
|
|
258
|
+
case 'running':
|
|
259
|
+
return 'internalization-running';
|
|
260
|
+
case 'failed':
|
|
261
|
+
return 'internalization-failed';
|
|
262
|
+
case 'succeeded':
|
|
263
|
+
return 'internalization-succeeded';
|
|
264
|
+
default:
|
|
265
|
+
return 'candidate-generated';
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
if (taskStatus) {
|
|
269
|
+
switch (taskStatus) {
|
|
270
|
+
case 'pending':
|
|
271
|
+
case 'queued':
|
|
272
|
+
return 'diagnosis-queued';
|
|
273
|
+
case 'running':
|
|
274
|
+
return 'diagnosis-running';
|
|
275
|
+
case 'succeeded':
|
|
276
|
+
return 'diagnosis-succeeded';
|
|
277
|
+
case 'failed':
|
|
278
|
+
case 'needs_human_review':
|
|
279
|
+
return 'diagnosis-failed';
|
|
280
|
+
case 'retry_wait':
|
|
281
|
+
return 'diagnosis-retry-wait';
|
|
282
|
+
default:
|
|
283
|
+
return 'diagnosis-queued';
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
const admission = inferAdmissionDecision(sourceKind);
|
|
287
|
+
if (admission === 'evidence_only') {
|
|
288
|
+
// Observed evidence that has NOT entered the governance chain (tool_call / hook /
|
|
289
|
+
// rulehost observations). Kept distinct from `recorded-only` so owners do not
|
|
290
|
+
// mistake passive observations for active governance. (PRI-385 P1-2)
|
|
291
|
+
return 'evidence-only';
|
|
292
|
+
}
|
|
293
|
+
// store_signal (manual/review) and owner_confirmation_required (empathy_inferred)
|
|
294
|
+
// are owner-admitted signals awaiting the pipeline → active chain.
|
|
295
|
+
return 'recorded-only';
|
|
296
|
+
}
|
|
297
|
+
/**
|
|
298
|
+
* Derive the raw painId accepted by `pd pain retry --pain-id` from a diagnostician
|
|
299
|
+
* task_id. Convention (PainToPrincipleService): `task_id = diagnosis_${painId}`, so the
|
|
300
|
+
* painId is `task_id` with a single leading `diagnosis_` stripped — and it must round-trip
|
|
301
|
+
* (`diagnosis_` + painId === original linkedTaskId).
|
|
302
|
+
*
|
|
303
|
+
* Only the canonical `diagnosis_<painId>` form is safe: sub-run ids like
|
|
304
|
+
* `diag_router-diagnosis_*` do NOT start with `diagnosis_`, so they fall through to the
|
|
305
|
+
* `pd diagnose run --task-id` fallback. The record display id (`pain_*` / `manual_*`) is
|
|
306
|
+
* intentionally NOT used here — it does not satisfy the `diagnosis_${painId}` convention.
|
|
307
|
+
* (ERR-008: lineage/painId must come from one consistent source = the real task_id.)
|
|
308
|
+
*/
|
|
309
|
+
function deriveRetryPainId(linkedTaskId) {
|
|
310
|
+
if (!linkedTaskId || !linkedTaskId.startsWith('diagnosis_'))
|
|
311
|
+
return undefined;
|
|
312
|
+
const painId = linkedTaskId.slice('diagnosis_'.length);
|
|
313
|
+
// Reject empty remainder or a remainder that still carries the prefix (ambiguous).
|
|
314
|
+
if (!painId || painId.startsWith('diagnosis_'))
|
|
315
|
+
return undefined;
|
|
316
|
+
return painId;
|
|
317
|
+
}
|
|
318
|
+
/**
|
|
319
|
+
* Build an executable recovery command for failed/retry-wait diagnosis.
|
|
320
|
+
*
|
|
321
|
+
* Priority (PRI-385 P1-1):
|
|
322
|
+
* 1. Safe raw painId → `pd pain retry --pain-id <painId> --workspace "<ws>" --runtime <kind>`
|
|
323
|
+
* 2. Any linkedTaskId → `pd diagnose run --task-id <linkedTaskId> --workspace "<ws>" --runtime <kind>`
|
|
324
|
+
* 3. Neither → returns undefined (caller emits a reason-style nextAction instead).
|
|
325
|
+
*
|
|
326
|
+
* `--workspace` is always explicit (per PRI-385 owner note: recovery commands must
|
|
327
|
+
* preserve workspace identity). `--runtime <kind>` is shown as a required placeholder
|
|
328
|
+
* because `pd pain retry` / `pd diagnose run` refuse without an explicit runtime.
|
|
329
|
+
*/
|
|
330
|
+
function buildRetryCommand(linkedTaskId, ws) {
|
|
331
|
+
const painId = deriveRetryPainId(linkedTaskId);
|
|
332
|
+
if (painId) {
|
|
333
|
+
return `pd pain retry --pain-id ${painId} --workspace "${ws}" --runtime <kind>`;
|
|
334
|
+
}
|
|
335
|
+
if (linkedTaskId) {
|
|
336
|
+
return `pd diagnose run --task-id ${linkedTaskId} --workspace "${ws}" --runtime <kind>`;
|
|
337
|
+
}
|
|
338
|
+
return undefined;
|
|
339
|
+
}
|
|
340
|
+
export function determineNextAction(ctx) {
|
|
341
|
+
const { state, workspaceDir: ws, linkedTaskId } = ctx;
|
|
342
|
+
switch (state) {
|
|
343
|
+
case 'diagnosis-retry-wait': {
|
|
344
|
+
const cmd = buildRetryCommand(linkedTaskId, ws);
|
|
345
|
+
return cmd
|
|
346
|
+
? `Diagnosis is waiting for automatic retry. Force retry: ${cmd}`
|
|
347
|
+
: 'Diagnosis is waiting for automatic retry, but no retryable task id is linked. Check Runtime V2 pipeline status.';
|
|
348
|
+
}
|
|
349
|
+
case 'diagnosis-failed': {
|
|
350
|
+
const cmd = buildRetryCommand(linkedTaskId, ws);
|
|
351
|
+
return cmd
|
|
352
|
+
? `Diagnosis failed. Retry: ${cmd}`
|
|
353
|
+
: 'Diagnosis failed, but no retryable task id is linked. Check the failure details and Runtime V2 pipeline status.';
|
|
354
|
+
}
|
|
355
|
+
case 'diagnosis-succeeded':
|
|
356
|
+
return 'Diagnosis completed. A principle candidate may be generated shortly.';
|
|
357
|
+
case 'candidate-generated':
|
|
358
|
+
case 'internalization-missing':
|
|
359
|
+
return `Candidate generated. Waiting for internalization pipeline. Run: pd runtime internalization run-once --workspace "${ws}"`;
|
|
360
|
+
case 'internalization-pending':
|
|
361
|
+
return 'Candidate generated. Internalization task is pending — wait for dreamer to complete.';
|
|
362
|
+
case 'internalization-running':
|
|
363
|
+
return 'Internalization in progress — dreamer task is running.';
|
|
364
|
+
case 'internalization-failed':
|
|
365
|
+
return `Internalization task failed. Check dreamer task error or run: pd runtime internalization run-once --workspace "${ws}" to retry.`;
|
|
366
|
+
case 'owner-reviewable':
|
|
367
|
+
return 'Principle candidate is ready for owner review.';
|
|
368
|
+
case 'internalization-succeeded':
|
|
369
|
+
return 'Internalization task completed. Check for owner-reviewable principle.';
|
|
370
|
+
default:
|
|
371
|
+
return undefined;
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
export function resolveSummary(fields) {
|
|
375
|
+
if (fields.candidateTitle)
|
|
376
|
+
return fields.candidateTitle;
|
|
377
|
+
if (fields.rootCauseSummary)
|
|
378
|
+
return fields.rootCauseSummary;
|
|
379
|
+
if (fields.painText)
|
|
380
|
+
return fields.painText;
|
|
381
|
+
if (fields.painReason)
|
|
382
|
+
return fields.painReason;
|
|
383
|
+
return fields.fallback;
|
|
384
|
+
}
|
|
385
|
+
export function normalizeDiagnosticianTaskId(taskId) {
|
|
386
|
+
if (!taskId) {
|
|
387
|
+
return {
|
|
388
|
+
success: false,
|
|
389
|
+
reason: 'Diagnostician task ID is empty or missing.',
|
|
390
|
+
nextAction: 'Verify that the principle candidates table contains valid task IDs.',
|
|
391
|
+
};
|
|
392
|
+
}
|
|
393
|
+
if (!taskId.includes('diagnosis_')) {
|
|
394
|
+
return { success: true, normalized: taskId };
|
|
395
|
+
}
|
|
396
|
+
if (taskId.startsWith('diagnosis_')) {
|
|
397
|
+
return { success: true, normalized: taskId };
|
|
398
|
+
}
|
|
399
|
+
const idx = taskId.indexOf('diagnosis_');
|
|
400
|
+
if (idx > 0 && taskId[idx - 1] === '-') {
|
|
401
|
+
const normalized = taskId.slice(idx);
|
|
402
|
+
return { success: true, normalized };
|
|
403
|
+
}
|
|
404
|
+
return {
|
|
405
|
+
success: false,
|
|
406
|
+
reason: `Malformed diagnostician task ID: "${taskId}". Unable to normalize to canonical "diagnosis_*" format.`,
|
|
407
|
+
nextAction: 'Ensure task IDs follow the format "diagnosis_*" or "<stage>-diagnosis_*".',
|
|
408
|
+
};
|
|
409
|
+
}
|
|
410
|
+
export function crossReferenceByTimestamp(painEvents, taskMap, coveredPainIds) {
|
|
411
|
+
const CROSS_REF_WINDOW_MS = 5 * 60 * 1000; // 5 minutes
|
|
412
|
+
const result = new Map();
|
|
413
|
+
const usedTaskIds = new Set();
|
|
414
|
+
const unmatchedEvents = painEvents.filter(e => !coveredPainIds.has(e.painId));
|
|
415
|
+
if (unmatchedEvents.length === 0)
|
|
416
|
+
return result;
|
|
417
|
+
const availableTasks = [];
|
|
418
|
+
for (const [key, entry] of taskMap.entries()) {
|
|
419
|
+
if (!coveredPainIds.has(key)) {
|
|
420
|
+
availableTasks.push([key, entry]);
|
|
421
|
+
}
|
|
422
|
+
}
|
|
423
|
+
unmatchedEvents.sort((a, b) => a.createdAt.localeCompare(b.createdAt));
|
|
424
|
+
for (const event of unmatchedEvents) {
|
|
425
|
+
const eventTime = new Date(event.createdAt).getTime();
|
|
426
|
+
if (Number.isNaN(eventTime))
|
|
427
|
+
continue;
|
|
428
|
+
let bestMatch = null;
|
|
429
|
+
let bestDelta = Infinity;
|
|
430
|
+
for (const [taskKey, taskEntry] of availableTasks) {
|
|
431
|
+
if (usedTaskIds.has(taskKey))
|
|
432
|
+
continue;
|
|
433
|
+
const taskTime = new Date(taskEntry.createdAt).getTime();
|
|
434
|
+
if (Number.isNaN(taskTime))
|
|
435
|
+
continue;
|
|
436
|
+
const delta = Math.abs(eventTime - taskTime);
|
|
437
|
+
if (delta <= CROSS_REF_WINDOW_MS && delta < bestDelta) {
|
|
438
|
+
bestDelta = delta;
|
|
439
|
+
bestMatch = [taskKey, taskEntry];
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
if (bestMatch) {
|
|
443
|
+
usedTaskIds.add(bestMatch[0]);
|
|
444
|
+
result.set(event.painId, bestMatch[1]);
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
return result;
|
|
448
|
+
}
|
|
449
|
+
// ── Deduplication Helper ───────────────────────────────────────────────────────
|
|
450
|
+
/**
|
|
451
|
+
* Normalize a summary string for dedupe matching.
|
|
452
|
+
*
|
|
453
|
+
* Pipeline (Unicode-aware, reviewer P1 round 3):
|
|
454
|
+
* 1. NFKC normalization — folds compatibility characters and fullwidth
|
|
455
|
+
* forms (e.g. "Agent" -> "Agent", "AGENT<U+3000>修改" -> "AGENT 修改")
|
|
456
|
+
* so visually identical text produced by different input methods
|
|
457
|
+
* collapses to the same canonical form.
|
|
458
|
+
* 2. Lowercase.
|
|
459
|
+
* 3. Strip every character that is NOT a Unicode letter (\p{L}), Unicode
|
|
460
|
+
* number (\p{N}), or whitespace. This is the critical fix: the previous
|
|
461
|
+
* pattern `[^\w\s]` only retained `[A-Za-z0-9_]`, which deleted CJK
|
|
462
|
+
* ideographs entirely — a Chinese pain summary like "Agent 未经批准修改了配置"
|
|
463
|
+
* was reduced to "agent", making every Chinese pain hash to the same key
|
|
464
|
+
* and silently breaking content-hash dedupe for non-ASCII owners.
|
|
465
|
+
* \p{L} keeps all letters across every script (Latin, CJK, Cyrillic,
|
|
466
|
+
* Arabic, ...); \p{N} keeps all digits; whitespace is preserved for the
|
|
467
|
+
* collapse step below.
|
|
468
|
+
* 4. Collapse runs of whitespace to a single space and trim.
|
|
469
|
+
*
|
|
470
|
+
* Examples:
|
|
471
|
+
* - "Agent modified config!" and "agent modified config" hash to the same key.
|
|
472
|
+
* - "Agent 未经批准修改了配置!" and "agent 未经批准修改了配置" hash to the same key.
|
|
473
|
+
* - "Agent<U+3000>修改" and "Agent 修改" hash to the same key (NFKC fold).
|
|
474
|
+
*
|
|
475
|
+
* Exported for direct unit testing of the normalization rules.
|
|
476
|
+
*/
|
|
477
|
+
export function normalizeSummaryForDedupe(summary) {
|
|
478
|
+
return summary
|
|
479
|
+
.normalize('NFKC')
|
|
480
|
+
.toLowerCase()
|
|
481
|
+
.replace(/[^\p{L}\p{N}\s]/gu, '')
|
|
482
|
+
.replace(/\s+/g, ' ')
|
|
483
|
+
.trim();
|
|
484
|
+
}
|
|
485
|
+
/**
|
|
486
|
+
* Maximum allowed observedAt gap (in milliseconds) for content-hash dedupe
|
|
487
|
+
* under condition (b) below.
|
|
488
|
+
*
|
|
489
|
+
* Content alone is NOT strong enough: an owner may legitimately log the same
|
|
490
|
+
* pain ("Agent modified config without approval") today AND again tomorrow as
|
|
491
|
+
* two separate real recurrences. Suppressing the second occurrence would
|
|
492
|
+
* silently hide real recurrence signal from the owner, which is dangerous for
|
|
493
|
+
* pain/episode judgement.
|
|
494
|
+
*
|
|
495
|
+
* We therefore require content-hash match AND observedAt within this window.
|
|
496
|
+
* The 1s value matches the original (loose) timestamp-window behavior, but is
|
|
497
|
+
* now AND'd with content equality rather than acting alone — strict addition,
|
|
498
|
+
* never a replacement. Recurrence aggregation across wide time windows is
|
|
499
|
+
* intentionally NOT done here; it belongs to the (future) episode layer so
|
|
500
|
+
* the owner never loses raw recurrence signal at the evidence-chain stage.
|
|
501
|
+
*/
|
|
502
|
+
const CONTENT_DEDUPE_PROXIMITY_MS = 1000;
|
|
503
|
+
/**
|
|
504
|
+
* Dedupe evidence records so the same real pain signal is not shown twice.
|
|
505
|
+
*
|
|
506
|
+
* Background (PRI-388): a single CLI/manual pain may end up both as a row in
|
|
507
|
+
* trajectory.db.pain_events (shown as `pain_N`, often "recorded-only / unlinked")
|
|
508
|
+
* and as a Runtime canonical pain record (e.g. `manual_*`, shown with full
|
|
509
|
+
* candidate/internalization state). Showing both cards misleads the owner into
|
|
510
|
+
* thinking the same signal is simultaneously "untouched" and "in flight".
|
|
511
|
+
*
|
|
512
|
+
* Lineage policy (reviewer P1): deduping CANNOT rely on timestamp alone OR on
|
|
513
|
+
* content alone — two DIFFERENT real pains can land within 1s (would be wrongly
|
|
514
|
+
* merged by time alone), AND the same pain text can legitimately recur at very
|
|
515
|
+
* different times (would be wrongly merged by content alone, hiding real
|
|
516
|
+
* recurrence signal). We therefore require STRONG lineage evidence before
|
|
517
|
+
* suppressing a trajectory row:
|
|
518
|
+
*
|
|
519
|
+
* (a) the canonical record's linkedTaskId round-trips to the trajectory pain
|
|
520
|
+
* id via the `diagnosis_<painId>` convention — a diagnosis task IS the
|
|
521
|
+
* canonical record for that specific trajectory row; OR
|
|
522
|
+
* (b) the canonical record and the trajectory record share the same
|
|
523
|
+
* sourceKind, their normalized summaries match exactly (a content hash,
|
|
524
|
+
* not a substring contains() — see G.2 / F.3 in shared-constraints),
|
|
525
|
+
* AND their observedAt timestamps fall within CONTENT_DEDUPE_PROXIMITY_MS
|
|
526
|
+
* of each other.
|
|
527
|
+
*
|
|
528
|
+
* Either condition is sufficient. Time alone is NEVER a dedupe signal.
|
|
529
|
+
* Content alone is NEVER a dedupe signal. The two are AND'd for condition (b)
|
|
530
|
+
* precisely so that real recurrences (same text, far-apart timestamps) survive.
|
|
531
|
+
*
|
|
532
|
+
* Ordering (reviewer P1-2): the input array is already sorted by observedAt
|
|
533
|
+
* descending. We MUST preserve that order, so we filter in place instead of
|
|
534
|
+
* rebuilding canonical-then-trajectory buckets (which would scramble the sort).
|
|
535
|
+
*
|
|
536
|
+
* Privacy: no raw prompt/chat/trajectory text is exposed beyond what each
|
|
537
|
+
* record already carries (G.2 / F.3 / F.5).
|
|
538
|
+
*/
|
|
539
|
+
function dedupeRecords(records) {
|
|
540
|
+
if (records.length === 0)
|
|
541
|
+
return records;
|
|
542
|
+
// 1. Collect canonical (Runtime) records — those that carry a linkedTaskId
|
|
543
|
+
// and therefore represent the authoritative chain state for their event.
|
|
544
|
+
const canonicalRecords = [];
|
|
545
|
+
for (const record of records) {
|
|
546
|
+
if (record.linkedTaskId) {
|
|
547
|
+
canonicalRecords.push(record);
|
|
548
|
+
}
|
|
549
|
+
}
|
|
550
|
+
if (canonicalRecords.length === 0)
|
|
551
|
+
return records;
|
|
552
|
+
// 2. Build a lookup of trajectory pain ids that a canonical task explicitly
|
|
553
|
+
// references via the `diagnosis_<painId>` round-trip (condition a).
|
|
554
|
+
// Also build a (sourceKind, normalizedSummary) -> canonical observedAt ms
|
|
555
|
+
// multi-map for content-hash matching (condition b). We collect ALL
|
|
556
|
+
// observedAt timestamps per content key so the trajectory-side check can
|
|
557
|
+
// apply the proximity window — a single global set is unsafe because it
|
|
558
|
+
// would suppress recurrences logged far outside the canonical's time.
|
|
559
|
+
const diagnosisTrajectoryIds = new Set();
|
|
560
|
+
const canonicalObservedAtByKey = new Map();
|
|
561
|
+
for (const canonical of canonicalRecords) {
|
|
562
|
+
// Condition (a): linkedTaskId of form `diagnosis_<painId>` where <painId>
|
|
563
|
+
// is itself a trajectory pain id (pain_N).
|
|
564
|
+
const { linkedTaskId } = canonical;
|
|
565
|
+
if (linkedTaskId && linkedTaskId.startsWith('diagnosis_')) {
|
|
566
|
+
const painId = linkedTaskId.slice('diagnosis_'.length);
|
|
567
|
+
if (painId.startsWith('pain_')) {
|
|
568
|
+
diagnosisTrajectoryIds.add(painId);
|
|
569
|
+
}
|
|
570
|
+
}
|
|
571
|
+
// Condition (b) content key: same sourceKind + normalized summary. We fold
|
|
572
|
+
// candidateTitle and rootCauseSummary into the canonical's content signature
|
|
573
|
+
// so a trajectory row whose text matches the candidate title or root cause
|
|
574
|
+
// still dedupes against the canonical card. We collect observedAt ms per
|
|
575
|
+
// key so the trajectory check can require time proximity AND content match.
|
|
576
|
+
const canonicalObservedAtMs = Date.parse(canonical.observedAt);
|
|
577
|
+
if (Number.isNaN(canonicalObservedAtMs))
|
|
578
|
+
continue;
|
|
579
|
+
const parts = [
|
|
580
|
+
canonical.summary,
|
|
581
|
+
canonical.candidateTitle,
|
|
582
|
+
canonical.rootCauseSummary,
|
|
583
|
+
].filter((v) => typeof v === 'string' && v.length > 0);
|
|
584
|
+
for (const part of parts) {
|
|
585
|
+
const normalized = normalizeSummaryForDedupe(part);
|
|
586
|
+
if (!normalized)
|
|
587
|
+
continue;
|
|
588
|
+
const key = `${canonical.sourceKind}||${normalized}`;
|
|
589
|
+
const arr = canonicalObservedAtByKey.get(key);
|
|
590
|
+
if (arr) {
|
|
591
|
+
arr.push(canonicalObservedAtMs);
|
|
592
|
+
}
|
|
593
|
+
else {
|
|
594
|
+
canonicalObservedAtByKey.set(key, [canonicalObservedAtMs]);
|
|
595
|
+
}
|
|
596
|
+
}
|
|
597
|
+
}
|
|
598
|
+
if (diagnosisTrajectoryIds.size === 0 && canonicalObservedAtByKey.size === 0) {
|
|
599
|
+
return records;
|
|
600
|
+
}
|
|
601
|
+
// 3. Mark trajectory records (no linkedTaskId) that have STRONG lineage to a
|
|
602
|
+
// canonical record. Only strong lineage suppresses a row. For condition
|
|
603
|
+
// (b), strong lineage = same sourceKind + same normalized summary +
|
|
604
|
+
// observedAt within CONTENT_DEDUPE_PROXIMITY_MS. Content alone or time
|
|
605
|
+
// alone is never sufficient.
|
|
606
|
+
const idsToRemove = new Set();
|
|
607
|
+
for (const record of records) {
|
|
608
|
+
if (record.linkedTaskId)
|
|
609
|
+
continue; // canonical records are never removed
|
|
610
|
+
let suppress = false;
|
|
611
|
+
// Condition (a): trajectory id explicitly referenced by a diagnosis_* task.
|
|
612
|
+
// This is the strongest lineage — a diagnosis task IS the canonical record
|
|
613
|
+
// for that specific trajectory row.
|
|
614
|
+
if (diagnosisTrajectoryIds.has(record.id)) {
|
|
615
|
+
suppress = true;
|
|
616
|
+
}
|
|
617
|
+
// Condition (b): same sourceKind + normalized summary hash AND observedAt
|
|
618
|
+
// within the proximity window. Without the time-window gate, an owner who
|
|
619
|
+
// logs the same pain today AND tomorrow (a real recurrence) would have the
|
|
620
|
+
// second trajectory row silently deleted whenever any canonical task shares
|
|
621
|
+
// its content — losing the recurrence signal that episode judgement needs.
|
|
622
|
+
if (!suppress) {
|
|
623
|
+
const normalized = normalizeSummaryForDedupe(record.summary);
|
|
624
|
+
if (normalized) {
|
|
625
|
+
const key = `${record.sourceKind}||${normalized}`;
|
|
626
|
+
const candidates = canonicalObservedAtByKey.get(key);
|
|
627
|
+
if (candidates && candidates.length > 0) {
|
|
628
|
+
const tMs = Date.parse(record.observedAt);
|
|
629
|
+
if (!Number.isNaN(tMs) &&
|
|
630
|
+
candidates.some(c => Math.abs(c - tMs) <= CONTENT_DEDUPE_PROXIMITY_MS)) {
|
|
631
|
+
suppress = true;
|
|
632
|
+
}
|
|
633
|
+
}
|
|
634
|
+
}
|
|
635
|
+
}
|
|
636
|
+
if (suppress) {
|
|
637
|
+
idsToRemove.add(record.id);
|
|
638
|
+
}
|
|
639
|
+
}
|
|
640
|
+
if (idsToRemove.size === 0)
|
|
641
|
+
return records;
|
|
642
|
+
// 4. Filter in place to preserve the observedAt-descending sort order.
|
|
643
|
+
return records.filter(record => !idsToRemove.has(record.id));
|
|
644
|
+
}
|
|
645
|
+
export function assembleEvidenceChain(params) {
|
|
646
|
+
const { workspaceDir, painEvents: rawPainEvents, tasks: rawTasks, candidates: rawCandidates, dreamerTasks: rawDreamerTasks, ledgerPrinciples, trajectoryDbAvailable, stateDbAvailable, diagnosticArtifacts: rawDiagnosticArtifacts, } = params;
|
|
647
|
+
const generatedAt = new Date().toISOString();
|
|
648
|
+
const records = [];
|
|
649
|
+
const degradedReasons = params.degradedReasons ? [...params.degradedReasons] : [];
|
|
650
|
+
const degradedNextActions = params.degradedNextActions ? [...params.degradedNextActions] : [];
|
|
651
|
+
// Coerce untrusted arrays using element-wise guards (ERR-001/005/007)
|
|
652
|
+
const painEvents = rawPainEvents.filter(isRecord);
|
|
653
|
+
const tasks = rawTasks.filter(isRecord);
|
|
654
|
+
const candidates = rawCandidates.filter(isRecord);
|
|
655
|
+
const dreamerTasks = rawDreamerTasks.filter(isRecord);
|
|
656
|
+
const diagnosticArtifacts = (rawDiagnosticArtifacts ?? []).filter(isRecord);
|
|
657
|
+
// PRI-469: Build artifact lookup by task_id. Each artifact row has
|
|
658
|
+
// { task_id: string, content_json: string }. content_json holds the
|
|
659
|
+
// DiagnosticianOutputV1 JSON (including rootCause and optional intentTension).
|
|
660
|
+
// Artifact is the CANONICAL source; tasks.diagnostic_json is a fallback.
|
|
661
|
+
const artifactByTaskId = new Map();
|
|
662
|
+
for (const artifact of diagnosticArtifacts) {
|
|
663
|
+
const taskId = readOwnString(artifact, 'task_id');
|
|
664
|
+
if (!taskId)
|
|
665
|
+
continue;
|
|
666
|
+
// First artifact wins — duplicate task_ids should not happen, but if they
|
|
667
|
+
// do we keep the first to avoid silent data swapping (ERR-015).
|
|
668
|
+
if (!artifactByTaskId.has(taskId)) {
|
|
669
|
+
artifactByTaskId.set(taskId, artifact);
|
|
670
|
+
}
|
|
671
|
+
}
|
|
672
|
+
// 1. Process tasks into a map
|
|
673
|
+
const taskMap = new Map();
|
|
674
|
+
for (const task of tasks) {
|
|
675
|
+
const taskId = readOwnString(task, 'task_id') ?? '';
|
|
676
|
+
const inputRefRaw = getOwnValue(task, 'input_ref');
|
|
677
|
+
const inputRef = isString(inputRefRaw) ? inputRefRaw : undefined;
|
|
678
|
+
let painId;
|
|
679
|
+
if (inputRef) {
|
|
680
|
+
painId = /^\d+$/.test(inputRef) ? `pain_${inputRef}` : inputRef;
|
|
681
|
+
}
|
|
682
|
+
else {
|
|
683
|
+
painId = taskId.startsWith('diagnosis_') ? taskId.slice('diagnosis_'.length) : taskId;
|
|
684
|
+
}
|
|
685
|
+
// PRI-469: Extract rootCause and intentTension from the diagnostician
|
|
686
|
+
// artifact (canonical source). Artifact takes precedence over
|
|
687
|
+
// tasks.diagnostic_json, which is kept only as a test-fixture fallback.
|
|
688
|
+
let rootCauseSummary;
|
|
689
|
+
let intentTension;
|
|
690
|
+
let artifactDegraded = false;
|
|
691
|
+
let diagnosticJsonDegraded = false;
|
|
692
|
+
const artifact = taskId ? artifactByTaskId.get(taskId) : undefined;
|
|
693
|
+
if (artifact) {
|
|
694
|
+
const contentJson = readOwnString(artifact, 'content_json');
|
|
695
|
+
if (typeof contentJson === 'string') {
|
|
696
|
+
try {
|
|
697
|
+
const parsed = JSON.parse(contentJson);
|
|
698
|
+
if (isRecord(parsed)) {
|
|
699
|
+
// rootCause from artifact (canonical, takes precedence).
|
|
700
|
+
// The artifact stores DiagnosticianOutputV1 where rootCause is an
|
|
701
|
+
// object: { summary: string, confidence: number, ... }. Legacy
|
|
702
|
+
// test fixtures may store rootCause as a plain string. Handle both.
|
|
703
|
+
const artifactRootCause = getOwnValue(parsed, 'rootCause');
|
|
704
|
+
if (typeof artifactRootCause === 'string') {
|
|
705
|
+
rootCauseSummary = artifactRootCause;
|
|
706
|
+
}
|
|
707
|
+
else if (isRecord(artifactRootCause)) {
|
|
708
|
+
const rootCauseSummaryValue = getOwnValue(artifactRootCause, 'summary');
|
|
709
|
+
if (typeof rootCauseSummaryValue === 'string') {
|
|
710
|
+
rootCauseSummary = rootCauseSummaryValue;
|
|
711
|
+
}
|
|
712
|
+
}
|
|
713
|
+
// intentTension from artifact — validated with runtime guards.
|
|
714
|
+
// Only extract when the key is present (optional field).
|
|
715
|
+
if (Object.hasOwn(parsed, 'intentTension')) {
|
|
716
|
+
const validated = validateIntentTension(getOwnValue(parsed, 'intentTension'));
|
|
717
|
+
if (validated) {
|
|
718
|
+
intentTension = validated;
|
|
719
|
+
}
|
|
720
|
+
else {
|
|
721
|
+
// intentTension was present but malformed — degrade visibly
|
|
722
|
+
// (ERR-002). rootCause may still be valid, so we do NOT clobber
|
|
723
|
+
// it; we only flag the artifact as partially degraded.
|
|
724
|
+
artifactDegraded = true;
|
|
725
|
+
}
|
|
726
|
+
}
|
|
727
|
+
}
|
|
728
|
+
else {
|
|
729
|
+
// content_json parsed but not an object — degrade.
|
|
730
|
+
artifactDegraded = true;
|
|
731
|
+
}
|
|
732
|
+
}
|
|
733
|
+
catch {
|
|
734
|
+
// content_json is not valid JSON — degrade. rootCause and
|
|
735
|
+
// intentTension both unavailable from the artifact.
|
|
736
|
+
artifactDegraded = true;
|
|
737
|
+
}
|
|
738
|
+
}
|
|
739
|
+
else {
|
|
740
|
+
// content_json missing or not a string — degrade.
|
|
741
|
+
artifactDegraded = true;
|
|
742
|
+
}
|
|
743
|
+
}
|
|
744
|
+
// Fallback: tasks.diagnostic_json (test-fixture compat). Only used when
|
|
745
|
+
// the artifact did not provide a rootCause.
|
|
746
|
+
if (rootCauseSummary === undefined) {
|
|
747
|
+
const dj = getOwnValue(task, 'diagnostic_json');
|
|
748
|
+
if (isString(dj)) {
|
|
749
|
+
try {
|
|
750
|
+
const parsed = JSON.parse(dj);
|
|
751
|
+
if (isRecord(parsed) && Object.hasOwn(parsed, 'rootCause') && isString(parsed.rootCause)) {
|
|
752
|
+
rootCauseSummary = parsed.rootCause;
|
|
753
|
+
}
|
|
754
|
+
}
|
|
755
|
+
catch {
|
|
756
|
+
diagnosticJsonDegraded = true;
|
|
757
|
+
}
|
|
758
|
+
}
|
|
759
|
+
}
|
|
760
|
+
taskMap.set(painId, {
|
|
761
|
+
taskId,
|
|
762
|
+
status: readOwnString(task, 'status') ?? 'unknown',
|
|
763
|
+
lastError: readOwnString(task, 'last_error') ?? null,
|
|
764
|
+
createdAt: readOwnString(task, 'created_at') ?? '',
|
|
765
|
+
rootCauseSummary,
|
|
766
|
+
diagnosticJsonDegraded,
|
|
767
|
+
inputRef,
|
|
768
|
+
intentTension,
|
|
769
|
+
artifactDegraded,
|
|
770
|
+
});
|
|
771
|
+
}
|
|
772
|
+
// 2. Build dreamer map
|
|
773
|
+
const dreamerMap = new Map();
|
|
774
|
+
for (const task of dreamerTasks) {
|
|
775
|
+
const taskId = readOwnString(task, 'task_id') ?? '';
|
|
776
|
+
const status = readOwnString(task, 'status') ?? 'unknown';
|
|
777
|
+
if (taskId.startsWith('dreamer-')) {
|
|
778
|
+
const rest = taskId.slice('dreamer-'.length);
|
|
779
|
+
const lastDash = rest.lastIndexOf('-');
|
|
780
|
+
if (lastDash > 0) {
|
|
781
|
+
const candidateId = rest.slice(0, lastDash);
|
|
782
|
+
if (candidateId && !dreamerMap.has(candidateId)) {
|
|
783
|
+
dreamerMap.set(candidateId, { taskId, status });
|
|
784
|
+
}
|
|
785
|
+
}
|
|
786
|
+
}
|
|
787
|
+
}
|
|
788
|
+
// 3. Build candidates map and reverse lookups
|
|
789
|
+
const taskIdToPainId = new Map();
|
|
790
|
+
for (const [pId, entry] of taskMap) {
|
|
791
|
+
taskIdToPainId.set(entry.taskId, pId);
|
|
792
|
+
const normResult = normalizeDiagnosticianTaskId(entry.taskId);
|
|
793
|
+
if (normResult.success && normResult.normalized) {
|
|
794
|
+
taskIdToPainId.set(normResult.normalized, pId);
|
|
795
|
+
}
|
|
796
|
+
}
|
|
797
|
+
const candidateMap = new Map();
|
|
798
|
+
const candidateByTaskId = new Map();
|
|
799
|
+
for (const c of candidates) {
|
|
800
|
+
const candidateId = readOwnString(c, 'candidate_id') ?? '';
|
|
801
|
+
if (!candidateId)
|
|
802
|
+
continue;
|
|
803
|
+
const rawTaskId = readOwnString(c, 'task_id') ?? '';
|
|
804
|
+
const normResult = normalizeDiagnosticianTaskId(rawTaskId);
|
|
805
|
+
if (!normResult.success || !normResult.normalized) {
|
|
806
|
+
if (normResult.reason)
|
|
807
|
+
degradedReasons.push(normResult.reason);
|
|
808
|
+
if (normResult.nextAction)
|
|
809
|
+
degradedNextActions.push(normResult.nextAction);
|
|
810
|
+
continue;
|
|
811
|
+
}
|
|
812
|
+
const taskId = normResult.normalized;
|
|
813
|
+
let painId = taskIdToPainId.get(taskId) ?? '';
|
|
814
|
+
if (!painId && taskId.startsWith('diagnosis_')) {
|
|
815
|
+
painId = taskId.slice('diagnosis_'.length);
|
|
816
|
+
}
|
|
817
|
+
const info = {
|
|
818
|
+
candidateId,
|
|
819
|
+
title: readOwnString(c, 'title'),
|
|
820
|
+
description: readOwnString(c, 'description'),
|
|
821
|
+
confidence: typeof c.confidence === 'number' && Number.isFinite(c.confidence) ? c.confidence : undefined,
|
|
822
|
+
recommendationKind: readOwnString(c, 'recommendation_kind'),
|
|
823
|
+
};
|
|
824
|
+
if (painId)
|
|
825
|
+
candidateMap.set(painId, info);
|
|
826
|
+
if (taskId)
|
|
827
|
+
candidateByTaskId.set(taskId, info);
|
|
828
|
+
}
|
|
829
|
+
// 4. Map ledger principles to painId
|
|
830
|
+
const painToPrincipleMap = new Map();
|
|
831
|
+
const principleStatusMap = new Map();
|
|
832
|
+
for (const p of ledgerPrinciples) {
|
|
833
|
+
if (p.status) {
|
|
834
|
+
principleStatusMap.set(p.id, p.status);
|
|
835
|
+
}
|
|
836
|
+
for (const pId of p.derivedFromPainIds ?? []) {
|
|
837
|
+
painToPrincipleMap.set(pId, p.id);
|
|
838
|
+
}
|
|
839
|
+
}
|
|
840
|
+
// 5. Assemble records
|
|
841
|
+
const painEventMeta = [];
|
|
842
|
+
const directMatchedPainIds = new Set();
|
|
843
|
+
for (const event of painEvents) {
|
|
844
|
+
const eventId = coerceToString(event.id);
|
|
845
|
+
if (!eventId)
|
|
846
|
+
continue;
|
|
847
|
+
const source = readOwnString(event, 'source') ?? 'unknown';
|
|
848
|
+
const reason = readOwnString(event, 'reason') ?? '';
|
|
849
|
+
const text = readOwnString(event, 'text') ?? '';
|
|
850
|
+
const createdAt = readOwnString(event, 'created_at') ?? '';
|
|
851
|
+
const score = typeof event.score === 'number' ? event.score : 0;
|
|
852
|
+
// PRI-406: Read canonical_pain_id and runtime_task_id from pain_events
|
|
853
|
+
const canonicalPainId = readOwnString(event, 'canonical_pain_id');
|
|
854
|
+
const runtimeTaskId = readOwnString(event, 'runtime_task_id');
|
|
855
|
+
const sourceKind = mapSourceKind(source);
|
|
856
|
+
const painId = `pain_${eventId}`;
|
|
857
|
+
painEventMeta.push({ painId, createdAt, source });
|
|
858
|
+
// PRI-625 Slice D: evidence host attribution from pain_events.host_kind
|
|
859
|
+
// (PRI-640 column). Unknown/legacy rows (pre-migration) degrade to
|
|
860
|
+
// 'unknown' — a missing host kind must not hide the record (§15: safe
|
|
861
|
+
// lineage, no silent drops).
|
|
862
|
+
const rawHostKind = readOwnString(event, 'host_kind');
|
|
863
|
+
const hostKind = rawHostKind === 'openclaw' || rawHostKind === 'codex' || rawHostKind === 'workbuddy' ? rawHostKind : 'unknown';
|
|
864
|
+
// PRI-406: Prefer precise join via canonical_pain_id → tasks.input_ref.
|
|
865
|
+
// When a pain event carries canonical_pain_id, look up the task by that ID
|
|
866
|
+
// first (the taskMap key is derived from input_ref, which equals canonical_pain_id).
|
|
867
|
+
// This is the authoritative join path — no timestamp/content heuristic needed.
|
|
868
|
+
let linkedTask = taskMap.get(painId);
|
|
869
|
+
let linkMode;
|
|
870
|
+
if (canonicalPainId) {
|
|
871
|
+
const canonicalTask = taskMap.get(canonicalPainId);
|
|
872
|
+
if (canonicalTask) {
|
|
873
|
+
linkedTask = canonicalTask;
|
|
874
|
+
linkMode = 'canonical';
|
|
875
|
+
}
|
|
876
|
+
else if (runtimeTaskId) {
|
|
877
|
+
// Fallback: try to find task by runtimeTaskId in taskMap values
|
|
878
|
+
for (const [, entry] of taskMap.entries()) {
|
|
879
|
+
if (entry.taskId === runtimeTaskId) {
|
|
880
|
+
linkedTask = entry;
|
|
881
|
+
linkMode = 'canonical';
|
|
882
|
+
break;
|
|
883
|
+
}
|
|
884
|
+
}
|
|
885
|
+
}
|
|
886
|
+
}
|
|
887
|
+
if (linkedTask) {
|
|
888
|
+
directMatchedPainIds.add(painId);
|
|
889
|
+
if (!linkMode) {
|
|
890
|
+
linkMode = 'legacy';
|
|
891
|
+
}
|
|
892
|
+
}
|
|
893
|
+
const linkedCandidate = candidateMap.get(painId)
|
|
894
|
+
|| (canonicalPainId ? candidateMap.get(canonicalPainId) : undefined)
|
|
895
|
+
|| (linkedTask ? candidateByTaskId.get(linkedTask.taskId) : undefined);
|
|
896
|
+
const linkedPrincipleId = painToPrincipleMap.get(painId)
|
|
897
|
+
|| (canonicalPainId ? painToPrincipleMap.get(canonicalPainId) : undefined);
|
|
898
|
+
const ledgerPrincipleStatus = linkedPrincipleId ? principleStatusMap.get(linkedPrincipleId) : undefined;
|
|
899
|
+
const dreamerInfo = linkedCandidate ? dreamerMap.get(linkedCandidate.candidateId) : undefined;
|
|
900
|
+
const state = determineState({
|
|
901
|
+
sourceKind,
|
|
902
|
+
taskStatus: linkedTask?.status,
|
|
903
|
+
hasCandidate: !!linkedCandidate,
|
|
904
|
+
dreamerStatus: dreamerInfo?.status,
|
|
905
|
+
ledgerPrincipleStatus,
|
|
906
|
+
});
|
|
907
|
+
const rawSummary = resolveSummary({
|
|
908
|
+
candidateTitle: linkedCandidate?.title,
|
|
909
|
+
rootCauseSummary: linkedTask?.rootCauseSummary,
|
|
910
|
+
painText: text,
|
|
911
|
+
painReason: reason,
|
|
912
|
+
fallback: `Pain signal (source: ${source}, score: ${score})`,
|
|
913
|
+
});
|
|
914
|
+
const record = {
|
|
915
|
+
id: painId,
|
|
916
|
+
sourceKind,
|
|
917
|
+
observedAt: createdAt,
|
|
918
|
+
state,
|
|
919
|
+
summary: rawSummary,
|
|
920
|
+
admissionDecision: inferAdmissionDecision(sourceKind),
|
|
921
|
+
};
|
|
922
|
+
// PRI-406: Set canonical identity and link mode
|
|
923
|
+
if (canonicalPainId) {
|
|
924
|
+
record.canonicalPainId = canonicalPainId;
|
|
925
|
+
}
|
|
926
|
+
record.hostKind = hostKind;
|
|
927
|
+
if (runtimeTaskId) {
|
|
928
|
+
record.runtimeTaskId = runtimeTaskId;
|
|
929
|
+
}
|
|
930
|
+
if (linkMode) {
|
|
931
|
+
record.linkMode = linkMode;
|
|
932
|
+
}
|
|
933
|
+
// PRI-406: When a pain event is linked via canonical_pain_id, also mark
|
|
934
|
+
// the canonical ID as covered so step 6 doesn't create a duplicate record
|
|
935
|
+
// for the same task.
|
|
936
|
+
if (canonicalPainId && linkedTask) {
|
|
937
|
+
directMatchedPainIds.add(canonicalPainId);
|
|
938
|
+
}
|
|
939
|
+
if (linkedCandidate) {
|
|
940
|
+
record.linkedCandidateId = linkedCandidate.candidateId;
|
|
941
|
+
if (linkedCandidate.title)
|
|
942
|
+
record.candidateTitle = linkedCandidate.title;
|
|
943
|
+
if (linkedCandidate.description)
|
|
944
|
+
record.candidateSummary = linkedCandidate.description;
|
|
945
|
+
if (linkedCandidate.confidence !== undefined)
|
|
946
|
+
record.confidence = linkedCandidate.confidence;
|
|
947
|
+
if (linkedCandidate.recommendationKind)
|
|
948
|
+
record.recommendationKind = linkedCandidate.recommendationKind;
|
|
949
|
+
}
|
|
950
|
+
if (linkedTask) {
|
|
951
|
+
record.linkedTaskId = linkedTask.taskId;
|
|
952
|
+
record.linkedTaskStatus = linkedTask.status;
|
|
953
|
+
if (linkedTask.rootCauseSummary) {
|
|
954
|
+
record.rootCauseSummary = linkedTask.rootCauseSummary;
|
|
955
|
+
}
|
|
956
|
+
if (linkedTask.lastError && (state === 'diagnosis-failed' || state === 'diagnosis-retry-wait')) {
|
|
957
|
+
record.failureReason = linkedTask.lastError;
|
|
958
|
+
}
|
|
959
|
+
if (linkedTask.diagnosticJsonDegraded) {
|
|
960
|
+
record.degradedReason = 'Diagnostic data for this record could not be parsed';
|
|
961
|
+
}
|
|
962
|
+
// PRI-469: surface intentTension from the diagnostician artifact.
|
|
963
|
+
if (linkedTask.intentTension) {
|
|
964
|
+
record.intentTension = linkedTask.intentTension;
|
|
965
|
+
}
|
|
966
|
+
// PRI-469: artifact degraded (content_json unparseable or intentTension
|
|
967
|
+
// malformed) — degrade visibly (ERR-002). Do not clobber an existing
|
|
968
|
+
// degradedReason from diagnosticJsonDegraded; append instead.
|
|
969
|
+
if (linkedTask.artifactDegraded && !record.degradedReason) {
|
|
970
|
+
record.degradedReason = 'Diagnostician artifact for this record could not be fully parsed; intentTension may be unavailable.';
|
|
971
|
+
}
|
|
972
|
+
}
|
|
973
|
+
if (dreamerInfo) {
|
|
974
|
+
record.internalizationTaskId = dreamerInfo.taskId;
|
|
975
|
+
record.dreamerTaskStatus = dreamerInfo.status;
|
|
976
|
+
}
|
|
977
|
+
if (linkedPrincipleId) {
|
|
978
|
+
record.linkedPrincipleId = linkedPrincipleId;
|
|
979
|
+
}
|
|
980
|
+
// Generate nextAction from state
|
|
981
|
+
record.nextAction = determineNextAction({ state, workspaceDir, recordId: painId, linkedTaskId: linkedTask?.taskId });
|
|
982
|
+
if (!linkedTask && stateDbAvailable && taskMap.size > 0) {
|
|
983
|
+
// PRI-406: Rows without canonical_pain_id that have no linked task
|
|
984
|
+
// continue to get the "Could not link" banner (same as before).
|
|
985
|
+
// Rows WITH canonical_pain_id that have no linked task also get the
|
|
986
|
+
// banner — this is a real problem since the precise join should have worked.
|
|
987
|
+
// The linkMode field distinguishes the linking strategy used.
|
|
988
|
+
continue;
|
|
989
|
+
}
|
|
990
|
+
records.push(record);
|
|
991
|
+
}
|
|
992
|
+
// 5b. Proximity Cross-Referencing for Unmatched Pain Events
|
|
993
|
+
const crossRefMap = crossReferenceByTimestamp(painEventMeta, taskMap, directMatchedPainIds);
|
|
994
|
+
// Tasks whose cross-ref is backed by STRONG lineage (content hash match
|
|
995
|
+
// between trajectory text and task candidate title / root cause). These
|
|
996
|
+
// are NOT added to the weak crossRefTaskIds set, so step 6 will emit the
|
|
997
|
+
// canonical task-id record for them. (PRI-388 reviewer P1: dedupe must
|
|
998
|
+
// rely on strong lineage, not timestamp alone.)
|
|
999
|
+
const strongMatchedTaskIds = new Set();
|
|
1000
|
+
for (const event of painEvents) {
|
|
1001
|
+
const eventId = coerceToString(event.id);
|
|
1002
|
+
if (!eventId)
|
|
1003
|
+
continue;
|
|
1004
|
+
const painId = `pain_${eventId}`;
|
|
1005
|
+
if (directMatchedPainIds.has(painId))
|
|
1006
|
+
continue;
|
|
1007
|
+
const crossRefTask = crossRefMap.get(painId);
|
|
1008
|
+
if (!crossRefTask) {
|
|
1009
|
+
if (stateDbAvailable && taskMap.size > 0) {
|
|
1010
|
+
const source = readOwnString(event, 'source') ?? 'unknown';
|
|
1011
|
+
const reason = readOwnString(event, 'reason') ?? '';
|
|
1012
|
+
const text = readOwnString(event, 'text') ?? '';
|
|
1013
|
+
const createdAt = readOwnString(event, 'created_at') ?? '';
|
|
1014
|
+
const score = typeof event.score === 'number' ? event.score : 0;
|
|
1015
|
+
const sourceKind = mapSourceKind(source);
|
|
1016
|
+
// PRI-406: Read canonical fields
|
|
1017
|
+
const eventCanonicalPainId = readOwnString(event, 'canonical_pain_id');
|
|
1018
|
+
const eventRuntimeTaskId = readOwnString(event, 'runtime_task_id');
|
|
1019
|
+
// PRI-625 Slice D: evidence host attribution on the cross-ref path too
|
|
1020
|
+
// (review round 3) — missing/legacy host_kind degrades to 'unknown'.
|
|
1021
|
+
const eventHostKind = readOwnString(event, 'host_kind');
|
|
1022
|
+
const hostKind = eventHostKind === 'openclaw' || eventHostKind === 'codex' || eventHostKind === 'workbuddy' ? eventHostKind : 'unknown';
|
|
1023
|
+
// No linked task/candidate: state is admission-driven. tool_call/hook observations
|
|
1024
|
+
// are `evidence-only`; manual/review are `recorded-only`. (PRI-385 P1-2)
|
|
1025
|
+
const unmatchedState = determineState({ sourceKind, hasCandidate: false });
|
|
1026
|
+
const record = {
|
|
1027
|
+
id: painId,
|
|
1028
|
+
sourceKind,
|
|
1029
|
+
observedAt: createdAt,
|
|
1030
|
+
state: unmatchedState,
|
|
1031
|
+
summary: text || reason || `Pain signal (source: ${source}, score: ${score})`,
|
|
1032
|
+
admissionDecision: inferAdmissionDecision(sourceKind),
|
|
1033
|
+
hostKind,
|
|
1034
|
+
};
|
|
1035
|
+
// PRI-406: Set canonical identity fields
|
|
1036
|
+
if (eventCanonicalPainId) {
|
|
1037
|
+
record.canonicalPainId = eventCanonicalPainId;
|
|
1038
|
+
}
|
|
1039
|
+
if (eventRuntimeTaskId) {
|
|
1040
|
+
record.runtimeTaskId = eventRuntimeTaskId;
|
|
1041
|
+
}
|
|
1042
|
+
// PRI-406: Both canonical and legacy unlinked rows get the same
|
|
1043
|
+
// "Could not link" banner (ERR-002). The linkMode field distinguishes
|
|
1044
|
+
// the linking strategy used; legacy rows additionally get linkMode='legacy'.
|
|
1045
|
+
record.degradedReason = 'Could not link this pain event to a diagnostician task. The chain may be incomplete.';
|
|
1046
|
+
record.nextAction = `Check Runtime V2 pipeline status. The diagnostician task may have a different pain ID format.`;
|
|
1047
|
+
if (!eventCanonicalPainId) {
|
|
1048
|
+
record.linkMode = 'legacy';
|
|
1049
|
+
}
|
|
1050
|
+
degradedReasons.push(`Pain event ${painId} could not be linked to a diagnostician task.`);
|
|
1051
|
+
degradedNextActions.push('Check Runtime V2 pipeline status for unmatched pain ID formats.');
|
|
1052
|
+
records.push(record);
|
|
1053
|
+
}
|
|
1054
|
+
continue;
|
|
1055
|
+
}
|
|
1056
|
+
// ── Strong-lineage gate (PRI-388 reviewer P1) ────────────────────────
|
|
1057
|
+
// If the trajectory event's text strongly matches the cross-referenced
|
|
1058
|
+
// task's candidate title or root cause (a content hash, NOT timestamp
|
|
1059
|
+
// alone), they describe the SAME real event. Skip emitting a
|
|
1060
|
+
// trajectory-id (pain_<N>) record here; step 6 will emit the canonical
|
|
1061
|
+
// task-id record instead. This prevents two cards for one event while
|
|
1062
|
+
// still emitting trajectory-id records for genuine timestamp-only
|
|
1063
|
+
// (weak) cross-refs where content does not match.
|
|
1064
|
+
const trajText = readOwnString(event, 'text') ?? '';
|
|
1065
|
+
const trajReason = readOwnString(event, 'reason') ?? '';
|
|
1066
|
+
const trajectoryContentKey = normalizeSummaryForDedupe(trajText || trajReason);
|
|
1067
|
+
if (trajectoryContentKey) {
|
|
1068
|
+
const crossCandidate = candidateByTaskId.get(crossRefTask.taskId);
|
|
1069
|
+
const taskContentFields = [
|
|
1070
|
+
crossRefTask.rootCauseSummary,
|
|
1071
|
+
crossCandidate?.title,
|
|
1072
|
+
].filter((v) => typeof v === 'string' && v.length > 0);
|
|
1073
|
+
const isStrongLineageMatch = taskContentFields.some(c => normalizeSummaryForDedupe(c) === trajectoryContentKey);
|
|
1074
|
+
if (isStrongLineageMatch) {
|
|
1075
|
+
strongMatchedTaskIds.add(crossRefTask.taskId);
|
|
1076
|
+
continue;
|
|
1077
|
+
}
|
|
1078
|
+
}
|
|
1079
|
+
const source = readOwnString(event, 'source') ?? 'unknown';
|
|
1080
|
+
const reason = readOwnString(event, 'reason') ?? '';
|
|
1081
|
+
const text = readOwnString(event, 'text') ?? '';
|
|
1082
|
+
const createdAt = readOwnString(event, 'created_at') ?? '';
|
|
1083
|
+
const score = typeof event.score === 'number' ? event.score : 0;
|
|
1084
|
+
const sourceKind = mapSourceKind(source);
|
|
1085
|
+
// PRI-406: Read canonical fields for cross-ref records
|
|
1086
|
+
const eventCanonicalPainId = readOwnString(event, 'canonical_pain_id');
|
|
1087
|
+
const eventRuntimeTaskId = readOwnString(event, 'runtime_task_id');
|
|
1088
|
+
const linkedCandidate = candidateMap.get(painId)
|
|
1089
|
+
|| (eventCanonicalPainId ? candidateMap.get(eventCanonicalPainId) : undefined)
|
|
1090
|
+
|| candidateByTaskId.get(crossRefTask.taskId);
|
|
1091
|
+
const linkedPrincipleId = painToPrincipleMap.get(painId)
|
|
1092
|
+
|| (eventCanonicalPainId ? painToPrincipleMap.get(eventCanonicalPainId) : undefined);
|
|
1093
|
+
const ledgerPrincipleStatus = linkedPrincipleId ? principleStatusMap.get(linkedPrincipleId) : undefined;
|
|
1094
|
+
const dreamerInfo = linkedCandidate ? dreamerMap.get(linkedCandidate.candidateId) : undefined;
|
|
1095
|
+
const state = determineState({
|
|
1096
|
+
sourceKind,
|
|
1097
|
+
taskStatus: crossRefTask.status,
|
|
1098
|
+
hasCandidate: !!linkedCandidate,
|
|
1099
|
+
dreamerStatus: dreamerInfo?.status,
|
|
1100
|
+
ledgerPrincipleStatus,
|
|
1101
|
+
});
|
|
1102
|
+
const rawSummary = resolveSummary({
|
|
1103
|
+
candidateTitle: linkedCandidate?.title,
|
|
1104
|
+
rootCauseSummary: crossRefTask.rootCauseSummary,
|
|
1105
|
+
painText: text,
|
|
1106
|
+
painReason: reason,
|
|
1107
|
+
fallback: `Pain signal (source: ${source}, score: ${score})`,
|
|
1108
|
+
});
|
|
1109
|
+
const record = {
|
|
1110
|
+
id: painId,
|
|
1111
|
+
sourceKind,
|
|
1112
|
+
observedAt: createdAt,
|
|
1113
|
+
state,
|
|
1114
|
+
summary: rawSummary,
|
|
1115
|
+
admissionDecision: inferAdmissionDecision(sourceKind),
|
|
1116
|
+
linkedTaskId: crossRefTask.taskId,
|
|
1117
|
+
linkedTaskStatus: crossRefTask.status,
|
|
1118
|
+
linkMode: 'legacy', // Cross-ref is always legacy (timestamp heuristic)
|
|
1119
|
+
};
|
|
1120
|
+
// PRI-406: Set canonical identity fields
|
|
1121
|
+
if (eventCanonicalPainId) {
|
|
1122
|
+
record.canonicalPainId = eventCanonicalPainId;
|
|
1123
|
+
}
|
|
1124
|
+
if (eventRuntimeTaskId) {
|
|
1125
|
+
record.runtimeTaskId = eventRuntimeTaskId;
|
|
1126
|
+
}
|
|
1127
|
+
if (linkedCandidate) {
|
|
1128
|
+
record.linkedCandidateId = linkedCandidate.candidateId;
|
|
1129
|
+
if (linkedCandidate.title)
|
|
1130
|
+
record.candidateTitle = linkedCandidate.title;
|
|
1131
|
+
if (linkedCandidate.description)
|
|
1132
|
+
record.candidateSummary = linkedCandidate.description;
|
|
1133
|
+
if (linkedCandidate.confidence !== undefined)
|
|
1134
|
+
record.confidence = linkedCandidate.confidence;
|
|
1135
|
+
if (linkedCandidate.recommendationKind)
|
|
1136
|
+
record.recommendationKind = linkedCandidate.recommendationKind;
|
|
1137
|
+
}
|
|
1138
|
+
if (crossRefTask.rootCauseSummary) {
|
|
1139
|
+
record.rootCauseSummary = crossRefTask.rootCauseSummary;
|
|
1140
|
+
}
|
|
1141
|
+
// PRI-469: surface intentTension from the cross-referenced task's artifact.
|
|
1142
|
+
if (crossRefTask.intentTension) {
|
|
1143
|
+
record.intentTension = crossRefTask.intentTension;
|
|
1144
|
+
}
|
|
1145
|
+
if (crossRefTask.lastError && (state === 'diagnosis-failed' || state === 'diagnosis-retry-wait')) {
|
|
1146
|
+
record.failureReason = crossRefTask.lastError;
|
|
1147
|
+
}
|
|
1148
|
+
if (dreamerInfo) {
|
|
1149
|
+
record.internalizationTaskId = dreamerInfo.taskId;
|
|
1150
|
+
record.dreamerTaskStatus = dreamerInfo.status;
|
|
1151
|
+
}
|
|
1152
|
+
if (linkedPrincipleId) {
|
|
1153
|
+
record.linkedPrincipleId = linkedPrincipleId;
|
|
1154
|
+
}
|
|
1155
|
+
record.nextAction = determineNextAction({ state, workspaceDir, recordId: painId, linkedTaskId: crossRefTask.taskId });
|
|
1156
|
+
if (crossRefTask.diagnosticJsonDegraded) {
|
|
1157
|
+
record.degradedReason = 'Diagnostic data for this record could not be parsed';
|
|
1158
|
+
}
|
|
1159
|
+
// PRI-469: artifact degraded — degrade visibly (ERR-002).
|
|
1160
|
+
if (crossRefTask.artifactDegraded && !record.degradedReason) {
|
|
1161
|
+
record.degradedReason = 'Diagnostician artifact for this record could not be fully parsed; intentTension may be unavailable.';
|
|
1162
|
+
}
|
|
1163
|
+
records.push(record);
|
|
1164
|
+
}
|
|
1165
|
+
// 6. Include tasks that have no matching pain_event (e.g. CLI direct records)
|
|
1166
|
+
const coveredPainIds = new Set(records.map(r => r.id));
|
|
1167
|
+
// PRI-406: Also consider canonicalPainId as covered to prevent step 6 from
|
|
1168
|
+
// creating a duplicate record for the same task that step 5 already linked.
|
|
1169
|
+
for (const r of records) {
|
|
1170
|
+
if (r.canonicalPainId) {
|
|
1171
|
+
coveredPainIds.add(r.canonicalPainId);
|
|
1172
|
+
}
|
|
1173
|
+
}
|
|
1174
|
+
// Only WEAK cross-refs (timestamp-only) block step 6 from creating a
|
|
1175
|
+
// task-id record. Strong-lineage cross-refs deferred in step 5b so the
|
|
1176
|
+
// canonical task-id form is shown. (PRI-388 reviewer P1.)
|
|
1177
|
+
const crossRefTaskIds = new Set();
|
|
1178
|
+
for (const entry of crossRefMap.values()) {
|
|
1179
|
+
if (strongMatchedTaskIds.has(entry.taskId))
|
|
1180
|
+
continue;
|
|
1181
|
+
crossRefTaskIds.add(entry.taskId);
|
|
1182
|
+
}
|
|
1183
|
+
for (const [painId, task] of taskMap.entries()) {
|
|
1184
|
+
if (coveredPainIds.has(painId))
|
|
1185
|
+
continue;
|
|
1186
|
+
if (crossRefTaskIds.has(task.taskId))
|
|
1187
|
+
continue;
|
|
1188
|
+
const linkedCandidate = candidateMap.get(painId);
|
|
1189
|
+
const linkedPrincipleId = painToPrincipleMap.get(painId);
|
|
1190
|
+
const ledgerPrincipleStatus = linkedPrincipleId ? principleStatusMap.get(linkedPrincipleId) : undefined;
|
|
1191
|
+
const dreamerInfo = linkedCandidate ? dreamerMap.get(linkedCandidate.candidateId) : undefined;
|
|
1192
|
+
const state = determineState({
|
|
1193
|
+
sourceKind: 'manual',
|
|
1194
|
+
taskStatus: task.status,
|
|
1195
|
+
hasCandidate: !!linkedCandidate,
|
|
1196
|
+
dreamerStatus: dreamerInfo?.status,
|
|
1197
|
+
ledgerPrincipleStatus,
|
|
1198
|
+
});
|
|
1199
|
+
const rawSummary = resolveSummary({
|
|
1200
|
+
candidateTitle: linkedCandidate?.title,
|
|
1201
|
+
rootCauseSummary: task.rootCauseSummary,
|
|
1202
|
+
fallback: `Manual pain signal (task: ${task.taskId})`,
|
|
1203
|
+
});
|
|
1204
|
+
const record = {
|
|
1205
|
+
id: painId,
|
|
1206
|
+
sourceKind: 'manual',
|
|
1207
|
+
observedAt: task.createdAt,
|
|
1208
|
+
state,
|
|
1209
|
+
summary: rawSummary,
|
|
1210
|
+
admissionDecision: 'store_signal',
|
|
1211
|
+
linkedTaskId: task.taskId,
|
|
1212
|
+
linkedTaskStatus: task.status,
|
|
1213
|
+
// PRI-406: Task-only records from Runtime are canonical-linked
|
|
1214
|
+
// (their painId IS the canonical pain identity, e.g. manual_*)
|
|
1215
|
+
canonicalPainId: painId.startsWith('pain_') ? undefined : painId,
|
|
1216
|
+
linkMode: 'canonical',
|
|
1217
|
+
};
|
|
1218
|
+
if (linkedCandidate) {
|
|
1219
|
+
record.linkedCandidateId = linkedCandidate.candidateId;
|
|
1220
|
+
if (linkedCandidate.title)
|
|
1221
|
+
record.candidateTitle = linkedCandidate.title;
|
|
1222
|
+
if (linkedCandidate.description)
|
|
1223
|
+
record.candidateSummary = linkedCandidate.description;
|
|
1224
|
+
if (linkedCandidate.confidence !== undefined)
|
|
1225
|
+
record.confidence = linkedCandidate.confidence;
|
|
1226
|
+
if (linkedCandidate.recommendationKind)
|
|
1227
|
+
record.recommendationKind = linkedCandidate.recommendationKind;
|
|
1228
|
+
}
|
|
1229
|
+
if (task.rootCauseSummary) {
|
|
1230
|
+
record.rootCauseSummary = task.rootCauseSummary;
|
|
1231
|
+
}
|
|
1232
|
+
// PRI-469: surface intentTension from the task's diagnostician artifact.
|
|
1233
|
+
if (task.intentTension) {
|
|
1234
|
+
record.intentTension = task.intentTension;
|
|
1235
|
+
}
|
|
1236
|
+
if (task.lastError && (state === 'diagnosis-failed' || state === 'diagnosis-retry-wait')) {
|
|
1237
|
+
record.failureReason = task.lastError;
|
|
1238
|
+
}
|
|
1239
|
+
if (dreamerInfo) {
|
|
1240
|
+
record.internalizationTaskId = dreamerInfo.taskId;
|
|
1241
|
+
record.dreamerTaskStatus = dreamerInfo.status;
|
|
1242
|
+
}
|
|
1243
|
+
if (linkedPrincipleId) {
|
|
1244
|
+
record.linkedPrincipleId = linkedPrincipleId;
|
|
1245
|
+
}
|
|
1246
|
+
record.nextAction = determineNextAction({ state, workspaceDir, recordId: painId, linkedTaskId: task.taskId });
|
|
1247
|
+
if (task.diagnosticJsonDegraded) {
|
|
1248
|
+
record.degradedReason = 'Diagnostic data for this record could not be parsed';
|
|
1249
|
+
}
|
|
1250
|
+
// PRI-469: artifact degraded — degrade visibly (ERR-002).
|
|
1251
|
+
if (task.artifactDegraded && !record.degradedReason) {
|
|
1252
|
+
record.degradedReason = 'Diagnostician artifact for this record could not be fully parsed; intentTension may be unavailable.';
|
|
1253
|
+
}
|
|
1254
|
+
records.push(record);
|
|
1255
|
+
}
|
|
1256
|
+
// Sort by observedAt descending
|
|
1257
|
+
records.sort((a, b) => b.observedAt.localeCompare(a.observedAt));
|
|
1258
|
+
// 7. Dedupe: Runtime canonical pain (has linkedTaskId) takes precedence over trajectory pain rows
|
|
1259
|
+
// When the same real pain signal appears as both a trajectory pain (pain_N) and a
|
|
1260
|
+
// Runtime canonical pain (manual_*), show only the canonical record with full chain state.
|
|
1261
|
+
// This prevents misleading "unlinked" and "candidate" cards for the same event.
|
|
1262
|
+
const dedupedRecords = dedupeRecords(records);
|
|
1263
|
+
const response = {
|
|
1264
|
+
records: dedupedRecords,
|
|
1265
|
+
generatedAt,
|
|
1266
|
+
};
|
|
1267
|
+
// Group unmatched pain event warnings (PRI-382)
|
|
1268
|
+
if (degradedReasons.length > 0) {
|
|
1269
|
+
const unmatchedPainIds = [];
|
|
1270
|
+
const otherReasons = [];
|
|
1271
|
+
const unmatchedPainRegex = /^Pain event (.*) could not be linked to a diagnostician task\.$/;
|
|
1272
|
+
for (const reason of degradedReasons) {
|
|
1273
|
+
const match = unmatchedPainRegex.exec(reason);
|
|
1274
|
+
if (match && match[1]) {
|
|
1275
|
+
unmatchedPainIds.push(match[1]);
|
|
1276
|
+
}
|
|
1277
|
+
else {
|
|
1278
|
+
otherReasons.push(reason);
|
|
1279
|
+
}
|
|
1280
|
+
}
|
|
1281
|
+
const finalReasons = [];
|
|
1282
|
+
if (unmatchedPainIds.length > 0) {
|
|
1283
|
+
if (unmatchedPainIds.length === 1) {
|
|
1284
|
+
finalReasons.push(`Pain event ${unmatchedPainIds[0]} could not be linked to a diagnostician task.`);
|
|
1285
|
+
}
|
|
1286
|
+
else {
|
|
1287
|
+
finalReasons.push(`${unmatchedPainIds.length} evidence records could not be linked to diagnostician tasks. Showing per-record details below.`);
|
|
1288
|
+
}
|
|
1289
|
+
}
|
|
1290
|
+
const uniqueOtherReasons = Array.from(new Set(otherReasons));
|
|
1291
|
+
finalReasons.push(...uniqueOtherReasons);
|
|
1292
|
+
response.degradedReason = finalReasons.join('; ');
|
|
1293
|
+
const uniqueNextActions = Array.from(new Set(degradedNextActions));
|
|
1294
|
+
response.nextAction = uniqueNextActions.join(' ');
|
|
1295
|
+
}
|
|
1296
|
+
if (records.length === 0 && trajectoryDbAvailable && stateDbAvailable) {
|
|
1297
|
+
response.note = 'PD has not captured any displayable behavior evidence in this workspace yet.';
|
|
1298
|
+
}
|
|
1299
|
+
return response;
|
|
1300
|
+
}
|
|
1301
|
+
//# sourceMappingURL=evidence-chain-contract.js.map
|