Format files touched by reviewer runtime cleanup

This commit is contained in:
ejclaw
2026-04-06 07:56:59 +09:00
parent aaa9eeb50a
commit bf55ad65fd
5 changed files with 17 additions and 10 deletions

View File

@@ -1880,7 +1880,9 @@ describe('createMessageRuntime', () => {
]);
vi.mocked(agentRunner.runAgentProcess).mockImplementation(
async (_group, input, _onProcess, onOutput) => {
expect(input.prompt).toContain('paired_turn_outputs 에 저장된 reviewer 요약');
expect(input.prompt).toContain(
'paired_turn_outputs 에 저장된 reviewer 요약',
);
expect(input.prompt).not.toContain('리뷰어 디스코드 출력 원문');
await onOutput?.({
status: 'success',
@@ -1925,7 +1927,10 @@ describe('createMessageRuntime', () => {
expect(result).toBe(true);
expect(agentRunner.runAgentProcess).toHaveBeenCalledTimes(1);
expect(channel.sendMessage).toHaveBeenCalledWith(chatJid, 'owner follow-up ok');
expect(channel.sendMessage).toHaveBeenCalledWith(
chatJid,
'owner follow-up ok',
);
});
it('reuses the shared arbiter prompt builder for pending arbiter turns', async () => {