@sema-agent/core
Version:
Stateless, task-oriented AI agent core
314 lines (313 loc) • 9.42 kB
JSON
{
"repo": "core",
"package": "@sema-agent/primitives",
"schema": 2,
"version": "7.75.0",
"from": "17de7ad443ad704511219dc8d8cfad8a873bcbe6",
"to": "v7.75.0",
"added": [
{
"name": "CROSS_BOUNDARY_POSTURES",
"kind": "variable",
"tier": null,
"at": [
"src/cross-boundary-posture.ts:5",
"src/index.ts:19"
],
"criteriaCovered": false,
"breaking": false
},
{
"name": "CrossBoundaryPosture",
"kind": "type",
"tier": null,
"at": [
"src/cross-boundary-posture.ts:6",
"src/index.ts:19"
],
"criteriaCovered": false,
"breaking": false
},
{
"name": "PlaintextOrigins",
"kind": "interface",
"tier": null,
"at": [
"src/index.ts:18",
"src/plaintext-origins.ts:27"
],
"criteriaCovered": false,
"breaking": false
},
{
"name": "PlaintextOriginsReading",
"kind": "type",
"tier": null,
"at": [
"src/index.ts:18",
"src/plaintext-origins.ts:38"
],
"criteriaCovered": false,
"breaking": false
},
{
"name": "resolvePlaintextOrigins",
"kind": "function",
"tier": null,
"at": [
"src/index.ts:18",
"src/plaintext-origins.ts:206"
],
"criteriaCovered": false,
"breaking": false
},
{
"name": "screenPlaintextOrigins",
"kind": "function",
"tier": null,
"at": [
"src/index.ts:18",
"src/plaintext-origins.ts:242"
],
"criteriaCovered": false,
"breaking": false
},
{
"name": "secretScanWorkBudget",
"kind": "function",
"tier": null,
"at": [
"src/index.ts:87",
"src/secret-scan.ts:238"
],
"criteriaCovered": false,
"breaking": false
}
],
"removed": [],
"changed": [],
"subpaths": [],
"subpathsUnread": [
"from",
"to"
],
"narrowed": [],
"faces": {
"open": [],
"source": null
},
"closedSetMembers": [
{
"set": "CROSS_BOUNDARY_POSTURES",
"at": [
"src/cross-boundary-posture.ts:5"
],
"newSet": true,
"added": [
"multi_tenant",
"single_user"
],
"removed": [],
"breaking": false,
"criteriaCovered": false,
"judge": {
"verdict": "new",
"leaves": []
}
},
{
"set": "CrossBoundaryPosture",
"at": [
"src/cross-boundary-posture.ts:6",
"src/index.ts:19"
],
"newSet": true,
"added": [
"multi_tenant",
"single_user"
],
"removed": [],
"breaking": false,
"criteriaCovered": false,
"judge": {
"verdict": "new",
"leaves": []
}
}
],
"closedSetsUnreadable": [],
"typeKeys": [],
"typeKeysUnreadableArms": [],
"typeKeysFlattenedCount": 9,
"signatures": [
{
"name": "a2aRegistrationProblems",
"at": [
"src/a2a-registration.ts:115"
],
"from": [
"(declaration: A2aRegistrationFacts): readonly A2aRegistrationProblem[]"
],
"to": [
"(declaration: A2aRegistrationFacts, origins?: PlaintextOrigins): readonly A2aRegistrationProblem[]"
],
"changes": [
{
"aspect": "param",
"detail": "+optional param `origins?: PlaintextOrigins`"
}
],
"breaking": false,
"criteriaCovered": false,
"judge": {
"verdict": "same",
"postures": [],
"leaves": [],
"subject": "a2aRegistrationProblems"
}
},
{
"name": "crossesNetworkInClear",
"at": [
"src/loopback-host.ts:75"
],
"from": [
"(endpoint: URL): boolean"
],
"to": [
"(endpoint: URL, origins?: PlaintextOrigins): boolean"
],
"changes": [
{
"aspect": "param",
"detail": "+optional param `origins?: PlaintextOrigins`"
}
],
"breaking": false,
"criteriaCovered": false,
"judge": {
"verdict": "same",
"postures": [],
"leaves": [],
"subject": "crossesNetworkInClear"
}
}
],
"versionLiterals": [],
"declarationMoves": [],
"mintMoves": [],
"noticeLineage": [],
"criteriaObserves": [],
"consumersHint": {
"cli": [
"CROSS_BOUNDARY_POSTURES",
"CrossBoundaryPosture",
"a2aRegistrationProblems"
],
"server": [
"CROSS_BOUNDARY_POSTURES",
"CrossBoundaryPosture",
"crossesNetworkInClear"
],
"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. Ledger files (**/docs/core-consumption/**, **/docs/wire-consumption/**, **/*LEDGER*.json) are not evidence of use — server: 4 name(s) matched ONLY in bookkeeping files and were set aside (PlaintextOrigins, PlaintextOriginsReading, resolvePlaintextOrigins, screenPlaintextOrigins)"
},
"judge": {
"judgeVersion": "3",
"typescript": "5.7.2",
"counts": {
"same": 293
},
"probes": 1502,
"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/primitives/*.ts only (packages/primitives/tsconfig.json rootDir) and imports nothing from outside itself. Between v7.74.0 and this head the changes are: new exports (resolvePlaintextOrigins, screenPlaintextOrigins, PlaintextOrigins, PlaintextOriginsReading, CROSS_BOUNDARY_POSTURES, CrossBoundaryPosture, secretScanWorkBudget; src/primitives/index.ts), and one new optional parameter `origins?: PlaintextOrigins` on crossesNetworkInClear (src/primitives/loopback-host.ts:75) and on a2aRegistrationProblems (src/primitives/a2a-registration.ts:115); secret-scan.ts otherwise changes function bodies only. The new types are at most two levels deep (a union of two readonly objects, a readonly array of strings). Nothing changed deeper than 10 levels."
},
{
"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": 0,
"examples": []
},
"owed": false,
"answer": null
},
{
"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]: no property both ends declare gained or lost `?` or `| undefined`; the only optional additions are the new `origins?` parameters of two functions and the members of the new types PlaintextOrigins / PlaintextOriginsReading, which are new keys."
},
{
"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"
}