fix(ci): remove stale SDK-variant tests for files deleted in 377a6d2 (#2725)

377a6d2 deleted sdk/prompts/agents/ and sdk/prompts/workflows/ (13 files)
but did not update 3 test files that reference them, causing ENOENT
failures on every CI run (main and all PRs) since that commit.

Removed:
- sdk/prompts/agents variants describe block (enh-2427-sycophancy-hardening)
- PLAN_PHASE_SDK_PATH constant and headless plan-phase test (post-planning-gaps-2493)
- sdk/prompts/workflows/verify-phase.md describe block (verifier-deferred-items)

The underlying behaviour is covered by the existing main agent/workflow
tests; the SDK variant tests are moot now that the SDK loads installed
files instead of bundled stripped-down copies.

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Tom Boucher
2026-04-25 16:26:15 -04:00
committed by GitHub
parent a5a2d44121
commit caf6974bbf
3 changed files with 3 additions and 61 deletions

View File

@@ -150,34 +150,7 @@ describe('verifier deferred-items filtering (#1624)', () => {
});
});
// ── verify-phase.md (SDK variant) ──────────────────────────────────────────
describe('sdk/prompts/workflows/verify-phase.md', () => {
const sdkPath = path.join(ROOT, 'sdk', 'prompts', 'workflows', 'verify-phase.md');
let sdkContent;
test('file exists', () => {
assert.ok(fs.existsSync(sdkPath), 'SDK verify-phase.md should exist');
sdkContent = fs.readFileSync(sdkPath, 'utf-8');
});
test('loads roadmap analyze in context step', () => {
sdkContent = sdkContent || fs.readFileSync(sdkPath, 'utf-8');
assert.ok(
sdkContent.includes('roadmap analyze'),
'SDK verify-phase.md should reference roadmap analyze for deferred-item filtering'
);
});
test('contains deferred-item filtering step', () => {
sdkContent = sdkContent || fs.readFileSync(sdkPath, 'utf-8');
assert.ok(
sdkContent.includes('filter_deferred_items') ||
sdkContent.includes('deferred'),
'SDK verify-phase.md should contain deferred-item filtering logic'
);
});
});
// sdk/prompts/workflows/verify-phase.md removed in 377a6d2 — SDK loads installed workflow directly.
// ── planner-gap-closure.md ─────────────────────────────────────────────────