Repository navigation
Audit JSON: key Structural Signatures by signal display name, with golden regen (Part of #8009) - #8343
Merged
Conversation
…lden regen (Part of #8009) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
Contributor
This was referenced Nov 20, 2026
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.
Part of #8009 (slice 2, audit half; the LLM brief half landed in #8320 and its test).
The audit JSON's "7. Structural Signatures (Net Mitigated Signals)" node was keyed by
FRIENDLY_MAPlabels, or by title-cased rule keys whereFRIENDLY_MAPhad no entry. About 80 labels therefore disagreed withsignal_display_nameand the LLM brief.AuditRecordernow builds those labels withsignal_display_name(key). Stored columns, JSON keys elsewhere andFRIENDLY_MAPare unchanged.Class / Sibling gaps
Class: an audit JSON signal label that differs from the canonical display name (
SIGNAL_DISPLAY_NAMES). EverySIGNAL_SCHEMAkey is covered by one change inaudit_recorder.pyand pinned bytest_audit_signature_labels_8009.py, which checks schema order, unique labels and unchanged values. The 11 signals named in the issue were already relabelled inFRIENDLY_MAP, so they do not move here.Sibling gaps:
FRIENDLY_MAPstill holds the old wording for about 40 keys, which otherformat_labelcallers could still show. Left alone because a different mechanism (golden-mastered risk labels) shares it.docs/signal_coverage_verdicts.mdstill quotes old labels in prose (not regenerated here: the 5-file cap).Golden drift (attributed)
Both fixtures: the 97 per-signal split files under
7_structural_signatures_net_mitigated_signals/are renamed to the new label slugs. I checked old against new per file path: every value is identical in both fixtures. The only content change is the label text (andpathmetadata oftime_date_logic.json, "Time Date Logic" -> "Time & Date Logic").12_scan_output_snapshots/llm_brief.jsondid not move.Cross-repo
Anything outside this repo that reads the audit JSON by the old label string (population-analyses and similar) will need the new names. No companion PR; I found no reader in this repo besides the files updated here.
Gates
pr_gates --fast9/9 pass;signal_coverage.py checkOK; the new test,test_signal_display_names*,test_audit_recorder.pyandtest_zero_coverage_signals_4108.pypass.crucible_check.py --update --yesrun via golden-lock.Hand-written files (5):
audit_recorder.py,test_zero_coverage_signals_4108.py,test_audit_signature_labels_8009.py,.claude/skills/add-signal/SKILL.md,tests/signal_coverage_baseline.json(regenerated key rename).Remaining slices
Prose in
docs/signal_coverage_verdicts.md;FRIENDLY_MAPalignment; column renames at retrain.🤖 Generated with Claude Code