UNPKG

@sema-agent/core

Version:

Stateless, task-oriented AI agent core

141 lines (140 loc) • 4.18 kB
{ "repo": "core", "version": "7.68.7", "from": "3ff2e275b59a02a98f8bf01f237114e9d69e3564", "to": "v7.68.7", "added": [], "removed": [], "changed": [], "subpaths": [], "narrowed": [ { "id": "F1", "source": "behaviorFlips.summary", "text": "#4862 (narrowing of 7.68.6): in a command text the lexer cannot read to its end, every statement it read in full before it stopped is judged as itself — a protected-location removal is a person's with `requiresRealApproval`, a deny-listed read is refused, a write-protected target and the read roots are judged — and the rest of the text is the ordinary question beside that verdict. An unterminated here-document is read as the measured shells read it (`DESIGN-4862.md` §2 S01/S05/S06/S34; `local-shells.out`): its body runs to the end of the text." }, { "id": "F2", "source": "behaviorFlips.summary", "text": "#4862 (narrowing; a gap older than 7.68.6): a command written in a parameter expansion's operand (`${X:-$(…)}`, `${X#$(…)}`, a backquote there, `<(…)` outside double quotes) is planned as any substitution is, the operand read as the shell quotes it." }, { "id": "F5", "source": "behaviorFlips.summary", "text": "#4854 (narrowing on Windows hosts): on a Windows-family tree a `/`-rooted shell operand is folded as Git Bash folds it and a single-letter first segment is that drive (`/c/rest`, `/C/rest` ⇒ `C:\\rest`; three or more leading slashes read as one), so reads, writes, redirections, `cd` targets and the removal guard judge it as its `C:/…` twin; the tracked working directory reads the shell's `/c/…` pwd the same way." } ], "faces": { "open": [ "TRACE_EVENT_KINDS", "TraceEvent" ], "source": "src/core/contract-faces.ts" }, "closedSetMembers": [], "closedSetsUnreadable": [], "typeKeys": [ { "type": "ShellReadPlan", "at": [ "src/tools/fs/shell-read-plan.ts:269" ], "added": [ "unreadTail" ], "addedDetail": [ { "key": "unreadTail", "optional": true } ], "addedRequired": [], "removed": [], "madeRequired": [], "madeOptional": [], "retyped": [], "breaking": false, "criteriaCovered": true } ], "typeKeysUnreadableArms": [], "typeKeysFlattenedCount": 305, "signatures": [], "versionLiterals": [], "declarationMoves": [], "mintMoves": [], "criteriaObserves": [ { "kind": "taskEventField", "name": "tool_end.gate", "assertions": [ "G2.a", "G3.a", "G3.b", "G4.a", "G5.a", "G6.a" ] }, { "kind": "typeMember", "name": "AskRequest.askClass", "assertions": [ "G1.a", "G4.a", "G6.a" ] }, { "kind": "typeMember", "name": "AskRequest.requiresRealApproval", "assertions": [ "G1.a", "G6.a" ] }, { "kind": "typeMember", "name": "RunnerDeps.readFace", "assertions": [ "G1.a" ] }, { "kind": "typeMember", "name": "ShellReadPlan.unreadTail", "assertions": [ "G2.a" ] }, { "kind": "typeMember", "name": "TaskSpec.permissionMode", "assertions": [ "G1.a", "G3.a", "G5.a" ] }, { "kind": "typeMember", "name": "TaskSpec.readDenyPatterns", "assertions": [ "G2.a", "G3.b", "G4.a" ] } ], "consumersHint": { "cli": [ "ShellReadPlan" ], "server": [], "sdk": [], "note": "scanned cli@df9465c17 server@e07c1cd1c sdk@3724afe — 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: 1 name(s) matched ONLY in bookkeeping files and were set aside (ShellReadPlan)" }, "breakingCount": 0, "breakingItems": [], "toResolvedAt": "9b95ae51a6785402c198355687168e5d0d912e65" }