omnius 1.0.923 → 1.0.925

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.
Files changed (239) hide show
  1. package/dist/{providerRegistry.d.ts → _types/backend-vllm/providerRegistry.d.ts} +0 -1
  2. package/dist/_types/backend-vllm/types.d.ts +209 -0
  3. package/dist/_types/execution/av/media-capability.d.ts +94 -0
  4. package/dist/_types/execution/delegation-contract.d.ts +102 -0
  5. package/dist/_types/execution/evidence.d.ts +68 -0
  6. package/dist/_types/execution/html-source-evidence.d.ts +65 -0
  7. package/dist/_types/execution/mcp/types.d.ts +169 -0
  8. package/dist/_types/execution/mutation-contract.d.ts +102 -0
  9. package/dist/_types/execution/nol/artifacts.d.ts +39 -0
  10. package/dist/_types/execution/nol/checkpoint-edits.d.ts +98 -0
  11. package/dist/_types/execution/nol/distributions.d.ts +128 -0
  12. package/dist/_types/execution/nol/gguf-checkpoint-edits.d.ts +194 -0
  13. package/dist/_types/execution/nol/gguf-control-reader.d.ts +224 -0
  14. package/dist/_types/execution/nol/lora-exports.d.ts +129 -0
  15. package/dist/_types/execution/nol/neuronary.d.ts +212 -0
  16. package/dist/_types/execution/nol/pytorch-control-reader.d.ts +143 -0
  17. package/dist/_types/execution/nol/qwen35-head-sites.d.ts +61 -0
  18. package/dist/_types/execution/nol/worker-assets.d.ts +82 -0
  19. package/dist/_types/execution/nol/worker-protocol.d.ts +94 -0
  20. package/dist/_types/execution/page-content-source.d.ts +40 -0
  21. package/dist/_types/execution/rapid-computer-use/artifact-store.d.ts +21 -0
  22. package/dist/_types/execution/rapid-computer-use/contracts.d.ts +320 -0
  23. package/dist/_types/execution/rapid-computer-use/decision.d.ts +70 -0
  24. package/dist/_types/execution/rapid-computer-use/desktop-verification.d.ts +23 -0
  25. package/dist/_types/execution/rapid-computer-use/geometry.d.ts +57 -0
  26. package/dist/_types/execution/rapid-computer-use/planner.d.ts +78 -0
  27. package/dist/_types/execution/rapid-computer-use/trace.d.ts +80 -0
  28. package/dist/_types/execution/rapid-computer-use/visual.d.ts +48 -0
  29. package/dist/_types/execution/shell-runs.d.ts +78 -0
  30. package/dist/_types/execution/streamed-web-source.d.ts +64 -0
  31. package/dist/_types/execution/tools/browser-page-fallback.d.ts +25 -0
  32. package/dist/_types/execution/tools/network-egress-policy.d.ts +30 -0
  33. package/dist/_types/execution/tools/pdf-native-tables.d.ts +46 -0
  34. package/dist/_types/execution/tools/todo-store.d.ts +133 -0
  35. package/dist/_types/execution/tools/web-fetch.d.ts +57 -0
  36. package/dist/_types/execution/tools/workboard.d.ts +1223 -0
  37. package/dist/_types/execution/types.d.ts +549 -0
  38. package/dist/_types/execution/web-source.d.ts +14 -0
  39. package/dist/_types/memory/artifactReviewSourceIndex.d.ts +133 -0
  40. package/dist/_types/memory/contextMemoryLedger.d.ts +213 -0
  41. package/dist/_types/memory/db.d.ts +12 -0
  42. package/dist/_types/memory/embeddings.d.ts +36 -0
  43. package/dist/_types/memory/immutableEvidenceStore.d.ts +165 -0
  44. package/dist/_types/memory/memoryIngestion.d.ts +65 -0
  45. package/dist/_types/memory/memoryTypes.d.ts +312 -0
  46. package/dist/_types/memory/sourceCorpusStore.d.ts +331 -0
  47. package/dist/_types/memory/structuredMemoryStore.d.ts +105 -0
  48. package/dist/_types/memory/unifiedMemoryStore.d.ts +127 -0
  49. package/dist/_types/memory/virtualMemory.d.ts +187 -0
  50. package/dist/_types/orchestrator/agentic-page-content-receipt.d.ts +20 -0
  51. package/dist/_types/orchestrator/agentic-web-fetch-receipt.d.ts +20 -0
  52. package/dist/_types/orchestrator/agenticRunner.d.ts +5219 -0
  53. package/dist/_types/orchestrator/app-state.d.ts +171 -0
  54. package/dist/_types/orchestrator/artifactClaimCritic.d.ts +63 -0
  55. package/dist/_types/orchestrator/artifactQuality.d.ts +15 -0
  56. package/dist/_types/orchestrator/artifactSemanticIntegrity.d.ts +203 -0
  57. package/dist/_types/orchestrator/canonical-context-projection.d.ts +254 -0
  58. package/dist/_types/orchestrator/canonical-source-body-projection.d.ts +51 -0
  59. package/dist/_types/orchestrator/completion-review-pending.d.ts +24 -0
  60. package/dist/_types/orchestrator/completionContract.d.ts +103 -0
  61. package/dist/_types/orchestrator/completionFinalization.d.ts +224 -0
  62. package/dist/_types/orchestrator/completionLedger.d.ts +429 -0
  63. package/dist/_types/orchestrator/completionReadiness.d.ts +234 -0
  64. package/dist/_types/orchestrator/context-admission.d.ts +93 -0
  65. package/dist/_types/orchestrator/context-dump-retention.d.ts +25 -0
  66. package/dist/_types/orchestrator/context-fabric.d.ts +133 -0
  67. package/dist/_types/orchestrator/contextEngine.d.ts +68 -0
  68. package/dist/_types/orchestrator/contextWindowDump.d.ts +327 -0
  69. package/dist/_types/orchestrator/convergence-breaker.d.ts +225 -0
  70. package/dist/_types/orchestrator/convergence-progress.d.ts +66 -0
  71. package/dist/_types/orchestrator/deliveryCoverage.d.ts +181 -0
  72. package/dist/_types/orchestrator/document-persistence-goal-binding.d.ts +106 -0
  73. package/dist/_types/orchestrator/durable-document-worker.d.ts +85 -0
  74. package/dist/_types/orchestrator/evidenceBranch.d.ts +291 -0
  75. package/dist/_types/orchestrator/expected-inference-response.d.ts +55 -0
  76. package/dist/_types/orchestrator/expectedOutcomeContract.d.ts +58 -0
  77. package/dist/_types/orchestrator/failure-taxonomy.d.ts +36 -0
  78. package/dist/_types/orchestrator/focusSupervisor.d.ts +436 -0
  79. package/dist/_types/orchestrator/forced-update-requirement-recovery.d.ts +105 -0
  80. package/dist/_types/orchestrator/hooks.d.ts +100 -0
  81. package/dist/_types/orchestrator/inference-pressure.d.ts +61 -0
  82. package/dist/_types/orchestrator/integrationClosure.d.ts +89 -0
  83. package/dist/_types/orchestrator/interruption-lifecycle.d.ts +154 -0
  84. package/dist/_types/orchestrator/live-memory-passages.d.ts +51 -0
  85. package/dist/_types/orchestrator/liveVirtualContext.d.ts +84 -0
  86. package/dist/_types/orchestrator/memory-compiler.d.ts +254 -0
  87. package/dist/_types/orchestrator/memory-consolidation.d.ts +134 -0
  88. package/dist/_types/orchestrator/model-router.d.ts +17 -0
  89. package/dist/_types/orchestrator/modelResponseDiagnostics.d.ts +71 -0
  90. package/dist/_types/orchestrator/nativeRequirementAmendment.d.ts +63 -0
  91. package/dist/_types/orchestrator/nol/coordinator.d.ts +204 -0
  92. package/dist/_types/orchestrator/nol/datasets.d.ts +58 -0
  93. package/dist/_types/orchestrator/nol/discovery.d.ts +286 -0
  94. package/dist/_types/orchestrator/nol/evaluation.d.ts +59 -0
  95. package/dist/_types/orchestrator/nol/model-validation.d.ts +198 -0
  96. package/dist/_types/orchestrator/nol/statistics.d.ts +142 -0
  97. package/dist/_types/orchestrator/nol/store.d.ts +133 -0
  98. package/dist/_types/orchestrator/nol/variant-registry.d.ts +292 -0
  99. package/dist/_types/orchestrator/ollama-context-policy.d.ts +34 -0
  100. package/dist/_types/orchestrator/personality.d.ts +66 -0
  101. package/dist/_types/orchestrator/prompt-cache.d.ts +24 -0
  102. package/dist/_types/orchestrator/remote-inference-fallback.d.ts +224 -0
  103. package/dist/_types/orchestrator/remote-inference-policy.d.ts +58 -0
  104. package/dist/_types/orchestrator/request-budget.d.ts +75 -0
  105. package/dist/_types/orchestrator/requirementCoverage.d.ts +69 -0
  106. package/dist/_types/orchestrator/reviewedInterpretation.d.ts +111 -0
  107. package/dist/_types/orchestrator/runEvents.d.ts +115 -0
  108. package/dist/_types/orchestrator/runtime-rollout.d.ts +63 -0
  109. package/dist/_types/orchestrator/semanticVerification.d.ts +135 -0
  110. package/dist/_types/orchestrator/source-wide-extraction.d.ts +202 -0
  111. package/dist/_types/orchestrator/steeringIntake.d.ts +123 -0
  112. package/dist/_types/orchestrator/structured-memory-extraction-worker.d.ts +89 -0
  113. package/dist/_types/orchestrator/structuredMemoryInference.d.ts +62 -0
  114. package/dist/_types/orchestrator/successful-procedure-memory.d.ts +127 -0
  115. package/dist/_types/orchestrator/supportedAnswer.d.ts +68 -0
  116. package/dist/_types/orchestrator/taskEffectEvidence.d.ts +38 -0
  117. package/dist/_types/orchestrator/taskExecutionSnapshot.d.ts +67 -0
  118. package/dist/_types/orchestrator/taskObjective.d.ts +310 -0
  119. package/dist/_types/orchestrator/taskObjectiveContinuation.d.ts +134 -0
  120. package/dist/_types/orchestrator/taskRequirementReview.d.ts +246 -0
  121. package/dist/_types/orchestrator/taskRequirements.d.ts +80 -0
  122. package/dist/_types/orchestrator/taskSemanticAdmission.d.ts +159 -0
  123. package/dist/_types/orchestrator/taskWorkDelegation.d.ts +147 -0
  124. package/dist/_types/orchestrator/taskWorkPlan.d.ts +177 -0
  125. package/dist/_types/orchestrator/telegram-passive-history.d.ts +42 -0
  126. package/dist/_types/orchestrator/terminalTaskReport.d.ts +91 -0
  127. package/dist/_types/orchestrator/todoObservability.d.ts +147 -0
  128. package/dist/_types/orchestrator/tool-exposure-policy.d.ts +100 -0
  129. package/dist/_types/orchestrator/trajectory-checkpoint.d.ts +159 -0
  130. package/dist/_types/orchestrator/types.d.ts +185 -0
  131. package/dist/_types/schemas/dispatch.d.ts +53 -0
  132. package/dist/_types/schemas/feature-workflow.d.ts +362 -0
  133. package/dist/_types/schemas/messages.d.ts +15 -0
  134. package/dist/_types/schemas/nol-assets.d.ts +955 -0
  135. package/dist/_types/schemas/nol-json.d.ts +2 -0
  136. package/dist/_types/schemas/nol.d.ts +3995 -0
  137. package/dist/_types/schemas/patch.d.ts +47 -0
  138. package/dist/_types/schemas/plan.d.ts +47 -0
  139. package/dist/_types/schemas/repoProfile.d.ts +116 -0
  140. package/dist/_types/schemas/retrieval.d.ts +44 -0
  141. package/dist/_types/schemas/task.d.ts +57 -0
  142. package/dist/_types/schemas/tools.d.ts +16 -0
  143. package/dist/_types/schemas/verification.d.ts +31 -0
  144. package/dist/api/py-embed.js +3353 -1829
  145. package/dist/assets/nol-checkpoint-editor.py +701 -0
  146. package/dist/assets/nol-gguf-checkpoint-editor.py +785 -0
  147. package/dist/assets/nol-gguf-control-reader.py +428 -0
  148. package/dist/assets/nol-gne-tools-worker.py +425 -0
  149. package/dist/assets/nol-gne-worker.py +1081 -0
  150. package/dist/assets/nol-lora-exporter.py +349 -0
  151. package/dist/assets/nol-pytorch-control-reader.py +470 -0
  152. package/dist/assets/nol-transformers-nnsight-worker.py +512 -0
  153. package/dist/assets/nol-transformers-peft-validation-worker.py +385 -0
  154. package/dist/assets/nol-transformers-peft-worker.py +488 -0
  155. package/dist/assets/nol-transformers-research-worker.py +472 -0
  156. package/dist/assets/nol-transformers-worker.py +920 -0
  157. package/dist/assets/nol-vllm-owned-worker.py +803 -0
  158. package/dist/assets/nol-vllm-runtime.py +695 -0
  159. package/dist/assets/nol-vllm-tokenizer.py +93 -0
  160. package/dist/assets/nol-vllm-worker.py +201 -0
  161. package/dist/computer-use/configured-planner.d.ts +37 -0
  162. package/dist/computer-use/configured-point.d.ts +35 -0
  163. package/dist/computer-use/host-session.d.ts +60 -0
  164. package/dist/computer-use/runner-ui-port.d.ts +37 -0
  165. package/dist/computer-use/session-review.d.ts +14 -0
  166. package/dist/computer-use/task-spec.d.ts +84 -0
  167. package/dist/discovery.d.ts +16 -2
  168. package/dist/index.js +2 -2
  169. package/dist/library.d.ts +94 -10
  170. package/dist/library.js +144003 -87414
  171. package/dist/memory-maintenance-worker.js +1676 -511
  172. package/dist/nol/cpu-control-reader-profile.d.ts +93 -0
  173. package/dist/nol/cpu-control-reader-service.d.ts +87 -0
  174. package/dist/nol/cuda-lease.d.ts +111 -0
  175. package/dist/nol/cuda-mutations.d.ts +34 -0
  176. package/dist/nol/export-runtime-config.d.ts +114 -0
  177. package/dist/nol/export-service.d.ts +143 -0
  178. package/dist/nol/facade.d.ts +147 -0
  179. package/dist/nol/gguf-cpu-control-reader-profile.d.ts +106 -0
  180. package/dist/nol/gguf-cpu-control-reader-service.d.ts +91 -0
  181. package/dist/nol/gguf-model-control-verifier.d.ts +120 -0
  182. package/dist/nol/gguf-parameter-inventory.d.ts +28 -0
  183. package/dist/nol/gne-adapter.d.ts +134 -0
  184. package/dist/nol/gne-agent-evaluation.d.ts +84 -0
  185. package/dist/nol/gne-profile.d.ts +124 -0
  186. package/dist/nol/gne-tools-profile.d.ts +148 -0
  187. package/dist/nol/gne-tools-transport.d.ts +194 -0
  188. package/dist/nol/model-actions.d.ts +662 -0
  189. package/dist/nol/model-control-verifier.d.ts +135 -0
  190. package/dist/nol/model-json-scorer.d.ts +13 -0
  191. package/dist/nol/model-runtime-config.d.ts +830 -0
  192. package/dist/nol/model-serving.d.ts +130 -0
  193. package/dist/nol/model-subject-adapter.d.ts +72 -0
  194. package/dist/nol/model-validation-factory.d.ts +113 -0
  195. package/dist/nol/neuronary-catalog.d.ts +130 -0
  196. package/dist/nol/orphan-custody.d.ts +72 -0
  197. package/dist/nol/peft-conformance.d.ts +48 -0
  198. package/dist/nol/peft-control-types.d.ts +137 -0
  199. package/dist/nol/peft-control-verifier.d.ts +8 -0
  200. package/dist/nol/peft-model-actions.d.ts +41 -0
  201. package/dist/nol/peft-model-authority.d.ts +146 -0
  202. package/dist/nol/peft-model-controls.d.ts +20 -0
  203. package/dist/nol/peft-model-host.d.ts +47 -0
  204. package/dist/nol/peft-model-profile.d.ts +161 -0
  205. package/dist/nol/peft-model-runtime-config.d.ts +174 -0
  206. package/dist/nol/peft-model-subject-adapter.d.ts +36 -0
  207. package/dist/nol/peft-validation.d.ts +105 -0
  208. package/dist/nol/persistent-parameter-inventory.d.ts +32 -0
  209. package/dist/nol/runtime.d.ts +100 -0
  210. package/dist/nol/sqlite-store.d.ts +80 -0
  211. package/dist/nol/transformers-adapter.d.ts +119 -0
  212. package/dist/nol/transformers-nnsight.d.ts +87 -0
  213. package/dist/nol/transformers-peft.d.ts +107 -0
  214. package/dist/nol/transformers-research.d.ts +114 -0
  215. package/dist/nol/variant-service.d.ts +143 -0
  216. package/dist/nol/variant-store.d.ts +51 -0
  217. package/dist/nol/vllm-actions.d.ts +774 -0
  218. package/dist/nol/vllm-adapter.d.ts +1473 -0
  219. package/dist/nol/vllm-authority.d.ts +55 -0
  220. package/dist/nol/vllm-conformance.d.ts +662 -0
  221. package/dist/nol/vllm-profile.d.ts +850 -0
  222. package/dist/nol/vllm-protocol.d.ts +1505 -0
  223. package/dist/nol/vllm-runtime-config.d.ts +120 -0
  224. package/dist/nol/vllm-runtime.d.ts +34 -0
  225. package/dist/nol/vllm-startup.d.ts +235 -0
  226. package/dist/omni-setup-worker.js +3433 -1909
  227. package/dist/service-version.d.ts +0 -1
  228. package/dist/tui/async-process.d.ts +27 -0
  229. package/dist/tui/native/worker.js +3 -1
  230. package/dist/tui/telegram-action-session-registry.d.ts +136 -0
  231. package/dist/tui/telegram-cognition-queue.d.ts +154 -0
  232. package/dist/tui/telegram-context-packet-v2.d.ts +99 -0
  233. package/dist/tui/telegram-input-ownership.d.ts +78 -0
  234. package/dist/tui/telegram-turn-contract-v2.d.ts +62 -0
  235. package/dist/update-worker-runtime.js +4216 -2603
  236. package/docs/DISCOVERY.json +389 -0
  237. package/docs/DISCOVERY.md +4 -0
  238. package/npm-shrinkwrap.json +28 -12
  239. package/package.json +3 -2
@@ -0,0 +1,58 @@
1
+ import { type ResolvedProviderTransport } from "../backend-vllm/providerRegistry.js";
2
+ export interface RemoteInferenceProviderProfile {
3
+ providerId: string;
4
+ model: string;
5
+ /** Host environment reference, never the credential value. */
6
+ apiKeyEnv: string;
7
+ }
8
+ export interface RemoteInferencePolicy {
9
+ enabled: boolean;
10
+ /** Omitted injected policies retain the automatic default. */
11
+ mode?: "auto" | "manual";
12
+ keyless: boolean;
13
+ providers: RemoteInferenceProviderProfile[];
14
+ requestTimeoutMs: number;
15
+ /** Loader-owned provenance; omitted injected policies retain their explicit limit. Never a configuration field. */
16
+ requestTimeoutMsSource?: "default" | "explicit";
17
+ totalTimeoutMs: number;
18
+ localTimeoutMs: number;
19
+ /** Loader-owned provenance; injected policies retain their explicit ceiling. Never a configuration field. */
20
+ localTimeoutMsSource?: "default" | "explicit";
21
+ }
22
+ export interface ResolvedFallbackProvider {
23
+ providerId: string;
24
+ model: string;
25
+ transport: ResolvedProviderTransport;
26
+ /** Privileged transport only; never include this object in status or prompts. */
27
+ apiKey: string;
28
+ }
29
+ export interface FallbackStreamScrubber {
30
+ push(text: string): string;
31
+ finish(): string;
32
+ }
33
+ export interface FallbackScrubber {
34
+ <T>(value: T): T;
35
+ readonly maxSecretLength: number;
36
+ createStreamScrubber(): FallbackStreamScrubber;
37
+ }
38
+ /** Invalid explicit policy disables remote egress instead of silently using public routes. */
39
+ export declare function loadRemoteInferencePolicy(options?: {
40
+ env?: NodeJS.ProcessEnv;
41
+ configPath?: string;
42
+ }): RemoteInferencePolicy;
43
+ /** Persist only the host's mode choice; preserve provider references and other settings. */
44
+ export declare function setRemoteInferenceFallbackMode(mode: "auto" | "manual", options?: {
45
+ env?: NodeJS.ProcessEnv;
46
+ configPath?: string;
47
+ }): RemoteInferencePolicy;
48
+ /** Credentials are resolved only for their own pinned provider; no generic-key fallback. */
49
+ export declare function resolveFallbackProvider(value: RemoteInferenceProviderProfile, env?: NodeJS.ProcessEnv): ResolvedFallbackProvider | null;
50
+ /**
51
+ * Scrub JSON wire data only. The caller retains signals, dispatch fences and
52
+ * other host-only request fields outside this clone. Arbitrary provider key
53
+ * spellings are covered by their exact host-known values, not token prefixes.
54
+ */
55
+ export declare function createFallbackScrubber(primaryKey?: string, options?: {
56
+ env?: NodeJS.ProcessEnv;
57
+ additionalSecrets?: readonly string[];
58
+ }): FallbackScrubber;
@@ -0,0 +1,75 @@
1
+ export interface RequestBudgetMessage {
2
+ role: string;
3
+ content?: unknown;
4
+ tool_calls?: unknown;
5
+ }
6
+ export interface OutboundRequestBudgetInput {
7
+ /** Verified transport capacity may be smaller than a requested num_ctx. */
8
+ enforcedContextLimitTokens?: number;
9
+ messages: RequestBudgetMessage[];
10
+ tools?: unknown[];
11
+ modelContextTokens: number;
12
+ outputReservationTokens: number;
13
+ safetyMarginTokens?: number;
14
+ /**
15
+ * The already assembled request passed to the backend. This is audit-only:
16
+ * it records the exact JSON payload shape constructed by the runner,
17
+ * including late steering/action records and request options.
18
+ */
19
+ request?: Record<string, unknown>;
20
+ }
21
+ export interface OutboundRequestBudget {
22
+ schemaVersion: 1;
23
+ requestFingerprint: string;
24
+ modelContextTokens: number;
25
+ /** Hash of the JSON-semantic assembled payload before budget metadata. */
26
+ requestPayloadFingerprint: string;
27
+ /** Exact UTF-8 bytes of JSON.stringify() over the runner's outbound request. */
28
+ serializedRequestBytes: number;
29
+ /** Exact UTF-8 bytes of the messages array inside that request. */
30
+ serializedMessagesBytes: number;
31
+ /** Exact UTF-8 bytes of the tools array inside that request. */
32
+ serializedToolSchemaBytes: number;
33
+ stableSystemTokens: number;
34
+ toolSchemaTokens: number;
35
+ authorityTokens: number;
36
+ taskAndWorkingSetTokens: number;
37
+ evidenceTokens: number;
38
+ historyTokens: number;
39
+ /**
40
+ * Model-visible text carried outside `messages` by the runner request.
41
+ * Today this is the memory prefix, which the backend materializes into the
42
+ * first system message immediately before transport.
43
+ */
44
+ requestEnvelopeTokens: number;
45
+ outputReservationTokens: number;
46
+ safetyMarginTokens: number;
47
+ totalInputTokens: number;
48
+ projectedTotalTokens: number;
49
+ freeTokens: number;
50
+ freeRatio: number;
51
+ compactionEligible: boolean;
52
+ /** Actual input pressure; an optional generation ceiling is not occupied input. */
53
+ compactionInputTokens: number;
54
+ minimumOutputReservationTokens: number;
55
+ compactionSafetyMarginTokens: number;
56
+ compactionProjectedTokens: number;
57
+ compactionTargetTokens: number;
58
+ compactionFreeRatio: number;
59
+ }
60
+ /** Account for the exact serialized outbound request with no hidden tier heuristic. */
61
+ export declare function compileOutboundRequestBudget(input: OutboundRequestBudgetInput): OutboundRequestBudget;
62
+ /**
63
+ * Return a JSON-wire-equivalent request snapshot for asynchronous accounting.
64
+ * The runner takes this before invoking the shadow compiler so the shadow
65
+ * decision and persisted dump are bound to exactly one immutable payload.
66
+ */
67
+ export declare function snapshotOutboundRequest<T extends Record<string, unknown>>(request: T): T;
68
+ /** Whether a precompiled budget is still safe to attach to this exact request. */
69
+ export declare function budgetMatchesOutboundRequest(budget: OutboundRequestBudget, request: Record<string, unknown>): boolean;
70
+ /** Content/state cache for analyst results. A state change must produce a new fingerprint. */
71
+ export declare class RequestFingerprintCache<T> {
72
+ private readonly values;
73
+ get(fingerprint: string): T | undefined;
74
+ set(fingerprint: string, value: T): void;
75
+ }
@@ -0,0 +1,69 @@
1
+ import type { ObjectiveCriterionStateV1, TaskObjectiveContractV1, TaskObjectiveCriterionV1, VerificationReceiptV1 } from "./taskObjective.js";
2
+ export declare const REQUIREMENT_COVERAGE_OBLIGATION_SCHEMA: "omnius.requirement-coverage-obligation.v1";
3
+ export declare const REQUIREMENT_COVERAGE_BINDING_SCHEMA: "omnius.requirement-coverage-binding.v1";
4
+ export declare const REQUIREMENT_COVERAGE_CRITERION_ID: "answer:requirements";
5
+ export declare const REQUIREMENT_COVERAGE_VERIFIER_METHOD: "task_requirement_review";
6
+ /** Host-issued native goal/source identity. Model prose never installs policy. */
7
+ export interface RequirementCoverageObligationV1 {
8
+ schema: typeof REQUIREMENT_COVERAGE_OBLIGATION_SCHEMA;
9
+ nativeScopeSha256: string;
10
+ nativeEvidenceSnapshotSha256: string;
11
+ requirementSetSha256: string;
12
+ }
13
+ /** An authentic frozen candidate or review of exactly that candidate. */
14
+ export interface RequirementCoverageBindingV1 {
15
+ schema: typeof REQUIREMENT_COVERAGE_BINDING_SCHEMA;
16
+ phase: "candidate" | "review";
17
+ nativeScopeSha256: string;
18
+ objectiveRef: string;
19
+ objectiveHash: string;
20
+ objectiveRevision: number;
21
+ taskEpoch: number;
22
+ candidateSha256: string;
23
+ candidateRevision: number;
24
+ nativeEvidenceSnapshotSha256: string;
25
+ requirementSetSha256: string;
26
+ evidenceSnapshotSha256: string;
27
+ /** Digest of the reopened host factual-review receipt, never model output. */
28
+ reviewReceiptSha256?: string;
29
+ }
30
+ export declare function normalizeRequirementCoverageObligationV1(value: unknown): RequirementCoverageObligationV1 | null;
31
+ export declare function normalizeRequirementCoverageBindingV1(value: unknown): RequirementCoverageBindingV1 | null;
32
+ export declare function requirementCoverageArtifactIdentity(criterionId: string, binding: RequirementCoverageBindingV1): {
33
+ artifactEvidenceId: string;
34
+ artifactRevision: string;
35
+ };
36
+ /** Core checks exact candidate identity, not semantic entailment. The host
37
+ * reviewer must assess the entire requirement union and reopen current evidence. */
38
+ export declare function createRequirementCoverageCandidateReceiptV1(input: {
39
+ contract: TaskObjectiveContractV1;
40
+ criterionId: string;
41
+ candidateSha256: string;
42
+ evidenceSnapshotSha256: string;
43
+ candidateRevision: number;
44
+ evidenceId: string;
45
+ }): VerificationReceiptV1;
46
+ export declare function createRequirementCoverageReviewReceiptV1(input: {
47
+ candidate: VerificationReceiptV1;
48
+ evidenceId: string;
49
+ outcome: "passed" | "artifact_failed" | "verifier_invalid" | "inconclusive";
50
+ reviewReceiptSha256: string;
51
+ evidenceIds?: string[];
52
+ }): VerificationReceiptV1;
53
+ export declare function getRequirementCoverageCurrentCandidateV1(input: {
54
+ contract: TaskObjectiveContractV1;
55
+ criterionId: string;
56
+ verificationReceipts: readonly VerificationReceiptV1[];
57
+ }): {
58
+ candidate: VerificationReceiptV1 | null;
59
+ maximumRevision: number;
60
+ conflicting: boolean;
61
+ };
62
+ /** Dedicated exact-candidate semantics; ordinary evidence kinds or static
63
+ * satisfied status never certify this obligation. Duplicate receipts/prose
64
+ * cannot create new progress, and any genuine matching failure wins over pass. */
65
+ export declare function projectRequirementCoverageCriterionState(input: {
66
+ contract: TaskObjectiveContractV1;
67
+ criterion: TaskObjectiveCriterionV1;
68
+ verifications: readonly VerificationReceiptV1[];
69
+ }): ObjectiveCriterionStateV1;
@@ -0,0 +1,111 @@
1
+ import { type CompletionLedger } from "./completionLedger.js";
2
+ import { type ExpectedOutcomeContractV1 } from "./expectedOutcomeContract.js";
3
+ import { type TaskObjectiveContractV1, type ObjectiveDeliveryTargetV1 } from "./taskObjective.js";
4
+ import { type TaskRequirementNativeEvidenceV1 } from "./taskRequirements.js";
5
+ import { type TaskWorkPlanV1 } from "./taskWorkPlan.js";
6
+ export interface TaskNativeExecutionScopeV1 {
7
+ sessionId: string;
8
+ sessionKey: string;
9
+ taskId: string;
10
+ originalInputId: string;
11
+ currentInputId: string;
12
+ actorKey: string;
13
+ chatId: string;
14
+ messageThreadId: number;
15
+ bridgeRunId: string;
16
+ nativeRunnerRunId: string;
17
+ taskEpoch: number;
18
+ workGeneration: number;
19
+ nativeInputSha256: string;
20
+ nativeScopeSha256: string;
21
+ /** Reopened host records, independently bound before accepting review payloads. */
22
+ issuedDecisionPayloadSha256?: string;
23
+ nativeManifestSha256?: string;
24
+ }
25
+ export interface ReviewedObjectiveInterpretationReviewV1 {
26
+ schema: "omnius.reviewed-objective-interpretation.v1";
27
+ reviewId: string;
28
+ requestId: string;
29
+ model: string;
30
+ providerProtocol: string;
31
+ providerId?: string;
32
+ reviewRequestSha256: string;
33
+ reviewResultSha256: string;
34
+ priorContractSha256: string;
35
+ priorExpectedOutcomeSha256: string;
36
+ priorManifestSha256: string;
37
+ nativeEvidenceSnapshotSha256: string;
38
+ nextContractSha256: string;
39
+ nextExpectedOutcomeSha256: string;
40
+ expectedRevision: number;
41
+ nativeEvidence: TaskRequirementNativeEvidenceV1[];
42
+ /** Frozen reviewed native admission, revalidated by the provider adapter on cold replay. */
43
+ nextIssuedDecision?: {
44
+ decisionId: string;
45
+ payload: unknown;
46
+ payloadSha256: string;
47
+ };
48
+ }
49
+ /** Legacy authority is admitted by the host after reopening the original issued native decision.
50
+ * It grants only exact factory-generated effects, never arbitrary `effect:` names. */
51
+ export interface LegacyExpectedOutcomeEffectProvenanceV1 {
52
+ schema: "omnius.legacy-expected-outcome-effect-provenance.v1";
53
+ originalRunId: string;
54
+ issuedDecisionPayloadSha256: string;
55
+ nativeScopeSha256: string;
56
+ expectedOutcomeSha256: string;
57
+ generatedCriterionSha256s: string[];
58
+ deliveryTarget?: ObjectiveDeliveryTargetV1;
59
+ }
60
+ export interface ReviewedObjectiveInterpretationRecordV1 {
61
+ schema: "omnius.reviewed-objective-interpretation-record.v1";
62
+ id: string;
63
+ scope: TaskNativeExecutionScopeV1;
64
+ review: ReviewedObjectiveInterpretationReviewV1;
65
+ priorLedgerSha256: string;
66
+ priorContract: TaskObjectiveContractV1;
67
+ priorExpectedOutcome: ExpectedOutcomeContractV1;
68
+ nextContract: TaskObjectiveContractV1;
69
+ nextExpectedOutcome: ExpectedOutcomeContractV1;
70
+ priorCheckpoint: {
71
+ workPlan?: CompletionLedger["workPlan"];
72
+ frontier?: CompletionLedger["objectiveFrontier"];
73
+ terminal: NonNullable<CompletionLedger["terminal"]>;
74
+ };
75
+ nextWorkPlan?: TaskWorkPlanV1;
76
+ legacyEffectProvenance?: LegacyExpectedOutcomeEffectProvenanceV1;
77
+ }
78
+ export declare function validateTaskNativeExecutionScopeV1(scope: TaskNativeExecutionScopeV1): boolean;
79
+ export declare function prepareReviewedObjectiveInterpretationRevisionV1(input: {
80
+ ledger: CompletionLedger;
81
+ priorExpectedOutcome: ExpectedOutcomeContractV1;
82
+ nextExpectedOutcome: ExpectedOutcomeContractV1;
83
+ nextContract: TaskObjectiveContractV1;
84
+ scope: TaskNativeExecutionScopeV1;
85
+ expectedScope: TaskNativeExecutionScopeV1;
86
+ review: ReviewedObjectiveInterpretationReviewV1;
87
+ priorLedgerSha256: string;
88
+ legacyEffectProvenance?: LegacyExpectedOutcomeEffectProvenanceV1;
89
+ nextWorkPlan?: TaskWorkPlanV1;
90
+ }): ReviewedObjectiveInterpretationRecordV1;
91
+ export declare class ReviewedInterpretationCommitError extends Error {
92
+ readonly committed: boolean;
93
+ constructor(message: string, committed: boolean, options?: ErrorOptions);
94
+ }
95
+ /** The sidecar is the commit point. Reconciliation must complete before another transport request. */
96
+ export declare function commitReviewedObjectiveInterpretationRevisionV1(input: {
97
+ ledgerPath: string;
98
+ expectedLedgerSha256: string;
99
+ prepare: (ledger: CompletionLedger) => ReviewedObjectiveInterpretationRecordV1;
100
+ /** Deterministic crash-cut control; never an admission or verifier shortcut. */
101
+ persistenceFaultForTest?: (stage: "committed_before_projection") => void;
102
+ }): {
103
+ record: ReviewedObjectiveInterpretationRecordV1;
104
+ ledger: CompletionLedger;
105
+ recordPath: string;
106
+ };
107
+ export declare function reconcileReviewedObjectiveInterpretationRevisionV1(ledgerPath: string, expectedScope: TaskNativeExecutionScopeV1): {
108
+ ledger: CompletionLedger;
109
+ expectedOutcome: ExpectedOutcomeContractV1;
110
+ record: ReviewedObjectiveInterpretationRecordV1;
111
+ } | null;
@@ -0,0 +1,115 @@
1
+ import type { SteeringInputLifecycleState, SteeringIntent, SteeringReconciliation } from "./steeringIntake.js";
2
+ import type { TodoSnapshotEvent, TodoTransitionEvent } from "./todoObservability.js";
3
+ export type AgentRunStatus = "completed" | "incomplete" | "incomplete_verification" | "awaiting_input";
4
+ export type AgentRunEvent = {
5
+ type: "run_started";
6
+ runId: string;
7
+ surface: string;
8
+ goalPreview: string;
9
+ timestamp?: string;
10
+ } | TodoSnapshotEvent | TodoTransitionEvent | {
11
+ type: "assistant_visible_text";
12
+ runId: string;
13
+ text: string;
14
+ source: "model" | "summary_fallback";
15
+ timestamp?: string;
16
+ } | {
17
+ type: "tool_call_started";
18
+ runId: string;
19
+ toolName: string;
20
+ callId?: string;
21
+ argsPreview?: string;
22
+ timestamp?: string;
23
+ } | {
24
+ type: "tool_call_finished";
25
+ runId: string;
26
+ toolName: string;
27
+ callId?: string;
28
+ success: boolean;
29
+ outputPreview?: string;
30
+ evidenceId?: string;
31
+ failureDiagnosis?: string;
32
+ failureKind?: string;
33
+ timestamp?: string;
34
+ } | {
35
+ type: "memory_transaction_recorded";
36
+ runId: string;
37
+ transactionId: string;
38
+ taskEpoch: number;
39
+ recordIds: string[];
40
+ status: "completed" | "blocked";
41
+ timestamp?: string;
42
+ } | {
43
+ type: "memory_compaction_decision";
44
+ runId: string;
45
+ requestFingerprint: string;
46
+ decision: "compact" | "hold";
47
+ cacheHit: boolean;
48
+ reason?: string;
49
+ timestamp?: string;
50
+ } | {
51
+ type: "trajectory_checkpoint";
52
+ runId: string;
53
+ revision?: number;
54
+ assessment?: string;
55
+ nextAction?: string;
56
+ summary: string;
57
+ timestamp?: string;
58
+ } | {
59
+ type: "steering_lifecycle";
60
+ runId: string;
61
+ inputId: string;
62
+ intent: SteeringIntent;
63
+ state: SteeringInputLifecycleState;
64
+ taskEpoch?: number;
65
+ summary: string;
66
+ reconciliation?: SteeringReconciliation;
67
+ timestamp?: string;
68
+ } | {
69
+ type: "completion_requested";
70
+ runId: string;
71
+ summary: string;
72
+ sourcePath: "stream" | "batch" | "direct" | "text_detected";
73
+ timestamp?: string;
74
+ } | {
75
+ type: "completion_accepted";
76
+ runId: string;
77
+ summary: string;
78
+ timestamp?: string;
79
+ } | {
80
+ type: "completion_held";
81
+ runId: string;
82
+ reasonCode: string;
83
+ feedback: string;
84
+ timestamp?: string;
85
+ } | {
86
+ type: "completion_incomplete_verification";
87
+ runId: string;
88
+ summary: string;
89
+ missingEvidence: string[];
90
+ timestamp?: string;
91
+ } | {
92
+ type: "run_failed";
93
+ runId: string;
94
+ error: string;
95
+ timestamp?: string;
96
+ } | {
97
+ type: "run_finished";
98
+ runId: string;
99
+ status: AgentRunStatus;
100
+ success: boolean;
101
+ terminalReceiptId?: string;
102
+ timestamp?: string;
103
+ };
104
+ export interface LegacyAgenticEventLike {
105
+ type: string;
106
+ content?: unknown;
107
+ success?: unknown;
108
+ toolName?: unknown;
109
+ callId?: unknown;
110
+ timestamp?: string;
111
+ [key: string]: unknown;
112
+ }
113
+ export declare function legacyAgenticEventToRunEvent(runId: string, event: LegacyAgenticEventLike): AgentRunEvent | null;
114
+ export declare function isTerminalRunEvent(event: AgentRunEvent): boolean;
115
+ export declare function isSuccessfulRunFinished(event: AgentRunEvent): boolean;
@@ -0,0 +1,63 @@
1
+ export declare const RUNTIME_ROLLOUT_COMPARISON_SCHEMA: "omnius.runtime-rollout-comparison.v1";
2
+ export declare const RUNTIME_ROLLOUT_KEY_BYTES = 32;
3
+ export type RuntimeRolloutMode = "shadow" | "enforce";
4
+ export type RuntimeRolloutSubsystem = "canonical_projection" | "completion_readiness";
5
+ export interface RuntimeRolloutProjection {
6
+ fingerprint: string;
7
+ outcome: string;
8
+ metrics: Record<string, number | string | boolean | null>;
9
+ protectedIds: string[];
10
+ }
11
+ export interface RuntimeRolloutComparisonReceipt {
12
+ schema: typeof RUNTIME_ROLLOUT_COMPARISON_SCHEMA;
13
+ id: string;
14
+ subsystem: RuntimeRolloutSubsystem;
15
+ mode: RuntimeRolloutMode;
16
+ runId: string;
17
+ taskEpoch: number;
18
+ sequence: number;
19
+ baseline: RuntimeRolloutProjection;
20
+ candidate: RuntimeRolloutProjection;
21
+ selected: "candidate";
22
+ /** This receipt proves comparison and authority selection, not dispatch. */
23
+ observationBoundary: "pre_selection";
24
+ selectionPolicy: "authoritative_candidate";
25
+ changed: boolean;
26
+ requiredProtectedIds: string[];
27
+ lostProtectedIds: string[];
28
+ redaction: {
29
+ requestBodiesStored: false;
30
+ fingerprintsUseRedactedInput: true;
31
+ };
32
+ }
33
+ export declare function runtimeRolloutMode(value: unknown): RuntimeRolloutMode;
34
+ export declare function canonicalProjectionRolloutMode(env?: NodeJS.ProcessEnv): RuntimeRolloutMode;
35
+ export declare function completionReadinessRolloutMode(env?: NodeJS.ProcessEnv): RuntimeRolloutMode;
36
+ /**
37
+ * Hash a request only after recursive credential and binary redaction. The
38
+ * receipt intentionally stores no request body, so a canary comparison can be
39
+ * retained without turning the rollout log into a second prompt transcript.
40
+ */
41
+ export declare function redactedRequestFingerprint(request: Record<string, unknown>, key: Uint8Array): string;
42
+ /** Load or create one installation-local HMAC key. Invalid keys fail closed. */
43
+ export declare function loadRuntimeRolloutIntegrityKey(stateDir: string): Buffer;
44
+ export declare function createRuntimeRolloutComparisonReceipt(input: {
45
+ subsystem: RuntimeRolloutSubsystem;
46
+ mode: RuntimeRolloutMode;
47
+ runId: string;
48
+ taskEpoch: number;
49
+ sequence: number;
50
+ baseline: RuntimeRolloutProjection;
51
+ candidate: RuntimeRolloutProjection;
52
+ requiredProtectedIds?: readonly string[];
53
+ integrityKey: Uint8Array;
54
+ }): RuntimeRolloutComparisonReceipt;
55
+ export declare function verifyRuntimeRolloutComparisonReceipt(receipt: RuntimeRolloutComparisonReceipt, integrityKey: Uint8Array): boolean;
56
+ export declare function loadRuntimeRolloutComparisonReceipt(path: string, integrityKey: Uint8Array): RuntimeRolloutComparisonReceipt;
57
+ /** Atomically persist one hash-only comparison receipt. */
58
+ export declare function persistRuntimeRolloutComparisonReceipt(stateDir: string, receipt: RuntimeRolloutComparisonReceipt, integrityKey: Uint8Array, limits?: {
59
+ maxReceiptsPerRun?: number;
60
+ maxBytesPerRun?: number;
61
+ maxRunsTotal?: number;
62
+ maxBytesTotal?: number;
63
+ }): string;
@@ -0,0 +1,135 @@
1
+ import type { CompletionEvidence } from "./completionLedger.js";
2
+ import type { TaskObjectiveContractV1, TaskObjectiveCriterionV1, VerificationReceiptV1, ObjectiveCriterionStateV1 } from "./taskObjective.js";
3
+ import { type TaskRequirementSetV1 } from "./taskRequirements.js";
4
+ import { type RequirementCoverageBindingV1 } from "./requirementCoverage.js";
5
+ import type { TaskRequirementReviewResult } from "./taskRequirementReview.js";
6
+ import type { WebFetchReceipt } from "../execution/tools/web-fetch.js";
7
+ export declare const SEMANTIC_VERIFICATION_METHOD: "source_review";
8
+ export declare const SEMANTIC_VERIFICATION_OBLIGATION_SCHEMA: "omnius.semantic-verification-obligation.v1";
9
+ export declare const SEMANTIC_VERIFICATION_BINDING_SCHEMA: "omnius.semantic-verification-binding.v1";
10
+ export interface SourceReviewReadV1 {
11
+ schema: "omnius.source-review-read.v1";
12
+ path: string;
13
+ sourceHash: string;
14
+ sourceRange: {
15
+ startLine: number;
16
+ endLine: number;
17
+ };
18
+ observedBytes: number;
19
+ observedLines: number;
20
+ }
21
+ /** A native extraction range describes the immutable extracted body, never
22
+ * UTF-8 decoding of the raw (possibly binary) source. */
23
+ export interface SourceReviewArtifactReadV1 extends Omit<SourceReviewReadV1, "schema"> {
24
+ schema: "omnius.source-review-artifact-read.v1";
25
+ sourceId: string;
26
+ documentId: string;
27
+ bodySha256: string;
28
+ issuerSha256: string;
29
+ authoritySha256: string;
30
+ }
31
+ /** Complete archived HTTP response. Its URL is never a filesystem path. */
32
+ export interface SourceReviewWebReadV1 extends Omit<SourceReviewReadV1, "schema" | "path"> {
33
+ schema: "omnius.source-review-web-read.v1";
34
+ sourceUri: string;
35
+ documentId: string;
36
+ artifactUri: string;
37
+ bodySha256: string;
38
+ issuerSha256: string;
39
+ receipt: WebFetchReceipt;
40
+ }
41
+ export interface SourceReviewStateReadV1 {
42
+ evidenceId: string;
43
+ sourceRead: SourceReviewReadV1 | SourceReviewArtifactReadV1 | SourceReviewWebReadV1;
44
+ operationSha256: string;
45
+ resultBodySha256: string;
46
+ status: "current" | "changed" | "missing" | "outside_owner" | "unavailable" | "changed_during_read";
47
+ currentSourceHash?: string;
48
+ selectedBodySha256?: string;
49
+ content?: string;
50
+ }
51
+ export interface SourceReviewStateEvidenceV1 {
52
+ schema: "omnius.source-review-state.v1";
53
+ runId: string;
54
+ taskEpoch: number;
55
+ objectiveRef: string;
56
+ objectiveHash: string;
57
+ objectiveRevision: number;
58
+ requirementSetSha256: string;
59
+ reads: SourceReviewStateReadV1[];
60
+ stateSha256: string;
61
+ }
62
+ export interface SemanticVerificationObligationV1 {
63
+ schema: typeof SEMANTIC_VERIFICATION_OBLIGATION_SCHEMA;
64
+ requirementIds: string[];
65
+ coverageCriterionId: string;
66
+ nativeScopeSha256: string;
67
+ nativeEvidenceSnapshotSha256: string;
68
+ requirementSetSha256: string;
69
+ }
70
+ export interface SemanticVerificationBindingV1 {
71
+ schema: typeof SEMANTIC_VERIFICATION_BINDING_SCHEMA;
72
+ runId: string;
73
+ requirementId: string;
74
+ coverageCriterionId: string;
75
+ coverage: RequirementCoverageBindingV1;
76
+ supportingEvidenceIds: string[];
77
+ /** Exact host-selected observations, including original spelling and ranges. */
78
+ supportingReads: SourceReviewStateReadV1[];
79
+ sourceSnapshotSha256: string;
80
+ }
81
+ export declare function normalizeSourceReviewWebReadV1(value: unknown): SourceReviewWebReadV1 | null;
82
+ export declare function normalizeSourceReviewReadV1(value: unknown): SourceReviewReadV1 | null;
83
+ /** Reopen only paths already read by a successful, current host-owned operation.
84
+ * Missing/changed/large bodies stay unavailable; no preview can certify them. */
85
+ export declare function reopenSourceReviewStateEvidence(input: {
86
+ workspaceRoot: string;
87
+ runId: string;
88
+ taskEpoch: number;
89
+ contract: TaskObjectiveContractV1;
90
+ evidence: readonly CompletionEvidence[];
91
+ /** Only the host raw-artifact reopener supplies these; model output cannot. */
92
+ artifactReads?: readonly SourceReviewStateReadV1[];
93
+ }): SourceReviewStateEvidenceV1;
94
+ declare function currentReads(input: {
95
+ runId: string;
96
+ contract: TaskObjectiveContractV1;
97
+ evidence: readonly CompletionEvidence[];
98
+ sourceReviewStateEvidence?: SourceReviewStateEvidenceV1;
99
+ }): SourceReviewStateReadV1[];
100
+ export declare function getSourceReviewSupportingEvidenceIds(input: Parameters<typeof currentReads>[0]): string[];
101
+ export declare function normalizeSemanticVerificationObligationV1(value: unknown): SemanticVerificationObligationV1 | null;
102
+ export declare function createSemanticVerificationObligationV1(input: {
103
+ requirements: TaskRequirementSetV1;
104
+ requirementIds: string[];
105
+ coverageCriterionId?: string;
106
+ }): SemanticVerificationObligationV1;
107
+ export declare function semanticVerificationPolicyMatchesContract(contract: TaskObjectiveContractV1, criterion: TaskObjectiveCriterionV1): boolean;
108
+ export declare function normalizeSemanticVerificationBindingV1(value: unknown): SemanticVerificationBindingV1 | null;
109
+ export declare function semanticVerificationArtifactIdentity(criterionId: string, binding: SemanticVerificationBindingV1): {
110
+ artifactEvidenceId: string;
111
+ artifactRevision: string;
112
+ };
113
+ export declare function createSemanticVerificationReceiptV1(input: {
114
+ contract: TaskObjectiveContractV1;
115
+ criterionId: string;
116
+ runId: string;
117
+ coverageReview: VerificationReceiptV1;
118
+ review: TaskRequirementReviewResult;
119
+ supportingEvidenceIds: string[];
120
+ sourceReviewStateEvidence: SourceReviewStateEvidenceV1;
121
+ evidence: readonly CompletionEvidence[];
122
+ evidenceId: string;
123
+ }): VerificationReceiptV1;
124
+ /** Exact source-review authority only. Generic passes, roles and persisted
125
+ * satisfied flags cannot satisfy a semantic source-comparison obligation. */
126
+ export declare function projectSemanticVerificationCriterionState(input: {
127
+ runId: string;
128
+ contract: TaskObjectiveContractV1;
129
+ criterion: TaskObjectiveCriterionV1;
130
+ evidence: readonly CompletionEvidence[];
131
+ verifications: readonly VerificationReceiptV1[];
132
+ sourceReviewStateEvidence?: SourceReviewStateEvidenceV1;
133
+ evidenceSnapshotSha256?: string;
134
+ }): ObjectiveCriterionStateV1;
135
+ export {};