agent-orchestrator/packages/core/src
Prateek 8005585fac fix: address bugbot review comments — escalated guard for bugbot retrigger + response body fix
Two bugs identified in re-review:

1. Missing escalated guard in checkAutomatedComments retrigger path
   The same-fingerprint + timer-elapsed retrigger path in checkAutomated-
   Comments was missing the tracker.escalated check that was already added
   to checkPersistentConditions. Without it, every retrigger cycle after
   escalateAfter elapses would re-escalate to human notification spam.

2. Response body consumed twice in merge error handler (Dashboard.tsx)
   res.json() and res.text() both consume the response body stream. If
   res.json() throws (e.g., proxy 502 returns HTML), the catch block's
   res.text() also fails, so users always saw "Unknown error". Fixed by
   reading res.text() first, then parsing with JSON.parse.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-20 18:57:14 +05:30
..
__tests__ fix: address bugbot review comments — escalated guard for bugbot retrigger + response body fix 2026-02-20 18:57:14 +05:30
config.ts feat: event-driven reactions architecture — event log, bugbot detection, persistent retrigger 2026-02-20 18:57:14 +05:30
event-log.ts fix: address bugbot review comments — event log ordering, escalation guard, JSON validation 2026-02-20 18:57:14 +05:30
index.ts fix: infer projectId from session prefix to fix merge button 2026-02-20 18:57:14 +05:30
lifecycle-manager.ts fix: address bugbot review comments — escalated guard for bugbot retrigger + response body fix 2026-02-20 18:57:14 +05:30
metadata.ts fix: restore archived sessions that were killed/cleaned up (#110) 2026-02-19 02:19:44 +05:30
orchestrator-prompt.ts fix: dashboard config discovery + CLI service layer refactoring (#70) 2026-02-18 17:08:48 +05:30
paths.ts feat: event-driven reactions architecture — event log, bugbot detection, persistent retrigger 2026-02-20 18:57:14 +05:30
plugin-registry.ts fix: three spawn regressions from PR #88 session-manager refactor (#100) 2026-02-18 17:53:33 +05:30
prompt-builder.ts feat: layered prompt system for agent sessions (#27) 2026-02-14 20:07:13 +05:30
session-manager.ts fix: infer projectId from session prefix to fix merge button 2026-02-20 18:57:14 +05:30
tmux.ts fix: increase delays in spawn prompt submission to ensure Enter is processed (#62) 2026-02-16 20:31:07 +05:30
types.ts feat: event-driven reactions architecture — event log, bugbot detection, persistent retrigger 2026-02-20 18:57:14 +05:30
utils.ts fix: dashboard config discovery + CLI service layer refactoring (#70) 2026-02-18 17:08:48 +05:30