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
{{ message }}
Repository navigation
Commit d48dec5
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: README.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -251,7 +251,7 @@ The required event catalog is:
251
251
|`review_completed`|`stage=review`, `model`, `reasoning_effort`, `review_phase`, `cycle`, `status=clean\|findings\|failed`, and `duration_ms`. A classified result (`clean` or `findings`) also requires all findings counters plus `review_scope=branch_and_worktree`, `review_base` (resolved commit SHA), `review_merge_base` and `review_base_source=explicit\|open_pr\|branch_merge_base\|remote_default`; on command or classification failure these fields and counters are omitted. This is the review stage's sole completion record. |
252
252
|`stage_completed`|`stage=fix-findings\|finalize\|fix-ci`, `model`, `reasoning_effort`, `status=success\|failed`, and `duration_ms`; `fix-findings` also has `review_phase` and `cycle`, while `fix-ci` has `review_phase`. A successfully parsed finalization response also requires `verdict=SUCCESS\|CI_FAILED\|FAILED`; an invocation or parsing failure uses `status=failed` and omits `verdict`. |
253
253
|`step_completed`|`stage=finalize`, `model`, `reasoning_effort`, `step=commit\|push\|change_request\|ci`, and `status=success\|skipped\|failed\|unknown`. Each finalization attempt emits one record for every listed step; a step that is inapplicable or not reached is `skipped`, while an outcome that cannot be established is `unknown`. |
254
-
|`run_completed`|`status=success\|findings_remaining\|operational_failure\|ci_failure`, `exit_code`, and `total_duration_ms`. For `findings_remaining`, also `checkpoint_status=committed_local\|no_changes\|not_attempted`; `committed_local` additionally requires percent-encoded `checkpoint_branch` and `checkpoint_commit`, while `not_attempted` requires `checkpoint_reason=fix_budget_exhausted\|pre_existing_changes`. |
254
+
|`run_completed`|`status=success\|findings_remaining\|operational_failure\|ci_failure\|cancelled`, `exit_code`, and `total_duration_ms`. `cancelled` always has `exit_code=130`. For `findings_remaining`, also `checkpoint_status=committed_local\|no_changes\|not_attempted`; `committed_local` additionally requires percent-encoded `checkpoint_branch` and `checkpoint_commit`, while `not_attempted` requires `checkpoint_reason=fix_budget_exhausted\|pre_existing_changes`. |
255
255
256
256
For example:
257
257
@@ -298,9 +298,10 @@ When diagnostic session logging is enabled and its record directory has been cre
| Operational failure |`22:14:05 Failed due to an operational error (8m 45s, exit 2)`|
301
+
| Interrupted with `Ctrl-C`|`22:14:05 Cancelled (8m 45s, exit 130)`|
301
302
| CI remains red |`22:14:05 Stopped: CI is still failing (8m 45s, exit 3)`|
302
303
303
-
A findings summary always includes the total. It always renders `P0`, `P1` and `P2`, then appends non-zero `P3` and `Unknown` counts. Successful terminal lines omit exit `0`; failure terminal lines retain exit codes `1`, `2`, and `3`.
304
+
A findings summary always includes the total. It always renders `P0`, `P1` and `P2`, then appends non-zero `P3` and `Unknown` counts. Successful terminal lines omit exit `0`; non-success terminal lines retain exit codes `1`, `2`, `3`, and `130` as applicable.
304
305
305
306
### Liveness
306
307
@@ -319,7 +320,7 @@ Heartbeat is disabled by default, accepts `0` or a Go duration of at least `1s`,
319
320
320
321
### Interactive agent output view
321
322
322
-
In `human` mode, when both standard input and standard output are terminals and `TERM` is neither empty nor `dumb`, Code-Converge prints `Interactive view available: press i to open` once at startup and accepts one-key terminal input. Press `i` during a workflow to toggle a split view without interrupting the active Codex process. `Ctrl-C` always retains its normal interrupt behavior: it cancels the workflow and terminates its active subprocess group. The upper pane retains the workflow log; the lower pane shows arriving stdout and stderr from the active agent. Stderr lines are marked `[stderr]`.
323
+
In `human` mode, when both standard input and standard output are terminals and `TERM` is neither empty nor `dumb`, Code-Converge prints `Interactive view available: press i to open` once at startup and accepts one-key terminal input. Press `i` during a workflow to toggle a split view without interrupting the active Codex process. `Ctrl-C` always retains its normal interrupt behavior: it cancels the workflow, terminates its active subprocess group, reports `Cancelled`, and exits 130 rather than reporting an operational failure. The upper pane retains the workflow log; the lower pane shows arriving stdout and stderr from the active agent. Stderr lines are marked `[stderr]`.
323
324
324
325
The view uses the terminal alternate screen and restores it when closed, on workflow completion, cancellation, interruption, setup failure, or panic unwinding. Each pane retains its most recent 2,000 logical lines; long lines wrap to the current terminal width. `Tab` selects a pane, arrow keys and Page Up/Down scroll it, and `End` returns it to the live tail. A view opened before an agent starts says `No active agent output`; completion leaves the final stream visible until the next agent stage.
t.Fatalf("late output after cancellation: before=%q after=%q", before, after)
613
613
}
614
-
if!strings.Contains(before, "[1/0] [gpt-5.6-sol/medium] Review failed") ||!strings.Contains(before, "Failed due to an operational error") {
614
+
if!strings.Contains(before, "Cancelled") ||strings.Contains(before, "Review failed") ||strings.Contains(before, "Failed due to an operational error") {
Copy file name to clipboardExpand all lines: memory-bank/features/FT-010/brief.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@ An interactive terminal run can show the continuing workflow log and the active
37
37
-`REQ-03` The lower pane presents output from the currently active Codex process as it arrives.
38
38
-`REQ-04` A stage change clearly identifies or replaces the active agent stream so output from separate processes is not mixed.
39
39
-`REQ-05` The feature defines behavior for resize, pane scrolling, long lines, ANSI/control sequences, process completion/errors, and pressing `i` when no agent is active.
40
-
-`REQ-06` Terminal state is restored cleanly on exit, interruption, and panic; returning from the view leaves the invoking shell usable. `Ctrl-C` remains a reliable normal workflow interruption while one-key input is enabled.
40
+
-`REQ-06` Terminal state is restored cleanly on exit, interruption, and panic; returning from the view leaves the invoking shell usable. `Ctrl-C` remains a reliable normal workflow interruption while one-key input is enabled: it reports cancellation and exits 130, not an operational failure.
41
41
-`REQ-07` Non-interactive execution preserves the existing workflow stdout event format, does not require a TTY, and keeps agent output excluded from machine-readable workflow stdout.
42
42
-`REQ-08` Tests and documentation describe interactive-mode prerequisites and key bindings.
0 commit comments