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:
@@ -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 ─────────────────────────────────────────────────
|
||||
|
||||
|
||||
Reference in New Issue
Block a user