Update phased-prompt tests for the rewritten awaiting-* scripts
The ceo-phased-prompts and e2e-flows suites pinned the old "Awaiting Org Approval" heading and the now-deprecated "HIRES FIRST. STRATEGY APPROVAL LAST." shouting caps. The rewritten awaiting-org prompt reads "Awaiting Org Strategy Approval" and describes the server-enforced ordering by code (STRATEGY_BEFORE_HIRES) rather than by imperative prose. Update the expected-phrase assertions to match.
This commit is contained in:
1 parent
a99f5e581f
commit
1d172c60f1
2 files changed
+9
-8
No files matched your search
@@ -61,7 +61,7 @@ describe("E2E: Full autonomous CEO cold start flow", () => {
|
||||
} as ApprovalRecord],
|
||||
});
|
||||
const phase1Prompt = buildSystemPrompt(phase1Ctx);
|
||||
expect(phase1Prompt).toContain("Awaiting Org Approval");
|
||||
expect(phase1Prompt).toContain("Awaiting Org Strategy Approval");
|
||||
|
||||
// 4. Board approves hires
|
||||
const hireApprovalCTO = shared.db.requestApproval({
|
||||
@@ -278,7 +278,7 @@ describe("Review Fix: Org gate consistency (revision_requested)", () => {
|
||||
});
|
||||
|
||||
const prompt = buildSystemPrompt(ctx);
|
||||
expect(prompt).toContain("Awaiting Org Approval");
|
||||
expect(prompt).toContain("Awaiting Org Strategy Approval");
|
||||
expect(prompt).toContain("revision_requested");
|
||||
});
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user