Files
brave-core/.claude
Netzenbot ea361c39a5 review-prs: teach subagents about non-master base branches (#35952)
Teach review-prs subagents about non-master base branches

PRs targeting feature branches (not master, not version uplift branches)
were causing false positives: subagents couldn't find symbols/files in the
source tree and incorrectly flagged them as missing, not realising the code
was introduced by the base branch rather than master.

- Add is_feature_branch() using _fp_mod.is_version_branch() for detection
- Pass baseRefName through pr_entry() -> process_pr() -> build_subagent_prompt()
- Inject a NOTE at the top of each subagent prompt when base is a feature
  branch, naming the branch and providing the exact gh api lookup command
- Add base branch awareness rule to _REVIEW_RULES
- Add {base_branch_validation_note} placeholder to _VALIDATION_INSTRUCTIONS,
  populated with the concrete repo/branch lookup command when applicable
2026-04-30 11:55:05 -04:00
..
2026-04-02 17:34:50 -07:00