feat(athena): add Step 12b for mandatory synthesis.md persistence
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
@@ -42,10 +42,26 @@ describe("Athena prompt config injection placeholders", () => {
|
||||
|
||||
it("#then uses sequential workflow step numbering", () => {
|
||||
expect(athenaConfig.prompt).toContain("Step 12: Synthesize")
|
||||
expect(athenaConfig.prompt).toContain("Step 12b: Persist the synthesis")
|
||||
expect(athenaConfig.prompt).toContain("Step 13: Determine follow-up path from council_finalize runtime guidance")
|
||||
expect(athenaConfig.prompt).toContain("Step 14: Execute the runtime guidance action flow")
|
||||
})
|
||||
|
||||
it("#then places Step 12b between Step 12 and Step 13", () => {
|
||||
const prompt = athenaConfig.prompt ?? ""
|
||||
const step12Idx = prompt.indexOf("Step 12: Synthesize")
|
||||
const step12bIdx = prompt.indexOf("Step 12b: Persist the synthesis")
|
||||
const step13Idx = prompt.indexOf("Step 13: Determine follow-up path from council_finalize runtime guidance")
|
||||
|
||||
expect(step12Idx).toBeGreaterThan(-1)
|
||||
expect(step12bIdx).toBeGreaterThan(step12Idx)
|
||||
expect(step13Idx).toBeGreaterThan(step12bIdx)
|
||||
})
|
||||
|
||||
it("#then references archive_dir for synthesis persistence", () => {
|
||||
expect(athenaConfig.prompt).toContain("{archive_dir}/synthesis.md")
|
||||
})
|
||||
|
||||
it("#then omits legacy mixed step labels", () => {
|
||||
expect(athenaConfig.prompt).not.toContain("Step 1.5")
|
||||
expect(athenaConfig.prompt).not.toContain("Step 4.5")
|
||||
|
||||
Reference in New Issue
Block a user