Skip to content

LLM brief: pin signal display names in Structural Signatures lines (Part of #8009) - #8320

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/8009-20261111T1828Z
Nov 11, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/8009-20261111T1828Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #8009 (slice 2, brief half; terminal filler slice).

What changed

The brief's Structural Signatures lines already render signal display names (llm_recorder.py:1905, :2043; landed in #8024, golden-mastered), but no test pinned it. This PR adds tests/tools_recorders/test_llm_brief_signal_display_names.py. The plan's premise ("render display names in the brief") was already true on main, so the slice is test-only and changes no engine code or golden.

Class / Sibling gaps

Class: every signal key the LLM brief prints in a Structural Signatures line (all four groups: Structure, Risk/State, Architecture, Defense) plus the mixed-responsibility "Top Architectural Signatures" line must lead with signal_display_name(key) and keep the raw key beside it. All 23 group keys and both render sites are tested, plus the structural_boundaries regression ("Structural Keywords", not "Sequential Logic").
Sibling gaps (not done here):

  • The audit JSON 7. Structural Signatures labels still come from format_label / FRIENDLY_MAP. Changing them moves the audit goldens and consumers keyed on labels (tests/tools/signal_coverage.py, test_zero_coverage_signals_4108.py).
  • The brief legend (llm_recorder.py ~1246-1260) still uses raw names (flux, freeze_hits).
  • Keys outside the four group sets (reflection_metaprogramming, panics_and_aborts, thread_sleeps, ...) never print in Structural Signatures lines; existing behaviour, needs its own decision.

Gates

pr_gates.py --fast: 9/9 pass. New file timed (0.1 s, time_ratchet clean). No golden/ratchet change (no scan output touched), so --ratchets not run.

🤖 Generated with Claude Code

@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 11, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 11, 2026 18:37
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant