Repository navigation
Description
Problem
The function_data / file_data signal column names describe something other than what their rules count. Research on the v2.12.0 population DB (8.17M functions, engine b64f42bf) read several of them wrongly before checking the rules. Audit: temporal-crucible docs/signal_name_audit.md (PR squid-protocol/temporal-crucible#85). It traces each rule through RecordKeeper.SHORT_KEY_MAP and lists each rule's most frequent matches on the engine code stream of language-crucible files.
| column | rule key | FRIENDLY_MAP label |
what it actually matches | proposed display name |
|---|---|---|---|---|
struct_linear |
structural_boundaries | Sequential Logic Declarations | return, void, def, import, export, struct, => |
Structural Keywords |
state_safety_neg |
safety_bypasses | Type/Safety Bypasses | sprintf, strcpy, (T *) casts, void *, catch (...), TS any |
Unsafe Constructs |
state_heat_triggers |
reflection_metaprogramming | Metaprogramming & Reflection | C goto, #define; Python getattr, @classmethod |
Metaprogramming (Macros, Reflection, goto) |
struct_args |
args | Function Parameters | call and definition sites with arguments | Calls & Signatures With Arguments |
state_flux |
state_mutation | State Mutations | i++, x =, .push( |
State Mutation |
state_bailout_hits |
panics_and_aborts | Fatal Aborts & Exceptions | raise, throw, abort, exit, C return -1 |
Error Exits (raise/throw/abort) |
state_halt_hits |
thread_sleeps | Thread Sleeps | sleep, setTimeout |
Sleeps & Timed Waits |
def_freeze_hits |
immutability_locks | Immutable Data Declarations | const, readonly, final |
Immutability (const/readonly/final) |
def_safety |
safety | Defensive Programming Constructs | assert, try, isinstance, ?.; C also size_t |
Defensive Checks |
arch_api |
api | Exposed API / Public Exports | export, public, non-_ Python def, C non-static / typedef / extern |
Public / Exported Surface |
def_encapsulation |
encapsulation | Private / Encapsulated Scopes | private, protected, C static, Python _name |
Private Scope (private/static/_name) |
The signals themselves are sound; only the names mislead. struct_linear as "linear code" is the costliest misreading: the column is present in 85% of functions because it counts return.
Plan (#2991 Option-A precedent: display layer, stored names unchanged)
- Slice 1:
SIGNAL_DISPLAY_NAMESinanalysis_lens.py.- One entry per
SIGNAL_SCHEMAkey: (DB column, display name). signal_display_name()accepts either a rule key or a column.docs/signals.mdreference.- A drift test against
SHORT_KEY_MAP. - Emits nothing new, so no golden change.
- One entry per
- Slice 2: render display names in the LLM brief's "Structural Signatures" lines and the audit JSON labels. Both are golden-mastered (
12_scan_output_snapshots/llm_brief.json,7_structural_signatures_net_mitigated_signals/*), so that slice carries the golden regen. - Column renames: only at the next archetype retrain (feature-dimension parity; feature_flags signal has no detector: always 0, yet it feeds the debt risk family #4114 precedent).
Siblings filed separately: shared tokens counted by two rules; TS ui_framework on type assertions; function-level columns that are always zero.
Activity
Signal names and rule accuracy: display names, brief labels, rule-ove…
squid-protocol commentedon Nov 10, 2026
Churn run
8009-20261110T0248Z(host nyx) ended without a PR. Slices 1-2 already on main via #8024 (display names, docs/signals.md, drift test, brief labels golden). Slice 3 (column renames) deferred to next archetype retrain; issue left open, nothing queued.squid-protocol commentedon Nov 11, 2026
Churn run
8009-20261111T0652Z(host nyx) ended without a PR. Slice 1 + brief names already merged in #8024; remaining: audit JSON labels slice queuedSignal display names: audit JSON labels use the display names (Part of …
238 remaining items
squid-protocol commentedon Nov 27, 2026
Churn run
8009-20261127T0611Z(host nyx) ended without a PR. No PR: slice 1-2 merged; only owner-deferred DB column renames (slice 3, tied to archetype retrain) remain. Issue left open.Rule comments: c, cpp, python, javascript name args by its display na…
Rule comments: sqlite, dockerfile, tcl, fortran name args by its disp…
squid-protocol commentedon Nov 27, 2026
Claimed by promoter-bot host
nyx, lease renewed 2026-11-27T13:24Z. It lapses after 6 h without a renewal. To take it back, assign someone or remove theclaim:nyxlabel.Rule comments: agc_assembly, kotlin, ruby, scheme name args by its di…
Rule comments: php, groovy, m4, typescript name args by its display n…
Rule comments: csharp, java, go, rust name args by its display name (…
Rule comments: css, swift, html name args by its display name (Part of …
Rule comments: dart, assembly, shell, embedded_python name args by it…
Rule comments: lua, powershell, zig name args by its display name (Pa…
Rule comments: solidity, objectivec name args by its display name (Pa…