Repository navigation
LLM brief: signature lexicon names signals by display name and rule key (Part of #8009) - #8378
Merged
Merged
Conversation
…ey (Part of #8009) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
1 similar comment
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 remainder). Slice 2's main rendering already landed (#8320 Structural Signatures lines, #8343 audit JSON labels); this covers the brief's static lexicon that was still left on hand-typed aliases.
What changed
gitgalaxy/recorders/llm_recorder.py: the "STRUCTURAL SIGNATURE LEXICON" bullets and core directive 3 are built from_LEXICON_GROUPS(rule key + gloss) and render**Display Name** (rule_key), the same pairing the Structural Signatures lines use. The retired aliaseslinear,flux,danger,safety_neg,freeze_hits,graveyardno longer appear in the brief prose.tests/tools_recorders/test_llm_brief_lexicon_sync_8009.py(new): every lexicon key is a signal; the lexicon plus an explicit not-glossed set equals the brief's four signature groups (a new grouped signal fails until classified); each entry renders display name and key; no retired alias is named in the brief prose.12_scan_output_snapshots/llm_brief.json): the diff is exactly the 5 lexicon/directive lines, nothing else.Class / Sibling gaps
Class: brief text that names a signal by a hand-typed alias or gloss instead of the canonical
SIGNAL_DISPLAY_NAMESentry. All four lexicon bullets and directive 3 are handled in this PR, each pinned by the new test.Sibling gaps: (1) llm_recorder section 7 "Top I/O Latency Risks" shows a bare
Hits:count with no signal name; (2) "Highest Design Slop" labels ("Orphaned Functions", "Duplicates") are prose, not display names; (3) audit_recorder function-level label "Reflection Hits" (golden-mastered, needs its own regen); (4)dna_hitsSQLite rows keep raw rule keys (storage, intentionally unchanged). Not done here: different lines, and (3) needs a separate golden.Remaining slices: the three prose/label items above, then column renames at the next archetype retrain (issue plan item 3).
Gates
New test +
test_llm_brief_signal_display_names.py+test_signal_display_names.py(19 passed);audit_check.pyall clear; ruff format clean;crucible_check.py --update --yesvia golden-lock (both legs, only the llm_brief lines moved).pr_gates --ratchetsnot run.Lessons for agents
cat > filewith no heredoc in a Bash call blocks on stdin and hangs the call; write scratch scripts with the Write tool.🤖 Generated with Claude Code