Repository navigation
Description
From INTENTIUS/chant#4034 (behold#678 epic).
yodel appends a deploy record to <env>/releases.jsonl in src/release/index.ts recordRelease, calling appendReleaseRecord with component, env, digest, gitSha, runId, runOrigin, timestamp, actor and approver. chant has since added optional fields to deploy, gate and run records (INTENTIUS/chant#4020, #4043, #4045). The records yodel already wrote still read: status shows the new fields as null and no reader errors. This issue is about what to write from now on. Floors: chant 0.124.28 for admission, 0.124.29 for releaseDigest.
What to write:
admission(chant#4020, 0.124.28). When a gate approved the apply, record which resolution admitted it:{ op, gate, resolvedAt }. chant exportsadmissionOf(resolutions, { op, gate, planDigest })from@intentius/chant/lifecycle/release-ledger, which returns{ approver, admission }for the resolutions of that gate bound to the plan digest; yodel'sapprovercan come from the same call. Leaveadmissionout for an ungated apply.releaseDigest(chant#4043, 0.124.29). Only when the apply was made from a chant release (_releases/<releaseDigest>.json), such aschant components promote --release. A yodel apply not made from a release writes none.- Gate facts yodel writes with
appendPendingGate: passgitShaandrunId(chant#4020);chant approvecopies them onto the resolution.resolveCiRun()fromrelease-ledgergives the CI run id and origin. - Readers (
report/audit.tsand anything else that parses_gates/<op>.jsonlorreleases.jsonl): treat every field above as optional, ignore unknown keys, and show absent as absent.
Don't rewrite old ledger lines. Bump the @intentius/chant floor to ^0.124.29 once it is released. See chant's reference/workspace-read-contract "Reading older records".
Done when
- The
@intentius/chantfloor is^0.124.29or later. - A gated apply's release record carries
admission({ op, gate, resolvedAt }) andapprover, both fromadmissionOf. An ungated apply writes noadmission. - An apply made from a chant release writes
releaseDigest. Any other apply writes none. -
appendPendingGatepassesgitShaandrunIdfromresolveCiRun(). -
report/audit.tsand every other reader of_gates/<op>.jsonlandreleases.jsonltreat these fields as optional, ignore unknown keys, and show an absent field as absent. A test reads a ledger with old and new lines mixed. - Old ledger lines are not rewritten.
Activity
migration: older release, gate, run and plan records read under the r…
release 0.10.0: chant 0.124.48 and the sql epic (release admission, q…
lex00 commentedon Oct 24, 2026
Landed in #280 (squash 7067895) and released in 0.10.0, on chant 0.124.48.
All boxes met:
admissionandapproverfrom chant'sadmissionOf; an ungated apply writes noadmission.yodel apply <env> --release <digest or label>(orYODEL_RELEASE) checks the checkout is at the release's commit and writesreleaseDigest; any other apply writes none.gitShaandrunIdon pending gates are written by chant's gate step itself; yodel does not callappendPendingGate.Not covered: a waves apply records
approverfrom the wave decision but noadmission, since that decision does not go throughverifyApproval.