UNPKG

@sema-agent/core

Version:

Stateless, task-oriented AI agent core

193 lines (192 loc) • 6.89 kB
{ "repo": "core", "package": "@sema-agent/mods-kernel", "schema": 2, "version": "7.75.0", "from": "17de7ad443ad704511219dc8d8cfad8a873bcbe6", "to": "v7.75.0", "added": [], "removed": [], "changed": [], "subpaths": [], "subpathsUnread": [ "from", "to" ], "narrowed": [], "faces": { "open": [], "source": null }, "closedSetMembers": [ { "set": "ModRegistration.failure", "at": [ "src/registration.ts:172" ], "newSet": true, "added": [ "skip" ], "removed": [], "breaking": false, "criteriaCovered": false, "judge": { "verdict": "new", "leaves": [] } } ], "closedSetsUnreadable": [], "typeKeys": [ { "type": "ModRegistration", "at": [ "src/registration.ts:158" ], "added": [ "failure" ], "addedDetail": [ { "key": "failure", "optional": true } ], "addedRequired": [], "removed": [], "madeRequired": [], "madeOptional": [], "retyped": [], "breaking": false, "criteriaCovered": false, "judge": { "verdict": "same", "postures": [], "leaves": [], "subject": "ModRegistration" } } ], "typeKeysUnreadableArms": [], "typeKeysFlattenedCount": 1, "signatures": [], "versionLiterals": [], "declarationMoves": [], "mintMoves": [], "noticeLineage": [], "criteriaObserves": [], "consumersHint": { "cli": [ "ModRegistration" ], "server": [ "ModRegistration" ], "sdk": [], "note": "scanned cli@73a4991c0 server@6005a43b8 sdk@a99251ea — a name listed is MENTIONED there today, which is evidence of consumption, not proof of it" }, "judge": { "judgeVersion": "3", "typescript": "5.7.2", "counts": { "same": 590, "breaking": 1 }, "probes": 3299, "leaves": [], "mustCheck": [ { "id": "deep-nesting", "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)", "measured": { "count": 0, "examples": [], "note": "not measured: the depth a consumer reaches is not bounded by the declarations" }, "owed": true, "answer": "Not measurable by the run, so the hole was checked [read]: the package compiles src/core/mods/kernel/*.ts only (packages/mods-kernel/tsconfig.json rootDir), and between v7.74.0 and this head two of those files changed (git diff --stat: dispatch.ts, registration.ts; 18 insertions, 4 deletions). The only declaration changes are two properties at depth 1: ModRegistration gains the optional `failure?: \"skip\"` (src/core/mods/kernel/registration.ts:172) and ScreenedRegistration the required `failureSkips: boolean` (:207); dispatch.ts changes only function bodies. Nothing changed deeper than 10 levels, so nothing can hide behind a bivariant method there; the package imports nothing from outside itself." }, { "id": "strict-generic", "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", "measured": { "count": 3, "examples": [ "admitMods", "receive#appendOwn", "registration#screenModSeats" ] }, "owed": true, "answer": "Measured admitMods, receive#appendOwn and registration#screenModSeats [read]: receive.ts is unchanged between v7.74.0 and this head (git diff --quiet); admitMods' declaration line is unchanged (dispatch.ts:227) and screenModSeats' too (registration.ts:225). The method-syntax member those functions reach, ModRegistration.register (registration.ts:174), did not change. The members that moved are a new optional property on ModRegistration (a parameter-side value typed to 7.74.0 still assigns) and a new required property on ScreenedRegistration, which screenModSeats returns (a reader of the result sees one more member; no value of it is handed in by a host). No bivariant member changed in a parameter or result of the three generic functions." }, { "id": "ambient-modules", "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", "measured": { "count": 0, "examples": [] }, "owed": false, "answer": null }, { "id": "shared-dependency", "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", "measured": { "count": 0, "examples": [] }, "owed": false, "answer": null }, { "id": "export-equals", "form": "a module written `export =`: its members are not enumerated as named exports", "measured": { "count": 0, "examples": [] }, "owed": false, "answer": null }, { "id": "exact-optional", "form": "a consumer compiled with `exactOptionalPropertyTypes`: the probes compile without it, so `k?: T` -> `k?: T | undefined` (and back) is not compared under it", "measured": { "count": 0, "examples": [], "note": "not measured: a consumer's compiler option" }, "owed": true, "answer": "Not measurable (a consumer's compiler option) [read]: the two declaration changes are new keys (`failure?` on ModRegistration, `failureSkips` on ScreenedRegistration); no member both ends declare gained or lost `?` or `| undefined`, and the package imports nothing from outside itself." }, { "id": "unresolved-imports", "form": "an import inside the emitted declarations that does not resolve: what it names reads as `any`, which every posture accepts", "measured": { "count": 0, "examples": [] }, "owed": false, "answer": null }, { "id": "declaration-errors", "form": "a declaration the end could not emit cleanly (`declaration emit` errors): the emitted file may say less than the source", "measured": { "count": 0, "examples": [] }, "owed": false, "answer": null } ], "policyNotes": [], "staleAnswers": [] }, "breakingCount": 0, "breakingItems": [], "toResolvedAt": "4dded751b0948e2537d42d567ba6cc36c906c3e8" }