feat(workspace): point planning guardrails at omo
This commit is contained in:
@@ -57,16 +57,16 @@ describe("Atlas prompts anti-duplication coverage", () => {
|
||||
|
||||
describe("Atlas prompts plan path consistency", () => {
|
||||
for (const [name, prompt] of ALL_VARIANTS) {
|
||||
test(`${name} variant should use .sisyphus/plans/{plan-name}.md path`, () => {
|
||||
expect(prompt).toContain(".sisyphus/plans/{plan-name}.md")
|
||||
expect(prompt).not.toContain(".sisyphus/tasks/{plan-name}.yaml")
|
||||
expect(prompt).not.toContain(".sisyphus/tasks/")
|
||||
test(`${name} variant should use .omo/plans/{plan-name}.md path`, () => {
|
||||
expect(prompt).toContain(".omo/plans/{plan-name}.md")
|
||||
expect(prompt).not.toContain(".omo/tasks/{plan-name}.yaml")
|
||||
expect(prompt).not.toContain(".omo/tasks/")
|
||||
})
|
||||
}
|
||||
|
||||
test("all variants should read plan file after verification", () => {
|
||||
for (const [, prompt] of ALL_VARIANTS) {
|
||||
expect(prompt).toMatch(/read[\s\S]*?\.sisyphus\/plans\//i)
|
||||
expect(prompt).toMatch(/read[\s\S]*?\.omo\/plans\//i)
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user