fix: route arbiter resolutions through reviewer (#195)
This commit is contained in:
@@ -1702,7 +1702,8 @@ describe('createMessageRuntime', () => {
|
||||
expect(input.prompt).toBe(
|
||||
'The reviewer approved the current task scope (TASK_DONE / legacy DONE). Finalize and report the result.\n' +
|
||||
'If you intend to close this paired turn now, your first line must be TASK_DONE.\n' +
|
||||
'If the original request still has remaining work and the owner flow should continue, your first line may be STEP_DONE.\n' +
|
||||
'Do not use STEP_DONE only because a broader roadmap still has remaining work; close the approved slice and continue the next slice in a new owner turn.\n' +
|
||||
'Use STEP_DONE only when this same approved scope still needs additional owner changes and another review pass.\n' +
|
||||
'If your first line is DONE_WITH_CONCERNS, the system will reopen review instead of finishing.',
|
||||
);
|
||||
expect(input.prompt).not.toContain("Reviewer's final assessment:");
|
||||
@@ -1811,7 +1812,7 @@ describe('createMessageRuntime', () => {
|
||||
vi.mocked(agentRunner.runAgentProcess).mockImplementation(
|
||||
async (_group, input, _onProcess, onOutput) => {
|
||||
expect(input.prompt).toBe(
|
||||
'The reviewer approved the current task scope (TASK_DONE / legacy DONE). Finalize and report the result.\nIf you intend to close this paired turn now, your first line must be TASK_DONE.\nIf the original request still has remaining work and the owner flow should continue, your first line may be STEP_DONE.\nIf your first line is DONE_WITH_CONCERNS, the system will reopen review instead of finishing.',
|
||||
'The reviewer approved the current task scope (TASK_DONE / legacy DONE). Finalize and report the result.\nIf you intend to close this paired turn now, your first line must be TASK_DONE.\nDo not use STEP_DONE only because a broader roadmap still has remaining work; close the approved slice and continue the next slice in a new owner turn.\nUse STEP_DONE only when this same approved scope still needs additional owner changes and another review pass.\nIf your first line is DONE_WITH_CONCERNS, the system will reopen review instead of finishing.',
|
||||
);
|
||||
expect(input.prompt).not.toContain('리뷰 승인 요약');
|
||||
expect(input.prompt).not.toContain('DONE\n승인합니다.');
|
||||
|
||||
Reference in New Issue
Block a user