create-principles-disciple 1.147.12 → 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 +119 -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 +609 -608
- 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/controlled-admission.d.ts +87 -0
- 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/prompt.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 -46
- package/core/dist/runtime-v2/activation/adaptive-principle-intervention.d.ts.map +0 -1
- package/core/dist/runtime-v2/activation/adaptive-principle-intervention.js +0 -91
- 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/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,1030 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PITaskMetadata — Persistence & Hydration (PRI-65)
|
|
3
|
+
*
|
|
4
|
+
* Provides the core-owned serialization/hydration contract for PITaskRecord metadata.
|
|
5
|
+
*
|
|
6
|
+
* Problem: PITaskRecord extends TaskRecord with internalization fields
|
|
7
|
+
* (dependencyTaskIds, channel, timeoutMs, inputArtifactRefs, outputArtifactRefs),
|
|
8
|
+
* but SqliteTaskStore only persists base TaskRecord fields + diagnostic_json.
|
|
9
|
+
* There is no second task store — PI metadata must travel inside diagnosticJson.
|
|
10
|
+
*
|
|
11
|
+
* Solution: Store PI metadata in diagnosticJson using a namespaced JSON envelope.
|
|
12
|
+
* This module provides:
|
|
13
|
+
* - serializePITaskMetadata (PITaskMetadata → JSON string for diagnosticJson)
|
|
14
|
+
* - parsePITaskMetadata (JSON string → PITaskMetadata | null, fail closed)
|
|
15
|
+
* - hydratePITaskRecord (TaskRecord from store → PITaskRecord | null, fail closed)
|
|
16
|
+
* - createPITaskDiagnosticJson (alias for serialize, explicit name for adapter use)
|
|
17
|
+
*
|
|
18
|
+
* Design principles:
|
|
19
|
+
* - All functions are pure / total — no exceptions thrown
|
|
20
|
+
* - Fail closed: invalid/missing data → null, not error
|
|
21
|
+
* - Optional fields (parentTaskId, correlationId) must be non-empty string if present
|
|
22
|
+
* - Namespaced key avoids collision with other diagnosticJson uses
|
|
23
|
+
*
|
|
24
|
+
* @see ADR-0003 Section 3.4
|
|
25
|
+
* @see docs/adr/0003-peer-agent-state-machine-orchestration.md
|
|
26
|
+
*/
|
|
27
|
+
import { isInternalizationChannel, isPipelineTopologyMode, isRunnerKind } from './peer-runner-contracts.js';
|
|
28
|
+
import { validateOwnerEvidenceSelectionShape } from './evidence-readiness.js';
|
|
29
|
+
/** Namespace key used inside diagnosticJson to isolate PI metadata. */
|
|
30
|
+
export const PI_METADATA_KEY = 'pi_metadata';
|
|
31
|
+
/**
|
|
32
|
+
* PRI-718: the deterministic artificer-repair task id convention —
|
|
33
|
+
* `artificer-repair-<sourceEvaluatorTaskId>-r<iteration>`.
|
|
34
|
+
*
|
|
35
|
+
* Single owner of the convention (P4): the two production seeders
|
|
36
|
+
* (host-runtime consumer governance, pd-cli rulehost pipeline runner) and
|
|
37
|
+
* the evaluator's durable-iteration probe all derive ids from here, so the
|
|
38
|
+
* writer and the reader can never drift apart.
|
|
39
|
+
*/
|
|
40
|
+
export function artificerRepairTaskId(sourceEvaluatorTaskId, repairIteration) {
|
|
41
|
+
return `artificer-repair-${sourceEvaluatorTaskId}-r${repairIteration}`;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* rc-8 (评审 P2): 回喂进 prompt 的 validator 错误必须有界。错误字符串
|
|
45
|
+
* 含被回显的 LLM 输出(可能极大——历史 incident 有 500KB 级 JSON 回显),
|
|
46
|
+
* 无界回喂会把修复 attempt N+1 的 prompt 推过 MAX_PROMPT_CHARS 的抛掷
|
|
47
|
+
* 边界,制造确定性 RangeError 重试循环。持久化侧保留全文(可观测性),
|
|
48
|
+
* 只有回喂读取侧截断——截断以可见后缀标注(rc-9)。
|
|
49
|
+
*/
|
|
50
|
+
const REFED_ERROR_MAX_COUNT = 10;
|
|
51
|
+
const REFED_ERROR_MAX_CHARS = 500;
|
|
52
|
+
function boundRefedErrors(errors) {
|
|
53
|
+
const capped = [];
|
|
54
|
+
for (const error of errors) {
|
|
55
|
+
if (capped.length >= REFED_ERROR_MAX_COUNT) {
|
|
56
|
+
const omitted = errors.length - REFED_ERROR_MAX_COUNT;
|
|
57
|
+
capped.push(`[+${omitted} more validation error(s) omitted for prompt budget]`);
|
|
58
|
+
break;
|
|
59
|
+
}
|
|
60
|
+
capped.push(error.length > REFED_ERROR_MAX_CHARS
|
|
61
|
+
? `${error.slice(0, REFED_ERROR_MAX_CHARS)}…[truncated]`
|
|
62
|
+
: error);
|
|
63
|
+
}
|
|
64
|
+
return capped;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* PRI-700 因子 B(评审 P1): 回喂新鲜度判定——纯函数,供 runner 消费。
|
|
68
|
+
* 仅当记录来自紧邻的上一个 attempt(sourceAttemptCount === 当前
|
|
69
|
+
* attempt-1)且存在 lease 上下文时回喂;否则由调用方发 suppression
|
|
70
|
+
* 事件(rc-9)。进程重启安全:判定只依赖持久化的 sourceAttemptCount
|
|
71
|
+
* 与 lease 派生的 attempt 序号。
|
|
72
|
+
*/
|
|
73
|
+
export function isFreshForNextAttempt(record, currentLeasedAttempt) {
|
|
74
|
+
return currentLeasedAttempt !== undefined
|
|
75
|
+
&& record.sourceAttemptCount === currentLeasedAttempt - 1;
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Trust-boundary guard (rc-1, rc-4): diagnosticJson 顶层
|
|
79
|
+
* lastValidatorErrors 是 untrusted runtime data。sourceAttemptCount 必填
|
|
80
|
+
* 且为非负整数——缺来源标识的 legacy 记录返回 null(宁可少回喂一次,
|
|
81
|
+
* 不回喂来源不明的旧错误)。
|
|
82
|
+
*/
|
|
83
|
+
export function parseLastValidatorErrors(diagnosticJson) {
|
|
84
|
+
if (!diagnosticJson || diagnosticJson.trim() === '')
|
|
85
|
+
return null;
|
|
86
|
+
let parsed;
|
|
87
|
+
try {
|
|
88
|
+
parsed = JSON.parse(diagnosticJson);
|
|
89
|
+
}
|
|
90
|
+
catch {
|
|
91
|
+
return null;
|
|
92
|
+
}
|
|
93
|
+
if (typeof parsed !== 'object' || parsed === null || Array.isArray(parsed))
|
|
94
|
+
return null;
|
|
95
|
+
// rc-5: hasOwn, not in
|
|
96
|
+
if (!Object.hasOwn(parsed, 'lastValidatorErrors'))
|
|
97
|
+
return null;
|
|
98
|
+
const value = parsed.lastValidatorErrors;
|
|
99
|
+
if (typeof value !== 'object' || value === null || Array.isArray(value))
|
|
100
|
+
return null;
|
|
101
|
+
const record = value;
|
|
102
|
+
if (typeof record.recordedAt !== 'string' || record.recordedAt.trim() === '')
|
|
103
|
+
return null;
|
|
104
|
+
if (typeof record.errorCategory !== 'string' || record.errorCategory.trim() === '')
|
|
105
|
+
return null;
|
|
106
|
+
if (!Array.isArray(record.errors) || record.errors.length === 0)
|
|
107
|
+
return null;
|
|
108
|
+
// rc-4: validate array element types
|
|
109
|
+
for (const error of record.errors) {
|
|
110
|
+
if (typeof error !== 'string' || error.trim() === '')
|
|
111
|
+
return null;
|
|
112
|
+
}
|
|
113
|
+
if (typeof record.sourceAttemptCount !== 'number'
|
|
114
|
+
|| !Number.isInteger(record.sourceAttemptCount)
|
|
115
|
+
|| record.sourceAttemptCount < 0) {
|
|
116
|
+
return null;
|
|
117
|
+
}
|
|
118
|
+
return {
|
|
119
|
+
recordedAt: record.recordedAt,
|
|
120
|
+
errorCategory: record.errorCategory,
|
|
121
|
+
errors: boundRefedErrors(record.errors),
|
|
122
|
+
sourceAttemptCount: record.sourceAttemptCount,
|
|
123
|
+
};
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* PRI-862 (CIL-006): canonical pain provenance seed.
|
|
127
|
+
*
|
|
128
|
+
* The dreamer seed writer (intake-to-internalization-bridge) stores the
|
|
129
|
+
* authoritative pain id as a top-level `sourcePainId` key in
|
|
130
|
+
* diagnosticJson — the same envelope position and trust posture as
|
|
131
|
+
* lastValidatorErrors. This reader is the ONLY sanctioned way for the
|
|
132
|
+
* dreamer runner to obtain that authority; the LLM-output
|
|
133
|
+
* `sourcePainId` must never be trusted as provenance (ERR-004 lineage
|
|
134
|
+
* discipline: resolved from the canonical chain, never invented).
|
|
135
|
+
*
|
|
136
|
+
* Fail-closed (rc-1/rc-5): malformed JSON, non-string, or blank values
|
|
137
|
+
* return null — absence is a legitimate degraded state.
|
|
138
|
+
*/
|
|
139
|
+
export function parseSeedSourcePainId(diagnosticJson) {
|
|
140
|
+
if (!diagnosticJson || diagnosticJson.trim() === '')
|
|
141
|
+
return null;
|
|
142
|
+
let parsed;
|
|
143
|
+
try {
|
|
144
|
+
parsed = JSON.parse(diagnosticJson);
|
|
145
|
+
}
|
|
146
|
+
catch {
|
|
147
|
+
return null;
|
|
148
|
+
}
|
|
149
|
+
if (typeof parsed !== 'object' || parsed === null || Array.isArray(parsed))
|
|
150
|
+
return null;
|
|
151
|
+
// rc-5: hasOwn, not in
|
|
152
|
+
if (!Object.hasOwn(parsed, 'sourcePainId'))
|
|
153
|
+
return null;
|
|
154
|
+
const value = parsed.sourcePainId;
|
|
155
|
+
if (typeof value !== 'string' || value.trim() === '')
|
|
156
|
+
return null;
|
|
157
|
+
return value.trim();
|
|
158
|
+
}
|
|
159
|
+
function isApprovedRuleRevisionReceipt(value) {
|
|
160
|
+
if (typeof value !== 'object' || value === null || Array.isArray(value))
|
|
161
|
+
return false;
|
|
162
|
+
if (Reflect.get(value, 'version') !== 1)
|
|
163
|
+
return false;
|
|
164
|
+
for (const key of ['activationId', 'artifactId', 'artifactDigest', 'approvalId', 'candidateId', 'principleId', 'bindingDecisionId', 'causeId', 'requestId', 'ownerId', 'credentialId', 'feedback', 'consumedAt']) {
|
|
165
|
+
const field = Reflect.get(value, key);
|
|
166
|
+
if (typeof field !== 'string' || field.trim() === '')
|
|
167
|
+
return false;
|
|
168
|
+
}
|
|
169
|
+
const digest = Reflect.get(value, 'artifactDigest');
|
|
170
|
+
if (typeof digest !== 'string' || !/^sha256:[0-9a-f]{64}$/.test(digest))
|
|
171
|
+
return false;
|
|
172
|
+
for (const key of ['bindingRevision', 'controlVersion', 'taskRevisionEpoch']) {
|
|
173
|
+
const field = Reflect.get(value, key);
|
|
174
|
+
if (typeof field !== 'number' || !Number.isSafeInteger(field) || field < 1)
|
|
175
|
+
return false;
|
|
176
|
+
}
|
|
177
|
+
return true;
|
|
178
|
+
}
|
|
179
|
+
/** rc-1/rc-4: receipt 是 untrusted runtime data(diagnosticJson 反序列化侧)。 */
|
|
180
|
+
const SOURCE_CORRECTION_REOPEN_OUTCOME_KINDS = [
|
|
181
|
+
'reopened', 'reopened_earlier', 'already_in_flight', 'conflict', 'task_missing',
|
|
182
|
+
];
|
|
183
|
+
function isValidSourceCorrectionReceipt(value) {
|
|
184
|
+
if (typeof value !== 'object' || value === null || Array.isArray(value))
|
|
185
|
+
return false;
|
|
186
|
+
const r = value;
|
|
187
|
+
if (r.version !== 1)
|
|
188
|
+
return false;
|
|
189
|
+
for (const key of ['candidateId', 'scribeTaskId', 'artificerTaskId', 'sourceArtifactId', 'decisionId', 'expectedStopReasonCode', 'reason', 'actor', 'requestId', 'consumedAt']) {
|
|
190
|
+
if (typeof r[key] !== 'string' || r[key].trim() === '')
|
|
191
|
+
return false;
|
|
192
|
+
}
|
|
193
|
+
// PRI-1047 Owner review R6 #6: NO implicit coercion — an ARRAY wrapping a
|
|
194
|
+
// valid digest string previously passed `/regex/.test(array)` (String
|
|
195
|
+
// coercion) and an array-wrapped kind passed `includes(String(kind))`.
|
|
196
|
+
// Strict typeof gates first (rc-2: an `as` must never replace runtime
|
|
197
|
+
// validation, including the regex/`includes` argument itself).
|
|
198
|
+
if (typeof r.sourceArtifactDigest !== 'string')
|
|
199
|
+
return false;
|
|
200
|
+
if (!/^sha256:[0-9a-f]{64}$/.test(r.sourceArtifactDigest))
|
|
201
|
+
return false;
|
|
202
|
+
if (typeof r.bindingRevision !== 'number' || !Number.isSafeInteger(r.bindingRevision) || r.bindingRevision < 1)
|
|
203
|
+
return false;
|
|
204
|
+
if (r.status !== 'consumed')
|
|
205
|
+
return false;
|
|
206
|
+
if (Object.hasOwn(r, 'reopenOutcome') && r.reopenOutcome !== undefined) {
|
|
207
|
+
const outcome = r.reopenOutcome;
|
|
208
|
+
if (typeof outcome !== 'object' || outcome === null || Array.isArray(outcome))
|
|
209
|
+
return false;
|
|
210
|
+
const o = outcome;
|
|
211
|
+
if (typeof o.kind !== 'string' || !SOURCE_CORRECTION_REOPEN_OUTCOME_KINDS.includes(o.kind))
|
|
212
|
+
return false;
|
|
213
|
+
if (typeof o.recordedAt !== 'string' || o.recordedAt.trim() === '')
|
|
214
|
+
return false;
|
|
215
|
+
if (Object.hasOwn(o, 'detail') && o.detail !== undefined && typeof o.detail !== 'string')
|
|
216
|
+
return false;
|
|
217
|
+
}
|
|
218
|
+
return true;
|
|
219
|
+
}
|
|
220
|
+
const TRUSTED_FACT_RESOLUTION_KINDS = new Set([
|
|
221
|
+
'approved', 'not_approved', 'not_required', 'unknown',
|
|
222
|
+
]);
|
|
223
|
+
const SOURCE_FAULT_MAX_CONSECUTIVE_FAILURES = 3;
|
|
224
|
+
/** rc-1/rc-2: structural validation for the derived verification record. */
|
|
225
|
+
export function isValidIntentBasisVerificationRecord(value) {
|
|
226
|
+
if (typeof value !== 'object' || value === null || Array.isArray(value))
|
|
227
|
+
return false;
|
|
228
|
+
const record = value;
|
|
229
|
+
if (record.version !== 1)
|
|
230
|
+
return false;
|
|
231
|
+
if (record.checkedBy !== 'deterministic-preflight')
|
|
232
|
+
return false;
|
|
233
|
+
if (typeof record.checkedAt !== 'string' || record.checkedAt.trim() === '')
|
|
234
|
+
return false;
|
|
235
|
+
if (typeof record.sourceScribeArtifactId !== 'string' || record.sourceScribeArtifactId.trim() === '')
|
|
236
|
+
return false;
|
|
237
|
+
if (typeof record.scribeArtifactDigest !== 'string' || !/^sha256:[0-9a-f]{64}$/.test(record.scribeArtifactDigest))
|
|
238
|
+
return false;
|
|
239
|
+
if (record.intentContractDigest !== undefined
|
|
240
|
+
&& (typeof record.intentContractDigest !== 'string' || !/^sha256:[0-9a-f]{64}$/.test(record.intentContractDigest)))
|
|
241
|
+
return false;
|
|
242
|
+
if (record.executionConditionsDigest !== undefined
|
|
243
|
+
&& (typeof record.executionConditionsDigest !== 'string' || !/^sha256:[0-9a-f]{64}$/.test(record.executionConditionsDigest)))
|
|
244
|
+
return false;
|
|
245
|
+
if (!Array.isArray(record.requiredFacts))
|
|
246
|
+
return false;
|
|
247
|
+
for (const fact of record.requiredFacts) {
|
|
248
|
+
if (typeof fact !== 'object' || fact === null || Array.isArray(fact))
|
|
249
|
+
return false;
|
|
250
|
+
const entry = fact;
|
|
251
|
+
if (typeof entry.factKind !== 'string' || entry.factKind.trim() === '')
|
|
252
|
+
return false;
|
|
253
|
+
if (typeof entry.resolution !== 'string' || !TRUSTED_FACT_RESOLUTION_KINDS.has(entry.resolution))
|
|
254
|
+
return false;
|
|
255
|
+
}
|
|
256
|
+
if (record.result !== 'executable')
|
|
257
|
+
return false;
|
|
258
|
+
return true;
|
|
259
|
+
}
|
|
260
|
+
/** rc-1/rc-2: structural validation for the source-fault backoff state. */
|
|
261
|
+
export function isValidSourceFaultBackoffRecord(value) {
|
|
262
|
+
if (typeof value !== 'object' || value === null || Array.isArray(value))
|
|
263
|
+
return false;
|
|
264
|
+
const record = value;
|
|
265
|
+
if (record.version !== 1)
|
|
266
|
+
return false;
|
|
267
|
+
if (typeof record.consecutiveFailures !== 'number' || !Number.isInteger(record.consecutiveFailures)
|
|
268
|
+
|| record.consecutiveFailures < 1 || record.consecutiveFailures > SOURCE_FAULT_MAX_CONSECUTIVE_FAILURES)
|
|
269
|
+
return false;
|
|
270
|
+
if (typeof record.skipCycles !== 'number' || !Number.isInteger(record.skipCycles) || record.skipCycles < 0)
|
|
271
|
+
return false;
|
|
272
|
+
if (typeof record.lastReason !== 'string' || record.lastReason.trim() === '')
|
|
273
|
+
return false;
|
|
274
|
+
if (typeof record.updatedAt !== 'string' || record.updatedAt.trim() === '')
|
|
275
|
+
return false;
|
|
276
|
+
return true;
|
|
277
|
+
}
|
|
278
|
+
export const SOURCE_FAULT_PERSISTENT_REASON_CODE = 'source_fault_persistent';
|
|
279
|
+
export { SOURCE_FAULT_MAX_CONSECUTIVE_FAILURES };
|
|
280
|
+
/** PRI-991 (r2 P1-02): retention bound for durable per-task recovery facts. */
|
|
281
|
+
export const FAILED_TASK_RECOVERY_RETENTION = 5;
|
|
282
|
+
const RUNNER_DECISIONS = new Set([
|
|
283
|
+
'approved', 'needs_revision', 'rejected', 'approve_rollout', 'reject',
|
|
284
|
+
]);
|
|
285
|
+
// ── Serialization ──────────────────────────────────────────────────────────────
|
|
286
|
+
/**
|
|
287
|
+
* Serialize PITaskMetadata into a JSON string suitable for TaskRecord.diagnosticJson.
|
|
288
|
+
* Uses a namespaced envelope: { "pi_metadata": { ... } }
|
|
289
|
+
*/
|
|
290
|
+
export function serializePITaskMetadata(metadata) {
|
|
291
|
+
return JSON.stringify({
|
|
292
|
+
[PI_METADATA_KEY]: {
|
|
293
|
+
dependencyTaskIds: metadata.dependencyTaskIds,
|
|
294
|
+
channel: metadata.channel,
|
|
295
|
+
pipelineMode: metadata.pipelineMode,
|
|
296
|
+
timeoutMs: metadata.timeoutMs,
|
|
297
|
+
inputArtifactRefs: metadata.inputArtifactRefs,
|
|
298
|
+
outputArtifactRefs: metadata.outputArtifactRefs,
|
|
299
|
+
parentTaskId: metadata.parentTaskId,
|
|
300
|
+
correlationId: metadata.correlationId,
|
|
301
|
+
rejectionCount: metadata.rejectionCount,
|
|
302
|
+
adversarialFeedback: metadata.adversarialFeedback,
|
|
303
|
+
repairPayload: metadata.repairPayload,
|
|
304
|
+
runnerDecision: metadata.runnerDecision,
|
|
305
|
+
revisionCount: metadata.revisionCount,
|
|
306
|
+
revisionFeedback: metadata.revisionFeedback,
|
|
307
|
+
revisionCauseId: metadata.revisionCauseId,
|
|
308
|
+
ruleBindingRevisionCauseId: metadata.ruleBindingRevisionCauseId,
|
|
309
|
+
sourceCorrectionCauseId: metadata.sourceCorrectionCauseId,
|
|
310
|
+
sourceCorrectionReceipt: metadata.sourceCorrectionReceipt,
|
|
311
|
+
approvedRuleRevisions: metadata.approvedRuleRevisions,
|
|
312
|
+
rolloutRevisionPayload: metadata.rolloutRevisionPayload,
|
|
313
|
+
completionIntent: metadata.completionIntent,
|
|
314
|
+
humanReviewContext: metadata.humanReviewContext,
|
|
315
|
+
ownerResolutions: metadata.ownerResolutions,
|
|
316
|
+
ownerEvidenceSelection: metadata.ownerEvidenceSelection,
|
|
317
|
+
failedTaskRecoveries: metadata.failedTaskRecoveries,
|
|
318
|
+
intentBasisVerification: metadata.intentBasisVerification,
|
|
319
|
+
sourceFaultBackoff: metadata.sourceFaultBackoff,
|
|
320
|
+
},
|
|
321
|
+
});
|
|
322
|
+
}
|
|
323
|
+
/** Alias for serializePITaskMetadata — explicit name for adapter/consumer use. */
|
|
324
|
+
export const createPITaskDiagnosticJson = serializePITaskMetadata;
|
|
325
|
+
/**
|
|
326
|
+
* 从已 hydrate 的 PITaskRecord 重建可写 PITaskMetadata,浅覆盖指定字段。
|
|
327
|
+
*
|
|
328
|
+
* 单一重建点 (DRY): evaluator/rollout 的 verdict 记录、修订路由记录、
|
|
329
|
+
* orchestrator 的 revision reopen 共用同一字段搬运逻辑——此前 4 处手写
|
|
330
|
+
* 逐字段 spread,新增字段时容易漏抄 (Phase 3.5 consolidation)。
|
|
331
|
+
* 注意: overrides 中显式 undefined 会覆盖为 undefined (serialize 时省略键),
|
|
332
|
+
* 用于"清除旧 verdict"语义。
|
|
333
|
+
*/
|
|
334
|
+
export function mergePITaskMetadata(base, overrides) {
|
|
335
|
+
return {
|
|
336
|
+
dependencyTaskIds: base.dependencyTaskIds,
|
|
337
|
+
channel: base.channel,
|
|
338
|
+
pipelineMode: base.pipelineMode,
|
|
339
|
+
timeoutMs: base.timeoutMs,
|
|
340
|
+
inputArtifactRefs: base.inputArtifactRefs,
|
|
341
|
+
outputArtifactRefs: base.outputArtifactRefs,
|
|
342
|
+
parentTaskId: base.parentTaskId,
|
|
343
|
+
correlationId: base.correlationId,
|
|
344
|
+
rejectionCount: base.rejectionCount,
|
|
345
|
+
adversarialFeedback: base.adversarialFeedback,
|
|
346
|
+
repairPayload: base.repairPayload,
|
|
347
|
+
runnerDecision: base.runnerDecision,
|
|
348
|
+
revisionCount: base.revisionCount,
|
|
349
|
+
revisionFeedback: base.revisionFeedback,
|
|
350
|
+
revisionCauseId: base.revisionCauseId,
|
|
351
|
+
ruleBindingRevisionCauseId: base.ruleBindingRevisionCauseId,
|
|
352
|
+
sourceCorrectionCauseId: base.sourceCorrectionCauseId,
|
|
353
|
+
sourceCorrectionReceipt: base.sourceCorrectionReceipt,
|
|
354
|
+
approvedRuleRevisions: base.approvedRuleRevisions,
|
|
355
|
+
rolloutRevisionPayload: base.rolloutRevisionPayload,
|
|
356
|
+
completionIntent: base.completionIntent,
|
|
357
|
+
humanReviewContext: base.humanReviewContext,
|
|
358
|
+
ownerResolutions: base.ownerResolutions,
|
|
359
|
+
ownerEvidenceSelection: base.ownerEvidenceSelection,
|
|
360
|
+
failedTaskRecoveries: base.failedTaskRecoveries,
|
|
361
|
+
intentBasisVerification: base.intentBasisVerification,
|
|
362
|
+
sourceFaultBackoff: base.sourceFaultBackoff,
|
|
363
|
+
...overrides,
|
|
364
|
+
};
|
|
365
|
+
}
|
|
366
|
+
// ── ArtifactRef validation ─────────────────────────────────────────────────────
|
|
367
|
+
/**
|
|
368
|
+
* Validates a value is a valid ArtifactRef { artifactType: string, ref: string }.
|
|
369
|
+
* artifactType is accepted as any string — runtime validation of PIArtifactKind
|
|
370
|
+
* is the caller's responsibility when creating the record.
|
|
371
|
+
*/
|
|
372
|
+
function isValidArtifactRef(value) {
|
|
373
|
+
if (typeof value !== 'object' || value === null)
|
|
374
|
+
return false;
|
|
375
|
+
const r = value;
|
|
376
|
+
return typeof r.artifactType === 'string' && r.artifactType.trim() !== '' &&
|
|
377
|
+
typeof r.ref === 'string' && r.ref.trim() !== '';
|
|
378
|
+
}
|
|
379
|
+
/**
|
|
380
|
+
* Validates a value is a valid RepairPayload (PRI-509).
|
|
381
|
+
*
|
|
382
|
+
* Trust boundary (rc-1, rc-2): repairPayload originates from evaluator LLM
|
|
383
|
+
* output persisted into diagnosticJson. Treat as unknown and validate every
|
|
384
|
+
* field before returning. No `as` casts that bypass validation.
|
|
385
|
+
*
|
|
386
|
+
* Validation rules:
|
|
387
|
+
* - requiredChanges: non-empty array of non-empty strings (rc-4)
|
|
388
|
+
* - concerns: array of non-empty strings (can be empty)
|
|
389
|
+
* - previousScore: finite number
|
|
390
|
+
* - repairIteration: positive integer, upper bound of 2 (rc-3 fail-closed
|
|
391
|
+
* at the trust boundary — the documented contract is "max 2 rounds"; a
|
|
392
|
+
* payload with repairIteration: 3 must be rejected here rather than
|
|
393
|
+
* relying on the runtime caller's priorRepairIteration >= 2 check)
|
|
394
|
+
* - sourceArtificerArtifactId: non-empty string
|
|
395
|
+
* - sourceEvaluatorTaskId: non-empty string
|
|
396
|
+
* - diagnosticReplay: optional object with ran (bool), passed (bool),
|
|
397
|
+
* failedCaseCount (non-negative integer). Absence is valid; presence
|
|
398
|
+
* validates all fields strictly (rc-1, rc-3).
|
|
399
|
+
*/
|
|
400
|
+
function isValidRepairPayload(value) {
|
|
401
|
+
if (typeof value !== 'object' || value === null || Array.isArray(value))
|
|
402
|
+
return false;
|
|
403
|
+
const p = value;
|
|
404
|
+
// rc-4: validate array elements are non-empty strings.
|
|
405
|
+
if (!Array.isArray(p.requiredChanges) || p.requiredChanges.length === 0)
|
|
406
|
+
return false;
|
|
407
|
+
for (const c of p.requiredChanges) {
|
|
408
|
+
if (typeof c !== 'string' || c.trim() === '')
|
|
409
|
+
return false;
|
|
410
|
+
}
|
|
411
|
+
if (!Array.isArray(p.concerns))
|
|
412
|
+
return false;
|
|
413
|
+
for (const c of p.concerns) {
|
|
414
|
+
if (typeof c !== 'string' || c.trim() === '')
|
|
415
|
+
return false;
|
|
416
|
+
}
|
|
417
|
+
if (typeof p.previousScore !== 'number' || !Number.isFinite(p.previousScore))
|
|
418
|
+
return false;
|
|
419
|
+
// rc-3: enforce the documented max-2-rounds contract at the trust boundary.
|
|
420
|
+
// repairIteration must be a positive integer in [1, 2]; reject 3+ here so
|
|
421
|
+
// a malformed payload cannot bypass the runtime caller's max-iteration guard.
|
|
422
|
+
if (typeof p.repairIteration !== 'number'
|
|
423
|
+
|| !Number.isInteger(p.repairIteration)
|
|
424
|
+
|| p.repairIteration < 1
|
|
425
|
+
|| p.repairIteration > 2)
|
|
426
|
+
return false;
|
|
427
|
+
if (typeof p.sourceArtificerArtifactId !== 'string' || p.sourceArtificerArtifactId.trim() === '')
|
|
428
|
+
return false;
|
|
429
|
+
if (typeof p.sourceEvaluatorTaskId !== 'string' || p.sourceEvaluatorTaskId.trim() === '')
|
|
430
|
+
return false;
|
|
431
|
+
// PRI-634 R4 (P1-2): optional diagnosticReplay — validate when present.
|
|
432
|
+
if (p.diagnosticReplay !== undefined) {
|
|
433
|
+
if (typeof p.diagnosticReplay !== 'object' || p.diagnosticReplay === null || Array.isArray(p.diagnosticReplay))
|
|
434
|
+
return false;
|
|
435
|
+
const dr = p.diagnosticReplay;
|
|
436
|
+
if (typeof dr.ran !== 'boolean')
|
|
437
|
+
return false;
|
|
438
|
+
if (typeof dr.passed !== 'boolean')
|
|
439
|
+
return false;
|
|
440
|
+
if (typeof dr.failedCaseCount !== 'number' || !Number.isInteger(dr.failedCaseCount) || dr.failedCaseCount < 0)
|
|
441
|
+
return false;
|
|
442
|
+
}
|
|
443
|
+
// PRI-705 / PRI-703 Phase 2: optional failureAttribution — validate when
|
|
444
|
+
// present (rc-1/rc-4; malformed attribution fails the payload loudly so a
|
|
445
|
+
// corrupted attribution context can never silently steer the repair prompt).
|
|
446
|
+
if (p.failureAttribution !== undefined) {
|
|
447
|
+
if (typeof p.failureAttribution !== 'object' || p.failureAttribution === null || Array.isArray(p.failureAttribution))
|
|
448
|
+
return false;
|
|
449
|
+
const fa = p.failureAttribution;
|
|
450
|
+
if (typeof fa.attribution !== 'string' || fa.attribution.trim() === '')
|
|
451
|
+
return false;
|
|
452
|
+
if (typeof fa.reason !== 'string' || fa.reason.trim() === '')
|
|
453
|
+
return false;
|
|
454
|
+
if (fa.outOfScopeCaseIds !== undefined) {
|
|
455
|
+
if (!Array.isArray(fa.outOfScopeCaseIds))
|
|
456
|
+
return false;
|
|
457
|
+
for (const id of fa.outOfScopeCaseIds) {
|
|
458
|
+
if (typeof id !== 'string' || id.trim() === '')
|
|
459
|
+
return false;
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
}
|
|
463
|
+
return true;
|
|
464
|
+
}
|
|
465
|
+
const OWNER_RESOLUTION_ACTIONS = new Set(['accept_current', 'revise_once', 'reject_current']);
|
|
466
|
+
/**
|
|
467
|
+
* Type guard over the SINGLE selection shape authority (evidence-readiness.ts).
|
|
468
|
+
* An empty problem list means the parsed value satisfies exactly the same
|
|
469
|
+
* structural contract the readiness gate enforces — one definition of "a
|
|
470
|
+
* usable Owner selection" (P4), no divergent metadata-local rules.
|
|
471
|
+
*/
|
|
472
|
+
function isValidOwnerEvidenceSelection(value) {
|
|
473
|
+
return validateOwnerEvidenceSelectionShape(value).length === 0;
|
|
474
|
+
}
|
|
475
|
+
function isNonEmptyString(v) {
|
|
476
|
+
return typeof v === 'string' && v.trim() !== '';
|
|
477
|
+
}
|
|
478
|
+
/** PRI-991 (P1-03): ERR-001-safe record narrowing for untrusted parsed JSON. */
|
|
479
|
+
function isRecordMap(value) {
|
|
480
|
+
return typeof value === 'object' && value !== null && !Array.isArray(value);
|
|
481
|
+
}
|
|
482
|
+
/**
|
|
483
|
+
* PRI-991 (P1-03): trust boundary for the durable single-task recovery audit
|
|
484
|
+
* fact read back from diagnosticJson (rc-1/rc-2 — type guard, no `as` bypass).
|
|
485
|
+
*/
|
|
486
|
+
export function isValidFailedTaskRecoveryAuditRecord(value) {
|
|
487
|
+
if (!isRecordMap(value))
|
|
488
|
+
return false;
|
|
489
|
+
const r = value;
|
|
490
|
+
if (!isNonEmptyString(r.actionId))
|
|
491
|
+
return false;
|
|
492
|
+
if (!isNonEmptyString(r.recoveredAt))
|
|
493
|
+
return false;
|
|
494
|
+
if (!(r.operator === null || typeof r.operator === 'string'))
|
|
495
|
+
return false;
|
|
496
|
+
if (typeof r.previousStatus !== 'string')
|
|
497
|
+
return false;
|
|
498
|
+
if (typeof r.previousAttemptCount !== 'number' || !Number.isSafeInteger(r.previousAttemptCount) || r.previousAttemptCount < 0)
|
|
499
|
+
return false;
|
|
500
|
+
if (typeof r.previousMaxAttempts !== 'number' || !Number.isSafeInteger(r.previousMaxAttempts) || r.previousMaxAttempts < 1)
|
|
501
|
+
return false;
|
|
502
|
+
if (typeof r.newMaxAttempts !== 'number' || !Number.isSafeInteger(r.newMaxAttempts) || r.newMaxAttempts < 1)
|
|
503
|
+
return false;
|
|
504
|
+
if (typeof r.budgetResetApplied !== 'boolean')
|
|
505
|
+
return false;
|
|
506
|
+
return true;
|
|
507
|
+
}
|
|
508
|
+
/**
|
|
509
|
+
* Trust boundary (rc-1/rc-2): humanReviewContext 从 diagnosticJson (DB 行) 读回,
|
|
510
|
+
* 按未知值逐字段校验。reasonCode 接受任意非空串 (前向兼容: 分类侧对未知码
|
|
511
|
+
* fail closed 到 recovery),结构性损坏则整体 fail closed。
|
|
512
|
+
*/
|
|
513
|
+
function isValidHumanReviewContext(value) {
|
|
514
|
+
if (typeof value !== 'object' || value === null || Array.isArray(value))
|
|
515
|
+
return false;
|
|
516
|
+
const c = value;
|
|
517
|
+
if (!isNonEmptyString(c.reasonCode))
|
|
518
|
+
return false;
|
|
519
|
+
if (!isNonEmptyString(c.sourceRunId))
|
|
520
|
+
return false;
|
|
521
|
+
if (c.sourceArtifactId !== undefined && !isNonEmptyString(c.sourceArtifactId))
|
|
522
|
+
return false;
|
|
523
|
+
if (c.sourceArtifactHash !== undefined && !isNonEmptyString(c.sourceArtifactHash))
|
|
524
|
+
return false;
|
|
525
|
+
if (typeof c.revisionEpoch !== 'number' || !Number.isInteger(c.revisionEpoch) || c.revisionEpoch < 0)
|
|
526
|
+
return false;
|
|
527
|
+
if (!isNonEmptyString(c.createdAt))
|
|
528
|
+
return false;
|
|
529
|
+
// PRI-634: detail 是 trust boundary 内的可选字段 —— 一旦存在必须是 non-empty
|
|
530
|
+
// string。省略该检查会让 DB 中的 { detail: {...} } / 数组 / 数字静默穿过
|
|
531
|
+
// 校验,hydrate 成静态类型声称 detail?: string 的对象,下游 .trim()/.slice()
|
|
532
|
+
// 直接打崩展示路径 (rc-1/rc-2 runtime validation)。
|
|
533
|
+
if (c.detail !== undefined && !isNonEmptyString(c.detail))
|
|
534
|
+
return false;
|
|
535
|
+
return true;
|
|
536
|
+
}
|
|
537
|
+
/**
|
|
538
|
+
* Trust boundary (rc-1/rc-2/rc-4): ownerResolutions 是治理 authority log,
|
|
539
|
+
* 每条记录逐字段严格校验;resolutionId / reviewKey 在数组内必须唯一 (重复 =
|
|
540
|
+
* authority 腐坏,fail closed 整条 metadata,禁止静默取第一条)。
|
|
541
|
+
*/
|
|
542
|
+
function isValidOwnerResolutions(value) {
|
|
543
|
+
if (!Array.isArray(value))
|
|
544
|
+
return false;
|
|
545
|
+
const seenResolutionIds = new Set();
|
|
546
|
+
const seenReviewKeys = new Set();
|
|
547
|
+
for (const item of value) {
|
|
548
|
+
if (typeof item !== 'object' || item === null || Array.isArray(item))
|
|
549
|
+
return false;
|
|
550
|
+
const r = item;
|
|
551
|
+
if (!isNonEmptyString(r.resolutionId) || !isNonEmptyString(r.reviewKey))
|
|
552
|
+
return false;
|
|
553
|
+
if (typeof r.action !== 'string' || !OWNER_RESOLUTION_ACTIONS.has(r.action))
|
|
554
|
+
return false;
|
|
555
|
+
if (r.status !== 'pending' && r.status !== 'applied')
|
|
556
|
+
return false;
|
|
557
|
+
if (!isNonEmptyString(r.ownerId))
|
|
558
|
+
return false;
|
|
559
|
+
if (r.credentialId !== undefined && !isNonEmptyString(r.credentialId))
|
|
560
|
+
return false;
|
|
561
|
+
if (!isNonEmptyString(r.decidedAt))
|
|
562
|
+
return false;
|
|
563
|
+
if (r.appliedAt !== undefined && !isNonEmptyString(r.appliedAt))
|
|
564
|
+
return false;
|
|
565
|
+
if (!isNonEmptyString(r.sourceRunId))
|
|
566
|
+
return false;
|
|
567
|
+
if (!isNonEmptyString(r.sourceArtifactId))
|
|
568
|
+
return false;
|
|
569
|
+
if (!isNonEmptyString(r.sourceArtifactHash))
|
|
570
|
+
return false;
|
|
571
|
+
if (typeof r.revisionEpoch !== 'number' || !Number.isInteger(r.revisionEpoch) || r.revisionEpoch < 0)
|
|
572
|
+
return false;
|
|
573
|
+
if (typeof r.machineDecision !== 'string' || !RUNNER_DECISIONS.has(r.machineDecision))
|
|
574
|
+
return false;
|
|
575
|
+
if (r.effectiveDecision !== undefined
|
|
576
|
+
&& (typeof r.effectiveDecision !== 'string' || !RUNNER_DECISIONS.has(r.effectiveDecision)))
|
|
577
|
+
return false;
|
|
578
|
+
if (r.targetTaskId !== undefined && !isNonEmptyString(r.targetTaskId))
|
|
579
|
+
return false;
|
|
580
|
+
if (r.targetRevisionCauseId !== undefined && !isNonEmptyString(r.targetRevisionCauseId))
|
|
581
|
+
return false;
|
|
582
|
+
if (r.ownerInstruction !== undefined && !isNonEmptyString(r.ownerInstruction))
|
|
583
|
+
return false;
|
|
584
|
+
if (r.evidenceDigest !== undefined && !isNonEmptyString(r.evidenceDigest))
|
|
585
|
+
return false;
|
|
586
|
+
// Manifest validation is declared below with the other v1.2 evidence guards.
|
|
587
|
+
// eslint-disable-next-line @typescript-eslint/no-use-before-define
|
|
588
|
+
if (r.evidenceManifest !== undefined && !isValidEvidenceManifest(r.evidenceManifest))
|
|
589
|
+
return false;
|
|
590
|
+
if (r.evidenceAcknowledgement !== undefined) {
|
|
591
|
+
if (typeof r.evidenceAcknowledgement !== 'object' || r.evidenceAcknowledgement === null
|
|
592
|
+
|| Array.isArray(r.evidenceAcknowledgement))
|
|
593
|
+
return false;
|
|
594
|
+
const acknowledgement = r.evidenceAcknowledgement;
|
|
595
|
+
if (acknowledgement.kind !== 'partial_evidence' || acknowledgement.acknowledged !== true)
|
|
596
|
+
return false;
|
|
597
|
+
if (acknowledgement.note !== undefined && !isNonEmptyString(acknowledgement.note))
|
|
598
|
+
return false;
|
|
599
|
+
}
|
|
600
|
+
if (seenResolutionIds.has(r.resolutionId) || seenReviewKeys.has(r.reviewKey))
|
|
601
|
+
return false;
|
|
602
|
+
seenResolutionIds.add(r.resolutionId);
|
|
603
|
+
seenReviewKeys.add(r.reviewKey);
|
|
604
|
+
}
|
|
605
|
+
return true;
|
|
606
|
+
}
|
|
607
|
+
function isValidEvidenceManifest(value) {
|
|
608
|
+
if (typeof value !== 'object' || value === null || Array.isArray(value))
|
|
609
|
+
return false;
|
|
610
|
+
const manifest = value;
|
|
611
|
+
if (manifest.schemaVersion !== 'owner-review-evidence-v1' || manifest.digestAlgorithm !== 'sha256')
|
|
612
|
+
return false;
|
|
613
|
+
if (!Array.isArray(manifest.sources) || manifest.sources.length > 16)
|
|
614
|
+
return false;
|
|
615
|
+
for (const source of manifest.sources) {
|
|
616
|
+
if (typeof source !== 'object' || source === null || Array.isArray(source))
|
|
617
|
+
return false;
|
|
618
|
+
const record = source;
|
|
619
|
+
if (!isNonEmptyString(record.role) || !isNonEmptyString(record.stableId) || !isNonEmptyString(record.contentHash))
|
|
620
|
+
return false;
|
|
621
|
+
}
|
|
622
|
+
if (typeof manifest.semanticFacts !== 'object' || manifest.semanticFacts === null
|
|
623
|
+
|| Array.isArray(manifest.semanticFacts))
|
|
624
|
+
return false;
|
|
625
|
+
const semantic = manifest.semanticFacts;
|
|
626
|
+
if (semantic.completeness !== 'complete' && semantic.completeness !== 'partial'
|
|
627
|
+
&& semantic.completeness !== 'insufficient')
|
|
628
|
+
return false;
|
|
629
|
+
if (!Array.isArray(semantic.deterministicStatuses) || semantic.deterministicStatuses.length > 16)
|
|
630
|
+
return false;
|
|
631
|
+
for (const status of semantic.deterministicStatuses) {
|
|
632
|
+
if (typeof status !== 'object' || status === null || Array.isArray(status))
|
|
633
|
+
return false;
|
|
634
|
+
const record = status;
|
|
635
|
+
if (!isNonEmptyString(record.check)
|
|
636
|
+
|| (record.status !== 'passed' && record.status !== 'failed'
|
|
637
|
+
&& record.status !== 'not_run' && record.status !== 'unavailable'))
|
|
638
|
+
return false;
|
|
639
|
+
}
|
|
640
|
+
if (!Array.isArray(semantic.offeredActions)
|
|
641
|
+
|| !semantic.offeredActions.every((action) => typeof action === 'string' && OWNER_RESOLUTION_ACTIONS.has(action)))
|
|
642
|
+
return false;
|
|
643
|
+
if (!isNonEmptyString(semantic.acceptRequirement) || !isNonEmptyString(semantic.briefSemanticHash))
|
|
644
|
+
return false;
|
|
645
|
+
return true;
|
|
646
|
+
}
|
|
647
|
+
// ── Parsing ─────────────────────────────────────────────────────────────────────
|
|
648
|
+
/**
|
|
649
|
+
* Parse a diagnosticJson string into PITaskMetadata.
|
|
650
|
+
* Returns null on any parse/validation failure (fail closed).
|
|
651
|
+
*
|
|
652
|
+
* Validation rules:
|
|
653
|
+
* - Must be valid JSON
|
|
654
|
+
* - Must contain pi_metadata key with all required fields
|
|
655
|
+
* - channel must be a valid InternalizationChannel
|
|
656
|
+
* - parentTaskId / correlationId if present must be non-empty strings
|
|
657
|
+
*/
|
|
658
|
+
export function parsePITaskMetadata(diagnosticJson) {
|
|
659
|
+
// Guard: must be non-empty string after trim
|
|
660
|
+
const trimmed = diagnosticJson.trim();
|
|
661
|
+
if (!trimmed)
|
|
662
|
+
return null;
|
|
663
|
+
let parsed;
|
|
664
|
+
try {
|
|
665
|
+
parsed = JSON.parse(trimmed);
|
|
666
|
+
}
|
|
667
|
+
catch {
|
|
668
|
+
return null;
|
|
669
|
+
}
|
|
670
|
+
if (!parsed || typeof parsed !== 'object' || Array.isArray(parsed))
|
|
671
|
+
return null;
|
|
672
|
+
const rawMeta = parsed[PI_METADATA_KEY];
|
|
673
|
+
if (rawMeta === null || typeof rawMeta !== 'object' || Array.isArray(rawMeta))
|
|
674
|
+
return null;
|
|
675
|
+
const m = rawMeta;
|
|
676
|
+
// Required fields
|
|
677
|
+
if (!Array.isArray(m.dependencyTaskIds))
|
|
678
|
+
return null;
|
|
679
|
+
for (const id of m.dependencyTaskIds) {
|
|
680
|
+
if (typeof id !== 'string')
|
|
681
|
+
return null;
|
|
682
|
+
}
|
|
683
|
+
if (typeof m.channel !== 'string')
|
|
684
|
+
return null;
|
|
685
|
+
if (!isInternalizationChannel(m.channel))
|
|
686
|
+
return null;
|
|
687
|
+
// pipelineMode (PRI-720): optional literal union; ABSENT = legacy full-chain record.
|
|
688
|
+
if (Object.hasOwn(m, 'pipelineMode') && m.pipelineMode !== undefined) {
|
|
689
|
+
if (!isPipelineTopologyMode(m.pipelineMode))
|
|
690
|
+
return null;
|
|
691
|
+
}
|
|
692
|
+
if (typeof m.timeoutMs !== 'number')
|
|
693
|
+
return null;
|
|
694
|
+
if (!Number.isFinite(m.timeoutMs) || m.timeoutMs <= 0)
|
|
695
|
+
return null;
|
|
696
|
+
if (!Array.isArray(m.inputArtifactRefs))
|
|
697
|
+
return null;
|
|
698
|
+
if (!Array.isArray(m.outputArtifactRefs))
|
|
699
|
+
return null;
|
|
700
|
+
// Validate each ArtifactRef element
|
|
701
|
+
for (const ref of m.inputArtifactRefs) {
|
|
702
|
+
if (!isValidArtifactRef(ref))
|
|
703
|
+
return null;
|
|
704
|
+
}
|
|
705
|
+
for (const ref of m.outputArtifactRefs) {
|
|
706
|
+
if (!isValidArtifactRef(ref))
|
|
707
|
+
return null;
|
|
708
|
+
}
|
|
709
|
+
// Optional fields: if present, must be non-empty strings (null is not accepted)
|
|
710
|
+
if (Object.hasOwn(m, 'parentTaskId') && m.parentTaskId !== undefined) {
|
|
711
|
+
if (typeof m.parentTaskId !== 'string')
|
|
712
|
+
return null;
|
|
713
|
+
if (m.parentTaskId.trim() === '')
|
|
714
|
+
return null;
|
|
715
|
+
}
|
|
716
|
+
if (Object.hasOwn(m, 'correlationId') && m.correlationId !== undefined) {
|
|
717
|
+
if (typeof m.correlationId !== 'string')
|
|
718
|
+
return null;
|
|
719
|
+
if (m.correlationId.trim() === '')
|
|
720
|
+
return null;
|
|
721
|
+
}
|
|
722
|
+
let rejectionCount = 0;
|
|
723
|
+
if (Object.hasOwn(m, 'rejectionCount') && m.rejectionCount !== undefined) {
|
|
724
|
+
if (typeof m.rejectionCount !== 'number' || !Number.isFinite(m.rejectionCount) || m.rejectionCount < 0)
|
|
725
|
+
return null;
|
|
726
|
+
rejectionCount = Math.floor(m.rejectionCount);
|
|
727
|
+
}
|
|
728
|
+
// adversarialFeedback (PRI-428): optional, non-empty string if present.
|
|
729
|
+
if (Object.hasOwn(m, 'adversarialFeedback') && m.adversarialFeedback !== undefined) {
|
|
730
|
+
if (typeof m.adversarialFeedback !== 'string')
|
|
731
|
+
return null;
|
|
732
|
+
if (m.adversarialFeedback.trim() === '')
|
|
733
|
+
return null;
|
|
734
|
+
}
|
|
735
|
+
// repairPayload (PRI-509): optional, must pass full validation if present.
|
|
736
|
+
// rc-3: if the key is present but the value is malformed, fail loud (return null)
|
|
737
|
+
// rather than silently dropping the field — the caller will see a null metadata
|
|
738
|
+
// and treat the task as non-PI, which surfaces the corruption.
|
|
739
|
+
let repairPayload;
|
|
740
|
+
if (Object.hasOwn(m, 'repairPayload') && m.repairPayload !== undefined) {
|
|
741
|
+
if (!isValidRepairPayload(m.repairPayload))
|
|
742
|
+
return null;
|
|
743
|
+
({ repairPayload } = m);
|
|
744
|
+
}
|
|
745
|
+
// runnerDecision (transition control, INV-02): optional literal union.
|
|
746
|
+
if (Object.hasOwn(m, 'runnerDecision') && m.runnerDecision !== undefined) {
|
|
747
|
+
if (typeof m.runnerDecision !== 'string' || !RUNNER_DECISIONS.has(m.runnerDecision))
|
|
748
|
+
return null;
|
|
749
|
+
}
|
|
750
|
+
// revisionCount: optional non-negative integer.
|
|
751
|
+
if (Object.hasOwn(m, 'revisionCount') && m.revisionCount !== undefined) {
|
|
752
|
+
if (typeof m.revisionCount !== 'number' || !Number.isInteger(m.revisionCount) || m.revisionCount < 0)
|
|
753
|
+
return null;
|
|
754
|
+
}
|
|
755
|
+
// revisionFeedback / revisionCauseId: optional non-empty strings.
|
|
756
|
+
if (Object.hasOwn(m, 'revisionFeedback') && m.revisionFeedback !== undefined) {
|
|
757
|
+
if (typeof m.revisionFeedback !== 'string' || m.revisionFeedback.trim() === '')
|
|
758
|
+
return null;
|
|
759
|
+
}
|
|
760
|
+
if (Object.hasOwn(m, 'revisionCauseId') && m.revisionCauseId !== undefined) {
|
|
761
|
+
if (typeof m.revisionCauseId !== 'string' || m.revisionCauseId.trim() === '')
|
|
762
|
+
return null;
|
|
763
|
+
}
|
|
764
|
+
if (Object.hasOwn(m, 'ruleBindingRevisionCauseId') && m.ruleBindingRevisionCauseId !== undefined) {
|
|
765
|
+
if (typeof m.ruleBindingRevisionCauseId !== 'string' || !m.ruleBindingRevisionCauseId.startsWith('rule-binding:') || m.ruleBindingRevisionCauseId.length > 512)
|
|
766
|
+
return null;
|
|
767
|
+
}
|
|
768
|
+
if (Object.hasOwn(m, 'sourceCorrectionCauseId') && m.sourceCorrectionCauseId !== undefined) {
|
|
769
|
+
if (typeof m.sourceCorrectionCauseId !== 'string' || !m.sourceCorrectionCauseId.startsWith('rule-source-correction:') || m.sourceCorrectionCauseId.length > 512)
|
|
770
|
+
return null;
|
|
771
|
+
}
|
|
772
|
+
let sourceCorrectionReceipt;
|
|
773
|
+
if (Object.hasOwn(m, 'sourceCorrectionReceipt') && m.sourceCorrectionReceipt !== undefined) {
|
|
774
|
+
if (!isValidSourceCorrectionReceipt(m.sourceCorrectionReceipt))
|
|
775
|
+
return null;
|
|
776
|
+
({ sourceCorrectionReceipt } = m);
|
|
777
|
+
}
|
|
778
|
+
let approvedRuleRevisions;
|
|
779
|
+
if (Object.hasOwn(m, 'approvedRuleRevisions') && m.approvedRuleRevisions !== undefined) {
|
|
780
|
+
if (!Array.isArray(m.approvedRuleRevisions) || !m.approvedRuleRevisions.every(isApprovedRuleRevisionReceipt))
|
|
781
|
+
return null;
|
|
782
|
+
({ approvedRuleRevisions } = m);
|
|
783
|
+
}
|
|
784
|
+
// rolloutRevisionPayload: optional, full validation (rc-1/rc-4).
|
|
785
|
+
let rolloutRevisionPayload;
|
|
786
|
+
if (Object.hasOwn(m, 'rolloutRevisionPayload') && m.rolloutRevisionPayload !== undefined) {
|
|
787
|
+
const p = m.rolloutRevisionPayload;
|
|
788
|
+
if (typeof p !== 'object' || p === null || Array.isArray(p))
|
|
789
|
+
return null;
|
|
790
|
+
const r = p;
|
|
791
|
+
if (!Array.isArray(r.requiredChanges) || r.requiredChanges.length === 0)
|
|
792
|
+
return null;
|
|
793
|
+
for (const c of r.requiredChanges) {
|
|
794
|
+
if (typeof c !== 'string' || c.trim() === '')
|
|
795
|
+
return null;
|
|
796
|
+
}
|
|
797
|
+
if (typeof r.revisionIteration !== 'number' || !Number.isInteger(r.revisionIteration)
|
|
798
|
+
|| r.revisionIteration < 1 || r.revisionIteration > 2)
|
|
799
|
+
return null;
|
|
800
|
+
if (typeof r.sourceRolloutTaskId !== 'string' || r.sourceRolloutTaskId.trim() === '')
|
|
801
|
+
return null;
|
|
802
|
+
if (typeof r.sourceArtifactId !== 'string' || r.sourceArtifactId.trim() === '')
|
|
803
|
+
return null;
|
|
804
|
+
if (r.targetTaskKind !== 'scribe' && r.targetTaskKind !== 'artificer')
|
|
805
|
+
return null;
|
|
806
|
+
// B: 可选 intent 状态,缺失视为旧形状 (=applied)
|
|
807
|
+
let intentStatus;
|
|
808
|
+
if (r.status !== undefined && r.status !== 'pending' && r.status !== 'applied')
|
|
809
|
+
return null;
|
|
810
|
+
if (r.status === 'pending' || r.status === 'applied')
|
|
811
|
+
intentStatus = r.status;
|
|
812
|
+
rolloutRevisionPayload = {
|
|
813
|
+
requiredChanges: r.requiredChanges,
|
|
814
|
+
revisionIteration: r.revisionIteration,
|
|
815
|
+
sourceRolloutTaskId: r.sourceRolloutTaskId,
|
|
816
|
+
sourceArtifactId: r.sourceArtifactId,
|
|
817
|
+
targetTaskKind: r.targetTaskKind,
|
|
818
|
+
status: intentStatus,
|
|
819
|
+
};
|
|
820
|
+
}
|
|
821
|
+
// completionIntent: optional, full validation (rc-1/rc-4). Malformed intent
|
|
822
|
+
// invalidates the whole metadata (fail-closed) — a corrupted authority
|
|
823
|
+
// record must never silently degrade into "no intent, re-ask the LLM".
|
|
824
|
+
let completionIntent;
|
|
825
|
+
if (Object.hasOwn(m, 'completionIntent') && m.completionIntent !== undefined) {
|
|
826
|
+
const p = m.completionIntent;
|
|
827
|
+
if (typeof p !== 'object' || p === null || Array.isArray(p))
|
|
828
|
+
return null;
|
|
829
|
+
const r = p;
|
|
830
|
+
if (typeof r.decision !== 'string' || !RUNNER_DECISIONS.has(r.decision))
|
|
831
|
+
return null;
|
|
832
|
+
if (typeof r.sourceRunId !== 'string' || r.sourceRunId.trim() === '')
|
|
833
|
+
return null;
|
|
834
|
+
if (typeof r.revisionEpoch !== 'number' || !Number.isInteger(r.revisionEpoch) || r.revisionEpoch < 0)
|
|
835
|
+
return null;
|
|
836
|
+
if (r.status !== 'pending' && r.status !== 'applied')
|
|
837
|
+
return null;
|
|
838
|
+
let revisionIteration;
|
|
839
|
+
if (r.revisionIteration !== undefined) {
|
|
840
|
+
if (typeof r.revisionIteration !== 'number' || !Number.isInteger(r.revisionIteration)
|
|
841
|
+
|| r.revisionIteration < 1 || r.revisionIteration > 2)
|
|
842
|
+
return null;
|
|
843
|
+
({ revisionIteration } = r);
|
|
844
|
+
}
|
|
845
|
+
// P0-A: 可选效果类型,缺失 = governance_transition
|
|
846
|
+
// Round-2 R2: 旧 'effect' 键与新的 selectedEffect 同义——两者都读,冲突
|
|
847
|
+
// 不可能由合法写入产生(写侧只写 selectedEffect + effectReasonCode)。
|
|
848
|
+
let effect;
|
|
849
|
+
const rawEffect = r.effect !== undefined ? r.effect : r.selectedEffect;
|
|
850
|
+
if (rawEffect !== undefined && rawEffect !== 'governance_transition' && rawEffect !== 'needs_human_review')
|
|
851
|
+
return null;
|
|
852
|
+
if (rawEffect === 'needs_human_review')
|
|
853
|
+
effect = 'needs_human_review';
|
|
854
|
+
// Round-2 R2: effectReasonCode — 非空字符串,缺失容忍 (resume 兜底)。
|
|
855
|
+
let effectReasonCode;
|
|
856
|
+
if (r.effectReasonCode !== undefined) {
|
|
857
|
+
if (typeof r.effectReasonCode !== 'string' || r.effectReasonCode.trim() === '')
|
|
858
|
+
return null;
|
|
859
|
+
({ effectReasonCode } = r);
|
|
860
|
+
}
|
|
861
|
+
let transitionOverrideReason;
|
|
862
|
+
const { transitionOverrideReason: rawTransitionOverrideReason } = r;
|
|
863
|
+
if (rawTransitionOverrideReason !== undefined) {
|
|
864
|
+
if (rawTransitionOverrideReason !== 'owner_golden_trace_provenance_missing')
|
|
865
|
+
return null;
|
|
866
|
+
transitionOverrideReason = rawTransitionOverrideReason;
|
|
867
|
+
}
|
|
868
|
+
completionIntent = {
|
|
869
|
+
decision: r.decision,
|
|
870
|
+
sourceRunId: r.sourceRunId,
|
|
871
|
+
revisionEpoch: r.revisionEpoch,
|
|
872
|
+
status: r.status,
|
|
873
|
+
revisionIteration,
|
|
874
|
+
...(effect !== undefined ? { effect } : {}),
|
|
875
|
+
...(effectReasonCode !== undefined ? { effectReasonCode } : {}),
|
|
876
|
+
...(transitionOverrideReason !== undefined ? { transitionOverrideReason } : {}),
|
|
877
|
+
};
|
|
878
|
+
}
|
|
879
|
+
// humanReviewContext (PRI-629): optional, full validation; malformed fails
|
|
880
|
+
// the whole metadata (authority record corruption must surface, not degrade).
|
|
881
|
+
let humanReviewContext;
|
|
882
|
+
if (Object.hasOwn(m, 'humanReviewContext') && m.humanReviewContext !== undefined) {
|
|
883
|
+
if (!isValidHumanReviewContext(m.humanReviewContext))
|
|
884
|
+
return null;
|
|
885
|
+
({ humanReviewContext } = m);
|
|
886
|
+
}
|
|
887
|
+
// ownerResolutions (PRI-629): optional, full validation (rc-1/rc-4).
|
|
888
|
+
let ownerResolutions;
|
|
889
|
+
if (Object.hasOwn(m, 'ownerResolutions') && m.ownerResolutions !== undefined) {
|
|
890
|
+
if (!isValidOwnerResolutions(m.ownerResolutions))
|
|
891
|
+
return null;
|
|
892
|
+
({ ownerResolutions } = m);
|
|
893
|
+
}
|
|
894
|
+
// ownerEvidenceSelection (PRI-982 FR-03): optional, full shape validation
|
|
895
|
+
// via the SINGLE selection authority (evidence-readiness.ts). A corrupted
|
|
896
|
+
// authority record fails the whole metadata (fail-closed) — it must never
|
|
897
|
+
// silently read as "Owner has not provided evidence".
|
|
898
|
+
let ownerEvidenceSelection;
|
|
899
|
+
if (Object.hasOwn(m, 'ownerEvidenceSelection') && m.ownerEvidenceSelection !== undefined) {
|
|
900
|
+
if (!isValidOwnerEvidenceSelection(m.ownerEvidenceSelection))
|
|
901
|
+
return null;
|
|
902
|
+
({ ownerEvidenceSelection } = m);
|
|
903
|
+
}
|
|
904
|
+
// failedTaskRecoveries (PRI-991 P1-03, r2 P1-02): optional append-only
|
|
905
|
+
// array, full shape validation on EVERY element (rc-3/rc-4) — a corrupted
|
|
906
|
+
// recovery audit fact fails the whole metadata, never a silent "this task
|
|
907
|
+
// was never recovered". Bounded retention; over-long arrays fail closed.
|
|
908
|
+
const { failedTaskRecoveries } = m;
|
|
909
|
+
if (failedTaskRecoveries !== undefined) {
|
|
910
|
+
if (!Array.isArray(failedTaskRecoveries))
|
|
911
|
+
return null;
|
|
912
|
+
if (failedTaskRecoveries.length > FAILED_TASK_RECOVERY_RETENTION)
|
|
913
|
+
return null;
|
|
914
|
+
for (const record of failedTaskRecoveries) {
|
|
915
|
+
if (!isValidFailedTaskRecoveryAuditRecord(record))
|
|
916
|
+
return null;
|
|
917
|
+
}
|
|
918
|
+
}
|
|
919
|
+
// SPEC-RULECODE-QUALITY-001 A1/§9: both new authority-adjacent records are
|
|
920
|
+
// optional, present-but-malformed fails the whole metadata (rc-3 — a
|
|
921
|
+
// corrupted verification record or retry state must surface, never
|
|
922
|
+
// silently read as "never verified" / "no retry state").
|
|
923
|
+
let intentBasisVerification;
|
|
924
|
+
if (Object.hasOwn(m, 'intentBasisVerification') && m.intentBasisVerification !== undefined) {
|
|
925
|
+
if (!isValidIntentBasisVerificationRecord(m.intentBasisVerification))
|
|
926
|
+
return null;
|
|
927
|
+
({ intentBasisVerification } = m);
|
|
928
|
+
}
|
|
929
|
+
let sourceFaultBackoff;
|
|
930
|
+
if (Object.hasOwn(m, 'sourceFaultBackoff') && m.sourceFaultBackoff !== undefined) {
|
|
931
|
+
if (!isValidSourceFaultBackoffRecord(m.sourceFaultBackoff))
|
|
932
|
+
return null;
|
|
933
|
+
({ sourceFaultBackoff } = m);
|
|
934
|
+
}
|
|
935
|
+
return {
|
|
936
|
+
dependencyTaskIds: m.dependencyTaskIds,
|
|
937
|
+
channel: m.channel,
|
|
938
|
+
pipelineMode: isPipelineTopologyMode(m.pipelineMode) ? m.pipelineMode : undefined,
|
|
939
|
+
timeoutMs: m.timeoutMs,
|
|
940
|
+
inputArtifactRefs: m.inputArtifactRefs,
|
|
941
|
+
outputArtifactRefs: m.outputArtifactRefs,
|
|
942
|
+
parentTaskId: typeof m.parentTaskId === 'string' ? m.parentTaskId : undefined,
|
|
943
|
+
correlationId: typeof m.correlationId === 'string' ? m.correlationId : undefined,
|
|
944
|
+
rejectionCount,
|
|
945
|
+
adversarialFeedback: typeof m.adversarialFeedback === 'string' ? m.adversarialFeedback : undefined,
|
|
946
|
+
repairPayload,
|
|
947
|
+
runnerDecision: typeof m.runnerDecision === 'string' && RUNNER_DECISIONS.has(m.runnerDecision)
|
|
948
|
+
? m.runnerDecision
|
|
949
|
+
: undefined,
|
|
950
|
+
revisionCount: typeof m.revisionCount === 'number' ? m.revisionCount : undefined,
|
|
951
|
+
revisionFeedback: typeof m.revisionFeedback === 'string' ? m.revisionFeedback : undefined,
|
|
952
|
+
revisionCauseId: typeof m.revisionCauseId === 'string' ? m.revisionCauseId : undefined,
|
|
953
|
+
ruleBindingRevisionCauseId: typeof m.ruleBindingRevisionCauseId === 'string' ? m.ruleBindingRevisionCauseId : undefined,
|
|
954
|
+
sourceCorrectionCauseId: typeof m.sourceCorrectionCauseId === 'string' ? m.sourceCorrectionCauseId : undefined,
|
|
955
|
+
sourceCorrectionReceipt,
|
|
956
|
+
approvedRuleRevisions,
|
|
957
|
+
rolloutRevisionPayload,
|
|
958
|
+
completionIntent,
|
|
959
|
+
humanReviewContext,
|
|
960
|
+
ownerResolutions,
|
|
961
|
+
ownerEvidenceSelection,
|
|
962
|
+
failedTaskRecoveries,
|
|
963
|
+
intentBasisVerification,
|
|
964
|
+
sourceFaultBackoff,
|
|
965
|
+
};
|
|
966
|
+
}
|
|
967
|
+
// ── Hydration ───────────────────────────────────────────────────────────────────
|
|
968
|
+
/**
|
|
969
|
+
* Hydrate a raw TaskRecord (as returned by SqliteTaskStore.getTask or listTasks)
|
|
970
|
+
* into a PITaskRecord by reading and parsing its diagnosticJson.
|
|
971
|
+
*
|
|
972
|
+
* Fail-closed: returns null for any non-RunnerKind taskKind
|
|
973
|
+
* even if diagnosticJson contains valid pi_metadata. This prevents the
|
|
974
|
+
* InternalizationOrchestrator from treating a non-PI task as a PITaskRecord.
|
|
975
|
+
*
|
|
976
|
+
* Returns null if:
|
|
977
|
+
* - taskKind is not a valid RunnerKind (PeerRunnerKind or DiagnosticianStageKind)
|
|
978
|
+
* - diagnosticJson is missing or whitespace
|
|
979
|
+
* - diagnosticJson is not valid JSON
|
|
980
|
+
* - pi_metadata key is missing or invalid
|
|
981
|
+
* - Any required PI field fails validation
|
|
982
|
+
* - Optional field present but not a non-empty string
|
|
983
|
+
*/
|
|
984
|
+
export function hydratePITaskRecord(task) {
|
|
985
|
+
// Guard: reject non-runner task kinds — lineage/kind invariant
|
|
986
|
+
// Accept both PeerRunnerKind and DiagnosticianStageKind
|
|
987
|
+
if (!isRunnerKind(task.taskKind))
|
|
988
|
+
return null;
|
|
989
|
+
// Read diagnosticJson from the runtime object (not typed on TaskRecord)
|
|
990
|
+
const raw = task;
|
|
991
|
+
const { diagnosticJson } = raw;
|
|
992
|
+
if (!diagnosticJson || typeof diagnosticJson !== 'string')
|
|
993
|
+
return null;
|
|
994
|
+
const meta = parsePITaskMetadata(diagnosticJson);
|
|
995
|
+
if (!meta)
|
|
996
|
+
return null;
|
|
997
|
+
// Merge base TaskRecord with PI metadata → PITaskRecord
|
|
998
|
+
// Cast through unknown to satisfy TypeScript's spread-overlap rules
|
|
999
|
+
return {
|
|
1000
|
+
...task,
|
|
1001
|
+
dependencyTaskIds: meta.dependencyTaskIds,
|
|
1002
|
+
channel: meta.channel,
|
|
1003
|
+
pipelineMode: meta.pipelineMode,
|
|
1004
|
+
timeoutMs: meta.timeoutMs,
|
|
1005
|
+
inputArtifactRefs: meta.inputArtifactRefs,
|
|
1006
|
+
outputArtifactRefs: meta.outputArtifactRefs,
|
|
1007
|
+
parentTaskId: meta.parentTaskId,
|
|
1008
|
+
correlationId: meta.correlationId,
|
|
1009
|
+
rejectionCount: meta.rejectionCount ?? 0,
|
|
1010
|
+
adversarialFeedback: meta.adversarialFeedback,
|
|
1011
|
+
repairPayload: meta.repairPayload,
|
|
1012
|
+
runnerDecision: meta.runnerDecision,
|
|
1013
|
+
revisionCount: meta.revisionCount,
|
|
1014
|
+
revisionFeedback: meta.revisionFeedback,
|
|
1015
|
+
revisionCauseId: meta.revisionCauseId,
|
|
1016
|
+
ruleBindingRevisionCauseId: meta.ruleBindingRevisionCauseId,
|
|
1017
|
+
sourceCorrectionCauseId: meta.sourceCorrectionCauseId,
|
|
1018
|
+
sourceCorrectionReceipt: meta.sourceCorrectionReceipt,
|
|
1019
|
+
approvedRuleRevisions: meta.approvedRuleRevisions,
|
|
1020
|
+
rolloutRevisionPayload: meta.rolloutRevisionPayload,
|
|
1021
|
+
completionIntent: meta.completionIntent,
|
|
1022
|
+
humanReviewContext: meta.humanReviewContext,
|
|
1023
|
+
ownerResolutions: meta.ownerResolutions,
|
|
1024
|
+
ownerEvidenceSelection: meta.ownerEvidenceSelection,
|
|
1025
|
+
failedTaskRecoveries: meta.failedTaskRecoveries,
|
|
1026
|
+
intentBasisVerification: meta.intentBasisVerification,
|
|
1027
|
+
sourceFaultBackoff: meta.sourceFaultBackoff,
|
|
1028
|
+
};
|
|
1029
|
+
}
|
|
1030
|
+
//# sourceMappingURL=pitask-metadata.js.map
|