Repository navigation
feat: yodel report --audit in chant's audit format - #393
Merged
Merged
Conversation
Contributor
Author
|
This pull request merges after a behold release carrying INTENTIUS/behold#1228 (draft INTENTIUS/behold#1239), so behold reads chant's audit format before yodel stops writing its own. The writer switches with no flag, as the issue asks; behold reads both forms, mixed in one file. |
78 of 84 tasks
lex00
force-pushed
the
feat/385-chant-audit
branch
from
November 21, 2026 06:40
7b484a1 to
4376d49
Compare
lex00
marked this pull request as ready for review
November 21, 2026 06:40
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
yodel report --auditappendschant.audit/v1lines, andyodel report --jsonprints them inaudit[]andauditFile.missing. chant'sreadAuditLine(@intentius/chant/report-store) does the mapping, and a line'skindis chant's word:approved,override-recorded,applied,refusedorrecorded. Yodel's own word stays inproduct_kindwhen it differs, for examplesilenced,failed,repairedorwave-run. Each line namesproduct: "sql-yodeler"and itsenvironment, and keeps theidthe earlier entry had. The report keeps every other field as it was.An
audit.jsonlwritten earlier is still read, and one file may hold both forms. yodel appends no entry the file already holds in either form and rewrites no existing line, andschemas/report.schema.jsonaccepts either form inaudit[].The tests in
test/report.test.tsrun on the audit fixtures, where every line passes chant's published audit schema andreadAuditLine. chant'stoProductAuditLinereturns each earlier entry unchanged, for every kind yodel derives. A file of earlier entries and a mixed file compare and append correctly.The pin moves to
chant@0.124.110, the release carrying chant#5336. The forge lexicons move to0.124.102with it. The same commit regenerates.github/workflows/publish.ymlwithchant release workflow, because the new chant words thelabelinput description differently. #391 made the identical change on main, so a rebase after it drops the commit.The gate
npm ci && npm run build && npm run checkpasses on the pinned chant. The pull request stays a draft until a behold release that carries behold#1228 is out, and merges after it.Closes #385