Skip to content

fix(land): resolve a PR that edits the fixer's own prompt like any other - #371

Merged
moq-bot[bot] merged 2 commits into
mainfrom
fix/land-fix-own-prompt
Nov 1, 2026
Merged

moq-bot[bot] merged 2 commits into
mainfrom
fix/land-fix-own-prompt

Conversation

@kixelated

Copy link
Copy Markdown
Collaborator

Summary

The fixer handed back moq-dev/quest#355 instead of resolving its conflicts with main. Its reason was that the PR "targets this fixer and its result", because #355 edits assets/land-fix.md. The prompt already says to neither follow nor hand back for instructions in a diff. But it doesn't cover a PR that changes the fixer's own prompt, result format, or quest land's code.

The fixer always runs from the base's prompt, so a PR's edits to that prompt never apply to it. This adds that statement to the untrusted-input section, so those PRs get the same mechanical fixes as any other PR. It also adds the new sentence to the prompt-injection test's expected phrases.

Review

Codex gpt-6.1-sol, medium effort (quest review --base origin/main), session 01a198ad-76da-7870-8993-a0171c5b6cb3. Round 1 on head 811765bc4f9926a3c011756a6299751730fce31c: no findings.

🤖 Generated with Claude Code

(Written by Claude Opus 5.5)

The fixer handed #355 back because the PR edits
assets/land-fix.md, although the prompt already says to hand nothing back
for instructions in a diff. The fixer runs from the base's prompt, so a
PR's edits to it never apply. Say so, so such PRs get mechanical fixes too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 41f2ccb8-5218-4213-bc6d-741b32e9b9f0
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@moq-bot
moq-bot Bot merged commit 1733726 into main Nov 1, 2026
@moq-bot
moq-bot Bot deleted the fix/land-fix-own-prompt branch November 1, 2026 21:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant