@mmerterden/multi-agent-pipeline 24.2.0 → 24.3.0
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/CHANGELOG.md +24 -0
- package/docs/facts.json +1 -1
- package/install/_common.mjs +65 -0
- package/install/_plugin-skills.mjs +76 -18
- package/install/claude.mjs +7 -0
- package/install/codex.mjs +15 -1
- package/install/copilot.mjs +7 -0
- package/manifest.json +26 -26
- package/package.json +1 -1
- package/pipeline/contract/CHANGELOG.md +10 -0
- package/pipeline/contract/fixtures/error-invalid-request.json +1 -1
- package/pipeline/contract/fixtures/error-unauthorized.json +1 -1
- package/pipeline/contract/manifest.json +4 -3
- package/pipeline/contract/types/index.d.ts +7 -5
- package/pipeline/schemas/disk-clean-request.schema.json +8 -2
- package/pipeline/schemas/disk-clean.schema.json +3 -2
- package/pipeline/schemas/hosts.json +7 -0
- package/pipeline/schemas/hosts.schema.json +17 -0
- package/pipeline/scripts/_contract-core.mjs +1 -1
- package/pipeline/scripts/disk-cleaner.mjs +232 -5
- package/pipeline/skills/.skill-manifest.json +2 -2
- package/pipeline/skills/shared/README.md +1 -1
- package/pipeline/skills/shared/external/disk-cleaner/SKILL.md +2 -1
- package/pipeline/skills/shared/external/disk-cleaner/scripts/disk-cleaner.mjs +232 -5
package/CHANGELOG.md
CHANGED
|
@@ -14,6 +14,30 @@ Internal file-layout changes that don't affect the slash-command surface are sti
|
|
|
14
14
|
|
|
15
15
|
---
|
|
16
16
|
|
|
17
|
+
## [24.3.0] - 2026-11-18
|
|
18
|
+
|
|
19
|
+
### Added
|
|
20
|
+
|
|
21
|
+
- **A gate holds the four hosts to one knowledge-skill set.** The skills reach them by three routes: Claude Code loads them from the marketplace plugin, Copilot has them written into its skills directory, and Codex and the local host read them as reference files. Three routes are three ways for one host to fall behind, and the symptom is silent, because the router cites a skill by path and the path simply is not there. `smoke-host-skill-parity.sh` installs all four into a temporary home and asserts that every install-fed host carries every knowledge skill, that those hosts carry the same set, and that each knowledge skill routes to exactly one plugin, which is what a plugin-fed host ships. It also asserts a plugin-fed host receives none from the installer, since two copies of one skill is how a host comes to read the stale one.
|
|
22
|
+
- **`/multi-agent:clean-disk` can delete what a test run left behind.** A suite that runs every night writes the biggest regenerable thing on the machine and nothing deleted it: the result bundles, the recordings and screenshots taken while it ran, and the report files. The new `test-artifacts` target finds all three by shape rather than by any harness's directory names, so no product's paths live in the repository: a run is recognised by a result bundle or a report shaped like a test report, and media and report files count only inside such a directory, so a recording somebody saved among their own files is never a candidate. Nothing version control tracks is ever offered, which is what keeps a committed fixture from being read as a run's output. It is opt-in (`--test-artifacts`, older than `--artifact-days`, default 7), never unattended, and confirmed per run, because a recording can be the only evidence of a failure anybody still has. A harness that keeps its results outside a repository is named with `--artifact-root` or `DISK_CLEANER_ARTIFACT_ROOTS`.
|
|
23
|
+
|
|
24
|
+
- **The host registry says how a host receives its skills.** `install.knowledgeSkills` is `install` or `plugin`, and `install.knowledgeSkillsRoot` names the tree when it is `install`. The parity gate reads it rather than discovering the layout, so a host whose delivery changes has to declare it first.
|
|
25
|
+
|
|
26
|
+
### Fixed
|
|
27
|
+
|
|
28
|
+
- **The installer read a stale copy of a plugin in silence.** Three places on a machine hold a copy of one plugin: a working checkout, the marketplace directory and the version-named plugin cache, and they sit at three different versions (measured here: a checkout at 0.26.4 against 0.26.2 in both others for one plugin, 0.11.0 against 0.10.0 and 0.9.1 for another). The resolver took the first path that existed, which was written when the checkout was the only thing `/multi-agent:sync` rebuilt: a user who had not pulled for a month got last month's skills while a newer copy sat beside it, and nothing said so. The newest copy now wins, the marketplace directory is read as a source, a copy that declares no version is used only when nothing declares one, and the install log names the version it read.
|
|
29
|
+
- **`npm pack` was not reproducible, and it broke the publisher's resume path.** `manifest.json` ships inside the tarball and carried a clock reading, so two packs of one commit were two different tarballs. A publish interrupted between steps could not then prove the second tarball was the first, and the registry refused bytes it already held. The timestamp now comes from the source: `SOURCE_DATE_EPOCH` when set, otherwise the commit's own date, and the clock only outside a checkout, where there is no commit to date the content by.
|
|
30
|
+
- **An install only ever added files, so attribution files an earlier version wrote stayed.** This ecosystem publishes no third-party notice, but six `NOTICE-*.md` from versions that did were still sitting in a Copilot skills tree; the uninstaller removed them and an update did not. Install now prunes that one named class from the root of a host's skills tree, and a test proves an update removes a leftover.
|
|
31
|
+
- **The Codex install emptied its own skill tree when the package carried none.** It rebuilds the tree by wiping it and copying the sources back, which only holds while there is a source to copy. With no source tree the wipe ran alone and put nothing back, and this host reads a skill by path, so the result was a host that could load none. The sources are checked first and the installed tree is left as it was found.
|
|
32
|
+
- **Three smoke suites were held to a budget smaller than their own work.** The general 180-second timeout is a hang detector, and it answers for almost every suite; the install-leak gate measured 258 seconds, gate-wiring 273, because they install four hosts and run other suites against each tree. A red that means "the machine was busy" stops being read. Those three now have their own budgets, each recorded with what it measured at, and an explicit `SMOKE_TIMEOUT_SECONDS` still governs every suite.
|
|
33
|
+
- **Twenty-three timing assertions failed on a busy machine rather than on a slow path.** A fixed wall-clock bound asks two questions at once, and only one is worth failing over: measured at load 25, a scan that takes 6 ms alone took 151 against a 100 ms bound, while a bare `node -e 0` took 91 ms against the 35 to 45 it costs unloaded. Budgets are now scaled by how slow the machine is right now, probed with a node start, and the factor never drops below 1, so no gate is loosened on an idle machine. A quadratic path, which overshoots by orders of magnitude, still fails.
|
|
34
|
+
- **The disk cleaner found build output by name, so it missed most of it.** A tool that chooses its own `-derivedDataPath` writes the same tree under a name no list can enumerate. Measured on one machine: four such copies beside a repository's worktrees held 104 GB, the walk went through all of it looking for a folder called `DerivedData`, and the report came back with 11 GB. The shape decides now, not the name: Xcode writes `Build` beside its `.noindex` caches, SwiftPM a `build.db` beside its manifest, and an ordinary directory costs one extra stat. On the same machine it then found a 4 GB `build` directory the name list had never matched.
|
|
35
|
+
- **Two gates were red and nothing read them.** `lint-host-literals` and the skills index both sit after the smoke suites in `npm test`, so a smoke failure meant they never ran: three test files enumerated host ids past the ratchet and the shared skills README described a command by its old wording. The test fixtures now take their hosts from the registry, which also made one of them cover the third install-fed host, and the ratchet is exact.
|
|
36
|
+
|
|
37
|
+
### Changed
|
|
38
|
+
|
|
39
|
+
- **`run-smokes.mjs` can be imported.** Its budget table and resolver are exported and the run itself sits behind an entry-point check, so what a suite's budget resolves to is a unit test rather than a sleep.
|
|
40
|
+
|
|
17
41
|
## [24.2.0] - 2026-11-18
|
|
18
42
|
|
|
19
43
|
### Added
|
package/docs/facts.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$comment": "Generated by pipeline/scripts/gen-facts.mjs. Do not hand-edit: the site reads this, and a number edited here instead of at its source is the drift this file removes.",
|
|
3
3
|
"generatedAt": "2026-11-18",
|
|
4
|
-
"version": "24.
|
|
4
|
+
"version": "24.3.0",
|
|
5
5
|
"phaseSchema": 2,
|
|
6
6
|
"phases": [
|
|
7
7
|
{
|
package/install/_common.mjs
CHANGED
|
@@ -802,6 +802,71 @@ export function pruneOrphanSkillFiles(skillsDir) {
|
|
|
802
802
|
return removed;
|
|
803
803
|
}
|
|
804
804
|
|
|
805
|
+
/**
|
|
806
|
+
* Names of attribution files, which this ecosystem does not ship.
|
|
807
|
+
*
|
|
808
|
+
* The set is closed on purpose: it names the file kinds an attribution step
|
|
809
|
+
* writes, not a pattern, so a skill called `notices` or a user's `credits`
|
|
810
|
+
* directory can never be matched.
|
|
811
|
+
*/
|
|
812
|
+
const ATTRIBUTION_FILES = Object.freeze([
|
|
813
|
+
/^NOTICE(-.*)?\.md$/i,
|
|
814
|
+
/^NOTICE$/,
|
|
815
|
+
/^THIRD-PARTY(-NOTICES?)?\.md$/i,
|
|
816
|
+
/^ATTRIBUTION(S)?\.md$/i,
|
|
817
|
+
/^CREDITS\.md$/i,
|
|
818
|
+
]);
|
|
819
|
+
|
|
820
|
+
/**
|
|
821
|
+
* Remove attribution files at the root of a host's skills tree.
|
|
822
|
+
*
|
|
823
|
+
* The ecosystem carries no third-party attribution: an approach taken from a
|
|
824
|
+
* repository is rewritten under our own tests, and the upstream-overlap gate is
|
|
825
|
+
* what keeps that honest, so there is no notice to publish. Versions that did
|
|
826
|
+
* publish one wrote these files into the host, and nothing removed them when the
|
|
827
|
+
* repository stopped shipping them - an installed tree is a copy, and a copy
|
|
828
|
+
* only ever gained files.
|
|
829
|
+
*
|
|
830
|
+
* Only the root of the tree is swept, and only names a notice step writes. A
|
|
831
|
+
* skill lives in `<name>/SKILL.md`, so no file this rule can reach is a skill on
|
|
832
|
+
* any host, and a directory is never touched.
|
|
833
|
+
*
|
|
834
|
+
* This prunes one named class, not everything the package no longer ships. A
|
|
835
|
+
* general sweep cannot run here: hosts also carry skills the pipeline does not
|
|
836
|
+
* own - local-only wrappers among them - and the installed copies have their
|
|
837
|
+
* paths rewritten, so neither the manifest's hashes nor its file list can tell a
|
|
838
|
+
* leftover from a file that is meant to be there.
|
|
839
|
+
*
|
|
840
|
+
* @param {string} skillsDir
|
|
841
|
+
* @returns {number} files removed
|
|
842
|
+
*/
|
|
843
|
+
export function pruneAttributionFiles(skillsDir) {
|
|
844
|
+
if (!existsSync(skillsDir)) return 0;
|
|
845
|
+
let entries;
|
|
846
|
+
try {
|
|
847
|
+
entries = readdirSync(skillsDir, { withFileTypes: true });
|
|
848
|
+
} catch {
|
|
849
|
+
return 0;
|
|
850
|
+
}
|
|
851
|
+
let removed = 0;
|
|
852
|
+
for (const entry of entries) {
|
|
853
|
+
if (!entry.isFile()) continue;
|
|
854
|
+
if (!ATTRIBUTION_FILES.some((re) => re.test(entry.name))) continue;
|
|
855
|
+
if (dryRun) {
|
|
856
|
+
console.log(` [dry-run] would prune attribution file ${join(skillsDir, entry.name)}`);
|
|
857
|
+
removed++;
|
|
858
|
+
continue;
|
|
859
|
+
}
|
|
860
|
+
try {
|
|
861
|
+
rmSync(join(skillsDir, entry.name), { force: true });
|
|
862
|
+
removed++;
|
|
863
|
+
} catch {
|
|
864
|
+
/* non-fatal */
|
|
865
|
+
}
|
|
866
|
+
}
|
|
867
|
+
return removed;
|
|
868
|
+
}
|
|
869
|
+
|
|
805
870
|
/**
|
|
806
871
|
* Ship the skills index into a host's skills tree.
|
|
807
872
|
*
|
|
@@ -79,39 +79,92 @@ function semverCompare(a, b) {
|
|
|
79
79
|
return a.localeCompare(b);
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
+
/** The version a plugin directory declares, or null when it declares none. */
|
|
83
|
+
function declaredVersion(pluginDir) {
|
|
84
|
+
try {
|
|
85
|
+
const v = JSON.parse(
|
|
86
|
+
readFileSync(join(pluginDir, ".claude-plugin", "plugin.json"), "utf-8"),
|
|
87
|
+
).version;
|
|
88
|
+
return typeof v === "string" && v ? v : null;
|
|
89
|
+
} catch {
|
|
90
|
+
return null;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
82
94
|
/**
|
|
83
|
-
*
|
|
95
|
+
* Every copy of one plugin on this machine, with the version each declares.
|
|
84
96
|
*
|
|
85
|
-
*
|
|
86
|
-
*
|
|
87
|
-
*
|
|
88
|
-
*
|
|
97
|
+
* Three places hold one: a working checkout, the marketplace directory Claude
|
|
98
|
+
* Code keeps, and its version-named plugin cache. A machine can have all three
|
|
99
|
+
* at once, at three different versions - measured here: the checkout at 0.26.4
|
|
100
|
+
* and both others at 0.26.2 for one plugin, 0.11.0 against 0.10.0 and 0.9.1 for
|
|
101
|
+
* another.
|
|
89
102
|
*
|
|
90
103
|
* @param {string} home
|
|
91
104
|
* @param {string} pluginName
|
|
92
|
-
* @returns {{path: string, source: string
|
|
105
|
+
* @returns {{path: string, source: string, version: string|null}[]}
|
|
93
106
|
*/
|
|
94
|
-
function
|
|
95
|
-
const
|
|
96
|
-
|
|
107
|
+
function pluginCopies(home, pluginName) {
|
|
108
|
+
const found = [];
|
|
109
|
+
const add = (dir, source) => {
|
|
110
|
+
const skills = join(dir, "skills");
|
|
111
|
+
if (existsSync(skills)) found.push({ path: skills, source, version: declaredVersion(dir) });
|
|
112
|
+
};
|
|
113
|
+
|
|
114
|
+
add(join(home, "multi-agent-plugins", "plugins", pluginName), "local checkout");
|
|
115
|
+
add(
|
|
116
|
+
join(home, ".claude", "plugins", "marketplaces", "multi-agent-plugins", "plugins", pluginName),
|
|
117
|
+
"marketplace",
|
|
118
|
+
);
|
|
97
119
|
|
|
98
120
|
const cacheRoot = join(home, ".claude", "plugins", "cache", "multi-agent-plugins", pluginName);
|
|
99
121
|
if (existsSync(cacheRoot)) {
|
|
100
|
-
|
|
101
|
-
|
|
122
|
+
let versions;
|
|
123
|
+
try {
|
|
124
|
+
versions = readdirSync(cacheRoot).filter((v) => {
|
|
102
125
|
try {
|
|
103
126
|
return statSync(join(cacheRoot, v)).isDirectory();
|
|
104
127
|
} catch {
|
|
105
128
|
return false;
|
|
106
129
|
}
|
|
107
|
-
})
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
130
|
+
});
|
|
131
|
+
} catch {
|
|
132
|
+
versions = [];
|
|
133
|
+
}
|
|
134
|
+
for (const v of versions.sort(semverCompare).reverse()) {
|
|
135
|
+
const dir = join(cacheRoot, v);
|
|
136
|
+
const skills = join(dir, "skills");
|
|
137
|
+
// The directory name is the version here, and it is the one the loader
|
|
138
|
+
// reads; a plugin.json inside it only confirms it.
|
|
139
|
+
if (existsSync(skills)) found.push({ path: skills, source: `plugin cache ${v}`, version: v });
|
|
112
140
|
}
|
|
113
141
|
}
|
|
114
|
-
return
|
|
142
|
+
return found;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* Find a plugin's `skills/` directory.
|
|
147
|
+
*
|
|
148
|
+
* The NEWEST copy wins, not the first path that happens to exist. Preferring the
|
|
149
|
+
* checkout was written when it was the only thing `/multi-agent:sync` rebuilt, and
|
|
150
|
+
* it reads a stale checkout in silence: a user who has not pulled for a month gets
|
|
151
|
+
* last month's skills while a newer copy sits in the cache, and nothing says so.
|
|
152
|
+
*
|
|
153
|
+
* A copy that declares no version loses to one that declares any, and is used only
|
|
154
|
+
* when nothing else is there: an unversioned tree cannot be compared, and guessing
|
|
155
|
+
* it is current is the behaviour this replaces.
|
|
156
|
+
*
|
|
157
|
+
* @param {string} home
|
|
158
|
+
* @param {string} pluginName
|
|
159
|
+
* @returns {{path: string, source: string, version: string|null}|null}
|
|
160
|
+
*/
|
|
161
|
+
function resolvePluginSkills(home, pluginName) {
|
|
162
|
+
const copies = pluginCopies(home, pluginName);
|
|
163
|
+
if (copies.length === 0) return null;
|
|
164
|
+
const versioned = copies.filter((c) => c.version);
|
|
165
|
+
if (versioned.length === 0) return copies[0];
|
|
166
|
+
// Stable on a tie: the order pluginCopies built, which puts the checkout first.
|
|
167
|
+
return versioned.reduce((best, c) => (semverCompare(c.version, best.version) > 0 ? c : best));
|
|
115
168
|
}
|
|
116
169
|
|
|
117
170
|
/**
|
|
@@ -270,7 +323,12 @@ export function installAuthoredPluginSkills(opts) {
|
|
|
270
323
|
perPlugin++;
|
|
271
324
|
}
|
|
272
325
|
}
|
|
273
|
-
if (perPlugin > 0)
|
|
326
|
+
if (perPlugin > 0) {
|
|
327
|
+
// The version too: three copies of one plugin can sit on a machine, and
|
|
328
|
+
// "which one did this install read" is otherwise unanswerable from the log.
|
|
329
|
+
const from = resolved.version ? `${resolved.source} ${resolved.version}` : resolved.source;
|
|
330
|
+
plugins.push(`${pluginName} (${from}, ${perPlugin} skills)`);
|
|
331
|
+
}
|
|
274
332
|
}
|
|
275
333
|
|
|
276
334
|
if (isDryRun()) {
|
package/install/claude.mjs
CHANGED
|
@@ -29,6 +29,7 @@ import {
|
|
|
29
29
|
isSkillDirName,
|
|
30
30
|
listFiles,
|
|
31
31
|
pruneLegacyMultiAgentSkills,
|
|
32
|
+
pruneAttributionFiles,
|
|
32
33
|
pruneOrphanSkillFiles,
|
|
33
34
|
readInstallManifest,
|
|
34
35
|
removePipelineAgentFiles,
|
|
@@ -563,6 +564,12 @@ function installSkills(opts) {
|
|
|
563
564
|
console.log(` -> pruned ${orphans} stale flat skill file(s) from an older layout`);
|
|
564
565
|
}
|
|
565
566
|
|
|
567
|
+
// Attribution files an earlier version wrote. Runs on every host, so no tree keeps a notice the repository has dropped.
|
|
568
|
+
const notices = pruneAttributionFiles(dest);
|
|
569
|
+
if (notices > 0) {
|
|
570
|
+
console.log(` -> pruned ${notices} attribution file(s) this ecosystem does not ship`);
|
|
571
|
+
}
|
|
572
|
+
|
|
566
573
|
console.log(
|
|
567
574
|
` -> ${claudeSkillCount} skill files installed to ${dest} (stack skills: marketplace plugins)`,
|
|
568
575
|
);
|
package/install/codex.mjs
CHANGED
|
@@ -398,13 +398,27 @@ export function installUserOnlyPrompts(pipelineSrc, promptsDir, hostId = "codex"
|
|
|
398
398
|
* - the pipeline's own `skills/shared/external` (what `~/.claude/skills` receives)
|
|
399
399
|
* - the enabled stack plugin's authored skills (what the marketplace provides)
|
|
400
400
|
*/
|
|
401
|
-
function installSkillRefs(pipelineSrc, dest, home, platformFlag, copyTree) {
|
|
401
|
+
export function installSkillRefs(pipelineSrc, dest, home, platformFlag, copyTree) {
|
|
402
402
|
copyTree = orDefault(copyTree);
|
|
403
403
|
const externalSrc = join(pipelineSrc, "skills", "shared", "external");
|
|
404
404
|
const coreSrc = join(pipelineSrc, "skills", "shared", "core");
|
|
405
405
|
|
|
406
406
|
if (ensureRealDir(dest) === null) return;
|
|
407
407
|
ensureDir(dest);
|
|
408
|
+
|
|
409
|
+
// The wipe is how this target handles staleness: the tree is rebuilt from the
|
|
410
|
+
// sources on every install rather than diffed. That only holds while there is
|
|
411
|
+
// a source to rebuild from. With neither tree present the same two lines empty
|
|
412
|
+
// the host's whole reference set and put nothing back, and this host reads its
|
|
413
|
+
// skills by path - an empty tree is not a degraded install, it is a host that
|
|
414
|
+
// can no longer load a skill at all. An incomplete package is the package's
|
|
415
|
+
// problem; the installed tree is left as it was found.
|
|
416
|
+
if (!existsSync(externalSrc) && !existsSync(coreSrc)) {
|
|
417
|
+
console.log(
|
|
418
|
+
" -> skipped skill refs: the package carries no skill source tree (kept what is installed)",
|
|
419
|
+
);
|
|
420
|
+
return;
|
|
421
|
+
}
|
|
408
422
|
wipeDir(dest);
|
|
409
423
|
|
|
410
424
|
let count = 0;
|
package/install/copilot.mjs
CHANGED
|
@@ -22,6 +22,7 @@ import {
|
|
|
22
22
|
ensureSharedPreferences,
|
|
23
23
|
isDryRun,
|
|
24
24
|
isSkillDirName,
|
|
25
|
+
pruneAttributionFiles,
|
|
25
26
|
pruneOrphanSkillFiles,
|
|
26
27
|
removePipelineAgentFiles,
|
|
27
28
|
symlinkDir,
|
|
@@ -504,6 +505,12 @@ function installSkills(opts) {
|
|
|
504
505
|
console.log(` -> pruned ${orphans} stale flat skill file(s) from an older layout`);
|
|
505
506
|
}
|
|
506
507
|
|
|
508
|
+
// Attribution files an earlier version wrote. This is the tree the six leftovers sat in.
|
|
509
|
+
const notices = pruneAttributionFiles(dest);
|
|
510
|
+
if (notices > 0) {
|
|
511
|
+
console.log(` -> pruned ${notices} attribution file(s) this ecosystem does not ship`);
|
|
512
|
+
}
|
|
513
|
+
|
|
507
514
|
console.log(` -> ${copilotSkillCount} skill files installed to ${dest}`);
|
|
508
515
|
|
|
509
516
|
const sharedReadmeSrc = join(pipelineSrc, "skills", "shared", "README.md");
|
package/manifest.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mmerterden/multi-agent-pipeline",
|
|
3
|
-
"version": "24.
|
|
4
|
-
"commit": "
|
|
5
|
-
"generatedAt": "2026-11-
|
|
3
|
+
"version": "24.3.0",
|
|
4
|
+
"commit": "a027d718e280c8b75f04f83a71b26f7bc065bd11",
|
|
5
|
+
"generatedAt": "2026-11-18T16:28:18.000Z",
|
|
6
6
|
"algorithm": "sha256",
|
|
7
7
|
"fileCount": 2078,
|
|
8
8
|
"files": {
|
|
9
|
-
"CHANGELOG.md": "
|
|
9
|
+
"CHANGELOG.md": "5dcb766acb07cada65208d1df2827c9febbf00f2bd4b3cfd01b5190e733aeeae",
|
|
10
10
|
"LICENSE": "8d8c51aaf1e1538b180c69965fa038db71be86798cc3e26a143bebfefe16a43e",
|
|
11
11
|
"README.md": "baa5e4cbc65e2f01a6185923478b66876fbaedcaa809bce38c650bd1d6af9431",
|
|
12
12
|
"README.tr.md": "7f62936fe3e9a3d292a973e48893eecc1905526c18587dee3e07f2c8f7ea2c77",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"docs/best-practices.md": "d5d9b116a82ca9616c69bb9b3bebf06ee9d0f67be09b59962cee8b30f84e0041",
|
|
36
36
|
"docs/ecosystem.md": "18162e34c6af5f2f1abdec6542246ed9a03969bee79729cbd4d98f84d65aee9a",
|
|
37
37
|
"docs/engineering.md": "5c37fabddbe23675c743fe58a5e5db4dcca140fc316447c913c0ad606a8b26d9",
|
|
38
|
-
"docs/facts.json": "
|
|
38
|
+
"docs/facts.json": "7a9b9192ee3c0d78f1c9d9727984884a7285a4cc61866b7d45be0f13bf17671a",
|
|
39
39
|
"docs/features.md": "8bedbf13fc5b1b558a682e19a1ba83e22d4ecd49e413d06880e79f1d3b4ec9a2",
|
|
40
40
|
"docs/performance.md": "7eca7991d3adf03b1df74335d8245b2f9142936fdbdb1eafd127e85b01d8b518",
|
|
41
41
|
"docs/recovery-guide.md": "be0ec8f5b7d7658b90811a9aaedede94390da5a8eb57aa7c22f7ca533c8ef3ce",
|
|
@@ -44,21 +44,21 @@
|
|
|
44
44
|
"install.js": "b2d71a926a62c96c994c76735f40dff068c429b5a368005fb62e60972da41c2a",
|
|
45
45
|
"install/_codex-agents.mjs": "c2ae7b1d8ba4352338d53f76ca692cfb8850ab821d2d53cc41c50d9ea0763fb9",
|
|
46
46
|
"install/_codex-instructions.mjs": "add75ffc0e8d8db0e3bf275b46017a897a4cadb83dc66c7d3affd73bcead20f8",
|
|
47
|
-
"install/_common.mjs": "
|
|
47
|
+
"install/_common.mjs": "d9cd1a38c68aecdce2a0cd58d42ad4df7e8f51f59ce7888fa3a20a40dbe9822c",
|
|
48
48
|
"install/_copilot-instructions.mjs": "73e4b82b2af0f3e1669f772fa0788dac6b540c131e56d5fe38dcf29be85cc019",
|
|
49
49
|
"install/_dev-only-files.mjs": "27887d25915c81374c2aee243e1700e45f476e412a8ad86ca968dbe5c3855a78",
|
|
50
50
|
"install/_managed-block.mjs": "e3c7afc43fbfdb4a30e65ab2cf0fd41975282a89ac4032072411c97ccf7bc20a",
|
|
51
51
|
"install/_mcp-register.mjs": "98677c056dc4e2ea26053af3974d6c15dceb2354c226bbb5849e258181ca4b42",
|
|
52
52
|
"install/_platform-filter.mjs": "8733d7d151e26a89aec5b486e0ac5b5849c0d7cea80d46f28a9a1a61a77c7032",
|
|
53
|
-
"install/_plugin-skills.mjs": "
|
|
53
|
+
"install/_plugin-skills.mjs": "f3b1ab1bd982881a223e7b15f40cb7e19105245495fb24642a023403856f2b5c",
|
|
54
54
|
"install/_rewrite-tree.mjs": "79f128b5d093fc868af1af468581b55ae0ee7a226ee0f806134771fdd15a25bf",
|
|
55
55
|
"install/_supported-floor.mjs": "b705891aac9f07d9ff8ef4b2b12faa863f7459a2d73b53ef35cf471ed26364c2",
|
|
56
56
|
"install/_unattended-profile.mjs": "bf8a902a06499c98d162bce4ea8b5030c3fbe1dac10e43e491e217ec694f8c7c",
|
|
57
57
|
"install/_usage-lifecycle.mjs": "4b010c4e75d6f8e13b58d80a93cc9407f42ccde781c9ed12dcb8e7faf05e526c",
|
|
58
58
|
"install/_xcode-skills.mjs": "1a7e20f1e6743324b941c5d3ecac9f94c65fff1534ffd9c63b39cbea4f8d101a",
|
|
59
|
-
"install/claude.mjs": "
|
|
60
|
-
"install/codex.mjs": "
|
|
61
|
-
"install/copilot.mjs": "
|
|
59
|
+
"install/claude.mjs": "010a3f79956e2b49926f8183950ab4c0326cd385de0d00da4f5aecec34632890",
|
|
60
|
+
"install/codex.mjs": "b9c5663d1f0b35bd8b338517f091d3fda630fb5b971f5eeef620aca173c251fb",
|
|
61
|
+
"install/copilot.mjs": "9649de02ed587fadcd7549b409ce3bf08fdcd0bc3a15cbc0aad4d8fb0ac89d5e",
|
|
62
62
|
"install/index.mjs": "31c4483cea2409b7cb13af244c8d6d2c6ba74dc3e98b119d3689fcc47e394adf",
|
|
63
63
|
"install/supported-floor.json": "74df9b55193eaf78e71e2cd6fac7169b2213774e0c58bc7a6f5ac7a5d307d976",
|
|
64
64
|
"install/templates/claude-hooks.json": "7d0958bc6785dda251ecb3e1f1d2e7297a1ed8bc5ccd036b10133317087b3755",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"install/templates/multi-agent-autopilot-awake.plist.template": "ddd25c76c56fcbb38a89de8e35637372d70ace993d6bc487a88ca9cfb702fe1f",
|
|
69
69
|
"install/templates/multi-agent-autopilot.plist.template": "122c8a61cd927edd99375d6e3da40f1d42bcceed5b6641785c8b28bb930bc77e",
|
|
70
70
|
"install/unattended-profile-legacy.json": "f52e86b998956f09ad306b1735a6c10b58580d7082d8a55665a4c6bb15c3aa1f",
|
|
71
|
-
"package.json": "
|
|
71
|
+
"package.json": "922ebd95219cadbcb0e7e771092dd78a3807374412d4b9d75c0705b23601ac3d",
|
|
72
72
|
"pipeline/agents/android-architect.md": "11fb74543cb0ebcf9525ca6654fe95d53da7229e0bf4a1149b31fd9005abc453",
|
|
73
73
|
"pipeline/agents/backend-architect.md": "b02a606c301e4714131aed70ae6d16eeb77fbc819a001e2752cff2488d4246de",
|
|
74
74
|
"pipeline/agents/bulk-reader.md": "5619d5fb3dee26da7b4c5b1f55d22584c9404e350c221d13bc25a70d88f75f8c",
|
|
@@ -168,12 +168,12 @@
|
|
|
168
168
|
"pipeline/commands/multi-agent/update/SKILL.md": "d62b7d91a53ba3ab7c8867637f2220e32cbea24461f3e1058eb9e71ddc5aba7b",
|
|
169
169
|
"pipeline/commands/multi-agent/version/SKILL.md": "aab6841aef4d68bd5d45e95db3f153d9cacd80392df884d29ce85554b1a83813",
|
|
170
170
|
"pipeline/commands/sim-test.md": "be8deb06c5b5e42812959ee408483f646a6645265a5718df1d25c5c009e334ea",
|
|
171
|
-
"pipeline/contract/CHANGELOG.md": "
|
|
171
|
+
"pipeline/contract/CHANGELOG.md": "e5af62930ec5f191855e8e89f0a314b7bc141ed8c194aec0b6e33bbdabcfb880",
|
|
172
172
|
"pipeline/contract/README.md": "f88e7413bdec9bb7e1f17593140ed60fea90fc79f28c1c0ac5a6d0174bc88bb3",
|
|
173
173
|
"pipeline/contract/build.mjs": "158506e84305df44c09905b23d1c214400149d695f0fbfe9b32aaf29760dfb48",
|
|
174
174
|
"pipeline/contract/fixtures/answer-result.json": "3ae8200a83290b463867a8f71a6172387cbee7de1ff983c15b7f16614f9f79b2",
|
|
175
|
-
"pipeline/contract/fixtures/error-invalid-request.json": "
|
|
176
|
-
"pipeline/contract/fixtures/error-unauthorized.json": "
|
|
175
|
+
"pipeline/contract/fixtures/error-invalid-request.json": "8d8324b0eceb724b172a27dc64223488745671e37bfdf07f6552481b0b57d007",
|
|
176
|
+
"pipeline/contract/fixtures/error-unauthorized.json": "9efc4d028a02daa7623b0c92e7539f2c5440c29053890ab14eaf14fa901c8e01",
|
|
177
177
|
"pipeline/contract/fixtures/issues-empty.json": "2afb5b30283c2221536b68a4028505a9b10d9e567fc958344804dd4b427df904",
|
|
178
178
|
"pipeline/contract/fixtures/launch-plan.json": "7a9b30629a88ff6a244380010effebe720f10c6c28a5529120ffd4bba3cb45f9",
|
|
179
179
|
"pipeline/contract/fixtures/runs-awaiting-question.json": "1076e68fecd6b3b82561176fcd599c0172b9c37a3c00a3a42f84ac7ed3a87adc",
|
|
@@ -185,8 +185,8 @@
|
|
|
185
185
|
"pipeline/contract/fixtures/runs-running.json": "3dc82ae9a19dbed95653bd568a51de65b97c0a2320096450bab85f834603076b",
|
|
186
186
|
"pipeline/contract/fixtures/worktrees-empty.json": "d034639163424160a57767cbdcc10c544fa89154b6876aad35482badba0db58e",
|
|
187
187
|
"pipeline/contract/frozen/toolbox.json": "d52f94ca81f62e4c0d67f0718ce6361f332f289b09fe7cc25c8f5f40feb0ffff",
|
|
188
|
-
"pipeline/contract/manifest.json": "
|
|
189
|
-
"pipeline/contract/types/index.d.ts": "
|
|
188
|
+
"pipeline/contract/manifest.json": "98f3aa8c8dc73adbb047cc346efedf85a598a58e5696cbf78675fa2f418195f5",
|
|
189
|
+
"pipeline/contract/types/index.d.ts": "6218324c71c065d022687d6286e9dc182a7a784bd9293fa29b43a77e56e396b2",
|
|
190
190
|
"pipeline/lib/_jira-auth.sh": "088ad84d6d687940df90d73104693036c3bdec6ca3d81663ccd5c95d4d370c4b",
|
|
191
191
|
"pipeline/lib/_service-account.sh": "10675a677f68282a6e85b99b52df273498be5edd31ecf315e9ad8311be963f3b",
|
|
192
192
|
"pipeline/lib/account-resolver.sh": "f7bef9beba3f839268509361651be0b1e1f319f2f23821f90ba466fdf185a8f6",
|
|
@@ -662,16 +662,16 @@
|
|
|
662
662
|
"pipeline/schemas/design-check-config.schema.json": "f8b30b0f99fc880e4e46f2efb9a1273302244fbc11ceedab4dccd9fa0397fe5d",
|
|
663
663
|
"pipeline/schemas/dev-critic-output.schema.json": "b4f01b2de3a760b0f2cf300ed5075d8c64e23abf0c9cb6ddaa5e41dca10e2b2e",
|
|
664
664
|
"pipeline/schemas/diff-risk.schema.json": "83ba9687fa1b192af1b299f51466871b0df7af99032f5dbdb0162692d778f723",
|
|
665
|
-
"pipeline/schemas/disk-clean-request.schema.json": "
|
|
666
|
-
"pipeline/schemas/disk-clean.schema.json": "
|
|
665
|
+
"pipeline/schemas/disk-clean-request.schema.json": "7ebd794bca28686a552ddda9d356eba0c68a55098186c5ce8445aba78d88a29b",
|
|
666
|
+
"pipeline/schemas/disk-clean.schema.json": "c37de167b0fdfe7c59c237061242e8ebc6ecf3afb4aaa86e3f267abd9f2f6e9f",
|
|
667
667
|
"pipeline/schemas/doctor-report.schema.json": "401291bb502a2b7c240da2347b63b2d961983ebd755d9162c70b25741f1cea11",
|
|
668
668
|
"pipeline/schemas/examples/design-check-config.json": "653d88b0d5ac37d17e3490bf03ef045d0042475abebc44dbb8059a697377455a",
|
|
669
669
|
"pipeline/schemas/explore-run.schema.json": "91532ced1598fa178b622d2167f042f5d06b24d21f81b9885efee6b8bbec8b16",
|
|
670
670
|
"pipeline/schemas/figma-project-config.schema.json": "b2344741ca6f71c7c3fccd2e790cd9d8c69380fe034db1c3b1dff37bedebdcd7",
|
|
671
671
|
"pipeline/schemas/gc-request.schema.json": "63931b31ef9b258bdc35c96bf8bed7bd3d7e9eeae85eb4cf09d289263850947d",
|
|
672
672
|
"pipeline/schemas/gc.schema.json": "ebe3df056fbaeee1c68079aedf82a3922584802cba943b5d220e70afe5967d56",
|
|
673
|
-
"pipeline/schemas/hosts.json": "
|
|
674
|
-
"pipeline/schemas/hosts.schema.json": "
|
|
673
|
+
"pipeline/schemas/hosts.json": "439d01561c2f3b734559bf42ea145eaa2ed9b2e901155c22989e1c02472194f4",
|
|
674
|
+
"pipeline/schemas/hosts.schema.json": "c1737e104dff41e57d90381c16e2a41563bb2c7976eebf10e502e6aa35f80927",
|
|
675
675
|
"pipeline/schemas/issue-maturity.schema.json": "9d1d99e9a4f4cf7ee4da9310b88aa63c43cf68baa5fd45a9e4cb9d81947a3ec9",
|
|
676
676
|
"pipeline/schemas/issues.schema.json": "e92f6501ee13795fcd3603ec77f58a709580721bf13d8870fff876624898bb9e",
|
|
677
677
|
"pipeline/schemas/job-change.schema.json": "eb22006a8912f9074daf162ff05e62c6871471211e8dcad0d208c1880de02c8e",
|
|
@@ -796,7 +796,7 @@
|
|
|
796
796
|
"pipeline/scripts/_autopilot-outcomes.mjs": "4942fb28fff363bc90b11917fa5cfb11b815ab4648e0ce685ce204ed55142838",
|
|
797
797
|
"pipeline/scripts/_code-graph.mjs": "3bbda974832ae22754a03a3c6f23ac375cbca0a0084a2fce8ad2e07abca81b07",
|
|
798
798
|
"pipeline/scripts/_command-contract.mjs": "e97a5c624e0768769da54d4175e9f7655f1de1dcd0832468bc66bf140b0f5a6f",
|
|
799
|
-
"pipeline/scripts/_contract-core.mjs": "
|
|
799
|
+
"pipeline/scripts/_contract-core.mjs": "8878097e0fb16d718ca0d2256e93fb79d1f793ab7632b364911d086034a8f46d",
|
|
800
800
|
"pipeline/scripts/_contract-office-page.mjs": "a24edd7da974bb390667247c3815eeee6e0775f6c9f8c7cfd03b53a6de116954",
|
|
801
801
|
"pipeline/scripts/_contract-routes-catalog.mjs": "053de069c3899cb07ab4ac6c5fb9b4c25105f6176fa9d791711156e5e58bcaae",
|
|
802
802
|
"pipeline/scripts/_contract-routes-office.mjs": "80c6eb1072ede903c184ea79f64ad3c7cf61b5492c09e949eed34aa4e3f5bddd",
|
|
@@ -931,7 +931,7 @@
|
|
|
931
931
|
"pipeline/scripts/design-check-config.mjs": "218879947162bd237cd70cf2ad27f72664959ad98f63d92a5091e2449c024440",
|
|
932
932
|
"pipeline/scripts/diff-explain.mjs": "37018d9123debedfd05e91bdf74c261b2e7be35a4c3b873fc1fbb7f6846fb2c9",
|
|
933
933
|
"pipeline/scripts/diff-risk-score.mjs": "1b645ee32090509942aa19537452da82336f64d5b992040779bc17de78b50ccf",
|
|
934
|
-
"pipeline/scripts/disk-cleaner.mjs": "
|
|
934
|
+
"pipeline/scripts/disk-cleaner.mjs": "51e5bef299fb61c2bf3703960e1726cc81b72c3c40a6693d9f237561bcf47e18",
|
|
935
935
|
"pipeline/scripts/doctor.mjs": "6be4390923b888d896910ac01d7f1efc68f675e5ec6adde190f13e2b9bd90b01",
|
|
936
936
|
"pipeline/scripts/edit-syntax-gate.mjs": "abe6733e8e3220fa244f9185b38a5bf34259526c60b4783c3c41fa858a396521",
|
|
937
937
|
"pipeline/scripts/edit-syntax-gate.sh": "bc4e2b26f696e71c8f5b27938f41903cc24e36cc85200c4b9e2665e610af0ff6",
|
|
@@ -1196,9 +1196,9 @@
|
|
|
1196
1196
|
"pipeline/scripts/worktrees.mjs": "62a36279c0dfbe9360262b4995b639a7de7297ed26b62afe66e8d34111e1aa06",
|
|
1197
1197
|
"pipeline/scripts/write-state.mjs": "8b869e172be27db2a609d7bc6dbb20f68b0a21452640899783ccd796e2dcfdbb",
|
|
1198
1198
|
"pipeline/scripts/write-store-config.mjs": "c9bd3131190b3b0d5eb7d363c832cb5ecf0c4f818492610430ba5e1349604ff9",
|
|
1199
|
-
"pipeline/skills/.skill-manifest.json": "
|
|
1199
|
+
"pipeline/skills/.skill-manifest.json": "44d3a1462b087116d98677826b4870956083f090241c2183323160ffa2131048",
|
|
1200
1200
|
"pipeline/skills/.skills-index.json": "a8bc3146640ebd48748406b5a210264b8eeace30a5fdac84e439fcbf408c96b7",
|
|
1201
|
-
"pipeline/skills/shared/README.md": "
|
|
1201
|
+
"pipeline/skills/shared/README.md": "f3c6c1e6e45f893d981698aa3a22b4e0fbcc7581d5a9d4b5202e4b9274468c0f",
|
|
1202
1202
|
"pipeline/skills/shared/core/apple-archive-compliance/SKILL.md": "3c524515f61d896df76a42c3c7e10f91ede1a31b9fa106c7330a5925d4dda154",
|
|
1203
1203
|
"pipeline/skills/shared/core/apple-archive-compliance/references/examples.md": "4b2e9070008f0a81cda5ddafde0ae10ae9c4506ba94b1a256eff1dc11dc862b8",
|
|
1204
1204
|
"pipeline/skills/shared/core/apple-archive-compliance/references/rules.yml": "7b286304d49145ea3be9a42edd3fa0e8b626eca25082b21cd66cc412371745dd",
|
|
@@ -1476,9 +1476,9 @@
|
|
|
1476
1476
|
"pipeline/skills/shared/external/device-integrity/SKILL.md": "9d8c39c65f7b5918c25c7ef3dd438fe62901e61ecc6fa2d7ecbd7c9a0fcfa4c0",
|
|
1477
1477
|
"pipeline/skills/shared/external/device-integrity/evals/evals.json": "022b1d6c6ef187c4b6bc13f5b3563e2e0cc4bb3957584be60d2fa9ed464aa76a",
|
|
1478
1478
|
"pipeline/skills/shared/external/device-integrity/references/device-integrity-patterns.md": "582b4dc723239198e0b0453ed367b05363f6b9d95c5fe85e985dbe003c667741",
|
|
1479
|
-
"pipeline/skills/shared/external/disk-cleaner/SKILL.md": "
|
|
1479
|
+
"pipeline/skills/shared/external/disk-cleaner/SKILL.md": "12648e6ababa644ab65fcbea5d4163e86e9eb7fba593e4e365e09304ad30e13d",
|
|
1480
1480
|
"pipeline/skills/shared/external/disk-cleaner/evals/evals.json": "417c966524789f1038a67bfa2500fb373d62ef26293ad6dc338021f55be445ec",
|
|
1481
|
-
"pipeline/skills/shared/external/disk-cleaner/scripts/disk-cleaner.mjs": "
|
|
1481
|
+
"pipeline/skills/shared/external/disk-cleaner/scripts/disk-cleaner.mjs": "51e5bef299fb61c2bf3703960e1726cc81b72c3c40a6693d9f237561bcf47e18",
|
|
1482
1482
|
"pipeline/skills/shared/external/docker-expert/SKILL.md": "b3db936caa89a2c249ae64896cfb4c0a72ac45064cc081d6f99c78efe6a1f9e9",
|
|
1483
1483
|
"pipeline/skills/shared/external/docker-expert/evals/evals.json": "cb4df386094bc48ea3d460ca5489e69df73118522d7398b69a27709b6f09447e",
|
|
1484
1484
|
"pipeline/skills/shared/external/docker-expert/references/patterns.md": "1d2052123d6c1c0379f4ebf5d153d649ca22807b7c9c70b88b0dba9c249eecc6",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mmerterden/multi-agent-pipeline",
|
|
3
|
-
"version": "24.
|
|
3
|
+
"version": "24.3.0",
|
|
4
4
|
"description": "6-phase AI development pipeline with full orchestration on Claude Code, Copilot CLI and Codex CLI. Analysis, planning, TDD, CLI-aware parallel review with consensus surfacing + Fable triage, default-FAIL evidence gates, secret + intent guards, per-phase cost ledger, persistent learnings memory, wiki generation, commit automation. Token-preserving uninstall.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
@@ -3,6 +3,16 @@
|
|
|
3
3
|
Versions of the client contract (`manifest.json` `contractVersion`), separate
|
|
4
4
|
from the package version. See `README.md` for what counts as minor and major.
|
|
5
5
|
|
|
6
|
+
## 2.5.0
|
|
7
|
+
|
|
8
|
+
Added. Nothing existing changes shape.
|
|
9
|
+
|
|
10
|
+
- `disk-clean` (`POST /v1/disk-clean`): the category `test-artifacts` joins the
|
|
11
|
+
allow-list, in the request body and in the response, with its own request flag
|
|
12
|
+
`test-artifacts: true`. It is a test run's own output - result bundles,
|
|
13
|
+
recordings and screenshots, report files - and like the other opt-in
|
|
14
|
+
categories a measure shows it while a preview and an apply need the flag.
|
|
15
|
+
|
|
6
16
|
## 2.4.0
|
|
7
17
|
|
|
8
18
|
Added. Nothing existing changes shape.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"contractVersion": "2.
|
|
2
|
+
"contractVersion": "2.5.0",
|
|
3
3
|
"supportedMajors": [2, 1],
|
|
4
4
|
"description": "The pipeline's client contract: every surface a client reads or writes, the CLI invocation and the HTTP route that carry it, and the schema its JSON follows. Schemas are not copied here; schemasDir points at the one tree the producers validate against. Paths in cli are relative to the pipeline directory (installed: ~/.claude).",
|
|
5
5
|
"schemasDir": "../schemas",
|
|
@@ -612,13 +612,14 @@
|
|
|
612
612
|
"--top=5",
|
|
613
613
|
"[--only=<ids>]",
|
|
614
614
|
"[--trash]",
|
|
615
|
-
"[--transcripts]"
|
|
615
|
+
"[--transcripts]",
|
|
616
|
+
"[--test-artifacts]"
|
|
616
617
|
],
|
|
617
618
|
"schema": "disk-clean.schema.json",
|
|
618
619
|
"version": "1.0.0",
|
|
619
620
|
"remote": "local-only",
|
|
620
621
|
"risk": "high",
|
|
621
|
-
"note": "Three bodies. {} measures (the disk cleaner's dry run with
|
|
622
|
+
"note": "Three bodies. {} measures (the disk cleaner's dry run with every opt-in, no token). {categories} previews exactly those categories, each from the cleaner's allow-list, and returns a token bound to them; an opt-in category also needs its own flag as true. {confirmToken} applies the previewed categories and nothing else. An unattended server measures its unattended set and refuses a preview and an apply with 409 unattended-refused. Paths are real paths on this machine."
|
|
622
623
|
},
|
|
623
624
|
{
|
|
624
625
|
"id": "settings",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Generated by pipeline/contract/build.mjs from pipeline/schemas/*.schema.json.
|
|
2
2
|
// Do not edit: change the schema and run `node pipeline/contract/build.mjs --write`.
|
|
3
3
|
|
|
4
|
-
export type ContractVersion = "2.
|
|
4
|
+
export type ContractVersion = "2.5.0";
|
|
5
5
|
export type SurfaceId = "runs" | "run" | "commands" | "skills" | "questions" | "issues" | "worktrees" | "launch-spec" | "repos" | "repo-add" | "repo-remove" | "launch" | "answer" | "run-log" | "resume" | "kill" | "gc" | "autopilot" | "autopilot-off" | "autopilot-on" | "steer" | "activity" | "activity-stream" | "agent-chat" | "routines" | "routine-delete" | "routines-shared" | "routine-shared" | "routine-shared-import" | "jobs" | "job-start" | "stack" | "stack-set" | "ledger" | "system" | "prune-logs" | "disk-clean" | "settings" | "settings-set" | "learning-curve" | "credentials" | "memory" | "server-room" | "mcp-health" | "archive" | "run-results" | "run-evidence" | "review-verdict" | "issue-maturity" | "prs" | "prs-reach" | "tools" | "tool-call" | "service-confluence" | "service-crashlytics" | "service-figma" | "permissions";
|
|
6
6
|
|
|
7
7
|
/** What `runs-index.mjs --json` prints: every run under the log root and the unattended log root (one record per task id), grouped per status/SKILL.md 3b. Fields are only ever added - a decoder ignores keys it does not know. `--redact` drops every x-sensitivity local field (and `logsRoot`) and scrubs the free text in the title, `now`, sub-step names, task subjects and the pending question. */
|
|
@@ -1477,7 +1477,7 @@ export interface DiskClean {
|
|
|
1477
1477
|
/** What an apply of the listed categories would free; a category whose tool is running is measured but left out. */
|
|
1478
1478
|
reclaimableBytes: number;
|
|
1479
1479
|
categories: Array<{
|
|
1480
|
-
id: "derived-data" | "repo-build" | "xctest-devices" | "xcode-caches" | "archives" | "device-support" | "sim-unavailable" | "sim-caches" | "sim-device-caches" | "sim-runtimes" | "spm-cache" | "pods-cache" | "gradle-cache" | "js-caches" | "homebrew" | "tmp-builds" | "pipeline-scratch" | "claude-scratch" | "agent-worktrees" | "dev-caches" | "old-logs" | "pipeline-logs" | "ds-store" | "trash" | "transcripts";
|
|
1480
|
+
id: "derived-data" | "repo-build" | "xctest-devices" | "xcode-caches" | "archives" | "device-support" | "sim-unavailable" | "sim-caches" | "sim-device-caches" | "sim-runtimes" | "spm-cache" | "pods-cache" | "gradle-cache" | "js-caches" | "homebrew" | "tmp-builds" | "pipeline-scratch" | "claude-scratch" | "agent-worktrees" | "dev-caches" | "old-logs" | "pipeline-logs" | "ds-store" | "trash" | "transcripts" | "test-artifacts";
|
|
1481
1481
|
label: string;
|
|
1482
1482
|
items: number;
|
|
1483
1483
|
bytes: number;
|
|
@@ -1497,7 +1497,7 @@ export interface DiskClean {
|
|
|
1497
1497
|
/** The cleaner's unattended-safe set. */
|
|
1498
1498
|
safe: boolean;
|
|
1499
1499
|
/** The request flag this category needs as well as its id. */
|
|
1500
|
-
optIn: "trash" | "transcripts" | null;
|
|
1500
|
+
optIn: "trash" | "transcripts" | "test-artifacts" | null;
|
|
1501
1501
|
}>;
|
|
1502
1502
|
/** Leftover session processes found; information only, never stopped. */
|
|
1503
1503
|
orphans: number;
|
|
@@ -1519,15 +1519,17 @@ export interface DiskClean {
|
|
|
1519
1519
|
expiresAt?: string;
|
|
1520
1520
|
}
|
|
1521
1521
|
|
|
1522
|
-
/** The body of POST /v1/disk-clean. With no other field it measures (the disk cleaner's dry run, no token). With categories it previews exactly those, each one from the cleaner's allow-list, and returns a confirm token;
|
|
1522
|
+
/** The body of POST /v1/disk-clean. With no other field it measures (the disk cleaner's dry run, no token). With categories it previews exactly those, each one from the cleaner's allow-list, and returns a confirm token; an opt-in category must also send its own flag as true. Step 2 sends only the confirmToken. */
|
|
1523
1523
|
export interface DiskCleanRequest {
|
|
1524
1524
|
contractVersion: string;
|
|
1525
1525
|
/** The categories to preview, by the disk cleaner's category id (disk-cleaner.mjs --list). */
|
|
1526
|
-
categories?: (Array<"derived-data" | "repo-build" | "xctest-devices" | "xcode-caches" | "archives" | "device-support" | "sim-unavailable" | "sim-caches" | "sim-device-caches" | "sim-runtimes" | "spm-cache" | "pods-cache" | "gradle-cache" | "js-caches" | "homebrew" | "tmp-builds" | "pipeline-scratch" | "claude-scratch" | "agent-worktrees" | "dev-caches" | "old-logs" | "pipeline-logs" | "ds-store" | "trash" | "transcripts">);
|
|
1526
|
+
categories?: (Array<"derived-data" | "repo-build" | "xctest-devices" | "xcode-caches" | "archives" | "device-support" | "sim-unavailable" | "sim-caches" | "sim-device-caches" | "sim-runtimes" | "spm-cache" | "pods-cache" | "gradle-cache" | "js-caches" | "homebrew" | "tmp-builds" | "pipeline-scratch" | "claude-scratch" | "agent-worktrees" | "dev-caches" | "old-logs" | "pipeline-logs" | "ds-store" | "trash" | "transcripts" | "test-artifacts">);
|
|
1527
1527
|
/** Required with the trash category: it holds files the user deleted, which cannot be recovered afterwards. */
|
|
1528
1528
|
trash?: true;
|
|
1529
1529
|
/** Required with the transcripts category: resume and past-session search read them. */
|
|
1530
1530
|
transcripts?: true;
|
|
1531
|
+
/** Required with the test-artifacts category: a recording or a result bundle can be the only evidence of a failure anybody still has. */
|
|
1532
|
+
"test-artifacts"?: true;
|
|
1531
1533
|
/** The confirmToken the preview returned. Single use, bound to the route and the previewed categories. */
|
|
1532
1534
|
confirmToken?: string;
|
|
1533
1535
|
}
|