@sema-agent/core
Version:
Stateless, task-oriented AI agent core
69 lines (68 loc) • 8.38 kB
JSON
{
"leaves": {
"L-646df9043978": {
"answer": "breaking",
"why": "ModEventName is keyof typeof MOD_EVENT_TABLE (src/core/mods/kernel/events.ts:431) and the table grows from 145 to 151 rows (events.ts:219: +theme.set, theme.clear, ui.place, ui.cancelNotify, prompt.paint, decision.ask), so every export that carries a mod event name (ModBus.dispatch, ModDispatchOptions.frames' ModFrame.event, the mod tool options that reach the bus) widens: a reader exhaustive over ModEventName, or an implementer of a method taking the 7.73.0 union, fails to compile. Named by CHANGELOG.md:126 (2)."
},
"L-0e3e450a38cc": {
"answer": "breaking",
"why": "TOOL_MOUNT_FACTS gains env.modelShell (src/core/tool-mount-plan.ts:27, the word at :38), so ToolMountFact (:82) and the condition ToolMountCond's fact (:96-97) widen, and every export that hands out a tool plan or leg frame carrying a mount condition reaches it: a reader exhaustive over the facts, or a plan held as its 7.73.0 type, fails to compile. Named by CHANGELOG.md:45."
},
"L-aa8209c8b50d": {
"answer": "breaking",
"why": "TaskRegistry.reconcileParkedAgents' receipt gains the required member unreadable (src/core/task-registry.ts:836-844: Promise<{ failed; rolledBack; unreadable }>; v7.73.0 :835 returned { failed; rolledBack }), so a subclass or a TaskRegistry-shaped value handed to MonitorToolOptions.registry / RunWorkflowToolDeps.taskRegistry that returns the 7.73.0 receipt fails to compile; a caller that only reads the receipt is unaffected. Named by CHANGELOG.md:189."
},
"L-a0f97aae588a": {
"answer": "not-breaking",
"why": "The judge could not take apart the old overload list (uncertain, no posture failed, no culprit); the five rest-parameter functions it holds have the same declaration text at both ends: clampValuesOf (src/core/child-clamp-seats.ts:541) and foldClampSources (:412) in a file byte-identical to v7.73.0, joinFloors / joinedFloors (src/tools/fs/shell-read-bindings.ts:815 / :1936) likewise, and toolPolicySkippedRules (src/core/permission-rules.ts:454) whose file changed only the text of the invalid.primary_field sentence (#2255). Named by CHANGELOG.md:169 (Not breaking)."
},
"L-4dfb66af74da": {
"answer": "breaking",
"why": "MOD_EVENT_TABLE (src/core/mods/kernel/events.ts:219) gains six rows, so a value typed typeof MOD_EVENT_TABLE written to 7.73.0's 145 rows fails to compile until it adds them. Named by CHANGELOG.md:126 (2)."
},
"L-89fbb3ed7669": {
"answer": "breaking",
"why": "EngineNoticeCode (src/core/governance-codes.ts:911) gains config.model_shell_unmounted and config.shell_state_env_dropped (the set at :444, words at :493 / :496): a reader exhaustive over the codes fails to compile until it places both. Named by CHANGELOG.md:44."
},
"L-907d970a4c2a": {
"answer": "breaking",
"why": "CONFIG_REFUSAL_CODES (src/core/config-refusal-codes.ts:21) grows from 203 to 204 words (+config.deployment_shape at :58): a value typed as the 7.73.0 tuple, or a reader exhaustive over it, fails to compile. Named by CHANGELOG.md:159 (1)."
},
"L-99a162cefd6b": {
"answer": "breaking",
"why": "KERNEL_CONTRACT_VERSION moves from 12 (v7.73.0 src/core/mods/kernel/events.ts:68) to 13 (events.ts:71): a literal-typed comparison or a package stamped 12 no longer matches, and a package declaring 12 is refused config.mods_invalid. Named by CHANGELOG.md:126 (1)."
},
"L-9ac6f457fb9f": {
"answer": "breaking",
"why": "ENGINE_NOTICE_CODES (src/core/governance-codes.ts:444) grows from 200 to 202 words (:493 / :496): a value typed as the 7.73.0 tuple, or a reader exhaustive over it, fails to compile. Named by CHANGELOG.md:44."
},
"L-a6a8f87f0ca8": {
"answer": "breaking",
"why": "ENGINE_CAPABILITIES (src/core/engine-capabilities.ts:224) grows from 23 to 24 words (+brain.anthropic_oauth_bearer): a value typed as the 7.73.0 tuple, or a reader exhaustive over it (the server's capability fact table), fails to compile. Named by CHANGELOG.md:148."
},
"L-a8cfff7ef5bb": {
"answer": "breaking",
"why": "TOOL_MOUNT_FACTS (src/core/tool-mount-plan.ts:27) grows from 45 to 46 words (+env.modelShell at :38): a value typed as the 7.73.0 tuple, or a reader exhaustive over it, fails to compile. Named by CHANGELOG.md:45."
},
"L-bb250c9c50ff": {
"answer": "breaking",
"why": "NOTICE_MINTER (src/core/governance-codes.ts:1971, Readonly<Record<EngineNoticeCode, NoticeMinter>>) gains the rows config.model_shell_unmounted and config.shell_state_env_dropped (both engine; :1786 on): a host value typed typeof NOTICE_MINTER written to 7.73.0's table fails to compile until it adds both; reading it still compiles. Named by CHANGELOG.md:44."
},
"L-d9b49009d8bc": {
"answer": "breaking",
"why": "ConfigRefusalCode (src/core/config-refusal-codes.ts:227) gains config.deployment_shape (:58): a reader exhaustive over it (a satisfies Record<ConfigRefusalCode, …> table) fails to compile until it places it. Named by CHANGELOG.md:159 (1)."
},
"L-ffc1aa4a2a16": {
"answer": "breaking",
"why": "EngineCapability (src/core/engine-capabilities.ts:227) gains brain.anthropic_oauth_bearer (:224): a consumer that lists every word exhaustively fails to compile until it lists it. Named by CHANGELOG.md:148."
}
},
"mustCheck": {
"deep-nesting": "Not measurable by the run, so the two ends' emitted declarations were diffed (diff -ru of the judge's cached trees for v7.73.0 and the candidate's source head f365474af8: 51 changed .d.ts files, 9 new, none removed): the deepest changed line sits at depth 2 (8 spaces), every changed call shape is a top-level function or a depth-1 method (WorkflowPrimitives.parallel gained an optional second parameter), and the rest are the widened unions and grown tuples answered above, new optional members and literal text; no change sits deeper than 10 levels of anonymous object types, so none can hide behind a bivariant method there.",
"strict-generic": "Measured 314 generic or overloaded exported functions without a strict probe; scanning the declaration diff for generic or overloaded functions both ends declare whose declaration changed finds one, withRowNotExecuted (src/core/runner/tool-not-executed.ts:71: second parameter boolean -> RowEndFacts | undefined), which is not published (absent from src/index.ts and test/export-surface.snapshot.json); no published generic or overloaded function both ends declare changed its declaration text (the scan's positive control, a synthetic toggle, is found).",
"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 (cmp of the judge's cached trees), and package-lock.json is unchanged between v7.73.0 and f365474af8 (undici the same lockfile entry), so the two declarations the judge merged are one text.",
"shared-dependency": "@modelcontextprotocol/client, typebox and undici: package-lock.json is unchanged between v7.73.0 and the candidate's source head f365474af8, and package.json changed only by one script line (gate:kernel-digest), so the one installed copy both ends were judged against is the copy both ends declare.",
"export-equals": "The one `export =` measured is inside the two ambient undici handler modules of brain/undici-handler-api.d.ts, a file byte-identical at both ends (cmp of the judge's cached trees), an internal transport shim, so no member went unenumerated in this range.",
"exact-optional": "Not measurable (a consumer's compiler option), so the declaration diff was paired mechanically by file and member name (.gate-logs scan, positive control found): no member both ends declare gained or lost `?` or `| undefined` (0 pairs); the optional members this range adds are new keys (ToolResultMessage.details.gate, ExecutionEnv.modelShell / modelShellDropped, ReadCandidate.bracket, ModeRelease.confined, CheckpointSummary.ruleOffersAbsence, ToolGateInput.confined, ModStation ownerOnly / closed / answers, ModDispatchOptions.owner, ModPackageHost.expectDigest), which the option does not make breaking."
}
}