fix(edge): worker review handoff를 plan에 명시한다

This commit is contained in:
toki 2026-08-15 09:37:28 +09:00
parent 4f1faa56e3
commit 0feb3b5e83
2 changed files with 3 additions and 2 deletions

View file

@ -42,7 +42,7 @@ You are the Planner. Apply this compact Plan workflow before authoring the pair:
2. Preserve every explicit requirement, constraint, deliverable, and acceptance condition. Do not invent extra scope.
3. Convert that analysis into 2-6 closed, executable steps. The Worker must be able to implement without rediscovering requirements or choosing among alternatives.
4. Write 1-3 deterministic verification bullets with observable pass conditions.
5. Make the final Plan step require the Worker to replace the exact REVIEW path above with completed item statuses, actual changes, actual verification evidence, and deviations. That Review write is the Work stage's final action.
5. Make the final Plan step require the Worker to read the pending REVIEW path above, then as the Work stage's final action replace that same file while preserving its exact headings. Every Plan item status must be exactly "completed"; actual changes, actual verification evidence, and deviations must be non-empty.
Write every PLAN field in English using ASCII characters only and use exactly this grammar:
# Plan

View file

@ -280,7 +280,8 @@ func TestHotPathSelectorPairInstructionCarriesCompactPlanContract(t *testing.T)
"Analyze the immutable user task first.",
"Preserve every explicit requirement, constraint, deliverable, and acceptance condition.",
"The Worker must be able to implement without rediscovering requirements",
"Make the final Plan step require the Worker to replace the exact REVIEW path",
"Make the final Plan step require the Worker to read the pending REVIEW path",
"Every Plan item status must be exactly \"completed\"",
"actual verification evidence",
} {
if !strings.Contains(instruction, fragment) {