@rulvar/core 1.230.0 → 1.232.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/dist/index.d.ts +272 -4
  2. package/dist/index.js +1310 -887
  3. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -880,6 +880,15 @@ interface CostAttributionFacts {
880
880
  agentType?: string;
881
881
  role?: InvocationRole;
882
882
  budgetAccount?: string;
883
+ /**
884
+ * The dispatch label, when the caller gave one (RV2803): what tells
885
+ * two spans of ONE role apart, which the event stream has always
886
+ * carried and the journal never did. Absent on every unlabelled
887
+ * dispatch and on every journal written before it shipped, so a
888
+ * reading that needs it reports absence rather than guessing. Policy,
889
+ * never identity.
890
+ */
891
+ label?: string;
883
892
  finalizeReserve?: boolean;
884
893
  }
885
894
  /**
@@ -8700,6 +8709,22 @@ interface ClaimPairOptions {
8700
8709
  * 40).
8701
8710
  */
8702
8711
  critical?: readonly string[];
8712
+ /**
8713
+ * The declared coverage target (RV2903), in (0, 1]: size the
8714
+ * reported pairs to COVER at least this share of the citing
8715
+ * sentences instead of taking the first `max` pairs blind. The
8716
+ * ninth comparison run judged 43 of 115 citing sentences because
8717
+ * its host guessed `max: 56`, and nothing sized the pass to a goal.
8718
+ * Under a target the selection is coverage-first: every critical
8719
+ * candidate, then ONE candidate per still-uncovered sentence in
8720
+ * draft order until the target is met; pairs that only deepen an
8721
+ * already covered sentence are skipped, because under a declared
8722
+ * target the bounded budget buys coverage, not depth. `max` stays a
8723
+ * hard ceiling, and `truncated` then means exactly that the ceiling
8724
+ * cut selection the target still wanted. Unset = the exact
8725
+ * historical first-`max` selection, byte for byte.
8726
+ */
8727
+ targetCoverageShare?: number;
8703
8728
  }
8704
8729
  /** What the fold produced, beside the pairs themselves. */
8705
8730
  interface ClaimPairsFold {
@@ -8718,6 +8743,13 @@ interface ClaimPairsFold {
8718
8743
  */
8719
8744
  coveredCitingSentences: number;
8720
8745
  /**
8746
+ * Present when `targetCoverageShare` was declared (RV2903): the
8747
+ * sentence count the target resolved to against THIS draft, so a
8748
+ * consumer holds `coveredCitingSentences` against the goal the
8749
+ * selection was sized for, not against a share it must re-derive.
8750
+ */
8751
+ targetCoveredSentences?: number;
8752
+ /**
8721
8753
  * Present only when `critical` was given: the critical draft anchors
8722
8754
  * (verbatim, draft order, deduplicated) with no reported pair, capped
8723
8755
  * at {@link MAX_CRITICAL_UNCOVERED} entries.
@@ -10243,6 +10275,22 @@ interface OrchestrateClaimConsistency {
10243
10275
  /** Bound on each excerpt; default {@link DEFAULT_MAX_PAIR_EXCERPT_CHARS}. */
10244
10276
  maxExcerptChars?: number;
10245
10277
  /**
10278
+ * The declared coverage target (RV2903), in (0, 1]: the pass sizes
10279
+ * itself to COVER this share of the draft's citing sentences instead
10280
+ * of judging the first `max` pairs blind. The ninth comparison run
10281
+ * covered 43 of 115 citing sentences because its host guessed
10282
+ * `max: 56` plus the default run-fact bound, and the honest
10283
+ * 'partial' grade was the constant's echo, not a policy. Under a
10284
+ * target the pairing selects coverage-first (criticals, then one
10285
+ * pair per uncovered sentence until the target is met; `max` stays a
10286
+ * hard ceiling), the run-fact pass judges EVERY matched candidate
10287
+ * instead of the default bound, and an undeclared
10288
+ * `minimumCoverageRatio` defaults to the target, so the RV1809
10289
+ * floor machinery (the `lowCoverage` block, `onLowCoverage`, the
10290
+ * strict CLI exit) enforces the same number that sized the pass.
10291
+ */
10292
+ coverageTarget?: number;
10293
+ /**
10246
10294
  * Critical anchor declarations (RV1603): paths (a file, or a
10247
10295
  * directory matched as a prefix) or span anchors
10248
10296
  * (`src/exec.ts:250-300`). Pairs whose draft anchor matches sort
@@ -10344,6 +10392,12 @@ interface OrchestrateClaimConsistencyMeta {
10344
10392
  */
10345
10393
  coveredCitingSentences: number;
10346
10394
  /**
10395
+ * Present when `coverageTarget` was declared (RV2903): the share the
10396
+ * pass sized itself for, echoed so a persisted outcome says WHAT the
10397
+ * coverage was held against, not only what it reached.
10398
+ */
10399
+ coverageTarget?: number;
10400
+ /**
10347
10401
  * Present when `critical` was declared: the critical draft anchors
10348
10402
  * with no judged pair (capped at {@link MAX_CRITICAL_UNCOVERED});
10349
10403
  * `[]` means every declared claim the draft cited was judged.
@@ -12892,6 +12946,8 @@ type TelemetryScope = "segment" | "cumulative" | "terminal";
12892
12946
  * does not COMPILE until it declares what it counts; the string index
12893
12947
  * signature then admits the nested paths a consumer reads off the same
12894
12948
  * outcome (`cost.orchestrator.wakes`), which are not keys of the type.
12949
+ * Those it admits but cannot demand, so the table itself is held to
12950
+ * every counted leaf under `cost` where it is declared (RV2801).
12895
12951
  *
12896
12952
  * It replaces a sample: the original gate read the keys of one
12897
12953
  * successful run, which is structurally blind to every field that
@@ -12908,11 +12964,25 @@ type TerminalTelemetryScopes = Readonly<Record<keyof RunOutcome<unknown>, Teleme
12908
12964
  *
12909
12965
  * The twenty-fifth comparison run was killed and resumed, and its two
12910
12966
  * terminals mixed both kinds with nothing marking which was which: the
12911
- * money was cumulative, the wake count and the replay figures were not,
12967
+ * money was cumulative, the live-only counters were not,
12912
12968
  * and reconciling them into one honest account of the logical run was
12913
12969
  * hand work over a joined journal. Keys are field paths as a consumer
12914
- * reads them off `RunOutcome` (`cost.orchestrator.wakes`), and
12915
- * {@link TerminalTelemetryScopes} requires every one of them.
12970
+ * reads them off `RunOutcome` (`cost.orchestrator.wakes`): the type
12971
+ * requires every field of the outcome, and the `satisfies` below
12972
+ * requires every counted leaf under `cost` (RV2801), because an index
12973
+ * signature admits nested paths and demands none, so the five that were
12974
+ * declared were declared by hand and by luck while four
12975
+ * (`cost.usageApprox`, `cost.abandoned.usd`, `cost.abandoned.usageApprox`,
12976
+ * `cost.orchestrator.share`) were simply missing. That is the RV2701
12977
+ * blindness one level down: a gate whose subject is nested figures
12978
+ * cannot stop at the top level.
12979
+ *
12980
+ * What neither can decide is whether a declared scope is TRUE, and a
12981
+ * wrong scope is worse than a missing one: a missing one is noticed, a
12982
+ * wrong one is believed. The doctrine test suspends a real run, resumes
12983
+ * it, and holds every declared figure against its own claim (RV2801),
12984
+ * which is how three `cost.orchestrator.*` paths were found calling
12985
+ * themselves `'segment'` while the terminal folded them cumulatively.
12916
12986
  */
12917
12987
  declare const TERMINAL_TELEMETRY_SCOPE: TerminalTelemetryScopes;
12918
12988
  /** One logical run's telemetry, folded across every segment (RV2510). */
@@ -12987,6 +13057,20 @@ interface JournaledChild {
12987
13057
  minEntries: number;
12988
13058
  met: boolean;
12989
13059
  };
13060
+ /**
13061
+ * Present and true when the orchestration ABANDONED this child's
13062
+ * branch (RV2804): the work happened and the provider billed it, and
13063
+ * the run threw the result away. The money layer has separated the two
13064
+ * since RV1904 (`grossUsd` keeps abandoned spend, `totalUsd` does
13065
+ * not), and this roster presented discarded children exactly like kept
13066
+ * ones, so a post-mortem counting "four children settled ok" counted
13067
+ * branches the orchestrator had discarded.
13068
+ *
13069
+ * Absent means NOT ABANDONED, which is decidable here: the fold reads
13070
+ * the same first-wins abandon projection the replayer uses, over the
13071
+ * same journal, and `handle` is the very seq an abandon entry targets.
13072
+ */
13073
+ abandoned?: true;
12990
13074
  }
12991
13075
  /** One orchestration's children, folded from its journal (RV2702). */
12992
13076
  interface JournaledChildRoster {
@@ -13087,6 +13171,147 @@ interface ReconcileResult {
13087
13171
  */
13088
13172
  declare function reconcileRunMeta(store: JournalStore, runId: string, opts?: ReconcileOptions): Promise<ReconcileResult>;
13089
13173
  //#endregion
13174
+ //#region src/stores/critical-path.d.ts
13175
+ /**
13176
+ * The critical path of a logical run, folded from its journal (RV2803).
13177
+ *
13178
+ * The live reading is {@link reduceCriticalPath}; this is the same
13179
+ * question asked of what survived the process. Fields are absent where
13180
+ * the journal cannot answer, never zero.
13181
+ */
13182
+ interface JournaledCriticalPath {
13183
+ /**
13184
+ * Settled agent spans that were neither coordination nor synthesis:
13185
+ * the fan-out this run actually paid for.
13186
+ */
13187
+ workerSpans: number;
13188
+ /** Summed wall of settled `'synthesize'` spans. */
13189
+ synthesisMs: number;
13190
+ /**
13191
+ * Settled agent spans whose entry records no role, so this fold could
13192
+ * not classify them (a journal older than the attribution facts).
13193
+ * Nonzero means the counts above are a floor, and saying so is the
13194
+ * whole point of the field.
13195
+ */
13196
+ unclassifiedSpans: number;
13197
+ /** How many segments the journal holds; the wall figures need one. */
13198
+ segments: number;
13199
+ /** First stamp to last, absent unless the journal holds ONE segment. */
13200
+ runWallMs?: number;
13201
+ /** Last worker settle to the end of the run; same condition. */
13202
+ postFanInMs?: number;
13203
+ /** `postFanInMs / runWallMs`, the RV2210 target's own quantity. */
13204
+ postFanInShare?: number;
13205
+ /** `synthesisMs / runWallMs`, under the same conditions. */
13206
+ synthesisShare?: number;
13207
+ /**
13208
+ * Synthesis that is NOT the claim judge (RV1604). Present only when
13209
+ * EVERY synthesize span in the journal carried a label: one
13210
+ * unlabelled span would make the split a guess, and the split exists
13211
+ * because a guess here read a 54 second judge as a second final
13212
+ * composition.
13213
+ */
13214
+ finalCompositionMs?: number;
13215
+ /** Synthesis that IS the claim judge; same all-or-nothing condition. */
13216
+ semanticJudgeMs?: number;
13217
+ }
13218
+ /**
13219
+ * Fold a run's critical path out of its journal.
13220
+ *
13221
+ * @param entries the journal of one run, in any order
13222
+ */
13223
+ declare function criticalPathFromJournal(entries: readonly JournalEntry[]): JournaledCriticalPath;
13224
+ //#endregion
13225
+ //#region src/stores/synthesis-candidates.d.ts
13226
+ /** One failed validator on a journaled finish verdict, verbatim. */
13227
+ interface SynthesisCandidateFailure {
13228
+ name: string;
13229
+ reasons: readonly string[];
13230
+ }
13231
+ /** One finish candidate, folded from its journaled verdict (RV2902). */
13232
+ interface JournaledSynthesisCandidate {
13233
+ /** The journaled verdict: 'accepted', 'repair', or 'rejected'. */
13234
+ verdict: "accepted" | "repair" | "rejected";
13235
+ /** The verdict decision's seq: the candidate's address in the run. */
13236
+ verdictSeq: number;
13237
+ /** The verdict decision's stamp, when the entry carried one. */
13238
+ verdictAt?: string;
13239
+ /** The finish call id the verdict was keyed by. */
13240
+ callId?: string;
13241
+ /** Repairs spent BEFORE this candidate, from the verdict itself. */
13242
+ repairsUsed?: number;
13243
+ maxRepairs?: number;
13244
+ /** The contract generation the verdict was rendered under. */
13245
+ contractHash?: string;
13246
+ /** The non-accepted candidate's identity (RV2507), when journaled. */
13247
+ candidateHash?: string;
13248
+ candidateChars?: number;
13249
+ /** The rejected candidate's transcript blob, under retention. */
13250
+ candidateRef?: string;
13251
+ /** The failed validators with their reasons, verbatim. */
13252
+ failed: readonly SynthesisCandidateFailure[];
13253
+ /** The hosting span's dispatch label (RV2901), when journaled. */
13254
+ spanLabel?: string;
13255
+ /**
13256
+ * Wall from the previous boundary (the span's start, or the prior
13257
+ * verdict) to this verdict's stamp. Absent when the candidate is not
13258
+ * hosted by a settled synthesize span or a stamp is missing.
13259
+ */
13260
+ windowMs?: number;
13261
+ /**
13262
+ * Provider wire requests inside this candidate's window (absorbed
13263
+ * continuations counted). Present only when the incremental rows
13264
+ * cover the hosting span's terminal call records exactly.
13265
+ */
13266
+ wires?: number;
13267
+ /** Summed recorded usage of the window's wires; same condition. */
13268
+ usage?: Usage;
13269
+ /**
13270
+ * Window wires that recorded NO usage on a non-ok outcome: the
13271
+ * provider may have billed them anyway, so `costUsd` is a floor
13272
+ * whenever this is nonzero.
13273
+ */
13274
+ usageUnknownWires?: number;
13275
+ /**
13276
+ * The window priced per call at the caller's table. Present only
13277
+ * when a price function was given and it priced EVERY window wire;
13278
+ * an unpriced model drops the field rather than shrinking it.
13279
+ */
13280
+ costUsd?: number;
13281
+ }
13282
+ /** What `synthesisCandidatesFromJournal` folded, beside the candidates. */
13283
+ interface JournaledSynthesisCandidateReport {
13284
+ /** Every hosted candidate, in verdict seq order. */
13285
+ candidates: readonly JournaledSynthesisCandidate[];
13286
+ /** Settled synthesize spans the journal holds. */
13287
+ synthesisSpans: number;
13288
+ /**
13289
+ * Finish verdicts NOT hosted by a settled synthesize span: draft
13290
+ * stage validations in the coordination span, and verdicts inside a
13291
+ * synthesis that never settled. Counted, never guessed into
13292
+ * candidates.
13293
+ */
13294
+ unhostedVerdicts: number;
13295
+ /**
13296
+ * Settled synthesize spans whose incremental billing rows do not
13297
+ * cover their terminal call records (the rows append asynchronously
13298
+ * and may be missing); their candidates carry verdict facts only.
13299
+ */
13300
+ unattributedSpans: number;
13301
+ /** Wires after a span's LAST verdict: attributed to no candidate. */
13302
+ tailWires: number;
13303
+ }
13304
+ /**
13305
+ * Fold the finish candidates (RV2902) out of a run's journal: each
13306
+ * journaled validation verdict with the window of wall, wires, usage,
13307
+ * and priced cost that produced the candidate it judged.
13308
+ *
13309
+ * @param entries the journal of one run, in any order
13310
+ * @param priceUsd prices one call's usage at its serving model, the
13311
+ * same shape `invoiceFromJournal` takes; omit to fold without money
13312
+ */
13313
+ declare function synthesisCandidatesFromJournal(entries: readonly JournalEntry[], priceUsd?: (servedBy: ModelRef, usage: Usage) => number | undefined): JournaledSynthesisCandidateReport;
13314
+ //#endregion
13090
13315
  //#region src/stores/jsonl.d.ts
13091
13316
  declare class JsonlFileStore implements MetaLookupStore {
13092
13317
  private readonly dir;
@@ -13683,6 +13908,32 @@ declare function statementFromRows(input: {
13683
13908
  rows: readonly Record<string, unknown>[];
13684
13909
  map: StatementColumnMap;
13685
13910
  }): ProviderStatement;
13911
+ /** How {@link statementRowsFromDelimited} splits cells; default ','. */
13912
+ interface DelimitedStatementOptions {
13913
+ delimiter?: "," | ";" | " " | "|";
13914
+ }
13915
+ /**
13916
+ * Parses a delimited billing export (the CSV/TSV a provider console
13917
+ * hands a host) into the header-keyed rows {@link statementFromRows}
13918
+ * consumes (RV2908). The library deliberately hard-codes NO provider's
13919
+ * export format: the host owns the column map, this owns only the
13920
+ * delimited grammar, and the pair closes the last manual step between
13921
+ * a downloaded export and {@link reconcileStatement}.
13922
+ *
13923
+ * Fail-closed at the record, like the rest of this module: a data row
13924
+ * whose cell count differs from the header, a quote opened and never
13925
+ * closed, a stray quote inside an unquoted cell, an empty or duplicate
13926
+ * header name, all refuse typed with the line instead of flowing a
13927
+ * shifted column into a reconciliation, because a column shifted one
13928
+ * to the left prices `outputTokens` as dollars and calls it evidence.
13929
+ * RFC 4180 quoting is honored (quoted cells may carry the delimiter,
13930
+ * doubled quotes, and line breaks); CRLF and lone LF both delimit
13931
+ * records; one trailing empty line is an artifact of every exporter
13932
+ * and is ignored. Cells come back as raw strings, so an empty cell
13933
+ * reads as "the export does not carry this figure" downstream, exactly
13934
+ * the absence contract `statementFromRows` documents.
13935
+ */
13936
+ declare function statementRowsFromDelimited(text: string, options?: DelimitedStatementOptions): Record<string, string>[];
13686
13937
  //#endregion
13687
13938
  //#region src/engine/persisted-terminal.d.ts
13688
13939
  /**
@@ -14786,6 +15037,23 @@ interface PostFanInBreakdown {
14786
15037
  * composition in {@link reduceCriticalPath}.
14787
15038
  */
14788
15039
  declare const CLAIM_JUDGE_LABEL = "claim-consistency-judge";
15040
+ /**
15041
+ * The label the final synthesis (composition) invocation dispatches
15042
+ * under (RV2901). The engine labelling its OWN dispatches is what lets
15043
+ * `criticalPathFromJournal` split the synthesize bucket offline: the
15044
+ * split demands a label on EVERY synthesize span, and the comparison
15045
+ * run that shipped the journal fold still refused it because this one
15046
+ * dispatch stayed anonymous while the claim judge was labelled.
15047
+ */
15048
+ declare const FINAL_COMPOSITION_LABEL = "final-composition";
15049
+ /**
15050
+ * The label an incremental synthesis note dispatches under (RV2901).
15051
+ * Notes ride role 'synthesize' and are composition-side work, so both
15052
+ * reducers count them toward the composition half of the split; the
15053
+ * label exists so a journal reader can tell WHICH composition spans
15054
+ * were notes without guessing from their size.
15055
+ */
15056
+ declare const SYNTHESIS_NOTE_LABEL = "synthesis-note";
14789
15057
  declare function reduceCriticalPath(events: Iterable<WorkflowEvent>): CriticalPath;
14790
15058
  //#endregion
14791
15059
  //#region src/runner/sandbox-bridge.d.ts
@@ -14860,4 +15128,4 @@ interface SandboxBridge {
14860
15128
  declare const SANDBOX_AGENT_OPT_KEYS: readonly string[];
14861
15129
  declare function createSandboxBridge(ctx: Ctx<never>, options: SandboxBridgeOptions): SandboxBridge;
14862
15130
  //#endregion
14863
- export { AWAIT_SCHEMA, AbandonAttempt, AbandonFold, AbandonPayload, AbandonedSpendView, AbortClass, AcceptanceChildSummary, type AdaptiveEvents, AdmissionController, AdmissionDecision, AdmissionRejectedError, AdmissionStatsBefore, AdmitLineage, AdmitRejectReason, AdmitSpec, AdmitVerdict, AgentCallError, AgentError, type AgentEvents, AgentIdentityInput, type AgentInvocationRow, AgentOpts, AgentProfile, AgentProfilePermissions, AgentProfileTemplateOptions, AgentResult, AgentResultMeta, AgentStatus, type AppliedPricingRow, ApproachSignatureInputs, ApprovalDecision, ApprovalIdentityInput, Artifact, AttemptOutcomeClass, AuditCategory, AuditRecord, AuditRunsOptions, BUDGET_ABORT_REASON, BaseAppend, BillingComponent, BriefOpts, BudgetAccountView, BudgetDefaults, BudgetExhaustedError, BudgetExhaustionDiagnostics, BudgetHooks, BudgetReserve, type Bytes, CANCEL_AGENT_SCHEMA, CHECKPOINT_FORMAT_V1, CLAIM_JUDGE_LABEL, CLAIM_STATEMENT_MAX_CHARS, CLAIM_TTL_DAYS, COMPACTION_SUMMARY_PREFIX, CURRENT_HASH_VERSION, CacheHint, CachePolicy, CacheTtl, CanUseTool, CanonicalId, CanonicalIdentity, CanonicalLadderSpec, CanonicalModelSpec, ChatEvent, ChatRequest, CheckpointState, ChildArtifactPage, ChildExecutionFacts, ChildIdentityInput, ChildResultPage, ChildrenAtFailure, CitationTarget, type ClaimClass, ClaimContradictionFinding, ClaimCoverageGrade, ClaimCoverageInput, type ClaimOp, ClaimPair, ClaimPairOptions, ClaimPairsFold, ClaimPoolReading, type ClaimStatus, ClaimValidationOptions, CollectOpts, CollectedTurn, CompactionConfig, CompiledPermissionChain, CompiledWorkflow, ComponentDelta, ConfigError, Contradiction, ContradictionClaim, ContradictionOptions, ContradictionSource, type CoreEvents, CostAttribution, CostAttributionFacts, type CostBasis, CostReport, CreateEngineOptions, type CriticalPath, Ctx, DECISION_CHAIN_KINDS, DEFAULT_ANCHOR_PATTERN, DEFAULT_ARTIFACT_PATTERN, DEFAULT_CHILD_BUDGET_FRACTION, DEFAULT_CHILD_RESULT_PAGE_CHARS, DEFAULT_CITATION_PATTERN, DEFAULT_CITATION_SAMPLE, DEFAULT_CLAIM_JUDGE_MAX_TURNS, DEFAULT_COMPACTION_THRESHOLD, DEFAULT_ESCALATION_LIMITS, DEFAULT_EVIDENCE_CALLS_PER_ENTRY, DEFAULT_EVIDENCE_GRADE_PHRASES, DEFAULT_EVIDENCE_MIN_SHARE, DEFAULT_EVIDENCE_OVERHEAD_CALLS, DEFAULT_FINISH_MAX_REPAIRS, DEFAULT_FLAT_RESERVE_USD, DEFAULT_MAX_CHILDREN_PER_NODE, DEFAULT_MAX_CLAIM_PAIRS, DEFAULT_MAX_CONTRADICTIONS, DEFAULT_MAX_DEPTH, DEFAULT_MAX_EXCERPT_CHARS, DEFAULT_MAX_OSCILLATIONS_PER_KEY, DEFAULT_MAX_PAIR_EXCERPT_CHARS, DEFAULT_MAX_PINNED_WORKTREES, DEFAULT_MAX_POOL_PER_PAIR, DEFAULT_MAX_QUOTA_DENIALS, DEFAULT_MAX_REVISIONS_PER_RUN, DEFAULT_MAX_RUN_FACT_PAIRS, DEFAULT_MAX_TOTAL_SPAWNS, DEFAULT_MAX_TURNS, DEFAULT_MODEL_RETRY_ATTEMPTS, DEFAULT_NO_PROGRESS_TURNS, DEFAULT_PER_RUN_CONCURRENCY, DEFAULT_RETRY_POLICY, DEFAULT_STREAM_IDLE_TIMEOUT_MS, DEFAULT_SYNTHESIS_MAX_TURNS, DEFAULT_SYNTHESIS_NOTE_MAX_TURNS, DataKeyProvider, DebitResult, DecisionChainRow, DeclaredLadder, DedupIndex, DedupNote, DedupedClaims, DerivedKey, DeriverRegistry, type DeterminismConfig, DeterminismError, type DeterminismEvents, type DeterminismMode, DispositionRule, DispositionTable, DocumentedRates, DonorCandidate, DonorRef, DroppedItem, EMIT_RESULT_TOOL, EMPTY_AUTHORITY_HASH, EMPTY_SCHEMA_HASH, EMPTY_TOOLSET_HASH, ESCALATE_TOOL_NAME, ESCALATION_REPORT_SCHEMA, ESCALATION_REQUEST_SCHEMA, EVENT_SEGMENT_STRIDE, EXPOSURE_WAIT_SWEEP_MS, EffectiveUsageLimits, Effort, Engine, EngineDefaults, EngineQuotaConfig, EngineQuotaRuntime, EntryBillingFold, EntryBillingUnit, EntryKind, EntryRef, EntryStatus, EnvelopeEncryption, EnvelopeEncryptionOptions, ErrorClass, ErrorCode, ErrorPolicy, EscalatedResult, EscalationDecision, EscalationDecisionAbortedError, EscalationDigest, EscalationKind, EscalationLimits, EscalationOptions, EscalationReport, EscalationRequest, EventBus, EvidenceContract, type EvidenceRef, type ExecKeyDerivation, type ExecutorRegistry, type ExplorationSummary, ExtensionAppendInput, ExtensionDispatchSpec, ExternalIdentityInput, ExternalRegistry, ExtractNecessityInput, FINALIZE_SYNTHESIS_INSTRUCTION, FINISH_SCHEMA, FINISH_SECTIONAL_SCHEMA, FINISH_TOOL_NAME, FUTURE_RATES_TOLERANCE_MS, FailRunError, FailoverTarget, FailoverTrigger, FallbackField, FallbackTrigger, FencedCodeMode, FileModelKnowledgeStore, FileModelKnowledgeStoreOptions, FileTranscriptStore, type FinalizationWindowBudget, FinishContract, FinishContractCitations, FinishContractGoldenReject, FinishContractManifest, FinishContractSectionPattern, FinishInfo, FinishSelfTestFailure, FinishSelfTestFixtures, FinishSelfTestReport, FinishValidationChild, FinishValidationInput, FinishValidationSpec, FinishValidationVerdict, FinishValidator, GET_CHILD_RESULT_SCHEMA, GET_CHILD_RESULT_TOOL_NAME, GET_SETTLED_CHILD_RESULTS_SCHEMA, GET_SETTLED_CHILD_RESULTS_TOOL_NAME, Gate, GateAudit, type GateRecord, GitWorktreeProvider, GitWorktreeProviderOptions, GraftBoot, HashVersion, HookVerdict, IMPLEMENTATION_PROFILE_LIMITS, INBOX_PROPOSAL_TTL_DAYS, IN_FLIGHT_EXPOSURE_REFUSAL_PREFIX, IdentityInput, InMemoryStore, InMemoryTranscriptStore, InProcessRunner, IncrementalSynthesisResult, InvalidResolutionError, InvocationRole, type InvocationTable, InvoiceCardinality, InvoiceExport, InvoicePricingProvenance, InvoiceReconciliation, InvoiceRow, type IsolatedExecContext, type IsolatedExecRequest, type IsolatedExecutorTag, type IsolationProvider, type IsolationSpec, Issue$1 as Issue, JOURNAL_ENVELOPE_MARKER, JournalCompatSubCode, JournalCompatibilityError, JournalEntry, JournalMatcher, JournalMissError, JournalOperation, JournalOrderViolation, type JournalPricingSnapshot, JournalSealedError, JournalSerializationContext, JournalSerializationHook, type JournalStore, JournaledChild, JournaledChildRoster, type Json, JsonSchema, JsonlFileStore, KB_ACTIVE_CLAIMS_CAP, KB_CARD_RENDER_BUDGET_CHARS, type KbProposal, type KbProposalTrigger, KeyDeriver, KeyRing, KeyedLimiter, KnowledgeCasError, type KnowledgeSnapshot, LARGE_VALUE_WARN_BYTES, LEGACY_LTID_PREFIX, LEGACY_SIGNATURE_INPUTS, LINEAGE_SIG_VERSION, LadderSpec, type LeasableStore, type Lease, LeaseHeldError, Ledger, LineageCounters, LineageIndex, LineageRef, LineageRelation, LineageStats, LogicalRunTelemetry, LogicalTaskId, MASKED_SECRET, MAX_CHILD_RESULT_PAGE_CHARS, MAX_CRITICAL_UNCOVERED, MAX_DEPTH_CEILING, MAX_RUN_FACTS_SHEET_CHARS, MAX_RUN_ID_LENGTH, MAX_TIMER_DELAY_MS, MatchResult, McpConfig, McpToolSource, MechanicalGateProfile, MechanicalGateVerdict, MemoryQuotaLimiter, type MetaLookupStore, type ModelCaps, ModelChoice, type ModelClaim, ModelEpochInputs, type ModelKnowledgeHandle, type ModelKnowledgeStore, ModelListConstraint, ModelRef, ModelRetry, ModelSpec, Msg, NoProgressDetector, NodeId, NodeLinkValue, NonSerializableValueError, ORCHESTRATE_WORKFLOW_NAME, OnEscalation, OperationDisposition, OrchestrateAcceptance, OrchestrateClaimConsistency, OrchestrateClaimConsistencyMeta, OrchestrateContradictions, OrchestrateContradictionsMeta, OrchestrateDraftToFinal, OrchestrateOptions, OrchestrateSynthesis, OrchestrateSynthesisSkipReason, OrchestratorBudgetSpec, OrchestratorCapConfigError, OrchestratorExtension, OrchestratorExtensionIO, OrchestratorRuntime, Out, PARALLEL_AGENTS_SCHEMA, PROGRESS_REPORT_TOOL_NAME, ParallelSiteCounter, Part, PendingExternal, PendingToolTurn, PermissionConfig, PermissionGate, PermissionHook, PermissionPreset, PermissionRule, PermissionVerdict, PersistedTerminalRefusal, PersistedTerminalResult, type PhaseRow, PhaseTarget, PilotAgentProfileOptions, PilotAgentProfileResult, type PinnedPricingSegment, PipelineCollected, PipelineOpts, PlanInvariantError, type PostFanInBreakdown, PreflightAdmissionRow, PreflightFinding, PreflightInput, PreflightOrchestratorSpec, PreflightReport, PreflightSpawnReport, PreflightSpawnSpec, PreflightToolCeiling, PriceTable, PricedComponent, PricedComponents, PricedUsage, type Pricing, type PricingTier, ProgressReport, type ProviderAdapter, ProviderCallRecord, ProviderStatement, QUOTA_WINDOW_MS, QualityFloors, QuotaCounters, type QuotaDecision, type QuotaEstimate, type QuotaLimiter, type QuotaReservationRequest, QuotaRule, QuotaWindowSnapshot, READ_CHILD_ARTIFACT_SCHEMA, READ_CHILD_ARTIFACT_TOOL_NAME, RESEARCH_PROFILE_LIMITS, REVIEW_PROFILE_LIMITS, ROLE_EFFORT_DEFAULTS, ROOT_ACCOUNT, ROOT_SCOPE, RUN_FACTS_ANCHOR, RUN_PROFILES, RUN_SETTLE_DECISION_TYPE, RandIdentityInput, RandPayload, RateLimitObservation, ReconcileOptions, ReconcileResult, ReconcileStatementOptions, RefEntryAppender, RefEntryClassification, RefusalInfo, RejectedFinishCandidate, RepeatedClaim, ReplayDisposition, ReplayMode, ReplayPlanHashMismatch, Replayer, RepositoryResearchToolset, RepositoryResearchToolsetOptions, ResearchAgentProfileOptions, ResearchAgentProfileResult, ResearchEvidenceEntry, ResolutionArbiter, ResolutionAttempt, ResolutionBy, ResolutionFold, ResolutionLayer, ResolutionOutcome, ResolutionPayload, ResolvedInvocation, ResolvedToolset, ResumeHandle, ResumeOptions, ResumePreview, ResumeReport, RetryClass, RetryPolicy, ReuseConfig, RiskRuleValue, Role, RulvarError, RulvarErrorCode, RunAgentOptions, RunAuditVerdict, RunBudget, RunEventSink, RunExport, RunFactPairOptions, RunFactPairsFold, RunFactsSheet, type RunFilter, RunHandle, RunInternals, type RunMeta, RunOptions, RunOutcome, RunProfile, RunStateAudit, RunStatus, RuntimeEventSink, SANDBOX_AGENT_OPT_KEYS, SPAWN_ADMISSION_DECISION_TYPE, SPAWN_AGENT_SCHEMA, SandboxBridge, SandboxBridgeOptions, SandboxError, SandboxHostToWorker, SandboxMethod, SandboxWorkerToHost, SchemaPair, SchemaSpec, SchemaValidationResult, ScopeSegment, ScriptRejected, ScriptRunner, ScrubNote, SecretMasker, SectionMatchMode, SectionPatternEntry, SemanticPassSummary, SemanticPassesSummary, Semaphore, SerializationHook, Settled, SettlementError, ShellPatternRules, ShellSegment, ShellVerdict, SinglePhaseAppend, SpanMinter, SpanRegistry, SpawnAdmissionValue, SpawnAgentParams, SpawnKey, SpawnLineage, SpawnLineageOpt, SpawnOrigin, SpawnRecord, Spend, Stage, type StandardJSONSchemaV1, type StandardSchemaV1, StatementCategoryRow, StatementColumnMap, StatementCoverage, StatementReconciliation, StatementRequestRow, StepIdentityInput, type StreamHooks, StructuredOutputTier, SupersededError, SuspendedAppend, SuspensionState, TERMINAL_TELEMETRY_SCOPE, TOOL_NAME_PATTERN, type TaskClass, TaskDigest, TaskSpec, TelemetryScope, type TerminalEnvelope, TerminalOutcomeFacts, TerminalPatch, TerminalTelemetryScopes, TerminationAccount, TerminationAccountSnapshot, TerminationDeniedValue, TerminationDeniedWriter, TerminationInitValue, TerminationLimits, TerminationResource, ToolAuthority, type ToolBudgetSummary, ToolCallRequest, ToolChoice, type ToolContext, ToolContextSeed, ToolContract, type ToolDef, type ToolEvents, type ToolExecutor, type ToolExecutorProvider, ToolInit, type ToolRisk, ToolRuntime, type ToolSource, type ToolSourceSession, ToolsOption, ToolsetAttestation, TranscriptSerializationHook, type TranscriptStore, TriggerClass, TtlState, Usage, UsageLimits, UsageSlice, VerifiedRecommendation, WAIT_FOR_EVENTS_SCHEMA, WAIT_FOR_EVENTS_TOOL_NAME, WAKE_SUMMARY_RENDER_BUDGET_CHARS, WakeBudgetBlock, WakeDigest, WakeTrigger, WireError, Workflow, WorkflowCallOpts, type WorkflowEvent, type WorkflowEventBody, WorkflowRegistry, accountSpendFromJournal, admissionReserveUsd, affordableOutputTokens, agentErrorFromWire, agentErrorToWire, agentResultWire, agentScope, applyClaimOps, applyStructuredOutputTier, approachSigCoarse, approachSigOf, archiveDeprecatedModelOps, assertFencedWrites, assertSafeRunId, atCompactionThreshold, attestToolset, auditRun, auditRuns, buildAbandonFold, buildAdapterRegistry, buildCostReport, buildDeriverRegistry, buildOrchestratorTools, buildTerminationInitValue, buildToolContext, canRideLoopTurn, canonicalIsolationTag, canonicalizeLadder, canonicalizeSchema, capIssues, capsHashOf, checkFloors, checkpointRefFor, childCoveragePrefix, childRostersFromJournal, citationTargetsValidator, citedValueValidator, claimCoverageOf, claimExpired, claimExpiry, claimIssues, claimOpIssues, classifyAgentError, classifyAttemptOutcome, collectDeclaredLadders, compactMessages, compareRates, compilePermissionChain, compilePermissionPreset, compileSecretMasker, compileVerifiedLayer, constantTimeEqual, costReportFromJournal, countsAgainstLimit, createCanonicalIdMinter, createCtx, createEngine, createEnvelopeEncryption, createSandboxBridge, currentOnlyKeyRing, decodeCheckpoint, dedupeRepeatedClaims, defineWorkflow, deriveContentKey, deriverV1, deriverV2, digestOf, dispatchProjectionReserveUsd, dispositionHook, emptyDigestBlocks, emptyToolset, encodeCheckpoint, enforceToolsetAttestation, entryUsageSlices, escalateTool, evaluatePermission, evaluateReuse, evidenceGradeValidator, evidencePreservedValidator, executeWorkflow, executionFactsOf, exhaustionCodeOf, extractCandidate, failoverTriggerOf, fallbackTriggerOf, filterClaimsForRun, finalizeFires, findContradictions, finishContract, foldLedger, foldTermination, formatCharacterValidator, formatRePrompt, formatScopePath, hasFencedWrites, hasMetaLookup, hashRunArgs, hashRunOutput, hashWorkflowBody, hashWorkflowSource, headingStructureValidator, identityJcs, implementationAgentProfile, invoiceFromJournal, isEscalated, isSchemaPairSpec, isStandardSchemaSpec, isStrictCompatibleSchema, journalPricingSnapshot, kMaxOf, knowledgeHash, ladderLengthOf, ladderRungChoice, lastRunSettle, latestProgressReport, lexShellCommand, liftRetainedParts, lineageWeightOf, localKeyProvider, logicalRunTelemetry, makeOrchestratorWorkflow, maskSecrets, maskSecretsDeep, maskSecretsJson, matchArgvPattern, matchShellCommand, mcp, memoryQuotaLimiter, mergeQuotaDenial, mergeUsageLimits, metaMatchesFilter, minMatchesValidator, modelEpochOf, modelKnowledgeCard, modelSpecIdentity, needsSeparateExtract, nextFailover, nodeLinkKey, normalizeApproachTag, normalizeEntry, normalizeFallbacks, orchestrate, orchestratorAdmissionEstCostUsd, pairDraftClaims, pairRunFactClaims, parallelScope, parseModelRef, parseScopePath, persistedTerminalEnvelope, phiInitialOf, pilotAgentProfile, pipelineScope, planNodeScope, preflightEstimate, priceComponentsOf, priceEntryBilling, priceEntryUsage, priceUsdOf, profileCard, profileRegistrySnapshotHash, progressReportTool, projectHistory, projectIdentity, projectToJsonSchema, proposalStatement, providerOf, quotaActualRequestsDelta, quotaActualTokens, quotaEstimateTokens, quotaRuleAdmission, quotaRuleKey, quotaRuleMatches, readRunMeta, readTerminationInit, reconcileRunMeta, reconcileStatement, reduceAuditTrail, reduceCriticalPath, reduceDecisionChain, reduceInvocationTable, registryKeyRing, remeasureQueue, replayDisposition, repositoryResearchToolset, requiredFieldsValidator, requiredSectionsValidator, researchAgentProfile, resolveModelInvocation, resolvePricing, resolveToolset, retryClassOf, retryDelayMs, reviewAgentProfile, roleConfiguredInRouting, roundOneDisposition, runAgent, runProfile, sanitizeTerminalText, sanitizeTokenCount, sanitizeUsage, sanitizeUsageDelta, scanJournalCompatibility, schemaHash, schemaHashOfSpec, sectionCitationsValidator, sectionPatternCountValidator, selectStructuredOutputTier, selfTestFinishValidation, shouldCompact, snapshotQuotaRules, snapshotUsage, spawnDepthOf, spliceSections, statementFromRows, stripFencedBlocks, sumUsage, summarizeInstruction, summarizeOutput, terminalEnvelopeOf, terminationConfigDrift, tierWithinCaps, toApprovalDecision, toJournalValue, tool, toolAuthority, toolContract, toolContractHash, toolsetAuthorityHash, toolsetHash, ttlState, usageViolations, validateDetachedResolution, validateEditorialCommit, validateEngineQuotaConfig, validateEntryShape, validateEscalationLimits, validateEscalationReport, validateQuotaRules, validateRetryPolicy, validateSchemaSpec, validateTerminationLimits, validateToolsetAttestation, validateUsageLimits, wordCountValidator, workflowScope, workflowSourceRef, wrapJournalStore, wrapTranscriptStore };
15131
+ export { AWAIT_SCHEMA, AbandonAttempt, AbandonFold, AbandonPayload, AbandonedSpendView, AbortClass, AcceptanceChildSummary, type AdaptiveEvents, AdmissionController, AdmissionDecision, AdmissionRejectedError, AdmissionStatsBefore, AdmitLineage, AdmitRejectReason, AdmitSpec, AdmitVerdict, AgentCallError, AgentError, type AgentEvents, AgentIdentityInput, type AgentInvocationRow, AgentOpts, AgentProfile, AgentProfilePermissions, AgentProfileTemplateOptions, AgentResult, AgentResultMeta, AgentStatus, type AppliedPricingRow, ApproachSignatureInputs, ApprovalDecision, ApprovalIdentityInput, Artifact, AttemptOutcomeClass, AuditCategory, AuditRecord, AuditRunsOptions, BUDGET_ABORT_REASON, BaseAppend, BillingComponent, BriefOpts, BudgetAccountView, BudgetDefaults, BudgetExhaustedError, BudgetExhaustionDiagnostics, BudgetHooks, BudgetReserve, type Bytes, CANCEL_AGENT_SCHEMA, CHECKPOINT_FORMAT_V1, CLAIM_JUDGE_LABEL, CLAIM_STATEMENT_MAX_CHARS, CLAIM_TTL_DAYS, COMPACTION_SUMMARY_PREFIX, CURRENT_HASH_VERSION, CacheHint, CachePolicy, CacheTtl, CanUseTool, CanonicalId, CanonicalIdentity, CanonicalLadderSpec, CanonicalModelSpec, ChatEvent, ChatRequest, CheckpointState, ChildArtifactPage, ChildExecutionFacts, ChildIdentityInput, ChildResultPage, ChildrenAtFailure, CitationTarget, type ClaimClass, ClaimContradictionFinding, ClaimCoverageGrade, ClaimCoverageInput, type ClaimOp, ClaimPair, ClaimPairOptions, ClaimPairsFold, ClaimPoolReading, type ClaimStatus, ClaimValidationOptions, CollectOpts, CollectedTurn, CompactionConfig, CompiledPermissionChain, CompiledWorkflow, ComponentDelta, ConfigError, Contradiction, ContradictionClaim, ContradictionOptions, ContradictionSource, type CoreEvents, CostAttribution, CostAttributionFacts, type CostBasis, CostReport, CreateEngineOptions, type CriticalPath, Ctx, DECISION_CHAIN_KINDS, DEFAULT_ANCHOR_PATTERN, DEFAULT_ARTIFACT_PATTERN, DEFAULT_CHILD_BUDGET_FRACTION, DEFAULT_CHILD_RESULT_PAGE_CHARS, DEFAULT_CITATION_PATTERN, DEFAULT_CITATION_SAMPLE, DEFAULT_CLAIM_JUDGE_MAX_TURNS, DEFAULT_COMPACTION_THRESHOLD, DEFAULT_ESCALATION_LIMITS, DEFAULT_EVIDENCE_CALLS_PER_ENTRY, DEFAULT_EVIDENCE_GRADE_PHRASES, DEFAULT_EVIDENCE_MIN_SHARE, DEFAULT_EVIDENCE_OVERHEAD_CALLS, DEFAULT_FINISH_MAX_REPAIRS, DEFAULT_FLAT_RESERVE_USD, DEFAULT_MAX_CHILDREN_PER_NODE, DEFAULT_MAX_CLAIM_PAIRS, DEFAULT_MAX_CONTRADICTIONS, DEFAULT_MAX_DEPTH, DEFAULT_MAX_EXCERPT_CHARS, DEFAULT_MAX_OSCILLATIONS_PER_KEY, DEFAULT_MAX_PAIR_EXCERPT_CHARS, DEFAULT_MAX_PINNED_WORKTREES, DEFAULT_MAX_POOL_PER_PAIR, DEFAULT_MAX_QUOTA_DENIALS, DEFAULT_MAX_REVISIONS_PER_RUN, DEFAULT_MAX_RUN_FACT_PAIRS, DEFAULT_MAX_TOTAL_SPAWNS, DEFAULT_MAX_TURNS, DEFAULT_MODEL_RETRY_ATTEMPTS, DEFAULT_NO_PROGRESS_TURNS, DEFAULT_PER_RUN_CONCURRENCY, DEFAULT_RETRY_POLICY, DEFAULT_STREAM_IDLE_TIMEOUT_MS, DEFAULT_SYNTHESIS_MAX_TURNS, DEFAULT_SYNTHESIS_NOTE_MAX_TURNS, DataKeyProvider, DebitResult, DecisionChainRow, DeclaredLadder, DedupIndex, DedupNote, DedupedClaims, DelimitedStatementOptions, DerivedKey, DeriverRegistry, type DeterminismConfig, DeterminismError, type DeterminismEvents, type DeterminismMode, DispositionRule, DispositionTable, DocumentedRates, DonorCandidate, DonorRef, DroppedItem, EMIT_RESULT_TOOL, EMPTY_AUTHORITY_HASH, EMPTY_SCHEMA_HASH, EMPTY_TOOLSET_HASH, ESCALATE_TOOL_NAME, ESCALATION_REPORT_SCHEMA, ESCALATION_REQUEST_SCHEMA, EVENT_SEGMENT_STRIDE, EXPOSURE_WAIT_SWEEP_MS, EffectiveUsageLimits, Effort, Engine, EngineDefaults, EngineQuotaConfig, EngineQuotaRuntime, EntryBillingFold, EntryBillingUnit, EntryKind, EntryRef, EntryStatus, EnvelopeEncryption, EnvelopeEncryptionOptions, ErrorClass, ErrorCode, ErrorPolicy, EscalatedResult, EscalationDecision, EscalationDecisionAbortedError, EscalationDigest, EscalationKind, EscalationLimits, EscalationOptions, EscalationReport, EscalationRequest, EventBus, EvidenceContract, type EvidenceRef, type ExecKeyDerivation, type ExecutorRegistry, type ExplorationSummary, ExtensionAppendInput, ExtensionDispatchSpec, ExternalIdentityInput, ExternalRegistry, ExtractNecessityInput, FINALIZE_SYNTHESIS_INSTRUCTION, FINAL_COMPOSITION_LABEL, FINISH_SCHEMA, FINISH_SECTIONAL_SCHEMA, FINISH_TOOL_NAME, FUTURE_RATES_TOLERANCE_MS, FailRunError, FailoverTarget, FailoverTrigger, FallbackField, FallbackTrigger, FencedCodeMode, FileModelKnowledgeStore, FileModelKnowledgeStoreOptions, FileTranscriptStore, type FinalizationWindowBudget, FinishContract, FinishContractCitations, FinishContractGoldenReject, FinishContractManifest, FinishContractSectionPattern, FinishInfo, FinishSelfTestFailure, FinishSelfTestFixtures, FinishSelfTestReport, FinishValidationChild, FinishValidationInput, FinishValidationSpec, FinishValidationVerdict, FinishValidator, GET_CHILD_RESULT_SCHEMA, GET_CHILD_RESULT_TOOL_NAME, GET_SETTLED_CHILD_RESULTS_SCHEMA, GET_SETTLED_CHILD_RESULTS_TOOL_NAME, Gate, GateAudit, type GateRecord, GitWorktreeProvider, GitWorktreeProviderOptions, GraftBoot, HashVersion, HookVerdict, IMPLEMENTATION_PROFILE_LIMITS, INBOX_PROPOSAL_TTL_DAYS, IN_FLIGHT_EXPOSURE_REFUSAL_PREFIX, IdentityInput, InMemoryStore, InMemoryTranscriptStore, InProcessRunner, IncrementalSynthesisResult, InvalidResolutionError, InvocationRole, type InvocationTable, InvoiceCardinality, InvoiceExport, InvoicePricingProvenance, InvoiceReconciliation, InvoiceRow, type IsolatedExecContext, type IsolatedExecRequest, type IsolatedExecutorTag, type IsolationProvider, type IsolationSpec, Issue$1 as Issue, JOURNAL_ENVELOPE_MARKER, JournalCompatSubCode, JournalCompatibilityError, JournalEntry, JournalMatcher, JournalMissError, JournalOperation, JournalOrderViolation, type JournalPricingSnapshot, JournalSealedError, JournalSerializationContext, JournalSerializationHook, type JournalStore, JournaledChild, JournaledChildRoster, JournaledCriticalPath, JournaledSynthesisCandidate, JournaledSynthesisCandidateReport, type Json, JsonSchema, JsonlFileStore, KB_ACTIVE_CLAIMS_CAP, KB_CARD_RENDER_BUDGET_CHARS, type KbProposal, type KbProposalTrigger, KeyDeriver, KeyRing, KeyedLimiter, KnowledgeCasError, type KnowledgeSnapshot, LARGE_VALUE_WARN_BYTES, LEGACY_LTID_PREFIX, LEGACY_SIGNATURE_INPUTS, LINEAGE_SIG_VERSION, LadderSpec, type LeasableStore, type Lease, LeaseHeldError, Ledger, LineageCounters, LineageIndex, LineageRef, LineageRelation, LineageStats, LogicalRunTelemetry, LogicalTaskId, MASKED_SECRET, MAX_CHILD_RESULT_PAGE_CHARS, MAX_CRITICAL_UNCOVERED, MAX_DEPTH_CEILING, MAX_RUN_FACTS_SHEET_CHARS, MAX_RUN_ID_LENGTH, MAX_TIMER_DELAY_MS, MatchResult, McpConfig, McpToolSource, MechanicalGateProfile, MechanicalGateVerdict, MemoryQuotaLimiter, type MetaLookupStore, type ModelCaps, ModelChoice, type ModelClaim, ModelEpochInputs, type ModelKnowledgeHandle, type ModelKnowledgeStore, ModelListConstraint, ModelRef, ModelRetry, ModelSpec, Msg, NoProgressDetector, NodeId, NodeLinkValue, NonSerializableValueError, ORCHESTRATE_WORKFLOW_NAME, OnEscalation, OperationDisposition, OrchestrateAcceptance, OrchestrateClaimConsistency, OrchestrateClaimConsistencyMeta, OrchestrateContradictions, OrchestrateContradictionsMeta, OrchestrateDraftToFinal, OrchestrateOptions, OrchestrateSynthesis, OrchestrateSynthesisSkipReason, OrchestratorBudgetSpec, OrchestratorCapConfigError, OrchestratorExtension, OrchestratorExtensionIO, OrchestratorRuntime, Out, PARALLEL_AGENTS_SCHEMA, PROGRESS_REPORT_TOOL_NAME, ParallelSiteCounter, Part, PendingExternal, PendingToolTurn, PermissionConfig, PermissionGate, PermissionHook, PermissionPreset, PermissionRule, PermissionVerdict, PersistedTerminalRefusal, PersistedTerminalResult, type PhaseRow, PhaseTarget, PilotAgentProfileOptions, PilotAgentProfileResult, type PinnedPricingSegment, PipelineCollected, PipelineOpts, PlanInvariantError, type PostFanInBreakdown, PreflightAdmissionRow, PreflightFinding, PreflightInput, PreflightOrchestratorSpec, PreflightReport, PreflightSpawnReport, PreflightSpawnSpec, PreflightToolCeiling, PriceTable, PricedComponent, PricedComponents, PricedUsage, type Pricing, type PricingTier, ProgressReport, type ProviderAdapter, ProviderCallRecord, ProviderStatement, QUOTA_WINDOW_MS, QualityFloors, QuotaCounters, type QuotaDecision, type QuotaEstimate, type QuotaLimiter, type QuotaReservationRequest, QuotaRule, QuotaWindowSnapshot, READ_CHILD_ARTIFACT_SCHEMA, READ_CHILD_ARTIFACT_TOOL_NAME, RESEARCH_PROFILE_LIMITS, REVIEW_PROFILE_LIMITS, ROLE_EFFORT_DEFAULTS, ROOT_ACCOUNT, ROOT_SCOPE, RUN_FACTS_ANCHOR, RUN_PROFILES, RUN_SETTLE_DECISION_TYPE, RandIdentityInput, RandPayload, RateLimitObservation, ReconcileOptions, ReconcileResult, ReconcileStatementOptions, RefEntryAppender, RefEntryClassification, RefusalInfo, RejectedFinishCandidate, RepeatedClaim, ReplayDisposition, ReplayMode, ReplayPlanHashMismatch, Replayer, RepositoryResearchToolset, RepositoryResearchToolsetOptions, ResearchAgentProfileOptions, ResearchAgentProfileResult, ResearchEvidenceEntry, ResolutionArbiter, ResolutionAttempt, ResolutionBy, ResolutionFold, ResolutionLayer, ResolutionOutcome, ResolutionPayload, ResolvedInvocation, ResolvedToolset, ResumeHandle, ResumeOptions, ResumePreview, ResumeReport, RetryClass, RetryPolicy, ReuseConfig, RiskRuleValue, Role, RulvarError, RulvarErrorCode, RunAgentOptions, RunAuditVerdict, RunBudget, RunEventSink, RunExport, RunFactPairOptions, RunFactPairsFold, RunFactsSheet, type RunFilter, RunHandle, RunInternals, type RunMeta, RunOptions, RunOutcome, RunProfile, RunStateAudit, RunStatus, RuntimeEventSink, SANDBOX_AGENT_OPT_KEYS, SPAWN_ADMISSION_DECISION_TYPE, SPAWN_AGENT_SCHEMA, SYNTHESIS_NOTE_LABEL, SandboxBridge, SandboxBridgeOptions, SandboxError, SandboxHostToWorker, SandboxMethod, SandboxWorkerToHost, SchemaPair, SchemaSpec, SchemaValidationResult, ScopeSegment, ScriptRejected, ScriptRunner, ScrubNote, SecretMasker, SectionMatchMode, SectionPatternEntry, SemanticPassSummary, SemanticPassesSummary, Semaphore, SerializationHook, Settled, SettlementError, ShellPatternRules, ShellSegment, ShellVerdict, SinglePhaseAppend, SpanMinter, SpanRegistry, SpawnAdmissionValue, SpawnAgentParams, SpawnKey, SpawnLineage, SpawnLineageOpt, SpawnOrigin, SpawnRecord, Spend, Stage, type StandardJSONSchemaV1, type StandardSchemaV1, StatementCategoryRow, StatementColumnMap, StatementCoverage, StatementReconciliation, StatementRequestRow, StepIdentityInput, type StreamHooks, StructuredOutputTier, SupersededError, SuspendedAppend, SuspensionState, SynthesisCandidateFailure, TERMINAL_TELEMETRY_SCOPE, TOOL_NAME_PATTERN, type TaskClass, TaskDigest, TaskSpec, TelemetryScope, type TerminalEnvelope, TerminalOutcomeFacts, TerminalPatch, TerminalTelemetryScopes, TerminationAccount, TerminationAccountSnapshot, TerminationDeniedValue, TerminationDeniedWriter, TerminationInitValue, TerminationLimits, TerminationResource, ToolAuthority, type ToolBudgetSummary, ToolCallRequest, ToolChoice, type ToolContext, ToolContextSeed, ToolContract, type ToolDef, type ToolEvents, type ToolExecutor, type ToolExecutorProvider, ToolInit, type ToolRisk, ToolRuntime, type ToolSource, type ToolSourceSession, ToolsOption, ToolsetAttestation, TranscriptSerializationHook, type TranscriptStore, TriggerClass, TtlState, Usage, UsageLimits, UsageSlice, VerifiedRecommendation, WAIT_FOR_EVENTS_SCHEMA, WAIT_FOR_EVENTS_TOOL_NAME, WAKE_SUMMARY_RENDER_BUDGET_CHARS, WakeBudgetBlock, WakeDigest, WakeTrigger, WireError, Workflow, WorkflowCallOpts, type WorkflowEvent, type WorkflowEventBody, WorkflowRegistry, accountSpendFromJournal, admissionReserveUsd, affordableOutputTokens, agentErrorFromWire, agentErrorToWire, agentResultWire, agentScope, applyClaimOps, applyStructuredOutputTier, approachSigCoarse, approachSigOf, archiveDeprecatedModelOps, assertFencedWrites, assertSafeRunId, atCompactionThreshold, attestToolset, auditRun, auditRuns, buildAbandonFold, buildAdapterRegistry, buildCostReport, buildDeriverRegistry, buildOrchestratorTools, buildTerminationInitValue, buildToolContext, canRideLoopTurn, canonicalIsolationTag, canonicalizeLadder, canonicalizeSchema, capIssues, capsHashOf, checkFloors, checkpointRefFor, childCoveragePrefix, childRostersFromJournal, citationTargetsValidator, citedValueValidator, claimCoverageOf, claimExpired, claimExpiry, claimIssues, claimOpIssues, classifyAgentError, classifyAttemptOutcome, collectDeclaredLadders, compactMessages, compareRates, compilePermissionChain, compilePermissionPreset, compileSecretMasker, compileVerifiedLayer, constantTimeEqual, costReportFromJournal, countsAgainstLimit, createCanonicalIdMinter, createCtx, createEngine, createEnvelopeEncryption, createSandboxBridge, criticalPathFromJournal, currentOnlyKeyRing, decodeCheckpoint, dedupeRepeatedClaims, defineWorkflow, deriveContentKey, deriverV1, deriverV2, digestOf, dispatchProjectionReserveUsd, dispositionHook, emptyDigestBlocks, emptyToolset, encodeCheckpoint, enforceToolsetAttestation, entryUsageSlices, escalateTool, evaluatePermission, evaluateReuse, evidenceGradeValidator, evidencePreservedValidator, executeWorkflow, executionFactsOf, exhaustionCodeOf, extractCandidate, failoverTriggerOf, fallbackTriggerOf, filterClaimsForRun, finalizeFires, findContradictions, finishContract, foldLedger, foldTermination, formatCharacterValidator, formatRePrompt, formatScopePath, hasFencedWrites, hasMetaLookup, hashRunArgs, hashRunOutput, hashWorkflowBody, hashWorkflowSource, headingStructureValidator, identityJcs, implementationAgentProfile, invoiceFromJournal, isEscalated, isSchemaPairSpec, isStandardSchemaSpec, isStrictCompatibleSchema, journalPricingSnapshot, kMaxOf, knowledgeHash, ladderLengthOf, ladderRungChoice, lastRunSettle, latestProgressReport, lexShellCommand, liftRetainedParts, lineageWeightOf, localKeyProvider, logicalRunTelemetry, makeOrchestratorWorkflow, maskSecrets, maskSecretsDeep, maskSecretsJson, matchArgvPattern, matchShellCommand, mcp, memoryQuotaLimiter, mergeQuotaDenial, mergeUsageLimits, metaMatchesFilter, minMatchesValidator, modelEpochOf, modelKnowledgeCard, modelSpecIdentity, needsSeparateExtract, nextFailover, nodeLinkKey, normalizeApproachTag, normalizeEntry, normalizeFallbacks, orchestrate, orchestratorAdmissionEstCostUsd, pairDraftClaims, pairRunFactClaims, parallelScope, parseModelRef, parseScopePath, persistedTerminalEnvelope, phiInitialOf, pilotAgentProfile, pipelineScope, planNodeScope, preflightEstimate, priceComponentsOf, priceEntryBilling, priceEntryUsage, priceUsdOf, profileCard, profileRegistrySnapshotHash, progressReportTool, projectHistory, projectIdentity, projectToJsonSchema, proposalStatement, providerOf, quotaActualRequestsDelta, quotaActualTokens, quotaEstimateTokens, quotaRuleAdmission, quotaRuleKey, quotaRuleMatches, readRunMeta, readTerminationInit, reconcileRunMeta, reconcileStatement, reduceAuditTrail, reduceCriticalPath, reduceDecisionChain, reduceInvocationTable, registryKeyRing, remeasureQueue, replayDisposition, repositoryResearchToolset, requiredFieldsValidator, requiredSectionsValidator, researchAgentProfile, resolveModelInvocation, resolvePricing, resolveToolset, retryClassOf, retryDelayMs, reviewAgentProfile, roleConfiguredInRouting, roundOneDisposition, runAgent, runProfile, sanitizeTerminalText, sanitizeTokenCount, sanitizeUsage, sanitizeUsageDelta, scanJournalCompatibility, schemaHash, schemaHashOfSpec, sectionCitationsValidator, sectionPatternCountValidator, selectStructuredOutputTier, selfTestFinishValidation, shouldCompact, snapshotQuotaRules, snapshotUsage, spawnDepthOf, spliceSections, statementFromRows, statementRowsFromDelimited, stripFencedBlocks, sumUsage, summarizeInstruction, summarizeOutput, synthesisCandidatesFromJournal, terminalEnvelopeOf, terminationConfigDrift, tierWithinCaps, toApprovalDecision, toJournalValue, tool, toolAuthority, toolContract, toolContractHash, toolsetAuthorityHash, toolsetHash, ttlState, usageViolations, validateDetachedResolution, validateEditorialCommit, validateEngineQuotaConfig, validateEntryShape, validateEscalationLimits, validateEscalationReport, validateQuotaRules, validateRetryPolicy, validateSchemaSpec, validateTerminationLimits, validateToolsetAttestation, validateUsageLimits, wordCountValidator, workflowScope, workflowSourceRef, wrapJournalStore, wrapTranscriptStore };