You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Align the headless agent review with the backend's pragent-based
flow (which now batches up to 5 files per session and exposes
Read/Grep/Glob/LS/BulkRead).
- splitIntoPerFileRequests: group files in chunks of 5 per agent
session instead of 1, matching pragent's MAX_FILES_PER_BATCH.
Concatenate diffs + merge file_contents per batch.
- reviewHeadless: per-batch loop; pass file_path/file_content only
on single-file batches (multi-file batches let the agent gather
per-file context via tools). Progress messages report actual file
counts, not batch counts.
- Preserve generator labels through the reflector by matching
reflector issue_content to generator one_sentence_summary
(pragent's primary smart_match_feedback strategy).
- BulkRead tool handler (mirrors backend pragent llm_tools), plus
/workspace/ prefix stripping in the dispatcher so the agent's
absolute-path tool calls resolve to the CLI's relative-cwd model.
- fetchApi: undici Agent with 60s connect timeout + transient-error
retry. Default 10s connect timeout caused UND_ERR_CONNECT_TIMEOUT
during cold-start TLS handshakes under burst review load.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments