Skip to content

declared domain sensors: rules whose densest match is a different construct than the sentence names (from #2897) #2898

Closed

Description

@squid-protocol

Filed from the #2897 batch (Phase 3 of #2812): the one-pass incidence read of the 40 declared domain sensors on the language-crucible v1.2.0 corpus (Prism code stream, the measurement tests/tools/rule_probe.py makes, all 41 rules per file in one split). These are the rules whose most frequent match is a different construct than the row's declared sentence names -- the rust pub / agc column-0 shape of #2766, in the unplanted sensors. One issue for the shape, one table row per cell (the STRUCTURE COUNTS lesson: file per shape, not per dot). Full evidence: docs/domain_sensor_contracts.md.

None of these moves a keyword-rosetta cell (the signals are unplanted and ungated), which is why the batch filed them instead of fixing them. Each is a single-layer rule fix; several are one-line.

signal language crucible hits (files) what the rule matches the declared sentence says
panics_and_aborts zig 7538 (35/36) return -- the rule is \b(?:unreachable|return)\b|@panic a raise or abort; an ordinary return is structural_boundaries'
panics_and_aborts lua 3633 (52/113) assert( (rule \b(error|assert|os\.exit)\b) a guard on a value is safety's (#2869)
decorators perl 2760 (21/21) :: package separators (Mail::SpamAssassin::Conf), rule :\s*[a-zA-Z_]\w*(?:\([^)]*\))? an attribute attached to the declaration it precedes; perl's are sub f :lvalue, :prototype(...)
closures dart 3282 (7/7) if (...) {, switch (...) {, assert(() {, every method parameter list -- rule =>|\(\s*[^)]{0,300}\)\s*(?:async\*?|sync\*?)?[ \t]*\{ the opener of an anonymous callable
comprehensions dart 529 (7/7) {\n if (, {\n for ( block openers a collection-transform expression
bitwise_ops zig 10177 (34/36) & address-of (&zcu.intern_pool), |err| payload captures an operator between two value operands
vectorized_math python 892 (209/261) the decorator @: the operand lookbehind (?<=[a-zA-Z0-9_\]\)])\s*@\s*(?=[a-zA-Z0-9_\[\(]) accepts a preceding ) across the newline, so return x\[email protected]( is a matmul the infix matrix-multiply operator
serialization_parsing fortran 294 (6/6) READ (, WRITE(, OPEN(, FORMAT encode/decode of an interchange format; formatted record I/O and stream open are io's (#2841)
serialization_parsing shell 529 (83/256) sed -- a text processor an interchange-format codec
regex_execution fortran 5 INDEX(, VERIFY -- substring intrinsics that take no pattern evaluation of a regular expression
explicit_casts agc_assembly 407 (10/10) EXTEND -- the prefix that selects an extended opcode a value conversion
ipc_rpc_bridges swift 37 (2/6) DispatchQueue in type position -- in-process GCD a cross-process or cross-host bridge
ipc_rpc_bridges lua 204 (15/113) coroutine.yield -- in-process same
ipc_rpc_bridges embedded_python 30 (5/14) machine.Pin( -- GPIO, a hardware bridge same
ipc_rpc_bridges solidity 15 (5/7) emit RoleGranted( -- events' same
ui_framework typescript 1859 (24/27) <ModifierLike, <Kind3 -- generic type arguments (generics') a UI-surface construct
ui_framework perl 182 (6/21) <%/%> inside POD (C<%Y>) and Mason tags same
pointers perl 5181 (19/21) ->{conf}, $$self{OPTIONS} -- managed references and hash dereference a raw memory address
memory_alloc javascript / typescript / scheme 412 / 719 / 749 new Error(, new Promise(, new Vector3( (rule \bnew\s+[A-Z]\w*); scheme cons an explicit request for memory. java (Arena.*), kotlin (memScoped), scala (scalanative), dart (ffi.Allocator) already answer this the other way: unmanaged forms only, managed construction reads 0. javascript/typescript/scheme are on the wrong side of a decision the registry already made (count contract corollary 3: one side per row). memory_alloc also feeds the mitigated_memory_allocs proximity tally, so this is the one row here with a downstream reader.
cryptography python 0 on 6 files importing hashlib/hmac/ssl/jwt the name list (crypto|bcrypt|x509|tls|ssl|jsonwebtoken|argon2) has no hashlib/hmac too narrow, the opposite direction
hardware_bridge javascript 26 (1/19) import ... from './webgl/...' -- webgl is in the name list peripheral I/O; a renderer is not a peripheral
lit_headers markdown by construction (no markdown in the crucible) ^[ \t]{0,3}#{1,6}[ \t]+ over the whole file, which is comment_stream under the Prose Bypass -- a # comment inside a ```python fence is a heading an ATX heading line
dependency_injection m4 42 (2/7) AC_REQUIRE([...]) -- a macro prerequisite an IoC marker; borderline, listed for the decision

Not in this table: the rows whose densest language is a bare word or string-content hit (php bitwise_ops & in HTML entities, swift ssr_boundaries Request, ...) -- that is a different shape, filed separately.

Activity

  1. added
    bug
    metrics
    core-engine
    on Sep 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugcore-enginemetrics

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions