feat: add generic explore agent#11
Conversation
Platform-aware pre/post scripts support GitHub and Jira, with optional pipeline labels via env vars. Includes public-research and jira-read skills for downstream customization via harness base: composition. Signed-off-by: Adam Scerra <ascerra@redhat.com> Co-authored-by: Cursor <cursoragent@cursor.com> Signed-off-by: Adam Scerra <ascerra@redhat.com> Co-authored-by: Cursor <cursoragent@cursor.com>
PR Summary by QodoAdd generic explore agent for issue research (GitHub/Jira)
AI Description
Diagram
High-Level Assessment
Files changed (12)
|
|
🤖 Finished Review · ✅ Success · Started 8:29 PM UTC · Completed 8:39 PM UTC |
Code Review by Qodo
1.
|
ReviewVerdict: approve All 14 findings from the prior review have been addressed in commit db4947e. The fixes are clean and complete:
Re-review assessmentSix review dimensions were evaluated against the current HEAD:
The code is clean, well-organized, and ready to merge.
Previous runReviewVerdict: request-changes This PR adds a well-structured exploration agent that follows the existing triage agent's architecture. The credential isolation (keeping Jira/GitHub tokens out of the sandbox), input validation, and repo cloning safeguards are well done. However, there are several issues that should be addressed before merging — one logic error that silently breaks gap reporting in posted comments, schema/prompt mismatches that will cause downstream confusion, and security defense-in-depth gaps. FindingsHigh
Medium
Labels: PR adds a new explore agent with harness, scripts, schema, and skills. |
Align schema with prompt (draft 2020-12, impact_radius, maxLength 1000), fix gap dimension extraction, harden Jira/GitHub label and host handling, and add user docs plus security defense-in-depth fixes from review bots. Signed-off-by: Adam Scerra <ascerra@redhat.com> Co-authored-by: Cursor <cursoragent@cursor.com>
|
Additional review items from the summary (no inline thread) addressed in
All 14 inline review threads have individual replies explaining the fix. |
|
🤖 Finished Review · ✅ Success · Started 8:48 PM UTC · Completed 9:00 PM UTC |
Summary
ISSUE_SOURCE)EXPLORE_READY_LABEL/EXPLORE_NEEDS_INFO_LABELenv vars (no hardcoded refinement labels)public-researchandjira-readskills for downstream customization via harnessbase:compositionFiles added
agents/explore.mdharness/explore.yamlpolicies/explore.yamlschemas/explore-result.schema.jsonscripts/pre-explore.shscripts/post-explore.shscripts/comment-helpers.shscripts/adf-to-markdown.py,markdown-to-adf.pyskills/public-research,skills/jira-readSecurity review
ISSUE_SOURCE,ISSUE_KEY,REPO_FULL_NAME, and pipeline label namesfullsend scanruns before posting commentsCode review fixes applied
REFERENCED_REPOS_DIRto sandbox viaenv/explore.envREPO_FULL_NAMEformat in pre-scriptGITHUB_ISSUE_NUMBERfrom pre-script for GitHub runsFollow-up (separate PRs)
base:URL +jira-routingskill + Konflux pipeline labelsTest plan
fullsend agent addMade with Cursor