Repository navigation
Closed
Labels
capability:resolveClose-out: invalidate, dedupe, CVE allocate, announcementClose-out: invalidate, dedupe, CVE allocate, announcementcapability:statsRead-only dashboards, metrics, governance evidenceRead-only dashboards, metrics, governance evidencecapability:triageSweep + classify + propose dispositionSweep + classify + propose dispositionenhancementNew feature or requestNew feature or requestfamily:ci.github workflows, prek, validators.github workflows, prek, validatorsfamily:docsDocs, MISSION.md, READMEsDocs, MISSION.md, READMEsfamily:release-managementrelease-* skillsrelease-* skillsfamily:setupsetup-* skillssetup-* skillsfamily:toolstools/*tools/*kind:perfToken / latency / API-call budgetToken / latency / API-call budgetsubstrate:framework-devTool substrate: build / validate / eval the framework itselfTool substrate: build / validate / eval the framework itselfsubstrate:releaseTool substrate: release-artefact helpers (reproducible archive build, lint, comparison)Tool substrate: release-artefact helpers (reproducible archive build, lint, comparison)substrate:sandboxTool substrate: agent isolation, egress control, settings auditTool substrate: agent isolation, egress control, settings audit
Description
Part of #1342 — apply the setup-family optimization recipe to the release-management family.
10 skills, 73,971 body tokens in total; 4 over the 200-token always-on budget, 8 over the 5,000-token body budget.
| skill | body tokens (budget 5,000) | always-on tokens, est. (budget 200) | lines (cap 500) |
|---|---|---|---|
release-rc-cut |
11,865 ⚠ | ~274 ⚠ | 931 ⚠ |
release-prepare |
10,908 ⚠ | ~400 ⚠ | 991 ⚠ |
release-verify-rc |
10,802 ⚠ | ~323 ⚠ | 967 ⚠ |
release-keys-sync |
4,868 | ~204 ⚠ | 438 |
release-promote |
6,968 ⚠ | ~180 | 560 ⚠ |
release-vote-draft |
6,745 ⚠ | ~169 | 572 ⚠ |
release-announce-draft |
5,976 ⚠ | ~188 | 534 ⚠ |
release-audit-report |
5,697 ⚠ | ~164 | 518 ⚠ |
release-vote-tally |
5,617 ⚠ | ~182 | 557 ⚠ |
release-archive-sweep |
4,525 | ~183 | 429 |
Body tokens are from docs/mode-economics.md; always-on figures are a chars ÷ 4 estimate of description + when_to_use. ⚠ marks a budget exceeded. Line counts include the generated pre-flight block.
Order of work (per the umbrella):
- Trim the frontmatter of every skill marked ⚠ in the always-on column.
- Split any over-cap body, moving sub-action-specific rules into sibling files byte-for-byte.
- Wording pass on the rest, with headings, golden-rule headlines, code blocks and the pre-flight block kept byte-identical.
- Run each touched skill's eval suite before and after, outside the sandbox.
Record any inconsistencies found but not fixed (eval-coupled wording, stale headings) in the PR description.
Metadata
Metadata
Assignees
Labels
capability:resolveClose-out: invalidate, dedupe, CVE allocate, announcementClose-out: invalidate, dedupe, CVE allocate, announcementcapability:statsRead-only dashboards, metrics, governance evidenceRead-only dashboards, metrics, governance evidencecapability:triageSweep + classify + propose dispositionSweep + classify + propose dispositionenhancementNew feature or requestNew feature or requestfamily:ci.github workflows, prek, validators.github workflows, prek, validatorsfamily:docsDocs, MISSION.md, READMEsDocs, MISSION.md, READMEsfamily:release-managementrelease-* skillsrelease-* skillsfamily:setupsetup-* skillssetup-* skillsfamily:toolstools/*tools/*kind:perfToken / latency / API-call budgetToken / latency / API-call budgetsubstrate:framework-devTool substrate: build / validate / eval the framework itselfTool substrate: build / validate / eval the framework itselfsubstrate:releaseTool substrate: release-artefact helpers (reproducible archive build, lint, comparison)Tool substrate: release-artefact helpers (reproducible archive build, lint, comparison)substrate:sandboxTool substrate: agent isolation, egress control, settings auditTool substrate: agent isolation, egress control, settings audit
Activity
potiuk commentedon Oct 5, 2026
The release-management optimisation is complete.
Savings
Measured across all 10 release skills, from before the first PR to
mainwith every pass merged:SKILL.mdbodies, read on every run (measured_tokens)release-preparerun (SKILL.md+ the sub-command it executes)docs/setup/marketplace.md)The split and the description pass cut most of the cost. The wording pass saved little, because the extraction and the split had already made the skills lean.
What was done
tools/release-confighandles config loading and every skill's Step 0 checks (perf(release-management): one tool for config loading and pre-flight checks #1510);tools/release-verifyhandles verify-rc's signature, checksum, binary, symlink and version checks and the verdict (perf(release-verify-rc): move the deterministic checks into tools/release-verify #1511);These save few tokens; their value is that the checks are deterministic and tested. The skills had disagreed on several rules, and each is now settled to one rule, as the maintainer decided:
rc1;non_asfis derived fromorganization:;[VOTE]expedited reason keeps CVE IDs out until the advisory ships (fix(release-vote-draft): keep CVE IDs and security framing out of the expedited reason #1509);release-rc-cutmakes its two GitHub calls through vetted operations (fix(release-rc-cut): route its two GitHub calls through vetted operations #1518).Still over the 500-line cap:
release-rc-cut,-verify-rc,-announce-draft,-vote-draftand-audit-report. What remains in them is used on every run, so splitting further would save no tokens.