@rulvar/core 1.226.0 → 1.228.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 +489 -10
- package/dist/index.js +531 -30
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2170,7 +2170,42 @@ type CoreEvents = {
|
|
|
2170
2170
|
* read null while the journal held the verdict.
|
|
2171
2171
|
*/
|
|
2172
2172
|
claimConsistencyMeta?: Record<string, unknown>; /** The synthesis-skip marker from the same envelope; same lift (RV2203). */
|
|
2173
|
-
synthesisSkipped?: boolean | string;
|
|
2173
|
+
synthesisSkipped?: boolean | string;
|
|
2174
|
+
/**
|
|
2175
|
+
* Whether the artifact this terminal carries was accepted by the
|
|
2176
|
+
* declared finish contract, and whether there is one to read at
|
|
2177
|
+
* all (RV2506); same lift. `deliverableAccepted` is absent, never
|
|
2178
|
+
* false, when no finish contract was declared. The pair is what
|
|
2179
|
+
* `status` and `completion` cannot say between them: an accepted
|
|
2180
|
+
* child roster over a synthesis that never passed its contract
|
|
2181
|
+
* reads `status: 'ok'`, `completion: 'complete'`,
|
|
2182
|
+
* `deliverableAccepted: false`.
|
|
2183
|
+
*/
|
|
2184
|
+
deliverableAccepted?: boolean;
|
|
2185
|
+
resultAvailable?: boolean;
|
|
2186
|
+
/**
|
|
2187
|
+
* The journal seq of the decision recording that acceptance
|
|
2188
|
+
* (RV2506); absent whenever `deliverableAccepted` is not true.
|
|
2189
|
+
*/
|
|
2190
|
+
acceptedArtifactRef?: number;
|
|
2191
|
+
/**
|
|
2192
|
+
* Every finish candidate the declared contract did NOT accept, in
|
|
2193
|
+
* judgement order (RV2507); same lift, absent when there was
|
|
2194
|
+
* none. Each row identifies the candidate (`callId`, `hash`,
|
|
2195
|
+
* `chars`) and names the validators that rejected it, with `ref`
|
|
2196
|
+
* pointing at the retained bytes where the host asked for them.
|
|
2197
|
+
*/
|
|
2198
|
+
rejectedFinishCandidates?: {
|
|
2199
|
+
callId: string;
|
|
2200
|
+
verdict: "repair" | "rejected";
|
|
2201
|
+
hash: string;
|
|
2202
|
+
chars: number;
|
|
2203
|
+
failed: {
|
|
2204
|
+
name: string;
|
|
2205
|
+
reasons: string[];
|
|
2206
|
+
}[];
|
|
2207
|
+
ref?: string;
|
|
2208
|
+
}[]; /** Children accepted through validated terminal output salvage on 'limit'; same lift. */
|
|
2174
2209
|
salvagedTerminalOutputChildren?: string[];
|
|
2175
2210
|
/**
|
|
2176
2211
|
* Children that settled 'ok' below their declared evidence floor
|
|
@@ -5225,6 +5260,17 @@ interface BudgetHooks {
|
|
|
5225
5260
|
*/
|
|
5226
5261
|
remainingUsd?: () => number | undefined;
|
|
5227
5262
|
/**
|
|
5263
|
+
* Layer 2b asked of the IN-FLIGHT EXPOSURE ceiling (RV2503), wired
|
|
5264
|
+
* only when the cap is configured: the output tokens the exposure
|
|
5265
|
+
* room still affords for this prompt. The dispatch clamps to it too,
|
|
5266
|
+
* so a turn whose full plan overshoots the exposure line is SHORTENED
|
|
5267
|
+
* rather than refused while the budget can still pay for it. An
|
|
5268
|
+
* answer below the serving model's output floor is ignored, so a
|
|
5269
|
+
* genuine exposure exhaustion still refuses through
|
|
5270
|
+
* `admitTurnExposure` with its own typed reason.
|
|
5271
|
+
*/
|
|
5272
|
+
maxExposureOutputTokens?: (servedBy: ModelRef, estimatedInputTokens: number) => number | undefined;
|
|
5273
|
+
/**
|
|
5228
5274
|
* The in-flight exposure admission (RV711), wired only when the cap
|
|
5229
5275
|
* is configured. Called synchronously right before each provider
|
|
5230
5276
|
* dispatch attempt with the attempt's own request estimate: the
|
|
@@ -6270,6 +6316,8 @@ declare class RunBudget {
|
|
|
6270
6316
|
* reservation surface is inert and reserveTurnExposure never binds.
|
|
6271
6317
|
*/
|
|
6272
6318
|
readonly maxInFlightExposureUsd?: number;
|
|
6319
|
+
/** The opt-in lone-dispatch clamp (RV2503); see maxExposureOutputTokens. */
|
|
6320
|
+
private readonly clampTurnToExposure;
|
|
6273
6321
|
private readonly lifetimeSpawnCap;
|
|
6274
6322
|
private readonly events?;
|
|
6275
6323
|
private readonly priceUsd?;
|
|
@@ -6334,7 +6382,8 @@ declare class RunBudget {
|
|
|
6334
6382
|
private readonly invalidPriceWarned;
|
|
6335
6383
|
constructor(options: {
|
|
6336
6384
|
ceilingUsd?: number; /** The opt-in in-flight exposure cap (RV711); see reserveTurnExposure. */
|
|
6337
|
-
maxInFlightExposureUsd?: number;
|
|
6385
|
+
maxInFlightExposureUsd?: number; /** The opt-in lone-dispatch clamp (RV2503); see maxExposureOutputTokens. */
|
|
6386
|
+
clampTurnToExposure?: boolean;
|
|
6338
6387
|
lifetimeSpawnCap?: number;
|
|
6339
6388
|
events?: RuntimeEventSink;
|
|
6340
6389
|
priceUsd?: (servedBy: ModelRef, usage: Usage) => number | undefined; /** Raw price-row resolution for the layer-2b output bound. */
|
|
@@ -6637,6 +6686,53 @@ declare class RunBudget {
|
|
|
6637
6686
|
remainingUsd(accountScope?: string): number | undefined;
|
|
6638
6687
|
maxAffordableOutputTokens(servedBy: ModelRef, estimatedInputTokens: number, accountScope?: string): number | undefined;
|
|
6639
6688
|
/**
|
|
6689
|
+
* The same layer-2b question asked of the IN-FLIGHT EXPOSURE ceiling
|
|
6690
|
+
* (RV2503): the output tokens `cap - spent - live estimates` still
|
|
6691
|
+
* affords from `servedBy` for an estimated prompt, priced by the
|
|
6692
|
+
* settlement function like every other estimate here.
|
|
6693
|
+
*
|
|
6694
|
+
* The clamp above has always existed for the budget ceiling while
|
|
6695
|
+
* {@link reserveTurnExposure} only ever answered yes or no, so a
|
|
6696
|
+
* turn whose FULL planned output overshot the exposure line was
|
|
6697
|
+
* refused outright even when a shorter one fit and the budget could
|
|
6698
|
+
* pay for it. The 1.226.0 comparison run died exactly there: it held
|
|
6699
|
+
* 0.8642 USD of budget, the exposure ceiling had 0.5642 USD of room,
|
|
6700
|
+
* the mandatory repair turn was estimated at 0.7066 USD against an
|
|
6701
|
+
* 18000 token output plan, and the dispatch was refused before any
|
|
6702
|
+
* provider call. The same turn, re-issued after the operator raised
|
|
6703
|
+
* the ceiling, wrote 12840 output tokens and cost 0.4788 USD: it fit
|
|
6704
|
+
* the ceiling that refused it, and a clamp to the ~13253 tokens the
|
|
6705
|
+
* room afforded would have let it run.
|
|
6706
|
+
*
|
|
6707
|
+
* Answered ONLY for a dispatch that is alone in flight, which is the
|
|
6708
|
+
* whole difference between a refusal that means something and one
|
|
6709
|
+
* that means nothing. With siblings live the refusal is TRANSIENT:
|
|
6710
|
+
* RV1902 parks on it and the turn runs at its full planned length
|
|
6711
|
+
* the moment one of them releases, so shortening it would trade a
|
|
6712
|
+
* complete answer for a truncated one and buy nothing. With nothing
|
|
6713
|
+
* live the refusal is PERMANENT (RV2003's sweep wakes such a waiter
|
|
6714
|
+
* 'drained' precisely because no hold will ever return), and the
|
|
6715
|
+
* only choices left are a shorter turn or no turn at all. The
|
|
6716
|
+
* concurrent-wave bound of RV711 is therefore untouched.
|
|
6717
|
+
*
|
|
6718
|
+
* Opt-in through `RunOptions.clampTurnToExposure`, so the drained
|
|
6719
|
+
* refusal terminals RV1902, RV2002 and RV2003 built out of live
|
|
6720
|
+
* parity deaths keep their shapes until a host asks for this one.
|
|
6721
|
+
*
|
|
6722
|
+
* Undefined when the clamp is not armed, when the cap is not
|
|
6723
|
+
* configured, when anything is in flight, or when the model has no
|
|
6724
|
+
* price row, so a run that declares nothing keeps every byte of its
|
|
6725
|
+
* historical path. Zero or
|
|
6726
|
+
* negative when the room cannot even pay for the prompt, the same
|
|
6727
|
+
* convention {@link maxAffordableOutputTokens} inherits from
|
|
6728
|
+
* `affordableOutputTokens`; the caller decides what a sub-floor
|
|
6729
|
+
* answer means, and the loop deliberately ignores one so a true
|
|
6730
|
+
* exposure exhaustion still refuses through
|
|
6731
|
+
* {@link reserveTurnExposure} with its own typed reason instead of
|
|
6732
|
+
* an output-floor verdict.
|
|
6733
|
+
*/
|
|
6734
|
+
maxExposureOutputTokens(servedBy: ModelRef, estimatedInputTokens: number): number | undefined;
|
|
6735
|
+
/**
|
|
6640
6736
|
* Live accounting; spend propagates from `accountScope` to every
|
|
6641
6737
|
* ancestor. Crossing a ceiling severs the crossing account's subtree
|
|
6642
6738
|
* via its layer-3 AbortSignal (overshoot bounded by one turn per
|
|
@@ -7630,6 +7726,33 @@ interface RunOptions {
|
|
|
7630
7726
|
*/
|
|
7631
7727
|
maxInFlightExposureUsd?: number;
|
|
7632
7728
|
/**
|
|
7729
|
+
* Layer 2b against the exposure ceiling (RV2503), opt-in and
|
|
7730
|
+
* meaningful only beside `maxInFlightExposureUsd`. Armed, a dispatch
|
|
7731
|
+
* with NOTHING else in flight has its planned output clamped to the
|
|
7732
|
+
* tokens the remaining exposure room affords instead of being
|
|
7733
|
+
* refused outright, exactly as the budget ceiling has always clamped
|
|
7734
|
+
* it. The 1.226.0 comparison run is the case: nothing was live, the
|
|
7735
|
+
* budget still held 0.8642 USD, the mandatory repair turn's FULL
|
|
7736
|
+
* 18000 token plan priced 0.7066 USD against 0.5642 USD of room, and
|
|
7737
|
+
* the dispatch was refused before any provider call; the same work,
|
|
7738
|
+
* re-issued after an operator raised the ceiling, wrote 12840 output
|
|
7739
|
+
* tokens for 0.4788 USD. A refusal with nothing live buys nothing,
|
|
7740
|
+
* because no hold will ever release to fund the full plan.
|
|
7741
|
+
*
|
|
7742
|
+
* Deliberately scoped and deliberately off by default. With siblings
|
|
7743
|
+
* in flight the refusal is transient and the RV1902/RV2002 waits
|
|
7744
|
+
* park on it, so the wave keeps the full-length turn RV711 promised
|
|
7745
|
+
* and nothing here applies. When the room cannot even fund the
|
|
7746
|
+
* serving model's output floor, the clamp stands aside and the
|
|
7747
|
+
* dispatch refuses through the usual typed `in-flight-exposure`
|
|
7748
|
+
* path, so the drained-refusal terminals (RV1902, RV2002, RV2003)
|
|
7749
|
+
* keep their shapes. Absent, every byte of dispatch behavior is
|
|
7750
|
+
* historical. Like `strictPricing`, this is a per-segment posture: it
|
|
7751
|
+
* is not recorded in RunMeta and a resumed segment carries only what
|
|
7752
|
+
* its own options declare.
|
|
7753
|
+
*/
|
|
7754
|
+
clampTurnToExposure?: boolean;
|
|
7755
|
+
/**
|
|
7633
7756
|
* The opt-in strict pre-egress pricing gate (RV1508): every paid
|
|
7634
7757
|
* dispatch must resolve a well-formed price row for its serving
|
|
7635
7758
|
* model BEFORE the wire call, or the dispatch refuses typed
|
|
@@ -7988,6 +8111,15 @@ interface FinishValidationInput {
|
|
|
7988
8111
|
* evidence the children actually produced.
|
|
7989
8112
|
*/
|
|
7990
8113
|
readonly children?: readonly FinishValidationChild[];
|
|
8114
|
+
/**
|
|
8115
|
+
* The id of the run being judged (RV2501). Optional in the TYPE only
|
|
8116
|
+
* so hand built inputs stay source compatible; the orchestrator
|
|
8117
|
+
* runtime always supplies it, at every gate that judges a finish
|
|
8118
|
+
* (the validator-bound finish, the contract draft gate, and the
|
|
8119
|
+
* skipWhenDraftValid pre-pass), so a validator can accept the run's
|
|
8120
|
+
* own id as the artifact a claim about THIS run points at.
|
|
8121
|
+
*/
|
|
8122
|
+
readonly runId?: string;
|
|
7991
8123
|
}
|
|
7992
8124
|
/** The verdict of one validator over one finish attempt. */
|
|
7993
8125
|
type FinishValidationVerdict = {
|
|
@@ -8281,7 +8413,22 @@ declare const DEFAULT_ARTIFACT_PATTERN = "(?:run[ -]?[0-9A-HJKMNP-TV-Z]{6,26}|[\
|
|
|
8281
8413
|
* paragraphs away no longer satisfies the grade. Purely textual: what
|
|
8282
8414
|
* the referenced artifact contains is
|
|
8283
8415
|
* {@link citedValueValidator}'s question, and whether it exists on
|
|
8284
|
-
* disk is the host's.
|
|
8416
|
+
* disk is the host's.
|
|
8417
|
+
*
|
|
8418
|
+
* The run's OWN id is an artifact (RV2501). `DEFAULT_ARTIFACT_PATTERN`
|
|
8419
|
+
* only ever matched the literal word `run` followed by a ULID, so the
|
|
8420
|
+
* escape the verdict advertised was unreachable for every run whose id
|
|
8421
|
+
* the engine did not mint in that exact shape: the comparison run's
|
|
8422
|
+
* `comparison-rulvar-v12260-aug09-...` matched nothing, its synthesis
|
|
8423
|
+
* had no artifact it could name, and a document that told the truth
|
|
8424
|
+
* about the run it was part of could not be written at all. When
|
|
8425
|
+
* {@link FinishValidationInput.runId} is supplied (the orchestrator
|
|
8426
|
+
* runtime always supplies it), a sentence carrying that id verbatim as
|
|
8427
|
+
* a whole token satisfies the grade, and the verdict names the id so
|
|
8428
|
+
* the repair instruction is executable rather than aspirational. An id
|
|
8429
|
+
* shorter than `MIN_RUN_ID_ARTIFACT_CHARS` (six) is ignored, and
|
|
8430
|
+
* without an id the verdict is byte identical to the historical one.
|
|
8431
|
+
* Default name 'evidence-grade'.
|
|
8285
8432
|
*/
|
|
8286
8433
|
declare function evidenceGradeValidator(options?: {
|
|
8287
8434
|
/** Overrides {@link DEFAULT_EVIDENCE_GRADE_PHRASES}; matched case-insensitively. */phrases?: readonly string[]; /** Overrides {@link DEFAULT_ARTIFACT_PATTERN}. */
|
|
@@ -8314,6 +8461,27 @@ interface CitationTarget {
|
|
|
8314
8461
|
* ({@link citationTargetsValidator} judges every citation with no such
|
|
8315
8462
|
* precondition).
|
|
8316
8463
|
*
|
|
8464
|
+
* One span class is IDENTITY, not assertion (RV2502, the 1.226.0
|
|
8465
|
+
* comparison run): a span naming the artefact under review says which
|
|
8466
|
+
* commit, run, or release the document is about, and asserts nothing
|
|
8467
|
+
* about any cited line. That run's synthesis wrote its frozen commit
|
|
8468
|
+
* sha beside source citations and the validator demanded the sha appear
|
|
8469
|
+
* in the cited source, an impossible repair, in the same verdict that
|
|
8470
|
+
* demanded three real value fixes; two granted repairs burned and the
|
|
8471
|
+
* finish was rejected. Three shapes are structural and always excluded:
|
|
8472
|
+
* a commit sha (12 to 64 hex characters, long enough that ordinary hex
|
|
8473
|
+
* literals stay judged), a release version (`1.2.3`, `v1.2.3`, with an
|
|
8474
|
+
* optional prerelease or build tail), and the run's own id when the
|
|
8475
|
+
* runtime supplies `runId`. Host vocabulary is declared: `notValues`
|
|
8476
|
+
* lists spans this document writes as identity, verdict words like
|
|
8477
|
+
* `conditionally ready` among them.
|
|
8478
|
+
*
|
|
8479
|
+
* The run-id exclusion is what makes the bundle self consistent
|
|
8480
|
+
* (RV2501, RV2202): the evidence grade instructs a failing model to
|
|
8481
|
+
* write this run's id inside the offending sentence, and before RV2502
|
|
8482
|
+
* doing so beside a citation traded an evidence-grade failure for a
|
|
8483
|
+
* cited-value one. The two repair instructions now compose.
|
|
8484
|
+
*
|
|
8317
8485
|
* `resolve` is host code and must be PURE over a snapshot the host
|
|
8318
8486
|
* froze before the run, exactly like every other finish validator: a
|
|
8319
8487
|
* resolver that reads the filesystem live would make a verdict depend
|
|
@@ -8326,6 +8494,12 @@ declare function citedValueValidator(options: {
|
|
|
8326
8494
|
resolve: (target: CitationTarget) => string | undefined; /** Lines AFTER the cited one that may carry the value; default 0. */
|
|
8327
8495
|
window?: number; /** Overrides {@link DEFAULT_CITATION_PATTERN}; must capture `path:line`. */
|
|
8328
8496
|
pattern?: string;
|
|
8497
|
+
/**
|
|
8498
|
+
* Spans this host writes as IDENTITY rather than as a value asserted
|
|
8499
|
+
* about a citation (RV2502), matched whole and case sensitively.
|
|
8500
|
+
* Commit shas, versions, and the run's own id need no declaration.
|
|
8501
|
+
*/
|
|
8502
|
+
notValues?: readonly string[];
|
|
8329
8503
|
name?: string;
|
|
8330
8504
|
}): FinishValidator;
|
|
8331
8505
|
/**
|
|
@@ -8606,16 +8780,26 @@ declare function pairRunFactClaims(draftText: string, sheet: RunFactsSheet, opti
|
|
|
8606
8780
|
*
|
|
8607
8781
|
* - `'full'`: every citing sentence the draft carries had at least one
|
|
8608
8782
|
* judged pair, nothing was cut by a bound, no declared critical
|
|
8609
|
-
* anchor was missed, and the judge (when needed) settled ok.
|
|
8610
|
-
*
|
|
8611
|
-
* nothing
|
|
8612
|
-
*
|
|
8783
|
+
* anchor was missed, and the judge (when needed) settled ok.
|
|
8784
|
+
* - `'vacuous'` (RV2508): the draft carried NO citing sentence, so the
|
|
8785
|
+
* configured pass verified nothing. This used to grade `'full'` on
|
|
8786
|
+
* the reasoning that saying `'partial'` would imply a subset was
|
|
8787
|
+
* chosen, which is true and beside the point: `'full'` is the
|
|
8788
|
+
* strongest word in the vocabulary and it was standing over a
|
|
8789
|
+
* denominator of zero, the same silent green the grade exists to
|
|
8790
|
+
* abolish, at its extreme.
|
|
8613
8791
|
* - `'partial'`: the pass verified a strict subset: the pair bound
|
|
8614
8792
|
* truncated the fold, a run-facts bound truncated the run-claim
|
|
8615
8793
|
* pairs, or citing sentences exist that no judged pair covers.
|
|
8616
8794
|
* - `'critical-uncovered'`: at least one DECLARED critical anchor got
|
|
8617
8795
|
* no judged pair; stronger than `'partial'` because the caller named
|
|
8618
8796
|
* exactly these claims as the ones that must not go unverified.
|
|
8797
|
+
* - `'judge-declined'` (RV2508): the judge invocation was refused
|
|
8798
|
+
* ADMISSION and never dispatched (RV2106), so nothing was judged at
|
|
8799
|
+
* all. It ranks with a failed judge and above everything the counts
|
|
8800
|
+
* could say, because those counts describe a pass that did not
|
|
8801
|
+
* happen; before this the flag was invisible to the grade and a
|
|
8802
|
+
* declined judge over a citation-free draft graded `'full'`.
|
|
8619
8803
|
* - `'judge-failed'`: the judge invocation did not settle ok, so
|
|
8620
8804
|
* nothing was judged at all; every other reading of the meta is
|
|
8621
8805
|
* moot.
|
|
@@ -8624,7 +8808,7 @@ declare function pairRunFactClaims(draftText: string, sheet: RunFactsSheet, opti
|
|
|
8624
8808
|
* and total over metas written BEFORE the grade shipped, so a consumer
|
|
8625
8809
|
* can grade a persisted outcome from an older engine.
|
|
8626
8810
|
*/
|
|
8627
|
-
type ClaimCoverageGrade = "full" | "partial" | "critical-uncovered" | "judge-failed";
|
|
8811
|
+
type ClaimCoverageGrade = "full" | "vacuous" | "partial" | "critical-uncovered" | "judge-declined" | "judge-failed";
|
|
8628
8812
|
/** The subset of the claim-consistency meta the grade derives from. */
|
|
8629
8813
|
interface ClaimCoverageInput {
|
|
8630
8814
|
/** Draft sentences carrying at least one parsable anchor. */
|
|
@@ -8639,6 +8823,12 @@ interface ClaimCoverageInput {
|
|
|
8639
8823
|
runFactPairsTruncated?: true;
|
|
8640
8824
|
/** True when the judge invocation did not settle ok. */
|
|
8641
8825
|
judgeFailed?: true;
|
|
8826
|
+
/**
|
|
8827
|
+
* True when the judge invocation was refused ADMISSION and never
|
|
8828
|
+
* dispatched (RV2106). The orchestrator already spreads the flag into
|
|
8829
|
+
* the meta it grades, so nothing at the call site changes.
|
|
8830
|
+
*/
|
|
8831
|
+
judgeDeclined?: true;
|
|
8642
8832
|
}
|
|
8643
8833
|
/** Derives the {@link ClaimCoverageGrade} of a claim-consistency meta. */
|
|
8644
8834
|
declare function claimCoverageOf(meta: ClaimCoverageInput): ClaimCoverageGrade;
|
|
@@ -9570,6 +9760,30 @@ interface FinishValidationSpec {
|
|
|
9570
9760
|
*/
|
|
9571
9761
|
maxRepairs?: number;
|
|
9572
9762
|
/**
|
|
9763
|
+
* Retain the BYTES of every rejected finish candidate as its own
|
|
9764
|
+
* addressable transcript blob (RV2507, the 1.226.0 comparison run),
|
|
9765
|
+
* default off. The identity of a rejected candidate always rides the
|
|
9766
|
+
* terminal (`rejectedFinishCandidates`: the call id, the sha256 that
|
|
9767
|
+
* names WHICH document drew the verdict, its size, and the validator
|
|
9768
|
+
* diffs); that costs nothing, because it is derived from decisions
|
|
9769
|
+
* the journal already holds. A COPY of the document costs storage,
|
|
9770
|
+
* so it is a decision the host makes: with this on, each rejected
|
|
9771
|
+
* candidate is written to `<runId>/finish-rejected/<callId>` and the
|
|
9772
|
+
* terminal row carries its `ref`, one `transcripts.get` away from the
|
|
9773
|
+
* bytes. Turn it on for evaluation and comparison runs. The
|
|
9774
|
+
* comparison run's three rejected syntheses were reachable only by an
|
|
9775
|
+
* external script that re-parsed the whole agent transcript; nothing
|
|
9776
|
+
* on the terminal or in the journal said where they were, or even
|
|
9777
|
+
* that they differed from each other.
|
|
9778
|
+
*
|
|
9779
|
+
* Bounded by construction: at most `maxRepairs + 1` candidates per
|
|
9780
|
+
* finish-validated invocation, under the run's own prefix, so
|
|
9781
|
+
* `Engine.deleteRun` cascades over them like every other run blob. A
|
|
9782
|
+
* store that refuses the write costs the run nothing: the row keeps
|
|
9783
|
+
* its identity and drops its `ref`, and absence means NOT RECORDED.
|
|
9784
|
+
*/
|
|
9785
|
+
retainRejectedCandidates?: boolean;
|
|
9786
|
+
/**
|
|
9573
9787
|
* The repair turn reserve (the v1.71 experiment review, P0.4; the
|
|
9574
9788
|
* reserve RV-204 deliberately deferred). A nonnegative integer,
|
|
9575
9789
|
* default 0: max EXTRA turns the invocation the validators bind (the
|
|
@@ -9958,6 +10172,35 @@ interface OrchestrateClaimConsistency {
|
|
|
9958
10172
|
* silently when its judge dies.
|
|
9959
10173
|
*/
|
|
9960
10174
|
onFound?: "report" | "carry" | "fail";
|
|
10175
|
+
/**
|
|
10176
|
+
* WHICH document the pass judges (RV2509), default `'draft'`, the
|
|
10177
|
+
* historical behavior byte for byte. The pass has always read the
|
|
10178
|
+
* coordination draft, strictly BEFORE the synthesis, so that a draft
|
|
10179
|
+
* contradicting its own pool fails before anything pays to compose
|
|
10180
|
+
* it. That ordering is right and stays; what it cannot do is verify
|
|
10181
|
+
* the document that actually SHIPPED. The synthesis rewrites the
|
|
10182
|
+
* draft, and under `'draft'` the semantic verdict on the terminal
|
|
10183
|
+
* describes a document no consumer ever receives: the twenty-fifth
|
|
10184
|
+
* comparison run's judge cleared a draft and the synthesis then
|
|
10185
|
+
* composed a different text three times over.
|
|
10186
|
+
*
|
|
10187
|
+
* `'final'` moves the pass after the synthesis, over the artifact the
|
|
10188
|
+
* run settles on. `'both'` keeps the pre-synthesis gate AND judges
|
|
10189
|
+
* the final, at the price of a second judge invocation; the terminal
|
|
10190
|
+
* then reports the FINAL pass in `claimConsistencyMeta` (the shipped
|
|
10191
|
+
* document is what a consumer gates on) and the earlier one in
|
|
10192
|
+
* `claimConsistencyDraftMeta`.
|
|
10193
|
+
*
|
|
10194
|
+
* Every meta says which document it read (`judgedStage`,
|
|
10195
|
+
* `judgedHash`), and the envelope's `draftToFinal` says whether the
|
|
10196
|
+
* synthesis changed the document at all, so the question "is this
|
|
10197
|
+
* verdict about what I received" is a field read under every setting,
|
|
10198
|
+
* including the default.
|
|
10199
|
+
*
|
|
10200
|
+
* Meaningful only with a `synthesis` configured: without one the
|
|
10201
|
+
* draft IS the final and all three settings judge the same document.
|
|
10202
|
+
*/
|
|
10203
|
+
stage?: "draft" | "final" | "both";
|
|
9961
10204
|
/** The judge invocation's own knobs; the routing chain applies otherwise. */
|
|
9962
10205
|
judge?: {
|
|
9963
10206
|
/** Model override for the judge invocation. */model?: ModelSpec; /** Canonical effort of the judge invocation. */
|
|
@@ -10129,6 +10372,39 @@ interface OrchestrateClaimConsistencyMeta {
|
|
|
10129
10372
|
* "fully verified" when the judge saw 40 of 144 citing sentences.
|
|
10130
10373
|
*/
|
|
10131
10374
|
coverage: ClaimCoverageGrade;
|
|
10375
|
+
/**
|
|
10376
|
+
* WHICH document this verdict describes (RV2509): `'draft'` for the
|
|
10377
|
+
* pre-synthesis pass, `'final'` for a pass over the artifact the run
|
|
10378
|
+
* settles on. Always present since RV2509, so a coverage grade can
|
|
10379
|
+
* never be read as a claim about the shipped document when it was
|
|
10380
|
+
* rendered over the draft the synthesis replaced.
|
|
10381
|
+
*/
|
|
10382
|
+
judgedStage: "draft" | "final";
|
|
10383
|
+
/**
|
|
10384
|
+
* sha256 over the canonical document this verdict read (RV2509).
|
|
10385
|
+
* Compare it against the envelope's `draftToFinal.finalHash`: equal
|
|
10386
|
+
* means the judged document IS the one that shipped, unequal means
|
|
10387
|
+
* the synthesis rewrote what the judge cleared.
|
|
10388
|
+
*/
|
|
10389
|
+
judgedHash: string;
|
|
10390
|
+
}
|
|
10391
|
+
/**
|
|
10392
|
+
* How the shipped artifact relates to the draft the run composed it
|
|
10393
|
+
* from (RV2509), present on the acceptance envelope whenever a
|
|
10394
|
+
* synthesis was configured. Two hashes and the answer they imply: a
|
|
10395
|
+
* semantic verdict rendered over the draft describes the final only
|
|
10396
|
+
* when `rewritten` is false, and until this shipped a consumer had no
|
|
10397
|
+
* way to ask.
|
|
10398
|
+
*/
|
|
10399
|
+
interface OrchestrateDraftToFinal {
|
|
10400
|
+
/** sha256 over the canonical coordination draft. */
|
|
10401
|
+
draftHash: string;
|
|
10402
|
+
/** sha256 over the canonical artifact the run settled on. */
|
|
10403
|
+
finalHash: string;
|
|
10404
|
+
/** False exactly when the two hashes agree: the synthesis returned the draft unchanged. */
|
|
10405
|
+
rewritten: boolean;
|
|
10406
|
+
/** Which documents the claim-consistency pass actually judged; absent when it never ran. */
|
|
10407
|
+
claimsJudgedOn?: "draft" | "final" | "both";
|
|
10132
10408
|
}
|
|
10133
10409
|
/**
|
|
10134
10410
|
* The synthesis invocation's own knobs (RV-211). Everything else about
|
|
@@ -10296,6 +10572,39 @@ interface OrchestrateSynthesis {
|
|
|
10296
10572
|
*/
|
|
10297
10573
|
carryDraftGaps?: boolean;
|
|
10298
10574
|
/**
|
|
10575
|
+
* The no-regression floor under the synthesis (RV2505, the 1.226.0
|
|
10576
|
+
* comparison run). That run's coordination draft satisfied the FULL
|
|
10577
|
+
* declared contract, `skipWhenDraftValid` was off because the
|
|
10578
|
+
* operator wanted the composing pass anyway, and the synthesis then
|
|
10579
|
+
* failed the same bundle three times and died mid repair: the run
|
|
10580
|
+
* settled with NO result at all, having paid for four workers, the
|
|
10581
|
+
* draft that would have passed, and three rejected compositions.
|
|
10582
|
+
* With `true`, a synthesis that fails terminally does not throw away
|
|
10583
|
+
* a draft the contract accepts. The failure is caught at the
|
|
10584
|
+
* post-fan-in chokepoint, the coordination draft is judged by the
|
|
10585
|
+
* same `finishValidation.validators` that bind the synthesis finish,
|
|
10586
|
+
* and a draft every validator accepts becomes the run result under a
|
|
10587
|
+
* journaled 'orchestrator_synthesis_regressed' decision (the failure
|
|
10588
|
+
* message, the validator names, the draft hash, the contract
|
|
10589
|
+
* generation) plus a warn 'orchestrator synthesis regressed' log; the
|
|
10590
|
+
* envelope carries `synthesisRegressed`. A draft that fails too
|
|
10591
|
+
* journals 'orchestrator_synthesis_fallback_declined' naming ITS
|
|
10592
|
+
* failing validators and the original failure rethrows untouched, so
|
|
10593
|
+
* the decline is auditable instead of silent. Deterministic by
|
|
10594
|
+
* construction: only the declared contract judges, never a quality
|
|
10595
|
+
* heuristic, and the verdict is a pure function of the draft, so a
|
|
10596
|
+
* resume re-derives it without re-running the paid invocation.
|
|
10597
|
+
* Requires `finishValidation` (a ConfigError at intake otherwise:
|
|
10598
|
+
* without a contract there is nothing to judge either document by),
|
|
10599
|
+
* which transitively limits it to mode 'single'. Orthogonal to
|
|
10600
|
+
* `skipWhenDraftValid`: that gate decides whether to PAY for the
|
|
10601
|
+
* synthesis, this floor decides what to do when the paid one comes
|
|
10602
|
+
* back worse than the draft, and with both on a valid draft skips
|
|
10603
|
+
* before there is anything to regress. Default false: no catch, no
|
|
10604
|
+
* decision entry, no envelope field, byte for byte.
|
|
10605
|
+
*/
|
|
10606
|
+
fallbackToValidDraft?: boolean;
|
|
10607
|
+
/**
|
|
10299
10608
|
* The structured evidence index (RV808b): a deterministic per-child
|
|
10300
10609
|
* citation map in the 'single' synthesis prompt, so the composing
|
|
10301
10610
|
* model can target its reads instead of re-reading the whole
|
|
@@ -11358,6 +11667,40 @@ interface SemanticPassesSummary {
|
|
|
11358
11667
|
claimConsistency: SemanticPassSummary;
|
|
11359
11668
|
synthesis: SemanticPassSummary;
|
|
11360
11669
|
}
|
|
11670
|
+
/**
|
|
11671
|
+
* One finish candidate the declared contract did NOT accept (RV2507).
|
|
11672
|
+
* The 1.226.0 comparison run rejected three syntheses; nothing on its
|
|
11673
|
+
* terminal said so, nothing said whether the three differed from each
|
|
11674
|
+
* other, and the only way to read them was an external script that
|
|
11675
|
+
* re-parsed the whole agent transcript. The row is the artifact that
|
|
11676
|
+
* dig produced, made first class.
|
|
11677
|
+
*
|
|
11678
|
+
* `hash` is the sha256 over the canonical candidate: two rows with the
|
|
11679
|
+
* same hash are the model serving the same document twice, which is a
|
|
11680
|
+
* different failure from three genuine attempts and used to be
|
|
11681
|
+
* invisible. `ref` is present exactly under
|
|
11682
|
+
* `finishValidation.retainRejectedCandidates`, and points at a
|
|
11683
|
+
* transcript blob holding the candidate verbatim; without it the row
|
|
11684
|
+
* still identifies and sizes what was rejected, and names the
|
|
11685
|
+
* validators that did it.
|
|
11686
|
+
*/
|
|
11687
|
+
interface RejectedFinishCandidate {
|
|
11688
|
+
/** The finish tool call this candidate arrived on. */
|
|
11689
|
+
callId: string;
|
|
11690
|
+
/** `'repair'` when another turn was granted, `'rejected'` when this was the last. */
|
|
11691
|
+
verdict: "repair" | "rejected";
|
|
11692
|
+
/** sha256 over the canonical candidate; identity, not location. */
|
|
11693
|
+
hash: string;
|
|
11694
|
+
/** The candidate's length in characters, honest whether or not the bytes were retained. */
|
|
11695
|
+
chars: number;
|
|
11696
|
+
/** Each validator that rejected it, with its reasons: the diff. */
|
|
11697
|
+
failed: {
|
|
11698
|
+
name: string;
|
|
11699
|
+
reasons: string[];
|
|
11700
|
+
}[];
|
|
11701
|
+
/** Transcript ref holding the bytes; absent unless retention is on and the write succeeded. */
|
|
11702
|
+
ref?: string;
|
|
11703
|
+
}
|
|
11361
11704
|
interface AcceptanceChildSummary {
|
|
11362
11705
|
child: string;
|
|
11363
11706
|
status: string;
|
|
@@ -11420,6 +11763,56 @@ type RunOutcome<R> = {
|
|
|
11420
11763
|
claimConsistencyMeta?: Record<string, unknown>; /** The synthesis-skip marker from the same envelope; same lift and posture (RV2203). */
|
|
11421
11764
|
synthesisSkipped?: boolean | string;
|
|
11422
11765
|
/**
|
|
11766
|
+
* Whether the artifact THIS terminal carries was accepted by the
|
|
11767
|
+
* declared finish contract (RV2506), lifted from the same envelope or
|
|
11768
|
+
* typed error data. The one question `status` and `completion` cannot
|
|
11769
|
+
* answer between them: the 1.226.0 comparison run accepted its
|
|
11770
|
+
* children (`completion: 'complete'` was earned by the acceptance
|
|
11771
|
+
* policy over child statuses), then failed its synthesis against the
|
|
11772
|
+
* contract three times and settled carrying nothing the contract ever
|
|
11773
|
+
* accepted, and the scoring harness read `status: 'ok'` and could not
|
|
11774
|
+
* tell. Absent, NEVER false, when no `finishValidation` was declared:
|
|
11775
|
+
* nothing judged anything, and absence means NOT RECORDED (RV1209).
|
|
11776
|
+
* False means a contract was declared and the artifact here did not
|
|
11777
|
+
* pass it, including the case where nothing was ever judged because
|
|
11778
|
+
* the run died first.
|
|
11779
|
+
*/
|
|
11780
|
+
deliverableAccepted?: boolean;
|
|
11781
|
+
/**
|
|
11782
|
+
* Whether this terminal carries a deliverable to read at all
|
|
11783
|
+
* (RV2506); same lift and posture. False on every enriched failure
|
|
11784
|
+
* (an `error` outcome carries no value by construction) and on an
|
|
11785
|
+
* accepted run whose synthesis resolved to null. Distinct from
|
|
11786
|
+
* `deliverableAccepted`: an unjudged artifact still EXISTS, and a run
|
|
11787
|
+
* with no artifact still has a completion claim.
|
|
11788
|
+
*/
|
|
11789
|
+
resultAvailable?: boolean;
|
|
11790
|
+
/**
|
|
11791
|
+
* The journal seq of the decision entry that records the acceptance
|
|
11792
|
+
* of the artifact this terminal carries (RV2506); same lift and
|
|
11793
|
+
* posture, absent whenever `deliverableAccepted` is not true. Three
|
|
11794
|
+
* different entries answer to it, which is the point of having one
|
|
11795
|
+
* field: the accepted `orchestrator_finish_validation` decision on
|
|
11796
|
+
* the ordinary path, the `orchestrator_synthesis_skip` decision when
|
|
11797
|
+
* the RV510 gate settled on a valid draft, and the
|
|
11798
|
+
* `orchestrator_synthesis_regressed` decision when the RV2505 floor
|
|
11799
|
+
* handed a failing synthesis back to its draft. Read it with
|
|
11800
|
+
* `rulvar inspect` (or any journal reader) to see WHICH validators
|
|
11801
|
+
* rendered the acceptance and over WHICH draft hash.
|
|
11802
|
+
*/
|
|
11803
|
+
acceptedArtifactRef?: number;
|
|
11804
|
+
/**
|
|
11805
|
+
* Every finish candidate the declared contract did NOT accept, in the
|
|
11806
|
+
* order they were judged (RV2507); same lift and posture. Present
|
|
11807
|
+
* only when there was at least one, so a run that passed first try
|
|
11808
|
+
* keeps its exact terminal. It rides the ok terminal as well as the
|
|
11809
|
+
* failed one: a run that recovered on its second attempt still owes a
|
|
11810
|
+
* post-mortem the first, and the comparison analysis that had to
|
|
11811
|
+
* reconstruct three rejected syntheses from a transcript is the
|
|
11812
|
+
* reason the field exists.
|
|
11813
|
+
*/
|
|
11814
|
+
rejectedFinishCandidates?: RejectedFinishCandidate[];
|
|
11815
|
+
/**
|
|
11423
11816
|
* Children accepted through validated terminal output salvage on
|
|
11424
11817
|
* 'limit'; same lift and posture.
|
|
11425
11818
|
*/
|
|
@@ -12388,6 +12781,88 @@ declare function lastRunSettle(entries: readonly JournalEntry[]): {
|
|
|
12388
12781
|
outputHash?: string;
|
|
12389
12782
|
completion?: "complete" | "partial" | "rejected";
|
|
12390
12783
|
} | undefined;
|
|
12784
|
+
/**
|
|
12785
|
+
* Whether a terminal figure counts THIS segment's work or the whole
|
|
12786
|
+
* logical run (RV2510).
|
|
12787
|
+
*
|
|
12788
|
+
* * `'segment'`: only the segment that produced this terminal. A
|
|
12789
|
+
* resumed run reports the resumed segment's number, and the figure
|
|
12790
|
+
* for the logical run is the SUM over every segment
|
|
12791
|
+
* ({@link logicalRunTelemetry} computes it).
|
|
12792
|
+
* * `'cumulative'`: the whole logical run, every prior segment
|
|
12793
|
+
* included, because the figure folds from the journal (money, usage),
|
|
12794
|
+
* resumes from the journaled ledger (the spawn count), or is
|
|
12795
|
+
* RE-DERIVED by replay (the loss list: a resumed segment re-executes
|
|
12796
|
+
* the workflow and reads the same journaled terminals, so the drops
|
|
12797
|
+
* of earlier segments come back). Summing these across segments
|
|
12798
|
+
* double counts.
|
|
12799
|
+
* * `'terminal'`: not a count at all: a claim about the run as it
|
|
12800
|
+
* stands at this settle, which a later segment can only replace.
|
|
12801
|
+
*/
|
|
12802
|
+
type TelemetryScope = "segment" | "cumulative" | "terminal";
|
|
12803
|
+
/**
|
|
12804
|
+
* The scope of every field the engine writes onto a terminal (RV2510),
|
|
12805
|
+
* as one exported table rather than as sentences scattered through
|
|
12806
|
+
* field docs.
|
|
12807
|
+
*
|
|
12808
|
+
* The twenty-fifth comparison run was killed and resumed, and its two
|
|
12809
|
+
* terminals mixed both kinds with nothing marking which was which: the
|
|
12810
|
+
* money was cumulative, the wake count and the replay figures were not,
|
|
12811
|
+
* and reconciling them into one honest account of the logical run was
|
|
12812
|
+
* hand work over a joined journal. Keys are field paths as a consumer
|
|
12813
|
+
* reads them off `RunOutcome` (`cost.orchestrator.wakes`); the
|
|
12814
|
+
* doctrine test holds this table against the keys a real outcome
|
|
12815
|
+
* carries, so a new terminal field cannot ship without declaring what
|
|
12816
|
+
* it counts.
|
|
12817
|
+
*/
|
|
12818
|
+
declare const TERMINAL_TELEMETRY_SCOPE: Readonly<Record<string, TelemetryScope>>;
|
|
12819
|
+
/** One logical run's telemetry, folded across every segment (RV2510). */
|
|
12820
|
+
interface LogicalRunTelemetry {
|
|
12821
|
+
/** How many settles the journal records: the number of segments that ran. */
|
|
12822
|
+
segments: number;
|
|
12823
|
+
/** Each segment's settled status, in journal order. */
|
|
12824
|
+
statuses: RunStatus[];
|
|
12825
|
+
/**
|
|
12826
|
+
* Journal entries each segment APPENDED, in the same order: its own
|
|
12827
|
+
* share of the run's durable work, which is the one honest
|
|
12828
|
+
* per-segment measure of effort a resumed run has. A pure-replay
|
|
12829
|
+
* segment that appended nothing but its settle reads 1.
|
|
12830
|
+
*/
|
|
12831
|
+
entriesPerSegment: number[];
|
|
12832
|
+
/**
|
|
12833
|
+
* Entries the run holds in total. Equal to the sum of
|
|
12834
|
+
* `entriesPerSegment` plus whatever follows the last settle: the
|
|
12835
|
+
* partition is exact BECAUSE it is a partition, which is what makes
|
|
12836
|
+
* this figure safe to read beside a cumulative one.
|
|
12837
|
+
*/
|
|
12838
|
+
entries: number;
|
|
12839
|
+
/**
|
|
12840
|
+
* Entries appended AFTER the last settle. Nonzero means the journal
|
|
12841
|
+
* continued past its terminal (RV1407: a detached resolution
|
|
12842
|
+
* awaiting its resume, or a successor segment over a stale settle),
|
|
12843
|
+
* so the last status is not the run's last word.
|
|
12844
|
+
*/
|
|
12845
|
+
entriesAfterLastSettle: number;
|
|
12846
|
+
}
|
|
12847
|
+
/**
|
|
12848
|
+
* Folds a run's journal into the logical run's telemetry (RV2510): how
|
|
12849
|
+
* many segments ran, how each settled, and how much durable work each
|
|
12850
|
+
* one did, from entries the journal already holds. No new field, so it
|
|
12851
|
+
* reads journals written by every prior version exactly as well as
|
|
12852
|
+
* today's.
|
|
12853
|
+
*
|
|
12854
|
+
* The replay dedup is the design. Cumulative figures are deliberately
|
|
12855
|
+
* NOT here: money and usage fold from the WHOLE journal through
|
|
12856
|
+
* `costReportFromJournal` and the usage ledger, and re-summing them per
|
|
12857
|
+
* segment would count every replayed operation once per segment that
|
|
12858
|
+
* replayed it, which is exactly the reconciliation this fold exists to
|
|
12859
|
+
* make unnecessary. What it reports instead is a PARTITION of the
|
|
12860
|
+
* journal by settle boundary, so no entry is counted twice by
|
|
12861
|
+
* construction, and the segment-scoped figures a terminal carries
|
|
12862
|
+
* ({@link TERMINAL_TELEMETRY_SCOPE} names them) can be read against the
|
|
12863
|
+
* segment that produced them.
|
|
12864
|
+
*/
|
|
12865
|
+
declare function logicalRunTelemetry(entries: readonly JournalEntry[]): LogicalRunTelemetry;
|
|
12391
12866
|
type RunAuditVerdict = "consistent" | "meta-behind" | "stranded" | "suspect";
|
|
12392
12867
|
interface RunStateAudit {
|
|
12393
12868
|
runId: string;
|
|
@@ -13277,7 +13752,11 @@ interface PreflightInput {
|
|
|
13277
13752
|
* Mirrors FinishValidationSpec.maxRepairs (default
|
|
13278
13753
|
* {@link DEFAULT_FINISH_MAX_REPAIRS}): with zero, the first
|
|
13279
13754
|
* rejection is final and there is no repair exchange to fund, so
|
|
13280
|
-
* the repair-reserve-unfunded warning stays silent.
|
|
13755
|
+
* the repair-reserve-unfunded warning stays silent. It also SIZES
|
|
13756
|
+
* the mandatory synthesis tail (RV2504): every granted repair can
|
|
13757
|
+
* write to the output allowance, so the tail
|
|
13758
|
+
* `synthesis-reserve-below-cap-composition` prices is one
|
|
13759
|
+
* composition plus this many turns, whatever the turn reserve says.
|
|
13281
13760
|
*/
|
|
13282
13761
|
maxRepairs?: number;
|
|
13283
13762
|
/**
|
|
@@ -14216,4 +14695,4 @@ interface SandboxBridge {
|
|
|
14216
14695
|
declare const SANDBOX_AGENT_OPT_KEYS: readonly string[];
|
|
14217
14696
|
declare function createSandboxBridge(ctx: Ctx<never>, options: SandboxBridgeOptions): SandboxBridge;
|
|
14218
14697
|
//#endregion
|
|
14219
|
-
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, 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, 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, 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, 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, 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_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, TOOL_NAME_PATTERN, type TaskClass, TaskDigest, TaskSpec, type TerminalEnvelope, TerminalOutcomeFacts, TerminalPatch, 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, 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, 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 };
|
|
14698
|
+
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, 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, 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_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, 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, 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 };
|