Sync public tree to b67d2a6

This commit is contained in:
Michel Paulissen 2026-07-04 17:37:07 +02:00
parent 21f21fa8b6
commit 1d72f20cce
7 changed files with 466 additions and 6 deletions

View file

@ -40,6 +40,7 @@ const errorExitSmoke = read("scripts/cli-error-exit-smoke.js");
const browserLoginFlowSmoke = read("scripts/cli-browser-login-flow-smoke.js");
const nodeAttachSmoke = read("scripts/node-attach-smoke.js");
const dapSmoke = read("scripts/dap-smoke.js");
const cliHappyPathSmoke = read("scripts/cli-happy-path-live-smoke.js");
expect(criteria, "header", /^# Disasmer CLI-First MVP Acceptance Criteria/m);
expect(
@ -123,8 +124,31 @@ assert.deepStrictEqual(
expect(
criteria,
"CLI-first non-e2e gate wording",
/scripts\/acceptance-cli-first\.sh[\s\S]*final public-release e2e remains intentionally excluded/
/scripts\/acceptance-cli-first\.sh[\s\S]*scripts\/cli-happy-path-live-smoke\.js[\s\S]*live default operator/
);
expect(
cliFirstAcceptance,
"CLI-first gate can run live happy path when explicitly enabled",
/DISASMER_CLI_HAPPY_PATH_LIVE[\s\S]*cli-happy-path-live-smoke\.js/
);
for (const [name, pattern] of [
["happy path uses released binaries", /disasmer-public-binaries-/],
["happy path completes browser login", /--complete-browser-code/],
["happy path initializes project", /"project"[\s\S]*"init"/],
["happy path inspects project", /"inspect"[\s\S]*"--project"/],
["happy path enrolls node", /"node"[\s\S]*"enroll"/],
["happy path attaches node", /"node"[\s\S]*"attach"/],
["happy path starts worker", /--worker/],
["happy path runs build", /"run"[\s\S]*"build"/],
["happy path checks logs", /"logs"/],
["happy path checks artifacts", /"artifact"[\s\S]*"list"/],
["happy path downloads artifact", /"artifact"[\s\S]*"download"/],
["happy path restarts process", /"process"[\s\S]*"restart"/],
["happy path cancels process", /"process"[\s\S]*"cancel"/],
["happy path writes evidence", /cli-happy-path-live\.json/],
]) {
expect(cliHappyPathSmoke, name, pattern);
}
expect(
criteria,
"artifact export explicit local byte write",