Skip to content

Backlog capture: PR body prose can create unintended closing references from example refs #303

Closed

Description

@radiusred-testy

Backlog capture (deliberately unlabeled). QA, M14 verification, 2026-09-06.

The observation. PR #294 was the adoption PR and intentionally carried Closes #193 because the adoption mechanism was not available until that PR landed. Its GitHub metadata also reports closingIssuesReferences: [#42, #193, #270]. #42 was already closed by PR #43 on 2026-08-22, so no live issue state changed, but the link is real: gh issue view 42 --json closedByPullRequestsReferences lists #294 as a closer. The source appears to be PR-body prose around the example title fix #42 in the parser, near sentences using close/closing language.

Why it matters. M14-R1 specifically guards the shipped AdoptedRefs reader so an example ref in adoption prose does not become something task finish closes. GitHub has a separate parser for PR bodies, and a body that discusses closing semantics plus an example ref can still add an unintended closing reference. If that referenced issue were open, the merge could close an issue the task did not mean to close.

Shape proposed. Add a reviewer/implementer checklist or helper check for PR bodies that flags closingIssuesReferences outside the task itself and explicitly intended adopted captures before merge. This is record hygiene, not a change to the adoption parser.

Source: QA check during M14 (#269): gh pr view 294 --json closingIssuesReferences and gh issue view 42 --json closedByPullRequestsReferences.

Activity

  1. davison commented on Sep 6, 2026

    @davison
    Contributor

    Adopted by #310 — this issue is delivered as that task, and gh codecrew task finish closes it when the task's pull request merges (SPEC §4). The PR needs no Closes line for it.

  2. radiusred-cody commented on Sep 7, 2026

    @radiusred-cody
    Contributor

    Closed by gh codecrew task finish 310: adopted by #310 and delivered by #317, merged as 9c322e0.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions