chore: clear dead test and allowlist leftovers of dropped runtimes
Some checks failed
Tests / PR mergeability (push) Successful in 18s
Tests / Base branch health (push) Successful in 9s
Tests / Detect test scope (push) Successful in 16s
Tests / lint-tests (push) Failing after 1m43s
Tests / plugin-validate (push) Successful in 58s
Tests / test (ubuntu-latest, 24, shard 1/3) (push) Failing after 19s
Tests / test (ubuntu-latest, 24, shard 2/3) (push) Failing after 20s
Tests / test (ubuntu-latest, 24, shard 3/3) (push) Failing after 20s
Tests / test (ubuntu-latest, 24) (push) Failing after 18s
Tests / test (inert CI) (push) Has been skipped
Tests / QA loop walk (smell ratchet) (push) Failing after 19s
Tests / Coverage gate (merged shards) (push) Has been skipped
Tests / Publish emitted-baseline artifact (push) Has been skipped
Duplicate auto-close sweep / sweep (push) Successful in 19s
CI timeout budget report / report (push) Failing after 14s
Close Draft PRs (sweep) / Sweep open draft PRs (push) Successful in 9s
Dismiss Unauthorized PR Approvals / dismiss-unauthorized-approval (push) Successful in 9s
Tests / conformance test (macos-latest, 24) (push) Has been cancelled
Tests / conformance test (windows-latest, 24, shard 1/3) (push) Has been cancelled
Tests / conformance test (windows-latest, 24, shard 2/3) (push) Has been cancelled
Tests / conformance test (windows-latest, 24, shard 3/3) (push) Has been cancelled
Tests / Required tests (push) Has been cancelled

This commit is contained in:
Jakub Zych
2026-10-06 20:30:09 +02:00
parent 792139b5ed
commit fe3ed06691
83 changed files with 308 additions and 1997 deletions

View File

@@ -107,7 +107,7 @@ describe('msd-cursor-subagent-start.js: isolation guard applicability (#3045)',
let linkedWorktree; // real `git worktree add` of harnessProject, NOT under Cursor's managed
// worktree root — a hand-made worktree the user opened themselves.
// #3045 finding 3: this is no longer treated as isolation proof.
let noneProject; // config.json { runtime: 'windsurf' } -> resolves to 'none'
let noneProject; // config.json { runtime: 'zcode' } -> resolves to 'none'
let orchestratorEnvProject; // exercised via MSD_RUNTIME=codex -> 'orchestrator-worktree'
let noMsdDir; // no .planning at all
let unreadableConfigProject; // config.json is a directory (EISDIR)
@@ -126,7 +126,7 @@ describe('msd-cursor-subagent-start.js: isolation guard applicability (#3045)',
git(['worktree', 'add', linkedPath, '-b', 'agent-msd-cs-iso-test'], harnessProject);
linkedWorktree = linkedPath;
noneProject = makeGitProject('msd-cs-none-', JSON.stringify({ runtime: 'windsurf' }));
noneProject = makeGitProject('msd-cs-none-', JSON.stringify({ runtime: 'zcode' }));
orchestratorEnvProject = makeGitProject('msd-cs-orch-', JSON.stringify({}));
noMsdDir = createTempDir('msd-cs-nomsd-');
@@ -184,7 +184,7 @@ describe('msd-cursor-subagent-start.js: isolation guard applicability (#3045)',
assert.equal(out.permission, undefined);
});
test('resolved mode none (config.json runtime=windsurf) -> allow', () => {
test('resolved mode none (config.json runtime=zcode) -> allow', () => {
const r = runHook(subagentPayload([noneProject]));
assert.equal(r.status, 0, `stdout: ${r.stdout}`);
const out = JSON.parse(r.stdout);