feat(workspace): point planning guardrails at omo

This commit is contained in:
YeonGyu-Kim
2026-05-16 17:41:35 +09:00
parent a86221b1a9
commit 36e373cdbb
48 changed files with 244 additions and 244 deletions
+3 -3
View File
@@ -17,12 +17,12 @@ describe("MOMUS_SYSTEM_PROMPT policy requirements", () => {
expect(prompt).toMatch(/<system-reminder>|system-reminder/)
})
test("should extract paths containing .sisyphus/plans/ and ending in .md", () => {
test("should extract paths containing .omo/plans/ and ending in .md", () => {
// given
const prompt = MOMUS_SYSTEM_PROMPT
// when / #then
expect(prompt).toContain(".sisyphus/plans/")
expect(prompt).toContain(".omo/plans/")
expect(prompt).toContain(".md")
// New extraction policy should be mentioned
expect(prompt.toLowerCase()).toMatch(/extract|search|find path/)
@@ -34,7 +34,7 @@ describe("MOMUS_SYSTEM_PROMPT policy requirements", () => {
// when / #then
// In RED phase, this will FAIL because current prompt explicitly lists this as INVALID
const invalidExample = "Please review .sisyphus/plans/plan.md"
const invalidExample = "Please review .omo/plans/plan.md"
const rejectionTeaching = new RegExp(
`reject.*${escapeRegExp(invalidExample)}`,
"i",