Skip to content

feat(live-proof): run the real system by default and publish what happened - #1204

Merged
steipete merged 1 commit into
mainfrom
steipete/live-verification-by-default
Aug 18, 2026
Merged

steipete merged 1 commit into
mainfrom
steipete/live-verification-by-default

Conversation

@steipete

Copy link
Copy Markdown
Contributor

Summary

ClawSweeper should try to run the real system for a PR unless something looks suspicious — executing the real binary is the value, not only running the repo's tests, and not only when a watchable video is possible. It did the opposite:

  • the prompt recommended a live proof only for user-visible changes and explicitly "never for pure refactors, CI/config changes, docs, tests, or internal plumbing", so most PRs executed nothing;
  • execution existed to produce a recording, and since feat(live-proof): let the review judge whether a recording is worth watching #1203 a static_text payoff returned before running at all — exactly the unwatchable-but-valuable runs;
  • the public comment rendered a Live Proof section only when a recording block existed, so a run without a video was invisible: its command, output, and per-assertion results were discarded.

Now: reviews plan a verification for any PR with something runnable, including refactors and internal plumbing where a smoke check ("the binary still starts and still prints X") is the point. declined_suspicious is unchanged and remains the strict escape hatch. The payoff judgment now chooses only the presentation — a static_text payoff still executes the plan and captures results while skipping video capture entirely (the workflow also stops installing ffmpeg/Xvfb/xterm for those runs). Every run publishes a Live Verification section:

Live Verification

Command: pnpm cli --help

Result: PASS (completed)

Usage: cli [options]

Assertions:

  • PASS expect_output: Usage

Captured output is untrusted program output, so it is sanitized before publication — fences, HTML, and anything resembling ClawSweeper's hidden markers are neutralized, and the excerpt is capped. Failed drives now publish their failure as a verification result (useful signal) while still never attaching a video; the absent-then-present and duration gates continue to gate media only.

Validation

  • pnpm build clean; live-proof, decision-parser, report round-trip and prompt-policy suites 94/94; codex-review-runner 26/26.
  • A static terminal fixture ran the real command and captured pane output while invoking no Xvfb, xterm, ffmpeg, or display probing.
  • Autoreview (Codex, gpt-5.6-sol, high): clean, "patch is correct (0.97)".
  • Note on the full suite: a solo run showed 12 failures, all long-running subprocess/timing tests (11–117s each) unrelated to this change. They pass in isolation; the machine was at load average 15–20 from concurrent agent work. runCodex, the only failing area touching code this PR modifies, passes 26/26 in isolation.

…pened

Live verification only ran when a video was possible, and its result was
only ever surfaced as a recording, so refactors and internal changes
executed nothing and a run without a video was invisible. Reviews now plan
a verification for any PR with something runnable — declined_suspicious
remains the strict escape hatch — and the payoff judgment chooses only the
presentation. A static_text payoff still runs the real binary and captures
its output while skipping video capture entirely, and every run publishes
a Live Verification section with the command, a sanitized excerpt of real
output, and per-assertion results.
@steipete
steipete requested a review from a team as a code owner August 18, 2026 05:04
@clawsweeper

clawsweeper Bot commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@clawsweeper

clawsweeper Bot commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

ClawSweeper status: review started.

I am starting a fresh review of this pull request: feat(live-proof): run the real system by default and publish what happened This is item 1/1 in the current shard. Shard 0/1.

This placeholder means the worker is alive and reading the current context. I will edit this same comment with the actual review when the claws are done clicking.

Crustacean status: shell secured, claws on keyboard, evidence pebbles being sorted.

@steipete
steipete merged commit 055ffba into main Aug 18, 2026
8 checks passed
@steipete
steipete deleted the steipete/live-verification-by-default branch August 18, 2026 05:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant