Skip to content

Commit a958131

Browse files
authored
fix(live-proof): preserve successful terminal verification (#1232)
* fix(live-proof): preserve successful command results * fix(live-proof): fail closed on status probe errors * fix(live-proof): drain output after successful exit
1 parent d616643 commit a958131

6 files changed

Lines changed: 1036 additions & 79 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ checkpoint, and status-only commits are intentionally omitted.
5959

6060
### Fixed
6161

62+
- Terminal live verification preserves successful commands when a marker is not observed, reports that distinction truthfully, and still rejects real command failures and timeouts.
6263
- Replaced public Worker exception text with endpoint-owned error codes and bounded direct-publication rejection categories, preserving distinct operational fingerprints without exposing submitted values or stack traces.
6364
- Replaced terminal live proof's authenticated `xvfb-run` wrapper with a TCP-disabled local Xvfb display so readiness probes and recording can connect without X authorization failures.
6465
- Made terminal live-proof recording wait for Xvfb and ffmpeg readiness and clean finalization, with tmux pane diagnostics on failure.

‎docs/live-proof.md‎

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,10 +128,18 @@ existing comment-sync path upserts the marker-backed review comment.
128128

129129
Browser comments contain sanitized per-step outcomes and a one-line failing-step
130130
reason, never page text. Terminal comments retain capped output and list
131-
assertions only when present. All untrusted fields are bounded and neutralized
132-
against Markdown fences, HTML, and ClawSweeper marker spoofing. OpenClaw Bay is
133-
unaffected: the durable report and comment contract is unchanged, and Bay remains
134-
an observer-only surface.
131+
assertions only when present. A terminal command with a confirmed successful exit
132+
still passes when its expected marker is absent from the captured pane; the
133+
assertion remains a completed, non-gating schema-v1 step, is explicitly labeled
134+
`NOT OBSERVED`, and cannot qualify a recording. Private command files and runner
135+
paths never enter published terminal output. Each entry or `run` action executes
136+
as a separately supervised Bash process in the same checkout, so plans should
137+
share state through files or one command rather than shell-local mutations.
138+
Nonzero exits, signals, command timeouts, and missing markers for still-running
139+
commands remain failures.
140+
All untrusted fields are bounded and neutralized against Markdown fences, HTML,
141+
and ClawSweeper marker spoofing. OpenClaw Bay is unaffected: the durable schema-v1
142+
passing-assertion invariant and observer ownership remain unchanged.
135143

136144
## Local simulation
137145

0 commit comments

Comments
 (0)