Repository navigation
Conversation
Signed-off-by: eshulman2 <ellashulman1@gmail.com>
|
Thank you for your interest in contributing to fullsend, @eshulman2. This project uses a vouch system for first-time contributors. Before submitting a pull request, you need to be vouched by a maintainer. To get vouched:
See CONTRIBUTING.md for details. |
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. |
PR Summary by QodoDefine durable work recovery and strict Pi extension tool selection
AI Description
Diagram
High-Level Assessment
Files changed (9)
|
Code Review by Qodo
1. Living-doc edits reach documents outside the ADR's problem areas
|
| Recovering scheduling ownership and ambiguous external writes is a separate | ||
| mechanical problem; see [durable work recovery](durable-work-recovery.md). | ||
| Its operation journal retains attempts and work bounds without deciding | ||
| whether another model approach is likely to succeed. |
There was a problem hiding this comment.
1. Living-doc edits reach documents outside the adr's problem areas 📜 Skill insight ≡ Correctness
The PR adds durable-work-recovery backlink paragraphs to docs/problems/cross-run-memory.md and docs/problems/operational-observability.md, but neither file is in ADR 0165's relates_to list (durable-work-recovery, agent-architecture, agent-infrastructure). The rule asks that living-document changes stay within the ADR's problem areas, and these two additions are cross-links to the new durable-work-recovery doc rather than edits to a relates_to area. A reviewer reading ADR 0165 alone would not expect these two files to change, so the decision's scope becomes harder to audit.
Agent Prompt
## Issue description
The PR edits `docs/problems/cross-run-memory.md` and `docs/problems/operational-observability.md` alongside ADR 0165, but neither document is in the ADR's `relates_to` list, so the living-document changes exceed the ADR's declared problem areas.
## Fix Focus Areas
- docs/problems/cross-run-memory.md[89-92]
- docs/problems/operational-observability.md[50-53]
- docs/ADRs/0165-recover-work-through-repository-owned-operation-journals.md[1-10]
## Recommended Fix
Either add `cross-run-memory` and `operational-observability` to ADR 0165's `relates_to` if the cross-links are intended, or remove those two backlink paragraphs from this PR and keep the ADR's living-document edits to `architecture.md`, `agent-architecture.md` and `agent-infrastructure.md`.
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools
| through trusted harness resources. The Pi runner translates built-in agent | ||
| tool names, but drops other declared names. An extension can therefore load | ||
| while its tool cannot be selected by a strict agent allowlist. |
There was a problem hiding this comment.
2. Adr does not link the pi tool-dropping behavior it describes 📜 Skill insight ⚙ Maintainability
The Context section of ADR 0166 states as current behavior that the Pi runner drops declared extension tool names, so an extension can load while its tool cannot be selected. The paragraph links ADR 0094 and #9179, but neither introduces the translation behavior: ADR 0094 covers extension admission and #9179 covers MCP patterns. A reader cannot trace when or why the dropping behavior was introduced, and the PR description's pinned-commit evidence does not substitute for that provenance link in the ADR itself.
Agent Prompt
Issue description
ADR 0166 Context states that the Pi runner drops declared extension tool names, but it links only ADR 0094 and #9179, neither of which introduces that translation behavior. Current-behavior descriptions need a link to the PR, issue or ADR that introduced them.
Fix Focus Areas
- docs/ADRs/0166-select-pi-extension-tools-without-widening-access.md[23-29]
Recommended Fix
Identify the PR, issue or ADR that introduced `piToolsFor` dropping unmapped exact tool names, and add that link to the Context paragraph next to the current-behavior sentence. If no such record exists, state that explicitly in the ADR so the provenance gap is visible.
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools
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.
The updated design branch 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
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.