dsh-completion-guard 0.4.3 → 0.5.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.
@@ -54,6 +54,13 @@ declare function requestedTargetAuthorizesMutation(action: StatefulAction, reque
54
54
  declare function validateActionManifest(): string[];
55
55
  //#endregion
56
56
  //#region src/domain/rebind.d.ts
57
+ interface RebindArgs {
58
+ operation: "propose" | "query" | "withdraw";
59
+ item_id?: string;
60
+ proposal_id?: string;
61
+ clauses?: string[];
62
+ clarification_item_ids?: string[];
63
+ }
57
64
  interface RebindProposal {
58
65
  id: string;
59
66
  digest: string;
@@ -78,7 +85,56 @@ interface RebindProposal {
78
85
  status: "pending" | "confirmed" | "withdrawn" | "stale";
79
86
  confirmationEvent?: string;
80
87
  replacementIds?: string[];
81
- }
88
+ /** Proposals created under the 0.5 protocol carry their replay schema. */
89
+ protocol?: "v050";
90
+ /** Matching control line observed during a non-durable replay (not applied). */
91
+ observedUnconfirmedEvent?: string;
92
+ }
93
+ /** Bounded alignment facts for a mismatched partition, budget-aware. */
94
+ interface BoundedSource {
95
+ length: number;
96
+ sha256: string;
97
+ text?: string;
98
+ head?: string;
99
+ tail?: string;
100
+ }
101
+ /** Typed propose outcomes; `undefined` never hides WHY a proposal failed. */
102
+ type ProposeOutcome = {
103
+ ok: true;
104
+ proposal: RebindProposal;
105
+ } | {
106
+ ok: false;
107
+ reasonCode: "item_not_found" | "item_not_pending" | "unsupported_clarification" | "partition_mismatch" | "payload_too_large" | "no_certification_gain";
108
+ /** Bounded alignment facts for partition mismatches, within the 12 KiB budget. */
109
+ source?: BoundedSource;
110
+ };
111
+ /** Exact source partition is deliberately conservative: a proposal cannot
112
+ * invent authority or silently discard a difficult acceptance clause. */
113
+ declare function proposeRebind(p: GuardProjection, args: RebindArgs): RebindProposal | undefined;
114
+ /** 0.5 proposer with typed failures and the no-certification-gain gate. */
115
+ declare function proposeRebindOutcome(p: GuardProjection, args: RebindArgs): ProposeOutcome;
116
+ /**
117
+ * Frozen v0.4.2/v0.4.3 proposer: identical semantics to the 0.4 releases,
118
+ * without the 0.5 no-gain gate or typed failures. Used ONLY to replay
119
+ * historical tool results and historical confirmations faithfully.
120
+ */
121
+ declare function proposeRebindV042(p: GuardProjection, args: RebindArgs): RebindProposal | undefined;
122
+ /** Stable attempt key: item identity, exact inputs, and outcome class. Identical
123
+ * retries collapse onto it no matter how many unrelated log rows intervene. */
124
+ declare function rebindAttemptKey(p: GuardProjection, args: RebindArgs, reasonCode: string): string;
125
+ declare function rebindResponse(p: GuardProjection, args: RebindArgs): Record<string, unknown>;
126
+ /**
127
+ * Replay validation with version dispatch (A12): structured v0.5 results
128
+ * match semantically (display text may evolve); results carrying the frozen
129
+ * 0.4 response shapes validate against the frozen 0.4 rules exactly. Anything
130
+ * else is tampered or unknown and never replays.
131
+ */
132
+ declare function replayRebindResult(p: GuardProjection, args: RebindArgs, recorded: Record<string, unknown>): void;
133
+ /** Invoked only for a canonical root user message, never tool or plugin text.
134
+ * The single durable confirmation event is the atomic transaction commit:
135
+ * the confirmation validates against the state BEFORE this message, and the
136
+ * caller processes the remaining text afterwards with its own semantics. */
137
+ declare function confirmRebind(p: GuardProjection, proposalId: string, eventId: string, durable: boolean): boolean;
82
138
  //#endregion
83
139
  //#region src/domain/digest.d.ts
84
140
  type TypedObject = {
@@ -173,6 +229,8 @@ interface GuardItem {
173
229
  targetCaptureReasonCode?: TargetCaptureReasonCode;
174
230
  authority?: "root_instruction" | "root_adoption" | "legacy_authority_unclassified";
175
231
  legacyFlags?: Array<"legacy_generic_run" | "legacy_authority_unclassified">;
232
+ /** v0.5 intent layer: inquiries keep the obligation but are not machine certifiable. */
233
+ taskKind?: "inquiry" | "action";
176
234
  waitAuthorization?: WaitAuthorization;
177
235
  deferAuthorization?: DeferAuthorization;
178
236
  persistenceAuthorization?: PersistenceAuthorization;
@@ -304,9 +362,17 @@ interface GuardProjection {
304
362
  offendingEvidenceIds?: string[];
305
363
  }>;
306
364
  lastCheckpointRejectionRevision?: number;
365
+ /** Bounded fact about the latest rejected confirmation attempt (never raw text). */
366
+ lastConfirmationRejection?: {
367
+ eventSeq: number;
368
+ kind: "malformed" | "ambiguous";
369
+ reason: string;
370
+ };
307
371
  continuationAttempts: Map<number, number>;
308
372
  /** Process-local one-shot fallback counters keyed by epoch + contract revision. */
309
373
  persistenceCorrectionAttempts: Map<string, number>;
374
+ /** Log-derived count of rejected rebind attempts by stable attempt key; survives reload. */
375
+ rebindRejections: Map<string, number>;
310
376
  integrity: GuardIntegrity;
311
377
  }
312
378
  declare function createProjection(): GuardProjection;
@@ -326,6 +392,10 @@ interface DeriveResult {
326
392
  enablementTransitioned: boolean;
327
393
  /** Sequence of the last compaction summary in the log, or -1 when none. */
328
394
  lastCompactionSeq: number;
395
+ /** True when a real root user input (text or asset) is present while enabled. */
396
+ realRootInputSeen: boolean;
397
+ /** True when the durable log carries the 0.5 first-step protocol boundary. */
398
+ protocolV4Present: boolean;
329
399
  }
330
400
  interface DerivedEnvelope {
331
401
  seq: number;
@@ -454,6 +524,41 @@ interface CheckpointResult {
454
524
  }
455
525
  declare function certifyCheckpoint(projection: GuardProjection, bindings: EvidenceBinding[], id: string, commit?: boolean): CheckpointResult;
456
526
  //#endregion
527
+ //#region src/domain/confirm-parse.d.ts
528
+ /**
529
+ * 0.5 confirmation-line grammar (A10/A11).
530
+ *
531
+ * A durable root message may carry AT MOST ONE rebind confirmation as a
532
+ * restricted top-level control line; everything after it is follow-up content
533
+ * processed with its own semantics. The parser is intentionally conservative:
534
+ * - only the first non-empty top-level line can be a control line;
535
+ * - lines inside code fences, quoted lines, and blockquote/forward wrappers
536
+ * are data, never control;
537
+ * - an embedded or mid-sentence control string is `malformed`, never a
538
+ * confirmation;
539
+ * - a matching control line that is NOT in first position, or an explicit
540
+ * reversal in the remainder, makes the whole message `ambiguous` (stays
541
+ * unconfirmed; no partial effect).
542
+ */
543
+ type ParsedConfirmation = {
544
+ kind: "none";
545
+ } | {
546
+ kind: "malformed";
547
+ reason: "embedded_control_text" | "inside_code_fence" | "quoted";
548
+ } | {
549
+ kind: "ambiguous";
550
+ reason: "multiple_control_lines" | "late_control_line" | "reversal_in_remainder";
551
+ } | {
552
+ kind: "confirm";
553
+ proposalId: string;
554
+ remainder: string;
555
+ };
556
+ declare const CONFIRM_LINE_PATTERN: RegExp;
557
+ /** Parse control without rewriting the follow-up's authority wrappers. */
558
+ declare function parseConfirmationMessage(text: string): ParsedConfirmation;
559
+ /** Whether a recorded tool/result carries the frozen v0.4.x response shape. */
560
+ declare function isFrozenV042RebindResponse(recorded: unknown): boolean;
561
+ //#endregion
457
562
  //#region src/domain/conversation.d.ts
458
563
  type UserInteractionKind = "instruction" | "conversational";
459
564
  /**
@@ -469,6 +574,15 @@ type UserInteractionKind = "instruction" | "conversational";
469
574
  * forms, and finally a progression lead over a featureless remainder.
470
575
  */
471
576
  declare function classifyUserInteraction(text: string): UserInteractionKind;
577
+ type TaskIntent = "inquiry" | "action";
578
+ /**
579
+ * Separate intent layer (v0.5): whether the captured work is an inquiry about
580
+ * state or an ordered change. Intent NEVER drops capture or weakens
581
+ * protection — an inquiry keeps its original obligation; it only changes what
582
+ * certification support the diagnosis reports (inquiries are not machine
583
+ * certifiable by the current adapters and must not be re-bound).
584
+ */
585
+ declare function classifyTaskIntent(text: string): TaskIntent;
472
586
  //#endregion
473
587
  //#region src/domain/contract-segment.d.ts
474
588
  type AuthorityBlockKind = "instruction" | "reference" | "quoted" | "code" | "uncertain";
@@ -528,29 +642,24 @@ declare const ALPHA2_HOST_PACKAGES: PackageRow[];
528
642
  */
529
643
  declare const ALPHA2_DSHMARKET_139_HOST_PACKAGES: PackageRow[];
530
644
  /**
531
- * Audited host cohort registry. The rc.2 cohort keeps the exact identities
532
- * audited for 0.3.0/0.3.1 on macOS and Windows. The alpha.2 cohort carries the
533
- * exact package graph extracted from native macOS and Windows DSH
534
- * `0.1.2-alpha.2` / dshmarket `1.38.1` runtimes. The alpha.2+dshmarket-1.39.0
535
- * cohort carries the exact upgraded-Windows graph. The alpha.3 cohort carries
536
- * the graph audited in the 2026-09-01 annex. The rc.1 cohort carries the exact
537
- * runtime plus dshmarket 1.41.0 graph audited natively on macOS, then confirmed
538
- * on Windows: the 2026-09-04 native Windows rc.1 runtime graph (dshmarket
539
- * 1.41.0) was extracted from the runtime lockfile and verified row-for-row
540
- * identical (name, version, registry integrity) to the posix extraction before
541
- * this cohort was widened. Graphs that mix cohorts, lack
542
- * rows, duplicate rows, or use identities outside every registered cohort
543
- * fail closed.
645
+ * Historical audited host cohort registry. Every entry keeps the exact package
646
+ * identities audited natively for a past Guard release (CG-DSH-001 whole-graph
647
+ * contracts). These are historical verification facts only: since 0.5.0 the
648
+ * active support target is `0.1.2-rc.1`, so an installed graph from any of
649
+ * these cohorts including previous RCs and alphas is no longer an active
650
+ * support entry and fails closed in `evaluateHostLock`.
544
651
  */
545
652
  declare const LEGACY_HOST_COHORTS: readonly HostCohort[];
546
653
  /** Core-lock/v1 separates optional market identity from the audited DSH graph.
547
- * Legacy rows remain available for historical verification; they are never
548
- * silently re-labelled as a newly accepted core lock.
654
+ * The active support target is exactly one audited cohort, `0.1.2-rc.1`:
655
+ * historical cohorts stay in `LEGACY_HOST_COHORTS` as verification data but are
656
+ * never silently re-labelled as accepted active locks, and an installed
657
+ * historical graph fails closed under `evaluateHostLock`.
549
658
  */
550
659
  declare const HOST_COHORTS: readonly HostCohort[];
551
660
  /**
552
- * rc.2 audited package identities (first registry cohort). The audited
553
- * cohort is an atomic whole-graph contract (CG-DSH-001): any drifted,
661
+ * rc.1 audited package identities: the active support cohort since 0.5.0. The
662
+ * audited cohort is an atomic whole-graph contract (CG-DSH-001): any drifted,
554
663
  * duplicated, unknown-version, unbound, OR MISSING row fails the whole lock
555
664
  * closed (`host_lock_missing`); no capability inherits independence from a
556
665
  * partially present graph.
@@ -663,6 +772,14 @@ declare const DEFAULT_HOST_LOCK: HostLockEvaluation;
663
772
  declare const CAPTURE_V042_NOTICE = "Context Guard capture boundary: v0.4.2";
664
773
  declare const PROTOCOL_V3_NOTICE = "Context Guard protocol boundary: v3.0.0";
665
774
  /**
775
+ * 0.5.0 first-step boundary: written at the first real root input step (never
776
+ * at session start), before the constrained root message in the same batch.
777
+ * It implies the v3 protocol and v0.4.2 capture semantics and marks the cut
778
+ * where the 0.5 confirmation syntax becomes active; earlier notices keep
779
+ * their historical meaning for replay.
780
+ */
781
+ declare const PROTOCOL_V4_NOTICE = "Context Guard protocol boundary: v4.0.0";
782
+ /**
666
783
  * Pure, deterministic re-derivation of the guard projection from the DSH
667
784
  * native event log. Context Guard never writes custom session events, so every
668
785
  * piece of state is derived from `command/run`, `user/message`, `tool/call`,
@@ -671,6 +788,50 @@ declare const PROTOCOL_V3_NOTICE = "Context Guard protocol boundary: v3.0.0";
671
788
  */
672
789
  declare function deriveProjection(sourceEvents: readonly DerivedEnvelope[], config: DeriveConfig, scope: DeriveScope, durableConfirmed: boolean, hostLock?: HostLockEvaluation): DeriveResult;
673
790
  //#endregion
791
+ //#region src/domain/diagnostics.d.ts
792
+ type TaskKind = "inquiry" | "action" | "deliverable" | "constraint" | "unresolved";
793
+ type CertificationSupport = "supported" | "unsupported" | "needs_target" | "needs_evidence" | "unavailable";
794
+ type Repairability = "agent_repairable" | "user_input_required" | "unsupported" | "historical_gap" | "none";
795
+ interface DiagnosisNextAction {
796
+ kind: "report_only" | "collect_evidence" | "checkpoint" | "clarify_target" | "restore_host" | "none";
797
+ tool?: string;
798
+ required_input?: string;
799
+ resume_condition?: string;
800
+ }
801
+ /** The single unified diagnosis shared by checkpoint, recovery, rebind,
802
+ * evidence/action, and status surfaces (v0.5). It states what certification
803
+ * can do, never invents targets, evidence IDs, or authority. */
804
+ interface UnifiedItemDiagnosis {
805
+ item_id: string;
806
+ item_revision: number;
807
+ contract_revision: number;
808
+ task_kind: TaskKind;
809
+ certification: CertificationSupport;
810
+ reason_code: string;
811
+ repairability: Repairability;
812
+ missing_fields: string[];
813
+ missing_facets: Array<"resolution" | "effect" | "state">;
814
+ next_action: DiagnosisNextAction;
815
+ /** Stable over unchanged inputs; identical retries collapse onto it. */
816
+ attempt_fingerprint: string;
817
+ }
818
+ /**
819
+ * The pure repair judge. It decides between: fixable from existing evidence,
820
+ * missing pre-evidence, missing a user target choice, not supported by any
821
+ * adapter, an executed-without-evidence historical gap, or nothing to do —
822
+ * and it NEVER recommends a rebind that cannot change certification.
823
+ */
824
+ declare function deriveItemDiagnosis(p: GuardProjection, item: GuardItem): UnifiedItemDiagnosis;
825
+ /** Legacy compact view, now derived from the single unified diagnosis. */
826
+ declare function itemDiagnosis(p: GuardProjection, item: GuardItem): {
827
+ certifiable: boolean;
828
+ reason_code: string;
829
+ next_step: string;
830
+ };
831
+ declare function evidenceAvailabilityReason(evidence: GuardEvidence): string | undefined;
832
+ /** Shared display filter; certification remains the full domain check. */
833
+ declare function relevantEvidence(p: GuardProjection, item: GuardItem, evidence: GuardEvidence): boolean;
834
+ //#endregion
674
835
  //#region src/domain/evidence.d.ts
675
836
  interface ToolCallInput {
676
837
  callId: string;
@@ -867,6 +1028,12 @@ interface LinearCommitReadback {
867
1028
  * wildcard refspecs, and implicit HEAD/ref destinations fail closed because
868
1029
  * none occur in an accepted exact shape.
869
1030
  */
1031
+ /**
1032
+ * Canonical command templates, derived from the SAME audited argv shapes the
1033
+ * parser accepts above. Guidance surfaces (context_guard_prepare) render these
1034
+ * so a tool description can never advertise a command the executor rejects.
1035
+ */
1036
+ declare const GIT_COMMAND_TEMPLATES: Partial<Record<GitAdapterAction, Record<string, unknown>>>;
870
1037
  declare function parseGitCommandManifest(command: string, surface: CanonicalCommandSurface): GitCommandParseResult;
871
1038
  /** Bind the command's explicit remote/ref identities to the canonical target. */
872
1039
  declare function gitCommandMatchesTarget(manifest: GitCommandManifest, target: GitTargetIdentity): boolean;
@@ -952,6 +1119,75 @@ declare function hostLockContextFromComposedDump(text: string): {
952
1119
  };
953
1120
  declare function verifyComposedHostLockDump(text: string, expected: HostLockEvaluation, roots?: Pick<ActiveProfileHostLock, "runtimeRoot" | "profileRoot">): HostLockEvaluation;
954
1121
  //#endregion
1122
+ //#region src/domain/lifecycle.d.ts
1123
+ /**
1124
+ * Runtime-owned startup lifecycle. It expresses the activation strategy of a
1125
+ * session, never contract or certification state: `armed` means protection is
1126
+ * enabled and waiting for the first real root user input, `active` means that
1127
+ * input has entered a step, and `disabled` means an explicit `off` (or an
1128
+ * opt-in session without `on`). Certification still depends only on durable
1129
+ * root events, the current contract, and the evidence chain.
1130
+ */
1131
+ type LifecyclePhase = "armed" | "active" | "disabled";
1132
+ interface FirstStepInjection {
1133
+ /** Versioned protocol boundary appended before this step's messages. */
1134
+ boundary: string;
1135
+ /** Compact first-step guidance describing the activated protection. */
1136
+ guidance: string;
1137
+ }
1138
+ /** One claimed pre-step message: a validated host `UserMessage`. */
1139
+ interface ClaimedMessage {
1140
+ source?: {
1141
+ kind?: unknown;
1142
+ plugin?: unknown;
1143
+ };
1144
+ content?: unknown;
1145
+ }
1146
+ /**
1147
+ * Pure preview of one claimed pre-step batch. Messages claimed by the loop are
1148
+ * NOT yet persisted as `user/message` events at pre-step time, so this reads
1149
+ * only the validated claim: it never writes contract items, evidence, or
1150
+ * authority. A message activates protection when it carries a root user source
1151
+ * and real content — non-empty text, or any non-text part (image/attachment).
1152
+ * Whitespace-only messages with no other parts are real input but state no
1153
+ * task, so they neither activate nor produce contract items.
1154
+ */
1155
+ declare function claimedBatchHasRealRootInput(messages: readonly unknown[]): boolean;
1156
+ interface FirstStepPreviewInput {
1157
+ activation: "opt-in" | "always";
1158
+ /** Log-derived enablement: an explicit `off` suppresses `always` until `on`. */
1159
+ enabled: boolean;
1160
+ /** The durable log already contains a v4 (or newer) Guard boundary. */
1161
+ boundaryPresent: boolean;
1162
+ /** The session is a delegated/subagent session, never a root conversation. */
1163
+ delegated: boolean;
1164
+ }
1165
+ /**
1166
+ * Pure decision for the first-step activation injection when protection is enabled. The
1167
+ * boundary must precede the first constrained root message inside the SAME
1168
+ * persisted step batch; guidance is compact and never claims a recovery that
1169
+ * did not happen. `opt-in` reaches this path only after its explicit `on` command. Delegated sessions receive neither: their
1170
+ * scope arrives through the parent's delegation prompt (A04).
1171
+ */
1172
+ declare function previewFirstStepInjection(input: FirstStepPreviewInput, claimedRealInput: boolean): FirstStepInjection | undefined;
1173
+ /**
1174
+ * Compact first-step guidance: protection has started, what it protects, and
1175
+ * the working order for stateful actions. It is not a task, asks no question,
1176
+ * and contains no recovery wording.
1177
+ */
1178
+ declare const FIRST_STEP_GUIDANCE = "Context Guard is now protecting this session: requirements from your messages stay open until they are certified with matching durable evidence. Before a stateful action (write, install, commit, push, publish, restart), call context_guard_prepare to see the supported command shape and required resolution/effect/state order; collect evidence with the guarded tools, then close items with context_guard_checkpoint. Ordinary answers and investigations need no certification.";
1179
+ /**
1180
+ * Lifecycle phase derived from durable facts. `enabled` is the log-derived
1181
+ * enablement (`always`, or the explicit `on`/`off` command sequence), and
1182
+ * `realInputSeen` records that a real root user input already entered a step.
1183
+ * Pure over its inputs so status display and tests cannot drift from the
1184
+ * injection decision.
1185
+ */
1186
+ declare function lifecyclePhase(input: {
1187
+ enabled: boolean;
1188
+ realInputSeen: boolean;
1189
+ }): LifecyclePhase;
1190
+ //#endregion
955
1191
  //#region src/domain/manifest.d.ts
956
1192
  /**
957
1193
  * The single source of truth for the certifiable command surface (v0.2).
@@ -1160,4 +1396,4 @@ declare function latestAssistantText(events: readonly {
1160
1396
  //#region src/domain/supersession.d.ts
1161
1397
  declare function supersedeItem(items: Map<string, GuardItem>, oldId: string, replacement: GuardItem): boolean;
1162
1398
  //#endregion
1163
- export { packageRowsFromPnpmLock as $, BoundaryDisposition as $n, normalizeClause as $r, GOAL_HOST_PACKAGES as $t, createProofManifest as A, CheckpointResult as An, createProjection as Ar, parsePwshCommand as At, COMMAND_SURFACE_MANIFEST as B, extractMethod as Bn, SUPPORTED_EVIDENCE_ADAPTERS as Br, isDeterministicCheck as Bt, ProofKind as C, AuthorityBlock as Cn, PersistenceAuthorization as Cr, verifiedLinearCommitReadback as Ct, SessionQuery as D, segmentAuthorityBlocks as Dn, TargetValue as Dr, ShellParseStatus as Dt, ProofSurface as E, authorityCaptureCounts as En, TargetTuple as Er, ParsedShell as Et, EvidenceFacetCoverage as F, ClauseSegment as Fn, ActionSpec as Fr, ToolResultInput as Ft, ActiveProfileHostLock as G, BoundaryQualification as Gn, requestedTargetAuthorizesMutation as Gr, ALPHA2_DSHMARKET_139_HOST_PACKAGES as Gt, ManifestIssue as H, isInformationalMessage as Hn, StatefulAction as Hr, CAPTURE_V042_NOTICE as Ht, bindingSatisfies as I, captureClause as In, CERTIFICATE_VERSION as Ir, ToolSubject as It, hostLockContextFromComposedDump as J, GoalBoundaryAccess as Jn, semanticActionFromText as Jr, BASE_HOST_PACKAGES as Jt, HostProfileError as K, BoundaryRequest as Kn, requestedTargetMatchesResolved as Kr, ALPHA2_HOST_PACKAGES as Kt, evidenceCoverage as L, captureItem as Ln, SEMANTIC_ACTIONS as Lr, evidenceFromPersistedToolResult as Lt, proofEvidenceConstraints as M, certifyCheckpoint as Mn, ACTION_MANIFEST as Mr, goalCompletionDenial as Mt, sessionQuery as N, CaptureScope as Nn, ACTION_MANIFEST_VERSION as Nr, hasCurrentCertificate as Nt, bindProofToProjection as O, UserInteractionKind as On, VerificationContract as Or, canonicalArgvFromCommand as Ot, validateProofManifest as P, ClassifiedClause as Pn, ActionManifest as Pr, ToolCallInput as Pt, packageRowsFromActiveGraph as Q, qualifyBoundary as Qn, digestStrings as Qr, ExecutableIdentityBinding as Qt, evidenceMatchesItem as R, classifyClause as Rn, STATEFUL_ACTIONS as Rr, extractTextContent as Rt, PROOF_PROTOCOL_VERSION as S, currentContractDigest as Sn, HostStatus as Sr, revalidateGitPrestate as St, ProofObligation as T, AuthorityKind as Tn, TargetCaptureStatus as Tr, CanonicalCommandSurface as Tt, OperationVerbEntry as U, segmentClauses as Un, actionCompatible as Ur, PROTOCOL_V3_NOTICE as Ut, CommandSurfaceManifest as V, extractOperation as Vn, SemanticAction as Vr, withDurability as Vt, validateManifest as W, BoundaryEffectuation as Wn, isStatefulAction as Wr, deriveProjection as Wt, injectActiveProfileHostLock as X, effectuateBoundary as Xn, validateActionTarget as Xr, EXPECTED_HOST_PACKAGES as Xt, hostLockRowsFromComposedDump as Y, availableBoundaryQualifications as Yn, validateActionManifest as Yr, DEFAULT_HOST_LOCK as Yt, inspectTargetHostGraph as Z, isCurrentAcceptedBoundary as Zn, canonicalizePath as Zr, ExecutableIdentity as Zt, openItems as _, evaluateExternalWaitCapability as _n, GuardItem as _r, commitTreeSnapshotDigest as _t, classifyCompletionClaim as a, HostCohort as an, DerivedEnvelope as ar, GitAdapterAction as at, ALPHA3_HOST_PACKAGES as b, evaluateToolSurfaceCapability as bn, GuardOperation as br, gitCommandMatchesTarget as bt, isWholeTaskCompletionClaim as c, HostLockContext as cn, EvidenceParseStatus as cr, GitCommandParseResult as ct, snapshotSessionEvents as d, HostPlatform as dn, ExternalOperation as dr, GitEffectRunner as dt, sanitizeClauseText as ei, HOST_CAPABILITY_PACKAGE_GROUPS as en, BoundaryQualificationKind as er, readActiveHostGraph as et, RC1_HOST_PACKAGES as f, HostProfileKind as fn, GoalRef as fr, GitPrestateCheck as ft, closingHint as g, bindLiveGoalCapability as gn, GuardIntegrity as gr, commitIndexSnapshotDigest as gt, RecoveryOptions as h, bindExecutableIdentity as hn, GuardEvidence as hr, LinearCommitReadback as ht, TurnStoppingDecision as i, HostCapabilityRequest as in, DeriveScope as ir, GIT_COMMAND_MANIFEST_IDS as it, proofDigest as j, RejectedBinding as jn, PackageRow as jr, parseShellCommand as jt, canonicalProjection as k, classifyUserInteraction as kn, WaitAuthorization as kr, isRunExecutable as kt, latestAssistantText as l, HostLockEvaluation as ln, EvidenceRole as lr, GitCommandRejected as lt, MIN_RECOVERY_CHAR_BUDGET as m, LEGACY_HOST_COHORTS as mn, GuardCheckpoint as mr, GitTargetIdentity as mt, AssistantOutcomeObservation as n, sha256 as ni, HostCapabilityEvaluation as nn, DeriveConfig as nr, resolveInstalledHostLock as nt, decideTurnBoundary as o, HostCohortSelection as on, EvidenceBinding as or, GitCommandAccepted as ot, DEFAULT_RECOVERY_CHAR_BUDGET as p, HostToolSurface as pn, GuardBoundary as pr, GitPrestateEnvelope as pt, TargetHostGraph as q, GoalActivationState as qn, semanticActionFromCommand as qr, AuditedExecutable as qt, CompletionDisposition as r, HostCapabilityId as rn, DeriveResult as rr, verifyComposedHostLockDump as rt, decideTurnStopping as s, HostCohortSelectionReason as sn, EvidenceOutcome as sr, GitCommandManifest as st, supersedeItem as t, sanitizeUrl as ti, HOST_COHORTS as tn, DeferAuthorization as tr, resolveActiveProfileHostLock as tt, observeAssistantOutcome as u, HostLockStatus as un, ExpectedTransition as ur, GitEffectExecution as ut, recoveryDigest as v, evaluateHostCapability as vn, GuardItemKind as vr, createGitPrestateEnvelope as vt, ProofManifest as w, AuthorityBlockKind as wn, TargetCaptureReasonCode as wr, CanonicalArgv as wt, PROOF_KINDS as x, selectHostCohort as xn, GuardProjection as xr, parseGitCommandManifest as xt, renderRecoveryPacket as y, evaluateHostLock as yn, GuardItemStatus as yr, executeRevalidatedGitEffect as yt, isVerifyingCapability as z, extractArtifactPaths as zn, STOP_PROTOCOL_VERSION as zr, extractToolSubject as zt };
1399
+ export { ActiveProfileHostLock as $, isFrozenV042RebindResponse as $n, VerificationContract as $r, Repairability as $t, createProofManifest as A, semanticActionFromText as Ai, HostPlatform as An, DerivedEnvelope as Ar, parseGitCommandManifest as At, COMMAND_SURFACE_MANIFEST as B, selectHostCohort as Bn, GuardEvidence as Br, parseShellCommand as Bt, ProofKind as C, SemanticAction as Ci, HostCapabilityRequest as Cn, qualifyBoundary as Cr, GitTargetIdentity as Ct, SessionQuery as D, requestedTargetAuthorizesMutation as Di, HostLockContext as Dn, DeriveConfig as Dr, createGitPrestateEnvelope as Dt, ProofSurface as E, isStatefulAction as Ei, HostCohortSelectionReason as En, DeferAuthorization as Er, commitTreeSnapshotDigest as Et, EvidenceFacetCoverage as F, normalizeClause as Fi, bindLiveGoalCapability as Fn, ExpectedTransition as Fr, ParsedShell as Ft, ClaimedMessage as G, authorityCaptureCounts as Gn, GuardOperation as Gr, ToolSubject as Gt, ManifestIssue as H, AuthorityBlock as Hn, GuardItem as Hr, hasCurrentCertificate as Ht, bindingSatisfies as I, sanitizeClauseText as Ii, evaluateExternalWaitCapability as In, ExternalOperation as Ir, ShellParseStatus as It, FirstStepPreviewInput as J, UserInteractionKind as Jn, PersistenceAuthorization as Jr, extractToolSubject as Jt, FIRST_STEP_GUIDANCE as K, segmentAuthorityBlocks as Kn, GuardProjection as Kr, evidenceFromPersistedToolResult as Kt, evidenceCoverage as L, sanitizeUrl as Li, evaluateHostCapability as Ln, GoalRef as Lr, canonicalArgvFromCommand as Lt, proofEvidenceConstraints as M, validateActionTarget as Mi, HostToolSurface as Mn, EvidenceOutcome as Mr, verifiedLinearCommitReadback as Mt, sessionQuery as N, canonicalizePath as Ni, LEGACY_HOST_COHORTS as Nn, EvidenceParseStatus as Nr, CanonicalArgv as Nt, bindProofToProjection as O, requestedTargetMatchesResolved as Oi, HostLockEvaluation as On, DeriveResult as Or, executeRevalidatedGitEffect as Ot, validateProofManifest as P, digestStrings as Pi, bindExecutableIdentity as Pn, EvidenceRole as Pr, CanonicalCommandSurface as Pt, previewFirstStepInjection as Q, ParsedConfirmation as Qn, TargetValue as Qr, DiagnosisNextAction as Qt, evidenceMatchesItem as R, sha256 as Ri, evaluateHostLock as Rn, GuardBoundary as Rr, isRunExecutable as Rt, PROOF_PROTOCOL_VERSION as S, SUPPORTED_EVIDENCE_ADAPTERS as Si, HostCapabilityId as Sn, isCurrentAcceptedBoundary as Sr, GitPrestateEnvelope as St, ProofObligation as T, actionCompatible as Ti, HostCohortSelection as Tn, BoundaryQualificationKind as Tr, commitIndexSnapshotDigest as Tt, OperationVerbEntry as U, AuthorityBlockKind as Un, GuardItemKind as Ur, ToolCallInput as Ut, CommandSurfaceManifest as V, currentContractDigest as Vn, GuardIntegrity as Vr, goalCompletionDenial as Vt, validateManifest as W, AuthorityKind as Wn, GuardItemStatus as Wr, ToolResultInput as Wt, claimedBatchHasRealRootInput as X, classifyUserInteraction as Xn, TargetCaptureStatus as Xr, withDurability as Xt, LifecyclePhase as Y, classifyTaskIntent as Yn, TargetCaptureReasonCode as Yr, isDeterministicCheck as Yt, lifecyclePhase as Z, CONFIRM_LINE_PATTERN as Zn, TargetTuple as Zr, CertificationSupport as Zt, openItems as _, ActionSpec as _i, ExecutableIdentityBinding as _n, BoundaryRequest as _r, GitCommandParseResult as _t, classifyCompletionClaim as a, RebindArgs as ai, relevantEvidence as an, ClassifiedClause as ar, inspectTargetHostGraph as at, ALPHA3_HOST_PACKAGES as b, STATEFUL_ACTIONS as bi, HOST_COHORTS as bn, availableBoundaryQualifications as br, GitEffectRunner as bt, isWholeTaskCompletionClaim as c, proposeRebind as ci, PROTOCOL_V4_NOTICE as cn, captureItem as cr, readActiveHostGraph as ct, snapshotSessionEvents as d, rebindAttemptKey as di, ALPHA2_HOST_PACKAGES as dn, extractMethod as dr, verifyComposedHostLockDump as dt, WaitAuthorization as ei, TaskKind as en, parseConfirmationMessage as er, HostProfileError as et, RC1_HOST_PACKAGES as f, rebindResponse as fi, AuditedExecutable as fn, extractOperation as fr, GIT_COMMAND_MANIFEST_IDS as ft, closingHint as g, ActionManifest as gi, ExecutableIdentity as gn, BoundaryQualification as gr, GitCommandManifest as gt, RecoveryOptions as h, ACTION_MANIFEST_VERSION as hi, EXPECTED_HOST_PACKAGES as hn, BoundaryEffectuation as hr, GitCommandAccepted as ht, TurnStoppingDecision as i, ProposeOutcome as ii, itemDiagnosis as in, CaptureScope as ir, injectActiveProfileHostLock as it, proofDigest as j, validateActionManifest as ji, HostProfileKind as jn, EvidenceBinding as jr, revalidateGitPrestate as jt, canonicalProjection as k, semanticActionFromCommand as ki, HostLockStatus as kn, DeriveScope as kr, gitCommandMatchesTarget as kt, latestAssistantText as l, proposeRebindOutcome as li, deriveProjection as ln, classifyClause as lr, resolveActiveProfileHostLock as lt, MIN_RECOVERY_CHAR_BUDGET as m, ACTION_MANIFEST as mi, DEFAULT_HOST_LOCK as mn, segmentClauses as mr, GitAdapterAction as mt, AssistantOutcomeObservation as n, PackageRow as ni, deriveItemDiagnosis as nn, RejectedBinding as nr, hostLockContextFromComposedDump as nt, decideTurnBoundary as o, RebindProposal as oi, CAPTURE_V042_NOTICE as on, ClauseSegment as or, packageRowsFromActiveGraph as ot, DEFAULT_RECOVERY_CHAR_BUDGET as p, replayRebindResult as pi, BASE_HOST_PACKAGES as pn, isInformationalMessage as pr, GIT_COMMAND_TEMPLATES as pt, FirstStepInjection as q, TaskIntent as qn, HostStatus as qr, extractTextContent as qt, CompletionDisposition as r, BoundedSource as ri, evidenceAvailabilityReason as rn, certifyCheckpoint as rr, hostLockRowsFromComposedDump as rt, decideTurnStopping as s, confirmRebind as si, PROTOCOL_V3_NOTICE as sn, captureClause as sr, packageRowsFromPnpmLock as st, supersedeItem as t, createProjection as ti, UnifiedItemDiagnosis as tn, CheckpointResult as tr, TargetHostGraph as tt, observeAssistantOutcome as u, proposeRebindV042 as ui, ALPHA2_DSHMARKET_139_HOST_PACKAGES as un, extractArtifactPaths as ur, resolveInstalledHostLock as ut, recoveryDigest as v, CERTIFICATE_VERSION as vi, GOAL_HOST_PACKAGES as vn, GoalActivationState as vr, GitCommandRejected as vt, ProofManifest as w, StatefulAction as wi, HostCohort as wn, BoundaryDisposition as wr, LinearCommitReadback as wt, PROOF_KINDS as x, STOP_PROTOCOL_VERSION as xi, HostCapabilityEvaluation as xn, effectuateBoundary as xr, GitPrestateCheck as xt, renderRecoveryPacket as y, SEMANTIC_ACTIONS as yi, HOST_CAPABILITY_PACKAGE_GROUPS as yn, GoalBoundaryAccess as yr, GitEffectExecution as yt, isVerifyingCapability as z, evaluateToolSurfaceCapability as zn, GuardCheckpoint as zr, parsePwshCommand as zt };
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { $ as packageRowsFromPnpmLock, $n as BoundaryDisposition, $r as normalizeClause, $t as GOAL_HOST_PACKAGES, A as createProofManifest, An as CheckpointResult, Ar as createProjection, At as parsePwshCommand, B as COMMAND_SURFACE_MANIFEST, Bn as extractMethod, Br as SUPPORTED_EVIDENCE_ADAPTERS, Bt as isDeterministicCheck, C as ProofKind, Cn as AuthorityBlock, Cr as PersistenceAuthorization, Ct as verifiedLinearCommitReadback, D as SessionQuery, Dn as segmentAuthorityBlocks, Dr as TargetValue, Dt as ShellParseStatus, E as ProofSurface, En as authorityCaptureCounts, Er as TargetTuple, Et as ParsedShell, F as EvidenceFacetCoverage, Fn as ClauseSegment, Fr as ActionSpec, Ft as ToolResultInput, G as ActiveProfileHostLock, Gn as BoundaryQualification, Gr as requestedTargetAuthorizesMutation, Gt as ALPHA2_DSHMARKET_139_HOST_PACKAGES, H as ManifestIssue, Hn as isInformationalMessage, Hr as StatefulAction, Ht as CAPTURE_V042_NOTICE, I as bindingSatisfies, In as captureClause, Ir as CERTIFICATE_VERSION, It as ToolSubject, J as hostLockContextFromComposedDump, Jn as GoalBoundaryAccess, Jr as semanticActionFromText, Jt as BASE_HOST_PACKAGES, K as HostProfileError, Kn as BoundaryRequest, Kr as requestedTargetMatchesResolved, Kt as ALPHA2_HOST_PACKAGES, L as evidenceCoverage, Ln as captureItem, Lr as SEMANTIC_ACTIONS, Lt as evidenceFromPersistedToolResult, M as proofEvidenceConstraints, Mn as certifyCheckpoint, Mr as ACTION_MANIFEST, Mt as goalCompletionDenial, N as sessionQuery, Nn as CaptureScope, Nr as ACTION_MANIFEST_VERSION, Nt as hasCurrentCertificate, O as bindProofToProjection, On as UserInteractionKind, Or as VerificationContract, Ot as canonicalArgvFromCommand, P as validateProofManifest, Pn as ClassifiedClause, Pr as ActionManifest, Pt as ToolCallInput, Q as packageRowsFromActiveGraph, Qn as qualifyBoundary, Qr as digestStrings, Qt as ExecutableIdentityBinding, R as evidenceMatchesItem, Rn as classifyClause, Rr as STATEFUL_ACTIONS, Rt as extractTextContent, S as PROOF_PROTOCOL_VERSION, Sn as currentContractDigest, Sr as HostStatus, St as revalidateGitPrestate, T as ProofObligation, Tn as AuthorityKind, Tr as TargetCaptureStatus, Tt as CanonicalCommandSurface, U as OperationVerbEntry, Un as segmentClauses, Ur as actionCompatible, Ut as PROTOCOL_V3_NOTICE, V as CommandSurfaceManifest, Vn as extractOperation, Vr as SemanticAction, Vt as withDurability, W as validateManifest, Wn as BoundaryEffectuation, Wr as isStatefulAction, Wt as deriveProjection, X as injectActiveProfileHostLock, Xn as effectuateBoundary, Xr as validateActionTarget, Xt as EXPECTED_HOST_PACKAGES, Y as hostLockRowsFromComposedDump, Yn as availableBoundaryQualifications, Yr as validateActionManifest, Yt as DEFAULT_HOST_LOCK, Z as inspectTargetHostGraph, Zn as isCurrentAcceptedBoundary, Zr as canonicalizePath, Zt as ExecutableIdentity, _ as openItems, _n as evaluateExternalWaitCapability, _r as GuardItem, _t as commitTreeSnapshotDigest, a as classifyCompletionClaim, an as HostCohort, ar as DerivedEnvelope, at as GitAdapterAction, b as ALPHA3_HOST_PACKAGES, bn as evaluateToolSurfaceCapability, br as GuardOperation, bt as gitCommandMatchesTarget, c as isWholeTaskCompletionClaim, cn as HostLockContext, cr as EvidenceParseStatus, ct as GitCommandParseResult, d as snapshotSessionEvents, dn as HostPlatform, dr as ExternalOperation, dt as GitEffectRunner, ei as sanitizeClauseText, en as HOST_CAPABILITY_PACKAGE_GROUPS, er as BoundaryQualificationKind, et as readActiveHostGraph, f as RC1_HOST_PACKAGES, fn as HostProfileKind, fr as GoalRef, ft as GitPrestateCheck, g as closingHint, gn as bindLiveGoalCapability, gr as GuardIntegrity, gt as commitIndexSnapshotDigest, h as RecoveryOptions, hn as bindExecutableIdentity, hr as GuardEvidence, ht as LinearCommitReadback, i as TurnStoppingDecision, in as HostCapabilityRequest, ir as DeriveScope, it as GIT_COMMAND_MANIFEST_IDS, j as proofDigest, jn as RejectedBinding, jr as PackageRow, jt as parseShellCommand, k as canonicalProjection, kn as classifyUserInteraction, kr as WaitAuthorization, kt as isRunExecutable, l as latestAssistantText, ln as HostLockEvaluation, lr as EvidenceRole, lt as GitCommandRejected, m as MIN_RECOVERY_CHAR_BUDGET, mn as LEGACY_HOST_COHORTS, mr as GuardCheckpoint, mt as GitTargetIdentity, n as AssistantOutcomeObservation, ni as sha256, nn as HostCapabilityEvaluation, nr as DeriveConfig, nt as resolveInstalledHostLock, o as decideTurnBoundary, on as HostCohortSelection, or as EvidenceBinding, ot as GitCommandAccepted, p as DEFAULT_RECOVERY_CHAR_BUDGET, pn as HostToolSurface, pr as GuardBoundary, pt as GitPrestateEnvelope, q as TargetHostGraph, qn as GoalActivationState, qr as semanticActionFromCommand, qt as AuditedExecutable, r as CompletionDisposition, rn as HostCapabilityId, rr as DeriveResult, rt as verifyComposedHostLockDump, s as decideTurnStopping, sn as HostCohortSelectionReason, sr as EvidenceOutcome, st as GitCommandManifest, t as supersedeItem, ti as sanitizeUrl, tn as HOST_COHORTS, tr as DeferAuthorization, tt as resolveActiveProfileHostLock, u as observeAssistantOutcome, un as HostLockStatus, ur as ExpectedTransition, ut as GitEffectExecution, v as recoveryDigest, vn as evaluateHostCapability, vr as GuardItemKind, vt as createGitPrestateEnvelope, w as ProofManifest, wn as AuthorityBlockKind, wr as TargetCaptureReasonCode, wt as CanonicalArgv, x as PROOF_KINDS, xn as selectHostCohort, xr as GuardProjection, xt as parseGitCommandManifest, y as renderRecoveryPacket, yn as evaluateHostLock, yr as GuardItemStatus, yt as executeRevalidatedGitEffect, z as isVerifyingCapability, zn as extractArtifactPaths, zr as STOP_PROTOCOL_VERSION, zt as extractToolSubject } from "./index-BZYtgqlu.js";
1
+ import { $ as ActiveProfileHostLock, $n as isFrozenV042RebindResponse, $r as VerificationContract, $t as Repairability, A as createProofManifest, Ai as semanticActionFromText, An as HostPlatform, Ar as DerivedEnvelope, At as parseGitCommandManifest, B as COMMAND_SURFACE_MANIFEST, Bn as selectHostCohort, Br as GuardEvidence, Bt as parseShellCommand, C as ProofKind, Ci as SemanticAction, Cn as HostCapabilityRequest, Cr as qualifyBoundary, Ct as GitTargetIdentity, D as SessionQuery, Di as requestedTargetAuthorizesMutation, Dn as HostLockContext, Dr as DeriveConfig, Dt as createGitPrestateEnvelope, E as ProofSurface, Ei as isStatefulAction, En as HostCohortSelectionReason, Er as DeferAuthorization, Et as commitTreeSnapshotDigest, F as EvidenceFacetCoverage, Fi as normalizeClause, Fn as bindLiveGoalCapability, Fr as ExpectedTransition, Ft as ParsedShell, G as ClaimedMessage, Gn as authorityCaptureCounts, Gr as GuardOperation, Gt as ToolSubject, H as ManifestIssue, Hn as AuthorityBlock, Hr as GuardItem, Ht as hasCurrentCertificate, I as bindingSatisfies, Ii as sanitizeClauseText, In as evaluateExternalWaitCapability, Ir as ExternalOperation, It as ShellParseStatus, J as FirstStepPreviewInput, Jn as UserInteractionKind, Jr as PersistenceAuthorization, Jt as extractToolSubject, K as FIRST_STEP_GUIDANCE, Kn as segmentAuthorityBlocks, Kr as GuardProjection, Kt as evidenceFromPersistedToolResult, L as evidenceCoverage, Li as sanitizeUrl, Ln as evaluateHostCapability, Lr as GoalRef, Lt as canonicalArgvFromCommand, M as proofEvidenceConstraints, Mi as validateActionTarget, Mn as HostToolSurface, Mr as EvidenceOutcome, Mt as verifiedLinearCommitReadback, N as sessionQuery, Ni as canonicalizePath, Nn as LEGACY_HOST_COHORTS, Nr as EvidenceParseStatus, Nt as CanonicalArgv, O as bindProofToProjection, Oi as requestedTargetMatchesResolved, On as HostLockEvaluation, Or as DeriveResult, Ot as executeRevalidatedGitEffect, P as validateProofManifest, Pi as digestStrings, Pn as bindExecutableIdentity, Pr as EvidenceRole, Pt as CanonicalCommandSurface, Q as previewFirstStepInjection, Qn as ParsedConfirmation, Qr as TargetValue, Qt as DiagnosisNextAction, R as evidenceMatchesItem, Ri as sha256, Rn as evaluateHostLock, Rr as GuardBoundary, Rt as isRunExecutable, S as PROOF_PROTOCOL_VERSION, Si as SUPPORTED_EVIDENCE_ADAPTERS, Sn as HostCapabilityId, Sr as isCurrentAcceptedBoundary, St as GitPrestateEnvelope, T as ProofObligation, Ti as actionCompatible, Tn as HostCohortSelection, Tr as BoundaryQualificationKind, Tt as commitIndexSnapshotDigest, U as OperationVerbEntry, Un as AuthorityBlockKind, Ur as GuardItemKind, Ut as ToolCallInput, V as CommandSurfaceManifest, Vn as currentContractDigest, Vr as GuardIntegrity, Vt as goalCompletionDenial, W as validateManifest, Wn as AuthorityKind, Wr as GuardItemStatus, Wt as ToolResultInput, X as claimedBatchHasRealRootInput, Xn as classifyUserInteraction, Xr as TargetCaptureStatus, Xt as withDurability, Y as LifecyclePhase, Yn as classifyTaskIntent, Yr as TargetCaptureReasonCode, Yt as isDeterministicCheck, Z as lifecyclePhase, Zn as CONFIRM_LINE_PATTERN, Zr as TargetTuple, Zt as CertificationSupport, _ as openItems, _i as ActionSpec, _n as ExecutableIdentityBinding, _r as BoundaryRequest, _t as GitCommandParseResult, a as classifyCompletionClaim, ai as RebindArgs, an as relevantEvidence, ar as ClassifiedClause, at as inspectTargetHostGraph, b as ALPHA3_HOST_PACKAGES, bi as STATEFUL_ACTIONS, bn as HOST_COHORTS, br as availableBoundaryQualifications, bt as GitEffectRunner, c as isWholeTaskCompletionClaim, ci as proposeRebind, cn as PROTOCOL_V4_NOTICE, cr as captureItem, ct as readActiveHostGraph, d as snapshotSessionEvents, di as rebindAttemptKey, dn as ALPHA2_HOST_PACKAGES, dr as extractMethod, dt as verifyComposedHostLockDump, ei as WaitAuthorization, en as TaskKind, er as parseConfirmationMessage, et as HostProfileError, f as RC1_HOST_PACKAGES, fi as rebindResponse, fn as AuditedExecutable, fr as extractOperation, ft as GIT_COMMAND_MANIFEST_IDS, g as closingHint, gi as ActionManifest, gn as ExecutableIdentity, gr as BoundaryQualification, gt as GitCommandManifest, h as RecoveryOptions, hi as ACTION_MANIFEST_VERSION, hn as EXPECTED_HOST_PACKAGES, hr as BoundaryEffectuation, ht as GitCommandAccepted, i as TurnStoppingDecision, ii as ProposeOutcome, in as itemDiagnosis, ir as CaptureScope, it as injectActiveProfileHostLock, j as proofDigest, ji as validateActionManifest, jn as HostProfileKind, jr as EvidenceBinding, jt as revalidateGitPrestate, k as canonicalProjection, ki as semanticActionFromCommand, kn as HostLockStatus, kr as DeriveScope, kt as gitCommandMatchesTarget, l as latestAssistantText, li as proposeRebindOutcome, ln as deriveProjection, lr as classifyClause, lt as resolveActiveProfileHostLock, m as MIN_RECOVERY_CHAR_BUDGET, mi as ACTION_MANIFEST, mn as DEFAULT_HOST_LOCK, mr as segmentClauses, mt as GitAdapterAction, n as AssistantOutcomeObservation, ni as PackageRow, nn as deriveItemDiagnosis, nr as RejectedBinding, nt as hostLockContextFromComposedDump, o as decideTurnBoundary, oi as RebindProposal, on as CAPTURE_V042_NOTICE, or as ClauseSegment, ot as packageRowsFromActiveGraph, p as DEFAULT_RECOVERY_CHAR_BUDGET, pi as replayRebindResult, pn as BASE_HOST_PACKAGES, pr as isInformationalMessage, pt as GIT_COMMAND_TEMPLATES, q as FirstStepInjection, qn as TaskIntent, qr as HostStatus, qt as extractTextContent, r as CompletionDisposition, ri as BoundedSource, rn as evidenceAvailabilityReason, rr as certifyCheckpoint, rt as hostLockRowsFromComposedDump, s as decideTurnStopping, si as confirmRebind, sn as PROTOCOL_V3_NOTICE, sr as captureClause, st as packageRowsFromPnpmLock, t as supersedeItem, ti as createProjection, tn as UnifiedItemDiagnosis, tr as CheckpointResult, tt as TargetHostGraph, u as observeAssistantOutcome, ui as proposeRebindV042, un as ALPHA2_DSHMARKET_139_HOST_PACKAGES, ur as extractArtifactPaths, ut as resolveInstalledHostLock, v as recoveryDigest, vi as CERTIFICATE_VERSION, vn as GOAL_HOST_PACKAGES, vr as GoalActivationState, vt as GitCommandRejected, w as ProofManifest, wi as StatefulAction, wn as HostCohort, wr as BoundaryDisposition, wt as LinearCommitReadback, x as PROOF_KINDS, xi as STOP_PROTOCOL_VERSION, xn as HostCapabilityEvaluation, xr as effectuateBoundary, xt as GitPrestateCheck, y as renderRecoveryPacket, yi as SEMANTIC_ACTIONS, yn as HOST_CAPABILITY_PACKAGE_GROUPS, yr as GoalBoundaryAccess, yt as GitEffectExecution, z as isVerifyingCapability, zn as evaluateToolSurfaceCapability, zr as GuardCheckpoint, zt as parsePwshCommand } from "./index-Cd3wXBLi.js";
2
2
  import "@deepseek-ai/dsh-tools";
3
3
  import { Context } from "@deepseek-ai/cordis";
4
4
  import z from "@deepseek-ai/schemastery";
@@ -27,4 +27,4 @@ declare function apply(ctx: Context, rawConfig?: {
27
27
  hostLockProfileRoot?: unknown;
28
28
  }): void;
29
29
  //#endregion
30
- export { ACTION_MANIFEST, ACTION_MANIFEST_VERSION, ALPHA2_DSHMARKET_139_HOST_PACKAGES, ALPHA2_HOST_PACKAGES, ALPHA3_HOST_PACKAGES, ActionManifest, ActionSpec, ActiveProfileHostLock, AssistantOutcomeObservation, AuditedExecutable, AuthorityBlock, AuthorityBlockKind, AuthorityKind, BASE_HOST_PACKAGES, BoundaryDisposition, BoundaryEffectuation, BoundaryQualification, BoundaryQualificationKind, BoundaryRequest, CAPTURE_V042_NOTICE, CERTIFICATE_VERSION, COMMAND_SURFACE_MANIFEST, CanonicalArgv, CanonicalCommandSurface, CaptureScope, CheckpointResult, ClassifiedClause, ClauseSegment, CommandSurfaceManifest, CompletionDisposition, Config, DEFAULT_HOST_LOCK, DEFAULT_RECOVERY_CHAR_BUDGET, DeferAuthorization, DeriveConfig, DeriveResult, DeriveScope, DerivedEnvelope, EXPECTED_HOST_PACKAGES, EvidenceBinding, EvidenceFacetCoverage, EvidenceOutcome, EvidenceParseStatus, EvidenceRole, ExecutableIdentity, ExecutableIdentityBinding, ExpectedTransition, ExternalOperation, GIT_COMMAND_MANIFEST_IDS, GOAL_HOST_PACKAGES, GitAdapterAction, GitCommandAccepted, GitCommandManifest, GitCommandParseResult, GitCommandRejected, GitEffectExecution, GitEffectRunner, GitPrestateCheck, GitPrestateEnvelope, GitTargetIdentity, GoalActivationState, GoalBoundaryAccess, GoalRef, GuardBoundary, GuardCheckpoint, GuardEvidence, GuardIntegrity, GuardItem, GuardItemKind, GuardItemStatus, GuardOperation, GuardProjection, HOST_CAPABILITY_PACKAGE_GROUPS, HOST_COHORTS, HostCapabilityEvaluation, HostCapabilityId, HostCapabilityRequest, HostCohort, HostCohortSelection, HostCohortSelectionReason, HostLockContext, HostLockEvaluation, HostLockStatus, HostPlatform, HostProfileError, HostProfileKind, HostStatus, HostToolSurface, LEGACY_HOST_COHORTS, LinearCommitReadback, MIN_RECOVERY_CHAR_BUDGET, ManifestIssue, OperationVerbEntry, PROOF_KINDS, PROOF_PROTOCOL_VERSION, PROTOCOL_V3_NOTICE, ParsedShell, PersistenceAuthorization, ProofKind, ProofManifest, ProofObligation, ProofSurface, RC1_HOST_PACKAGES, RecoveryOptions, RejectedBinding, SEMANTIC_ACTIONS, STATEFUL_ACTIONS, STOP_PROTOCOL_VERSION, SUPPORTED_EVIDENCE_ADAPTERS, SemanticAction, SessionQuery, ShellParseStatus, StatefulAction, TargetCaptureReasonCode, TargetCaptureStatus, TargetHostGraph, TargetTuple, TargetValue, ToolCallInput, ToolResultInput, ToolSubject, TurnStoppingDecision, UserInteractionKind, VerificationContract, WaitAuthorization, actionCompatible, apply, authorityCaptureCounts, availableBoundaryQualifications, bindExecutableIdentity, bindLiveGoalCapability, bindProofToProjection, bindingSatisfies, canonicalArgvFromCommand, canonicalProjection, canonicalizePath, captureClause, captureItem, certifyCheckpoint, classifyClause, classifyCompletionClaim, classifyUserInteraction, closingHint, commitIndexSnapshotDigest, commitTreeSnapshotDigest, createGitPrestateEnvelope, createProjection, createProofManifest, currentContractDigest, decideTurnBoundary, decideTurnStopping, deriveProjection, digestStrings, effectuateBoundary, evaluateExternalWaitCapability, evaluateHostCapability, evaluateHostLock, evaluateToolSurfaceCapability, evidenceCoverage, evidenceFromPersistedToolResult, evidenceMatchesItem, executeRevalidatedGitEffect, extractArtifactPaths, extractMethod, extractOperation, extractTextContent, extractToolSubject, gitCommandMatchesTarget, goalCompletionDenial, hasCurrentCertificate, hostLockContextFromComposedDump, hostLockRowsFromComposedDump, inject, injectActiveProfileHostLock, inspectTargetHostGraph, isCurrentAcceptedBoundary, isDeterministicCheck, isInformationalMessage, isRunExecutable, isStatefulAction, isVerifyingCapability, isWholeTaskCompletionClaim, latestAssistantText, name, normalizeClause, observeAssistantOutcome, openItems, packageRowsFromActiveGraph, packageRowsFromPnpmLock, parseGitCommandManifest, parsePwshCommand, parseShellCommand, proofDigest, proofEvidenceConstraints, qualifyBoundary, readActiveHostGraph, recoveryDigest, renderRecoveryPacket, requestedTargetAuthorizesMutation, requestedTargetMatchesResolved, resolveActiveProfileHostLock, resolveInstalledHostLock, revalidateGitPrestate, sanitizeClauseText, sanitizeUrl, segmentAuthorityBlocks, segmentClauses, selectHostCohort, semanticActionFromCommand, semanticActionFromText, sessionQuery, sha256, snapshotSessionEvents, supersedeItem, validateActionManifest, validateActionTarget, validateManifest, validateProofManifest, verifiedLinearCommitReadback, verifyComposedHostLockDump, withDurability };
30
+ export { ACTION_MANIFEST, ACTION_MANIFEST_VERSION, ALPHA2_DSHMARKET_139_HOST_PACKAGES, ALPHA2_HOST_PACKAGES, ALPHA3_HOST_PACKAGES, ActionManifest, ActionSpec, ActiveProfileHostLock, AssistantOutcomeObservation, AuditedExecutable, AuthorityBlock, AuthorityBlockKind, AuthorityKind, BASE_HOST_PACKAGES, BoundaryDisposition, BoundaryEffectuation, BoundaryQualification, BoundaryQualificationKind, BoundaryRequest, BoundedSource, CAPTURE_V042_NOTICE, CERTIFICATE_VERSION, COMMAND_SURFACE_MANIFEST, CONFIRM_LINE_PATTERN, CanonicalArgv, CanonicalCommandSurface, CaptureScope, CertificationSupport, CheckpointResult, ClaimedMessage, ClassifiedClause, ClauseSegment, CommandSurfaceManifest, CompletionDisposition, Config, DEFAULT_HOST_LOCK, DEFAULT_RECOVERY_CHAR_BUDGET, DeferAuthorization, DeriveConfig, DeriveResult, DeriveScope, DerivedEnvelope, DiagnosisNextAction, EXPECTED_HOST_PACKAGES, EvidenceBinding, EvidenceFacetCoverage, EvidenceOutcome, EvidenceParseStatus, EvidenceRole, ExecutableIdentity, ExecutableIdentityBinding, ExpectedTransition, ExternalOperation, FIRST_STEP_GUIDANCE, FirstStepInjection, FirstStepPreviewInput, GIT_COMMAND_MANIFEST_IDS, GIT_COMMAND_TEMPLATES, GOAL_HOST_PACKAGES, GitAdapterAction, GitCommandAccepted, GitCommandManifest, GitCommandParseResult, GitCommandRejected, GitEffectExecution, GitEffectRunner, GitPrestateCheck, GitPrestateEnvelope, GitTargetIdentity, GoalActivationState, GoalBoundaryAccess, GoalRef, GuardBoundary, GuardCheckpoint, GuardEvidence, GuardIntegrity, GuardItem, GuardItemKind, GuardItemStatus, GuardOperation, GuardProjection, HOST_CAPABILITY_PACKAGE_GROUPS, HOST_COHORTS, HostCapabilityEvaluation, HostCapabilityId, HostCapabilityRequest, HostCohort, HostCohortSelection, HostCohortSelectionReason, HostLockContext, HostLockEvaluation, HostLockStatus, HostPlatform, HostProfileError, HostProfileKind, HostStatus, HostToolSurface, LEGACY_HOST_COHORTS, LifecyclePhase, LinearCommitReadback, MIN_RECOVERY_CHAR_BUDGET, ManifestIssue, OperationVerbEntry, PROOF_KINDS, PROOF_PROTOCOL_VERSION, PROTOCOL_V3_NOTICE, PROTOCOL_V4_NOTICE, ParsedConfirmation, ParsedShell, PersistenceAuthorization, ProofKind, ProofManifest, ProofObligation, ProofSurface, ProposeOutcome, RC1_HOST_PACKAGES, RebindArgs, RebindProposal, RecoveryOptions, RejectedBinding, Repairability, SEMANTIC_ACTIONS, STATEFUL_ACTIONS, STOP_PROTOCOL_VERSION, SUPPORTED_EVIDENCE_ADAPTERS, SemanticAction, SessionQuery, ShellParseStatus, StatefulAction, TargetCaptureReasonCode, TargetCaptureStatus, TargetHostGraph, TargetTuple, TargetValue, TaskIntent, TaskKind, ToolCallInput, ToolResultInput, ToolSubject, TurnStoppingDecision, UnifiedItemDiagnosis, UserInteractionKind, VerificationContract, WaitAuthorization, actionCompatible, apply, authorityCaptureCounts, availableBoundaryQualifications, bindExecutableIdentity, bindLiveGoalCapability, bindProofToProjection, bindingSatisfies, canonicalArgvFromCommand, canonicalProjection, canonicalizePath, captureClause, captureItem, certifyCheckpoint, claimedBatchHasRealRootInput, classifyClause, classifyCompletionClaim, classifyTaskIntent, classifyUserInteraction, closingHint, commitIndexSnapshotDigest, commitTreeSnapshotDigest, confirmRebind, createGitPrestateEnvelope, createProjection, createProofManifest, currentContractDigest, decideTurnBoundary, decideTurnStopping, deriveItemDiagnosis, deriveProjection, digestStrings, effectuateBoundary, evaluateExternalWaitCapability, evaluateHostCapability, evaluateHostLock, evaluateToolSurfaceCapability, evidenceAvailabilityReason, evidenceCoverage, evidenceFromPersistedToolResult, evidenceMatchesItem, executeRevalidatedGitEffect, extractArtifactPaths, extractMethod, extractOperation, extractTextContent, extractToolSubject, gitCommandMatchesTarget, goalCompletionDenial, hasCurrentCertificate, hostLockContextFromComposedDump, hostLockRowsFromComposedDump, inject, injectActiveProfileHostLock, inspectTargetHostGraph, isCurrentAcceptedBoundary, isDeterministicCheck, isFrozenV042RebindResponse, isInformationalMessage, isRunExecutable, isStatefulAction, isVerifyingCapability, isWholeTaskCompletionClaim, itemDiagnosis, latestAssistantText, lifecyclePhase, name, normalizeClause, observeAssistantOutcome, openItems, packageRowsFromActiveGraph, packageRowsFromPnpmLock, parseConfirmationMessage, parseGitCommandManifest, parsePwshCommand, parseShellCommand, previewFirstStepInjection, proofDigest, proofEvidenceConstraints, proposeRebind, proposeRebindOutcome, proposeRebindV042, qualifyBoundary, readActiveHostGraph, rebindAttemptKey, rebindResponse, recoveryDigest, relevantEvidence, renderRecoveryPacket, replayRebindResult, requestedTargetAuthorizesMutation, requestedTargetMatchesResolved, resolveActiveProfileHostLock, resolveInstalledHostLock, revalidateGitPrestate, sanitizeClauseText, sanitizeUrl, segmentAuthorityBlocks, segmentClauses, selectHostCohort, semanticActionFromCommand, semanticActionFromText, sessionQuery, sha256, snapshotSessionEvents, supersedeItem, validateActionManifest, validateActionTarget, validateManifest, validateProofManifest, verifiedLinearCommitReadback, verifyComposedHostLockDump, withDurability };