9 Commits

Author SHA1 Message Date
roboomp 3d35bda89d fix(coding-agent): suppressed circular plan-yolo notice
Passed explicit plan-yolo state into print mode so the startup-default warning only describes bare headless runs.

Fixes #8312
2026-08-12 05:01:17 +00:00
roboomp 3ebe60d8b3 fix(coding-agent): stopped print mode hanging on plan.defaultOnStartup
Headless `omp -p` armed an interactive plan-review flow whenever
plan.defaultOnStartup was set. Its only headless exit was a watcher that
fired on a successful `xd://propose` execute-dispatch, so any turn where
the model did not emit exactly that dispatch stranded until --max-time,
printing nothing. --plan-yolo could not rescue it because print mode's
arming clashed with the prewalk coordinator's plan-yolo handoff.

Print mode no longer honors the startup default: headless has no surface
to review, approve, or exit a plan. It writes a one-line stderr note and
runs the prompt normally. --plan-yolo remains the deterministic headless
plan flow and no longer clashes.

Fixes #8272
2026-08-11 19:39:40 +00:00
roboomp 929ab1a20f fix(coding-agent): allowed retries for buffered print output
Made text replay safety depend on whether the active output sink has committed streamed text.

Kept tool calls, images, and server tools replay-unsafe while covering text and JSON print policies plus a transient socket-close recovery.

Fixes #7625
2026-08-04 13:50:09 +00:00
roboomp c4053918fe fix(coding-agent): handled headless plan proposals
Installed the normal plan proposal handler in print mode, persisted the resolved plan artifact, and silently stopped the completed planning turn for later review.

Shared plan proposal validation with interactive mode and added regression coverage.

Fixes #6017
2026-07-18 21:46:03 +00:00
roboomp a5ff9f9a30 fix(coding-agent): enabled plan mode for print prompts
Applied the startup plan default before headless prompts and persisted the mode for later interactive review.

Added regression coverage for the exact -p startup path.

Fixes #6017
2026-07-18 21:34:30 +00:00
can1357 a1caad9ce7 test: stub getLastAssistantMessage in print-mode session mocks for baseline compatibility 2026-07-18 19:43:17 +02:00
Christian Stewart c8f1972c8c fix(coding-agent): drain advisor reviews in print mode 2026-07-18 01:51:00 -07:00
can1357 2c7b701e16 test(cli): cover one-shot print working indicator 2026-07-14 18:45:21 +02:00
roboomp 1a3e137f19 fix(cli): showed print-mode working indicator
- Wrote a one-shot stderr working indicator before text print-mode prompts wait on the model.

- Covered pending text/json print-mode behavior with focused tests.

Fixes #4901
2026-07-09 08:00:02 +00:00