fix(review): agent tool invocation is fundamentally wrong#114
fix(review): agent tool invocation is fundamentally wrong#114ben-alkov wants to merge 2 commits into
Conversation
|
🤖 Review · |
PR Summary by QodoFix review sub-agent invocation docs and enforce read-only review harness
AI Description
Diagram
High-Level Assessment
Files changed (10)
|
Code Review by Qodo
Context used✅ Compliance rules (platform):
55 rules 1.
|
There is no such thing as "subagent_type" or "run_in_background" - both are hallucinated fields. Subagent restriction is via tools/disallowedTools, and permissionMode: dontAsk blocks actions that would normally require approval. Assisted-by: Claude Code (Sonnet 5) Signed-off-by: Ben Alkov <ben.alkov@redhat.com>
Review agents should not modify the target repository. Assisted-by: Claude Code (Sonnet 5) Signed-off-by: Ben Alkov <ben.alkov@redhat.com>
|
🤖 Finished Review · ✅ Success · Started 7:32 PM UTC · Completed 7:52 PM UTC |
ReviewFindingsHigh
Low
|
|
@rh-hemartin; It's like déjà vu all over again 😁. Same diff as fullsend-ai/fullsend/pull/2098 |
Summary
Copies the scaffold-file portion of fullsend-ai/fullsend#2098 into this repo, at the paths that resulted from last week's split (
internal/scaffold/fullsend-repo/**→ repo root).subagent_typeandrun_in_backgroundwere hallucinated fields — there's no such thing. Subagent restriction is viatools/disallowedTools;permissionMode: dontAskblocks actions that would normally require approval.readonly_repo: truetoharness/review.yaml.The Go engine changes from the source PR (
internal/cli/run.go,internal/harness/harness.go) that implementreadonly_repoenforcement stay infullsend-ai/fullsend— there's no Go code in this repo, and that PR remains open there for those changes.harness/review.yamldiverged fromfullsend-ai/fullsend's copy since the split (now usesforge.githubblocks), so thereadonly_repo: trueline was added by hand rather than via patch; content is equivalent.Test plan
readonly_repo: trueis picked up correctly once fix(agents): There are no subagent "types"; they don't compose fullsend#2098's engine changes mergetools,permissionMode,background) matches current Claude Code docs