@rulvar/core 1.245.0 → 1.247.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 +1032 -36
- package/dist/index.js +1260 -125
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -922,6 +922,18 @@ interface CostAttributionFacts {
|
|
|
922
922
|
*/
|
|
923
923
|
label?: string;
|
|
924
924
|
finalizeReserve?: boolean;
|
|
925
|
+
/**
|
|
926
|
+
* What dispatched a semantic repair round (RV4105): 'claim' (the
|
|
927
|
+
* RV3307 contradiction round), 'citation' (the RV4004 entailment
|
|
928
|
+
* round), 'coverage' (the RV4202 round armed by a non-'full' final
|
|
929
|
+
* grade alone), or 'combined' (one bounded round carrying more than
|
|
930
|
+
* one defect class, RV4202), stamped at dispatch beside
|
|
931
|
+
* `phase: 'repair'`, so the repair ledger attributes the round
|
|
932
|
+
* without cross-reading metas. Absent on every other dispatch and
|
|
933
|
+
* on journals written before it shipped (absence means NOT
|
|
934
|
+
* RECORDED, RV1209). Policy, never identity.
|
|
935
|
+
*/
|
|
936
|
+
repairTrigger?: "claim" | "citation" | "coverage" | "combined";
|
|
925
937
|
}
|
|
926
938
|
/**
|
|
927
939
|
* The per-model slices of a terminal entry: the recorded split when the
|
|
@@ -1761,6 +1773,15 @@ interface TerminalEnvelope {
|
|
|
1761
1773
|
*/
|
|
1762
1774
|
claimConsistencyMeta?: Record<string, unknown>;
|
|
1763
1775
|
/**
|
|
1776
|
+
* The one-word semantic verdict (RV4209), mirrored beside the meta
|
|
1777
|
+
* it was folded from: 'clean' | 'findings' | 'partial' | 'vacuous'
|
|
1778
|
+
* | 'waived' | 'not-judged' plus the counts and the waiver
|
|
1779
|
+
* (SemanticTerminalVerdict), so an event-only or HTTP consumer
|
|
1780
|
+
* gates on the same one derivation the CLI reads. Absent when no
|
|
1781
|
+
* semantic machinery was configured; absence means NOT RECORDED.
|
|
1782
|
+
*/
|
|
1783
|
+
semanticTerminalVerdict?: Record<string, unknown>;
|
|
1784
|
+
/**
|
|
1764
1785
|
* The host declared config identity the run was started under
|
|
1765
1786
|
* (RV3210), echoed here since RV3304 so a decision consumer binds
|
|
1766
1787
|
* the verdict above to the configuration that produced it without a
|
|
@@ -3712,6 +3733,147 @@ declare class ExternalRegistry {
|
|
|
3712
3733
|
private resolveDetached;
|
|
3713
3734
|
}
|
|
3714
3735
|
//#endregion
|
|
3736
|
+
//#region src/l0/spi/regulated-posture.d.ts
|
|
3737
|
+
/**
|
|
3738
|
+
* The construction-side posture attestation (RV4101; the debt RV4009
|
|
3739
|
+
* named). The regulated floor binds what flows through
|
|
3740
|
+
* CreateEngineOptions / RunOptions / OrchestrateOptions, but the
|
|
3741
|
+
* postures that decide whether a tool list can drift under a run or
|
|
3742
|
+
* whether a provider executes tools outside the permission chain live
|
|
3743
|
+
* on CONSTRUCTIONS: the mcp() source and the AI SDK bridge adapter.
|
|
3744
|
+
* RV4009 deliberately excluded them from the profile hash ("a hash
|
|
3745
|
+
* must not imply what it cannot verify") and named them in prose
|
|
3746
|
+
* beside the call. This descriptor makes them verifiable: a
|
|
3747
|
+
* risk-bearing construction exposes `describeRegulatedPosture()`, a
|
|
3748
|
+
* PURE snapshot of what was chosen at construction time (no wire, no
|
|
3749
|
+
* connect, no side effects), and `compileRegulatedProfile` walks the
|
|
3750
|
+
* constructions reachable from its options, refuses a loosened
|
|
3751
|
+
* posture naming the field, and folds the sorted descriptors into the
|
|
3752
|
+
* hashed posture map beside an `unrecognized` count of the
|
|
3753
|
+
* constructions that exposed nothing, so the hash names its own blind
|
|
3754
|
+
* spot instead of implying totality.
|
|
3755
|
+
*
|
|
3756
|
+
* The descriptor is a snapshot, not a lease, and the window between
|
|
3757
|
+
* compile time and use is held by re-assertion (RV4102, the RV1608
|
|
3758
|
+
* template): the compiled options wrap each attested construction so
|
|
3759
|
+
* every use of its risk seam (`tools()` on a source, `stream()` on an
|
|
3760
|
+
* adapter) re-reads and re-judges the descriptor, refusing a posture
|
|
3761
|
+
* that moved since compile. The cross-process half of the window
|
|
3762
|
+
* needs no wrapper: a mutated construction compiles to a different
|
|
3763
|
+
* profile hash, and the RV3210 resume assertion refuses it.
|
|
3764
|
+
*/
|
|
3765
|
+
/** The posture an mcp() tool source chose at construction (RV1516/RV1808). */
|
|
3766
|
+
interface McpSourceRegulatedPosture {
|
|
3767
|
+
/** Descriptor shape version; bumps when the meaning changes. */
|
|
3768
|
+
regulatedPosture: 1;
|
|
3769
|
+
kind: "mcp-source";
|
|
3770
|
+
/** The source id (`mcp:stdio:<command>`, `mcp:http:<url>`, `mcp:inprocess`). */
|
|
3771
|
+
name: string;
|
|
3772
|
+
/** What a listChanged notification means for this source (RV1516). */
|
|
3773
|
+
drift: "rekey" | "refuse";
|
|
3774
|
+
/**
|
|
3775
|
+
* The discovery bounds (RV1808); `declared` is the all-four
|
|
3776
|
+
* predicate `requireBounds` enforces (maxTools, maxPages,
|
|
3777
|
+
* maxSchemaBytes, timeouts.discoveryMs), and the declared values
|
|
3778
|
+
* ride beside it so the profile hash moves when a bound moves.
|
|
3779
|
+
*/
|
|
3780
|
+
bounds: {
|
|
3781
|
+
declared: boolean;
|
|
3782
|
+
maxTools?: number;
|
|
3783
|
+
maxPages?: number;
|
|
3784
|
+
maxSchemaBytes?: number;
|
|
3785
|
+
discoveryMs?: number;
|
|
3786
|
+
};
|
|
3787
|
+
}
|
|
3788
|
+
/** The posture a bridgeAiSdk() adapter chose at construction. */
|
|
3789
|
+
interface AiSdkBridgeRegulatedPosture {
|
|
3790
|
+
/** Descriptor shape version; bumps when the meaning changes. */
|
|
3791
|
+
regulatedPosture: 1;
|
|
3792
|
+
kind: "ai-sdk-bridge";
|
|
3793
|
+
/** The adapter id. */
|
|
3794
|
+
name: string;
|
|
3795
|
+
/**
|
|
3796
|
+
* Whether provider-executed tool results are admitted past the
|
|
3797
|
+
* seam; 'allow' runs tools outside the permission chain and the
|
|
3798
|
+
* journal, which the regulated floor refuses.
|
|
3799
|
+
*/
|
|
3800
|
+
providerExecutedTools: "allow" | "deny";
|
|
3801
|
+
}
|
|
3802
|
+
/**
|
|
3803
|
+
* The posture a first-party model adapter chose at construction
|
|
3804
|
+
* (RV4204, the sixth comparison experiment): before it, only mcp()
|
|
3805
|
+
* and the AI SDK bridge attested, so `unrecognized >= 1` on nearly
|
|
3806
|
+
* every real compile and a `require-recognized` floor was
|
|
3807
|
+
* unsatisfiable by construction. The risk seams a model adapter
|
|
3808
|
+
* actually owns are its egress (where the wire bytes go) and its
|
|
3809
|
+
* caps-refresh pagination bound; both enter the hashed posture map,
|
|
3810
|
+
* so a moved base URL or a dropped bound moves the fingerprint.
|
|
3811
|
+
*/
|
|
3812
|
+
interface ModelAdapterRegulatedPosture {
|
|
3813
|
+
/** Descriptor shape version; bumps when the meaning changes. */
|
|
3814
|
+
regulatedPosture: 1;
|
|
3815
|
+
kind: "model-adapter";
|
|
3816
|
+
/** The adapter id ('anthropic', 'openai'). */
|
|
3817
|
+
name: string;
|
|
3818
|
+
/**
|
|
3819
|
+
* Where the adapter's wire bytes go: the provider's official
|
|
3820
|
+
* endpoint, a declared base-URL override (its origin rides beside
|
|
3821
|
+
* this value so the hash pins the egress), or a preconstructed
|
|
3822
|
+
* client the adapter cannot see through, named honestly.
|
|
3823
|
+
*/
|
|
3824
|
+
transport: "official" | "custom-base-url" | "preconstructed-client";
|
|
3825
|
+
/** Present exactly under 'custom-base-url': the override's origin. */
|
|
3826
|
+
baseUrlOrigin?: string;
|
|
3827
|
+
/**
|
|
3828
|
+
* The caps-refresh pagination bound (RV2904), for adapters that
|
|
3829
|
+
* expose one: `declared` mirrors whether the host capped the sweep,
|
|
3830
|
+
* and the value rides beside it. Absent on adapters with no
|
|
3831
|
+
* declarable bound.
|
|
3832
|
+
*/
|
|
3833
|
+
capsBound?: {
|
|
3834
|
+
declared: boolean;
|
|
3835
|
+
maxPages?: number;
|
|
3836
|
+
};
|
|
3837
|
+
}
|
|
3838
|
+
/**
|
|
3839
|
+
* The posture an isolated tool executor chose at construction
|
|
3840
|
+
* (RV4204). The executor is the one construction that dispatches
|
|
3841
|
+
* HOST-SIDE effects, and the regulated floor requires its ledger: an
|
|
3842
|
+
* effect no ledger records is an effect nobody can reconcile, the
|
|
3843
|
+
* billingReceipts doctrine applied to tools.
|
|
3844
|
+
*/
|
|
3845
|
+
interface ToolExecutorRegulatedPosture {
|
|
3846
|
+
/** Descriptor shape version; bumps when the meaning changes. */
|
|
3847
|
+
regulatedPosture: 1;
|
|
3848
|
+
kind: "tool-executor";
|
|
3849
|
+
/** The reference flavor ('subprocess', 'container') or a host name. */
|
|
3850
|
+
name: string;
|
|
3851
|
+
/** Whether a ToolEffectLedger records every dispatch (intent first). */
|
|
3852
|
+
ledger: boolean;
|
|
3853
|
+
/** Host env names reaching the child, the exact allowlist. */
|
|
3854
|
+
allowEnv: readonly string[];
|
|
3855
|
+
/** The resolved per-call ceilings (defaults resolve at construction). */
|
|
3856
|
+
bounds: {
|
|
3857
|
+
timeoutMs: number;
|
|
3858
|
+
maxOutputBytes: number;
|
|
3859
|
+
};
|
|
3860
|
+
/**
|
|
3861
|
+
* The isolation seam, per flavor: a subprocess names whether a
|
|
3862
|
+
* sandbox launcher wraps the command; a container names its network
|
|
3863
|
+
* mode and root-filesystem posture.
|
|
3864
|
+
*/
|
|
3865
|
+
isolation: {
|
|
3866
|
+
flavor: "subprocess";
|
|
3867
|
+
sandboxed: boolean;
|
|
3868
|
+
} | {
|
|
3869
|
+
flavor: "container";
|
|
3870
|
+
network: string;
|
|
3871
|
+
readOnlyRoot: boolean;
|
|
3872
|
+
};
|
|
3873
|
+
}
|
|
3874
|
+
/** What `describeRegulatedPosture()` returns: one of the known shapes. */
|
|
3875
|
+
type RegulatedPostureDescriptor = McpSourceRegulatedPosture | AiSdkBridgeRegulatedPosture | ModelAdapterRegulatedPosture | ToolExecutorRegulatedPosture;
|
|
3876
|
+
//#endregion
|
|
3715
3877
|
//#region src/l0/spi/toolsource.d.ts
|
|
3716
3878
|
/**
|
|
3717
3879
|
* Declarative risk metadata on the tool contract. Policy input, not
|
|
@@ -3794,6 +3956,15 @@ interface ToolSourceSession {
|
|
|
3794
3956
|
interface ToolSource {
|
|
3795
3957
|
id: string;
|
|
3796
3958
|
tools(session: ToolSourceSession): Promise<ToolDef[]>;
|
|
3959
|
+
/**
|
|
3960
|
+
* The construction-side posture attestation (RV4101): a PURE
|
|
3961
|
+
* snapshot of the risk postures this source chose at construction
|
|
3962
|
+
* (no wire, no connect, no side effects), read by
|
|
3963
|
+
* `compileRegulatedProfile` to refuse a loosened posture and hash a
|
|
3964
|
+
* tightened one. Optional: a source without it counts into the
|
|
3965
|
+
* profile's `unrecognized` tally instead of being implied verified.
|
|
3966
|
+
*/
|
|
3967
|
+
describeRegulatedPosture?(): RegulatedPostureDescriptor;
|
|
3797
3968
|
}
|
|
3798
3969
|
//#endregion
|
|
3799
3970
|
//#region src/l0/spi/executor.d.ts
|
|
@@ -3856,6 +4027,14 @@ interface IsolatedExecRequest {
|
|
|
3856
4027
|
interface ToolExecutorProvider {
|
|
3857
4028
|
/** Runs one dispatch to its JSON result; throws to signal tool failure. */
|
|
3858
4029
|
run(request: IsolatedExecRequest): Promise<Json>;
|
|
4030
|
+
/**
|
|
4031
|
+
* The construction-side posture attestation (RV4204): a PURE
|
|
4032
|
+
* snapshot of what the executor chose at construction (ledger,
|
|
4033
|
+
* env allowlist, ceilings, isolation seam), read by
|
|
4034
|
+
* `compileRegulatedProfile` and folded into the hashed posture map;
|
|
4035
|
+
* see the `regulated-posture` module.
|
|
4036
|
+
*/
|
|
4037
|
+
describeRegulatedPosture?(): RegulatedPostureDescriptor;
|
|
3859
4038
|
}
|
|
3860
4039
|
/**
|
|
3861
4040
|
* The engine's executor registry: at most one provider per non-inprocess
|
|
@@ -4020,6 +4199,15 @@ interface ProviderAdapter {
|
|
|
4020
4199
|
countTokens?(req: ChatRequest, opts?: {
|
|
4021
4200
|
signal?: AbortSignal;
|
|
4022
4201
|
}): Promise<number>;
|
|
4202
|
+
/**
|
|
4203
|
+
* The construction-side posture attestation (RV4101): a PURE
|
|
4204
|
+
* snapshot of the risk postures this adapter chose at construction
|
|
4205
|
+
* (no wire, no side effects), read by `compileRegulatedProfile` to
|
|
4206
|
+
* refuse a loosened posture and hash a tightened one. Optional: an
|
|
4207
|
+
* adapter without it counts into the profile's `unrecognized` tally
|
|
4208
|
+
* instead of being implied verified.
|
|
4209
|
+
*/
|
|
4210
|
+
describeRegulatedPosture?(): RegulatedPostureDescriptor;
|
|
4023
4211
|
}
|
|
4024
4212
|
//#endregion
|
|
4025
4213
|
//#region src/l0/spi/knowledge.d.ts
|
|
@@ -4501,8 +4689,25 @@ interface QuotaReservationRequest {
|
|
|
4501
4689
|
provider: string;
|
|
4502
4690
|
/** The serving model, re-reserved per failover target. */
|
|
4503
4691
|
model: string;
|
|
4504
|
-
/**
|
|
4692
|
+
/**
|
|
4693
|
+
* The tenant of the reservation: the engine's configured tenant, or
|
|
4694
|
+
* the run scope's under `quota.tenantFrom: 'scope'` (RV4205);
|
|
4695
|
+
* absent when neither names one.
|
|
4696
|
+
*/
|
|
4505
4697
|
tenant?: string;
|
|
4698
|
+
/**
|
|
4699
|
+
* The run's execution scope dimensions (RV4205), stamped by the ctx
|
|
4700
|
+
* completion so dimension-pinned QuotaRules can match them; absent
|
|
4701
|
+
* on unscoped runs, byte identical to before the field.
|
|
4702
|
+
*/
|
|
4703
|
+
scope?: {
|
|
4704
|
+
tenant?: string;
|
|
4705
|
+
account?: string;
|
|
4706
|
+
project?: string;
|
|
4707
|
+
legalDomain?: string;
|
|
4708
|
+
region?: string;
|
|
4709
|
+
providerAccount?: string;
|
|
4710
|
+
};
|
|
4506
4711
|
/** The run paying for the attempt; observability only. */
|
|
4507
4712
|
runId?: string;
|
|
4508
4713
|
estimate: QuotaEstimate;
|
|
@@ -4592,6 +4797,19 @@ interface QuotaRule {
|
|
|
4592
4797
|
provider?: string;
|
|
4593
4798
|
model?: string;
|
|
4594
4799
|
tenant?: string;
|
|
4800
|
+
/**
|
|
4801
|
+
* Scope-dimension pins (RV4205): a rule naming any of these matches
|
|
4802
|
+
* only reservations whose run scope carries the same value, so a
|
|
4803
|
+
* host caps by billing account, project, legal domain, region, or
|
|
4804
|
+
* provider account without a limiter fork. A reservation with no
|
|
4805
|
+
* scope (an unscoped run) matches none of them, exactly the tenant
|
|
4806
|
+
* rule's semantics.
|
|
4807
|
+
*/
|
|
4808
|
+
account?: string;
|
|
4809
|
+
project?: string;
|
|
4810
|
+
legalDomain?: string;
|
|
4811
|
+
region?: string;
|
|
4812
|
+
providerAccount?: string;
|
|
4595
4813
|
/** Wire attempts admitted per window; the exact, hard cap. */
|
|
4596
4814
|
requestsPerMinute?: number;
|
|
4597
4815
|
/**
|
|
@@ -4720,6 +4938,15 @@ interface EngineQuotaConfig {
|
|
|
4720
4938
|
/** Stamped on every reservation of this engine's runs. */
|
|
4721
4939
|
tenant?: string;
|
|
4722
4940
|
/**
|
|
4941
|
+
* Where the reservation tenant comes from (RV4205). 'engine' (the
|
|
4942
|
+
* default, historical bytes): the `tenant` above. 'scope': the
|
|
4943
|
+
* RUN's recorded ExecutionScope.tenant, so one engine serving many
|
|
4944
|
+
* tenants debits each run's reservations to the tenant the run
|
|
4945
|
+
* declared; a run whose scope names no tenant reserves tenant-less,
|
|
4946
|
+
* exactly like an engine that set none.
|
|
4947
|
+
*/
|
|
4948
|
+
tenantFrom?: "engine" | "scope";
|
|
4949
|
+
/**
|
|
4723
4950
|
* What a limiter infrastructure FAILURE (reserve throwing) means:
|
|
4724
4951
|
* 'deny' (default, fail closed) converts it into a retryable
|
|
4725
4952
|
* transport-class denial; 'allow' logs a warning and dispatches
|
|
@@ -4788,6 +5015,8 @@ declare const DEFAULT_MAX_QUOTA_DENIALS = 8;
|
|
|
4788
5015
|
interface EngineQuotaRuntime {
|
|
4789
5016
|
limiter: QuotaLimiter;
|
|
4790
5017
|
tenant?: string;
|
|
5018
|
+
/** Where the reservation tenant comes from (RV4205); absent reads 'engine'. */
|
|
5019
|
+
tenantFrom?: "engine" | "scope";
|
|
4791
5020
|
onLimiterError: "deny" | "allow";
|
|
4792
5021
|
/** Pre-wire continuation admission (RV1013); see {@link EngineQuotaConfig}. */
|
|
4793
5022
|
reserveContinuations: boolean;
|
|
@@ -7799,10 +8028,34 @@ declare function acceptanceTailRequiredUsd(spec: AcceptanceTailSpec): {
|
|
|
7799
8028
|
* an operator can diff them by eye and a test can assert them equal.
|
|
7800
8029
|
*/
|
|
7801
8030
|
declare function formatAcceptanceTailTerms(terms: AcceptanceTailTerms): string;
|
|
7802
|
-
/**
|
|
8031
|
+
/**
|
|
8032
|
+
* The declared wire counts of one orchestration plan (RV4005). Since
|
|
8033
|
+
* RV4206 the intake is CLOSED: an unknown key is a typed ConfigError
|
|
8034
|
+
* instead of a silent zero. The sixth comparison experiment's harness
|
|
8035
|
+
* passed `repairRound` and `transportRetries` (plausible names this
|
|
8036
|
+
* spec never had) and `childWires: 4` for four children of ten turns
|
|
8037
|
+
* each; every unknown key was ignored and the estimate answered
|
|
8038
|
+
* confidently for a plan nobody had declared.
|
|
8039
|
+
*/
|
|
7803
8040
|
interface WireCapacitySpec {
|
|
7804
|
-
/**
|
|
7805
|
-
|
|
8041
|
+
/**
|
|
8042
|
+
* Fan-out provider dispatches: children TIMES their turns, the
|
|
8043
|
+
* total, not the child count. Optional since RV4206 when the
|
|
8044
|
+
* structural pair below is given; declaring both is legal only when
|
|
8045
|
+
* they agree (`childWires === children * turnsPerChild`), refused
|
|
8046
|
+
* typed otherwise.
|
|
8047
|
+
*/
|
|
8048
|
+
childWires?: number;
|
|
8049
|
+
/**
|
|
8050
|
+
* The structural fan-out declaration (RV4206): `children` workers of
|
|
8051
|
+
* `turnsPerChild` provider dispatches each. Declare BOTH or neither;
|
|
8052
|
+
* the pair exists because `childWires` invites passing the child
|
|
8053
|
+
* count where the wire total belongs, the exact call the sixth
|
|
8054
|
+
* comparison harness made.
|
|
8055
|
+
*/
|
|
8056
|
+
children?: number;
|
|
8057
|
+
/** See `children`; the two resolve to `children * turnsPerChild` fan-out wires. */
|
|
8058
|
+
turnsPerChild?: number;
|
|
7806
8059
|
/** Coordination loop dispatches, the finish exchanges included. */
|
|
7807
8060
|
coordinationWires?: number;
|
|
7808
8061
|
/** Composition invocations of the base plan (the initial synthesis). */
|
|
@@ -7816,11 +8069,29 @@ interface WireCapacitySpec {
|
|
|
7816
8069
|
* to read `repairRoundDeltaWires` as the whole round.
|
|
7817
8070
|
*/
|
|
7818
8071
|
judgeWires?: number;
|
|
8072
|
+
/**
|
|
8073
|
+
* Citation entailment audit judge dispatches (RV4206): one per pass,
|
|
8074
|
+
* so 1 unarmed and the UNARMED reading here too when you read
|
|
8075
|
+
* `repairRoundDeltaWires` as the whole round. The audit's wires were
|
|
8076
|
+
* previously unnameable in this spec while the acceptance tail
|
|
8077
|
+
* priced their money: the sixth comparison run's capacity model
|
|
8078
|
+
* simply lost them.
|
|
8079
|
+
*/
|
|
8080
|
+
citationJudgeWires?: number;
|
|
7819
8081
|
/** Separate extract dispatches, when the finish rides one (RV3908 spares the schema'd final). */
|
|
7820
8082
|
extractWires?: number;
|
|
7821
8083
|
}
|
|
7822
8084
|
/** What one orchestration plan costs in wires, base and worst case (RV4005). */
|
|
7823
8085
|
interface WireCapacityEstimate {
|
|
8086
|
+
/**
|
|
8087
|
+
* What these numbers ARE (RV4206): a fold over the counts the
|
|
8088
|
+
* caller DECLARED, never a measurement of a run. The literal exists
|
|
8089
|
+
* so a capacity report that embeds the estimate carries its
|
|
8090
|
+
* provenance on its face, the `CostReport.basis` precedent: the
|
|
8091
|
+
* sixth comparison run's answer presented a declared estimate over
|
|
8092
|
+
* a misdeclared plan as the runtime's own economics.
|
|
8093
|
+
*/
|
|
8094
|
+
basis: "declared-estimate";
|
|
7824
8095
|
/** The plan's wire total with no repair of any kind. */
|
|
7825
8096
|
baseWires: number;
|
|
7826
8097
|
/**
|
|
@@ -8214,6 +8485,18 @@ interface EngineDefaults {
|
|
|
8214
8485
|
*/
|
|
8215
8486
|
countTokens?: "allow" | "deny";
|
|
8216
8487
|
/**
|
|
8488
|
+
* The toolset attestation floor (RV4204, the sixth comparison
|
|
8489
|
+
* experiment): with this set, a spawn that resolves a NON-EMPTY
|
|
8490
|
+
* toolset must run under a profile whose `toolsetAttestation` pins
|
|
8491
|
+
* it, or it refuses typed at spawn time, before any provider call.
|
|
8492
|
+
* The pin already binds call-level tool overrides and registered
|
|
8493
|
+
* names for attested profiles (RV1514); what it could not bind was
|
|
8494
|
+
* a spawn riding a profile that declared no tools and no pin, with
|
|
8495
|
+
* the tools arriving per call. Off by default: every existing
|
|
8496
|
+
* config keeps its bytes. `compileRegulatedProfile` arms it.
|
|
8497
|
+
*/
|
|
8498
|
+
requireToolsetAttestation?: boolean;
|
|
8499
|
+
/**
|
|
8217
8500
|
* The engine-wide prompt-cache policy (RV2006). Absent means 'auto':
|
|
8218
8501
|
* the agent loop attaches CacheHint breakpoints (after tools, after
|
|
8219
8502
|
* system, and the sliding deepest message, TTL '5m') on every turn
|
|
@@ -8474,10 +8757,19 @@ interface RunOptions {
|
|
|
8474
8757
|
* The bounded execution scope (RV4007): recorded at genesis into
|
|
8475
8758
|
* RunMeta and a journal decision, immutable for the run's life (no
|
|
8476
8759
|
* resume door), lifted onto the invoice header and carried by the
|
|
8477
|
-
* export bundle. Attribution only: the library never interprets it
|
|
8760
|
+
* export bundle. Attribution only: the library never interprets it,
|
|
8761
|
+
* with one declared exception since RV4205: a quota config with
|
|
8762
|
+
* `tenantFrom: 'scope'` reads the scope's tenant into its
|
|
8763
|
+
* reservations.
|
|
8478
8764
|
*/
|
|
8479
8765
|
scope?: ExecutionScope;
|
|
8480
8766
|
/**
|
|
8767
|
+
* What an unknown scope field does (RV4205): 'drop' (the default,
|
|
8768
|
+
* the historical bytes, pinned) or 'reject' (typed refusal by
|
|
8769
|
+
* name). `compileRegulatedProfile` enforces 'reject'.
|
|
8770
|
+
*/
|
|
8771
|
+
scopePolicy?: ScopePolicy;
|
|
8772
|
+
/**
|
|
8481
8773
|
* The opt-in in-flight exposure cap (RV711): bounds spent money plus
|
|
8482
8774
|
* the summed worst-case estimates of live dispatches. The per-turn
|
|
8483
8775
|
* guard checks money already SPENT, so under `budgetUsd` alone N
|
|
@@ -8819,17 +9111,50 @@ interface ExecutionScope {
|
|
|
8819
9111
|
account?: string;
|
|
8820
9112
|
/** The project or workload name. */
|
|
8821
9113
|
project?: string;
|
|
9114
|
+
/**
|
|
9115
|
+
* The governing legal domain (RV4205, the sixth comparison
|
|
9116
|
+
* experiment's P0.2): host-defined vocabulary (a jurisdiction, a
|
|
9117
|
+
* regulatory regime), the first of the three named dimensions the
|
|
9118
|
+
* experiment's question bound to routing and audit.
|
|
9119
|
+
*/
|
|
9120
|
+
legalDomain?: string;
|
|
9121
|
+
/** The deployment or data-residency region, host-defined (RV4205). */
|
|
9122
|
+
region?: string;
|
|
9123
|
+
/** The provider-side billing account identity, host-defined (RV4205). */
|
|
9124
|
+
providerAccount?: string;
|
|
9125
|
+
}
|
|
9126
|
+
/**
|
|
9127
|
+
* What an UNKNOWN scope field does (RV4205). 'drop' (the default, the
|
|
9128
|
+
* RV4007/RV4107 posture byte for byte) silently discards it from the
|
|
9129
|
+
* normalized copy, which keeps junk fields from moving the recorded
|
|
9130
|
+
* identity; 'reject' refuses it typed by name, because a dimension
|
|
9131
|
+
* the engine cannot record is a dimension nothing downstream can bind
|
|
9132
|
+
* to routing, quota, or audit, and a host that declared it meant it.
|
|
9133
|
+
* `compileRegulatedProfile` enforces 'reject'.
|
|
9134
|
+
*/
|
|
9135
|
+
interface ScopePolicy {
|
|
9136
|
+
unknown?: "drop" | "reject";
|
|
8822
9137
|
}
|
|
8823
9138
|
/**
|
|
8824
9139
|
* Validates and copies a declared scope (RV4007): own properties only
|
|
8825
9140
|
* (the RV1205 doctrine: a prototype member must never resolve),
|
|
8826
9141
|
* non-empty strings of at most 256 chars, at least one field, and the
|
|
8827
9142
|
* copy is what gets recorded, so later host mutation of the passed
|
|
8828
|
-
* object cannot move the recorded identity.
|
|
9143
|
+
* object cannot move the recorded identity. Under
|
|
9144
|
+
* `policy.unknown: 'reject'` (RV4205) an own enumerable field outside
|
|
9145
|
+
* the named dimensions refuses typed by name instead of dropping.
|
|
8829
9146
|
*/
|
|
8830
|
-
declare function normalizeExecutionScope(value: unknown, site: string): ExecutionScope;
|
|
9147
|
+
declare function normalizeExecutionScope(value: unknown, site: string, policy?: ScopePolicy): ExecutionScope;
|
|
8831
9148
|
/** The canonical identity string of a scope (RV4007): JCS bytes, total and deterministic. */
|
|
8832
9149
|
declare function executionScopeKey(scope: ExecutionScope): string;
|
|
9150
|
+
/**
|
|
9151
|
+
* The canonical digest of a scope (RV4205): sha256 over the JCS bytes
|
|
9152
|
+
* of the NORMALIZED scope, a fixed-length identity for causal records
|
|
9153
|
+
* (the genesis decision, the invoice header) and external joins, so a
|
|
9154
|
+
* FinOps pipeline correlates runs by one column instead of comparing
|
|
9155
|
+
* structured objects field by field.
|
|
9156
|
+
*/
|
|
9157
|
+
declare function executionScopeDigest(scope: ExecutionScope): string;
|
|
8833
9158
|
/** Content hash of an in-process workflow body (run-to-definition binding). */
|
|
8834
9159
|
declare function hashWorkflowBody(wf: Workflow<never, never> | Workflow<unknown, unknown>): string;
|
|
8835
9160
|
/** Content hash of a compiled workflow source (run-to-definition binding). */
|
|
@@ -9674,6 +9999,18 @@ interface ClaimPairOptions {
|
|
|
9674
9999
|
* historical first-`max` selection, byte for byte.
|
|
9675
10000
|
*/
|
|
9676
10001
|
targetCoverageShare?: number;
|
|
10002
|
+
/**
|
|
10003
|
+
* Collect the citing sentences the reported pairs left UNCOVERED
|
|
10004
|
+
* (RV4202, the sixth comparison experiment): the coverage-armed
|
|
10005
|
+
* repair round needs the sentences themselves for its prompt, not
|
|
10006
|
+
* only their count, because "raise the coverage" is actionable to a
|
|
10007
|
+
* composing model exactly when it can see which claims the pool
|
|
10008
|
+
* never grounded. Distinct collapsed sentences, draft order, each
|
|
10009
|
+
* cut to `maxExcerptChars`, capped at
|
|
10010
|
+
* {@link MAX_UNCOVERED_SENTENCES}; the uncapped count rides beside
|
|
10011
|
+
* the list. Unset = byte-identical fold output.
|
|
10012
|
+
*/
|
|
10013
|
+
reportUncovered?: boolean;
|
|
9677
10014
|
}
|
|
9678
10015
|
/** What the fold produced, beside the pairs themselves. */
|
|
9679
10016
|
interface ClaimPairsFold {
|
|
@@ -9706,12 +10043,27 @@ interface ClaimPairsFold {
|
|
|
9706
10043
|
criticalUncovered?: string[];
|
|
9707
10044
|
/** The uncapped count behind `criticalUncovered`; present with it. */
|
|
9708
10045
|
criticalUncoveredTotal?: number;
|
|
10046
|
+
/**
|
|
10047
|
+
* Present only when `reportUncovered` was set (RV4202): the distinct
|
|
10048
|
+
* citing sentences with no reported pair, draft order, each cut to
|
|
10049
|
+
* `maxExcerptChars`, capped at {@link MAX_UNCOVERED_SENTENCES}. A
|
|
10050
|
+
* sentence lands here for any of the three uncovered causes (no
|
|
10051
|
+
* intersecting pool reading, verbatim agreement dropped every
|
|
10052
|
+
* reading, or a bound cut its candidates); telling them apart is the
|
|
10053
|
+
* repair round's job, which is exactly why the sentences ride the
|
|
10054
|
+
* prompt instead of a cause taxonomy riding the meta.
|
|
10055
|
+
*/
|
|
10056
|
+
uncoveredSentences?: string[];
|
|
10057
|
+
/** The uncapped count behind `uncoveredSentences`; present with it. */
|
|
10058
|
+
uncoveredSentencesTotal?: number;
|
|
9709
10059
|
}
|
|
9710
10060
|
declare const DEFAULT_MAX_CLAIM_PAIRS = 40;
|
|
9711
10061
|
declare const DEFAULT_MAX_POOL_PER_PAIR = 3;
|
|
9712
10062
|
declare const DEFAULT_MAX_PAIR_EXCERPT_CHARS = 400;
|
|
9713
10063
|
/** Bound on the reported uncovered-critical anchor list (RV1603). */
|
|
9714
10064
|
declare const MAX_CRITICAL_UNCOVERED = 32;
|
|
10065
|
+
/** Bound on the reported uncovered citing-sentence list (RV4202). */
|
|
10066
|
+
declare const MAX_UNCOVERED_SENTENCES = 24;
|
|
9715
10067
|
/**
|
|
9716
10068
|
* Folds the composed draft against the settled pool it composed from:
|
|
9717
10069
|
* every draft sentence citing an anchor is paired with the pool
|
|
@@ -10754,6 +11106,15 @@ interface OrchestrateAcceptance {
|
|
|
10754
11106
|
}
|
|
10755
11107
|
/** How many rejected finishes are repaired by default: the plan's repair once. */
|
|
10756
11108
|
declare const DEFAULT_FINISH_MAX_REPAIRS = 1;
|
|
11109
|
+
/**
|
|
11110
|
+
* The word ceiling of a 'digest' coordination draft (RV4210): the
|
|
11111
|
+
* digest is a structural evidence map the composing invocation writes
|
|
11112
|
+
* prose FROM, and the ceiling is the teeth that keep it from decaying
|
|
11113
|
+
* back into the full prose draft it exists to replace. The sixth
|
|
11114
|
+
* comparison run's contract-policy draft cost 344.8 seconds of model
|
|
11115
|
+
* output and was then rewritten whole by the composition.
|
|
11116
|
+
*/
|
|
11117
|
+
declare const DIGEST_DRAFT_MAX_WORDS = 400;
|
|
10757
11118
|
/** The sectional round's owning sections and marker roster (RV3803). */
|
|
10758
11119
|
interface SectionalRoundPlan {
|
|
10759
11120
|
/** Every H2 marker of the retained document, in document order. */
|
|
@@ -10873,6 +11234,38 @@ interface FinishValidationSpec {
|
|
|
10873
11234
|
*/
|
|
10874
11235
|
retainRejectedCandidates?: boolean;
|
|
10875
11236
|
/**
|
|
11237
|
+
* The candidate persistence policy (RV4207, the sixth comparison
|
|
11238
|
+
* experiment): ONE declaration that closes the candidate lineage
|
|
11239
|
+
* surface, superseding the boolean above (declaring both is a
|
|
11240
|
+
* ConfigError; the boolean stays for existing configs).
|
|
11241
|
+
*
|
|
11242
|
+
* Declared (either mode), EVERY finish-validation decision carries
|
|
11243
|
+
* the candidate identity, the ACCEPTED verdict included: the sha256
|
|
11244
|
+
* over the canonical resolved document (the deterministic patch or
|
|
11245
|
+
* the sectional splice applied first) and its char count, so the
|
|
11246
|
+
* whole chain proposed/repaired/rejected/accepted reads off
|
|
11247
|
+
* `synthesisCandidatesFromJournal` (and `rulvar inspect
|
|
11248
|
+
* --candidates`) by hash, and the accepted hash is the same recipe
|
|
11249
|
+
* the claim judge's `judgedHash` and the audit's `auditedHash` bind
|
|
11250
|
+
* (`candidateHashOf`: sha256 over the JCS serialization; see
|
|
11251
|
+
* `verifyCandidateBytes` for the audit recipe). Undeclared, the
|
|
11252
|
+
* decisions keep their historical bytes exactly (identity on
|
|
11253
|
+
* non-accepted verdicts only).
|
|
11254
|
+
*
|
|
11255
|
+
* `'transcript'` additionally retains each REJECTED candidate's
|
|
11256
|
+
* bytes as its own addressable blob, byte for byte the
|
|
11257
|
+
* `retainRejectedCandidates: true` behavior. `'hash-only'` retains
|
|
11258
|
+
* no bytes ON PURPOSE and says so: every non-accepted decision
|
|
11259
|
+
* carries `bytesUnavailableReason: 'hash-only-persistence'`, so an
|
|
11260
|
+
* auditor finding no blob reads a policy, not an accident; a
|
|
11261
|
+
* declared 'transcript' whose store write failed stamps
|
|
11262
|
+
* `'store-write-failed'` the same way. The experiment's auditor
|
|
11263
|
+
* recovered the rejected composition only by digging a binary
|
|
11264
|
+
* transcript with no documented recipe; the reason field is the
|
|
11265
|
+
* difference between "not retained by declared policy" and "lost".
|
|
11266
|
+
*/
|
|
11267
|
+
candidatePersistence?: "transcript" | "hash-only";
|
|
11268
|
+
/**
|
|
10876
11269
|
* The repair turn reserve (the v1.71 experiment review, P0.4; the
|
|
10877
11270
|
* reserve RV-204 deliberately deferred). A nonnegative integer,
|
|
10878
11271
|
* default 0: max EXTRA turns the invocation the validators bind (the
|
|
@@ -10940,11 +11333,29 @@ interface FinishValidationSpec {
|
|
|
10940
11333
|
* bound: validators that fold the children snapshot (the evidence
|
|
10941
11334
|
* share) can still fail the pre-pass when a child settles between
|
|
10942
11335
|
* the draft finish and synthesis; the pre-pass stays the authority.
|
|
11336
|
+
*
|
|
11337
|
+
* The sentinel `'digest'` (RV4210, the sixth comparison experiment)
|
|
11338
|
+
* inverts the draft's economics for configurations that do NOT use
|
|
11339
|
+
* `skipWhenDraftValid`: the harness under audit forced a full
|
|
11340
|
+
* contract-valid prose draft (344.8 s of model output) that the
|
|
11341
|
+
* composition then rewrote whole, because `draftPolicy: 'contract'`
|
|
11342
|
+
* is priced for the skip gate it was built to feed. Under 'digest'
|
|
11343
|
+
* the coordination prompt asks for a compact STRUCTURAL EVIDENCE
|
|
11344
|
+
* MAP (one list row per planned section naming its claims and the
|
|
11345
|
+
* evidence behind them) and the gate enforces the inversion
|
|
11346
|
+
* deterministically: at least one list row, at most
|
|
11347
|
+
* {@link DIGEST_DRAFT_MAX_WORDS} words, so the draft cannot decay
|
|
11348
|
+
* back into the prose it replaces. The synthesis invocation embeds
|
|
11349
|
+
* the digest exactly as it embeds any draft; wire counts are
|
|
11350
|
+
* unchanged. Because a digest is NOT a candidate deliverable, the
|
|
11351
|
+
* intake refuses the combinations that would ship or judge it as
|
|
11352
|
+
* one: `synthesis.skipWhenDraftValid` and
|
|
11353
|
+
* `synthesis.fallbackToValidDraft` are both ConfigError beside it.
|
|
10943
11354
|
*/
|
|
10944
11355
|
draftPolicy?: {
|
|
10945
11356
|
/** Minimum whitespace-separated words the draft must carry. */minWords?: number; /** Literal markers the draft text must contain. */
|
|
10946
11357
|
requireSections?: string[];
|
|
10947
|
-
} | "contract";
|
|
11358
|
+
} | "contract" | "digest";
|
|
10948
11359
|
/**
|
|
10949
11360
|
* Sectional bounded repair (RV808b). A rejected finish used to
|
|
10950
11361
|
* resend the WHOLE document to fix one violated section: on the
|
|
@@ -11219,6 +11630,17 @@ interface OrchestrateOptions {
|
|
|
11219
11630
|
* method, internalized. See {@link OrchestrateCitationAudit}.
|
|
11220
11631
|
*/
|
|
11221
11632
|
citationAudit?: OrchestrateCitationAudit;
|
|
11633
|
+
/**
|
|
11634
|
+
* The atomic production posture (RV4201, the sixth comparison
|
|
11635
|
+
* experiment): one declaration that a run may settle accepted only
|
|
11636
|
+
* clean (full final coverage, zero surviving contradictions, zero
|
|
11637
|
+
* surviving unsupported citations, no waiver, or exactly the one
|
|
11638
|
+
* pinned-hash waiver). Intake refuses any `claimConsistency` /
|
|
11639
|
+
* `citationAudit` field that contradicts it, so the observing
|
|
11640
|
+
* postures the sixth experiment shipped under cannot coexist with
|
|
11641
|
+
* the declaration. See {@link OrchestrateSemanticAcceptance}.
|
|
11642
|
+
*/
|
|
11643
|
+
semanticAcceptance?: OrchestrateSemanticAcceptance;
|
|
11222
11644
|
}
|
|
11223
11645
|
/**
|
|
11224
11646
|
* The citation entailment audit's knobs (RV4004). The sample derives
|
|
@@ -11243,6 +11665,22 @@ interface OrchestrateCitationAudit {
|
|
|
11243
11665
|
maxSampled?: number;
|
|
11244
11666
|
/** Lines after the cited line an excerpt may carry; default 3. */
|
|
11245
11667
|
window?: number;
|
|
11668
|
+
/**
|
|
11669
|
+
* The resolver generation (RV4208). Default 1, the fixed downward
|
|
11670
|
+
* window above, byte identical for every existing config. Declaring
|
|
11671
|
+
* 2 excerpts the bounded LOGICAL UNIT the cited line belongs to
|
|
11672
|
+
* (heading section, list item, table row with its header, code
|
|
11673
|
+
* comment plus declaration, paragraph; `citationUnitExcerptOf`) and
|
|
11674
|
+
* audits EVERY anchor of a compound sentence as its own row against
|
|
11675
|
+
* its nearest claim clause, with the unit type and a truncation
|
|
11676
|
+
* flag on the row and `resolverVersion: 2` on the meta. The sixth
|
|
11677
|
+
* comparison experiment's confirmed false negatives were window
|
|
11678
|
+
* artifacts: a section heading whose support lives below the fixed
|
|
11679
|
+
* window, and only a sentence's first anchor ever sampled. Opt-in
|
|
11680
|
+
* because the sample derives from the audited document's hash and
|
|
11681
|
+
* v2 changes which rows exist and what the judge reads.
|
|
11682
|
+
*/
|
|
11683
|
+
resolver?: 1 | 2;
|
|
11246
11684
|
/** The judge invocation's knobs, exactly the claim judge's shape. */
|
|
11247
11685
|
judge?: {
|
|
11248
11686
|
model?: ModelSpec;
|
|
@@ -11261,10 +11699,15 @@ interface OrchestrateCitationAudit {
|
|
|
11261
11699
|
* composition, the repaired document is re-audited (a fresh sample
|
|
11262
11700
|
* from its new hash), a configured claim pass past the draft
|
|
11263
11701
|
* rejudges the rewritten document, and unsupported rows that
|
|
11264
|
-
* survive fail the run typed. One round exactly
|
|
11265
|
-
* 'repair' and `claimConsistency.onFound:
|
|
11266
|
-
*
|
|
11267
|
-
*
|
|
11702
|
+
* survive fail the run typed. One round exactly, shared (RV4202):
|
|
11703
|
+
* arming BOTH this 'repair' and `claimConsistency.onFound:
|
|
11704
|
+
* 'repair'` grants the same ONE bounded round, which then fires
|
|
11705
|
+
* after the first audit pass carrying both defect lists (the judged
|
|
11706
|
+
* claim contradictions and the unsupported citations, plus the
|
|
11707
|
+
* uncovered sentences when `coverageRepair` is armed), and BOTH
|
|
11708
|
+
* judges re-rule on the repaired document's new hash before
|
|
11709
|
+
* survivors of either class fail the run typed. The budget never
|
|
11710
|
+
* grows past one extra composition.
|
|
11268
11711
|
*/
|
|
11269
11712
|
onFound?: "report" | "repair" | "fail";
|
|
11270
11713
|
}
|
|
@@ -11514,7 +11957,12 @@ interface OrchestrateClaimConsistency {
|
|
|
11514
11957
|
* it and why. `expiresAt` (ISO 8601) bounds the standing waiver: an
|
|
11515
11958
|
* expired one refuses exactly like no waiver, evaluated once at
|
|
11516
11959
|
* the enforcement point and journaled, so a resume replays the
|
|
11517
|
-
* recorded verdict instead of re-reading the clock
|
|
11960
|
+
* recorded verdict instead of re-reading the clock (RV4104): a run
|
|
11961
|
+
* that waived, crashed, and outlived its waiver finishes under the
|
|
11962
|
+
* recorded exception. The frozen decision licenses exactly the
|
|
11963
|
+
* document it judged: an entry carrying a `judgedHash` is honored
|
|
11964
|
+
* only for that hash (the RV603 bound), and entries written before
|
|
11965
|
+
* the field existed stay reusable. Requires
|
|
11518
11966
|
* `coveragePolicy: 'strict-final'`; declaring it without the
|
|
11519
11967
|
* policy is a ConfigError, because a waiver over an unenforced
|
|
11520
11968
|
* grade is a signature over nothing.
|
|
@@ -11524,6 +11972,102 @@ interface OrchestrateClaimConsistency {
|
|
|
11524
11972
|
reason: string;
|
|
11525
11973
|
expiresAt?: string;
|
|
11526
11974
|
};
|
|
11975
|
+
/**
|
|
11976
|
+
* Coverage joins the bounded repair round (RV4202, the sixth
|
|
11977
|
+
* comparison experiment). The experiment's run reached its
|
|
11978
|
+
* strict-final gate with a 'partial' grade and had exactly two
|
|
11979
|
+
* doors: a typed refusal or the standing waiver, because the round
|
|
11980
|
+
* armed on FINDINGS alone; the uncovered 27 percent of its citing
|
|
11981
|
+
* sentences was a defect class no machinery could consume. With
|
|
11982
|
+
* this set, a final grade that is not 'full' arms the same ONE
|
|
11983
|
+
* bounded round (RV3307): the still-uncovered citing sentences ride
|
|
11984
|
+
* the round's prompt as the UNCOVERED CLAIMS block (ground each
|
|
11985
|
+
* claim in material the pool actually read, or drop the citation),
|
|
11986
|
+
* the repaired document is re-paired and re-judged from its new
|
|
11987
|
+
* hash, and a grade that is STILL not 'full' after the round meets
|
|
11988
|
+
* the strict-final gate exactly as before (the typed refusal, or a
|
|
11989
|
+
* waiver where the posture allows one). Requires `onFound:
|
|
11990
|
+
* 'repair'` (the round is that posture's machinery) and
|
|
11991
|
+
* `coveragePolicy: 'strict-final'` (the gate whose refusal the
|
|
11992
|
+
* round averts); a ConfigError otherwise. Off by default: every
|
|
11993
|
+
* existing config keeps its bytes, round triggers included.
|
|
11994
|
+
*/
|
|
11995
|
+
coverageRepair?: boolean;
|
|
11996
|
+
}
|
|
11997
|
+
/**
|
|
11998
|
+
* The atomic production posture (RV4201, the sixth comparison
|
|
11999
|
+
* experiment). The experiment's run was configured knob by knob:
|
|
12000
|
+
* `report` findings postures, a standing waiver, no repair round, and
|
|
12001
|
+
* every one of those choices was individually legal while their SUM
|
|
12002
|
+
* quietly meant "observe and ship anyway"; the run then settled
|
|
12003
|
+
* accepted over a partial grade, a judged contradiction, and five
|
|
12004
|
+
* unsupported citations. This declaration is the one object that says
|
|
12005
|
+
* the opposite, in full, and intake REFUSES any underlying field that
|
|
12006
|
+
* contradicts it (nothing is filled: a signature has no blanks, so
|
|
12007
|
+
* the host writes the machinery the declaration binds). Under it a
|
|
12008
|
+
* run can settle accepted only when the FINAL document's claim
|
|
12009
|
+
* coverage graded 'full', zero judged contradictions and zero
|
|
12010
|
+
* unsupported (unresolved included) sampled citations survived the
|
|
12011
|
+
* one bounded round where the posture arms it, and no waiver stood,
|
|
12012
|
+
* except the pinned-hash form, which licenses exactly one reviewed
|
|
12013
|
+
* document. `compileRegulatedProfile` fills and enforces this
|
|
12014
|
+
* declaration for regulated runs (RV4201); plain orchestrations opt
|
|
12015
|
+
* in by declaring it.
|
|
12016
|
+
*/
|
|
12017
|
+
interface OrchestrateSemanticAcceptance {
|
|
12018
|
+
/**
|
|
12019
|
+
* The document the verdicts must describe: the FINAL one, always.
|
|
12020
|
+
* Requires `claimConsistency.stage` 'final' or 'both'; the literal
|
|
12021
|
+
* exists so the signature spells its object out.
|
|
12022
|
+
*/
|
|
12023
|
+
judgedStage: "final";
|
|
12024
|
+
/**
|
|
12025
|
+
* The only acceptable final coverage grade. Requires
|
|
12026
|
+
* `claimConsistency.coveragePolicy: 'strict-final'`, and refuses a
|
|
12027
|
+
* declared `coverageTarget` below 1, because a pass sized to cover
|
|
12028
|
+
* less than everything can never grade 'full' on a citing document:
|
|
12029
|
+
* the declaration would be unsatisfiable by construction.
|
|
12030
|
+
*/
|
|
12031
|
+
claimCoverage: "full";
|
|
12032
|
+
/**
|
|
12033
|
+
* What a judged claim contradiction does: 'repair-once-then-fail'
|
|
12034
|
+
* requires `claimConsistency.onFound: 'repair'` (survivors of the
|
|
12035
|
+
* bounded round already fail typed) plus `coverageRepair: true` (the
|
|
12036
|
+
* one round serves every armed defect class, coverage included);
|
|
12037
|
+
* 'fail' requires `onFound: 'fail'`. The observing postures
|
|
12038
|
+
* ('report', 'carry') refuse at intake.
|
|
12039
|
+
*/
|
|
12040
|
+
contradictions: "repair-once-then-fail" | "fail";
|
|
12041
|
+
/**
|
|
12042
|
+
* What an unsupported sampled citation does, same mapping onto
|
|
12043
|
+
* `citationAudit.onFound`; 'report' refuses at intake.
|
|
12044
|
+
*/
|
|
12045
|
+
citations: "repair-once-then-fail" | "fail";
|
|
12046
|
+
/**
|
|
12047
|
+
* What a sampled citation that resolves NOTHING does. Mechanically
|
|
12048
|
+
* unresolved rows are unsupported findings already (the
|
|
12049
|
+
* citedValueValidator doctrine), so the field binds no new
|
|
12050
|
+
* machinery; it exists because a signature that is silent about the
|
|
12051
|
+
* rows no judge ever saw would be a blank exactly where the sixth
|
|
12052
|
+
* experiment's audit found its five.
|
|
12053
|
+
*/
|
|
12054
|
+
unresolved: "fail";
|
|
12055
|
+
/**
|
|
12056
|
+
* The waiver posture. 'forbid': `claimConsistency.waiver` must be
|
|
12057
|
+
* absent, and a journaled `claim_coverage_waived` decision
|
|
12058
|
+
* surfacing under this declaration refuses typed (a journal that
|
|
12059
|
+
* waived under a config that forbids waivers is a config/journal
|
|
12060
|
+
* mismatch, not an authority). The pinned form carries the sha256
|
|
12061
|
+
* of the ONE document the waiver may license (the claim meta's
|
|
12062
|
+
* `judgedHash`, 64 hex chars): a signature under a reviewed
|
|
12063
|
+
* document, never a blank cheque, so a re-run that composes any
|
|
12064
|
+
* other bytes refuses exactly as if no waiver stood. Requires a
|
|
12065
|
+
* declared `claimConsistency.waiver` naming the principal and the
|
|
12066
|
+
* reason.
|
|
12067
|
+
*/
|
|
12068
|
+
waiver: "forbid" | {
|
|
12069
|
+
judgedHash: string;
|
|
12070
|
+
};
|
|
11527
12071
|
}
|
|
11528
12072
|
/** One judged contradiction: the pair plus the judge's one-sentence reason. */
|
|
11529
12073
|
interface ClaimContradictionFinding extends ClaimPair {
|
|
@@ -11670,6 +12214,14 @@ interface OrchestrateClaimConsistencyMeta {
|
|
|
11670
12214
|
*/
|
|
11671
12215
|
firstPassFindings?: number;
|
|
11672
12216
|
/**
|
|
12217
|
+
* The coverage grade of the FIRST pass (RV4202), present exactly
|
|
12218
|
+
* when a coverage-armed round ran (`passes` exceeds 1 under
|
|
12219
|
+
* `coverageRepair`): the meta above always describes the LAST pass,
|
|
12220
|
+
* so without this field a 'full' grade earned through the round
|
|
12221
|
+
* would be indistinguishable from a clean first verdict.
|
|
12222
|
+
*/
|
|
12223
|
+
firstPassCoverage?: ClaimCoverageGrade;
|
|
12224
|
+
/**
|
|
11673
12225
|
* Bounded semantic repair rounds actually dispatched at this stage
|
|
11674
12226
|
* (RV3904); today 0 or 1, the evidence-grade precedent. Distinct
|
|
11675
12227
|
* from the finish validation's mechanical `repairsUsed`, which
|
|
@@ -12552,7 +13104,8 @@ interface RunInternals {
|
|
|
12552
13104
|
schemas?: Record<string, SchemaSpec>; /** Registered tool profile names for toolsetRef (M7-T05). */
|
|
12553
13105
|
toolsets?: Record<string, ToolsOption>; /** Registered mechanical gate profiles (M7-T10). */
|
|
12554
13106
|
gates?: Record<string, MechanicalGateProfile>; /** Engine-wide admission countTokens policy (RV1804); default 'allow'. */
|
|
12555
|
-
countTokens?: "allow" | "deny"; /** The
|
|
13107
|
+
countTokens?: "allow" | "deny"; /** The toolset attestation floor (RV4204); default off. */
|
|
13108
|
+
requireToolsetAttestation?: boolean; /** The engine-wide prompt-cache policy (RV2006); profile and call opts win. */
|
|
12556
13109
|
cache?: CachePolicy; /** The receipt posture of the billing seam (RV3405); default 'async'. */
|
|
12557
13110
|
billingReceipts?: "async" | "awaited" | "intent";
|
|
12558
13111
|
};
|
|
@@ -12569,6 +13122,22 @@ interface RunInternals {
|
|
|
12569
13122
|
* absent = no shared quota, byte-identical to before the feature.
|
|
12570
13123
|
*/
|
|
12571
13124
|
quota?: EngineQuotaRuntime;
|
|
13125
|
+
/**
|
|
13126
|
+
* The run's recorded execution scope (RV4205): the normalized copy
|
|
13127
|
+
* genesis records, threaded so the quota completion can read the
|
|
13128
|
+
* scope's tenant under `tenantFrom: 'scope'` and stamp the scope
|
|
13129
|
+
* dimensions onto reservations for dimension-matched rules.
|
|
13130
|
+
* Structural (not the engine's ExecutionScope named type) because
|
|
13131
|
+
* ctx deliberately imports nothing from engine.ts.
|
|
13132
|
+
*/
|
|
13133
|
+
executionScope?: {
|
|
13134
|
+
tenant?: string;
|
|
13135
|
+
account?: string;
|
|
13136
|
+
project?: string;
|
|
13137
|
+
legalDomain?: string;
|
|
13138
|
+
region?: string;
|
|
13139
|
+
providerAccount?: string;
|
|
13140
|
+
};
|
|
12572
13141
|
/** The configured price table's version; pinned in decision entries (M4-T06). */
|
|
12573
13142
|
pricingVersion?: string;
|
|
12574
13143
|
/** budgetDefaults.flatReserveUsd; last resort of the reserve formula. */
|
|
@@ -12655,6 +13224,26 @@ declare function executeWorkflow<A, R>(internals: RunInternals, wf: Workflow<A,
|
|
|
12655
13224
|
*/
|
|
12656
13225
|
declare function attributionBucket(value: string | undefined): string;
|
|
12657
13226
|
/**
|
|
13227
|
+
* The byAgentType bucket of one attributed slice (RV4206, the RV3905
|
|
13228
|
+
* vacuum-fill precedent carried to the agent-type table). A declared
|
|
13229
|
+
* agentType always wins, verbatim. The vacuum, an absent or empty
|
|
13230
|
+
* agentType, is FILLED from facts the journal already records instead
|
|
13231
|
+
* of stamping new bytes: role 'orchestrate' names the bucket
|
|
13232
|
+
* 'orchestrator' (the coordination loop and the forced-finish wake),
|
|
13233
|
+
* and role 'synthesize' names it by the dispatch label through the
|
|
13234
|
+
* ONE {@link synthesizeSpanClassOf} classifier: 'synthesizer' for
|
|
13235
|
+
* compositions and notes, 'claim-judge' and 'citation-judge' for the
|
|
13236
|
+
* two judges, with an unknown label keeping the honest 'unknown'.
|
|
13237
|
+
* Because the derivation reads only recorded facts, the live report,
|
|
13238
|
+
* the journal fold, and every ARCHIVED journal report the same named
|
|
13239
|
+
* buckets: the sixth comparison run's report read byAgentType 100%
|
|
13240
|
+
* 'unknown' over a run whose every dispatch had a nameable stage, and
|
|
13241
|
+
* that same journal now folds to named rows retroactively. Both
|
|
13242
|
+
* accumulation sites and the journal fold call this one function, the
|
|
13243
|
+
* RV3302 no-drift doctrine.
|
|
13244
|
+
*/
|
|
13245
|
+
declare function agentTypeBucket(agentType: string | undefined, role: string | undefined, label: string | undefined): string;
|
|
13246
|
+
/**
|
|
12658
13247
|
* The scope key rule of the byScope rollup (RV3805). The root's OWN
|
|
12659
13248
|
* scope is the empty string BY CONSTRUCTION: present data whose string
|
|
12660
13249
|
* happens to be empty, not an absence, so it folds under the
|
|
@@ -12796,7 +13385,19 @@ interface CostReport {
|
|
|
12796
13385
|
* run's one draft repair wire read 'coordination').
|
|
12797
13386
|
*/
|
|
12798
13387
|
byPhase: Record<string, number>;
|
|
12799
|
-
/**
|
|
13388
|
+
/**
|
|
13389
|
+
* Spawn agentType names; absent and empty fold under 'unknown'
|
|
13390
|
+
* (RV3604). Since RV4206 the vacuum is FILLED by pure derivation
|
|
13391
|
+
* from recorded facts (`agentTypeBucket` over agentType, role, and
|
|
13392
|
+
* dispatch label, the RV3905 phase precedent): the orchestrator's
|
|
13393
|
+
* own dispatches read 'orchestrator' (the coordination loop and the
|
|
13394
|
+
* forced-finish wake), 'synthesizer' (compositions and incremental
|
|
13395
|
+
* notes), 'claim-judge', and 'citation-judge'; a spawned profile
|
|
13396
|
+
* always keeps its own name, no journal byte changes, and archived
|
|
13397
|
+
* journals fold to the named rows retroactively. The sixth
|
|
13398
|
+
* comparison run's report read this table 100% 'unknown' over a run
|
|
13399
|
+
* whose every dispatch had a nameable stage.
|
|
13400
|
+
*/
|
|
12800
13401
|
byAgentType: Record<string, number>;
|
|
12801
13402
|
byRole: Record<InvocationRole, number>;
|
|
12802
13403
|
/**
|
|
@@ -12911,6 +13512,14 @@ interface RejectedFinishCandidate {
|
|
|
12911
13512
|
}[];
|
|
12912
13513
|
/** Transcript ref holding the bytes; absent unless retention is on and the write succeeded. */
|
|
12913
13514
|
ref?: string;
|
|
13515
|
+
/**
|
|
13516
|
+
* Why the bytes are not retained (RV4207), when the run declared a
|
|
13517
|
+
* `candidatePersistence`: 'hash-only-persistence' is the policy
|
|
13518
|
+
* saying so on purpose, 'store-write-failed' a declared retention
|
|
13519
|
+
* the store refused. Absent on undeclared configs, whose rows keep
|
|
13520
|
+
* their exact bytes.
|
|
13521
|
+
*/
|
|
13522
|
+
bytesUnavailableReason?: "hash-only-persistence" | "store-write-failed";
|
|
12914
13523
|
}
|
|
12915
13524
|
/**
|
|
12916
13525
|
* The roster facts of a run that died before any acceptance verdict
|
|
@@ -12995,6 +13604,18 @@ type RunOutcome<R> = {
|
|
|
12995
13604
|
*/
|
|
12996
13605
|
claimConsistencyMeta?: Record<string, unknown>;
|
|
12997
13606
|
/**
|
|
13607
|
+
* The one-word semantic verdict (RV4209), lifted from the same
|
|
13608
|
+
* envelope or typed error data as the meta beside it: 'clean',
|
|
13609
|
+
* 'findings', 'partial', 'vacuous', 'waived', or 'not-judged', with
|
|
13610
|
+
* the counts and the waiver it was folded from
|
|
13611
|
+
* (SemanticTerminalVerdict). One derivation at the orchestrator
|
|
13612
|
+
* chokepoint instead of every consumer re-deriving the verdict from
|
|
13613
|
+
* four fields; `productionAcceptable` is the exported gate over it.
|
|
13614
|
+
* Absent when no claim or citation machinery was configured, and on
|
|
13615
|
+
* every run recorded before it shipped.
|
|
13616
|
+
*/
|
|
13617
|
+
semanticTerminalVerdict?: Record<string, unknown>;
|
|
13618
|
+
/**
|
|
12998
13619
|
* The judged contradictions themselves (RV3601), lifted from the
|
|
12999
13620
|
* same envelope or typed error data as the meta beside them. RV3304
|
|
13000
13621
|
* deliberately kept the details off this surface and let the meta's
|
|
@@ -13153,7 +13774,7 @@ interface RunHandle<R> {
|
|
|
13153
13774
|
//#endregion
|
|
13154
13775
|
//#region src/engine/terminal-envelope.d.ts
|
|
13155
13776
|
/** The outcome facts the assembler reads; a structural subset of RunOutcome. */
|
|
13156
|
-
type TerminalOutcomeFacts = Pick<RunOutcome<unknown>, "status" | "error" | "completion" | "deliverableAccepted" | "resultAvailable" | "acceptedArtifactRef" | "claimConsistencyMeta"> & {
|
|
13777
|
+
type TerminalOutcomeFacts = Pick<RunOutcome<unknown>, "status" | "error" | "completion" | "deliverableAccepted" | "resultAvailable" | "acceptedArtifactRef" | "claimConsistencyMeta" | "semanticTerminalVerdict"> & {
|
|
13157
13778
|
usage: RunOutcome<unknown>["usage"];
|
|
13158
13779
|
cost: Pick<RunOutcome<unknown>["cost"], "totalUsd" | "grossUsd" | "byModel"> & {
|
|
13159
13780
|
usageApprox?: boolean;
|
|
@@ -14378,7 +14999,9 @@ interface JournaledCriticalPath {
|
|
|
14378
14999
|
/** `synthesisMs / runWallMs`, under the same conditions. */
|
|
14379
15000
|
synthesisShare?: number;
|
|
14380
15001
|
/**
|
|
14381
|
-
* Synthesis that is
|
|
15002
|
+
* Synthesis that is COMPOSITION (RV1604; classified through
|
|
15003
|
+
* {@link synthesizeSpanClassOf} since RV4206, so a judge of either
|
|
15004
|
+
* kind and an unknown label never land here). Present only when
|
|
14382
15005
|
* EVERY synthesize span in the journal carried a label: one
|
|
14383
15006
|
* unlabelled span would make the split a guess, and the split exists
|
|
14384
15007
|
* because a guess here read a 54 second judge as a second final
|
|
@@ -14388,6 +15011,23 @@ interface JournaledCriticalPath {
|
|
|
14388
15011
|
/** Synthesis that IS the claim judge; same all-or-nothing condition. */
|
|
14389
15012
|
semanticJudgeMs?: number;
|
|
14390
15013
|
/**
|
|
15014
|
+
* Synthesis that is the citation entailment audit judge (RV4206);
|
|
15015
|
+
* same all-or-nothing condition. Until this field the audit judge
|
|
15016
|
+
* read as final composition in every archived journal, the same
|
|
15017
|
+
* blindness the live reducer had.
|
|
15018
|
+
*/
|
|
15019
|
+
citationJudgeMs?: number;
|
|
15020
|
+
/** Settled citation-judge spans, counted; same condition. */
|
|
15021
|
+
citationJudgeSpans?: number;
|
|
15022
|
+
/**
|
|
15023
|
+
* Synthesis whose label this fold's classifier does not know
|
|
15024
|
+
* (RV4206); same condition. Nonzero means the split beside it is a
|
|
15025
|
+
* floor, never silently "composition".
|
|
15026
|
+
*/
|
|
15027
|
+
unclassifiedSynthesisMs?: number;
|
|
15028
|
+
/** Settled unclassified synthesize spans, counted; same condition. */
|
|
15029
|
+
unclassifiedSynthesisSpans?: number;
|
|
15030
|
+
/**
|
|
14391
15031
|
* The stage split of `semanticJudgeMs` (RV3404), same all-or-nothing
|
|
14392
15032
|
* condition: the draft pass is the exact judge label and every
|
|
14393
15033
|
* suffixed variant is a post draft pass over the composed document
|
|
@@ -14459,13 +15099,17 @@ interface JournaledPostFanIn {
|
|
|
14459
15099
|
/** Union of settled synthesize spans clipped to the window. */
|
|
14460
15100
|
synthesisCoveredMs: number;
|
|
14461
15101
|
/**
|
|
14462
|
-
* The composition
|
|
15102
|
+
* The composition share of the covered spans, clipped; present under
|
|
14463
15103
|
* the same all-or-nothing labelling condition as the top level
|
|
14464
15104
|
* split, and equal to the live breakdown's reading of the same run.
|
|
14465
15105
|
*/
|
|
14466
15106
|
finalCompositionMs?: number;
|
|
14467
|
-
/** The judge
|
|
15107
|
+
/** The claim-judge share, clipped; same condition. */
|
|
14468
15108
|
semanticJudgeMs?: number;
|
|
15109
|
+
/** The citation-judge share, clipped (RV4206); same condition. */
|
|
15110
|
+
citationJudgeMs?: number;
|
|
15111
|
+
/** The unclassified share, clipped (RV4206); same condition. */
|
|
15112
|
+
unclassifiedSynthesisMs?: number;
|
|
14469
15113
|
/** `postFanInMs` minus `synthesisCoveredMs`, floored at zero. */
|
|
14470
15114
|
unaccountedMs: number;
|
|
14471
15115
|
/** `unaccountedMs / postFanInMs` when the window is positive. */
|
|
@@ -14479,10 +15123,26 @@ interface JournaledPostFanIn {
|
|
|
14479
15123
|
declare function criticalPathFromJournal(entries: readonly JournalEntry[]): JournaledCriticalPath;
|
|
14480
15124
|
//#endregion
|
|
14481
15125
|
//#region src/stores/repair-ledger.d.ts
|
|
14482
|
-
/** One
|
|
15126
|
+
/** One counted repair, folded from its journaled verdict or dispatch (RV4002/RV4105). */
|
|
14483
15127
|
interface RepairLedgerRound {
|
|
14484
|
-
/**
|
|
14485
|
-
|
|
15128
|
+
/**
|
|
15129
|
+
* Which gate granted it (the draft gate, a composition invocation,
|
|
15130
|
+
* or the RV3307 round's own pool), or 'semantic' for a dispatched
|
|
15131
|
+
* semantic repair round itself (RV4105): the round has no verdict
|
|
15132
|
+
* decision, so its row folds from the settled dispatch entry.
|
|
15133
|
+
*/
|
|
15134
|
+
stage: "draft" | "composition" | "round" | "semantic";
|
|
15135
|
+
/**
|
|
15136
|
+
* What dispatched the semantic round (RV4105): 'claim' (the RV3307
|
|
15137
|
+
* contradiction round), 'citation' (the RV4004 entailment round),
|
|
15138
|
+
* 'coverage' (the RV4202 round armed by a non-'full' final grade
|
|
15139
|
+
* alone), or 'combined' (one bounded round carrying more than one
|
|
15140
|
+
* defect class, RV4202), read from the
|
|
15141
|
+
* `costAttribution.repairTrigger` stamped at dispatch. Absent on
|
|
15142
|
+
* non-semantic rows and on journals written before the stamp
|
|
15143
|
+
* shipped (absence means NOT RECORDED, RV1209).
|
|
15144
|
+
*/
|
|
15145
|
+
trigger?: "claim" | "citation" | "coverage" | "combined";
|
|
14486
15146
|
/** The verdict decision's seq: the repair's address in the run. */
|
|
14487
15147
|
seq: number;
|
|
14488
15148
|
/** The finish call id the verdict was keyed by, when journaled. */
|
|
@@ -14517,7 +15177,12 @@ interface RepairLedger {
|
|
|
14517
15177
|
semantic: number;
|
|
14518
15178
|
/** draft + composition + semantic. */
|
|
14519
15179
|
total: number;
|
|
14520
|
-
/**
|
|
15180
|
+
/**
|
|
15181
|
+
* One row per counted repair, in seq order. Semantic rounds carry
|
|
15182
|
+
* their own rows since RV4105 (stage 'semantic', with the trigger
|
|
15183
|
+
* when the journal stamped one), so their wires have a home and
|
|
15184
|
+
* `semantic: 2` is decomposable without cross-reading metas.
|
|
15185
|
+
*/
|
|
14521
15186
|
rounds: readonly RepairLedgerRound[];
|
|
14522
15187
|
/**
|
|
14523
15188
|
* Finish-validation 'repair' verdicts with no journaled stage: the
|
|
@@ -14537,6 +15202,33 @@ interface RepairLedger {
|
|
|
14537
15202
|
declare function repairLedgerFromJournal(entries: readonly JournalEntry[], priceUsd?: (servedBy: ModelRef, usage: Usage) => number | undefined): RepairLedger;
|
|
14538
15203
|
//#endregion
|
|
14539
15204
|
//#region src/stores/synthesis-candidates.d.ts
|
|
15205
|
+
/**
|
|
15206
|
+
* THE candidate hash recipe (RV4207), written down where the fold that
|
|
15207
|
+
* reads it lives: sha256 (hex) over the JCS canonical serialization of
|
|
15208
|
+
* the candidate VALUE, `null` for an absent one. This is the recipe
|
|
15209
|
+
* behind every `candidateHash` a finish-validation decision journals,
|
|
15210
|
+
* the claim judge's `judgedHash`, the citation audit's `auditedHash`,
|
|
15211
|
+
* and `draftToFinal`'s pair, so one function answers "which document"
|
|
15212
|
+
* across every surface. Two facts an auditor needs spelled out: a
|
|
15213
|
+
* STRING document hashes as its JSON encoding (the quotes and escapes
|
|
15214
|
+
* included), not as raw text bytes; and exporting the text to a file
|
|
15215
|
+
* with a trailing newline changes the FILE's sha256 while this hash is
|
|
15216
|
+
* unchanged, verify against the exact value, never the file. The sixth
|
|
15217
|
+
* comparison experiment's auditor re-derived all of this from source
|
|
15218
|
+
* because no exported function said it.
|
|
15219
|
+
*/
|
|
15220
|
+
declare function candidateHashOf(candidate: unknown): string;
|
|
15221
|
+
/**
|
|
15222
|
+
* Verifies retained candidate bytes against a journaled candidateHash
|
|
15223
|
+
* (RV4207). The retained blob holds the candidate's TEXT verbatim (the
|
|
15224
|
+
* document itself for a string result, its JSON serialization
|
|
15225
|
+
* otherwise), while the hash covers the canonical VALUE, so the check
|
|
15226
|
+
* tries the value both ways: as the string document, then as parsed
|
|
15227
|
+
* JSON. Returns false on any mismatch or unparsable bytes, never
|
|
15228
|
+
* throws: the caller is an audit path, and a corrupt blob is a finding
|
|
15229
|
+
* there, not a crash.
|
|
15230
|
+
*/
|
|
15231
|
+
declare function verifyCandidateBytes(bytes: Uint8Array | string, hash: string): boolean;
|
|
14540
15232
|
/** One failed validator on a journaled finish verdict, verbatim. */
|
|
14541
15233
|
interface SynthesisCandidateFailure {
|
|
14542
15234
|
name: string;
|
|
@@ -14557,11 +15249,27 @@ interface JournaledSynthesisCandidate {
|
|
|
14557
15249
|
maxRepairs?: number;
|
|
14558
15250
|
/** The contract generation the verdict was rendered under. */
|
|
14559
15251
|
contractHash?: string;
|
|
14560
|
-
/**
|
|
15252
|
+
/**
|
|
15253
|
+
* The candidate's identity (RV2507): the {@link candidateHashOf}
|
|
15254
|
+
* hash and the char count. Journaled on every non-accepted verdict
|
|
15255
|
+
* since RV2507, and on the ACCEPTED verdict too under a declared
|
|
15256
|
+
* `candidatePersistence` (RV4207), where it names the resolved
|
|
15257
|
+
* document (deterministic patch or sectional splice applied), so
|
|
15258
|
+
* the whole chain reads by hash.
|
|
15259
|
+
*/
|
|
14561
15260
|
candidateHash?: string;
|
|
14562
15261
|
candidateChars?: number;
|
|
14563
15262
|
/** The rejected candidate's transcript blob, under retention. */
|
|
14564
15263
|
candidateRef?: string;
|
|
15264
|
+
/**
|
|
15265
|
+
* Why the candidate's BYTES are not retained (RV4207), from the
|
|
15266
|
+
* decision itself: 'hash-only-persistence' names the declared
|
|
15267
|
+
* policy, 'store-write-failed' a retention that was declared and
|
|
15268
|
+
* refused by the store. Absent on journals written before the
|
|
15269
|
+
* field, and everywhere no reason applies; a blob later deleted by
|
|
15270
|
+
* retention leaves the hash and this field as the honest remainder.
|
|
15271
|
+
*/
|
|
15272
|
+
bytesUnavailableReason?: string;
|
|
14565
15273
|
/** The failed validators with their reasons, verbatim. */
|
|
14566
15274
|
failed: readonly SynthesisCandidateFailure[];
|
|
14567
15275
|
/** The hosting span's dispatch label (RV2901), when journaled. */
|
|
@@ -15191,13 +15899,20 @@ interface InvoiceExport {
|
|
|
15191
15899
|
* genesis `execution_scope` decision: who this run executed for, as
|
|
15192
15900
|
* the host named it, on the money document a FinOps pipeline
|
|
15193
15901
|
* actually consumes. Absent on unscoped runs, so their exports keep
|
|
15194
|
-
* their bytes.
|
|
15902
|
+
* their bytes. The RV4205 dimensions ride the same object, and
|
|
15903
|
+
* `executionScopeDigest` beside it is the fixed-length join column
|
|
15904
|
+
* (present exactly when the genesis decision recorded one).
|
|
15195
15905
|
*/
|
|
15196
15906
|
executionScope?: {
|
|
15197
15907
|
tenant?: string;
|
|
15198
15908
|
account?: string;
|
|
15199
15909
|
project?: string;
|
|
15910
|
+
legalDomain?: string;
|
|
15911
|
+
region?: string;
|
|
15912
|
+
providerAccount?: string;
|
|
15200
15913
|
};
|
|
15914
|
+
/** The canonical scope digest (RV4205), lifted from the same decision. */
|
|
15915
|
+
executionScopeDigest?: string;
|
|
15201
15916
|
/**
|
|
15202
15917
|
* The unknown-outcome intent lane (RV4006): `provider-intent`
|
|
15203
15918
|
* decisions (the 'intent' receipt posture journals one before every
|
|
@@ -16513,12 +17228,49 @@ interface CitationAuditRow {
|
|
|
16513
17228
|
/** The range end when the citation is `path:start-end`. */
|
|
16514
17229
|
endLine?: number;
|
|
16515
17230
|
/**
|
|
17231
|
+
* Which anchor of a compound sentence this row audits (RV4208,
|
|
17232
|
+
* resolver v2 only): zero-based, in sentence order. Resolver v1
|
|
17233
|
+
* samples only a sentence's FIRST anchor, so the field is absent
|
|
17234
|
+
* there and on every earlier row.
|
|
17235
|
+
*/
|
|
17236
|
+
anchorOrdinal?: number;
|
|
17237
|
+
/**
|
|
17238
|
+
* The claim clause NEAREST this row's anchor (RV4208, resolver v2
|
|
17239
|
+
* only): the sentence segment, split at clause boundaries, that
|
|
17240
|
+
* contains the anchor. A compound sentence cites three files for
|
|
17241
|
+
* three different claims; judging each anchor against the WHOLE
|
|
17242
|
+
* sentence asks whether the lines entail claims they were never
|
|
17243
|
+
* cited for.
|
|
17244
|
+
*/
|
|
17245
|
+
clause?: string;
|
|
17246
|
+
/**
|
|
16516
17247
|
* The resolved lines, `L<n>: <text>` per line. Absent when the
|
|
16517
17248
|
* FIRST cited line does not resolve in the host snapshot, which is
|
|
16518
17249
|
* itself an unsupported verdict: a citation nothing resolves is not
|
|
16519
17250
|
* provenance (the citedValueValidator doctrine).
|
|
16520
17251
|
*/
|
|
16521
17252
|
excerpt?: string;
|
|
17253
|
+
/**
|
|
17254
|
+
* What resolver v2 excerpted (RV4208): the bounded logical unit's
|
|
17255
|
+
* type, its line count, and whether the caps clipped it. Absent
|
|
17256
|
+
* under resolver v1, whose window is fixed and self-describing.
|
|
17257
|
+
*/
|
|
17258
|
+
unit?: CitationExcerptUnit;
|
|
17259
|
+
}
|
|
17260
|
+
/** The bounded logical unit resolver v2 excerpts (RV4208). */
|
|
17261
|
+
interface CitationExcerptUnit {
|
|
17262
|
+
/**
|
|
17263
|
+
* 'section' a heading plus its body to the next heading; 'list-item'
|
|
17264
|
+
* a list marker plus its continuation lines; 'table-row' a table row
|
|
17265
|
+
* with its header pair when adjacent; 'comment-declaration' a code
|
|
17266
|
+
* comment block plus the declaration it documents; 'paragraph' a
|
|
17267
|
+
* blank-line-delimited run, the default.
|
|
17268
|
+
*/
|
|
17269
|
+
type: "section" | "list-item" | "table-row" | "comment-declaration" | "paragraph";
|
|
17270
|
+
/** Lines the excerpt carries. */
|
|
17271
|
+
lines: number;
|
|
17272
|
+
/** Present when the line or char caps clipped the unit. */
|
|
17273
|
+
truncated?: true;
|
|
16522
17274
|
}
|
|
16523
17275
|
/** One judged (or mechanically decided) non-supported citation. */
|
|
16524
17276
|
interface CitationAuditFinding {
|
|
@@ -16546,6 +17298,20 @@ interface CitationAuditPlanOptions {
|
|
|
16546
17298
|
maxSampled?: number;
|
|
16547
17299
|
/** Lines after the cited line an excerpt may carry; default 3. */
|
|
16548
17300
|
window?: number;
|
|
17301
|
+
/**
|
|
17302
|
+
* The resolver generation (RV4208): 1, the default, is the fixed
|
|
17303
|
+
* downward window above, byte identical for every existing config.
|
|
17304
|
+
* 2 excerpts the bounded LOGICAL UNIT the cited line belongs to
|
|
17305
|
+
* ({@link citationUnitExcerptOf}) and audits EVERY anchor of a
|
|
17306
|
+
* compound sentence as its own row against its nearest claim
|
|
17307
|
+
* clause. The sixth comparison experiment's false negatives were
|
|
17308
|
+
* exactly window artifacts: a section heading whose support lives
|
|
17309
|
+
* below the window, and only a sentence's first anchor ever
|
|
17310
|
+
* sampled. Opt-in because the sample derives from the document
|
|
17311
|
+
* hash: v2 changes which rows exist and what the judge reads, so a
|
|
17312
|
+
* declared config must choose it.
|
|
17313
|
+
*/
|
|
17314
|
+
resolver?: 1 | 2;
|
|
16549
17315
|
}
|
|
16550
17316
|
declare const DEFAULT_CITATION_SAMPLE_PER_SECTION = 2;
|
|
16551
17317
|
declare const DEFAULT_CITATION_MAX_SAMPLED = 24;
|
|
@@ -16562,6 +17328,7 @@ declare function resolveCitationAuditPlan(options: CitationAuditPlanOptions): {
|
|
|
16562
17328
|
samplePerSection: number;
|
|
16563
17329
|
maxSampled: number;
|
|
16564
17330
|
window: number;
|
|
17331
|
+
resolver: 1 | 2;
|
|
16565
17332
|
};
|
|
16566
17333
|
/**
|
|
16567
17334
|
* The deterministic stratified sample (RV4004): per H2 section, up to
|
|
@@ -16578,8 +17345,17 @@ declare function sampleCitationRows(document: string, plan: {
|
|
|
16578
17345
|
pattern: string;
|
|
16579
17346
|
samplePerSection: number;
|
|
16580
17347
|
maxSampled: number;
|
|
17348
|
+
resolver?: 1 | 2;
|
|
16581
17349
|
}, seed: string): Omit<CitationAuditRow, "excerpt">[];
|
|
16582
17350
|
/**
|
|
17351
|
+
* The claim clause nearest an anchor (RV4208): the sentence segment,
|
|
17352
|
+
* cut at clause boundaries (';' or ',' followed by whitespace), that
|
|
17353
|
+
* contains the anchor position. Pure text arithmetic, no NLP: the
|
|
17354
|
+
* point is to hand the judge the claim half the anchor was cited FOR
|
|
17355
|
+
* instead of the whole compound sentence.
|
|
17356
|
+
*/
|
|
17357
|
+
declare function clauseAround(sentence: string, anchorIndex: number): string;
|
|
17358
|
+
/**
|
|
16583
17359
|
* Resolves one sampled citation's excerpt through the host's pure
|
|
16584
17360
|
* snapshot resolver. The FIRST cited line failing to resolve returns
|
|
16585
17361
|
* undefined (an unsupported citation by doctrine); later lines simply
|
|
@@ -16587,6 +17363,36 @@ declare function sampleCitationRows(document: string, plan: {
|
|
|
16587
17363
|
* snapshot goes).
|
|
16588
17364
|
*/
|
|
16589
17365
|
declare function citationExcerptOf(resolve: (target: CitationTarget) => string | undefined, row: Pick<CitationAuditRow, "path" | "line" | "endLine">, window: number): string | undefined;
|
|
17366
|
+
/**
|
|
17367
|
+
* Resolver v2's excerpt: the bounded LOGICAL UNIT the cited line
|
|
17368
|
+
* belongs to (RV4208), through the same pure line resolver v1 reads.
|
|
17369
|
+
* The v1 window is a fixed downward slice, and the sixth comparison
|
|
17370
|
+
* experiment's confirmed false negative was structural: a section
|
|
17371
|
+
* heading cited as the anchor with its support three lines below the
|
|
17372
|
+
* window. The unit rules, all bounded by {@link
|
|
17373
|
+
* MAX_CITATION_EXCERPT_LINES} and {@link MAX_CITATION_EXCERPT_CHARS}
|
|
17374
|
+
* with a `truncated` flag when clipped:
|
|
17375
|
+
*
|
|
17376
|
+
* - heading: the SECTION, the heading plus following lines to the
|
|
17377
|
+
* next heading;
|
|
17378
|
+
* - table row: the row, with the header pair above it when adjacent;
|
|
17379
|
+
* - list item: the marker line plus its more-indented continuation
|
|
17380
|
+
* lines;
|
|
17381
|
+
* - code comment: the comment BLOCK (expanded upward to its start)
|
|
17382
|
+
* plus the declaration lines it documents, to the first blank line;
|
|
17383
|
+
* - anything else: the paragraph, expanded upward and downward to the
|
|
17384
|
+
* nearest blank or heading line.
|
|
17385
|
+
*
|
|
17386
|
+
* An explicit `path:start-end` range keeps range semantics (the host
|
|
17387
|
+
* cited exact lines; second-guessing them would audit a different
|
|
17388
|
+
* citation): the ranged lines, clipped by the caps. The FIRST cited
|
|
17389
|
+
* line failing to resolve returns undefined, the unsupported-by-
|
|
17390
|
+
* doctrine verdict v1 renders.
|
|
17391
|
+
*/
|
|
17392
|
+
declare function citationUnitExcerptOf(resolve: (target: CitationTarget) => string | undefined, row: Pick<CitationAuditRow, "path" | "line" | "endLine">): {
|
|
17393
|
+
excerpt: string;
|
|
17394
|
+
unit: CitationExcerptUnit;
|
|
17395
|
+
} | undefined;
|
|
16590
17396
|
/** The audit judge's structured verdict schema (mirrors the claim judge). */
|
|
16591
17397
|
declare const CITATION_JUDGE_SCHEMA: {
|
|
16592
17398
|
readonly type: "object";
|
|
@@ -16627,6 +17433,101 @@ declare function parseCitationVerdicts(output: unknown, rowIndexes: readonly num
|
|
|
16627
17433
|
reason: string;
|
|
16628
17434
|
}> | undefined;
|
|
16629
17435
|
//#endregion
|
|
17436
|
+
//#region src/orchestrator/semantic-verdict.d.ts
|
|
17437
|
+
/**
|
|
17438
|
+
* The semantic terminal verdict (RV4209, the sixth comparison
|
|
17439
|
+
* experiment). The envelope has carried every semantic FACT for
|
|
17440
|
+
* releases (the claim meta, the audit meta, the waiver, the findings),
|
|
17441
|
+
* and still no surface answered the one production question in one
|
|
17442
|
+
* word: is this document semantically CLEAN? The CLI's `--strict`
|
|
17443
|
+
* deliberately keeps exit 0 on `partial` and `vacuous` (they break no
|
|
17444
|
+
* contract the pass declares), the experiment's run settled ok under a
|
|
17445
|
+
* standing waiver with three unsupported citations, and every consumer
|
|
17446
|
+
* re-derived the same verdict from four fields by hand, each with its
|
|
17447
|
+
* own bugs. This module is the ONE derivation: a pure fold over the
|
|
17448
|
+
* envelope's own facts, stamped onto the envelope by orchestrate, so
|
|
17449
|
+
* the CLI gate, the HTTP response, and the event stream read the SAME
|
|
17450
|
+
* verdict by construction instead of three re-derivations.
|
|
17451
|
+
*/
|
|
17452
|
+
/** The one-word semantic verdict plus the facts it was folded from. */
|
|
17453
|
+
interface SemanticTerminalVerdict {
|
|
17454
|
+
/**
|
|
17455
|
+
* The verdict, in refusal precedence order:
|
|
17456
|
+
* - 'not-judged': semantic machinery was configured and nothing
|
|
17457
|
+
* usable judged the shipped document (a failed or declined judge,
|
|
17458
|
+
* or a draft-stage verdict the synthesis then rewrote);
|
|
17459
|
+
* - 'findings': a judge ruled and defects stand (contradictions or
|
|
17460
|
+
* unsupported sampled citations);
|
|
17461
|
+
* - 'waived': acceptance was licensed by a standing exception, not
|
|
17462
|
+
* by coverage;
|
|
17463
|
+
* - 'partial': coverage graded below 'full' ('partial' or
|
|
17464
|
+
* 'critical-uncovered') with no waiver standing;
|
|
17465
|
+
* - 'vacuous': the document cited nothing, so the configured pass
|
|
17466
|
+
* verified nothing;
|
|
17467
|
+
* - 'clean': every configured judge ruled on the shipped document
|
|
17468
|
+
* and found nothing.
|
|
17469
|
+
*/
|
|
17470
|
+
verdict: "clean" | "findings" | "partial" | "vacuous" | "waived" | "not-judged";
|
|
17471
|
+
/** The judged document's hash: the claim judgedHash, else the audit auditedHash. */
|
|
17472
|
+
finalHash?: string;
|
|
17473
|
+
/** The final claim-coverage grade, verbatim from the meta. */
|
|
17474
|
+
coverage?: string;
|
|
17475
|
+
/** Judged claim contradictions standing at settle. */
|
|
17476
|
+
contradictions: number;
|
|
17477
|
+
/** Sampled citations judged UNSUPPORTED at settle. */
|
|
17478
|
+
unsupportedCitations: number;
|
|
17479
|
+
/** Sampled citations judged partial at settle: findings, not stops. */
|
|
17480
|
+
partialCitations: number;
|
|
17481
|
+
/** Bounded semantic repair rounds the run actually dispatched. */
|
|
17482
|
+
semanticRepairRounds: number;
|
|
17483
|
+
/** The standing exception that licensed acceptance, when one did. */
|
|
17484
|
+
waiver?: {
|
|
17485
|
+
principal: string;
|
|
17486
|
+
reason: string;
|
|
17487
|
+
expiresAt?: string;
|
|
17488
|
+
coverage: string;
|
|
17489
|
+
};
|
|
17490
|
+
/**
|
|
17491
|
+
* Why nothing usable judged the document, when 'not-judged': stable
|
|
17492
|
+
* codes ('claim-judge-failed', 'claim-judge-declined',
|
|
17493
|
+
* 'citation-judge-failed', 'citation-judge-declined',
|
|
17494
|
+
* 'draft-rewritten-unjudged'). Empty on every other verdict.
|
|
17495
|
+
*/
|
|
17496
|
+
judgeFailures: string[];
|
|
17497
|
+
}
|
|
17498
|
+
/** The envelope facts the fold reads; every field optional and untrusted. */
|
|
17499
|
+
interface SemanticVerdictInput {
|
|
17500
|
+
claimConsistencyMeta?: Record<string, unknown>;
|
|
17501
|
+
citationAuditMeta?: Record<string, unknown>;
|
|
17502
|
+
claimCoverageWaiver?: Record<string, unknown>;
|
|
17503
|
+
draftToFinal?: Record<string, unknown>;
|
|
17504
|
+
}
|
|
17505
|
+
/**
|
|
17506
|
+
* Folds the one semantic verdict out of envelope facts (RV4209).
|
|
17507
|
+
* Returns undefined when NO semantic meta is present: nothing was
|
|
17508
|
+
* configured, nothing judged anything, and absence must keep meaning
|
|
17509
|
+
* NOT RECORDED rather than a fabricated verdict. Never throws on
|
|
17510
|
+
* malformed shapes: an untyped field reads as absent, and the verdict
|
|
17511
|
+
* degrades toward 'not-judged', the fail-closed direction.
|
|
17512
|
+
*/
|
|
17513
|
+
declare function semanticTerminalVerdictOf(input: SemanticVerdictInput): SemanticTerminalVerdict | undefined;
|
|
17514
|
+
/**
|
|
17515
|
+
* The production acceptance predicate (RV4209): the one boolean a
|
|
17516
|
+
* production consumer gates on, with the stable reason when it
|
|
17517
|
+
* refuses. A verdict is production-acceptable exactly when it exists
|
|
17518
|
+
* and reads 'clean': 'partial' and 'vacuous' are legal diagnostics
|
|
17519
|
+
* (strict keeps exit 0 on them by documented design), 'waived' is a
|
|
17520
|
+
* human exception a machine gate must surface rather than inherit,
|
|
17521
|
+
* and an ABSENT verdict means nothing judged anything, which a
|
|
17522
|
+
* production gate reads fail closed. Exported so the CLI's
|
|
17523
|
+
* `--acceptance-policy production`, a server consumer, and a host
|
|
17524
|
+
* pipeline apply the SAME rule instead of three re-derivations.
|
|
17525
|
+
*/
|
|
17526
|
+
declare function productionAcceptable(verdict: SemanticTerminalVerdict | undefined): {
|
|
17527
|
+
ok: boolean;
|
|
17528
|
+
reason?: string;
|
|
17529
|
+
};
|
|
17530
|
+
//#endregion
|
|
16630
17531
|
//#region src/engine/events.d.ts
|
|
16631
17532
|
/**
|
|
16632
17533
|
* The distance between the telemetry counter bases of two consecutive
|
|
@@ -16818,17 +17719,24 @@ interface CriticalPath {
|
|
|
16818
17719
|
postFanInMs?: number;
|
|
16819
17720
|
/**
|
|
16820
17721
|
* Summed wall of completed 'synthesize' spans (0 when none). Since
|
|
16821
|
-
*
|
|
16822
|
-
* kept whole for
|
|
16823
|
-
*
|
|
16824
|
-
* benchmark read a 54-second
|
|
16825
|
-
*
|
|
16826
|
-
*
|
|
17722
|
+
* RV4206 this is exactly `finalCompositionMs + semanticJudgeMs +
|
|
17723
|
+
* citationJudgeMs + unclassifiedSynthesisMs`, kept whole for
|
|
17724
|
+
* existing consumers: the name predates the judges riding the same
|
|
17725
|
+
* role, and the eighteenth comparison benchmark read a 54-second
|
|
17726
|
+
* `synthesisMs` as a second final composition when the run had
|
|
17727
|
+
* SKIPPED synthesis and the bucket was entirely the judge and its
|
|
17728
|
+
* extract. Read the split fields.
|
|
16827
17729
|
*/
|
|
16828
17730
|
synthesisMs: number;
|
|
16829
17731
|
/**
|
|
16830
|
-
* Completed 'synthesize' spans that ARE final composition
|
|
16831
|
-
*
|
|
17732
|
+
* Completed 'synthesize' spans that ARE final composition, summed
|
|
17733
|
+
* (RV1604; classified through {@link synthesizeSpanClassOf} since
|
|
17734
|
+
* RV4206): the engine's own composition labels plus every
|
|
17735
|
+
* unlabelled span (composition was the only unlabelled engine
|
|
17736
|
+
* dispatch before RV2901 named it). A span whose label this
|
|
17737
|
+
* classifier does not know lands in `unclassifiedSynthesisMs`
|
|
17738
|
+
* instead of here: the sixth comparison run read 368889 ms of
|
|
17739
|
+
* "final composition" of which 154019 ms was the citation judge.
|
|
16832
17740
|
*/
|
|
16833
17741
|
finalCompositionMs: number;
|
|
16834
17742
|
/**
|
|
@@ -16849,6 +17757,32 @@ interface CriticalPath {
|
|
|
16849
17757
|
/** The post draft half of the split; see `draftJudgeMs`. */
|
|
16850
17758
|
finalJudgeMs: number;
|
|
16851
17759
|
/**
|
|
17760
|
+
* Completed 'synthesize' spans that are the citation entailment
|
|
17761
|
+
* audit judge (labels {@link CITATION_JUDGE_LABEL} and its suffixed
|
|
17762
|
+
* variants), summed (RV4206). Until this bucket existed the audit
|
|
17763
|
+
* judge folded into `finalCompositionMs` on BOTH surfaces: the
|
|
17764
|
+
* sixth comparison run's 368889 ms "composition" was 214870 ms of
|
|
17765
|
+
* composition plus 154019 ms of this judge, `compositionSpans` then
|
|
17766
|
+
* counted the judge as a second composition (the legible signature
|
|
17767
|
+
* of a repair round on a run that had none), and `lastCandidateMs`
|
|
17768
|
+
* stretched to the judge's end while the candidate had settled
|
|
17769
|
+
* 154 seconds earlier.
|
|
17770
|
+
*/
|
|
17771
|
+
citationJudgeMs: number;
|
|
17772
|
+
/** Completed citation-judge synthesize spans, counted (RV4206). */
|
|
17773
|
+
citationJudgeSpans: number;
|
|
17774
|
+
/**
|
|
17775
|
+
* Completed 'synthesize' spans whose label names NEITHER a judge
|
|
17776
|
+
* nor a composition (RV4206): a vocabulary member this classifier
|
|
17777
|
+
* does not know. Nonzero means the split beside it is a floor, and
|
|
17778
|
+
* saying so is the whole point: an unknown synthesize label used to
|
|
17779
|
+
* fold silently into `finalCompositionMs`, which is exactly how the
|
|
17780
|
+
* citation judge hid there for four releases.
|
|
17781
|
+
*/
|
|
17782
|
+
unclassifiedSynthesisMs: number;
|
|
17783
|
+
/** Completed unclassified synthesize spans, counted; nonzero flags the split as a floor. */
|
|
17784
|
+
unclassifiedSynthesisSpans: number;
|
|
17785
|
+
/**
|
|
16852
17786
|
* Completed composition-side synthesize spans, counted (RV3404): two
|
|
16853
17787
|
* compositions on one run is the legible signature of the bounded
|
|
16854
17788
|
* repair round (RV3307), and a count survives where milliseconds
|
|
@@ -16963,10 +17897,18 @@ interface PostFanInBreakdown {
|
|
|
16963
17897
|
coordinationToolCallsByName: Record<string, number>;
|
|
16964
17898
|
/** Completed 'synthesize' span wall clipped to the window. */
|
|
16965
17899
|
synthesisMs: number;
|
|
16966
|
-
/** The
|
|
17900
|
+
/** The composition share of `synthesisMs`, clipped (RV1604; RV4206 classification). */
|
|
16967
17901
|
finalCompositionMs: number;
|
|
16968
|
-
/** The claim-judge
|
|
17902
|
+
/** The claim-judge share of `synthesisMs`, clipped (RV1604). */
|
|
16969
17903
|
semanticJudgeMs: number;
|
|
17904
|
+
/** The citation-judge share of `synthesisMs`, clipped (RV4206). */
|
|
17905
|
+
citationJudgeMs: number;
|
|
17906
|
+
/**
|
|
17907
|
+
* The unclassified share of `synthesisMs`, clipped (RV4206):
|
|
17908
|
+
* nonzero flags the itemization as a floor, exactly like the
|
|
17909
|
+
* top-level counter.
|
|
17910
|
+
*/
|
|
17911
|
+
unclassifiedSynthesisMs: number;
|
|
16970
17912
|
/** Union length of every covered interval above. */
|
|
16971
17913
|
coveredMs: number;
|
|
16972
17914
|
/** postFanInMs minus coveredMs, floored at zero. */
|
|
@@ -17007,6 +17949,49 @@ declare function isClaimJudgeLabel(label: string | undefined): boolean;
|
|
|
17007
17949
|
*/
|
|
17008
17950
|
declare function claimJudgeStageOf(label: string | undefined): "draft" | "final" | undefined;
|
|
17009
17951
|
/**
|
|
17952
|
+
* The label the citation entailment audit judge dispatches under
|
|
17953
|
+
* (RV4004; named here since RV4206 so the reducers and the
|
|
17954
|
+
* orchestrator share one constant, the CLAIM_JUDGE_LABEL precedent):
|
|
17955
|
+
* the audit judge rides role 'synthesize' exactly like the claim
|
|
17956
|
+
* judge, and until RV4206 no reducer knew its name, so its wall
|
|
17957
|
+
* folded into final composition on both surfaces.
|
|
17958
|
+
*/
|
|
17959
|
+
declare const CITATION_JUDGE_LABEL = "citation-entailment-judge";
|
|
17960
|
+
/**
|
|
17961
|
+
* Which audit pass a citation judge label names (RV4206): the exact
|
|
17962
|
+
* {@link CITATION_JUDGE_LABEL} is the first pass over the shipped
|
|
17963
|
+
* document, and every suffixed variant is a post round re-audit
|
|
17964
|
+
* (today `citation-entailment-judge-round`, the RV4004 round and the
|
|
17965
|
+
* RV4202 merged round both dispatch it). `undefined` for every other
|
|
17966
|
+
* label; one classifier for both reducers, the RV3302 doctrine.
|
|
17967
|
+
*/
|
|
17968
|
+
declare function citationJudgePassOf(label: string | undefined): "first" | "round" | undefined;
|
|
17969
|
+
/**
|
|
17970
|
+
* The ONE synthesize-span classifier both reducers fold through
|
|
17971
|
+
* (RV4206, the RV3302 doctrine extended from a judge predicate to the
|
|
17972
|
+
* whole vocabulary): the sixth comparison experiment's citation judge
|
|
17973
|
+
* (label {@link CITATION_JUDGE_LABEL}, role 'synthesize') was
|
|
17974
|
+
* recognized by neither reducer and fell into `finalCompositionMs` on
|
|
17975
|
+
* both, so the run's 368889 ms "composition" was half verdict, its
|
|
17976
|
+
* `compositionSpans: 2` faked a repair round's signature on a clean
|
|
17977
|
+
* run, and `lastCandidateMs` overshot the candidate by 154 seconds.
|
|
17978
|
+
*
|
|
17979
|
+
* - 'claim-judge': {@link claimJudgeStageOf} recognizes the label.
|
|
17980
|
+
* - 'citation-judge': {@link citationJudgePassOf} recognizes it.
|
|
17981
|
+
* - 'composition': the engine's own composition labels
|
|
17982
|
+
* ({@link FINAL_COMPOSITION_LABEL}, {@link SYNTHESIS_NOTE_LABEL},
|
|
17983
|
+
* suffixed variants included) and every UNLABELLED span: streams
|
|
17984
|
+
* recorded before RV2901 carry no labels, and composition was the
|
|
17985
|
+
* only unlabelled engine dispatch, so absence keeps its historical
|
|
17986
|
+
* reading.
|
|
17987
|
+
* - 'unclassified': any OTHER label. A present label this classifier
|
|
17988
|
+
* does not know is a NEW vocabulary member, and folding it silently
|
|
17989
|
+
* into composition is exactly the failure this function exists to
|
|
17990
|
+
* end; the reducers bucket it under `unclassifiedSynthesisMs` with
|
|
17991
|
+
* its own nonzero span counter.
|
|
17992
|
+
*/
|
|
17993
|
+
declare function synthesizeSpanClassOf(label: string | undefined): "claim-judge" | "citation-judge" | "composition" | "unclassified";
|
|
17994
|
+
/**
|
|
17010
17995
|
* Total length of the union of possibly overlapping intervals, exported
|
|
17011
17996
|
* (RV3404) so the journal fold computes its window coverage through the
|
|
17012
17997
|
* SAME arithmetic the live RV710 decomposition uses, never a sibling
|
|
@@ -17053,6 +18038,17 @@ declare function compileRegulatedProfile(input: {
|
|
|
17053
18038
|
engine: CreateEngineOptions;
|
|
17054
18039
|
run: RunOptions;
|
|
17055
18040
|
orchestrate?: OrchestrateOptions;
|
|
18041
|
+
/**
|
|
18042
|
+
* The construction floor's strictness (RV4204). The default keeps
|
|
18043
|
+
* the RV4101 posture: constructions exposing no descriptor are
|
|
18044
|
+
* COUNTED into the hash as `unrecognized`, so the hash names its
|
|
18045
|
+
* own blind spot. 'require-recognized' turns the count into a typed
|
|
18046
|
+
* refusal naming the blind constructions: satisfiable since the
|
|
18047
|
+
* first-party adapters and the reference executors attest (RV4204),
|
|
18048
|
+
* so a compile with zero foreign constructions can now demand zero
|
|
18049
|
+
* blind spots.
|
|
18050
|
+
*/
|
|
18051
|
+
construction?: "require-recognized";
|
|
17056
18052
|
}): RegulatedProfile;
|
|
17057
18053
|
//#endregion
|
|
17058
18054
|
//#region src/runner/sandbox-bridge.d.ts
|
|
@@ -17127,4 +18123,4 @@ interface SandboxBridge {
|
|
|
17127
18123
|
declare const SANDBOX_AGENT_OPT_KEYS: readonly string[];
|
|
17128
18124
|
declare function createSandboxBridge(ctx: Ctx<never>, options: SandboxBridgeOptions): SandboxBridge;
|
|
17129
18125
|
//#endregion
|
|
17130
|
-
export { AWAIT_SCHEMA, AbandonAttempt, AbandonFold, AbandonPayload, AbandonedSpendView, AbortClass, AcceptanceChildSummary, AcceptanceTailSpec, AcceptanceTailTerms, 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, ApprovalRevocationOutcome, 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, CITATION_JUDGE_SCHEMA, 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, CitationAuditFinding, CitationAuditPlanOptions, CitationAuditRow, CitationAuditSectionMeta, 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_EXCERPT_WINDOW, DEFAULT_CITATION_MAX_SAMPLED, DEFAULT_CITATION_PATTERN, DEFAULT_CITATION_SAMPLE, DEFAULT_CITATION_SAMPLE_PER_SECTION, 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, ExecutionScope, 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_CITATION_EXCERPT_CHARS, MAX_CITATION_EXCERPT_LINES, 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, OpenWireIntent, OperationDisposition, OrchestrateAcceptance, OrchestrateCitationAudit, 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, RegulatedProfile, RejectedFinishCandidate, RepairLedger, RepairLedgerRound, 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, WireCapacityEstimate, WireCapacitySpec, WireError, Workflow, WorkflowCallOpts, type WorkflowEvent, type WorkflowEventBody, WorkflowRegistry, acceptanceJudgePasses, acceptanceTailRequiredUsd, 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, citationExcerptOf, citationTargetsValidator, citedValueValidator, claimCoverageOf, claimExpired, claimExpiry, claimIssues, claimJudgeStageOf, claimOpIssues, classifyAgentError, classifyAttemptOutcome, collectDeclaredLadders, compactMessages, compareRates, compilePermissionChain, compilePermissionPreset, compileRegulatedProfile, 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, executionScopeKey, exhaustionCodeOf, extractCandidate, failoverTriggerOf, fallbackTriggerOf, filterClaimsForRun, finalizeFires, findContradictions, finishContract, foldLedger, foldTermination, formatAcceptanceTailTerms, 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, normalizeExecutionScope, normalizeFallbacks, openWireIntentsOf, orchestrate, orchestratorAdmissionEstCostUsd, pairDraftClaims, pairRunFactClaims, parallelScope, parseCitationVerdicts, 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, repairLedgerFromJournal, replayDisposition, repositoryResearchToolset, requiredFieldsValidator, requiredMentionsValidator, requiredSectionsValidator, researchAgentProfile, resolveCitationAuditPlan, resolveModelInvocation, resolvePricing, resolveToolset, retentionKeyOf, retryClassOf, retryDelayMs, retryWireMultiplier, reviewAgentProfile, roleConfiguredInRouting, roundOneDisposition, runAgent, runProfile, sampleCitationRows, 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, wireCapacityEstimate, wordCountValidator, workflowScope, workflowSourceRef, wrapJournalStore, wrapTranscriptStore };
|
|
18126
|
+
export { AWAIT_SCHEMA, AbandonAttempt, AbandonFold, AbandonPayload, AbandonedSpendView, AbortClass, AcceptanceChildSummary, AcceptanceTailSpec, AcceptanceTailTerms, 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 AiSdkBridgeRegulatedPosture, type AppliedPricingRow, ApproachSignatureInputs, ApprovalDecision, ApprovalIdentityInput, ApprovalRevocationOutcome, 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, CITATION_JUDGE_LABEL, CITATION_JUDGE_SCHEMA, 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, CitationAuditFinding, CitationAuditPlanOptions, CitationAuditRow, CitationAuditSectionMeta, CitationExcerptUnit, 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_EXCERPT_WINDOW, DEFAULT_CITATION_MAX_SAMPLED, DEFAULT_CITATION_PATTERN, DEFAULT_CITATION_SAMPLE, DEFAULT_CITATION_SAMPLE_PER_SECTION, 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, DIGEST_DRAFT_MAX_WORDS, 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, ExecutionScope, 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_CITATION_EXCERPT_CHARS, MAX_CITATION_EXCERPT_LINES, MAX_CRITICAL_UNCOVERED, MAX_DEPTH_CEILING, MAX_RUN_FACTS_SHEET_CHARS, MAX_RUN_ID_LENGTH, MAX_TIMER_DELAY_MS, MAX_UNCOVERED_SENTENCES, MatchResult, McpConfig, type McpSourceRegulatedPosture, McpToolSource, MechanicalGateProfile, MechanicalGateVerdict, MemoryQuotaLimiter, type MetaLookupStore, type ModelAdapterRegulatedPosture, type ModelCaps, ModelChoice, type ModelClaim, ModelEpochInputs, type ModelKnowledgeHandle, type ModelKnowledgeStore, ModelListConstraint, ModelRef, ModelRetry, ModelSpec, Msg, NoProgressDetector, NodeId, NodeLinkValue, NonSerializableValueError, ORCHESTRATE_WORKFLOW_NAME, OnEscalation, OpenWireIntent, OperationDisposition, OrchestrateAcceptance, OrchestrateCitationAudit, OrchestrateClaimConsistency, OrchestrateClaimConsistencyMeta, OrchestrateContradictions, OrchestrateContradictionsMeta, OrchestrateDeterministicPatches, OrchestrateDraftToFinal, OrchestrateOptions, OrchestrateSemanticAcceptance, 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, type RegulatedPostureDescriptor, RegulatedProfile, RejectedFinishCandidate, RepairLedger, RepairLedgerRound, 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, ScopePolicy, ScopeSegment, ScriptRejected, ScriptRunner, ScrubNote, SecretMasker, SectionMatchMode, SectionPatternEntry, SectionalRoundPlan, SemanticPassSummary, SemanticPassesSummary, SemanticTerminalVerdict, SemanticVerdictInput, 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, type ToolExecutorRegulatedPosture, 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, WireCapacityEstimate, WireCapacitySpec, WireError, Workflow, WorkflowCallOpts, type WorkflowEvent, type WorkflowEventBody, WorkflowRegistry, acceptanceJudgePasses, acceptanceTailRequiredUsd, accountSpendFromJournal, admissionReserveUsd, affordableOutputTokens, agentErrorFromWire, agentErrorToWire, agentResultWire, agentScope, agentTypeBucket, applyClaimOps, applyFinishRepairHints, applyStructuredOutputTier, approachSigCoarse, approachSigOf, archiveDeprecatedModelOps, assertFencedWrites, assertSafeRunId, atCompactionThreshold, attestToolset, attributionBucket, auditRun, auditRuns, buildAbandonFold, buildAdapterRegistry, buildCostReport, buildDeriverRegistry, buildOrchestratorTools, buildTerminationInitValue, buildToolContext, canRideLoopTurn, candidateHashOf, canonicalIsolationTag, canonicalizeLadder, canonicalizeSchema, capIssues, capsHashOf, checkFloors, checkpointRefFor, childCoveragePrefix, childRostersFromJournal, citationExcerptOf, citationJudgePassOf, citationTargetsValidator, citationUnitExcerptOf, citedValueValidator, claimCoverageOf, claimExpired, claimExpiry, claimIssues, claimJudgeStageOf, claimOpIssues, classifyAgentError, classifyAttemptOutcome, clauseAround, collectDeclaredLadders, compactMessages, compareRates, compilePermissionChain, compilePermissionPreset, compileRegulatedProfile, 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, executionScopeDigest, executionScopeKey, exhaustionCodeOf, extractCandidate, failoverTriggerOf, fallbackTriggerOf, filterClaimsForRun, finalizeFires, findContradictions, finishContract, foldLedger, foldTermination, formatAcceptanceTailTerms, 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, normalizeExecutionScope, normalizeFallbacks, openWireIntentsOf, orchestrate, orchestratorAdmissionEstCostUsd, pairDraftClaims, pairRunFactClaims, parallelScope, parseCitationVerdicts, parseModelRef, parseScopePath, parseTerminalEnvelope, persistedTerminalEnvelope, phiInitialOf, pilotAgentProfile, pipelineScope, planNodeScope, preflightEstimate, priceComponentsOf, priceEntryBilling, priceEntryUsage, priceUsdOf, productionAcceptable, 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, repairLedgerFromJournal, replayDisposition, repositoryResearchToolset, requiredFieldsValidator, requiredMentionsValidator, requiredSectionsValidator, researchAgentProfile, resolveCitationAuditPlan, resolveModelInvocation, resolvePricing, resolveToolset, retentionKeyOf, retryClassOf, retryDelayMs, retryWireMultiplier, reviewAgentProfile, roleConfiguredInRouting, roundOneDisposition, runAgent, runProfile, sampleCitationRows, sanitizeTerminalText, sanitizeTokenCount, sanitizeUsage, sanitizeUsageDelta, scanJournalCompatibility, schemaHash, schemaHashOfSpec, scopeBucket, sectionCitationsValidator, sectionPatternCountValidator, sectionalRoundPlan, selectStructuredOutputTier, selfTestFinishValidation, semanticTerminalVerdictOf, shouldCompact, snapshotQuotaRules, snapshotUsage, spawnDepthOf, spliceSections, statementFromRows, statementRowsFromDelimited, stripFencedBlocks, sumUsage, summarizeInstruction, summarizeOutput, synthesisCandidatesFromJournal, synthesizeSpanClassOf, 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, verifyCandidateBytes, wireCapacityEstimate, wordCountValidator, workflowScope, workflowSourceRef, wrapJournalStore, wrapTranscriptStore };
|