release-manager
Rule version intake, reversion, discharge; status, burn-down, READY.
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 15
- Forks
- 2
01 前言 Front Matter
- name
- release-manager
- description
- Rule version intake, reversion, discharge; status, burn-down, READY.
03 SKILL.md 正文
release-manager — every placement into a release is a reasoned ruling
For the release manager only (HIMMEL_RELEASE_MANAGER=1). Requests are ruled
by the on-demand batch jira release rm-run <R>, which reads this skill as its
judge's instructions; STATUS, BURN-DOWN and READY run in an on-demand session
armed from docs/handover/rm-brief-template.md. Every verb is a thin procedure over
jira release; the engine holds the formulas, the signatures and the checks,
so the board, the tick and this skill count the same way. Run the CLI by its
absolute path from the primary checkout:
node <repo>/scripts/jira/dist/index.js release <sub> <R> ….
There are no count gates: a ruling never cites a quota, a cap or a depth (decision 104). It weighs effort and delivery, and the sector and dependency chain (decision 100), and names its ground.
Grounds and classes
- Ground (
--ground):critical,regression,broken-operator-flow,chain:<name>,receipt,defer:<why>,resequence:<why>(a move within the release),resolved:<resolution>(a DISCHARGE). A ground explains the ruling; it never authorizes a placement by itself. - Follow-ups: a follow-up enters current only if it blocks a bucket ticket (its why names it, or
--remainder) or is critical, a regression or a broken flow; otherwise BACKLOG. - Class is derived by the engine from the target version:
current(the active version),next(a later version of the release),backlog. - Sector (
--sector) is required. A ticket with no sector: ask the chief to set it, then rule. - Emergencies are always current (decision 109): an evidenced emergency is
placed under the standing record
O-<R>-emergency. Record its class and sector; only an operator record moves it out.
INTAKE / REVERSION / DISCHARGE — one procedure for every request
The chief writes the request and sends REQ <id>. Then:
-
release claim <R>— claims every open request, and any claimed by an older lease epoch. One line per request. -
Per request,
release rule <R> --req <Q-id> --outcome <O> --op <kind> --from <v|backlog> --to <v|backlog> --sector <s> --ground <g> --reason-file <f> [--supersedes <ids>] [--authority operator --ref <O-id>].Verb Outcomes (op) INTAKE ADMIT(add, move),BACKLOG(remove, move, none),AD-HOC(none)REVERSION MOVE(move, remove),KEEP(keep)DISCHARGE ACCEPT(discharge),REJECT(none)When a ruling (or the baseline,
baseline-<v>-g<n>) is already in effect for the key and version,--supersedesmust name it; the error names it. An operator ruling cites the chief'sO-record, which must cover the exact key, op and versions; a bare decision number authorizes nothing. The chief's INTAKE or REVERSION into a version for an open ticket labelled operator-directed, or of priority High or Highest, cites adecisionrecord withwords: 1in its evidence (operator) and its why (operator words: <O-id>). That record'sverbatimis the operator's own words, checked against the decision's verbatim file: admit on it when the words say this placement, under--authority operator --ref <O-id>; when they do not, rule as you would without it. A request filed by a worker, by the close-time Done fold or by the version repair is not gated and may cite no such record: rule it as before, never hold it for the missing record. A record with nowords: 1(the legacy form) is read as before. A REVERSION restoring a key to a version rulesMOVEwith--op move --from backlog --to <v>. Only for a key whose current ruling carries operator authority: when the key's newest operator decision is theadd backlog→<v>that places it, the engine files that ruling as the add under that record, and any newer operator word on the key, in any version, keeps the restore refused. A key whose current ruling is an RM ruling is moved as an ordinary RM move. -
release apply <R> <R-id>— writes Jira, reads it back, recordsapplied, posts the receipt comment, recordsreceipted, and prints the RULING line. Re-run it after any failure: it is idempotent and never posts twice. -
Send the chief the printed line, verbatim:
RULING <id> <req> <verb> <key> <op> <from>→<to> <outcome> <class> sector=<s> — <ground>: <reason>. Only a receipted ruling is sent.
A refusal is a fact to act on, not to route around: UNKNOWN state, a pending
intent, a missing supersedes, an uncovered authority. Report a refusal you
cannot resolve to the chief as a FINDING. The rm-run judge reports a request it
cannot rule (no sector, missing input) as {"req","outcome":"HOLD","reason"}: no
ruling is written and the request stays claimed for the next batch.
STATUS
release state <R> --json. Write release/<R>/status-<ISO date>-<HHMM>.md
under the state directory: each input and its freshness, the lease, the open
and claimed requests, the leaks (unauthorized members and ruled-in
non-members), the integrity lines, the burn-down and the trend. Send
STATUS <path>. A state that is UNKNOWN is reported as UNKNOWN, never as a
clean result.
BURN-DOWN
From the same state: per version, baseline open of baseline, admitted open,
emergency open and deferred out; then the open keys grouped by sector, with
the next keys per lane you would dispatch from. Write
release/<R>/burndown.md and send BURN-DOWN <path>. You advise; the
chief dispatches.
READY [v|R]
Every row is PASS, FAIL or UNKNOWN, and UNKNOWN fails:
- every baseline key of
vis terminal or carries an effective move out; - every effective
inkey ofvis terminal; - no open Critical, Blocker or Highest bug is
in(or emergency) forv; - no leaks, no open or claimed requests for
v, no integrity lines; - every required check succeeded on the candidate sha;
- the fold covers every Done key merged in the tag range;
- no open PR is linked to an
inkey ofvwithout a deferral ruling.
Sync the mirror first (mirror), then read the state. Write
release/<R>/ready-<v>-<sha7>.md and send
READY <v|R> <sha> TAG-READY|NOT-READY <path>. The operator tags and judges
stability; a FAIL row is overridden only by an operator record naming it.
Lease and hand-off
- No release manager stands by between requests.
rm-runtakes the lease, applies every older-epoch intent, claims, rules and applies each request, releases the lease and exits; a held lease refuses a second batch. - Session start:
release lease acquire <R> --expect-epoch <n> --doc <your doc> --session <name>(the brief namesn), thenrelease applyevery older-epoch intent it lists in the state (resolved by readback; one Jira never saw is voided and its request reopened), then the armed verb. - Hand-off (after the verb, 45 % context or HALT): apply or void every intent,
release lease release <R>, write<doc stem>-RM-HANDOFF.md(release, epoch, chain heads, last STATUS path), appendWRAPPED — handoff <path>and send the chiefWRAPPED <path>. - You never run
release operator,release request,createortransition; the engine refuses them for you anyway.
04 同仓库更多 Skills
medic
Use inside a Salus medical vault to FILE a medical item into its structured place (skin photo → photo archive + capture note; lesion/symptom note; lab/PDF → 00-Sources) and auto-commit, OR to QUERY the vault for a health follow-up (grounded answer + flagged, non-diagnostic morphology read). Triggers on "file this photo / note / lab", "log this into the medical vault", "ask the medic", or any health follow-up while cwd = the medical vault. Organize & surface only — never diagnose (posture-A).
stuck-playbook
fixture skill, invoked in the basic transcript fixture
never-used-skill
fixture skill, never invoked in any fixture transcript
used-skill
fixture skill invoked via a Skill tool_use in the fixture transcript
dead-skill
fixture skill never invoked and never referenced
jira-transition
Move/transition a Jira issue status ("move PROJ-46 to In Progress"). Needs key + target status. Not PR status changes.