Skip to content

Restore live-proof formatting checks - #1193

Merged
jesse-merhi merged 1 commit into
mainfrom
jesse/fix-live-proof-format
Aug 17, 2026
Merged

jesse-merhi merged 1 commit into
mainfrom
jesse/fix-live-proof-format

Conversation

@jesse-merhi

Copy link
Copy Markdown
Member

Two recently merged live-proof changes no longer match the repository formatter, leaving main red and blocking otherwise unrelated PRs. This PR applies the configured formatter to those two files; runtime behavior is unchanged.

Proof

  • pnpm run format:check passes across all 741 matched files.
  • The net diff is formatter-only: one wrapped error expression and one expanded ffmpeg argument list.
  • pnpm run check reached coverage tests, then the local host exhausted temporary coverage space (ENOSPC). GitHub CI provides the clean-runner result.

OpenClaw Bay is unaffected because this changes formatting only; no lifecycle, queue, status, telemetry, or dashboard contract changes.

@clawsweeper

clawsweeper Bot commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

@jesse-merhi

Copy link
Copy Markdown
Member Author

/clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 17, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot added P3 Low-risk cleanup, docs, polish, ergonomics, or speculative feature. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Aug 17, 2026
@clawsweeper

clawsweeper Bot commented Aug 17, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 17, 2026, 8:21 AM ET / 12:21 UTC.

ClawSweeper review

What this changes

Reformats one recorder error expression and one ffmpeg argument list in the live-proof subsystem to satisfy the configured formatter.

Regression provenance

Possible regression — suspected (reviewed change). No predecessor PR is attributed.

Merge readiness

⚠️ Ready for maintainer review - 3 items remain

Keep open. Current main retains the two live-proof layouts targeted by the formatter, while this member-authored PR narrowly restores compliance without changing the error text or ffmpeg arguments. No correctness or security finding was identified; the current pnpm check run should finish before a maintainer lands it.

Priority: P3
Reviewed head: f89e460e888c622607723ed55bdb0cc37390fd28
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) This is a clean, narrowly scoped formatter repair with no review findings; completion of the current check remains the only landing prerequisite.
Proof confidence 🌊 off-meta tidepool Not applicable: This member-authored change only reformats existing source expressions and has no changed runtime behavior needing a live-proof artifact.
Patch quality 🦞 diamond lobster (5/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: This member-authored change only reformats existing source expressions and has no changed runtime behavior needing a live-proof artifact.
Evidence reviewed 5 items Formatter scope: The configured format:check runs oxfmt --check across src, so both changed TypeScript files are directly in the gate's scope.
Token-preserving diff: The submitted hunk only changes the layout of the existing recorder error expression; its message and timeout interpolation remain unchanged.
Token-preserving diff: The ffmpeg fallback still receives the same ordered arguments; the PR expands only the array layout.
Findings None None.
Security None None.

How this fits together

The live-proof subsystem turns a typed review plan into a short browser or terminal recording, then validates and attaches its media to a review record. The changed locations handle recorder readiness and fallback poster-frame creation.

flowchart LR
A[Typed review plan] --> B[Live-proof runner]
B --> C[Recorder readiness]
B --> D[Poster-frame fallback]
C --> E[Recorded media]
D --> E
E --> F[Review record]
Loading

Decision needed

Question Recommendation
Should this member-authored formatter-only PR be approved once the current pnpm check run completes successfully? Approve after checks: Approve the narrow formatting repair once the in-progress check reports success on the submitted head.

Why: Repository policy keeps member-authored items out of automated cleanup and requires explicit maintainer judgment before landing.

Before merge

  • Resolve merge risk (P1) - GitHub's pnpm check run is still in progress for the submitted head, so current status evidence is incomplete for landing.
  • Complete next step (P2) - No repair-lane work is needed; this member-authored PR only awaits the current check and normal maintainer approval.
Agent review details

Security

None.

Review metrics

Metric Value Why it matters
Formatter scope 2 files affected; +14/-4 lines Both hunks only reflow existing expressions and argument values.

Merge-risk options

Maintainer options:

  1. Decide the mitigation before merge
    Land the two-file formatter correction after the current-head check completes successfully, preserving the existing recorder and ffmpeg behavior.
  2. Pause or close
    Do not merge this PR until maintainers decide whether the risk is worth taking.

Technical review

Best possible solution:

Land the two-file formatter correction after the current-head check completes successfully, preserving the existing recorder and ffmpeg behavior.

Do we have a high-confidence way to reproduce the issue?

Yes. The configured pnpm run format:check explicitly scans src, including both changed files, and the submitted body reports it passing at the PR head; this inspection-only review did not rerun the formatter.

Is this the best way to solve the issue?

Yes. Updating the two nonconforming layouts is the narrowest solution because the format gate covers them and the diff preserves all runtime values.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 69adf7592803.

Labels

Label justifications:

  • P3: This is a narrowly scoped formatting repair with no intended runtime, data, security, or delivery behavior change.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🦞 diamond lobster.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: This member-authored change only reformats existing source expressions and has no changed runtime behavior needing a live-proof artifact.

Evidence

What I checked:

  • Formatter scope: The configured format:check runs oxfmt --check across src, so both changed TypeScript files are directly in the gate's scope. (package.json:108, f89e460e888c)
  • Token-preserving diff: The submitted hunk only changes the layout of the existing recorder error expression; its message and timeout interpolation remain unchanged. (src/live-proof/drivers.ts:372, f89e460e888c)
  • Token-preserving diff: The ffmpeg fallback still receives the same ordered arguments; the PR expands only the array layout. (src/live-proof/execute.ts:158, f89e460e888c)
  • Recent feature provenance: Current-main history shows Peter Steinberger's immediately preceding live-proof fixes for recorder readiness and short-recording poster fallback; the latter is the main commit that added the execute-side layout this PR reformats. (src/live-proof/execute.ts:153, 69adf7592803)
  • Existing focused coverage: The existing live-proof test suite exercises terminal recorder command construction and lifecycle behavior; this PR does not alter that behavior. (test/live-proof.test.ts:199, f89e460e888c)

Likely related people:

  • Peter Steinberger: The recent first-parent history attributes the live-proof implementation sequence, including the two immediately preceding fixes that touched these files, to Peter Steinberger. (role: feature introducer and recent area contributor; confidence: high; commits: c06a897aadd7, e87fb1f74b48, 69adf7592803; files: src/live-proof/drivers.ts, src/live-proof/execute.ts, test/live-proof.test.ts)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (1 earlier review cycle)
  • reviewed 2026-08-17T12:17:17.756Z sha f89e460 :: needs maintainer review before merge. :: none

@jesse-merhi
jesse-merhi marked this pull request as ready for review August 17, 2026 12:24
Copilot AI lite review requested due to automatic review settings August 17, 2026 12:24
@jesse-merhi
jesse-merhi merged commit dc147bf into main Aug 17, 2026
15 checks passed
@jesse-merhi
jesse-merhi deleted the jesse/fix-live-proof-format branch August 17, 2026 12:24

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P3 Low-risk cleanup, docs, polish, ergonomics, or speculative feature. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants