Repository navigation
Fact channels: audit-report fact sections as an AUDIT_SECTIONS table (Part of #3383) - #6198
Conversation
…(Part of #3383) _mainframe_facts_block iterates a 22-row AuditSection table instead of 22 hand-written branches. Output is byte-identical (3000 randomized payloads compared against the old method; both golden masters pass unchanged). Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
No description provided. |
|
PR #6198 @ 8ab8f7a: 1 failed check(s) == Small audits (failure) -- real |
…l is table-driven (Part of #3383) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
CI shepherd: the head of this PR (cfbefc7) is not the one a maintainer labelled |
|
No description provided. |
|
No description provided. |
Part of #3383 (slice 4: audit-report fact sections).
Change
AuditRecorder._mainframe_facts_blockwas 22 hand-writtenif rows:branches, one per fact channel, that every channel PR edited. It now iteratesAUDIT_SECTIONS, a table ofAuditSection(key, label, columns, where, render). Columns are(label, key[, default])pairs, or_when(pairs, test)for keys a row carries only when set. A new channel adds one table row.how_to_add_a_fact_channel.mdis updated.Proof of byte-identity
json.dumps: 0 mismatches, same section order, same key order.golden-lock.sh crucible_check.py(no update): full_precision PASS, zero_dependency PASS, sodata_galaxy_audit.jsonis unchanged.pr_gates --fast7/7.tests/tools_recordersall pass. Pre-PR tree guards 194 pass. Time ratchet 0 over.--ratchets(output is byte-identical and the golden check passed; no ledger or baseline input changed).Class
Class: shared seams every fact channel edits.
Remaining slices
llm_recorder.py(_mainframe_facts_linestotals/sections, ~lines 617-870) as a table, plus its test.fact_channels.CHANNELS.🤖 Generated with Claude Code