Skip to content

Post unconfirmed cross-check blockers as suggestions - #60

Open
masih wants to merge 2 commits into
mainfrom
masih/1795434850-confirm-cross-check-blockers
Open

masih wants to merge 2 commits into
mainfrom
masih/1795434850-confirm-cross-check-blockers

Conversation

@masih

@masih masih commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

The reconcile rule asks the review to confirm a cross-check's blocker in the code the change calls before keeping it, but that is only a request to the model. In the rerun of the sei-chain 4882 replay, the one review that still kept the false iterator-aliasing blocker never opened SplitMVCCKey, which copies its input. This makes the check something the job can verify instead of trust.

An inline comment gains an optional checked list. A blocker the review keeps from a cross-check, recognised by naming the cross-check as the reconcile prompt already requires, must list the files it opened in the tree to confirm it. Before publishing, the job compares that list with the shell commands and read-tool calls recorded in run.json, and posts the blocker as a suggestion, with a sentence saying why, when the list is empty or names anything that is not a file in the tree or was never opened. If that leaves no blocker, a request_changes decision becomes comment. A top-level blocker naming a cross-check has no place to carry the list, so it always moves to the non-blocking section; the prompt tells the review to put such a blocker on its line.

Read-tool paths are now recorded next to shell commands, because the review can open a tree file either way and demoting a blocker it really checked would be wrong. They stay out of the service payload, like the command strings. A command counts as opening a file when one of its words is that path, or ends with it, or is its tail starting at a path segment, so cd tree/x && sed -n 1,80p y.go counts for x/y.go but a recursive grep over a directory does not. That is deliberately loose about which tool touched the file and strict about naming it; a bare basename shared with another file will pass.

Blockers the review found itself are untouched, and so is a review without a tree, where there is nothing to check against. The full-read guard and the cross-check labels are unchanged.

The reconcile rule asks the review to confirm a cross-check's blocker in
the code it calls, but nothing checks that it did. A kept cross-check
blocker now names the files it opened in checked, and the job posts it as
a suggestion unless every named file is in the tree and was opened by a
shell command or read the review made.
@devin-ai-integration
devin-ai-integration Bot marked this pull request as ready for review November 23, 2026 11:57

@seidroid seidroid Bot 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.

This change has the job demote a blocker kept from a cross-check to a suggestion unless its checked files exist in the tree and appear in the recorded shell commands or read-tool paths. Nothing here breaks correctness: tsc is clean and the 165 tests that run pass (one skipped). Both gpt-6.1-sol leads hold but cover looseness intent.md accepts on purpose, so I kept them as one suggestion and dropped nothing.

Seidroid Review · the review wrote approve · run

Comment thread src/job.ts Resolved
Comment thread src/job.ts Resolved
seidroid[bot]
seidroid Bot previously approved these changes Nov 23, 2026

@seidroid seidroid Bot 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.

The diff has not changed since my last review, so both of my earlier suggestions still apply and neither is fixed; nothing blocks. The two gpt-6.1-sol leads still hold and remain folded into the line-448 suggestion, credited to that reader, and nothing was dropped.

Seidroid Review · the review wrote approve · run

@seidroid
seidroid Bot dismissed their stale review November 23, 2026 12:01

Withdrawn: the head moved, or could not be read, while this approval was posted, so it does not cover the newer commits.

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