Repository navigation
Signal display names: what each keyword signal actually counts (#8009, stack 1/5) - #8013
Closed
squid-protocol wants to merge 1 commit into
Closed
squid-protocol wants to merge 1 commit into
squid-protocol wants to merge 1 commit into
Conversation
…docs/signals.md (#8009) Display layer only (#2991 Option-A precedent): one entry per SIGNAL_SCHEMA signal, rule key -> (persisted column, display name), so struct_linear reads as Structural Keywords and state_safety_neg as Unsafe Constructs. Columns, JSON keys and the golden-mastered FRIENDLY_MAP labels are unchanged. Contract test pins coverage, recorder-column parity, uniqueness and the doc. Part of #8009 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_018srRvh3Fv4eomruTgx3VvY
This was referenced Nov 7, 2026
Contributor
|
No description provided. |
Contributor
Owner
Author
|
Superseded by #8024 (the stack squashed into one PR to save CI capacity, at the owner's request). |
squid-shepherd Bot
pushed a commit
that referenced
this pull request
Nov 7, 2026
…rlap leaks, TS ui/generics, function-level scope (#8009, #8010, #8011, #8012) (#8024) Squash of the five-PR stack (#8013, #8015, #8019, #8021, #8022), combined at the owner's request to save CI capacity. - #8009: SIGNAL_DISPLAY_NAMES + signal_display_name() + docs/signals.md; the LLM brief shows display names beside raw keys and no longer calls linear 'paths'. - #8010: C size_t out of safety; Python/embedded_python pass only as except...: pass (one site); PHP exit/die out of debug_prints. - #8011: TS ui_framework treats <Foo> as JSX only with attribute/self-close/ closing tag; class/interface extends is not generics. - #8012: FUNCTION_LEVEL_ABSENT_SIGNALS marks the 36 always-zero function columns. Golden masters re-blessed per slice, every difference attributed. Fixes #8011 Claude-Session: https://claude.ai/code/session_018srRvh3Fv4eomruTgx3VvY Co-authored-by: Claude Opus 5.5 <[email protected]>
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.
What this does
Gives every keyword signal a readable name that matches what its rule actually counts. Several column names mislead:
struct_linearreturn,def,void,exportkeywordsstate_safety_negsprintf,strcpy,void*, TSanystate_heat_triggersgoto,#define,getattrstruct_argsThe full list is in #8009.
SIGNAL_DISPLAY_NAMESinanalysis_lens.py(section 7c): rule key → (persisted column, display name), for all 97SIGNAL_SCHEMAsignals.signal_display_name()accepts either spelling (structural_boundariesorstruct_linear).docs/signals.md: the reader-facing table. For every signal it lists the column, rule key, display name, function and file population share (v2.12.0 population DB, 8.17M functions) and the rule's typical matches.tests/core_engine/test_signal_display_names.py: every signal has exactly one entry; columns equalRecordKeeper.SHORT_KEY_MAP; names are unique; the doc lists every column.Display layer only, following the #2991 Option-A precedent. DB columns, JSON keys and the golden-mastered
FRIENDLY_MAPlabels are unchanged, and nothing the engine emits changes (no golden diff).Class / Sibling gaps
The class is "a persisted signal name that misdescribes its rule". Every member is handled here: all 97
SIGNAL_SCHEMAsignals get a display name, not just the 11 misleading ones, so consumers have one lookup.Sibling gaps (stacked PRs, in order):
size_t= safety + pointers, Pythonpass, PHPexit/dieas debug prints, TS classextendsas generics).ui_frameworkfires on type assertions.function_datasignal columns that are structurally zero.Checks
time_ratchet: 0 over the limit.audit_check: all clear.pr_gates --fast: 8/9 gates pass.affectedfails only ontest_committed_fidelity_table_is_fresh_against_the_corpus. That is a local keyword-rosetta checkout mismatch (fidelity_table.pyvs/nvme-data/projects/keyword-rosetta), and neither file is touched here.--ratchets: not run, because no golden, ledger or baseline input changes.Doc-refs fixes: none.
Part of #8009
🤖 Generated with Claude Code
https://claude.ai/code/session_018srRvh3Fv4eomruTgx3VvY