fix: include project instructions in /review subagent (#8899)
Include project-level AGENTS.md and skills in /review sessions so the review sub-agent uses the same instruction pipeline as standard runs, keeping reviewer context aligned with normal sessions.
This commit is contained in:
parent
5b022c2904
commit
be212db0c8
1 changed files with 0 additions and 4 deletions
|
|
@ -83,10 +83,6 @@ async fn start_review_conversation(
|
|||
) -> Option<async_channel::Receiver<Event>> {
|
||||
let config = ctx.client.config();
|
||||
let mut sub_agent_config = config.as_ref().clone();
|
||||
// Run with only reviewer rubric — drop outer user_instructions
|
||||
sub_agent_config.user_instructions = None;
|
||||
// Avoid loading project docs; reviewer only needs findings
|
||||
sub_agent_config.project_doc_max_bytes = 0;
|
||||
// Carry over review-only feature restrictions so the delegate cannot
|
||||
// re-enable blocked tools (web search, view image).
|
||||
sub_agent_config
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue