@sema-agent/core 7.71.0 → 7.72.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/CHANGELOG.md +193 -0
- package/dist/agents/cross-session-ref.d.ts +2 -2
- package/dist/agents/cross-session-ref.js +7 -2
- package/dist/agents/inherited-tool-pool.d.ts +4 -1
- package/dist/agents/inherited-tool-pool.js +7 -5
- package/dist/agents/send-message-tool.js +6 -2
- package/dist/agents/subagent.js +5 -1
- package/dist/agents/verify.js +1 -0
- package/dist/core/a2a.d.ts +24 -3
- package/dist/core/a2a.js +27 -8
- package/dist/core/agent-state.d.ts +28 -7
- package/dist/core/agent-state.js +19 -6
- package/dist/core/approval-object.d.ts +7 -3
- package/dist/core/approval-object.js +30 -9
- package/dist/core/checkpoint-features.d.ts +13 -3
- package/dist/core/checkpoint-features.js +34 -5
- package/dist/core/checkpoint-requirements.d.ts +14 -1
- package/dist/core/checkpoint-row-verdict.d.ts +1 -1
- package/dist/core/checkpoint-row-verdict.js +3 -3
- package/dist/core/checkpoint-store.d.ts +4 -0
- package/dist/core/effective-path-target.d.ts +19 -0
- package/dist/core/effective-path-target.js +95 -38
- package/dist/core/engine-notice.d.ts +4 -1
- package/dist/core/engine-version.js +1 -1
- package/dist/core/file-history-store.d.ts +15 -4
- package/dist/core/file-history-store.js +53 -23
- package/dist/core/gate-fold.js +3 -1
- package/dist/core/governance-codes.d.ts +4 -1
- package/dist/core/governance-codes.js +4 -0
- package/dist/core/judged-read.d.ts +57 -0
- package/dist/core/judged-read.js +1 -0
- package/dist/core/mcp-host-seat.d.ts +5 -0
- package/dist/core/mcp-host-seat.js +7 -1
- package/dist/core/mcp.js +3 -1
- package/dist/core/memory-engine/index.d.ts +1 -1
- package/dist/core/memory-engine/index.js +1 -1
- package/dist/core/memory-engine/layout.js +6 -4
- package/dist/core/memory-engine/scope-contract.d.ts +59 -6
- package/dist/core/memory-engine/scope-contract.js +90 -25
- package/dist/core/mounted-mcp.d.ts +7 -2
- package/dist/core/mounted-mcp.js +10 -1
- package/dist/core/param-rule-reach.d.ts +8 -3
- package/dist/core/param-rule-reach.js +9 -1
- package/dist/core/parent-spec-seat.d.ts +11 -1
- package/dist/core/parent-spec-seat.js +14 -0
- package/dist/core/peer-registration.d.ts +52 -0
- package/dist/core/peer-registration.js +37 -0
- package/dist/core/peer-seat.d.ts +3 -1
- package/dist/core/permission-rule-model.js +1 -1
- package/dist/core/runner/chain-mismatch.d.ts +32 -0
- package/dist/core/runner/chain-mismatch.js +29 -0
- package/dist/core/runner/changes-history.d.ts +1 -0
- package/dist/core/runner/changes-history.js +2 -2
- package/dist/core/runner/contracts.d.ts +3 -0
- package/dist/core/runner/file-history-restore.d.ts +3 -1
- package/dist/core/runner/file-history-restore.js +9 -6
- package/dist/core/runner/loaded-skills.d.ts +2 -0
- package/dist/core/runner/loaded-skills.js +10 -0
- package/dist/core/runner/person-path-rows.d.ts +2 -4
- package/dist/core/runner/person-path-rows.js +2 -3
- package/dist/core/runner/prepare-caps-and-workflow.d.ts +4 -0
- package/dist/core/runner/prepare-caps-and-workflow.js +7 -2
- package/dist/core/runner/prepare-file-history.js +1 -1
- package/dist/core/runner/prepare-hands-readface.d.ts +5 -0
- package/dist/core/runner/prepare-hands-readface.js +24 -21
- package/dist/core/runner/prepare-inherited-gate.d.ts +2 -2
- package/dist/core/runner/prepare-inherited-gate.js +1 -1
- package/dist/core/runner/prepare-memory-engine-session.d.ts +2 -2
- package/dist/core/runner/prepare-memory-engine-session.js +2 -2
- package/dist/core/runner/prepare-memory.js +3 -15
- package/dist/core/runner/prepare-project-context.d.ts +1 -1
- package/dist/core/runner/prepare-project-context.js +3 -7
- package/dist/core/runner/prepare-protocol-tools.d.ts +5 -0
- package/dist/core/runner/prepare-protocol-tools.js +2 -2
- package/dist/core/runner/prepare-task.js +20 -16
- package/dist/core/runner/prepare-wiring-manifest.d.ts +2 -0
- package/dist/core/runner/prepare-wiring-manifest.js +4 -3
- package/dist/core/runner/read-session-changes.js +1 -1
- package/dist/core/runner/resume-checkpoint-screen.d.ts +8 -7
- package/dist/core/runner/resume-checkpoint-screen.js +7 -6
- package/dist/core/runner/rewind-files.js +3 -2
- package/dist/core/runner/run-leg.js +6 -2
- package/dist/core/runner/terminal-account.d.ts +4 -0
- package/dist/core/runner/terminal-account.js +7 -2
- package/dist/core/runner/tool-face-overlay.d.ts +2 -11
- package/dist/core/runner/tool-face-overlay.js +39 -0
- package/dist/core/runner/trim-stretch.js +7 -2
- package/dist/core/scheduler.d.ts +47 -7
- package/dist/core/scheduler.js +19 -7
- package/dist/core/secret-env.d.ts +7 -0
- package/dist/core/secret-env.js +1 -1
- package/dist/core/sensitive-path-policy.js +14 -7
- package/dist/core/shell-read-silence.js +1 -0
- package/dist/core/store-contracts/checkpoint-store-contract.js +7 -0
- package/dist/core/task-event.d.ts +4 -3
- package/dist/core/task-notification.d.ts +2 -1
- package/dist/core/task-spec.d.ts +13 -5
- package/dist/core/tool-catalog-entries.js +2 -0
- package/dist/core/tool-face-reader.js +1 -1
- package/dist/core/tool-face.d.ts +7 -0
- package/dist/core/tool-face.js +1 -0
- package/dist/core/tool-mount-facts.d.ts +4 -2
- package/dist/core/tool-mount-facts.js +3 -3
- package/dist/core/tool-mount-plan.d.ts +4 -2
- package/dist/core/tool-mount-plan.js +5 -5
- package/dist/core/tool-mount-static.d.ts +1 -1
- package/dist/core/tool-mount-static.js +25 -13
- package/dist/core/tool-registry.d.ts +33 -1
- package/dist/core/tool-registry.js +33 -0
- package/dist/core/tool-roster.d.ts +16 -0
- package/dist/core/tool-roster.js +6 -0
- package/dist/core/tool-spec.d.ts +4 -2
- package/dist/core/tools.d.ts +6 -0
- package/dist/core/tools.js +1 -1
- package/dist/core/wiring-manifest.d.ts +66 -12
- package/dist/core/wiring-manifest.js +37 -1
- package/dist/engine/harness/messages.d.ts +1 -1
- package/dist/engine/harness/messages.js +2 -1
- package/dist/engine/loop/types.d.ts +2 -0
- package/dist/engine/session/session.js +1 -1
- package/dist/index.d.ts +11 -7
- package/dist/index.js +9 -6
- package/dist/orchestration/workflow.js +2 -1
- package/dist/stores/file/adoption/marker.d.ts +2 -27
- package/dist/stores/file/adoption/marker.js +12 -0
- package/dist/stores/file/index.d.ts +1 -1
- package/dist/stores/file/index.js +1 -1
- package/dist/tools/artifact/artifact-tool.js +11 -6
- package/dist/tools/fs/file-read-check.d.ts +45 -11
- package/dist/tools/fs/file-read-check.js +200 -57
- package/dist/tools/fs/judged-reads.d.ts +51 -0
- package/dist/tools/fs/judged-reads.js +68 -0
- package/dist/tools/fs/safety.d.ts +8 -0
- package/dist/tools/fs/safety.js +12 -1
- package/dist/tools/fs/shell-read-check.d.ts +16 -3
- package/dist/tools/fs/shell-read-check.js +4 -1
- package/dist/tools/fs/shell-read-establish.js +13 -3
- package/dist/tools/scheduler-store-move.d.ts +74 -0
- package/dist/tools/scheduler-store-move.js +103 -0
- package/dist/tools/scheduler-tools.d.ts +43 -29
- package/dist/tools/scheduler-tools.js +161 -118
- package/package.json +2 -2
- package/test/export-surface.snapshot.json +47 -3
- package/wire-changes/answers/core-stores-sql@7.72.0.json +12 -0
- package/wire-changes/answers/core@7.72.0.json +84 -0
- package/wire-changes/answers/mods-kernel@7.72.0.json +7 -0
- package/wire-changes/answers/primitives@7.72.0.json +6 -0
- package/wire-changes/answers/wiki-gate@7.72.0.json +7 -0
- package/wire-changes/core-stores-sql@7.71.1.json +40 -0
- package/wire-changes/core-stores-sql@7.72.0.json +215 -0
- package/wire-changes/core@7.71.1.json +118 -0
- package/wire-changes/core@7.72.0.json +2426 -0
- package/wire-changes/mods-kernel@7.71.1.json +40 -0
- package/wire-changes/mods-kernel@7.72.0.json +147 -0
- package/wire-changes/primitives@7.71.1.json +40 -0
- package/wire-changes/primitives@7.72.0.json +143 -0
- package/wire-changes/wiki-gate@7.71.1.json +40 -0
- package/wire-changes/wiki-gate@7.72.0.json +145 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"leaves": {
|
|
3
|
+
"L-1835a5ccb3cb": {
|
|
4
|
+
"answer": "breaking",
|
|
5
|
+
"why": "This package's own emitted declarations are byte-identical to 7.71.1, but SqlStorageBackend extends @sema-agent/core's EngineStorageBackend, whose checkpointStore hands out parked tool_approval rows carrying core's widened ApprovalTargets (each role may be a readonly (string | null)[]), so a host that holds a SqlStorageBackend or createSqlStorageBackend's result as its 7.71.1 type, or reads a row's targets as one string per role, fails to compile; putting core's 7.71.1 ApprovalTargets back alone moves the EngineStorageBackend reader probe off this message (onto core's CheckpointErrorReason widening, answered in core's manifest)."
|
|
6
|
+
}
|
|
7
|
+
},
|
|
8
|
+
"mustCheck": {
|
|
9
|
+
"deep-nesting": "Not measurable by the run, so the hole was checked: the package's own emitted declarations are byte-identical at both ends (diff of the judge's two cached trees: only the timing sidecar differs), and its 32 method-syntax members' 36 parameters compare equal both ways with the checker against each end's core; what it takes from @sema-agent/core (EngineStorageBackend, SessionStore, SessionLogTransfer, ManagedRetentionCapability) is covered by core's depth-unbounded scan of all 1,914 method-syntax members, which finds no differing method parameter outside ApprovalTargets, ShellReadRefusalDetails and CheckpointErrorReason, each answered breaking in core's manifest.",
|
|
10
|
+
"exact-optional": "Not measurable (a consumer's compiler option): the package's own emitted declarations are byte-identical at both ends, so no `?` or `| undefined` of its own moved, and in core's declaration diff (what it reaches through @sema-agent/core) no member both ends declare gained or lost `| undefined`; core's optionality changes are SchedulerLanes.session (answered breaking in core's manifest) and two prepare inputs no published declaration reaches."
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
{
|
|
2
|
+
"leaves": {
|
|
3
|
+
"L-24a1312fb646": {
|
|
4
|
+
"answer": "breaking",
|
|
5
|
+
"why": "ShellReadRefusalDetails (tools/fs/shell-read-check) gains the arm { type: \"read_targets_refused\"; code: \"read_targets_over_limit\" | \"read_target_not_a_path\" } (readTargetsRefusedDetails), and every export that hands out a station refusal's details carries it (ShellReadQuestion.details, EngineAttestation's stationRefusal.details, and through them PermissionResult, ToolPolicy, TaskSpec, RunInternals), so a consumer that switches exhaustively on details.type, assigns details to a type spelled from the 7.71.x arms, or implements a callback typed against them fails to compile; a compile probe on the two ends' emitted declarations fails on this arm and passes once the 7.71.1 union is put back."
|
|
6
|
+
},
|
|
7
|
+
"L-1835a5ccb3cb": {
|
|
8
|
+
"answer": "breaking",
|
|
9
|
+
"why": "ApprovalTargets widens each role to string | null | readonly (string | null)[] and PendingAction's tool_approval arm holds targets?: ApprovalTargets, so every export that holds a parked tool_approval row (Checkpoint, CheckpointStore, CheckpointPause, pauseOf, RunInternals, EngineStorageBackend) is no longer assignable to its 7.71.1 type and a reader of a row's targets as one string per role fails to compile; the checker's \"human\" / \"task_done\" line is only where its discriminated-union elaboration stopped (pause-registry and checkpoint-store declarations are byte-identical), and putting the 7.71.1 ApprovalTargets back alone makes the Checkpoint, CheckpointPause, PendingAction and pauseOf probes compile."
|
|
10
|
+
},
|
|
11
|
+
"L-6b5041418fee": {
|
|
12
|
+
"answer": "breaking",
|
|
13
|
+
"why": "CheckpointErrorReason gains constraint_changed, constraint_chain_damaged and constraint_unjudgeable, which CheckpointError.detail.reason, CheckpointRowVerdict and ResumeConfigVerdict (and the CheckpointStore listings that carry them) hand out, so a consumer that switches exhaustively on detail.reason or holds it as the 7.71.1 union fails to compile; putting the 7.71.1 union back alone makes the CheckpointError probe compile."
|
|
14
|
+
},
|
|
15
|
+
"L-bc44fedb1fbf": {
|
|
16
|
+
"answer": "breaking",
|
|
17
|
+
"why": "ApprovalTargets (exported, core/approval-object) changes each role's value from string | null to string | null | readonly (string | null)[], so code that reads a parked row's targets.protective / targets.declared as a string or holds the new type as the 7.71.1 one fails to compile (reader probe fails); a value built to the 7.71.1 shape is still accepted (writer probe compiles)."
|
|
18
|
+
},
|
|
19
|
+
"L-a0f97aae588a": {
|
|
20
|
+
"answer": "not-breaking",
|
|
21
|
+
"why": "No declaration moved: the six rest-parameter functions folded here (clampValuesOf, foldClampSources, toolPolicySkippedRules, joinFloors, joinedFloors, mayCarryGitVariables) are declared byte-identically in both ends' emitted declarations, the judge's overload extraction (__Ov1) yields never for each of them at the 7.71.1 end as well (a readonly rest parameter; it does not for reviewSubjectOf), and a call probe built from the rest element (no, one and three arguments, and a spread readonly list, result held as the 7.71.1 result) compiles against the new end for all six while V and strict Vs pass, so every call that compiled against 7.71.1 compiles against 7.72.0; toolPolicySkippedRules's ToolPolicy parameter does reach the new ShellReadRefusalDetails arm, which only an old-typed function value assigned to the new function type meets and which L-24a1312fb646 answers as breaking."
|
|
22
|
+
},
|
|
23
|
+
"L-30e8b471ffa8": {
|
|
24
|
+
"answer": "breaking",
|
|
25
|
+
"why": "SchedulerLanes.session (tools/scheduler-tools) goes from SchedulerContext to optional (session?: SchedulerContext), so under strictNullChecks a reader of lanes.session or of schedulerLanesOf(...).session that does not check for undefined fails to compile; this leaf is the strict-posture spelling of the same change as L-c168acc77508."
|
|
26
|
+
},
|
|
27
|
+
"L-a48778242784": {
|
|
28
|
+
"answer": "breaking",
|
|
29
|
+
"why": "SchedulerToolContext loses its required key scope (sessionLaneScopeOf is removed with it), so code that reads ctx.scope, or passes scope in an object literal to schedulerLanesOf / createSchedulerTools, fails to compile (both probed); createSchedulerTools' new optional third parameter breaks no caller by itself."
|
|
30
|
+
},
|
|
31
|
+
"L-c168acc77508": {
|
|
32
|
+
"answer": "breaking",
|
|
33
|
+
"why": "SchedulerLanes.session goes from required to optional, so a value of the new SchedulerLanes (or schedulerLanesOf's result) held as the 7.71.1 type, or a read of .session used as a SchedulerContext without a check, fails to compile under strictNullChecks (probe: Type 'undefined' is not assignable to type 'SchedulerContext')."
|
|
34
|
+
},
|
|
35
|
+
"L-4edf92987865": {
|
|
36
|
+
"answer": "breaking",
|
|
37
|
+
"why": "The exported TypeBox schema values ToolRosterEntry and ToolRoster (whose entries items are ToolRosterEntry) gain the property schema registration: TOptional<TString> and the nested pathTarget.each: TOptional<TLiteral<true>>, so a host value written to the 7.71.1 schema's type and declared as typeof ToolRosterEntry / typeof ToolRoster fails to compile until it adds them (Wv probe); reading the schema values still compiles."
|
|
38
|
+
},
|
|
39
|
+
"L-1c9ecd4c84ab": {
|
|
40
|
+
"answer": "breaking",
|
|
41
|
+
"why": "ROSTER_APPROVAL_BINDING (core/tool-roster) gains the row registration: \"declaration\", so a host value typed typeof ROSTER_APPROVAL_BINDING, or a table or switch exhaustive over its keys, fails to compile until it places registration (Wv probe); reading the table still compiles."
|
|
42
|
+
},
|
|
43
|
+
"L-1f27f6543af2": {
|
|
44
|
+
"answer": "breaking",
|
|
45
|
+
"why": "The strict generic probes of CheckpointPause<A0> fail because ApprovalTargets widened under its tool_approval pendingAction (putting the 7.71.1 ApprovalTargets back alone makes them compile): the reader side is a real break, as the non-strict generic reader probe fails too (L-f8e225640533), while the strict writer probe fails only because the checker will not relate two deferred __DS instantiations that are no longer identical (the non-strict writer probe compiles)."
|
|
46
|
+
},
|
|
47
|
+
"L-25f7c87d92c4": {
|
|
48
|
+
"answer": "breaking",
|
|
49
|
+
"why": "NOTICE_MINTER, typed Readonly<Record<EngineNoticeCode, NoticeMinter>>, gains the row config.scheduler_store_unmoved: \"engine\" with the new code, so a host value typed typeof NOTICE_MINTER written to the 7.71.1 table fails to compile until it adds the row; reading the table still compiles."
|
|
50
|
+
},
|
|
51
|
+
"L-4598ae6fcf1e": {
|
|
52
|
+
"answer": "breaking",
|
|
53
|
+
"why": "SchedulerToolContext no longer declares scope, so a value of the new SchedulerToolContext held as the 7.71.1 type (which requires scope: string) fails to compile; same change as L-a48778242784, seen from the reader posture."
|
|
54
|
+
},
|
|
55
|
+
"L-4950133af1b1": {
|
|
56
|
+
"answer": "breaking",
|
|
57
|
+
"why": "ENGINE_NOTICE_CODES is a readonly tuple that grows from 197 to 198 elements (config.scheduler_store_unmoved inserted after config.peer_lane_unmounted, shifting every later position), so a value typed typeof ENGINE_NOTICE_CODES on either side of the change fails to compile against the other (probed both ways)."
|
|
58
|
+
},
|
|
59
|
+
"L-694b006eed34": {
|
|
60
|
+
"answer": "breaking",
|
|
61
|
+
"why": "EngineNoticeCode, derived from ENGINE_NOTICE_CODES, gains config.scheduler_store_unmoved, so a Record<EngineNoticeCode, ...> table or a switch exhaustive over the codes fails to compile until it places the word, and a new code held as the 7.71.1 union is refused (reader probe)."
|
|
62
|
+
},
|
|
63
|
+
"L-6f3a314fd1e1": {
|
|
64
|
+
"answer": "breaking",
|
|
65
|
+
"why": "pauseOf's declaration is unchanged, but its pendingAction parameter and CheckpointPause<K> result reach the widened ApprovalTargets of the tool_approval arm, so the new pauseOf held where the 7.71.1 pauseOf's type is expected fails to compile (V probe) and passes once the 7.71.1 ApprovalTargets is put back alone."
|
|
66
|
+
},
|
|
67
|
+
"L-b13fc188fe3a": {
|
|
68
|
+
"answer": "breaking",
|
|
69
|
+
"why": "The closed set CheckpointErrorReason (core/checkpoint-features) gains constraint_changed, constraint_chain_damaged and constraint_unjudgeable, so a consumer exhaustive over it, or holding a new reason as the 7.71.1 union, fails to compile (reader probe); a 7.71.1 word still fits the new union."
|
|
70
|
+
},
|
|
71
|
+
"L-f8e225640533": {
|
|
72
|
+
"answer": "breaking",
|
|
73
|
+
"why": "CheckpointPause<K>'s human pair (pending tool_approval) carries the widened ApprovalTargets in pendingAction.targets, so a new CheckpointPause<A0> held as the 7.71.1 CheckpointPause<A0> fails to compile (generic reader probe) and compiles once the 7.71.1 ApprovalTargets is put back alone; a 7.71.1 pause still fits the new type."
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"mustCheck": {
|
|
77
|
+
"deep-nesting": "Not measurable by the run, so the hole itself was checked: a method-syntax member's parameters are what the strict postures leave bivariant past depth 10, and all 1,914 method-syntax members of the 7.71.1 end's emitted declarations were matched to the 7.72.0 end's by file, container path, name and overload index (every one has a twin; the 5 new ones are in the new file core/judged-read.d.ts), each of their 2,578 parameters compared both ways with the checker at every depth; with the three changes already answered breaking (ApprovalTargets, ShellReadRefusalDetails, CheckpointErrorReason) put back in the new end, none differs except 70 parameters typed by their own declaration's type parameters (identical text), whose 12 referenced named types compile strictly both ways — no change of this range hides behind a bivariant method at any depth.",
|
|
78
|
+
"strict-generic": "Measured 308 generic or overloaded exported functions without a strict probe (the five listed are typebox's Type.* builders, re-exported from typebox 1.1.39, pinned with the same lockfile integrity at both refs); the hole is a method-syntax member compared bivariantly inside their parameters or results, and the depth-unbounded scan of every method-syntax member of both ends (1,914 matched, 2,578 parameters compared both ways, as for deep-nesting) finds no differing method parameter outside the three changes already answered breaking and type-parameter-only parameters whose referenced types compile strictly both ways, so none of the 308 hides a further change; the functions themselves were still compared by the non-strict V posture (pauseOf among them, answered breaking).",
|
|
79
|
+
"ambient-modules": "Both ambient modules (\"undici/lib/handler/unwrap-handler.js\", \"undici/lib/handler/wrap-handler.js\") are declared only in brain/undici-handler-api.d.ts, which is byte-identical in the two ends' emitted declarations (same sha-256; src/brain has no diff from v7.71.1), and they type undici 7.30.2, pinned with the same lockfile integrity at both refs — the two declarations the judge merged are one text, so nothing between them went uncompared.",
|
|
80
|
+
"shared-dependency": "@modelcontextprotocol/client 2.4.0, typebox 1.1.39 and undici 7.30.2: package.json and package-lock.json are unchanged between v7.71.1 and this commit (git diff --quiet exits 0; the same exact versions and integrity hashes at both refs) and the installed copy the judge compiled against is those versions, so the one copy both ends were judged against is the copy both ends declare.",
|
|
81
|
+
"export-equals": "The one `export =` measured is inside the two ambient undici handler modules of brain/undici-handler-api.d.ts (UnwrapHandler.unwrap / WrapHandler.wrap), a file byte-identical at both ends that no other emitted declaration references (an internal shim of the transport), so no member went unenumerated in this range.",
|
|
82
|
+
"exact-optional": "Not measurable (a consumer's compiler option), so the declaration diff of the two ends' emitted declarations (49 changed .d.ts files, 6 new, none removed) was read for the forms the option changes: no member both ends declare gained or lost `| undefined`; the only optionality changes are SchedulerLanes.session (required to optional, answered breaking in L-c168acc77508 / L-30e8b471ffa8) and mountedMcp on PrepareInheritedGateInput and the memory-engine-session prepare input (optional to required), which no published declaration reaches (no other emitted file imports those two modules); the 39 optional members added are new keys, which the option does not make breaking."
|
|
83
|
+
}
|
|
84
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"mustCheck": {
|
|
3
|
+
"deep-nesting": "Not measurable by the run, so the hole was checked: the package's emitted declarations are byte-identical at both ends (diff of the judge's two cached trees: only the timing sidecar differs) and import nothing from outside the package, so every type it exports is the same text at both ends; the method scan (15 method-syntax members, 13 parameters compared both ways with the checker) differs only on ModRegistration.register's on: On<D>, typed by its own type parameter D with identical text, so nothing hides behind a bivariant method.",
|
|
4
|
+
"strict-generic": "Measured admitMods, receive#appendOwn and registration#screenModSeats: their declaration files are byte-identical at both ends and the package imports nothing from outside itself, so their parameter and result types, and any method-syntax member inside them, are the same declarations at both ends — there is no change for a strict probe to see.",
|
|
5
|
+
"exact-optional": "Not measurable (a consumer's compiler option): the emitted declarations are byte-identical at both ends and import nothing from outside the package, so no `?` or `| undefined` moved anywhere a consumer can see."
|
|
6
|
+
}
|
|
7
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"mustCheck": {
|
|
3
|
+
"deep-nesting": "Not measurable by the run, so the hole was checked: the package's emitted declarations are byte-identical at both ends (diff of the judge's two cached trees: only the timing sidecar differs) and import nothing from outside the package, and the method scan (7 method-syntax members, 7 parameters compared both ways with the checker) finds no difference, so nothing hides behind a bivariant method at any depth.",
|
|
4
|
+
"exact-optional": "Not measurable (a consumer's compiler option): the emitted declarations are byte-identical at both ends and import nothing from outside the package, so no `?` or `| undefined` moved anywhere a consumer can see."
|
|
5
|
+
}
|
|
6
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"mustCheck": {
|
|
3
|
+
"deep-nesting": "Not measurable by the run, so the hole was checked: the package's emitted declarations are byte-identical at both ends (diff of the judge's two cached trees: only the timing sidecar differs), their only outside import is typescript (5.7.2 at both refs), and the method scan (26 method-syntax members, 15 parameters compared both ways with the checker) finds no difference, so nothing hides behind a bivariant method at any depth.",
|
|
4
|
+
"shared-dependency": "typescript: packages/wiki-gate/package.json declares typescript 5.7.2 at both refs, it and package-lock.json are unchanged between v7.71.1 and this commit (git diff --quiet exits 0; the same lockfile integrity), and the installed copy the judge compiled against is 5.7.2, so both ends were judged against the version both declare.",
|
|
5
|
+
"exact-optional": "Not measurable (a consumer's compiler option): the emitted declarations are byte-identical at both ends and their only outside import, typescript, is the same 5.7.2 at both refs, so no `?` or `| undefined` moved anywhere a consumer can see."
|
|
6
|
+
}
|
|
7
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"repo": "core",
|
|
3
|
+
"package": "@sema-agent/core-stores-sql",
|
|
4
|
+
"version": "7.71.1",
|
|
5
|
+
"from": "a0e02e8e809ea212f3b023c3612e5fd34658dbc5",
|
|
6
|
+
"to": "v7.71.1",
|
|
7
|
+
"added": [],
|
|
8
|
+
"removed": [],
|
|
9
|
+
"changed": [],
|
|
10
|
+
"subpaths": [],
|
|
11
|
+
"subpathsUnread": [
|
|
12
|
+
"from",
|
|
13
|
+
"to"
|
|
14
|
+
],
|
|
15
|
+
"narrowed": [],
|
|
16
|
+
"faces": {
|
|
17
|
+
"open": [],
|
|
18
|
+
"source": null
|
|
19
|
+
},
|
|
20
|
+
"closedSetMembers": [],
|
|
21
|
+
"closedSetsUnreadable": [],
|
|
22
|
+
"typeKeys": [],
|
|
23
|
+
"typeKeysUnreadableArms": [],
|
|
24
|
+
"typeKeysFlattenedCount": 4,
|
|
25
|
+
"signatures": [],
|
|
26
|
+
"versionLiterals": [],
|
|
27
|
+
"declarationMoves": [],
|
|
28
|
+
"mintMoves": [],
|
|
29
|
+
"noticeLineage": [],
|
|
30
|
+
"criteriaObserves": [],
|
|
31
|
+
"consumersHint": {
|
|
32
|
+
"cli": [],
|
|
33
|
+
"server": [],
|
|
34
|
+
"sdk": [],
|
|
35
|
+
"note": "scanned cli@df9465c17 server@d3e2455ce sdk@5ef4a2e — a name listed is MENTIONED there today, which is evidence of consumption, not proof of it"
|
|
36
|
+
},
|
|
37
|
+
"breakingCount": 0,
|
|
38
|
+
"breakingItems": [],
|
|
39
|
+
"toResolvedAt": "149bf59671aa6928d215f94e427fde044e51d108"
|
|
40
|
+
}
|
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
{
|
|
2
|
+
"repo": "core",
|
|
3
|
+
"package": "@sema-agent/core-stores-sql",
|
|
4
|
+
"schema": 2,
|
|
5
|
+
"version": "7.72.0",
|
|
6
|
+
"from": "bb2dbd1dc9c258907c827442b60c239f9de93de8",
|
|
7
|
+
"to": "v7.72.0",
|
|
8
|
+
"added": [],
|
|
9
|
+
"removed": [],
|
|
10
|
+
"changed": [],
|
|
11
|
+
"subpaths": [],
|
|
12
|
+
"subpathsUnread": [
|
|
13
|
+
"from",
|
|
14
|
+
"to"
|
|
15
|
+
],
|
|
16
|
+
"narrowed": [],
|
|
17
|
+
"faces": {
|
|
18
|
+
"open": [],
|
|
19
|
+
"source": null
|
|
20
|
+
},
|
|
21
|
+
"closedSetMembers": [],
|
|
22
|
+
"closedSetsUnreadable": [],
|
|
23
|
+
"typeKeys": [
|
|
24
|
+
{
|
|
25
|
+
"type": "SqlStorageBackend",
|
|
26
|
+
"at": [
|
|
27
|
+
"src/backend.ts"
|
|
28
|
+
],
|
|
29
|
+
"added": [],
|
|
30
|
+
"addedDetail": [],
|
|
31
|
+
"addedRequired": [],
|
|
32
|
+
"removed": [],
|
|
33
|
+
"madeRequired": [],
|
|
34
|
+
"madeOptional": [],
|
|
35
|
+
"retyped": [
|
|
36
|
+
{
|
|
37
|
+
"key": "checkpointStore.get(...).gate.kind",
|
|
38
|
+
"from": "Type '\"human\"' is not assignable to type '\"task_done\"'.",
|
|
39
|
+
"to": "(read by the compiler)",
|
|
40
|
+
"direction": "changed",
|
|
41
|
+
"judged": true
|
|
42
|
+
}
|
|
43
|
+
],
|
|
44
|
+
"breaking": true,
|
|
45
|
+
"criteriaCovered": false,
|
|
46
|
+
"judge": {
|
|
47
|
+
"verdict": "breaking",
|
|
48
|
+
"postures": [
|
|
49
|
+
"R",
|
|
50
|
+
"V",
|
|
51
|
+
"Vo",
|
|
52
|
+
"Ws"
|
|
53
|
+
],
|
|
54
|
+
"leaves": [
|
|
55
|
+
"L-1835a5ccb3cb"
|
|
56
|
+
],
|
|
57
|
+
"subject": "SqlStorageBackend",
|
|
58
|
+
"judged": true,
|
|
59
|
+
"home": [
|
|
60
|
+
"L-1835a5ccb3cb"
|
|
61
|
+
]
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
],
|
|
65
|
+
"typeKeysUnreadableArms": [],
|
|
66
|
+
"typeKeysFlattenedCount": 4,
|
|
67
|
+
"signatures": [],
|
|
68
|
+
"versionLiterals": [],
|
|
69
|
+
"declarationMoves": [],
|
|
70
|
+
"mintMoves": [],
|
|
71
|
+
"noticeLineage": [],
|
|
72
|
+
"criteriaObserves": [],
|
|
73
|
+
"consumersHint": {
|
|
74
|
+
"cli": [],
|
|
75
|
+
"server": [
|
|
76
|
+
"SqlStorageBackend"
|
|
77
|
+
],
|
|
78
|
+
"sdk": [],
|
|
79
|
+
"note": "scanned cli@c97d39fea server@6027d70dc sdk@174ccb4 — a name listed is MENTIONED there today, which is evidence of consumption, not proof of it"
|
|
80
|
+
},
|
|
81
|
+
"judge": {
|
|
82
|
+
"judgeVersion": "2",
|
|
83
|
+
"typescript": "5.7.2",
|
|
84
|
+
"counts": {
|
|
85
|
+
"same": 186,
|
|
86
|
+
"breaking": 3
|
|
87
|
+
},
|
|
88
|
+
"probes": 1015,
|
|
89
|
+
"leaves": [
|
|
90
|
+
{
|
|
91
|
+
"id": "L-1835a5ccb3cb",
|
|
92
|
+
"verdict": "breaking",
|
|
93
|
+
"message": "Type '\"human\"' is not assignable to type '\"task_done\"'.",
|
|
94
|
+
"count": 3,
|
|
95
|
+
"representative": [
|
|
96
|
+
"SqlStorageBackend",
|
|
97
|
+
"SqlStorageBackend.checkpointStore",
|
|
98
|
+
"createSqlStorageBackend"
|
|
99
|
+
],
|
|
100
|
+
"culprits": [
|
|
101
|
+
"backend.d.ts#SqlStorageBackend"
|
|
102
|
+
],
|
|
103
|
+
"postures": [
|
|
104
|
+
"R",
|
|
105
|
+
"V",
|
|
106
|
+
"Vo",
|
|
107
|
+
"Ws"
|
|
108
|
+
],
|
|
109
|
+
"home": "typeKeys:SqlStorageBackend",
|
|
110
|
+
"answer": {
|
|
111
|
+
"answer": "breaking",
|
|
112
|
+
"why": "This package's own emitted declarations are byte-identical to 7.71.1, but SqlStorageBackend extends @sema-agent/core's EngineStorageBackend, whose checkpointStore hands out parked tool_approval rows carrying core's widened ApprovalTargets (each role may be a readonly (string | null)[]), so a host that holds a SqlStorageBackend or createSqlStorageBackend's result as its 7.71.1 type, or reads a row's targets as one string per role, fails to compile; putting core's 7.71.1 ApprovalTargets back alone moves the EngineStorageBackend reader probe off this message (onto core's CheckpointErrorReason widening, answered in core's manifest)."
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
],
|
|
116
|
+
"mustCheck": [
|
|
117
|
+
{
|
|
118
|
+
"id": "deep-nesting",
|
|
119
|
+
"form": "a method or callback nested deeper than 10 levels of anonymous object types under an export: the strict postures stop there (a method there is compared bivariantly)",
|
|
120
|
+
"measured": {
|
|
121
|
+
"count": 0,
|
|
122
|
+
"examples": [],
|
|
123
|
+
"note": "not measured: the depth a consumer reaches is not bounded by the declarations"
|
|
124
|
+
},
|
|
125
|
+
"owed": true,
|
|
126
|
+
"answer": "Not measurable by the run, so the hole was checked: the package's own emitted declarations are byte-identical at both ends (diff of the judge's two cached trees: only the timing sidecar differs), and its 32 method-syntax members' 36 parameters compare equal both ways with the checker against each end's core; what it takes from @sema-agent/core (EngineStorageBackend, SessionStore, SessionLogTransfer, ManagedRetentionCapability) is covered by core's depth-unbounded scan of all 1,914 method-syntax members, which finds no differing method parameter outside ApprovalTargets, ShellReadRefusalDetails and CheckpointErrorReason, each answered breaking in core's manifest."
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"id": "strict-generic",
|
|
130
|
+
"form": "a method-syntax member (compared bivariantly) inside a parameter or result of a GENERIC or OVERLOADED exported function: the strict posture is not written for those functions",
|
|
131
|
+
"measured": {
|
|
132
|
+
"count": 0,
|
|
133
|
+
"examples": []
|
|
134
|
+
},
|
|
135
|
+
"owed": false,
|
|
136
|
+
"answer": null
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"id": "ambient-modules",
|
|
140
|
+
"form": "an ambient module (`declare module \"x\"`) both ends declare: in the one program the judge builds, the two declarations merge, so a change between them is not compared",
|
|
141
|
+
"measured": {
|
|
142
|
+
"count": 0,
|
|
143
|
+
"examples": []
|
|
144
|
+
},
|
|
145
|
+
"owed": false,
|
|
146
|
+
"answer": null
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"id": "shared-dependency",
|
|
150
|
+
"form": "a type the package takes from another installed package: both ends are judged against the ONE copy installed now, so a dependency that moved between the two refs is not compared",
|
|
151
|
+
"measured": {
|
|
152
|
+
"count": 0,
|
|
153
|
+
"examples": []
|
|
154
|
+
},
|
|
155
|
+
"owed": false,
|
|
156
|
+
"answer": null
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"id": "export-equals",
|
|
160
|
+
"form": "a module written `export =`: its members are not enumerated as named exports",
|
|
161
|
+
"measured": {
|
|
162
|
+
"count": 0,
|
|
163
|
+
"examples": []
|
|
164
|
+
},
|
|
165
|
+
"owed": false,
|
|
166
|
+
"answer": null
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"id": "exact-optional",
|
|
170
|
+
"form": "a consumer compiled with `exactOptionalPropertyTypes`: the probes compile without it, so `k?: T` -> `k?: T | undefined` (and back) is not compared under it",
|
|
171
|
+
"measured": {
|
|
172
|
+
"count": 0,
|
|
173
|
+
"examples": [],
|
|
174
|
+
"note": "not measured: a consumer's compiler option"
|
|
175
|
+
},
|
|
176
|
+
"owed": true,
|
|
177
|
+
"answer": "Not measurable (a consumer's compiler option): the package's own emitted declarations are byte-identical at both ends, so no `?` or `| undefined` of its own moved, and in core's declaration diff (what it reaches through @sema-agent/core) no member both ends declare gained or lost `| undefined`; core's optionality changes are SchedulerLanes.session (answered breaking in core's manifest) and two prepare inputs no published declaration reaches."
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"id": "unresolved-imports",
|
|
181
|
+
"form": "an import inside the emitted declarations that does not resolve: what it names reads as `any`, which every posture accepts",
|
|
182
|
+
"measured": {
|
|
183
|
+
"count": 0,
|
|
184
|
+
"examples": []
|
|
185
|
+
},
|
|
186
|
+
"owed": false,
|
|
187
|
+
"answer": null
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"id": "declaration-errors",
|
|
191
|
+
"form": "a declaration the end could not emit cleanly (`declaration emit` errors): the emitted file may say less than the source",
|
|
192
|
+
"measured": {
|
|
193
|
+
"count": 0,
|
|
194
|
+
"examples": []
|
|
195
|
+
},
|
|
196
|
+
"owed": false,
|
|
197
|
+
"answer": null
|
|
198
|
+
}
|
|
199
|
+
],
|
|
200
|
+
"policyNotes": [],
|
|
201
|
+
"staleAnswers": [],
|
|
202
|
+
"seconds": {
|
|
203
|
+
"emitFrom": 0,
|
|
204
|
+
"emitTo": 0.368,
|
|
205
|
+
"build": 2.017,
|
|
206
|
+
"check": 1.456,
|
|
207
|
+
"total": 3.913
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
"breakingCount": 1,
|
|
211
|
+
"breakingItems": [
|
|
212
|
+
"type retyped keys: SqlStorageBackend checkpointStore.get(...).gate.kind (changed: Type '\"human\"' is not assignable to type '\"task_done\"'.)"
|
|
213
|
+
],
|
|
214
|
+
"toResolvedAt": "ebe58bb8c510264cb8aa14d6c6d95f633f68a96e"
|
|
215
|
+
}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
{
|
|
2
|
+
"repo": "core",
|
|
3
|
+
"version": "7.71.1",
|
|
4
|
+
"from": "a0e02e8e809ea212f3b023c3612e5fd34658dbc5",
|
|
5
|
+
"to": "v7.71.1",
|
|
6
|
+
"added": [
|
|
7
|
+
{
|
|
8
|
+
"name": "resolveDeclaredFidelity",
|
|
9
|
+
"kind": "function",
|
|
10
|
+
"tier": "advanced",
|
|
11
|
+
"at": [
|
|
12
|
+
"src/core/checkpoint-store.ts:2975",
|
|
13
|
+
"src/index.ts:1703"
|
|
14
|
+
],
|
|
15
|
+
"criteriaCovered": false,
|
|
16
|
+
"breaking": false
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"name": "stampCheckpointRequirements",
|
|
20
|
+
"kind": "function",
|
|
21
|
+
"tier": "advanced",
|
|
22
|
+
"at": [
|
|
23
|
+
"src/core/checkpoint-requirements.ts:576",
|
|
24
|
+
"src/index.ts:1181"
|
|
25
|
+
],
|
|
26
|
+
"criteriaCovered": false,
|
|
27
|
+
"breaking": false
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
"removed": [],
|
|
31
|
+
"changed": [],
|
|
32
|
+
"subpaths": [],
|
|
33
|
+
"narrowed": [],
|
|
34
|
+
"faces": {
|
|
35
|
+
"open": [
|
|
36
|
+
"TRACE_EVENT_KINDS",
|
|
37
|
+
"TraceEvent"
|
|
38
|
+
],
|
|
39
|
+
"source": "src/core/contract-faces.ts"
|
|
40
|
+
},
|
|
41
|
+
"closedSetMembers": [],
|
|
42
|
+
"closedSetsUnreadable": [],
|
|
43
|
+
"typeKeys": [],
|
|
44
|
+
"typeKeysUnreadableArms": [],
|
|
45
|
+
"typeKeysFlattenedCount": 339,
|
|
46
|
+
"signatures": [],
|
|
47
|
+
"versionLiterals": [],
|
|
48
|
+
"declarationMoves": [
|
|
49
|
+
{
|
|
50
|
+
"name": "resolveDeclaredFidelity",
|
|
51
|
+
"kind": "function",
|
|
52
|
+
"onSurface": true,
|
|
53
|
+
"from": [
|
|
54
|
+
"src/core/checkpoint-store.ts"
|
|
55
|
+
],
|
|
56
|
+
"to": [
|
|
57
|
+
"src/core/checkpoint-store.ts",
|
|
58
|
+
"src/index.ts"
|
|
59
|
+
]
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"name": "stampCheckpointRequirements",
|
|
63
|
+
"kind": "function",
|
|
64
|
+
"onSurface": true,
|
|
65
|
+
"from": [
|
|
66
|
+
"src/core/checkpoint-requirements.ts"
|
|
67
|
+
],
|
|
68
|
+
"to": [
|
|
69
|
+
"src/core/checkpoint-requirements.ts",
|
|
70
|
+
"src/index.ts"
|
|
71
|
+
]
|
|
72
|
+
}
|
|
73
|
+
],
|
|
74
|
+
"mintMoves": [],
|
|
75
|
+
"noticeLineage": [],
|
|
76
|
+
"criteriaObserves": [
|
|
77
|
+
{
|
|
78
|
+
"kind": "typeMember",
|
|
79
|
+
"name": "CheckpointError.code",
|
|
80
|
+
"assertions": [
|
|
81
|
+
"G1.b"
|
|
82
|
+
]
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"kind": "typeMember",
|
|
86
|
+
"name": "CheckpointError.detail",
|
|
87
|
+
"assertions": [
|
|
88
|
+
"G1.b"
|
|
89
|
+
]
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"kind": "typeMember",
|
|
93
|
+
"name": "CheckpointRowVerdict.kind",
|
|
94
|
+
"assertions": [
|
|
95
|
+
"G1.a"
|
|
96
|
+
]
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"kind": "typeMember",
|
|
100
|
+
"name": "TaskResult.terminal",
|
|
101
|
+
"assertions": [
|
|
102
|
+
"G1.a"
|
|
103
|
+
]
|
|
104
|
+
}
|
|
105
|
+
],
|
|
106
|
+
"consumersHint": {
|
|
107
|
+
"cli": [],
|
|
108
|
+
"server": [
|
|
109
|
+
"resolveDeclaredFidelity",
|
|
110
|
+
"stampCheckpointRequirements"
|
|
111
|
+
],
|
|
112
|
+
"sdk": [],
|
|
113
|
+
"note": "scanned cli@df9465c17 server@d3e2455ce sdk@5ef4a2e — a name listed is MENTIONED there today, which is evidence of consumption, not proof of it"
|
|
114
|
+
},
|
|
115
|
+
"breakingCount": 0,
|
|
116
|
+
"breakingItems": [],
|
|
117
|
+
"toResolvedAt": "149bf59671aa6928d215f94e427fde044e51d108"
|
|
118
|
+
}
|