Skip to content

fix(review): give Blind Hunter project access; verbatim skill prompts#2507

Merged
alexeyv merged 1 commit into
mainfrom
fix/blind-hunter-project-access
Jun 24, 2026
Merged

fix(review): give Blind Hunter project access; verbatim skill prompts#2507
alexeyv merged 1 commit into
mainfrom
fix/blind-hunter-project-access

Conversation

@alexeyv

@alexeyv alexeyv commented Jun 24, 2026

Copy link
Copy Markdown
Collaborator

What

Fixes the Blind Hunter review subagent across bmad-dev-auto, bmad-quick-dev, and bmad-code-review, and makes the review-skill invocation explicit.

Why — the bug

All three skills described the Blind Hunter as receiving the diff with "no project access." That's wrong. "Blind" means blind to intent — no spec, no context docs, so it can't anchor on why the change was made — not blind to the codebase. Denying it project access crippled it: it could only see the diff, never the surrounding code that determines whether the change is actually correct.

The change

Replace the prose reviewer descriptions with bare, verbatim prompts:

- **Blind hunter** — prompt: "Use the `bmad-review-adversarial-general` skill on `{diff_output}`."
- **Edge case hunter** — prompt: "Use the `bmad-review-edge-case-hunter` skill on `{diff_output}`."
  • Subagents already have project read access by default, so nothing needs to grant it — and the prompt carries only the diff, so the intent-blindness is preserved by construction (no need to state "no spec/context").
  • The verbatim "Use the skill" prompt also replaces the vague "invoke via the skill" phrasing that previously left room to emulate the review instead of actually invoking the skill.
  • bmad-code-review's Acceptance Auditor is unchanged — it's the spec-aware reviewer by design.

Scope

Three one-line-per-reviewer edits; npm run quality passes. Separate from #2506 (dev-auto commit-at-end); the two PRs touch dev-auto/step-04-review.md in different hunks.

🤖 Generated with Claude Code

@coderabbitai

coderabbitai Bot commented Jun 24, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: b6475fe5-f6d4-4f06-8c99-d3b11c3703db

📥 Commits

Reviewing files that changed from the base of the PR and between 149e872 and 14a788b.

📒 Files selected for processing (3)
  • src/bmm-skills/4-implementation/bmad-code-review/steps/step-02-review.md
  • src/bmm-skills/4-implementation/bmad-dev-auto/step-04-review.md
  • src/bmm-skills/4-implementation/bmad-quick-dev/step-04-review.md

📝 Walkthrough

Walkthrough

Updated three review-step documents so Blind Hunter and Edge Case Hunter are invoked with explicit skill prompts on {diff_output} instead of descriptive input/access wording.

Changes

Review prompt wording updates

Layer / File(s) Summary
Explicit review invocations
src/bmm-skills/4-implementation/bmad-code-review/steps/step-02-review.md, src/bmm-skills/4-implementation/bmad-dev-auto/step-04-review.md, src/bmm-skills/4-implementation/bmad-quick-dev/step-04-review.md
Blind Hunter and Edge Case Hunter instructions now use explicit skill calls on {diff_output} across the review workflow docs.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~4 minutes

Possibly related PRs

Suggested reviewers

  • bmadcode
🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Title check ⚠️ Warning The title claims Blind Hunter gains project access, but the PR actually replaces reviewer prose with explicit skill prompts on {diff_output}. Rename it to describe the prompt/invocation change, e.g. "fix(review): use explicit skill prompts for Blind Hunter and Edge Case Hunter".
✅ Passed checks (4 passed)
Check name Status Explanation
Description check ✅ Passed The description matches the PR's scope: it explains the Blind Hunter prompt update, the edge-case hunter prompt, and the retained project access.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/blind-hunter-project-access

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.

@augmentcode

augmentcode Bot commented Jun 24, 2026

Copy link
Copy Markdown
🤖 Augment PR Summary

Summary: Rewrites the Blind Hunter and Edge Case Hunter reviewer instructions to be explicit, verbatim prompts that apply the corresponding review skills to {diff_output}.
Why: Clarifies the intended subagent behavior (diff-focused, but not "no project access") and reduces ambiguity about how the review skills should be invoked.

🤖 Was this summary useful? React with 👍 or 👎

The Blind Hunter review subagent was denied project access in dev-auto,
quick-dev, and code-review — limited to the diff, unable to inspect the
surrounding code that determines whether the change is correct. It is blind
to intent (no spec/context), not to the codebase.

Replace the prose reviewer descriptions with bare verbatim prompts that
invoke the named review skill on {diff_output}. Subagents already have
project read access by default, so the explicit prompt is the only control
needed; this also removes the vague "invoke via the skill" phrasing that
invited emulating the review instead of actually invoking it.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@alexeyv alexeyv force-pushed the fix/blind-hunter-project-access branch from 14a788b to e6f1595 Compare June 24, 2026 22:40

@augmentcode augmentcode 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.

Review completed. 2 suggestions posted.

Fix All in Augment

Comment augment review to trigger a new review at any time.


- **Blind hunter** — receives inline `{diff_output}` only. No spec, no context docs, no project access. Invoke via the `bmad-review-adversarial-general` skill.
- **Edge case hunter** — receives `{diff_output}` and read access to the project. Invoke via the `bmad-review-edge-case-hunter` skill.
- **Blind hunter** — prompt: "Use the `bmad-review-adversarial-general` skill on `{diff_output}`."

@augmentcode augmentcode Bot Jun 24, 2026

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This references another skill but uses “Use … skill” phrasing; tools/skill-validator.md REF-03 requires “invoke” language (e.g., “Invoke/Launch the skill”) when naming a skill. Consider aligning the wording to avoid failing skill validation. (Guideline: skill_validation) (Rule: tools/skill-validator.md)

Severity: high

Other Locations
  • src/bmm-skills/4-implementation/bmad-dev-auto/step-04-review.md:29
  • src/bmm-skills/4-implementation/bmad-quick-dev/step-04-review.md:27
  • src/bmm-skills/4-implementation/bmad-quick-dev/step-04-review.md:28
  • src/bmm-skills/4-implementation/bmad-code-review/steps/step-02-review.md:21
  • src/bmm-skills/4-implementation/bmad-code-review/steps/step-02-review.md:23

Fix This in Augment

🤖 Was this useful? React with 👍 or 👎, or 🚀 if it prevented an incident/outage.

2. Launch parallel subagents without conversation context. If subagents are not available, generate prompt files in `{implementation_artifacts}` — one per reviewer role below — and HALT. Ask the user to run each in a separate session (ideally a different LLM) and paste back the findings. When findings are pasted, resume from this point and proceed to step 3.

- **Blind Hunter** — receives inline `{diff_output}` only. No spec, no context docs, no project access. Invoke via the `bmad-review-adversarial-general` skill.
- **Blind Hunter** — prompt: "Use the `bmad-review-adversarial-general` skill on `{diff_output}`."

@augmentcode augmentcode Bot Jun 24, 2026

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The RULES section above still says Blind Hunter “receives NO project context — diff only,” which seems inconsistent with this PR’s goal of fixing the “no project access” behavior. If that RULES text is used to decide subagent permissions, the bug may persist despite the new prompt line.

Severity: medium

Fix This in Augment

🤖 Was this useful? React with 👍 or 👎, or 🚀 if it prevented an incident/outage.

@alexeyv alexeyv merged commit f04260b into main Jun 24, 2026
5 checks passed
@alexeyv alexeyv deleted the fix/blind-hunter-project-access branch June 24, 2026 23:01
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.

1 participant