fix(standards-sync): satisfy pr-issue-linkage in generated sync PR body - #146
Conversation
Generated sync PR bodies fail the pr-issue-linkage gate: no closing keyword or opt-out marker, and no "## Related" section. Emit the literal "No linked issue" opt-out (sync PRs close nothing) and a "## Related" section linking the distributed standards source commit. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YZxBP1B8Hf7ZRaqDrP6ma9
|
Claude finished @kyle-sexton's task in 1m 32s —— View job PR Review
Summary: This PR adds two things to the generated sync PR body in CorrectnessThe two added lines precisely satisfy the two gates in
The generated PR body will render as: The blank-line spacing around the new content is correct Markdown: double newline before Shell/printf hygiene
Security
Minor observation — commit link appears twice in the bodyThe intro sentence already names and links the source commit ( Alignment with CLAUDE.mdNo workflow trigger types, permission blocks, or SHA pins were modified. The change is contained entirely within a Verdict: looks good. The fix is minimal, correctly targeted, and passes both pr-issue-linkage gate conditions. |
#201) ## What Register `standards-sync.yml@0b45b9f` in the runner policy (contract body copied from the reviewed `ec91c343` entry), record the lockstep provenance note, and move `sync.yml`'s pin to it. ## Why The sync wave still ran `standards-sync@ec91c34`, which predates the PR-body template fix — every distributed sync PR failed its target's pr-issue-linkage gate and needed a hand-patched body (dotfiles#225, provisioning#175, claude-code-plugins#345 this wave). The `ec91c343..0b45b9f` diff for the reusable is confined to the body heredoc: it adds the "No linked issue" sentence and a `## Related` section (melodic-software/ci-workflows#146); inputs, secrets, permissions, and routing are unchanged. ## Verification 224/224 runner-policy component tests pass; the policy engine passes with public visibility evidence; actionlint clean on sync.yml; markdownlint + biome + lefthook gauntlet green. ## Related No linked issue. melodic-software/ci-workflows#146 (template fix), #200 (public posture this builds on). 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01YZxBP1B8Hf7ZRaqDrP6ma9 Co-authored-by: Claude Fable 5 (1M context) <noreply@anthropic.com>
Generated standards-sync PR bodies fail the
pr-issue-linkagegate in every target repo: no closing keyword or opt-out marker, and no## Relatedsection. This adds both to the body template — the literal "No linked issue" opt-out (sync PRs close nothing) and a## Relatedsection linking the distributed standards source commit.No linked issue.
Related
🤖 Generated with Claude Code
https://claude.ai/code/session_01YZxBP1B8Hf7ZRaqDrP6ma9