@rulvar/core 1.242.0 → 1.244.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +386 -26
- package/dist/index.js +672 -43
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1194,14 +1194,27 @@ type RunMeta = {
|
|
|
1194
1194
|
workflowHash?: string; /** TranscriptStore ref of the persisted CompiledWorkflow source. */
|
|
1195
1195
|
workflowSourceRef?: string;
|
|
1196
1196
|
/**
|
|
1197
|
-
* The run's immutable USD ceiling (RunOptions.budgetUsd),
|
|
1198
|
-
* resume restores the original invocation's bound
|
|
1199
|
-
*
|
|
1200
|
-
*
|
|
1201
|
-
*
|
|
1197
|
+
* The run's segment-immutable USD ceiling (RunOptions.budgetUsd),
|
|
1198
|
+
* recorded so resume restores the original invocation's bound (only
|
|
1199
|
+
* the explicit, journaled ResumeOptions.run override changes it,
|
|
1200
|
+
* RV2208, by rewriting this field for the run's remaining life).
|
|
1201
|
+
* Absent when the run started without a ceiling. Stores must
|
|
1202
|
+
* round-trip the field (the conformance kit checks); a store that
|
|
1203
|
+
* drops it degrades a resumed run to uncapped.
|
|
1202
1204
|
*/
|
|
1203
1205
|
budgetUsd?: number;
|
|
1204
1206
|
/**
|
|
1207
|
+
* The ceiling-override posture (RunOptions.budgetPolicy, RV3902),
|
|
1208
|
+
* recorded at genesis only when 'immutable-lifetime': under it a
|
|
1209
|
+
* resume carrying any ResumeOptions.run override refuses typed
|
|
1210
|
+
* before ownership. Absent means 'segment', the historical
|
|
1211
|
+
* behavior. Stores must round-trip the field (the conformance kit
|
|
1212
|
+
* checks); a store that drops it degrades the run to the 'segment'
|
|
1213
|
+
* posture (the override door works again), never to an invented
|
|
1214
|
+
* refusal.
|
|
1215
|
+
*/
|
|
1216
|
+
budgetPolicy?: "immutable-lifetime";
|
|
1217
|
+
/**
|
|
1205
1218
|
* The opt-in in-flight exposure cap
|
|
1206
1219
|
* (RunOptions.maxInFlightExposureUsd), recorded at genesis so resume
|
|
1207
1220
|
* restores the original invocation's cap (RV1504): the option used
|
|
@@ -1746,6 +1759,37 @@ interface TerminalEnvelope {
|
|
|
1746
1759
|
*/
|
|
1747
1760
|
provenance?: "journal";
|
|
1748
1761
|
}
|
|
1762
|
+
/**
|
|
1763
|
+
* The runtime gate over the terminal envelope contract (RV3903, the
|
|
1764
|
+
* fourth comparison experiment). `terminalEnvelopeOf` is the ONE
|
|
1765
|
+
* producer, but a producer is a compile-time promise, and the envelope
|
|
1766
|
+
* crosses trust boundaries the type system never sees: a journal read
|
|
1767
|
+
* back after a restart, a plain JS caller, an HTTP body a pipeline
|
|
1768
|
+
* gates on. The experiment probed the built dist and the typed copy
|
|
1769
|
+
* accepted `status: 'green'`, NaN dollars, and negative counts without
|
|
1770
|
+
* a sound; a finance or compliance consumer downstream would have
|
|
1771
|
+
* gated a run on fiction.
|
|
1772
|
+
*
|
|
1773
|
+
* The gate validates the CONTRACT fields and refuses with a typed
|
|
1774
|
+
* {@link ConfigError} naming the field and the defect: enum `status`
|
|
1775
|
+
* and `completion`, finite nonnegative money (with `totalUsd <=
|
|
1776
|
+
* grossUsd`, gross being net plus abandoned by construction), usage
|
|
1777
|
+
* and counters, `settledReason` only beside `settled: false`, the
|
|
1778
|
+
* `costBasis` and `provenance` literals, boolean `usageApprox`, and
|
|
1779
|
+
* the `WireError` shape when an error rides along. Unknown top-level
|
|
1780
|
+
* fields pass through untouched: the contract evolves additively, and
|
|
1781
|
+
* a parser that refused tomorrow's field would turn every additive
|
|
1782
|
+
* release into a wire break. On success the SAME reference comes back,
|
|
1783
|
+
* typed: the gate is a boundary check, never a normalizer.
|
|
1784
|
+
*
|
|
1785
|
+
* Wired where external bytes actually enter: `persistedTerminalEnvelope`
|
|
1786
|
+
* runs every journal-rebuilt envelope through it (and refuses typed as
|
|
1787
|
+
* `malformed-envelope`), which also covers the server's persisted
|
|
1788
|
+
* serving by construction. The live settlement chokepoint stays
|
|
1789
|
+
* unparsed on purpose: it is the one producer inside one process, and
|
|
1790
|
+
* gating it would add a throw site to settlement itself.
|
|
1791
|
+
*/
|
|
1792
|
+
declare function parseTerminalEnvelope(value: unknown): TerminalEnvelope;
|
|
1749
1793
|
//#endregion
|
|
1750
1794
|
//#region src/l0/spi/isolation.d.ts
|
|
1751
1795
|
/**
|
|
@@ -6156,7 +6200,13 @@ interface TerminationLimits {
|
|
|
6156
6200
|
maxDepth: number;
|
|
6157
6201
|
/** Maximum declared ladder length per the profile-registry snapshot. */
|
|
6158
6202
|
kMax: number;
|
|
6159
|
-
/**
|
|
6203
|
+
/**
|
|
6204
|
+
* B0 as frozen at genesis; no API, HITL included, tops up a live
|
|
6205
|
+
* run. The vector keeps the GENESIS ceiling even when a later
|
|
6206
|
+
* segment's journaled ResumeOptions.run override (RV2208) moved the
|
|
6207
|
+
* enforced bound: the frozen dollars are the termination account's
|
|
6208
|
+
* record, the override decision entry is the budget's.
|
|
6209
|
+
*/
|
|
6160
6210
|
runBudgetUsdCeiling: number;
|
|
6161
6211
|
/**
|
|
6162
6212
|
* The resolved orchestrator cap in absolute USD (DEF-7; XF-09),
|
|
@@ -6240,8 +6290,9 @@ declare function readTerminationInit(entry: JournalEntry): TerminationInitValue
|
|
|
6240
6290
|
/**
|
|
6241
6291
|
* Config-drift detection at resume: the journaled vector
|
|
6242
6292
|
* always wins; every differing field is reported for the
|
|
6243
|
-
* `termination:config-drift` event.
|
|
6244
|
-
*
|
|
6293
|
+
* `termination:config-drift` event. Ambient config can never top up a
|
|
6294
|
+
* budget through a restart; the one explicit, journaled door is
|
|
6295
|
+
* ResumeOptions.run (RV2208), which is a decision entry, not a drift.
|
|
6245
6296
|
*/
|
|
6246
6297
|
declare function terminationConfigDrift(frozen: TerminationLimits, live: Partial<TerminationLimits>): Array<{
|
|
6247
6298
|
field: keyof TerminationLimits;
|
|
@@ -6451,6 +6502,8 @@ interface BudgetAccountView {
|
|
|
6451
6502
|
synthesisReserveUsd: number;
|
|
6452
6503
|
/** The repair round's verdict hold (RV3701); zero when none is committed. */
|
|
6453
6504
|
convergenceReserveUsd: number;
|
|
6505
|
+
/** The repair round's mechanical leg (RV3802); zero when none is committed. */
|
|
6506
|
+
repairReserveUsd: number;
|
|
6454
6507
|
parentScope?: string;
|
|
6455
6508
|
}
|
|
6456
6509
|
/**
|
|
@@ -6480,7 +6533,12 @@ interface BudgetExhaustionDiagnostics {
|
|
|
6480
6533
|
* spawn-admission decision entries, M6).
|
|
6481
6534
|
*/
|
|
6482
6535
|
declare class RunBudget {
|
|
6483
|
-
/**
|
|
6536
|
+
/**
|
|
6537
|
+
* B0; immutable within a segment (RV2511): only the explicit,
|
|
6538
|
+
* journaled ResumeOptions.run override (RV2208) changes it, by
|
|
6539
|
+
* opening a new segment, and budgetPolicy 'immutable-lifetime'
|
|
6540
|
+
* (RV3902) refuses even that. Undefined means no USD ceiling.
|
|
6541
|
+
*/
|
|
6484
6542
|
readonly ceilingUsd?: number;
|
|
6485
6543
|
/**
|
|
6486
6544
|
* The opt-in in-flight exposure cap (RV711). Undefined means the
|
|
@@ -6772,6 +6830,26 @@ declare class RunBudget {
|
|
|
6772
6830
|
commitConvergenceReserve(scope: string, reserveUsd: number): void;
|
|
6773
6831
|
/** The verdict pass dispatch consumes its reserve; see commitConvergenceReserve. */
|
|
6774
6832
|
releaseConvergenceReserve(scope: string): void;
|
|
6833
|
+
/**
|
|
6834
|
+
* Registers the repair round's MECHANICAL leg (RV3802), the money
|
|
6835
|
+
* twin of the RV3602 per-invocation pool: the round's finish
|
|
6836
|
+
* contract can grant one bounded mechanical repair turn, and the
|
|
6837
|
+
* third comparison run's round entered exactly that turn's price
|
|
6838
|
+
* short of certainty (the repair existed by pool and by contract,
|
|
6839
|
+
* but nothing guaranteed the money would still be there when the
|
|
6840
|
+
* candidate materialized). Held beside the verdict leg from the
|
|
6841
|
+
* moment the round is admitted; released EARLY, to the round's own
|
|
6842
|
+
* finish loop, at its first journaled verdict (a 'repair' verdict is
|
|
6843
|
+
* about to spend the freed money on the granted turn, an 'accepted'
|
|
6844
|
+
* one never needed it), where the verdict leg lives until the judge
|
|
6845
|
+
* dispatch. Exactly the convergence reserve mechanics otherwise:
|
|
6846
|
+
* joins the projected admission sum and both remainders, named in
|
|
6847
|
+
* the refusal clause, never joined to the severing check, idempotent
|
|
6848
|
+
* per account with the root adjusted by the delta.
|
|
6849
|
+
*/
|
|
6850
|
+
commitRepairReserve(scope: string, reserveUsd: number): void;
|
|
6851
|
+
/** The round's finish loop consumes its leg; see commitRepairReserve. */
|
|
6852
|
+
releaseRepairReserve(scope: string): void;
|
|
6775
6853
|
/** The reserve is replaced by real spend when the spawn settles. */
|
|
6776
6854
|
releaseReserve(reserveUsd: number, accountScope?: string): void;
|
|
6777
6855
|
/**
|
|
@@ -7913,15 +7991,38 @@ interface RunOptions {
|
|
|
7913
7991
|
*/
|
|
7914
7992
|
configFingerprint?: string;
|
|
7915
7993
|
/**
|
|
7916
|
-
* Run ceiling B0; immutable
|
|
7917
|
-
*
|
|
7918
|
-
*
|
|
7919
|
-
*
|
|
7920
|
-
*
|
|
7921
|
-
*
|
|
7994
|
+
* Run ceiling B0; immutable within a segment (RV2511): no API tops
|
|
7995
|
+
* up a live run's ceiling, and the ONE explicit door after genesis
|
|
7996
|
+
* is the validated, journaled `ResumeOptions.run` override (RV2208),
|
|
7997
|
+
* which takes effect only by opening a new segment. Enforced by
|
|
7998
|
+
* projected admission (a spawn whose reserve does not fit is denied
|
|
7999
|
+
* before any dispatch), the per-turn guard with a budget-derived
|
|
8000
|
+
* maxOutputTokens clamp, and live stream cuts on crossing; the
|
|
8001
|
+
* residual provider-dependent overshoot is bounded by one in-flight
|
|
8002
|
+
* turn per concurrent agent. Under {@link RunOptions.budgetPolicy}
|
|
8003
|
+
* 'immutable-lifetime' even the override door refuses typed.
|
|
8004
|
+
* Contract: https://docs.rulvar.com/guide/budgets.
|
|
7922
8005
|
*/
|
|
7923
8006
|
budgetUsd?: number;
|
|
7924
8007
|
/**
|
|
8008
|
+
* The ceiling-override posture of the run's whole life (RV3902, the
|
|
8009
|
+
* fourth comparison experiment). Default 'segment', today's behavior
|
|
8010
|
+
* byte for byte: B0 and the exposure cap are immutable WITHIN a
|
|
8011
|
+
* segment, and the explicit, validated, journaled
|
|
8012
|
+
* `ResumeOptions.run` override (RV2208) may change them by opening a
|
|
8013
|
+
* new segment. 'immutable-lifetime' welds that one door shut: the
|
|
8014
|
+
* posture is recorded in RunMeta at genesis and restored on every
|
|
8015
|
+
* resume, and a resume carrying ANY `ResumeOptions.run` value
|
|
8016
|
+
* refuses with a typed ConfigError BEFORE ownership, meta writes, or
|
|
8017
|
+
* any append, raise and lower alike; no journaled override exists in
|
|
8018
|
+
* this mode, and the emergency lever for a run that must stop
|
|
8019
|
+
* spending is cancel, not a ceiling edit. Degradation is honest: a
|
|
8020
|
+
* store that drops the optional RunMeta field resumes as 'segment'
|
|
8021
|
+
* (the override door works again), never as an invented refusal.
|
|
8022
|
+
* Declared at genesis only; the policy itself has no override.
|
|
8023
|
+
*/
|
|
8024
|
+
budgetPolicy?: "segment" | "immutable-lifetime";
|
|
8025
|
+
/**
|
|
7925
8026
|
* The opt-in in-flight exposure cap (RV711): bounds spent money plus
|
|
7926
8027
|
* the summed worst-case estimates of live dispatches. The per-turn
|
|
7927
8028
|
* guard checks money already SPENT, so under `budgetUsd` alone N
|
|
@@ -8106,7 +8207,11 @@ interface ResumeOptions {
|
|
|
8106
8207
|
* meta, or any append: such a ceiling would exhaust the segment
|
|
8107
8208
|
* before its first turn and read like a fresh money death. Absent
|
|
8108
8209
|
* fields keep the recorded values; an absent object keeps the
|
|
8109
|
-
* historical behavior byte for byte.
|
|
8210
|
+
* historical behavior byte for byte. Under a recorded
|
|
8211
|
+
* {@link RunOptions.budgetPolicy} 'immutable-lifetime' (RV3902) any
|
|
8212
|
+
* applying override refuses typed before ownership, raise and lower
|
|
8213
|
+
* alike: the door this field is exists only under the 'segment'
|
|
8214
|
+
* posture.
|
|
8110
8215
|
*/
|
|
8111
8216
|
run?: {
|
|
8112
8217
|
budgetUsd?: number;
|
|
@@ -8131,7 +8236,9 @@ interface Engine {
|
|
|
8131
8236
|
* whose source hash differs from the recorded one is a typed
|
|
8132
8237
|
* ConfigError (M6-T02). ResumeOptions.run (RV2208) overrides the
|
|
8133
8238
|
* recorded budget ceilings for the run's remaining life, with a
|
|
8134
|
-
* journaled decision and a typed floor at the settled spend
|
|
8239
|
+
* journaled decision and a typed floor at the settled spend; under
|
|
8240
|
+
* a recorded budgetPolicy 'immutable-lifetime' (RV3902) any applying
|
|
8241
|
+
* override refuses typed before ownership instead.
|
|
8135
8242
|
*/
|
|
8136
8243
|
resume<A, R>(runId: string, wf?: Workflow<A, R> | CompiledWorkflow, options?: ResumeOptions): ResumeHandle<R>;
|
|
8137
8244
|
/**
|
|
@@ -8376,12 +8483,42 @@ interface FinishValidationInput {
|
|
|
8376
8483
|
*/
|
|
8377
8484
|
readonly runId?: string;
|
|
8378
8485
|
}
|
|
8486
|
+
/**
|
|
8487
|
+
* One structured repair hint on a failed verdict (RV3801): the exact
|
|
8488
|
+
* edit whose application satisfies this validator, precise enough for
|
|
8489
|
+
* the HOST to perform without a provider wire. The third comparison
|
|
8490
|
+
* run died with its repair pool spent on a failure class whose remedy
|
|
8491
|
+
* the evidence-grade verdict already prescribed word for word (write
|
|
8492
|
+
* this run's id inside each offending sentence); a remedy that
|
|
8493
|
+
* deterministic must not cost a model turn. A hint is advisory: the
|
|
8494
|
+
* finish loop attempts the patch only when EVERY failure of the
|
|
8495
|
+
* candidate carries hints, re-runs the FULL validator set over the
|
|
8496
|
+
* patched document, and falls back to the ordinary model repair pool
|
|
8497
|
+
* when the patch does not survive re-validation.
|
|
8498
|
+
*/
|
|
8499
|
+
interface FinishRepairHint {
|
|
8500
|
+
/** The one host-side edit the loop knows how to apply. */
|
|
8501
|
+
readonly mechanism: "insert-run-id";
|
|
8502
|
+
/** Offset of the offending sentence's first character in the judged text. */
|
|
8503
|
+
readonly start: number;
|
|
8504
|
+
/** Offset one past the offending sentence's last character. */
|
|
8505
|
+
readonly end: number;
|
|
8506
|
+
/**
|
|
8507
|
+
* The offending sentence verbatim (never normalized or clipped): the
|
|
8508
|
+
* loop refuses the patch unless `text.slice(start, end)` equals it,
|
|
8509
|
+
* so a stale hint can never edit the wrong bytes.
|
|
8510
|
+
*/
|
|
8511
|
+
readonly sentence: string;
|
|
8512
|
+
/** The identifier whose insertion the verdict prescribes. */
|
|
8513
|
+
readonly insert: string;
|
|
8514
|
+
}
|
|
8379
8515
|
/** The verdict of one validator over one finish attempt. */
|
|
8380
8516
|
type FinishValidationVerdict = {
|
|
8381
8517
|
ok: true;
|
|
8382
8518
|
} | {
|
|
8383
8519
|
ok: false;
|
|
8384
8520
|
reasons: string[];
|
|
8521
|
+
repairHints?: FinishRepairHint[];
|
|
8385
8522
|
};
|
|
8386
8523
|
/**
|
|
8387
8524
|
* A deterministic host validator of the orchestrator finish result.
|
|
@@ -8519,6 +8656,33 @@ declare const DEFAULT_CITATION_PATTERN = "[\\w./-]+\\.\\w+:\\d+";
|
|
|
8519
8656
|
/** The default preserved share, the improvement plan's RV-202 gate. */
|
|
8520
8657
|
declare const DEFAULT_EVIDENCE_MIN_SHARE = .95;
|
|
8521
8658
|
/**
|
|
8659
|
+
* The deterministic edit behind the `insert-run-id` mechanism
|
|
8660
|
+
* (RV3801): the id lands INSIDE the sentence, before its trailing
|
|
8661
|
+
* terminator run (a `.`, `!`, or `?` with any closing quotes,
|
|
8662
|
+
* brackets, or markdown emphasis after it), or at the very end when
|
|
8663
|
+
* the sentence carries no terminator. Inside matters: appended AFTER
|
|
8664
|
+
* the terminator the id would belong to the NEXT sentence under the
|
|
8665
|
+
* shared `sentencesOf` segmentation and the re-validation would fail
|
|
8666
|
+
* the same sentence again. Exported so tests and hosts can reproduce
|
|
8667
|
+
* the loop's exact bytes.
|
|
8668
|
+
*/
|
|
8669
|
+
declare function insertRunIdIntoSentence(sentence: string, insert: string): string;
|
|
8670
|
+
/**
|
|
8671
|
+
* Applies `insert-run-id` repair hints to a judged text (RV3801): each
|
|
8672
|
+
* `[start, end)` window is replaced by
|
|
8673
|
+
* {@link insertRunIdIntoSentence}(window, insert), right to left so
|
|
8674
|
+
* earlier offsets stay valid, every other byte identical. Fail closed:
|
|
8675
|
+
* `undefined` (never a partial patch) when the set is empty, any
|
|
8676
|
+
* window is out of bounds or empty, or two windows overlap; the caller
|
|
8677
|
+
* treats a refused patch exactly like an absent one and proceeds to
|
|
8678
|
+
* the model repair pool.
|
|
8679
|
+
*/
|
|
8680
|
+
declare function applyFinishRepairHints(text: string, hints: readonly {
|
|
8681
|
+
start: number;
|
|
8682
|
+
end: number;
|
|
8683
|
+
insert: string;
|
|
8684
|
+
}[]): string | undefined;
|
|
8685
|
+
/**
|
|
8522
8686
|
* The RV-202 evidence preservation contract: the finish result must
|
|
8523
8687
|
* PRESERVE the citations the children actually produced. Distinct
|
|
8524
8688
|
* matches of `pattern` are collected across the outputs of children
|
|
@@ -8683,6 +8847,13 @@ declare const DEFAULT_ARTIFACT_PATTERN = "(?:run[ -]?[0-9A-HJKMNP-TV-Z]{6,26}|[\
|
|
|
8683
8847
|
* the repair instruction is executable rather than aspirational. An id
|
|
8684
8848
|
* shorter than `MIN_RUN_ID_ARTIFACT_CHARS` (six) is ignored, and
|
|
8685
8849
|
* without an id the verdict is byte identical to the historical one.
|
|
8850
|
+
*
|
|
8851
|
+
* With the id in hand the failure also carries {@link FinishRepairHint}
|
|
8852
|
+
* rows (RV3801), one per offending sentence, so the finish loop can
|
|
8853
|
+
* perform the verdict's own prescription host side without spending a
|
|
8854
|
+
* provider wire; the reasons stay byte identical either way, and the
|
|
8855
|
+
* hints are bounded (at most `MAX_REPAIR_HINTS` offenders) and fail
|
|
8856
|
+
* closed (an id whose bytes could split a sentence is never hinted).
|
|
8686
8857
|
* Default name 'evidence-grade'.
|
|
8687
8858
|
*/
|
|
8688
8859
|
declare function evidenceGradeValidator(options?: {
|
|
@@ -9919,6 +10090,27 @@ interface OrchestratorBudgetSpec {
|
|
|
9919
10090
|
*/
|
|
9920
10091
|
synthesisReserveUsd?: number;
|
|
9921
10092
|
/**
|
|
10093
|
+
* The admission posture of the acceptance path (RV3907, the fourth
|
|
10094
|
+
* comparison experiment). Preflight has long PRICED the tail and
|
|
10095
|
+
* warned (`reserve-line-headroom`, `orchestrator-working-room`), and
|
|
10096
|
+
* the experiment's run started anyway, with the warnings on record
|
|
10097
|
+
* and the acceptance machinery funded by luck. 'warn' (default)
|
|
10098
|
+
* keeps exactly that: findings in preflight, nothing at runtime.
|
|
10099
|
+
* 'require' turns the arithmetic into a boot refusal BEFORE the
|
|
10100
|
+
* first wire: the effective cap must cover, at exact fill or
|
|
10101
|
+
* better, the DECLARED acceptance tail (the held
|
|
10102
|
+
* `synthesisReserveUsd`, the claim judge's `judge.estCost` times
|
|
10103
|
+
* one plus the armed semantic repair round, the declared
|
|
10104
|
+
* `finishValidation.estRepairCostUsd`, and the armed round's
|
|
10105
|
+
* declared `synthesis.estCost` composition floor) plus one
|
|
10106
|
+
* coordination turn floor of working room. Undeclared estimates
|
|
10107
|
+
* contribute zero, so the gate binds exactly what the host
|
|
10108
|
+
* declared; the refusal journals an `acceptance_reserve_refused`
|
|
10109
|
+
* decision naming every term and throws the typed
|
|
10110
|
+
* OrchestratorCapConfigError with the same arithmetic.
|
|
10111
|
+
*/
|
|
10112
|
+
acceptanceReserve?: "warn" | "require";
|
|
10113
|
+
/**
|
|
9922
10114
|
* A positive integer, validated before any journal entry or dispatch:
|
|
9923
10115
|
* the turn limit of the reserved final wake.
|
|
9924
10116
|
*/
|
|
@@ -10060,6 +10252,28 @@ interface OrchestrateAcceptance {
|
|
|
10060
10252
|
}
|
|
10061
10253
|
/** How many rejected finishes are repaired by default: the plan's repair once. */
|
|
10062
10254
|
declare const DEFAULT_FINISH_MAX_REPAIRS = 1;
|
|
10255
|
+
/** The sectional round's owning sections and marker roster (RV3803). */
|
|
10256
|
+
interface SectionalRoundPlan {
|
|
10257
|
+
/** Every H2 marker of the retained document, in document order. */
|
|
10258
|
+
sections: string[];
|
|
10259
|
+
/** The markers owning at least one finding excerpt, document order. */
|
|
10260
|
+
targets: string[];
|
|
10261
|
+
}
|
|
10262
|
+
/**
|
|
10263
|
+
* Plans the sectional claim repair round (RV3803): which H2 sections
|
|
10264
|
+
* of the accepted pre-repair document own the judged findings. The
|
|
10265
|
+
* third comparison run's round regenerated the WHOLE 43k character
|
|
10266
|
+
* document to consume findings that lived in a handful of sentences,
|
|
10267
|
+
* and the tail after fan-in was 80.1 percent of the run's wall. Each
|
|
10268
|
+
* finding's `draftExcerpt` (whitespace collapsed by the pairing fold)
|
|
10269
|
+
* is located in the document through a collapse-aware scan, and its
|
|
10270
|
+
* owning section is the nearest H2 line above it. Fail closed to the
|
|
10271
|
+
* FULL regeneration (undefined, the historical round byte for byte)
|
|
10272
|
+
* whenever the plan cannot be exact: no excerpts, a document without
|
|
10273
|
+
* H2 headings, duplicated markers (the splice grammar needs unique
|
|
10274
|
+
* lines), or any excerpt the scan cannot locate.
|
|
10275
|
+
*/
|
|
10276
|
+
declare function sectionalRoundPlan(document: string, excerpts: readonly string[]): SectionalRoundPlan | undefined;
|
|
10063
10277
|
/**
|
|
10064
10278
|
* Character cap of the HOST VALIDATION LESSONS prompt block (RV3603):
|
|
10065
10279
|
* the bounded repair round's prompt folds the run's journaled finish
|
|
@@ -10174,6 +10388,21 @@ interface FinishValidationSpec {
|
|
|
10174
10388
|
*/
|
|
10175
10389
|
repairTurnReserve?: number;
|
|
10176
10390
|
/**
|
|
10391
|
+
* The declared price of ONE mechanical repair turn in USD (RV3802),
|
|
10392
|
+
* the money twin of `repairTurnReserve`'s turn grant: the bounded
|
|
10393
|
+
* claim repair round (`claimConsistency.onFound: 'repair'`) holds
|
|
10394
|
+
* this beside the verdict money (RV3701) from the moment the round
|
|
10395
|
+
* is admitted, so the one repair turn the round's own finish
|
|
10396
|
+
* contract can grant is funded when the candidate materializes; the
|
|
10397
|
+
* leg releases to the round's finish loop at its first journaled
|
|
10398
|
+
* verdict. Undeclared, the hold falls back to the run's own observed
|
|
10399
|
+
* last mechanical repair price (`lastMechanicalRepairCostUsd` over
|
|
10400
|
+
* the journal, absent when no priced repair window exists), else
|
|
10401
|
+
* zero, which keeps every pre-RV3802 admission byte identical. A
|
|
10402
|
+
* nonnegative finite number; refused typed otherwise.
|
|
10403
|
+
*/
|
|
10404
|
+
estRepairCostUsd?: number;
|
|
10405
|
+
/**
|
|
10177
10406
|
* The coordination draft gate (the v1.74 experiment review, P0.3),
|
|
10178
10407
|
* meaningful ONLY with `synthesis` configured: with validators bound
|
|
10179
10408
|
* to the synthesis finish, the coordination finish is an unvalidated
|
|
@@ -10813,6 +11042,35 @@ interface OrchestrateClaimConsistencyMeta {
|
|
|
10813
11042
|
* the synthesis rewrote what the judge cleared.
|
|
10814
11043
|
*/
|
|
10815
11044
|
judgedHash: string;
|
|
11045
|
+
/**
|
|
11046
|
+
* How many judge passes this stage's verdict lineage ran (RV3904,
|
|
11047
|
+
* the fourth comparison experiment): present exactly when the
|
|
11048
|
+
* bounded claim repair round is armed (`onFound: 'repair'`), so a
|
|
11049
|
+
* consumer reading `findings: 0` can tell a clean FIRST verdict
|
|
11050
|
+
* (`passes: 1`) from a verdict earned through a repair
|
|
11051
|
+
* (`passes: 2`, the meta above always describing the LAST pass).
|
|
11052
|
+
* The experiment's terminal read findings 0 over a lineage whose
|
|
11053
|
+
* first pass had caught a real contradiction, and only the journal
|
|
11054
|
+
* could say so. Absent on journals and configs from before the
|
|
11055
|
+
* field, and absent when no repair round is armed: NOT RECORDED,
|
|
11056
|
+
* never a claim of a single pass.
|
|
11057
|
+
*/
|
|
11058
|
+
passes?: number;
|
|
11059
|
+
/**
|
|
11060
|
+
* The findings count of the FIRST pass of this stage (RV3904),
|
|
11061
|
+
* present exactly when `passes` exceeds 1: what the repair round
|
|
11062
|
+
* consumed, so "zero findings after one round over one first-pass
|
|
11063
|
+
* finding" reads off the envelope instead of the journal.
|
|
11064
|
+
*/
|
|
11065
|
+
firstPassFindings?: number;
|
|
11066
|
+
/**
|
|
11067
|
+
* Bounded semantic repair rounds actually dispatched at this stage
|
|
11068
|
+
* (RV3904); today 0 or 1, the evidence-grade precedent. Distinct
|
|
11069
|
+
* from the finish validation's mechanical `repairsUsed`, which
|
|
11070
|
+
* counts model repair turns INSIDE one invocation and keeps its
|
|
11071
|
+
* byte contract untouched.
|
|
11072
|
+
*/
|
|
11073
|
+
semanticRepairRounds?: number;
|
|
10816
11074
|
}
|
|
10817
11075
|
/**
|
|
10818
11076
|
* How the shipped artifact relates to the draft the run composed it
|
|
@@ -10833,6 +11091,26 @@ interface OrchestrateDraftToFinal {
|
|
|
10833
11091
|
claimsJudgedOn?: "draft" | "final" | "both";
|
|
10834
11092
|
}
|
|
10835
11093
|
/**
|
|
11094
|
+
* The deterministic-repair aggregate of the shipped run (RV3904, the
|
|
11095
|
+
* fourth comparison experiment): the patches themselves stay on the
|
|
11096
|
+
* journaled finish-validation decisions (RV3801, byte-exact with
|
|
11097
|
+
* before/after hashes per decision); the acceptance envelope carries
|
|
11098
|
+
* the aggregate, so "was the shipped document machine-patched, and
|
|
11099
|
+
* from what bytes" is an envelope read instead of a journal walk.
|
|
11100
|
+
* Present exactly when at least one ACCEPTED deterministic repair
|
|
11101
|
+
* exists; every other envelope stays byte identical.
|
|
11102
|
+
*/
|
|
11103
|
+
interface OrchestrateDeterministicPatches {
|
|
11104
|
+
/** Finish decisions whose deterministic repair was accepted. */
|
|
11105
|
+
decisions: number;
|
|
11106
|
+
/** Total individual patches across those decisions. */
|
|
11107
|
+
patches: number;
|
|
11108
|
+
/** The LAST accepted repair's canonical pre-patch hash. */
|
|
11109
|
+
lastBeforeHash: string;
|
|
11110
|
+
/** The LAST accepted repair's canonical post-patch hash; the judge rules on these bytes. */
|
|
11111
|
+
lastAfterHash: string;
|
|
11112
|
+
}
|
|
11113
|
+
/**
|
|
10836
11114
|
* The synthesis invocation's own knobs (RV-211). Everything else about
|
|
10837
11115
|
* the invocation is deterministic: the prompt derives from the journaled
|
|
10838
11116
|
* draft and the settled child digest, the toolset is the single finish
|
|
@@ -11157,9 +11435,9 @@ declare function makeOrchestratorWorkflow(goal: string, opts?: OrchestrateOption
|
|
|
11157
11435
|
* Top-level surface: creates a run. `runOptions` are the ordinary
|
|
11158
11436
|
* engine {@link RunOptions} of the created run; in particular
|
|
11159
11437
|
* `runOptions.budgetUsd` is the ROOT hard ceiling over the WHOLE tree
|
|
11160
|
-
* (the orchestrator and every child), immutable
|
|
11161
|
-
* `opts.budget` only shapes the orchestrator's own sub-account
|
|
11162
|
-
* that ceiling. The shortcut previously accepted no RunOptions at all,
|
|
11438
|
+
* (the orchestrator and every child), immutable within a segment,
|
|
11439
|
+
* while `opts.budget` only shapes the orchestrator's own sub-account
|
|
11440
|
+
* inside that ceiling. The shortcut previously accepted no RunOptions at all,
|
|
11163
11441
|
* so the canonical entry point could not set a root ceiling without
|
|
11164
11442
|
* dropping to `engine.run(makeOrchestratorWorkflow(...))` (v1.18.0
|
|
11165
11443
|
* review P1-5).
|
|
@@ -11796,6 +12074,8 @@ interface CostAttribution {
|
|
|
11796
12074
|
byModel: Map<string, number>;
|
|
11797
12075
|
byPhase: Map<string, number>;
|
|
11798
12076
|
byAgentType: Map<string, number>;
|
|
12077
|
+
/** Keyed by the raw journal scope (RV3805); '' is the root's own scope. */
|
|
12078
|
+
byScope: Map<string, number>;
|
|
11799
12079
|
byRole: Map<InvocationRole, number>;
|
|
11800
12080
|
unpriced: Array<{
|
|
11801
12081
|
model: string;
|
|
@@ -11959,6 +12239,16 @@ declare function executeWorkflow<A, R>(internals: RunInternals, wf: Workflow<A,
|
|
|
11959
12239
|
*/
|
|
11960
12240
|
declare function attributionBucket(value: string | undefined): string;
|
|
11961
12241
|
/**
|
|
12242
|
+
* The scope key rule of the byScope rollup (RV3805). The root's OWN
|
|
12243
|
+
* scope is the empty string BY CONSTRUCTION: present data whose string
|
|
12244
|
+
* happens to be empty, not an absence, so it folds under the
|
|
12245
|
+
* addressable name 'root' instead of the RV3604 'unknown' fallback,
|
|
12246
|
+
* which stays reserved for a scope that is truly missing. Children
|
|
12247
|
+
* keep their scope strings verbatim. One rule for both builders, so
|
|
12248
|
+
* the live report and the journal fold cannot disagree on the key.
|
|
12249
|
+
*/
|
|
12250
|
+
declare function scopeBucket(scope: string | undefined): string;
|
|
12251
|
+
/**
|
|
11962
12252
|
* Folds the per-run attribution buckets into the normative CostReport.
|
|
11963
12253
|
* Live attribution buckets never see abandoned subtrees, so a host
|
|
11964
12254
|
* that tracked abandoned spend itself passes it as `abandoned`;
|
|
@@ -12074,13 +12364,32 @@ interface CostReport {
|
|
|
12074
12364
|
* phase, or an EMPTY phase, folds under the named 'unknown' bucket
|
|
12075
12365
|
* (RV3604): a '' key is unaddressable in every downstream table,
|
|
12076
12366
|
* and the third comparison run's report read `byPhase {"": 5.58}`
|
|
12077
|
-
* for the whole run.
|
|
12367
|
+
* for the whole run. In dynamic runs the orchestrator's own stages
|
|
12368
|
+
* name their dispatches since RV3905 ('fan-out' children,
|
|
12369
|
+
* 'coordination' loop turns and the forced-finish wake,
|
|
12370
|
+
* 'composition' synthesis and incremental notes, 'judge' claim
|
|
12371
|
+
* passes, 'repair' the bounded claim repair round), filling only
|
|
12372
|
+
* the vacuum: an explicit host ctx.phase around the orchestration
|
|
12373
|
+
* keeps its own bucket. The fourth comparison run's report read
|
|
12374
|
+
* byPhase 100% 'unknown' over stages the journal held apart.
|
|
12078
12375
|
*/
|
|
12079
12376
|
byPhase: Record<string, number>;
|
|
12080
12377
|
/** Spawn agentType names; absent and empty fold under 'unknown' (RV3604). */
|
|
12081
12378
|
byAgentType: Record<string, number>;
|
|
12082
12379
|
byRole: Record<InvocationRole, number>;
|
|
12083
12380
|
/**
|
|
12381
|
+
* Spend per journal scope (RV3805): the root and every child are
|
|
12382
|
+
* addressable rows whose sum equals `totalUsd`, so the children
|
|
12383
|
+
* versus whole-workflow cut (the third comparison analysis had to
|
|
12384
|
+
* hand-aggregate it from invoice rows) reads off the report
|
|
12385
|
+
* directly. The root's OWN scope is the empty string BY
|
|
12386
|
+
* CONSTRUCTION, present data rather than an absence, so it folds
|
|
12387
|
+
* under the named 'root' bucket; children keep their scope strings
|
|
12388
|
+
* verbatim, and only a truly absent scope folds under 'unknown',
|
|
12389
|
+
* the RV3604 fallback.
|
|
12390
|
+
*/
|
|
12391
|
+
byScope: Record<string, number>;
|
|
12392
|
+
/**
|
|
12084
12393
|
* All-zero with forcedFinish false in runs without a dynamic
|
|
12085
12394
|
* orchestrator (or when no cap resolved, so no sub-account opened).
|
|
12086
12395
|
* Folded purely from the journal: spentUsd is the priced usage of
|
|
@@ -13767,6 +14076,13 @@ interface JournaledSynthesisCandidate {
|
|
|
13767
14076
|
/** The hosting span's dispatch label (RV2901), when journaled. */
|
|
13768
14077
|
spanLabel?: string;
|
|
13769
14078
|
/**
|
|
14079
|
+
* The hosting span's running entry seq (RV3802): the span's identity
|
|
14080
|
+
* within the run, so two candidates can be read as neighbors of ONE
|
|
14081
|
+
* composition invocation (the repair-turn pairing below) instead of
|
|
14082
|
+
* accidental neighbors across spans. Absent exactly when unhosted.
|
|
14083
|
+
*/
|
|
14084
|
+
spanSeq?: number;
|
|
14085
|
+
/**
|
|
13770
14086
|
* Wall from the previous boundary (the span's start, or the prior
|
|
13771
14087
|
* verdict) to this verdict's stamp. Absent when the candidate is not
|
|
13772
14088
|
* hosted by a settled synthesize span or a stamp is missing.
|
|
@@ -13825,6 +14141,20 @@ interface JournaledSynthesisCandidateReport {
|
|
|
13825
14141
|
* same shape `invoiceFromJournal` takes; omit to fold without money
|
|
13826
14142
|
*/
|
|
13827
14143
|
declare function synthesisCandidatesFromJournal(entries: readonly JournalEntry[], priceUsd?: (servedBy: ModelRef, usage: Usage) => number | undefined): JournaledSynthesisCandidateReport;
|
|
14144
|
+
/**
|
|
14145
|
+
* The observed price of the run's LAST mechanical repair turn
|
|
14146
|
+
* (RV3802): the window of the candidate that FOLLOWED a 'repair'
|
|
14147
|
+
* verdict inside the same settled synthesize span, priced by the same
|
|
14148
|
+
* per-call fold every candidate window uses. This is the fallback the
|
|
14149
|
+
* repair round's mechanical money leg sizes itself from when the host
|
|
14150
|
+
* declared no estimate: by the time the round is admitted the initial
|
|
14151
|
+
* composition has settled, so a mechanical repair it performed is a
|
|
14152
|
+
* priced window in the journal. Fail closed under RV1209: no such
|
|
14153
|
+
* pairing, an unattributed span, or an unpriceable window all return
|
|
14154
|
+
* undefined (never a guessed number), and the caller treats undefined
|
|
14155
|
+
* as an inert zero-size leg.
|
|
14156
|
+
*/
|
|
14157
|
+
declare function lastMechanicalRepairCostUsd(entries: readonly JournalEntry[], priceUsd?: (servedBy: ModelRef, usage: Usage) => number | undefined): number | undefined;
|
|
13828
14158
|
//#endregion
|
|
13829
14159
|
//#region src/stores/tool-calibration.d.ts
|
|
13830
14160
|
/** One dispatch carrying BOTH sides of the calibration pair (RV3003). */
|
|
@@ -14090,6 +14420,25 @@ interface InvoiceRow {
|
|
|
14090
14420
|
entrySeq: number;
|
|
14091
14421
|
scope: string;
|
|
14092
14422
|
key: string;
|
|
14423
|
+
/**
|
|
14424
|
+
* The spawn's agent type from the terminal's cost attribution
|
|
14425
|
+
* (RV3906, the fourth comparison experiment): in dynamic runs the
|
|
14426
|
+
* scope grammar nests every orchestrator spawn under one
|
|
14427
|
+
* `agent:<seq>` bucket, so per-child money used to require a join
|
|
14428
|
+
* through the journal; the row now names the profile directly.
|
|
14429
|
+
* Additive and policy, never identity: absent on entries journaled
|
|
14430
|
+
* before cost attribution shipped, on empty attributions, and on
|
|
14431
|
+
* every pre-RV3906 export byte, so old journals and old consumers
|
|
14432
|
+
* read exactly what they always read.
|
|
14433
|
+
*/
|
|
14434
|
+
agentType?: string;
|
|
14435
|
+
/**
|
|
14436
|
+
* The dispatch label from the same attribution (RV2803 journaled
|
|
14437
|
+
* it; RV3906 lifts it onto the row), what tells two spans of one
|
|
14438
|
+
* role apart without a journal join. Absent on unlabelled
|
|
14439
|
+
* dispatches, additive exactly like `agentType`.
|
|
14440
|
+
*/
|
|
14441
|
+
label?: string;
|
|
14093
14442
|
/** The call's dispatch ordinal within its invocation; remainder and slice rows continue past it. */
|
|
14094
14443
|
ordinal: number;
|
|
14095
14444
|
servedBy: ModelRef;
|
|
@@ -14648,9 +14997,15 @@ declare function statementRowsFromDelimited(text: string, options?: DelimitedSta
|
|
|
14648
14997
|
* a stale settle), which is exactly the evidence `auditRun` derives a
|
|
14649
14998
|
* non-terminal status from. `unknown-workflow`: nothing names the
|
|
14650
14999
|
* workflow the terminal belongs to, and an envelope that invented one
|
|
14651
|
-
* would be a lie on its most-read field.
|
|
14652
|
-
|
|
14653
|
-
|
|
15000
|
+
* would be a lie on its most-read field. `malformed-envelope` (RV3903):
|
|
15001
|
+
* the rebuilt envelope failed the runtime contract gate
|
|
15002
|
+
* (`parseTerminalEnvelope`), which means the journal bytes this fold
|
|
15003
|
+
* read produced values the terminal contract forbids (NaN money, a
|
|
15004
|
+
* negative counter, an unknown status literal); the reconstruction is
|
|
15005
|
+
* withheld typed instead of served green, and the message names the
|
|
15006
|
+
* field and the defect.
|
|
15007
|
+
*/
|
|
15008
|
+
type PersistedTerminalRefusal = "unsettled" | "not-terminal" | "unknown-workflow" | "malformed-envelope";
|
|
14654
15009
|
/** The reconstruction verdict: an envelope, or a typed refusal. */
|
|
14655
15010
|
type PersistedTerminalResult = {
|
|
14656
15011
|
available: true;
|
|
@@ -14830,7 +15185,12 @@ interface PreflightOrchestratorSpec {
|
|
|
14830
15185
|
* (this same `judge.estCost` first, else the run's own observed
|
|
14831
15186
|
* post draft judge price) until that pass admits, so the
|
|
14832
15187
|
* declared estimate is not only judged before the run but enforced
|
|
14833
|
-
* inside it.
|
|
15188
|
+
* inside it. The mechanical leg has the same twin (RV3802): the
|
|
15189
|
+
* one repair turn the round's finish contract can grant is held as
|
|
15190
|
+
* `finishValidation.estRepairCostUsd` (else the run's observed
|
|
15191
|
+
* last mechanical repair price) beside the verdict money, released
|
|
15192
|
+
* to the round's finish loop at its first verdict; the runtime
|
|
15193
|
+
* enforcement of the `repairTurnReserve` turn grant's price.
|
|
14834
15194
|
*/
|
|
14835
15195
|
onFound?: "report" | "carry" | "fail" | "repair";
|
|
14836
15196
|
/**
|
|
@@ -15992,4 +16352,4 @@ interface SandboxBridge {
|
|
|
15992
16352
|
declare const SANDBOX_AGENT_OPT_KEYS: readonly string[];
|
|
15993
16353
|
declare function createSandboxBridge(ctx: Ctx<never>, options: SandboxBridgeOptions): SandboxBridge;
|
|
15994
16354
|
//#endregion
|
|
15995
|
-
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_LESSON_CAP_CHARS, 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, JournalIntegrityError, JournalMatcher, JournalMissError, JournalOperation, JournalOrderViolation, type JournalPricingSnapshot, JournalSealedError, JournalSerializationContext, JournalSerializationHook, type JournalStore, JournaledChild, JournaledChildRoster, JournaledCriticalPath, JournaledPostFanIn, 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, OutputContractManifest, 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, ToolCalibrationExclusion, ToolCalibrationReport, ToolCalibrationRow, 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, attributionBucket, 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, claimJudgeStageOf, 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, isClaimJudgeLabel, isEscalated, isSchemaPairSpec, isStandardSchemaSpec, isStrictCompatibleSchema, journalPricingSnapshot, kMaxOf, knowledgeHash, ladderLengthOf, ladderRungChoice, lastRunSettle, latestProgressReport, lexShellCommand, liftRetainedParts, lineageWeightOf, localKeyProvider, logicalRunTelemetry, makeOrchestratorWorkflow, manifestValidators, 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, renderContractRequirements, replayDisposition, repositoryResearchToolset, requiredFieldsValidator, requiredMentionsValidator, 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, toolCalibrationFromJournal, toolContract, toolContractHash, toolsetAuthorityHash, toolsetHash, ttlState, unionOfIntervalsMs, usageViolations, validateDetachedResolution, validateEditorialCommit, validateEngineQuotaConfig, validateEntryShape, validateEscalationLimits, validateEscalationReport, validateQuotaRules, validateRetryPolicy, validateSchemaSpec, validateTerminationLimits, validateToolsetAttestation, validateUsageLimits, wordCountValidator, workflowScope, workflowSourceRef, wrapJournalStore, wrapTranscriptStore };
|
|
16355
|
+
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_LESSON_CAP_CHARS, 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, FinishRepairHint, 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, JournalIntegrityError, JournalMatcher, JournalMissError, JournalOperation, JournalOrderViolation, type JournalPricingSnapshot, JournalSealedError, JournalSerializationContext, JournalSerializationHook, type JournalStore, JournaledChild, JournaledChildRoster, JournaledCriticalPath, JournaledPostFanIn, 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, OrchestrateDeterministicPatches, OrchestrateDraftToFinal, OrchestrateOptions, OrchestrateSynthesis, OrchestrateSynthesisSkipReason, OrchestratorBudgetSpec, OrchestratorCapConfigError, OrchestratorExtension, OrchestratorExtensionIO, OrchestratorRuntime, Out, OutputContractManifest, 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, SectionalRoundPlan, 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, ToolCalibrationExclusion, ToolCalibrationReport, ToolCalibrationRow, 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, applyFinishRepairHints, applyStructuredOutputTier, approachSigCoarse, approachSigOf, archiveDeprecatedModelOps, assertFencedWrites, assertSafeRunId, atCompactionThreshold, attestToolset, attributionBucket, 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, claimJudgeStageOf, 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, insertRunIdIntoSentence, invoiceFromJournal, isClaimJudgeLabel, isEscalated, isSchemaPairSpec, isStandardSchemaSpec, isStrictCompatibleSchema, journalPricingSnapshot, kMaxOf, knowledgeHash, ladderLengthOf, ladderRungChoice, lastMechanicalRepairCostUsd, lastRunSettle, latestProgressReport, lexShellCommand, liftRetainedParts, lineageWeightOf, localKeyProvider, logicalRunTelemetry, makeOrchestratorWorkflow, manifestValidators, 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, parseTerminalEnvelope, 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, renderContractRequirements, replayDisposition, repositoryResearchToolset, requiredFieldsValidator, requiredMentionsValidator, requiredSectionsValidator, researchAgentProfile, resolveModelInvocation, resolvePricing, resolveToolset, retryClassOf, retryDelayMs, reviewAgentProfile, roleConfiguredInRouting, roundOneDisposition, runAgent, runProfile, sanitizeTerminalText, sanitizeTokenCount, sanitizeUsage, sanitizeUsageDelta, scanJournalCompatibility, schemaHash, schemaHashOfSpec, scopeBucket, sectionCitationsValidator, sectionPatternCountValidator, sectionalRoundPlan, selectStructuredOutputTier, selfTestFinishValidation, shouldCompact, snapshotQuotaRules, snapshotUsage, spawnDepthOf, spliceSections, statementFromRows, statementRowsFromDelimited, stripFencedBlocks, sumUsage, summarizeInstruction, summarizeOutput, synthesisCandidatesFromJournal, terminalEnvelopeOf, terminationConfigDrift, tierWithinCaps, toApprovalDecision, toJournalValue, tool, toolAuthority, toolCalibrationFromJournal, toolContract, toolContractHash, toolsetAuthorityHash, toolsetHash, ttlState, unionOfIntervalsMs, usageViolations, validateDetachedResolution, validateEditorialCommit, validateEngineQuotaConfig, validateEntryShape, validateEscalationLimits, validateEscalationReport, validateQuotaRules, validateRetryPolicy, validateSchemaSpec, validateTerminationLimits, validateToolsetAttestation, validateUsageLimits, wordCountValidator, workflowScope, workflowSourceRef, wrapJournalStore, wrapTranscriptStore };
|