Skip to content

feat: implement issue #1105 — [Phase 2] Rewire the security-audit + single-review tier prompts to consume pre-fed context - #1163

Merged
don-petry merged 4 commits into
mainfrom
dev-lead/issue-1105-20260710-1251
Jul 10, 2026
Merged

feat: implement issue #1105 — [Phase 2] Rewire the security-audit + single-review tier prompts to consume pre-fed context#1163
don-petry merged 4 commits into
mainfrom
dev-lead/issue-1105-20260710-1251

Conversation

@don-petry

@don-petry don-petry commented Jul 10, 2026

Copy link
Copy Markdown
Collaborator

Closes #1105

Implemented by dev-lead agent. Please review.

Summary by CodeRabbit

  • New Features

    • Review and audit workflows can reuse pre-fetched pull request metadata and diffs when they match the current commit, with fallback to live retrieval.
    • Cascade actions can incorporate previously resolved review context without fetching pull request details again.
  • Tests

    • Added automated coverage for pre-fetched context handling, freshness checks, fallback behavior, and preserved review checks.
    • Included the new tests in pull-request lint validation.

…ingle-review tier prompts to consume pre-fed context
@don-petry
don-petry requested a review from a team as a code owner July 10, 2026 12:58
Copilot AI review requested due to automatic review settings July 10, 2026 12:58
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@coderabbitai

coderabbitai Bot commented Jul 10, 2026

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

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

Next review available in: 51 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: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 6adcc132-6400-460d-a912-014eae900e6c

📥 Commits

Reviewing files that changed from the base of the PR and between a95c789 and 88e09e6.

📒 Files selected for processing (1)
  • tests/test_prefetch_prompt_rewire.bats
📝 Walkthrough

Walkthrough

Security-audit and single-review prompts now use SHA-bound pre-fetched metadata and diffs when available, while retaining live-command fallbacks and dynamic context gathering. Cascade-action documents synthesis-only behavior. New Bats coverage validates the prompt rewiring and runs in lint CI.

Changes

Pre-fed context prompt flow

Layer / File(s) Summary
Pre-fed metadata and diff handling
prompts/security-audit.md, prompts/single-review.md
Both prompts conditionally read SHA-matched context files, fall back to gh commands, and retain dynamic context behavior.
Cascade synthesis scope
prompts/cascade-action.md
Cascade-action uses the resolved result and prior-tier context without fetching PR metadata or diffs.
Prompt coverage validation
tests/test_prefetch_prompt_rewire.bats, .github/workflows/lint.yml
Bats assertions verify prompt sections, environment variables, freshness checks, fallbacks, retained behavior, and CI execution registration.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Possibly related issues

  • petry-projects/.github-private issue 1104 — Covers the same pre-fed context rewiring for deep-review and rubber-duck prompts.
  • petry-projects/.github-private issue 1103 — Describes the SHA-bound prefetch files consumed by these prompt changes.

Possibly related PRs

Suggested labels: needs-human-review

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly states the Phase 2 pre-fed context rewire for security-audit and single-review, matching the main change.
Linked Issues check ✅ Passed The prompts add pre-fed PR context with SHA-gated fallback, preserve dynamic/tool fetches, and document cascade-action as out of scope.
Out of Scope Changes check ✅ Passed The changes stay focused on the prompt rewire and its supporting test/workflow update, with no clearly unrelated edits.
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch dev-lead/issue-1105-20260710-1251

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.

@don-petry

Copy link
Copy Markdown
Collaborator Author

Dev-Lead — review-changes (no-changes)

No changes were needed for this PR.

@don-petry
don-petry enabled auto-merge (squash) July 10, 2026 12:59

@gemini-code-assist gemini-code-assist 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.

Code Review

This pull request integrates pre-fed PR context (metadata and diff files) into the security audit and single review prompts, allowing them to bypass live GitHub CLI calls when pre-fetched files are available and fresh. It also adds a comprehensive BATS test suite to verify these changes. The reviewer recommended adding a file existence check in the test helper function _prefed_section to prevent awk from hanging on standard input if the file argument is missing.

Comment thread tests/test_prefetch_prompt_rewire.bats
@don-petry
don-petry disabled auto-merge July 10, 2026 12:59

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR implements issue #1105 (epic #1101, Phase 2/Story 5) by updating the tier-3 security-audit and single-review prompts to consume pre-fetched PR metadata/diff files when available, while retaining the original gh pr view / gh pr diff behavior as the fallback. It also documents that the cascade action step does not fetch PR context and adds a structural Bats guard to prevent regressions.

Changes:

  • Add a “Pre-fed PR context” section to prompts/security-audit.md and prompts/single-review.md, instructing the agent to read $PR_CONTEXT_METADATA_FILE / $PR_CONTEXT_DIFF_FILE when present/fresh (matching $PR_HEAD_SHA), otherwise fall back to gh pr view / gh pr diff.
  • Document prompts/cascade-action.md as explicitly out-of-scope (it synthesizes $FINAL_RESULT and does not fetch diff/metadata).
  • Add tests/test_prefetch_prompt_rewire.bats and wire it into the lint.yml Bats suite.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
tests/test_prefetch_prompt_rewire.bats Adds an offline structural guard ensuring the new “Pre-fed PR context” sections exist and key behaviors remain present.
prompts/single-review.md Instructs single-review to consume pre-fed metadata/diff when present and fresh; otherwise preserve existing fetch steps.
prompts/security-audit.md Same pre-fed-context rewire for the audit tier while keeping dynamic gh api/MCP/LSP guidance intact.
prompts/cascade-action.md Documents that cascade-action does not fetch PR context and is out of scope for the rewire.
.github/workflows/lint.yml Adds the new Bats test to the existing lint test list.

Comment thread tests/test_prefetch_prompt_rewire.bats
Comment thread tests/test_prefetch_prompt_rewire.bats
@don-petry

Copy link
Copy Markdown
Collaborator Author

Dev-Lead — fix-reviews (applied)

Changes committed and pushed.

@don-petry
don-petry enabled auto-merge (squash) July 10, 2026 13:01
@don-petry
don-petry disabled auto-merge July 10, 2026 13:01
coderabbitai[bot]
coderabbitai Bot previously approved these changes Jul 10, 2026
@don-petry

Copy link
Copy Markdown
Collaborator Author

Dev-Lead — review-changes (applied)

Changes committed and pushed.

@don-petry

Copy link
Copy Markdown
Collaborator Author

Dev-Lead — fix-bot-comment (no-changes)

Agent reasoning
Issues addressed: 0
Files changed: None
Skipped (informational): 0
Status: Quality Gate passed — no actionable issues found
```

@don-petry
don-petry enabled auto-merge (squash) July 10, 2026 13:08

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

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@tests/test_prefetch_prompt_rewire.bats`:
- Around line 49-61: Add behavioral tests around the context-selection predicate
used by the pre-fed audit section, rather than only checking its prose. Cover
missing pre-fed files falling back to gh, mismatched PR_HEAD_SHA falling back,
and header-only diffs being treated as empty or invalid context; use the
existing test helpers and fixtures around _prefed_section and the audit flow to
assert each outcome.
- Around line 118-121: The test for cascade-action in
“tests/test_prefetch_prompt_rewire.bats” only verifies documentation and must
also verify implementation. Update the test named “cascade-action prompt is
documented as not fetching the diff (out of scope)” to add negative assertions
confirming $ACTION contains neither “gh pr view” nor “gh pr diff”, while
retaining the existing documentation assertion.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 83c61fa2-5cd2-4ad3-ad22-ff4b4eebc7a2

📥 Commits

Reviewing files that changed from the base of the PR and between 0ae0559 and a95c789.

📒 Files selected for processing (5)
  • .github/workflows/lint.yml
  • prompts/cascade-action.md
  • prompts/security-audit.md
  • prompts/single-review.md
  • tests/test_prefetch_prompt_rewire.bats

Comment thread tests/test_prefetch_prompt_rewire.bats
Comment thread tests/test_prefetch_prompt_rewire.bats
@don-petry
don-petry disabled auto-merge July 10, 2026 13:09
@donpetry-bot

donpetry-bot commented Jul 10, 2026

Copy link
Copy Markdown
Contributor
Superseded by automated re-review at 536757edf49f9e59eea18a79079a5fed455ba0bb — click to expand prior review.

Review — fix requested (cycle 1/3)

The automated review identified the following issues. Please address each one:

Findings to fix

Automated review — NEEDS HUMAN REVIEW

Risk: MEDIUM
Reviewed commit: 536757edf49f9e59eea18a79079a5fed455ba0bb
Review mode: triage-approved (single reviewer)

Summary

Prompt-only rewire (epic #1101, Story 5): adds a "Pre-fed PR context" section to prompts/security-audit.md and prompts/single-review.md so they consume $PR_CONTEXT_METADATA_FILE / $PR_CONTEXT_DIFF_FILE when present and SHA-fresh, with explicit fallback to gh pr view / gh pr diff; documents prompts/cascade-action.md as out of scope; adds a 14-case structural bats guard (tests/test_prefetch_prompt_rewire.bats) and registers it in lint.yml. Implementation quality is good — freshness stamps checked, draft/head-sha skip guards preserved, dynamic gh api / MCP / LSP steps explicitly kept, and section-scoped awk extraction avoids false-pass greps. Escalating solely because review state is not clean: CodeRabbit submitted a CHANGES_REQUESTED review at 13:08:57Z, AFTER the head commit 536757e (13:06:03Z), so it stands against the reviewed SHA, and one of its actionable threads is still unresolved.

Linked issue analysis

Closes #1105. AC1 (pre-fed consumption in both prompts): met. AC2 (byte-identical fallback when flag off): met — the Otherwise clause covers unset vars, missing files, and stale SHA stamp. AC3 (dynamic tools retained): met — audit keeps the gh api standards fetch + LSP verification; single-review keeps the incremental compare and MCP secret scan. AC4 (cascade-action confirmed out of scope): met via an explicit doc note plus a bats assertion. AC5 (live smoke run with the flag on): not verifiable offline — the test file itself notes this needs the real cascade engine; a human or the next cycle should confirm a smoke run happened.

Findings

  1. [BLOCKING-STATE] Unresolved CodeRabbit thread (minor, tests/test_prefetch_prompt_rewire.bats ~line 121): the cascade-action out-of-scope test passes on prose alone; add negative assertions that cascade-action.md contains no 'gh pr view' / 'gh pr diff' commands. Quick win — a two-line test change plus resolving the thread.
  2. [BLOCKING-STATE] Standing CHANGES_REQUESTED review from coderabbitai submitted after the head commit; reviewDecision is CHANGES_REQUESTED and mergeStateStatus is BLOCKED. Even with all code concerns addressed, the review must be re-requested/dismissed after the fix lands.
  3. [RESOLVED] Prior findings were addressed on this head: _prefed_section/_section now guard against missing file args (gemini), and fallback assertions are section-scoped so pre-fed prose cannot false-pass them (copilot). CodeRabbit's major behavioral-coverage thread is marked resolved.
  4. [NOTE] run_secret_scanning MCP tool unavailable in this run; gitleaks CI check is green and the diff adds no secrets (prompts + tests only).

CI status

All substantive checks green at 536757e: Lint, shellcheck (x2), bats, unit-tests, CodeQL (actions+python), SonarCloud, gitleaks, agent-shield, Agent Security Scan, holdout-guard, template-drift, gh-aw-compile, validate-agent-profiles, CodeRabbit. Pending/in-progress entries are this review pipeline itself; cancelled dev-lead dispatch entries are superseded relay runs.


Reviewed automatically by the PR-review agent (single-reviewer mode: fable 5). Reply if you need a human review.

Additional tasks

  1. Resolve all unresolved review thread comments from other reviewers
  2. Ensure all CI checks pass after your changes
  3. Rebase on the target branch if behind
  4. Do NOT modify files unrelated to the findings above

The review cascade will automatically re-review after new commits are pushed.

coderabbitai[bot]
coderabbitai Bot previously approved these changes Jul 10, 2026
@don-petry

Copy link
Copy Markdown
Collaborator Author

Dev-Lead — fix-reviews (applied)

Changes committed and pushed.

@don-petry
don-petry enabled auto-merge (squash) July 10, 2026 13:12
@donpetry-bot

donpetry-bot commented Jul 10, 2026

Copy link
Copy Markdown
Contributor
Superseded by automated re-review at 88e09e6c8d9aeefbde6c613b37ba777c5e2f93e8 — click to expand prior review.

Review — fix requested (cycle 1/3)

The automated review identified the following issues. Please address each one:

Findings to fix

Automated review — NEEDS HUMAN REVIEW

Risk: MEDIUM
Reviewed commit: 536757edf49f9e59eea18a79079a5fed455ba0bb
Review mode: triage-approved (single reviewer)

Summary

Implements issue #1105 (epic #1101, Story 5): rewires prompts/security-audit.md and prompts/single-review.md to consume pre-fed PR context files ($PR_CONTEXT_METADATA_FILE / $PR_CONTEXT_DIFF_FILE) with SHA-freshness stamps instead of re-running gh pr view / gh pr diff, falling back byte-identically when the prefetch is off. Documents cascade-action.md as out of scope, adds a structural bats guard suite (tests/test_prefetch_prompt_rewire.bats), and registers it in lint.yml. The implementation is sound and matches the triage low-risk assessment, but the PR cannot be approved: CodeRabbit submitted a CHANGES_REQUESTED review at 2026-07-10T13:08:57Z — after the current head commit (13:06:03Z) — and one of its threads is still unresolved, leaving reviewDecision=CHANGES_REQUESTED and mergeStateStatus=BLOCKED.

Linked issue analysis

Issue #1105 ACs: (1) both prompts now read pre-fed metadata/diff when $PR_CONTEXT_* vars are set, files exist, and the pr_head_sha stamp matches — addressed. (2) Explicit fallback to gh pr view/gh pr diff when flag off/files absent/stamp stale, byte-identical — addressed. (3) Dynamic gh api / MCP / LSP steps (audit standards fetch, secret scan, incremental compare, linked-issue fetch) explicitly kept dynamic — addressed. (4) cascade-action.md confirmed not to fetch and documented out of scope — addressed. (5) Live smoke run of both paths with the flag on — not evidenced in this PR; the test file header acknowledges the bats checks are offline structural guards only.

Findings

  1. [BLOCKING] Unresolved CodeRabbit thread (Minor, tests/test_prefetch_prompt_rewire.bats): the cascade-action out-of-scope test passes on prose alone ("does not fetch") even if gh pr view / gh pr diff were later added to that prompt. Suggested fix: add negative assertions (e.g. refute gh pr view / gh pr diff outside quoted context) — a quick win, not yet addressed by any commit.
  2. [BLOCKING-STATE] CodeRabbit CHANGES_REQUESTED review post-dates the head commit; its Major thread (add behavioral coverage for the context-selection predicate: missing-file fallback, SHA mismatch, header-only diff) is marked resolved but no code commit follows the review. Note: the predicate is executed by the LLM agent consuming the prompt, so offline behavioral tests of it are of limited feasibility — the test header documents this and defers to the AC feat: add Copilot engine support via REVIEW_ENGINE toggle #5 smoke run. Either add the coverage, or reply on the thread with this rationale so the changes-requested state can be dismissed/re-reviewed.
  3. [MINOR] AC feat: add Copilot engine support via REVIEW_ENGINE toggle #5 (smoke run with prefetch flag on) has no evidence in the PR — confirm it ran or note where it will.
  4. Prior bot findings (gemini stdin-hang guard in _prefed_section; Copilot false-pass concerns on fallback greps) were properly fixed in commits a95c789/536757ed via the [ -f ] guard and section-scoped _section() helper — resolved.
  5. Secret scan: run_secret_scanning MCP tool unavailable in this session; gitleaks CI check passed (SUCCESS). No secrets or security anti-patterns observed in the diff.

CI status

All completed checks green: Lint, shellcheck/ShellCheck, bats, unit-tests, CodeQL (actions+python), SonarCloud, gitleaks secret scan, agent-shield, Agent Security Scan, template-drift, holdout-guard, gh-aw-compile, validate-agent-profiles, CodeRabbit. Pending entries are this review job itself (review / review) and the dev-lead dispatch relay; dependency-audit jobs skipped (no matching ecosystems). No failing checks.


Reviewed automatically by the PR-review agent (single-reviewer mode: fable 5). Reply if you need a human review.

Additional tasks

  1. Resolve all unresolved review thread comments from other reviewers
  2. Ensure all CI checks pass after your changes
  3. Rebase on the target branch if behind
  4. Do NOT modify files unrelated to the findings above

The review cascade will automatically re-review after new commits are pushed.

@don-petry
don-petry disabled auto-merge July 10, 2026 13:12
@sonarqubecloud

Copy link
Copy Markdown

@don-petry

Copy link
Copy Markdown
Collaborator Author

Note

@don-petry I reviewed this PR and no code changes were needed, but it still has blocking checks or reviews (failing or cancelled checks, or changes-requested reviews), so I cannot mark it done yet. I'll re-check automatically.
Next attempt after: 2026-07-10T13:46:07Z

@don-petry
don-petry enabled auto-merge (squash) July 10, 2026 13:16
@don-petry
don-petry disabled auto-merge July 10, 2026 14:53
@don-petry

Copy link
Copy Markdown
Collaborator Author

Dev-Lead — waiting on PR blockers (intent: review-changes)

PR: #1163
No changes were committed, but the PR still has blocking checks or reviews (failing or cancelled checks, or changes-requested reviews). The retry cron will re-attempt automatically. Next attempt after: 2026-07-10T15:27:13Z

@don-petry
don-petry enabled auto-merge (squash) July 10, 2026 14:57

@donpetry-bot donpetry-bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Automated review — APPROVED ✓

Risk: LOW
Reviewed commit: 88e09e6c8d9aeefbde6c613b37ba777c5e2f93e8
Review mode: triage-approved (single reviewer)

Summary

Re-review (cycle 2/3) after cycle-1 fix-request. Prompt-only rewire for epic #1101 Story 5: adds a 'Pre-fed PR context' section to prompts/security-audit.md and prompts/single-review.md so they consume $PR_CONTEXT_METADATA_FILE / $PR_CONTEXT_DIFF_FILE when present and SHA-fresh, with explicit byte-identical fallback to gh pr view / gh pr diff; documents prompts/cascade-action.md as out of scope; adds a 14-case structural bats guard registered in lint.yml. Both cycle-1 blocking-state findings are now resolved: the delta commit (536757e..88e09e6, +3 lines) adds the requested negative assertions that cascade-action.md contains no 'gh pr view' / 'gh pr diff' commands, all five review threads are resolved, and CodeRabbit dismissed its CHANGES_REQUESTED review and APPROVED. No scripts or workflows beyond the lint.yml test registration are touched; no security-sensitive surface.

Linked issue analysis

Closes #1105. AC1 (both prompts consume pre-fed metadata/diff when vars set, files exist, and pr_head_sha stamp matches): met. AC2 (byte-identical fallback when flag off / files absent / stamp stale): met via the explicit Otherwise clause. AC3 (dynamic gh api / MCP / LSP steps retained — audit standards fetch, LSP verification, incremental compare, secret scan, linked-issue fetch): met and guarded by bats assertions. AC4 (cascade-action.md confirmed out of scope): met via doc note plus negative-assertion test added this cycle. AC5 (live smoke run with flag on): not evidenced in-PR; the test header documents the bats checks as offline structural guards and the prefetch flag is default-off, so this is a non-blocking follow-up — flagging for the epic's Story 6 A/B eval to confirm.

Findings

  1. [RESOLVED] Cycle-1 finding: cascade-action out-of-scope test passed on prose alone. Fixed at 88e09e6 — the test now also asserts cascade-action.md contains no 'gh pr view' / 'gh pr diff' commands (negative greps).
  2. [RESOLVED] Cycle-1 blocking state: CodeRabbit CHANGES_REQUESTED standing against the reviewed SHA. CodeRabbit has since dismissed that review and APPROVED (13:12:32Z); all 5 review threads (gemini, copilot x2, coderabbit x2) are resolved; reviewDecision is no longer CHANGES_REQUESTED.
  3. [NOTE] AC5 smoke run with the prefetch flag on remains unevidenced; acceptable given the flag is default-off and Story 6's eval covers systemic regressions.
  4. [NOTE] run_secret_scanning MCP tool unavailable in this session; gitleaks CI check is green and the diff (prompt prose + bats tests only) introduces no secrets or security anti-patterns.
    No new issues introduced by the delta commit.

CI status

All checks green at 88e09e6: Lint, shellcheck/ShellCheck, bats, unit-tests, CodeQL (actions+python), SonarCloud (Quality Gate passed), Secret scan (gitleaks), agent-shield, Agent Security Scan, holdout-guard, template-drift, gh-aw-compile, validate-agent-profiles, guard, CodeRabbit. Cancelled dev-lead dispatch / review entries are superseded relay runs with later SUCCESS for the same checks; dependency-audit jobs skipped (no matching ecosystems). mergeStateStatus BLOCKED only pending this required review.


Reviewed automatically by the PR-review agent (single-reviewer mode: fable 5). Reply if you need a human review.

@don-petry
don-petry merged commit ce03a98 into main Jul 10, 2026
31 of 40 checks passed
@don-petry
don-petry deleted the dev-lead/issue-1105-20260710-1251 branch July 10, 2026 15:10
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.

[Phase 2] Rewire the security-audit + single-review tier prompts to consume pre-fed context

3 participants