@cleocode/contracts 2026.10.21 → 2026.10.22-rc.ci.693
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/dist/__tests__/memory-wire-shapes.test.js.map +1 -1
- package/dist/boundary.d.ts.map +1 -1
- package/dist/boundary.js +2 -17
- package/dist/boundary.js.map +1 -1
- package/dist/config.d.ts +67 -1
- package/dist/config.d.ts.map +1 -1
- package/dist/dispatch/operations-registry.d.ts.map +1 -1
- package/dist/dispatch/operations-registry.js +25 -0
- package/dist/dispatch/operations-registry.js.map +1 -1
- package/dist/evidence-atom-schema.d.ts +4 -0
- package/dist/evidence-atom-schema.d.ts.map +1 -1
- package/dist/evidence-atom-schema.js +25 -7
- package/dist/evidence-atom-schema.js.map +1 -1
- package/dist/exit-codes.d.ts +24 -1
- package/dist/exit-codes.d.ts.map +1 -1
- package/dist/exit-codes.js +23 -0
- package/dist/exit-codes.js.map +1 -1
- package/dist/facade.d.ts +1 -1
- package/dist/facade.d.ts.map +1 -1
- package/dist/facade.js +2 -0
- package/dist/facade.js.map +1 -1
- package/dist/git-hooks.d.ts +7 -2
- package/dist/git-hooks.d.ts.map +1 -1
- package/dist/git-hooks.js +5 -2
- package/dist/git-hooks.js.map +1 -1
- package/dist/graph.d.ts +91 -0
- package/dist/graph.d.ts.map +1 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/lean.d.ts +27 -0
- package/dist/lean.d.ts.map +1 -1
- package/dist/memory/observe.d.ts +20 -8
- package/dist/memory/observe.d.ts.map +1 -1
- package/dist/operations/docs.d.ts +2 -1
- package/dist/operations/docs.d.ts.map +1 -1
- package/dist/operations/docs.js +8 -2
- package/dist/operations/docs.js.map +1 -1
- package/dist/operations/nexus.d.ts +19 -1
- package/dist/operations/nexus.d.ts.map +1 -1
- package/dist/operations/session.d.ts +6 -0
- package/dist/operations/session.d.ts.map +1 -1
- package/dist/resource-governor.d.ts +26 -0
- package/dist/resource-governor.d.ts.map +1 -1
- package/dist/resource-governor.js.map +1 -1
- package/dist/task.d.ts +21 -0
- package/dist/task.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/__tests__/__snapshots__/operations-registry.test.ts.snap +1 -1
- package/src/__tests__/memory-wire-shapes.test.ts +3 -0
- package/src/boundary.ts +2 -18
- package/src/config.ts +69 -1
- package/src/dispatch/operations-registry.ts +26 -0
- package/src/evidence-atom-schema.ts +26 -8
- package/src/exit-codes.ts +25 -0
- package/src/facade.ts +2 -0
- package/src/git-hooks.ts +5 -2
- package/src/graph.ts +92 -0
- package/src/index.ts +8 -0
- package/src/lean.ts +29 -0
- package/src/memory/observe.ts +20 -8
- package/src/operations/docs.ts +8 -2
- package/src/operations/nexus.ts +20 -1
- package/src/operations/session.ts +6 -0
- package/src/resource-governor.ts +28 -0
- package/src/task.ts +21 -0
package/src/task.ts
CHANGED
|
@@ -333,6 +333,14 @@ export type EvidenceAtom =
|
|
|
333
333
|
* edits the tree hash left out (T13554).
|
|
334
334
|
*/
|
|
335
335
|
runtimeExcluded?: string[];
|
|
336
|
+
/**
|
|
337
|
+
* Untracked files outside every directory the change touches, which the
|
|
338
|
+
* binding did not judge as this change (T14000): another agent's work
|
|
339
|
+
* in a shared checkout. The tree hash includes them, so `cleo complete`
|
|
340
|
+
* and the superseded check refuse this atom as stale once any of them
|
|
341
|
+
* is tracked (committed into the change): the run never covered it.
|
|
342
|
+
*/
|
|
343
|
+
untrackedSetAside?: string[];
|
|
336
344
|
}
|
|
337
345
|
| {
|
|
338
346
|
/**
|
|
@@ -367,6 +375,8 @@ export type EvidenceAtom =
|
|
|
367
375
|
configPaths?: string[];
|
|
368
376
|
/** The change it checked is non-code only, so no typecheck is owed (T13745). */
|
|
369
377
|
nonCodeChange?: boolean;
|
|
378
|
+
/** Untracked files set aside at bind time, as for `test-run` (T14000). */
|
|
379
|
+
untrackedSetAside?: string[];
|
|
370
380
|
}
|
|
371
381
|
| {
|
|
372
382
|
kind: 'tool';
|
|
@@ -543,6 +553,13 @@ export type EvidenceAtom =
|
|
|
543
553
|
prNumber: number;
|
|
544
554
|
/** Merge commit SHA (full 40-char hex) — captured at validate time. */
|
|
545
555
|
mergeCommitSha: string;
|
|
556
|
+
/**
|
|
557
|
+
* The PR's final head commit, when GitHub reported it (T14004). A run
|
|
558
|
+
* bound on this head (or a descendant) tested the PR's work, even when
|
|
559
|
+
* a squash merge left the merge commit unrelated to it. Absent on atoms
|
|
560
|
+
* recorded before T14004 and on component PRs.
|
|
561
|
+
*/
|
|
562
|
+
headSha?: string;
|
|
546
563
|
/** ISO 8601 timestamp when the PR was merged. */
|
|
547
564
|
mergedAt: string;
|
|
548
565
|
/** Number of `SUCCESS` checks across all required workflows. */
|
|
@@ -557,6 +574,8 @@ export type EvidenceAtom =
|
|
|
557
574
|
changedPaths?: string[];
|
|
558
575
|
/** Explicit task relationship established when this atom was accepted. */
|
|
559
576
|
taskId?: string;
|
|
577
|
+
/** `owner/repo` the atom named (`pr:<owner>/<repo>#<n>`, T13912), lowercased. */
|
|
578
|
+
repo?: string;
|
|
560
579
|
/**
|
|
561
580
|
* Component PR this (integration) PR landed on the default branch
|
|
562
581
|
* (T12671): the task is linked through it and its files are the change.
|
|
@@ -581,6 +600,8 @@ export type EvidenceAtom =
|
|
|
581
600
|
kind: 'ci';
|
|
582
601
|
/** PR number (positive integer). */
|
|
583
602
|
prNumber: number;
|
|
603
|
+
/** `owner/repo` the atom named (`ci:<owner>/<repo>#<n>`, T13912), lowercased. */
|
|
604
|
+
repo?: string;
|
|
584
605
|
/** Merge commit SHA (full 40-char hex) the checks ran on. */
|
|
585
606
|
mergeCommitSha: string;
|
|
586
607
|
/**
|