Repository navigation
Description
Design PR: #9266
Objective
Validate the tracker-first route in ADR 0167: a trusted workflow adapter creates/reuses one investigation ticket per authorized maintained branch, then schedules ordinary single-target Fullsend triage. Applicability starts unknown; no pre-tracker assessment or native multi-target runner API is required.
Domain mapping, the target manifest, Jira rendering and aggregate coordination belong to the consumer workflow adapter rather than new CVE-specific runner code. This issue tracks the integration boundary and acceptance evidence; raise a focused platform change only when an existing single-target extension point is demonstrably insufficient.
Required integration
- Resolve a bounded required-target manifest from reviewed mappings. Persist manifest/source/policy identities and work bounds through the recovery journal in Implement repository-owned operation journals for recoverable work #9253. Discovery cannot authorize execution or publication.
- Recheck disclosure and target/action permissions before creating/reusing a Jira investigation tracker. Use stable case/target identity; a new source SHA identifies an attempt, not a new ticket. Create/reuse precedes applicability assessment, including branches later found not affected.
- Populate supported trusted single-target intake and schedule triage through an authorized existing path. Do not fabricate a human event or slash command to bypass actor minimums. If no supported path can authorize the run, retain pending authorization visibly.
- Verify actual origin, branch and immutable source revision before every assessment. Release targets cannot silently use main. Retain independent checkouts, contexts, artifacts and current triage receipts.
- Reuse per-tracker concurrency controls while enforcing case-wide bounds over scheduled/running attempts until termination is reconciled.
- Retain independent ticket-publication, dispatch and triage receipts. Use Implement repository-owned operation journals for recoverable work #9253's ownership, duplicate prevention and ambiguous-write reconciliation; a search returning no result cannot justify blindly repeating a create.
- Keep failure evidence and uncertain/failed outcomes on the existing branch ticket for retry or human action. Neither the failure nor ticket existence is an affected verdict, coding permission or case-completion signal.
- Reuse trackers after source changes, invalidate stale assessments, reopen accounting for new required branches and preserve consumed work bounds. Blocked, unmapped, unscheduled and exhausted targets remain visible.
Acceptance
Demonstrate a real isolated Jira create/reuse before assessment, exact source binding in an authorized Fullsend single-target triage run, and independent target tickets sharing one originating case. Inject Jira success with lost acknowledgement, dispatch failure, uncertain results and worker loss; recover without duplicate tickets or false applicability claims. Add a branch and supersede source/policy while an old run is active; reject stale new actions and keep complete accounting.
Publication and recovery are required for the initial deployment, not deferred optional work. Strict Pi tool integration is tracked in #9254. No automatic coding, merge or issue closure is introduced.
Forge scope
The initial tracker adapter is Jira. Enable GitHub, GitLab or Forgejo source execution only when that existing path verifies the target and its authorization; explicitly block unsupported combinations. A Jira ticket cannot grant source-repository access.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsIn progress
Activity
[-]Implement authorized multi-target execution plans[/-][+]Validate tracker-first dispatch through single-target triage[/+]