Queue controls tab and override, running tasks on the board, stale task prune, release cut, greyed card stamp, commit-tree diff, VS Code path links, expired cards, Match refresh hourglass, field attachments, self-tuning queue admission and the limits board. 🎯 Fix: 95 % 💥 Break: 1 % 💸 Tokens: – ⏱️ Velocity: – 🛡️ Security: 100 % 🏆 Score: 94 🚦 Gate: ✅ 90/5, tokens and velocity <= 100, security 100 % Created-with: https://s.veen.world/skills Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
5.7 KiB
5.7 KiB
076 - Release Cut
User Story
As the operator, I want one skill that audits a release range, writes the changelog and hands me the signed release, so that nothing ships unaudited and a release costs me one passkey click.
Decisions (operator-confirmed 2026-11-27; do not re-litigate)
- Name and reach (operator):
kvb-release-cut, besidekvb-release(the announcement),kvb-release-changelogand the otherkvb-release-*skills; it goes through to the signed release row. Rejected:kvb-code-release(a release is no code edit and would split the family); stopping at the message. - Audit lives in Quality (operator): the deep audit is Quality's
kvb-quality-audit(Quality requirement 011), which pins Cloudflare'ssecurity-auditskill (MIT) at a commit, since upstream has no tags, keeps its output outside the repository's tracked tree and runs target code only sandboxed. This skill only orchestrates. Rejected: the audit in this repository (022: analysis lives once in Quality); release orchestration in Quality (it drives the register, operator rows and the hub). - Before every release (operator): the audit covers the range from the
newest
vX.Y.Ztag to HEAD. Pushes keep the cheaper 064 review. Rejected: on every push (a multi-agent audit per push); on demand only (no gate). - MEDUSA seeds, the audit verifies (operator): the MEDUSA scan of the
range runs first and hands its findings to the audit's validation phase
as candidates. A
rejectedverdict with its source trace becomes the acceptance row ofkvb-check-security, so false positives need no manual skeptic round. The audit hunts its own logic and trust holes in parallel. Rejected: both side by side (the manual round stays); the audit replacing MEDUSA (loses its secret and CVE rules). - Attestation: the result is stored for the exact HEAD tree, as the
064 stamp is. The skill calls Quality's
audit --repo <root> --range <tag>..HEAD --out <untracked dir> --budget <n> [--profile quick|standard|deep]and reads<out>/attestation-<tree id>.json; a release needs its verdictpass(orskippedfor a documentation-only range) for the HEAD tree. Exit 1 (blocked) stops the skill. Aneeds_validationcritical or high finding blocks like a confirmed one (operator pick in Quality requirement 011: fail closed). - Cost first (operator: as cheap and efficient as possible):
- only files the range changes, plus the trust-boundary neighbours the audit's reconnaissance names;
- MEDUSA from its per-file cache (010) and the 064 review memory, so reviewed blobs are not scanned again;
- an unchanged tree reuses its attestation; a range of documentation only skips the audit and says so;
- subagent models per
kvb-org-perform; heavy phases throughqueue.py hold; - the run reports its tokens and minutes (
kvb-check-efficiency).
- Release row (operator): after a green attestation the skill runs
kvb-release-changelogfor the message and bump and adds one hub rowpkgmgr release <bump> -m <message>with--dirset to the checkout to release, for the operator's passkey; the host runner runs it where GPG is. Then it offerskvb-releasefor the announcement. - pkgmgr guards the tree (PKGMGR, fix/release-cwd in package-manager):
pkgmgr releases the git top level of its working directory and refuses
before touching a file when that checkout has tracked changes. The skill
requires a pkgmgr version with that fix and runs no zero-change check of
its own. Rejected: a
kvb-pkgmgr-releasewrapper (the trap belongs fixed where it lives).
Approach
flowchart TD
subgraph P["🧭 0 · Preparation"]
P1["📋 Write requirement"] --> P2{"✅ Operator approves?"}
P2 -- "✏️ corrections" --> P1
end
P2 -- "🤖 yes" --> A1
subgraph A["🛡️ A · Audit attestation"]
A1["🔎 MEDUSA seeds over the range"] --> A2["🧪 kvb-quality-audit verifies and hunts"]
A2 --> A3{"✅ 0 confirmed critical or high?"}
A3 -- "🔴 no: fix, commit, rerun" --> A1
end
A3 -- "🟢 yes" --> B1
subgraph B["🏷️ B · Release"]
B1["📝 kvb-release-changelog message and bump"] --> B2{"🧹 pkgmgr has the tree guard?"}
B2 -- "🔴 no: update pkgmgr" --> B1
B2 -- "🟢 yes" --> B3["🔏 Hub row pkgmgr release, passkey"]
B3 --> BF{"💬 Operator signs?"}
end
BF -- "👍 signed" --> D1["📣 Offer kvb-release, hand-over"]
Acceptance Criteria
Attestation
- Without a green attestation for the HEAD tree the skill adds no release row and names the missing piece.
- A MEDUSA finding the audit rejects lands as an acceptance row with the audit's source trace; a confirmed one blocks the release.
- An unchanged tree reuses its attestation without a new audit run.
- A range of documentation only skips the audit and says so.
Release
- Against a pkgmgr without the fix/release-cwd change the skill stops before the row and names the missing version.
- The row carries
--dir <checkout>,pkgmgr release <bump> -m <message>with the message fromkvb-release-changelog, and the attested tree hash. - The run prints its tokens and minutes.
Tests
- Unit:
- Attestation lookup, reuse, the documentation-only skip and the zero-change check over fixture repositories.
- Integration:
- A fake audit and a fake MEDUSA through the skill's script: rejected findings become acceptance rows; a confirmed one blocks.
- E2E:
- n/a: the release row is an operator row; the hub's row E2E covers it.