Skip to content

[Workstream F] PR 13 of 21: Wire issue-tracer v3 receipts and prove issue ingestion reaches a durable plan #2564

Description

@zaxbysauce

Roadmap: F13 · Workstream F: User workflows, host support and configuration
Sequence: PR 13 of 21 (tracking slot; dependencies define execution order)
Roadmap rebaseline: 2026-09-05

The existing scope below remains required. Historical source/validation notes are context, not fresh execution evidence; the 2026-09-05 requirements refine the current closure contract.

Summary

Follow-up to #2563 (issue-tracer v3). The v3 protocol adds gates that are currently enforced only by scripts/trace-check.sh and by convention in the trace ledger. The plugin-side reducer (src/hooks/issue-trace-reducer.ts) and record-recurrence-sweep do not yet record receipts for them.

Scope

  • Phase 0 branch-freshness receipt (fetch result or fail-closed override string).
  • trace-check.sh validator receipts per phase (pass/fail, reviewed-commit, tree-id).
  • Widened recurrence sweep receipt (Phase 1 related-problems sweep results).
  • Merge-approval receipt bound to the PR head (10b-merge-approval.md), recorded but never certified by the plugin.

Constraints

  • Must follow the "never defer work / never ship unwired code" directives: reducer transition, status enum, tool map, docs, and tests wired in one change.
  • Keep the repo model-agnostic; no runner routing in the reducer.

Related: #2563

2026-09-05 required additions and corrections

  • Prove each v3 receipt has a producer, exact current phase/head/run consumer and registered tool/status/docs path; declarations alone are not execution evidence.
  • Include a normal issue-ingestion journey: issue input -> research/knowledge/scope gates -> durable plan with acceptance criteria, files and requirement references -> interruption/resume or truthful cancellation. Verify the actionable next step at each gate.
  • [Workstream D] PR 09 of 17: Recover complete plans from the ledger and preserve valid U+FFFD text #2531 owns the plan recovery defect. Coordinate focused ingestion validation with it, without making unrelated PR-review features prerequisites. Keep merge approval recorded but never certified by the plugin, and preserve model-agnostic runtime rules.

Execution and closure contract

Treat PR n of total as a stable tracking slot, not merge order. The explicit dependencies govern execution; focused implementation issues supply evidence to later qualification issues without depending on those later issues closing. Re-anchor source and active-PR overlap before implementation. Close only the fully satisfied scope: wired production callers, meaningful focused validation and documented outcomes, with no silent deferral. For user-visible code changes, include the repository-required pending release fragment and invariant audit; no version/changelog hand edits. Verification-only residuals may close with concrete current evidence rather than an unnecessary code patch.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions