Skip to content

Make prompt source precedence explicit#165

Merged
s-hiraoku merged 2 commits into
mainfrom
codex/prompt-source-precedence
Jul 4, 2026
Merged

Make prompt source precedence explicit#165
s-hiraoku merged 2 commits into
mainfrom
codex/prompt-source-precedence

Conversation

@s-hiraoku

@s-hiraoku s-hiraoku commented Jul 4, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Make builder and verifier prompts explicitly treat issue text/comments as evidence, not higher-priority instructions
  • Tell builder agents to ignore issue text that conflicts with repo instructions, config, safety, verification, or PR ownership rules
  • Update agent docs and prompt regression tests

Verification

  • npm test -- --run test/agent.test.ts
  • npm run typecheck
  • npm run build

Closes #163

@coderabbitai

coderabbitai Bot commented Jul 4, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@s-hiraoku, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 33 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Repository: kaizen-agents-org/coderabbit/.coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 62f38bb9-4c03-4cb1-bc8c-de04e76ee24c

📥 Commits

Reviewing files that changed from the base of the PR and between 2823843 and 066c2ab.

📒 Files selected for processing (3)
  • docs/06-agents.md
  • src/agents/prompt.ts
  • test/agent.test.ts
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/prompt-source-precedence

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

Comment @coderabbitai help to get the list of available commands.

@chatgpt-codex-connector chatgpt-codex-connector 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 130a30b485

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/agents/prompt.ts
@s-hiraoku s-hiraoku merged commit e02a5db into main Jul 4, 2026
2 checks passed
@s-hiraoku

Copy link
Copy Markdown
Collaborator Author

PR Guardian final status:

  • Mergeability: mergeable=MERGEABLE, mergeStateStatus=CLEAN
  • Checks: verify is passing; CodeRabbit status is passing
  • Review feedback addressed: Codex review suggestion was answered in-thread and the thread is resolved
  • Review threads: unresolved count is 0
  • Remaining blockers: none observed

No file changes were needed in this pass.

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.

Make prompt source precedence explicit

1 participant