fix(loops): recover when review card is missing#3752
Merged
Conversation
Generated-By: PostHog Code Task-Id: 8e9ca0e3-61d7-4840-b17b-0514f6abef70
|
😎 Merged directly without going through the merge queue, as the queue was empty and the PR was up to date with the target branch - details. |
|
React Doctor found no issues in the changed files. 🎉 Reviewed by React Doctor for commit |
tatoalo
marked this pull request as ready for review
July 23, 2026 11:11
tatoalo
enabled auto-merge (squash)
July 23, 2026 11:12
Contributor
|
Reviews (1): Last reviewed commit: "fix(loops): recover when review card is ..." | Re-trigger Greptile |
There was a problem hiding this comment.
Small, well-tested prompt-text change adding a safe confirm-based fallback when the review UI card fails to render; no risky-territory surface touched.
- 👍 on the PR from greptile-apps[bot].
Gate mechanics and policy version
| Gate | Result | |
|---|---|---|
| prerequisites | ✓ | all clear |
| deny-list | ✓ | no deny categories matched |
| size | ✓ | 9L, 1F substantive, 20L/2F incl. docs/generated/snapshots — within ceiling |
| tier | ✓ | T1-agent / T1a-trivial (20L, 2F, single-area, fix) |
| stamphog 2.0.0b3 | .stamphog/policy.yml @ 0a4e8f7 · reviewed head 7dd3525 |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Problem
Loop creation can stall when the interactive review card does not render, leaving users pointed at a Create button they cannot see.
Why: Users still need a safe way to finish creating a reviewed Loop when the host cannot display the MCP UI app.
Changes
Keep the review card as the primary flow, but instruct the Loop builder to use the existing prepare/confirm/execute protocol when a user reports that the card is absent. The fallback requires a fresh server-issued confirmation hash and the literal user reply
confirm.