create-pmos 0.575.0 → 0.576.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/package.json +14 -14
- package/payload/AGENTS.md +35 -2
- package/payload/KIT-VERSION +1 -1
- package/payload/okf/core/templates/agent-eval-set-template.md +65 -0
- package/payload/okf/core/templates/index.md +1 -0
- package/payload/planning/evals/eval-calibration.md +1 -1
- package/payload/planning/okrs/health-budgets.md +1 -1
- package/payload/scripts/agent-eval-set.js +85 -0
- package/payload/scripts/factory-guardrail.js +50 -8
- package/payload/scripts/work-item.js +49 -3
- package/payload/scripts/workflow-state.js +28 -3
- package/payload/state/discoveries.md +1 -1
- package/payload/templates/pmos-guardrail.yml +38 -10
- package/payload/templates/pmos-review-check.yml +59 -0
- package/workspace/changelog.json +13 -0
- package/workspace/fixtures/builder-bench.json +121 -0
- package/workspace/guide/cli.md +71 -4
- package/workspace/guide/settings-and-switches.md +6 -0
- package/workspace/lib/agent-team.js +5 -2
- package/workspace/lib/build-cli.js +119 -7
- package/workspace/lib/build-engine.js +106 -25
- package/workspace/lib/builder-bench.js +267 -0
- package/workspace/lib/engine/agent-eval-set.js +85 -0
- package/workspace/lib/engine/workflow-state.js +28 -3
- package/workspace/lib/factory-checks.js +117 -0
- package/workspace/lib/factory-ci.js +151 -0
- package/workspace/lib/factory-fleet.js +263 -0
- package/workspace/lib/factory-identity.js +182 -0
- package/workspace/lib/factory-lessons.js +183 -0
- package/workspace/lib/factory-needs.js +48 -0
- package/workspace/lib/factory-review.js +241 -0
- package/workspace/lib/factory-rollout.js +56 -10
- package/workspace/lib/factory-traces.js +229 -0
- package/workspace/lib/headless.js +11 -2
- package/workspace/lib/needs-providers.js +1 -0
- package/workspace/lib/pmos-verbs.js +1 -1
- package/workspace/lib/project-onboard.js +1 -1
- package/workspace/lib/proposals.js +3 -1
- package/workspace/lib/route-modules.js +1 -0
- package/workspace/lib/routes-factory-metrics.js +41 -0
- package/workspace/lib/routes-proposals.js +9 -1
- package/workspace/lib/team-cli.js +2 -2
- package/workspace/lib/team-runs.js +13 -3
- package/workspace/lib/vendor/scripts/agent-eval-set.js +85 -0
- package/workspace/lib/vendor/scripts/workflow-state.js +28 -3
- package/workspace/lib/verify-runs.js +62 -1
- package/workspace/package-lock.json +2 -2
- package/workspace/package.json +1 -1
- package/workspace/public/pm/ini-props.js +1 -1
- package/workspace/server.js +4 -0
- package/workspace/test-lists/adlc-identity.json +9 -0
- package/workspace/test-lists/build-engine.json +5 -3
- package/workspace/test-lists/builder-bench.json +9 -0
- package/workspace/test-lists/factory-checks.json +9 -0
- package/workspace/test-lists/factory-fleet.json +9 -0
- package/workspace/test-lists/factory-lessons.json +9 -0
- package/workspace/test-lists/factory-real-run.json +9 -0
- package/workspace/test-lists/factory-run-traces.json +9 -0
|
@@ -598,6 +598,17 @@ function surfaceRoute(v) {
|
|
|
598
598
|
// D77 — the lane lists, tracks and rung sets are DATA in scripts/lane-defs.js. This file reads them;
|
|
599
599
|
// it holds no lane list of its own, so editing a definition changes the ladder with no edit here.
|
|
600
600
|
const laneDefs = require('./lane-defs');
|
|
601
|
+
// agent-product-lane (ADLC gap P1): a record with `agent: true` builds a product that is itself an AI agent; its done test is a
|
|
602
|
+
// simulation eval set (scripts/agent-eval-set.js), required before the build on both ladders.
|
|
603
|
+
const agentEvalSet = require('./agent-eval-set');
|
|
604
|
+
/** '' when the done test at `rel` is a valid simulation eval set, else what is missing (one line). */
|
|
605
|
+
function evalSetGap(root, rel) {
|
|
606
|
+
let text;
|
|
607
|
+
try { text = fs.readFileSync(path.resolve(root, rel), 'utf8'); } catch { return `${rel} cannot be read`; }
|
|
608
|
+
const r = agentEvalSet.parse(text);
|
|
609
|
+
return r.ok ? '' : r.missing.join('; ');
|
|
610
|
+
}
|
|
611
|
+
const AGENT_FIX = 'write the simulation eval set (okf/core/templates/agent-eval-set-template.md): pass_threshold, and at least 3 scenarios, each with Input (a user: turn), Expected and Scoring';
|
|
601
612
|
function profileOf(root) {
|
|
602
613
|
try {
|
|
603
614
|
const line = fs.readFileSync(path.join(root, '.pmos-profile'), 'utf8')
|
|
@@ -1010,7 +1021,11 @@ function computeWorkflowDerived(id, opts) {
|
|
|
1010
1021
|
// PRD already on the record still satisfies the spec rung after a kind change: a gate already passed stays passed.
|
|
1011
1022
|
const workKind = (() => { const k = String(fm.kind || '').trim().replace(/^["']|["']$/g, ''); return k === 'sdlc' || k === 'project' ? k : 'product'; })();
|
|
1012
1023
|
const planPath = String(fm.plan_path || '').trim();
|
|
1013
|
-
|
|
1024
|
+
const agentMode = agentEvalSet.isAgent(fm);
|
|
1025
|
+
if (agentMode && !doneTest) {
|
|
1026
|
+
steps.push(step('spec', 'spec', 'blocked', 'an agent product (agent: true) needs a simulation eval set as its done test before the build — never a PRD',
|
|
1027
|
+
`${AGENT_FIX}; set done_test_path and kill: in ${recRel}`, { blocking: true, rule: 'R2' }));
|
|
1028
|
+
} else if (!doneTest && workKind === 'sdlc' && !prd) {
|
|
1014
1029
|
steps.push(step('spec', 'spec', 'blocked', 'Full SDLC needs a done test and a kill condition before the first pull request — never a PRD',
|
|
1015
1030
|
`write the done test (okf/core/templates/done-test-template.md), set done_test_path and kill: in ${recRel}`, { blocking: true, rule: 'R2' }));
|
|
1016
1031
|
} else if (!doneTest && workKind === 'project' && (planPath || !prd)) {
|
|
@@ -1035,8 +1050,11 @@ function computeWorkflowDerived(id, opts) {
|
|
|
1035
1050
|
} else if (!killCond) {
|
|
1036
1051
|
steps.push(step('spec', 'spec', 'blocked', 'no kill condition — an experiment states what would stop it (D107)',
|
|
1037
1052
|
`write kill: "<the result that would make us stop>" in ${recRel}`, { blocking: true, rule: 'R2' }));
|
|
1053
|
+
} else if (agentMode && evalSetGap(root, doneTest)) {
|
|
1054
|
+
steps.push(step('spec', 'spec', 'blocked', `an agent product's done test is a simulation eval set: ${evalSetGap(root, doneTest)}`,
|
|
1055
|
+
`${AGENT_FIX} in ${doneTest}`, { blocking: true, rule: 'R2' }));
|
|
1038
1056
|
} else {
|
|
1039
|
-
steps.push(orderOf(`done test ${doneTest}`, dtIdx, 'O1'));
|
|
1057
|
+
steps.push(orderOf(agentMode ? `eval set ${doneTest}` : `done test ${doneTest}`, dtIdx, 'O1'));
|
|
1040
1058
|
}
|
|
1041
1059
|
} else {
|
|
1042
1060
|
const wants = {
|
|
@@ -1651,7 +1669,14 @@ function pmLadder({ id, fm, lane, effLane, knownLane, legacy, steps, root, L, re
|
|
|
1651
1669
|
const planPath = String(fm.plan_path || '').trim();
|
|
1652
1670
|
const kindSpec = !doneTest && !exists(briefPath) && !foundBrief && (workKind === 'sdlc' || (workKind === 'project'));
|
|
1653
1671
|
const tasksPlan = kindSpec && workKind === 'project' && !planPath ? taskPlanOf(root, id) : null;
|
|
1654
|
-
|
|
1672
|
+
const agentMode = agentEvalSet.isAgent(fm);
|
|
1673
|
+
const agentGap = agentMode && dtPresent ? evalSetGap(root, doneTest) : '';
|
|
1674
|
+
if (agentMode && !doneTest) steps.push(step('brief', 'eval set', legacy ? 'pending' : 'blocked',
|
|
1675
|
+
'an agent product (agent: true) needs a simulation eval set as its done test before the build — never a brief or a PRD',
|
|
1676
|
+
`${AGENT_FIX}; set done_test_path and kill: in ${recRel}`, { blocking: !legacy, rule: 'R2' }));
|
|
1677
|
+
else if (agentGap && killCond) steps.push(step('brief', 'eval set', legacy ? 'pending' : 'blocked', `an agent product's done test is a simulation eval set: ${agentGap}`,
|
|
1678
|
+
`${AGENT_FIX} in ${doneTest}`, { blocking: !legacy, rule: 'R2' }));
|
|
1679
|
+
else if (doneTest && dtPresent && killCond) steps.push(step('brief', def.brief_label, 'done', agentMode ? `eval set ${doneTest} + kill condition (agent product)` : `done test ${doneTest} + kill condition (D107)`));
|
|
1655
1680
|
else if (kindSpec && workKind === 'sdlc') steps.push(step('brief', 'done test', legacy ? 'pending' : 'blocked',
|
|
1656
1681
|
'Full SDLC needs a done test and a kill condition before the first pull request — never a brief or a PRD',
|
|
1657
1682
|
`write the done test, set done_test_path and kill: in ${recRel} (pmos artefacts set experiment:${id} done-test check --text "…" writes both)`, { blocking: !legacy, rule: 'R2' }));
|
|
@@ -29,6 +29,12 @@
|
|
|
29
29
|
* PR-BACKED RUNS: an applied line that names its run is a setback when the verifier FAILs that run (evals.jsonl) or its merge is reverted
|
|
30
30
|
* (`node scripts/run-corrections.js --json`, at most every SWEEP_MS per repository, and only while such a line exists).
|
|
31
31
|
*
|
|
32
|
+
* THE PRE-MERGE REVIEW (initiative factory-premerge-reviewer, lib/factory-review.js). In a product repository that carries the factory, one turn
|
|
33
|
+
* may start ONE review of a pushed pmos/<item> branch whose head has no verdict: headless kind `review`, origin `factory-review:<item>:<token>`,
|
|
34
|
+
* with PMOS_REVIEW_RUN=<item>@<sha>. A cold check that is red already is a FAIL with no run. When the run ends, PMOS (this process) reads the cold
|
|
35
|
+
* check and posts the commit status pmos-review; each turn also posts the verdicts still waiting. At most REVIEWS_PER_DAY a day; a head tried once
|
|
36
|
+
* is not tried again that day. Off with PMOS_FACTORY_REVIEW=off. The review comes before the verifier, because a merge waits for it.
|
|
37
|
+
*
|
|
32
38
|
* deps: { roots() → [{ id, root }], open(now) → bool, headlessOff() → bool, env, spawn(spec), stop(session), warn(what, err),
|
|
33
39
|
* run(root, args) → { code, stdout } (default: spawnSync node), perDay?, stateDirs(w) → [the autonomy ledgers of a workspace] }
|
|
34
40
|
*/
|
|
@@ -40,6 +46,7 @@ const { spawnSync } = require('child_process');
|
|
|
40
46
|
const PER_DAY = 4;
|
|
41
47
|
const CHECKS_PER_DAY = 4;
|
|
42
48
|
const SWEEP_MS = 6 * 3600000;
|
|
49
|
+
const REVIEWS_PER_DAY = 8;
|
|
43
50
|
const one = (v, n) => String(v == null ? '' : v).replace(/\s+/g, ' ').trim().slice(0, n);
|
|
44
51
|
/** The prompt of one applied-change check. a: the applied entry (lib/autonomy.js). */
|
|
45
52
|
function changePrompt(a) {
|
|
@@ -170,6 +177,50 @@ function create(deps) {
|
|
|
170
177
|
return null;
|
|
171
178
|
}
|
|
172
179
|
|
|
180
|
+
/* factory-premerge-reviewer: one review of a factory pull request's head, before it may merge by itself */
|
|
181
|
+
const reviewed = new Map(); // day → [item@sha tried]
|
|
182
|
+
function reviewOne(roots, now, day) {
|
|
183
|
+
const e = deps.env || process.env;
|
|
184
|
+
if (deps.factory === false || /^(off|0|false|no)$/i.test(String(e.PMOS_FACTORY_REVIEW || '').trim())) return null;
|
|
185
|
+
const WK = require('./work-kind.js'), FRV = require('./factory-review.js');
|
|
186
|
+
const today = reviewed.get(day) || [];
|
|
187
|
+
if (today.length >= REVIEWS_PER_DAY) return null;
|
|
188
|
+
for (const w of roots) {
|
|
189
|
+
if (!w || !w.root || !WK.factoryDir(w.root)) continue;
|
|
190
|
+
let list = [];
|
|
191
|
+
try { list = FRV.due(w.root); } catch (err) { warn('review due', err); continue; }
|
|
192
|
+
for (const d of list) {
|
|
193
|
+
const key = d.item + '@' + d.sha;
|
|
194
|
+
if (today.includes(key)) continue;
|
|
195
|
+
today.push(key); reviewed.clear(); reviewed.set(day, today);
|
|
196
|
+
const cold = FRV.coldOf(w.root, d.sha, { env: e });
|
|
197
|
+
FRV.noteCold(w.root, d.item, d.sha, cold, { now });
|
|
198
|
+
if (cold.state === 'failure') { // red already: a FAIL with no model
|
|
199
|
+
try { FRV.finish(w.root, d.item, d.sha, { env: e, now }); } catch (err) { warn('review post', err); }
|
|
200
|
+
return { reviewed: key, verdict: 'FAIL' };
|
|
201
|
+
}
|
|
202
|
+
const base = (require('./build-engine.js').defaultBranch(w.root) || {}).ref || 'origin/main';
|
|
203
|
+
const token = 'rv' + now.toString(36) + crypto.randomBytes(3).toString('hex');
|
|
204
|
+
active = { run_id: 'review:' + key, token, root: w.root, session: null };
|
|
205
|
+
const done = () => { ended(token); try { FRV.finish(w.root, d.item, d.sha, { env: e }); } catch (err) { warn('review post', err); } };
|
|
206
|
+
let session = null;
|
|
207
|
+
try {
|
|
208
|
+
session = deps.spawn({ name: 'Reviewing a factory pull request', ws: w.id, origin: `${FRV.ORIGIN}${d.item}:${token}`,
|
|
209
|
+
initialInput: FRV.promptOf({ item: d.item, sha: d.sha, base, it: d.it, doneTest: FRV.doneTestOf(w.root, d.it) }) + '\r',
|
|
210
|
+
env: { PMOS_REVIEW_RUN: key }, onDone: done });
|
|
211
|
+
} catch (err) { warn('review run', err); }
|
|
212
|
+
if (!session || session.held || session.state === 'exited' || session.headless !== 'review') {
|
|
213
|
+
if (session && !session.held && session.headless !== 'review' && session.state !== 'exited' && deps.stop) { try { deps.stop(session); } catch { /* best effort */ } }
|
|
214
|
+
active = null;
|
|
215
|
+
return { reviewed: null, held: !!(session && session.held) };
|
|
216
|
+
}
|
|
217
|
+
active.session = session;
|
|
218
|
+
return { reviewing: key };
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
return null;
|
|
222
|
+
}
|
|
223
|
+
|
|
173
224
|
/* D108: in a product repository that carries the kit's factory, mark merged work items integrated, then move each flag one rollout
|
|
174
225
|
* step (lib/factory-rollout.js; no model, the PM's own provider commands). PMOS-self's checkout runs verify-work below. */
|
|
175
226
|
function factory(now) {
|
|
@@ -181,6 +232,14 @@ function create(deps) {
|
|
|
181
232
|
if (!fdir) continue;
|
|
182
233
|
if (!isCheckout(w.root)) { try { run(fdir, ['scripts/verify-work.js', '--json']); } catch (e) { warn('verify-work', e); } }
|
|
183
234
|
try { out.push(...require('./factory-rollout.js').tick(w.root, { now, env: deps.env || process.env }).acted); } catch (e) { warn('rollout', e); }
|
|
235
|
+
// factory-builder-inner-loop: a failed CI on an open factory pull request starts a Builder fix round, at most 2 (lib/factory-ci.js)
|
|
236
|
+
try { out.push(...require('./factory-ci.js').tick(w.root, { now, env: deps.env || process.env }).acted); } catch (e) { warn('ci-fix', e); }
|
|
237
|
+
// factory-premerge-reviewer: post the verdicts whose final pmos-review status is not out yet (a PASS waits for the cold check)
|
|
238
|
+
try { require('./factory-review.js').postDue(w.root, { env: deps.env || process.env, now }); } catch (e) { warn('review post', e); }
|
|
239
|
+
// factory-learning-loop: each new setback becomes a Builder lesson; a repeated one files "Change the factory harness" (no model)
|
|
240
|
+
try { require('./factory-lessons.js').tick(w.root, { now, env: deps.env || process.env }); } catch (e) { warn('factory lessons', e); }
|
|
241
|
+
// factory-fleet-scale: bring an open factory pull request up to date after an overlapping change merged
|
|
242
|
+
try { const r = require('./factory-fleet.js').integrate(w.root, { now, env: deps.env || process.env, every: 10 * 60 * 1000 }); if (r.ok) out.push(...r.acted); } catch (e) { warn('integrate', e); }
|
|
184
243
|
}
|
|
185
244
|
return out;
|
|
186
245
|
}
|
|
@@ -194,6 +253,8 @@ function create(deps) {
|
|
|
194
253
|
if (!open) return { started: null, closed: true };
|
|
195
254
|
const day = new Date(now).toISOString().slice(0, 10);
|
|
196
255
|
const roots = (deps.roots && deps.roots()) || [];
|
|
256
|
+
const rv = reviewOne(roots, now, day);
|
|
257
|
+
if (rv) return { started: null, ...rv, ...(rolled.length ? { rolled } : {}) };
|
|
197
258
|
const integrated = [];
|
|
198
259
|
for (const w of roots) {
|
|
199
260
|
if (!isCheckout(w.root)) continue;
|
|
@@ -230,4 +291,4 @@ function create(deps) {
|
|
|
230
291
|
return { tick, active: () => (active ? active.run_id : null) };
|
|
231
292
|
}
|
|
232
293
|
|
|
233
|
-
module.exports = { off, startsToday, create, isCheckout, PER_DAY, CHECKS_PER_DAY, statusOf, changePrompt, runEvidence };
|
|
294
|
+
module.exports = { off, startsToday, create, isCheckout, PER_DAY, REVIEWS_PER_DAY, CHECKS_PER_DAY, statusOf, changePrompt, runEvidence };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pmos-workspace",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.576.0",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "pmos-workspace",
|
|
9
|
-
"version": "0.
|
|
9
|
+
"version": "0.576.0",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@anthropic-ai/sdk": "^1.3.0",
|
package/workspace/package.json
CHANGED
|
@@ -40,7 +40,7 @@ const md = (iso) => { const m = DAY.exec(String(iso || '')); return m ? MON[+m[2
|
|
|
40
40
|
const span = (a, b) => (a && b && a !== b ? md(a) + ' – ' + md(b) : md(a || b));
|
|
41
41
|
const plural = (n, a, b) => n + ' ' + (n === 1 ? a : b);
|
|
42
42
|
const clip = (s, n) => { s = String(s || ''); return s.length > n ? s.slice(0, n - 1) + '…' : s; };
|
|
43
|
-
const GROUP = { build: 'Pull request', description: 'Description', outcome: 'Expected outcome', prototyped: 'PMOS prototyped it', improved: 'PMOS improved it', scanned: 'PMOS scanned for it', found: 'Found elsewhere', dates: 'Dates', status: 'Looks done', names: 'Names', links: 'Links', grill: 'PMOS grilled it' };
|
|
43
|
+
const GROUP = { build: 'Pull request', harness: 'Change the factory harness', description: 'Description', outcome: 'Expected outcome', prototyped: 'PMOS prototyped it', improved: 'PMOS improved it', scanned: 'PMOS scanned for it', found: 'Found elsewhere', dates: 'Dates', status: 'Looks done', names: 'Names', links: 'Links', grill: 'PMOS grilled it' };
|
|
44
44
|
|
|
45
45
|
/* ── the chip and the live look ── */
|
|
46
46
|
export function chipOf(p) {
|
package/workspace/server.js
CHANGED
|
@@ -4647,8 +4647,11 @@ function startHeadless(base, workdir, kind, launchArgs, env, initialInput, addDi
|
|
|
4647
4647
|
const dim = (t) => `\x1b[38;5;244m${t}\x1b[0m`;
|
|
4648
4648
|
// A run that calls a refused tool a second time is stopped: in dontAsk mode the answer will not change (lib/headless.js denialGuard).
|
|
4649
4649
|
const guard = headlessLib.denialGuard();
|
|
4650
|
+
// The factory trace (lib/factory-traces.js): a team run that names a work item leaves one trace in the product's state folder.
|
|
4651
|
+
const ftrace = kind === 'team' && env && env.PMOS_TEAM_ROOT ? require('./lib/factory-traces.js').tracker() : null;
|
|
4650
4652
|
const feed = (line) => {
|
|
4651
4653
|
const ev = headlessLib.streamLines(line);
|
|
4654
|
+
if (ftrace) ftrace.see(line);
|
|
4652
4655
|
if (ev.result) resultLine = line;
|
|
4653
4656
|
if (ev.log.length) say(ev.log.map((l) => (/^›/.test(l) ? dim(l) : l)).join('\n') + '\n');
|
|
4654
4657
|
const seen = headlessLib.initTools(line);
|
|
@@ -4690,6 +4693,7 @@ function startHeadless(base, workdir, kind, launchArgs, env, initialInput, addDi
|
|
|
4690
4693
|
const r = headlessLib.parseResult(resultLine || out);
|
|
4691
4694
|
// The token log (lib/run-tokens.js): one line per finished run, for `pmos ai status`.
|
|
4692
4695
|
require('./lib/run-tokens.js').record(STATE, { kind, origin: s.origin, lean, result: { ...r, ...headlessLib.usageOf(resultLine || out) }, ok: code === 0 && r.ok && !r.isError });
|
|
4696
|
+
if (ftrace) { try { require('./lib/factory-traces.js').recordRun(env.PMOS_TEAM_ROOT, { role: env.PMOS_TEAM_ROLE, tracker: ftrace, result: { ...r, ...headlessLib.usageOf(resultLine || out) }, ok: code === 0 && r.ok && !r.isError }); } catch (e) { warnWriteFail('factory trace', e); } }
|
|
4693
4697
|
if (r.ok) say('\n' + headlessLib.logLines(r, code).join('\n') + '\n');
|
|
4694
4698
|
else if (out.trim() && !resultLine) say(r.text.split('\n').slice(-20).join('\n') + '\n');
|
|
4695
4699
|
if (err.trim()) say(dim(err.trim().split('\n').slice(-20).join('\n')) + '\n');
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_comment": "ADLC gap P1 (factory-bot-identity-sandbox, done test I1-I7): the factory's own git identity and token from pmos/factory.json, and the Builder's check in a container with no network (lib/factory-identity.js, lib/build-engine.js). Stub gh and docker; no real GitHub or container.",
|
|
3
|
+
"modules": [
|
|
4
|
+
"factory-identity.test.js"
|
|
5
|
+
],
|
|
6
|
+
"seconds": {
|
|
7
|
+
"factory-identity.test.js": 4
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
{
|
|
2
|
-
"_comment": "Launch simulation W7 (kit-factory-builder): the D65 factory in a product repository. One sandbox run against a kit built by kit/build-kit.sh and a local bare remote: vendoring (F1), the kit (F2), the Builder's claim, propose, \u2726 and draft PR (F3), verify-work (F4). No browser, no network. D108 (factory-guardrail-merge): the merge guardrail, one case per rule (factory-guardrail.test.js), and G1\u2013G6 in the same sandbox.",
|
|
2
|
+
"_comment": "Launch simulation W7 (kit-factory-builder): the D65 factory in a product repository. One sandbox run against a kit built by kit/build-kit.sh and a local bare remote: vendoring (F1), the kit (F2), the Builder's claim, propose, \u2726 and draft PR (F3), verify-work (F4). No browser, no network. D108 (factory-guardrail-merge): the merge guardrail, one case per rule (factory-guardrail.test.js), and G1\u2013G6 in the same sandbox. factory-premerge-reviewer: the independent pre-merge review (factory-review.test.js).",
|
|
3
3
|
"modules": [
|
|
4
4
|
"build-engine.test.js",
|
|
5
|
-
"factory-guardrail.test.js"
|
|
5
|
+
"factory-guardrail.test.js",
|
|
6
|
+
"factory-review.test.js"
|
|
6
7
|
],
|
|
7
8
|
"seconds": {
|
|
8
9
|
"build-engine.test.js": 8,
|
|
9
|
-
"factory-guardrail.test.js": 3
|
|
10
|
+
"factory-guardrail.test.js": 3,
|
|
11
|
+
"factory-review.test.js": 3
|
|
10
12
|
}
|
|
11
13
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_comment": "ADLC gap P2 (factory-builder-benchmark): the golden benchmark of the Builder. The golden set's checks against its solutions (B1), the sandbox (B2), a stub Builder through the real pmos build claim and propose (B3), the append-only record (B4), the rollup per model and harness (B5), the command and the default runner's tools (B6). No model call, no browser, no network.",
|
|
3
|
+
"modules": [
|
|
4
|
+
"builder-bench.test.js"
|
|
5
|
+
],
|
|
6
|
+
"seconds": {
|
|
7
|
+
"builder-bench.test.js": 13
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_comment": "factory-builder-inner-loop: the product's declared checks run by PMOS in the Builder's worktree with no network, the CI-fix rounds and the blocked state (lib/factory-checks.js, lib/factory-ci.js, lib/factory-needs.js). One sandbox repository, a stub gh.",
|
|
3
|
+
"modules": [
|
|
4
|
+
"factory-checks.test.js"
|
|
5
|
+
],
|
|
6
|
+
"seconds": {
|
|
7
|
+
"factory-checks.test.js": 8
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_comment": "ADLC gap P2 (factory-fleet-scale): work items in dependency order (depends_on), the Builder's concurrency from pmos/factory.json builders, and the integrator that rebases an overlapping factory pull request in PMOS's own process. One sandbox against a kit built by kit/build-kit.sh, a local bare remote and a stub gh. No browser, no network.",
|
|
3
|
+
"modules": [
|
|
4
|
+
"factory-fleet.test.js"
|
|
5
|
+
],
|
|
6
|
+
"seconds": {
|
|
7
|
+
"factory-fleet.test.js": 6
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_comment": "factory-learning-loop (ADLC gap P2): factory setbacks become Builder lessons; a repeated one files Change the factory harness (lib/factory-lessons.js).",
|
|
3
|
+
"modules": [
|
|
4
|
+
"factory-lessons.test.js"
|
|
5
|
+
],
|
|
6
|
+
"seconds": {
|
|
7
|
+
"factory-lessons.test.js": 1
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_comment": "ADLC gap P0 (factory-real-run-kit): scripts/factory-real-run.js seeds a product into a repository and rehearses the whole factory path against a local bare remote with a fake gh. No browser, no network, no model.",
|
|
3
|
+
"modules": [
|
|
4
|
+
"factory-real-run.test.js"
|
|
5
|
+
],
|
|
6
|
+
"seconds": {
|
|
7
|
+
"factory-real-run.test.js": 8
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_comment": "ADLC gap P1 (factory-run-traces): one trace per factory run and the factory's numbers over a window (lib/factory-traces.js, lib/routes-factory-metrics.js). Pure folds and a temporary state folder; no git, no server, no browser. The sandbox case T3/T6 is in build-engine.test.js.",
|
|
3
|
+
"modules": [
|
|
4
|
+
"factory-traces.test.js"
|
|
5
|
+
],
|
|
6
|
+
"seconds": {
|
|
7
|
+
"factory-traces.test.js": 1
|
|
8
|
+
}
|
|
9
|
+
}
|