Repository navigation
Conversation
Signed-off-by: eshulman2 <ellashulman1@gmail.com>
Signed-off-by: eshulman2 <ellashulman1@gmail.com>
E2E tests did not runE2E tests run automatically for pull requests authored by users with write access or higher. For other contributors, someone with write access must add the Reason: See E2E testing guide for details. |
Code Review by Qodo🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)
Great, no issues found!Qodo reviewed your code and found no material issues that require reviewTip of the day💡 Did you know, you can move or hide resolved findings to focus on what still needs action |
PR Summary by QodoDocument recoverable multi-target execution and strict Pi tool access
AI Description
Diagram
High-Level Assessment
Files changed (10)
|
Summary
Branch-specific assessment workers need to survive host loss and publish investigation work after an inconclusive or failed check. Today a Pi extension can load while its declared native tool is dropped by strict tool translation, and existing poll/concurrency state does not reserve an operation across dispatch, execution and publication.
This design-only PR records three focused decisions needed by that consumer: repository-owned operation journals (ADR 0165), exact selection of vetted Pi extension tools (ADR 0166), and authorized multi-target execution plans (ADR 0167). Each ADR records one decision. Implementation remains separate.
Related Issue
Replaces #9252 with a new PR whose diff contains all three ADRs, including ADR 0167 and the linked architecture updates.
Implementation follow-ups: #9253 (operation journal and recovery), #9254 (exact native Pi extension tools), and #9260 (authorized multi-target execution).
Follows the existing plugin boundary in ADR 0094, per-subject serialization in ADR 0106 and shared poll state in ADR 0132. Related work: #8225 / #8226 / #8228 for runtime-workflow packaging and launch; #9179 for MCP tool selection and child permission intersection. This PR does not replace those changes.
Changes
The recovery contract covers GitHub, GitLab and Forgejo, with each backend disabled until it demonstrates conformance. Jira issue properties cannot substitute for conditional journal updates. Native Pi tool selection is forge-neutral.
Current-behavior evidence
Inspected baseline:
96e0c43384dfbd1d57b80711ff75a3b74b753156.piToolsFor: translates the known built-ins and drops otherwise unsupported exact tool names.PiRuntime.Bootstrap: uploads vetted harness Pi extensions separately from tool translation.fullsend-hooks.js: already preserves an extension's native name when no built-in hook mapping exists.jirapoll.Run: documents the downstream scheduling-acknowledgement gap on the shell dispatch path; the output-driver path still allows duplicate accepted dispatches after partial failure.poll/state.go: existing signed CAS poll state is credited as precedent, not treated as an operation reservation or publication journal.internal/cli/run.go: validation and post-script handling belong to one invocation; this decision adds cross-invocation receipts rather than claiming those hooks are absent.Additional dispatch evidence at baseline
7455751ecb9446953527dbf73b4e379ea5442cb0:harnessdispatch.Dispatchenumerates matching harnesses for an authorized event.ExecutionRefand execution projection carry individual execution records; projection derives their input from that event.WriteGHAMatrixemits execution rows; it does not itself define a frozen authorized target set or a collection barrier.Testing
make lintpasses, including ADR status/number/frontmatter checks, offline Markdown links, secret scanning and the pinned Semgrep scan.git diff --checkpasses.Checklist
Prepared with coding-agent assistance; the contributor can assess the personal-authorship attestation above.