Commit d0bdab6
fix(review_prs): cite the real pr_review system-prompt binding, not loader.py (review)
The Execution-context section credited `agent/src/workflow/loader.py` with
binding the `pr_review` system prompt, but loader.py has no prompt logic — its
`coding/pr-review-v1 → pr_review` entry is the Cedar *principal* (an
audit/identity tag; read-only enforcement keys off `context.read_only` since
#248 Phase 2a, per the file's own comment). The real system-prompt binding is
`PR_REVIEW_WORKFLOW` in `agent/src/prompts/pr_review.py`, selected by
`get_system_prompt` in `agent/src/prompts/__init__.py:28`.
The claim's conclusion (no slash-command path into the headless review workflow)
was correct, but the cited file would mislead a maintainer who opened loader.py
to verify it — the same trust-eroding mis-citation class as the earlier
allow-list/deny-list mix-up. Now attributes the prompt to the right files and
notes loader.py's entry is the principal tag.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 8b5a52c commit d0bdab6
1 file changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
51 | | - | |
52 | | - | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
53 | 55 | | |
54 | 56 | | |
55 | 57 | | |
| |||
0 commit comments