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
After an execution comparison finishes, the operator can be left with a transcript filename or a verbose recap instead of a clear answer about whether the run completed and where its evidence lives.
What
Generate one final summary from the retained attempt records. The summary shows each lane result, explains invalid attempts, reports cleanup once, and provides absolute paths to the retained report and evidence. The comparison flow returns this summary automatically after the report is written.
How to test
Complete an execution comparison with both Brunch and Claude Code lanes.
Confirm the final response starts with Execution comparison complete and presents each lane in a separate result block.
Confirm an invalid lane includes a plain reason, while a valid lane does not show an invalidity reason.
Confirm cleanup appears once as Cleanup: done, without repeated cleanup clean labels.
Confirm every artifact path is absolute and opens the matching retained report, attempt, or oracle evidence.
Exit the Pi session and confirm the pi-session-*.html transcript is emitted after the comparison summary rather than replacing it.
Low Risk
Changes are limited to dev execution-comparison operator tooling and operator prompts; no production auth, data, or runtime paths.
Overview
Adds a summary path on execution-comparison-operator that reads retained attempt-records (after report.md exists) and prints a fixed "Execution comparison complete" block: per-lane validity, terminal outcome, command/browser checks, invalidity reason when needed, one Cleanup line, and absolute paths to report, attempts, and oracle reports.
The compare-execution Pi prompt now requires running that command after report.md and returning its stdout verbatim as the final operator response—no hand-written recap or transcript-only endings. Covered by new execution-summary tests and prompt contract tests.
Reviewed by Cursor Bugbot for commit 38c6bd9. Bugbot is set up for automated code reviews on this repo. Configure here.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
After an execution comparison finishes, the operator can be left with a transcript filename or a verbose recap instead of a clear answer about whether the run completed and where its evidence lives.
What
Generate one final summary from the retained attempt records. The summary shows each lane result, explains invalid attempts, reports cleanup once, and provides absolute paths to the retained report and evidence. The comparison flow returns this summary automatically after the report is written.
How to test
Execution comparison completeand presents each lane in a separate result block.Cleanup: done, without repeatedcleanup cleanlabels.pi-session-*.htmltranscript is emitted after the comparison summary rather than replacing it.