Skip to content

perf(security-import): move the tracker body templates into siblings - #1499

Merged
potiuk merged 1 commit into
apache:mainfrom
potiuk:perf/security-import-template-split
Oct 3, 2026
Merged

potiuk merged 1 commit into
apache:mainfrom
potiuk:perf/security-import-template-split

Conversation

@potiuk

@potiuk potiuk commented Oct 3, 2026

Copy link
Copy Markdown
Member

Moves the tracker issue-body templates of security-issue-import-from-md and security-issue-import-from-pr into a tracker-body-template.md sibling each (#1344 follow-up).

Summary

  • Each heredoc block moves byte-identically (checked with cmp) and is linked from the step that writes the body.
  • import-from-md is also rewrapped to one sentence per line in Steps 3 and 5, with no word changes. That brings it under the 500-line P15 cap (575 → 494). import-from-pr goes 679 → 629. Getting it under the cap would mean splitting whole steps out, which adds pointer clutter and saves no tokens, since every run reads those steps.
  • surface_hash moves for both skills. No heading outside the templates changed, but the hash also counts the issue-body ### lines inside the heredoc. Adopters' pre-flight will flag these two skills for reconciliation once.

Test plan

  • prek hooks on commit (surface hash and token stamps updated)
  • No eval-extracted section changed. from-md evals extract Steps 1, 2, 4 and 6; from-pr evals extract Steps 2, 3, 6 and 8.

🤖 Generated with Claude Code

security-issue-import-from-md and -from-pr each carried their issue
body heredoc inline. Move each block byte-identically into a
tracker-body-template.md sibling, linked from the step that writes
the body. No heading outside the templates changes. surface_hash still moves, because
the hash counts the issue-body headings inside the heredoc.

import-from-md is also rewrapped to one sentence per line in Steps 3
and 5, with no word changes, bringing it under the 500-line cap
(575 -> 494). import-from-pr goes 679 -> 629.

Generated-by: Claude Opus 5
@potiuk
potiuk merged commit 6c9ae42 into apache:main Oct 3, 2026
10 checks passed
@potiuk potiuk added capability:intake Import external signal + sync tracker state family:security security-* skills labels Oct 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

capability:intake Import external signal + sync tracker state family:security security-* skills

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant