Skip to content

fix(loops): recover when review card is missing#3752

Merged
trunk-io[bot] merged 1 commit into
mainfrom
posthog-code/fix-loop-review-fallback
Jul 23, 2026
Merged

fix(loops): recover when review card is missing#3752
trunk-io[bot] merged 1 commit into
mainfrom
posthog-code/fix-loop-review-fallback

Conversation

@tatoalo

@tatoalo tatoalo commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

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.

Generated-By: PostHog Code
Task-Id: 8e9ca0e3-61d7-4840-b17b-0514f6abef70
@trunk-io

trunk-io Bot commented Jul 23, 2026

Copy link
Copy Markdown

😎 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.

@github-actions

Copy link
Copy Markdown

React Doctor found no issues in the changed files. 🎉

Reviewed by React Doctor for commit 7dd3525.

@tatoalo tatoalo self-assigned this Jul 23, 2026
@tatoalo tatoalo added the Stamphog This will request an autostamp by stamphog on small changes label Jul 23, 2026
@tatoalo
tatoalo marked this pull request as ready for review July 23, 2026 11:11
@tatoalo
tatoalo enabled auto-merge (squash) July 23, 2026 11:12
@greptile-apps

greptile-apps Bot commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Reviews (1): Last reviewed commit: "fix(loops): recover when review card is ..." | Re-trigger Greptile

@github-actions github-actions 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.

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

@trunk-io
trunk-io Bot merged commit e237b19 into main Jul 23, 2026
40 checks passed
@trunk-io
trunk-io Bot deleted the posthog-code/fix-loop-review-fallback branch July 23, 2026 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Stamphog This will request an autostamp by stamphog on small changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant