Skip to content

feat(security-issue-sync): add release-manager-wrap-up comment template - #224

Merged
potiuk merged 1 commit into
apache:mainfrom
potiuk:sync-rm-wrap-up-comment-template
May 18, 2026
Merged

potiuk merged 1 commit into
apache:mainfrom
potiuk:sync-rm-wrap-up-comment-template

Conversation

@potiuk

@potiuk potiuk commented May 18, 2026

Copy link
Copy Markdown
Member

Summary

Add tools/vulnogram/release-manager-wrap-up-comment.md — the template security-issue-sync posts AFTER the tracker has been auto-closed at the end of the post-advisory lifecycle close-out.

By the time this comment fires, the sync's combined apply has already done all of:

  • Captured the archive URL from <users-list>.
  • Extracted the public short summary from the advisory email into the Short public summary for publish body field.
  • Flipped labels (fix released → announced - emails sent + announced).
  • Regenerated + re-pushed the CVE JSON.
  • Moved the Vulnogram record REVIEW → PUBLIC via the new vulnogram-api-record-publish CLI (feat(vulnogram-api): add vulnogram-api-record-publish CLI (REVIEW → PUBLIC over API) #223).
  • Moved the project board to the Announced column.
  • Closed the tracker as completed.

The wrap-up comment is the tiny ping to the RM with two residual manual steps:

  1. Archive the closed tracker from the Announced column.
  2. (Conditional, last-sibling case only) Close the milestone via the clickable URL the skill substitutes into MILESTONE_BULLET. In the more common "other siblings still open" case the bullet resolves to an empty string; the milestone close happens when the last sibling tracker reaches the same step.

Marker + idempotency

Marker on line 76: <!-- apache-steward: release-manager-wrap-up v1 -->. Sync uses this for idempotency — the tracker is closed by the time this comment posts; re-posting on a re-sync would just be noise.

Relationship to the rest of the arc

  • #222 — convention update. Describes when this comment fires (the Advisory archived on <users-list> row of Step 2b).
  • #223 — vulnogram-api-record-publish CLI. The tool that flips REVIEW → PUBLIC, referenced from the template.
  • This PR — the wrap-up template that the post-publish comment uses.
  • Follow-up — SKILL.md Step 4 hookup: the apply-side text that actually composes the placeholders and posts the comment.

Test plan

  • Doc-only template; existing pre-commit (link-check, TOC, markdown-lint, skill-validate) passes.
  • Future sync-skill PR will reference this template by path; this PR is a no-op until that lands.

… hand-off

Add `tools/vulnogram/release-manager-wrap-up-comment.md` — the
template `security-issue-sync` posts AFTER the tracker has been
auto-closed at the end of the post-advisory lifecycle close-out
(the combined apply on the `Advisory archived on <users-list>`
row of Step 2b).

By the time this comment posts, sync has already done all of:
captured the archive URL, extracted the public short summary into
the body, flipped labels (`fix released → announced - emails sent`
+ `announced`), regenerated and re-pushed the JSON, moved the
Vulnogram record `REVIEW → PUBLIC` via the new
`vulnogram-api-record-publish` CLI (apache#223), moved the board to the
`Announced` column, and closed the tracker. The wrap-up comment is
informational + a tiny ping to the RM with two residual manual
steps:

  1. Archive the closed tracker from the `Announced` column.
  2. (Conditional, last-sibling case only) Close the milestone via
     the clickable URL the skill substitutes into MILESTONE_BULLET.
     In the more common "other siblings still open" case the bullet
     resolves to an empty string and the milestone close happens
     when the *last* sibling tracker reaches the same step.

Marker: `<!-- apache-steward: release-manager-wrap-up v1 -->` —
sync uses this for idempotency (the tracker is closed by the time
this comment posts; re-posting on a re-sync would just be noise).

Companion to apache#222 (convention update — describes when this comment
fires) and apache#223 (`vulnogram-api-record-publish` — the tool that
flips REVIEW → PUBLIC, referenced from the template). The
SKILL.md Step 4 hookup (the apply-side code that actually composes
the placeholders and posts the comment) lands in a follow-up PR
once the agent-procedure for the combined apply is wired through.
@potiuk
potiuk merged commit 7b53f74 into apache:main May 18, 2026
13 checks passed
potiuk added a commit that referenced this pull request May 18, 2026
#225)

Complete the post-advisory close-out chain by adding three new
action bullets to Step 4 (Apply confirmed changes):

  1. Vulnogram state transition (REVIEW → PUBLIC) via the
     `vulnogram-api-record-publish` CLI from #223. Locked to the
     "Advisory archived on <users-list>" combined-apply trigger;
     idempotent on already-PUBLIC records.

  2. Advisory short-summary extraction. Fetches the archived
     advisory email body from lists.apache.org, extracts the prose
     block between the CVE header and the affected-version-range
     block, surfaces in the Step 2 proposal so the user can spot
     misextraction before the body-field update applies. Lands the
     summary into the *Short public summary for publish* body
     field BEFORE the Step 5 JSON regen so the re-pushed JSON
     carries the published summary verbatim.

  3. Wrap-up comment (post-close) using the
     `release-manager-wrap-up-comment.md` template from #224.
     Posts after the tracker close succeeds. The conditional
     `MILESTONE_BULLET` placeholder is resolved by a sibling-state
     check: if every milestone-sibling is closed at this moment,
     substitute the close-milestone link; otherwise substitute an
     empty bullet (the milestone close happens when the last
     sibling tracker reaches this same step). Idempotent via the
     `<!-- apache-steward: release-manager-wrap-up v1 -->` marker.

The orchestration (which action fires in which order) is already
documented in #222 on the Step 2b "Advisory archived" row; this PR
provides the concrete per-action recipes that the agent reads when
executing that combined apply.

Closes the upstream side of the no-uv-run-for-RM + sync-drives-
lifecycle-close-out arc:

  - #222: convention + handoff templates
  - #223: vulnogram-api-record-publish CLI
  - #224: wrap-up comment template
  - this PR: Step 4 action recipes that wire it all together
@potiuk potiuk added the contract:cve-authority Tool capability: CVE allocation / record management / publication label Sep 25, 2026
@potiuk potiuk added the family:tools tools/* label Nov 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contract:cve-authority Tool capability: CVE allocation / record management / publication family:tools tools/*

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant