@cleocode/core 2026.10.25 → 2026.10.26-rc.ci.697
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/build-provenance.json +2 -2
- package/dist/dispatch/contracts/output-contracts.d.ts +13 -0
- package/dist/dispatch/contracts/output-contracts.d.ts.map +1 -1
- package/dist/dispatch/contracts/output-contracts.js +29 -0
- package/dist/dispatch/contracts/output-contracts.js.map +1 -1
- package/dist/docs/docs-ops.d.ts +8 -0
- package/dist/docs/docs-ops.d.ts.map +1 -1
- package/dist/docs/docs-ops.js +24 -1
- package/dist/docs/docs-ops.js.map +1 -1
- package/dist/docs/docs-update.d.ts +8 -5
- package/dist/docs/docs-update.d.ts.map +1 -1
- package/dist/docs/docs-update.js +16 -5
- package/dist/docs/docs-update.js.map +1 -1
- package/dist/gateway-client/generated/types.gen.d.ts +27 -0
- package/dist/gateway-client/generated/types.gen.d.ts.map +1 -1
- package/dist/hooks/handlers/watchdog-hooks.d.ts.map +1 -1
- package/dist/hooks/handlers/watchdog-hooks.js +5 -0
- package/dist/hooks/handlers/watchdog-hooks.js.map +1 -1
- package/dist/internal.d.ts +3 -2
- package/dist/internal.d.ts.map +1 -1
- package/dist/internal.js +5 -2
- package/dist/internal.js.map +1 -1
- package/dist/lifecycle/verification/satisfies-validator.d.ts.map +1 -1
- package/dist/lifecycle/verification/satisfies-validator.js +22 -10
- package/dist/lifecycle/verification/satisfies-validator.js.map +1 -1
- package/dist/memory/brain-writer-thread.d.ts +30 -0
- package/dist/memory/brain-writer-thread.d.ts.map +1 -1
- package/dist/memory/brain-writer-thread.js +46 -1
- package/dist/memory/brain-writer-thread.js.map +1 -1
- package/dist/memory/brain-writer-worker.js +13 -2
- package/dist/memory/brain-writer-worker.js.map +1 -1
- package/dist/memory/embedding-backfill.d.ts +12 -0
- package/dist/memory/embedding-backfill.d.ts.map +1 -1
- package/dist/memory/embedding-backfill.js +51 -31
- package/dist/memory/embedding-backfill.js.map +1 -1
- package/dist/orchestrate/include-deps.d.ts +58 -0
- package/dist/orchestrate/include-deps.d.ts.map +1 -0
- package/dist/orchestrate/include-deps.js +138 -0
- package/dist/orchestrate/include-deps.js.map +1 -0
- package/dist/orchestrate/spawn-ops.d.ts +14 -33
- package/dist/orchestrate/spawn-ops.d.ts.map +1 -1
- package/dist/orchestrate/spawn-ops.js +49 -61
- package/dist/orchestrate/spawn-ops.js.map +1 -1
- package/dist/orchestrate/worktree-complete.d.ts +15 -1
- package/dist/orchestrate/worktree-complete.d.ts.map +1 -1
- package/dist/orchestrate/worktree-complete.js +36 -3
- package/dist/orchestrate/worktree-complete.js.map +1 -1
- package/dist/release/ci-evidence.d.ts +142 -4
- package/dist/release/ci-evidence.d.ts.map +1 -1
- package/dist/release/ci-evidence.js +298 -48
- package/dist/release/ci-evidence.js.map +1 -1
- package/dist/release/open.d.ts +25 -1
- package/dist/release/open.d.ts.map +1 -1
- package/dist/release/open.js +63 -11
- package/dist/release/open.js.map +1 -1
- package/dist/resources/admission-ledger.d.ts +83 -11
- package/dist/resources/admission-ledger.d.ts.map +1 -1
- package/dist/resources/admission-ledger.js +138 -39
- package/dist/resources/admission-ledger.js.map +1 -1
- package/dist/resources/governor.js +1 -1
- package/dist/resources/governor.js.map +1 -1
- package/dist/resources/hook-footprint.d.ts +24 -0
- package/dist/resources/hook-footprint.d.ts.map +1 -1
- package/dist/resources/hook-footprint.js +38 -1
- package/dist/resources/hook-footprint.js.map +1 -1
- package/dist/resources/run-class.d.ts +38 -5
- package/dist/resources/run-class.d.ts.map +1 -1
- package/dist/resources/run-class.js +60 -11
- package/dist/resources/run-class.js.map +1 -1
- package/dist/resources/run-governed.d.ts +13 -3
- package/dist/resources/run-governed.d.ts.map +1 -1
- package/dist/resources/run-governed.js +42 -9
- package/dist/resources/run-governed.js.map +1 -1
- package/dist/resources/slot-holder.d.ts +3 -3
- package/dist/resources/slot-holder.js +3 -3
- package/dist/resources/tool-groups.d.ts +11 -7
- package/dist/resources/tool-groups.d.ts.map +1 -1
- package/dist/resources/tool-groups.js +24 -13
- package/dist/resources/tool-groups.js.map +1 -1
- package/dist/spawn/branch-integration.d.ts +281 -0
- package/dist/spawn/branch-integration.d.ts.map +1 -0
- package/dist/spawn/branch-integration.js +715 -0
- package/dist/spawn/branch-integration.js.map +1 -0
- package/dist/spawn/branch-lock.d.ts +32 -270
- package/dist/spawn/branch-lock.d.ts.map +1 -1
- package/dist/spawn/branch-lock.js +59 -770
- package/dist/spawn/branch-lock.js.map +1 -1
- package/dist/spawn/index.d.ts +3 -1
- package/dist/spawn/index.d.ts.map +1 -1
- package/dist/spawn/index.js +5 -1
- package/dist/spawn/index.js.map +1 -1
- package/dist/store/exodus/recovery.d.ts.map +1 -1
- package/dist/store/exodus/recovery.js +9 -4
- package/dist/store/exodus/recovery.js.map +1 -1
- package/dist/system/health.d.ts.map +1 -1
- package/dist/system/health.js +3 -1
- package/dist/system/health.js.map +1 -1
- package/dist/tasks/ac-coverage-gate.d.ts +18 -2
- package/dist/tasks/ac-coverage-gate.d.ts.map +1 -1
- package/dist/tasks/ac-coverage-gate.js +40 -6
- package/dist/tasks/ac-coverage-gate.js.map +1 -1
- package/dist/tasks/ac-table.d.ts.map +1 -1
- package/dist/tasks/ac-table.js +3 -10
- package/dist/tasks/ac-table.js.map +1 -1
- package/dist/tasks/affected-packages.d.ts.map +1 -1
- package/dist/tasks/affected-packages.js +54 -10
- package/dist/tasks/affected-packages.js.map +1 -1
- package/dist/tasks/affected-scope.d.ts +10 -1
- package/dist/tasks/affected-scope.d.ts.map +1 -1
- package/dist/tasks/affected-scope.js +13 -3
- package/dist/tasks/affected-scope.js.map +1 -1
- package/dist/tasks/change-set.d.ts +9 -6
- package/dist/tasks/change-set.d.ts.map +1 -1
- package/dist/tasks/change-set.js +75 -97
- package/dist/tasks/change-set.js.map +1 -1
- package/dist/tasks/command-line.d.ts.map +1 -1
- package/dist/tasks/command-line.js +6 -2
- package/dist/tasks/command-line.js.map +1 -1
- package/dist/tasks/complete.d.ts.map +1 -1
- package/dist/tasks/complete.js +7 -2
- package/dist/tasks/complete.js.map +1 -1
- package/dist/tasks/done-plan.d.ts.map +1 -1
- package/dist/tasks/done-plan.js +111 -29
- package/dist/tasks/done-plan.js.map +1 -1
- package/dist/tasks/done-record.d.ts +14 -0
- package/dist/tasks/done-record.d.ts.map +1 -1
- package/dist/tasks/done-record.js +17 -10
- package/dist/tasks/done-record.js.map +1 -1
- package/dist/tasks/evidence-tree.d.ts +33 -0
- package/dist/tasks/evidence-tree.d.ts.map +1 -0
- package/dist/tasks/evidence-tree.js +132 -0
- package/dist/tasks/evidence-tree.js.map +1 -0
- package/dist/tasks/evidence.d.ts +42 -6
- package/dist/tasks/evidence.d.ts.map +1 -1
- package/dist/tasks/evidence.js +175 -79
- package/dist/tasks/evidence.js.map +1 -1
- package/dist/tasks/gate-preview.d.ts.map +1 -1
- package/dist/tasks/gate-preview.js +3 -2
- package/dist/tasks/gate-preview.js.map +1 -1
- package/dist/tasks/gate-runner.d.ts +11 -3
- package/dist/tasks/gate-runner.d.ts.map +1 -1
- package/dist/tasks/gate-runner.js +156 -37
- package/dist/tasks/gate-runner.js.map +1 -1
- package/dist/tasks/gate-staleness.d.ts +58 -0
- package/dist/tasks/gate-staleness.d.ts.map +1 -0
- package/dist/tasks/gate-staleness.js +78 -0
- package/dist/tasks/gate-staleness.js.map +1 -0
- package/dist/tasks/heavy-tool-env.d.ts +26 -1
- package/dist/tasks/heavy-tool-env.d.ts.map +1 -1
- package/dist/tasks/heavy-tool-env.js +92 -5
- package/dist/tasks/heavy-tool-env.js.map +1 -1
- package/dist/tasks/heavy-tool-limit.d.ts +24 -0
- package/dist/tasks/heavy-tool-limit.d.ts.map +1 -1
- package/dist/tasks/heavy-tool-limit.js +44 -1
- package/dist/tasks/heavy-tool-limit.js.map +1 -1
- package/dist/tasks/show.d.ts.map +1 -1
- package/dist/tasks/show.js +43 -0
- package/dist/tasks/show.js.map +1 -1
- package/dist/tasks/test-run-binding.d.ts +48 -3
- package/dist/tasks/test-run-binding.d.ts.map +1 -1
- package/dist/tasks/test-run-binding.js +111 -3
- package/dist/tasks/test-run-binding.js.map +1 -1
- package/dist/tasks/tool-cache.d.ts +58 -7
- package/dist/tasks/tool-cache.d.ts.map +1 -1
- package/dist/tasks/tool-cache.js +216 -16
- package/dist/tasks/tool-cache.js.map +1 -1
- package/dist/tasks/tool-resolver.d.ts +13 -0
- package/dist/tasks/tool-resolver.d.ts.map +1 -1
- package/dist/tasks/tool-resolver.js +34 -0
- package/dist/tasks/tool-resolver.js.map +1 -1
- package/dist/tasks/tool-runner-guard.d.ts +6 -0
- package/dist/tasks/tool-runner-guard.d.ts.map +1 -1
- package/dist/tasks/tool-runner-guard.js.map +1 -1
- package/dist/tasks/tool-semaphore.js +1 -1
- package/dist/tasks/tool-semaphore.js.map +1 -1
- package/dist/tasks/verification-policy.d.ts +26 -3
- package/dist/tasks/verification-policy.d.ts.map +1 -1
- package/dist/tasks/verification-policy.js +76 -11
- package/dist/tasks/verification-policy.js.map +1 -1
- package/dist/validation/doctor/checks.d.ts +12 -0
- package/dist/validation/doctor/checks.d.ts.map +1 -1
- package/dist/validation/doctor/checks.js +33 -0
- package/dist/validation/doctor/checks.js.map +1 -1
- package/dist/validation/engine-ops.d.ts +6 -0
- package/dist/validation/engine-ops.d.ts.map +1 -1
- package/dist/validation/engine-ops.js +51 -1
- package/dist/validation/engine-ops.js.map +1 -1
- package/dist/worktree/force-unlock.js +2 -2
- package/dist/worktree/force-unlock.js.map +1 -1
- package/dist/worktree/list.d.ts +7 -7
- package/dist/worktree/list.d.ts.map +1 -1
- package/dist/worktree/list.js +11 -56
- package/dist/worktree/list.js.map +1 -1
- package/dist/worktree/prune.d.ts +2 -2
- package/dist/worktree/prune.d.ts.map +1 -1
- package/dist/worktree/prune.js +4 -4
- package/dist/worktree/prune.js.map +1 -1
- package/package.json +13 -13
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The one evidence-tree resolver (T14058): which checkout a task's evidence
|
|
3
|
+
* describes. Change-set binding ({@link resolveChangeSetRoot} in
|
|
4
|
+
* change-set.ts) and typed-gate execution ({@link resolveTypedGateRoot} in
|
|
5
|
+
* gate-runner.ts) both call {@link resolveEvidenceTree}, so a test-run bound
|
|
6
|
+
* in one tree is never judged by typed gates run in another.
|
|
7
|
+
*
|
|
8
|
+
* @task T14058
|
|
9
|
+
*/
|
|
10
|
+
import type { ChangeSetRootSource } from '@cleocode/contracts';
|
|
11
|
+
/** A resolved evidence tree and why it was chosen. */
|
|
12
|
+
export interface EvidenceTree {
|
|
13
|
+
/** Toplevel of the checkout the evidence describes. */
|
|
14
|
+
root: string;
|
|
15
|
+
/** Which tier chose it. */
|
|
16
|
+
source: ChangeSetRootSource;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Resolve the tree a task's evidence describes: where its change set is read,
|
|
20
|
+
* its test-runs are bound and its typed gates run.
|
|
21
|
+
*
|
|
22
|
+
* @param storeRoot - CLEO store root.
|
|
23
|
+
* @param taskId - Task whose `task/<id>` worktree may be the tree; null skips that tier.
|
|
24
|
+
* @param cwd - Invocation directory.
|
|
25
|
+
* @param env - Where the evidence declaration is read.
|
|
26
|
+
* @param accept - Narrows the candidates (typed gates take only this project's
|
|
27
|
+
* checkouts); the first accepted wins, else the store root.
|
|
28
|
+
* @returns The tree and its source tag.
|
|
29
|
+
* @task T14058
|
|
30
|
+
*/
|
|
31
|
+
export declare function resolveEvidenceTree(storeRoot: string, taskId: string | null, cwd?: string, // CWD-OK: the invocation dir is the subject (gh#1220)
|
|
32
|
+
env?: NodeJS.ProcessEnv, accept?: (root: string) => boolean): EvidenceTree;
|
|
33
|
+
//# sourceMappingURL=evidence-tree.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"evidence-tree.d.ts","sourceRoot":"","sources":["../../src/tasks/evidence-tree.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAKH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAK/D,sDAAsD;AACtD,MAAM,WAAW,YAAY;IAC3B,uDAAuD;IACvD,IAAI,EAAE,MAAM,CAAC;IACb,2BAA2B;IAC3B,MAAM,EAAE,mBAAmB,CAAC;CAC7B;AAwGD;;;;;;;;;;;;GAYG;AACH,wBAAgB,mBAAmB,CACjC,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,MAAM,GAAG,IAAI,EACrB,GAAG,GAAE,MAAsB,EAAE,sDAAsD;AACnF,GAAG,GAAE,MAAM,CAAC,UAAwB,EACpC,MAAM,GAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAoB,GAC7C,YAAY,CAKd"}
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The one evidence-tree resolver (T14058): which checkout a task's evidence
|
|
3
|
+
* describes. Change-set binding ({@link resolveChangeSetRoot} in
|
|
4
|
+
* change-set.ts) and typed-gate execution ({@link resolveTypedGateRoot} in
|
|
5
|
+
* gate-runner.ts) both call {@link resolveEvidenceTree}, so a test-run bound
|
|
6
|
+
* in one tree is never judged by typed gates run in another.
|
|
7
|
+
*
|
|
8
|
+
* @task T14058
|
|
9
|
+
*/
|
|
10
|
+
import { execFileSync } from 'node:child_process';
|
|
11
|
+
import { existsSync, realpathSync } from 'node:fs';
|
|
12
|
+
import { join, resolve as resolvePath } from 'node:path';
|
|
13
|
+
import { discoveryEnv, gitToplevel, resolveDeclaredEvidenceGitRoot } from '../git/work-tree.js';
|
|
14
|
+
import { enumerateWorktrees } from '../worktree/list.js';
|
|
15
|
+
import { resolveCanonicalProjectRoot, resolveEvidenceExecutionRoot } from './evidence.js';
|
|
16
|
+
function canonical(path) {
|
|
17
|
+
try {
|
|
18
|
+
return realpathSync(path);
|
|
19
|
+
}
|
|
20
|
+
catch {
|
|
21
|
+
return resolvePath(path);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* The git common directory of the checkout at `dir`, canonical, or null.
|
|
26
|
+
* Ambient GIT_DIR / GIT_WORK_TREE are ignored, as every evidence probe does.
|
|
27
|
+
*/
|
|
28
|
+
function commonDirOf(dir) {
|
|
29
|
+
try {
|
|
30
|
+
const args = ['rev-parse', '--path-format=absolute', '--git-common-dir'];
|
|
31
|
+
const common = execFileSync('git', args, {
|
|
32
|
+
cwd: dir,
|
|
33
|
+
encoding: 'utf-8',
|
|
34
|
+
env: discoveryEnv(),
|
|
35
|
+
stdio: ['ignore', 'pipe', 'ignore'],
|
|
36
|
+
}).trim();
|
|
37
|
+
return common === '' ? null : canonical(common);
|
|
38
|
+
}
|
|
39
|
+
catch {
|
|
40
|
+
return null;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
/** Whether `top` is a linked worktree: its `.git` is a gitlink, not the common directory. */
|
|
44
|
+
function isLinkedWorktree(top, common = commonDirOf(top)) {
|
|
45
|
+
return common !== null && canonical(join(top, '.git')) !== common;
|
|
46
|
+
}
|
|
47
|
+
/** The task's registered `task/<id>` worktree of the repository at `top`, if any. */
|
|
48
|
+
function taskWorktree(top, taskId) {
|
|
49
|
+
if (taskId === null)
|
|
50
|
+
return null;
|
|
51
|
+
let worktrees = [];
|
|
52
|
+
try {
|
|
53
|
+
worktrees = enumerateWorktrees(top);
|
|
54
|
+
}
|
|
55
|
+
catch {
|
|
56
|
+
return null;
|
|
57
|
+
}
|
|
58
|
+
const own = worktrees.find((entry) => (entry.branch === `task/${taskId}` || entry.branch.startsWith(`task/${taskId}-`)) &&
|
|
59
|
+
existsSync(entry.path) &&
|
|
60
|
+
canonical(entry.path) !== canonical(top));
|
|
61
|
+
return own ? { root: own.path, source: 'task-worktree' } : null;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Every candidate tree, most specific first; the caller takes the first it
|
|
65
|
+
* accepts.
|
|
66
|
+
*
|
|
67
|
+
* With an evidence declaration (`CLEO_EVIDENCE_GIT_ROOT`, `GIT_WORK_TREE` or
|
|
68
|
+
* `evidence.gitRoot`), which names the repository, not which checkout of it:
|
|
69
|
+
* 1. the invocation's own linked worktree of the declared repository — even
|
|
70
|
+
* when it is the declared tree itself and the task has a `task/<id>`
|
|
71
|
+
* worktree (T14058: a separate clean verification checkout);
|
|
72
|
+
* 2. the declared tree, when it is itself a linked worktree (T13649);
|
|
73
|
+
* 3. the task's `task/<id>` worktree of the declared repository (T13926:
|
|
74
|
+
* invoked from the main checkout or from outside it);
|
|
75
|
+
* 4. the declared tree.
|
|
76
|
+
*
|
|
77
|
+
* Without one: the invocation's own linked worktree of this project, the
|
|
78
|
+
* task's `task/<id>` worktree, then the store root or its single child
|
|
79
|
+
* checkout as {@link resolveEvidenceExecutionRoot} decides.
|
|
80
|
+
*/
|
|
81
|
+
function* candidates(storeRoot, taskId, cwd, env) {
|
|
82
|
+
const here = gitToplevel(cwd);
|
|
83
|
+
const declared = resolveDeclaredEvidenceGitRoot(storeRoot, env);
|
|
84
|
+
if (declared !== null) {
|
|
85
|
+
const top = gitToplevel(declared.path) ?? declared.path;
|
|
86
|
+
const common = commonDirOf(top);
|
|
87
|
+
if (common !== null) {
|
|
88
|
+
if (here !== null && isLinkedWorktree(here) && commonDirOf(here) === common)
|
|
89
|
+
yield { root: here, source: 'invocation-worktree' };
|
|
90
|
+
if (isLinkedWorktree(top, common))
|
|
91
|
+
yield { root: top, source: 'declared' };
|
|
92
|
+
const own = taskWorktree(top, taskId);
|
|
93
|
+
if (own)
|
|
94
|
+
yield own;
|
|
95
|
+
}
|
|
96
|
+
yield { root: top, source: 'declared' };
|
|
97
|
+
}
|
|
98
|
+
// A declaration a caller refused still leaves the invocation's own tree.
|
|
99
|
+
const base = declared === null
|
|
100
|
+
? resolveEvidenceExecutionRoot(storeRoot, cwd)
|
|
101
|
+
: here !== null && canonical(resolveCanonicalProjectRoot(here)) === canonical(storeRoot)
|
|
102
|
+
? here
|
|
103
|
+
: storeRoot;
|
|
104
|
+
if (canonical(base) !== canonical(storeRoot) && isLinkedWorktree(base))
|
|
105
|
+
yield { root: base, source: 'invocation-worktree' };
|
|
106
|
+
const own = taskWorktree(base, taskId);
|
|
107
|
+
if (own)
|
|
108
|
+
yield own;
|
|
109
|
+
yield { root: base, source: 'store' };
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* Resolve the tree a task's evidence describes: where its change set is read,
|
|
113
|
+
* its test-runs are bound and its typed gates run.
|
|
114
|
+
*
|
|
115
|
+
* @param storeRoot - CLEO store root.
|
|
116
|
+
* @param taskId - Task whose `task/<id>` worktree may be the tree; null skips that tier.
|
|
117
|
+
* @param cwd - Invocation directory.
|
|
118
|
+
* @param env - Where the evidence declaration is read.
|
|
119
|
+
* @param accept - Narrows the candidates (typed gates take only this project's
|
|
120
|
+
* checkouts); the first accepted wins, else the store root.
|
|
121
|
+
* @returns The tree and its source tag.
|
|
122
|
+
* @task T14058
|
|
123
|
+
*/
|
|
124
|
+
export function resolveEvidenceTree(storeRoot, taskId, cwd = process.cwd(), // CWD-OK: the invocation dir is the subject (gh#1220)
|
|
125
|
+
env = process.env, accept = () => true) {
|
|
126
|
+
for (const tree of candidates(storeRoot, taskId, cwd, env)) {
|
|
127
|
+
if (accept(tree.root))
|
|
128
|
+
return tree;
|
|
129
|
+
}
|
|
130
|
+
return { root: storeRoot, source: 'store' };
|
|
131
|
+
}
|
|
132
|
+
//# sourceMappingURL=evidence-tree.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"evidence-tree.js","sourceRoot":"","sources":["../../src/tasks/evidence-tree.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACnD,OAAO,EAAE,IAAI,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,WAAW,CAAC;AAEzD,OAAO,EAAE,YAAY,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AAK,MAAM,IAAI,IAAI,UAAU,CAAC,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,GAAG,CAAC,EAAE,CAAC;QAC3D,IAAI,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC;YAAE,OAAO,IAAI,CAAC;IACrC,CAAC;IACD,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC;AAC9C,CAAC"}
|
package/dist/tasks/evidence.d.ts
CHANGED
|
@@ -10,7 +10,8 @@
|
|
|
10
10
|
* - {@link resolveToolCommand} maps `tool:<name>` to a runnable command
|
|
11
11
|
* using `.cleo/project-context.json` and per-`primaryType` fallbacks.
|
|
12
12
|
* - {@link runToolCached} memoises results per
|
|
13
|
-
* `(canonical, cmd, args, treeHash, envFingerprint)`
|
|
13
|
+
* `(canonical, cmd, args, treeHash, envFingerprint, resourceEnv)` (the
|
|
14
|
+
* heap and worker limits the run gets, T12989) and serialises
|
|
14
15
|
* concurrent identical runs via a cross-process lock,
|
|
15
16
|
* preventing the resource thrash observed when multiple `cleo verify`
|
|
16
17
|
* invocations spawned full toolchains in parallel.
|
|
@@ -23,6 +24,7 @@
|
|
|
23
24
|
import type { EvidenceAtom, EvidenceMergeAnchor, EvidenceValidationContext, GateEvidence, Task, VerificationGate } from '@cleocode/contracts';
|
|
24
25
|
import type { ChangeSetDeps } from './change-set.js';
|
|
25
26
|
import type { ViewComponentPr } from './component-pr.js';
|
|
27
|
+
import { type ToolRunResult } from './tool-cache.js';
|
|
26
28
|
import { CANONICAL_TOOLS, type CanonicalTool } from './tool-resolver.js';
|
|
27
29
|
import { classifyEvidenceTask, isDocumentArtifact } from './verification-policy.js';
|
|
28
30
|
/**
|
|
@@ -531,6 +533,32 @@ export interface EvidenceExecutionRootHints {
|
|
|
531
533
|
*/
|
|
532
534
|
export declare function resolveEvidenceExecutionRoot(projectRoot: string, cwd?: string, // CWD-OK: the caller's invocation dir is the subject, not a stand-in for the project root (gh#1220)
|
|
533
535
|
hints?: EvidenceExecutionRootHints): string;
|
|
536
|
+
/**
|
|
537
|
+
* One sentence naming the heap and worker plan a memory-bound tool ran under
|
|
538
|
+
* (T13122), for a message about a kill; `''` for any other tool.
|
|
539
|
+
*/
|
|
540
|
+
/**
|
|
541
|
+
* The `E_EVIDENCE_TOOL_KILLED` validation for a tool run that started and was
|
|
542
|
+
* killed, by a signal or for resources (a wrapper's exit 128 + n, a heap OOM
|
|
543
|
+
* the runner caught), else `null` (T13013). One message for every path that
|
|
544
|
+
* runs a tool (`tool:<name>`, the affected-tests run, `cleo done`), naming the
|
|
545
|
+
* systemd memory ceiling when one applies ({@link describeMemoryLimit}) and
|
|
546
|
+
* where the heap is really set.
|
|
547
|
+
*
|
|
548
|
+
* gh#1381: a tool killed after it started is a different fact from a tool
|
|
549
|
+
* that never started; "binary missing" sent operators hunting a binary that
|
|
550
|
+
* was present.
|
|
551
|
+
*
|
|
552
|
+
* @param label - How the run is named: `Tool "test" → pnpm run test`.
|
|
553
|
+
* @param canonical - The canonical tool, for the memory ceiling.
|
|
554
|
+
* @param result - The run.
|
|
555
|
+
* @returns The failed validation, or `null` when the run was not killed.
|
|
556
|
+
*
|
|
557
|
+
* @task T13013
|
|
558
|
+
*/
|
|
559
|
+
export declare function killedValidation(label: string, canonical: CanonicalTool, result: Pick<ToolRunResult, 'signal' | 'resourceKill' | 'durationMs' | 'executionRoot' | 'stdoutTail' | 'stderrTail' | 'resources'>): Extract<AtomValidation, {
|
|
560
|
+
ok: false;
|
|
561
|
+
}> | null;
|
|
534
562
|
export { CANONICAL_TOOLS };
|
|
535
563
|
/**
|
|
536
564
|
* Check that the provided evidence atoms satisfy the LOC-drop requirement for
|
|
@@ -773,9 +801,10 @@ export interface RevalidationResult {
|
|
|
773
801
|
}>;
|
|
774
802
|
}
|
|
775
803
|
/**
|
|
776
|
-
* Why a `test-run:`/`qa-run:` result
|
|
777
|
-
* (T14004), or null. The binding records the HEAD it
|
|
778
|
-
*
|
|
804
|
+
* Why a `test-run:`/`qa-run:` result, or a `tool:` run (T13003), does not
|
|
805
|
+
* describe this task's work (T14004), or null. The binding records the HEAD it
|
|
806
|
+
* was bound to (a tool run, the HEAD it measured), and that HEAD must have seen
|
|
807
|
+
* the task's `implemented` work:
|
|
779
808
|
*
|
|
780
809
|
* - `commit:` — the run head is that commit or contains it. An older commit
|
|
781
810
|
* (the branch base, main before the work) never saw the work.
|
|
@@ -783,6 +812,10 @@ export interface RevalidationResult {
|
|
|
783
812
|
* head: its recorded `headSha` (a squash merge too), else the merge's second
|
|
784
813
|
* parent. An earlier branch commit never saw the whole change.
|
|
785
814
|
*
|
|
815
|
+
* "Seen" also holds when the HEAD carries a patch-equivalent commit
|
|
816
|
+
* (`git cherry`): a rebase or a message-only amend keeps the patch, not the
|
|
817
|
+
* SHA (T13003).
|
|
818
|
+
*
|
|
786
819
|
* Evidence bound in another task's worktree is refused even when `cleo
|
|
787
820
|
* complete` runs from that same worktree. A commit git cannot read (a shallow
|
|
788
821
|
* clone) is refused and said so. Skipped while no implemented commit is
|
|
@@ -793,6 +826,7 @@ export interface RevalidationResult {
|
|
|
793
826
|
* @param projectRoot - The CLEO store root (the task's checkout is resolved from it).
|
|
794
827
|
* @returns The refusal, or null.
|
|
795
828
|
* @task T14004
|
|
829
|
+
* @task T13003
|
|
796
830
|
*/
|
|
797
831
|
export declare function boundHeadGapReason(task: Pick<Task, 'id' | 'verification'>, atoms: readonly EvidenceAtom[], projectRoot: string): Promise<string | null>;
|
|
798
832
|
/**
|
|
@@ -817,6 +851,8 @@ export interface TaskEvidenceKindReport {
|
|
|
817
851
|
* on the default branch whose subject cites it, and its merged PRs). A kind
|
|
818
852
|
* or label set by any agent never lets a code change skip its tests, and
|
|
819
853
|
* work that cannot be inspected fails closed to `code`, with the reason.
|
|
854
|
+
* A task {@link declaredEvidenceKind} leaves undecided is classified by that
|
|
855
|
+
* same change set (T14048): documents only make it documentation.
|
|
820
856
|
*
|
|
821
857
|
* @param task - The task (kind, files, labels and recorded evidence are read).
|
|
822
858
|
* @param projectRoot - The CLEO store root (commits are read in the task's checkout).
|
|
@@ -826,7 +862,7 @@ export interface TaskEvidenceKindReport {
|
|
|
826
862
|
* @returns The kind, and the reason when a non-code kind owes the code gates.
|
|
827
863
|
* @task T14001
|
|
828
864
|
*/
|
|
829
|
-
export declare function taskEvidenceKindReport(task: Pick<Task, 'id' | 'kind' | 'files' | 'labels' | 'verification'>, projectRoot: string, extraPaths?: readonly string[], cwd?: string, deps?: Pick<ChangeSetDeps, 'listMergedPrHeads'>): Promise<TaskEvidenceKindReport>;
|
|
865
|
+
export declare function taskEvidenceKindReport(task: Pick<Task, 'id' | 'kind' | 'files' | 'labels' | 'acceptance' | 'verification'>, projectRoot: string, extraPaths?: readonly string[], cwd?: string, deps?: Pick<ChangeSetDeps, 'listMergedPrHeads'>): Promise<TaskEvidenceKindReport>;
|
|
830
866
|
/**
|
|
831
867
|
* {@link taskEvidenceKindReport}'s kind alone.
|
|
832
868
|
*
|
|
@@ -837,7 +873,7 @@ export declare function taskEvidenceKindReport(task: Pick<Task, 'id' | 'kind' |
|
|
|
837
873
|
* @returns The kind to read {@link requiredGatesFor} with.
|
|
838
874
|
* @task T14001
|
|
839
875
|
*/
|
|
840
|
-
export declare function taskEvidenceKind(task: Pick<Task, 'id' | 'kind' | 'files' | 'labels' | 'verification'>, projectRoot: string, extraPaths?: readonly string[], cwd?: string): Promise<ReturnType<typeof classifyEvidenceTask>>;
|
|
876
|
+
export declare function taskEvidenceKind(task: Pick<Task, 'id' | 'kind' | 'files' | 'labels' | 'acceptance' | 'verification'>, projectRoot: string, extraPaths?: readonly string[], cwd?: string): Promise<ReturnType<typeof classifyEvidenceTask>>;
|
|
841
877
|
/**
|
|
842
878
|
* Options for {@link revalidateEvidence}.
|
|
843
879
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"evidence.d.ts","sourceRoot":"","sources":["../../src/tasks/evidence.ts"],"names":[],"mappings":"AAAA
|
|
1
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