Merge pull request #3498 from Disaster-Terminator/fix/task-id-prompt-surface

fix(prompts): prefer task_id in continuation guidance
This commit is contained in:
YeonGyu-Kim
2026-05-21 00:54:47 +09:00
committed by GitHub
6 changed files with 12 additions and 11 deletions
+5 -4
View File
@@ -507,7 +507,7 @@ session_id: ses_standalone_def
cleanupMessageStorage(sessionID)
})
test("should include session_id and checkbox instructions in reminder", async () => {
test("should include task_id and checkbox instructions in reminder", async () => {
// given - boulder state, Atlas caller
const sessionID = "session-resume-test"
setupMessageStorage(sessionID, "atlas")
@@ -536,10 +536,11 @@ session_id: ses_standalone_def
output
)
// then - should include verification instructions
// then - should include verification instructions and task_id guidance
expect(output.output).toContain("LYING")
expect(output.output).toContain("PHASE 1")
expect(output.output).toContain("PHASE 2")
expect(output.output).toContain("PHASE 1")
expect(output.output).toContain("PHASE 2")
expect(output.output).toContain("task_id")
cleanupMessageStorage(sessionID)
})
+1 -1
View File
@@ -104,7 +104,7 @@ Answer honestly:
ALL three must be YES. "Probably" = NO. "I think so" = NO. Investigate until CERTAIN.
- **All 3 YES** - Proceed: mark task complete, move to next.
- **Any NO** - Reject: resume session with \`session_id\`, fix the specific issue.
- **Any NO** - Reject: resume with \`task_id\`, fix the specific issue.
- **Unsure** - Reject: "unsure" = "no". Investigate until you have a definitive answer.
**DO NOT proceed to the next task until all 4 phases are complete and the gate passes.**`