Skip to content

fix(aperture): Gate 4.3 matches generator banners, not prose (#4559) - #4569

Merged
squid-protocol merged 5 commits into
mainfrom
fix/4559-gate43-banners
Oct 6, 2026
Merged

squid-protocol merged 5 commits into
mainfrom
fix/4559-gate43-banners

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Closes #4559

Gate 4.3 (machine-generated source shield) used an unanchored generated by \S+ search over the first 100 lines, so a hand-written doc comment ("thresholds are generated by surface_wgsl") dropped room4doom's wgpu.rs (1,947 LOC). The gate now matches generator BANNERS: a header line whose text, after comment syntax and whitespace, begins with the marker (Go Code generated ... DO NOT EDIT, protoc, thrift, flatc, SWIG, bison/flex, @generated, "This file is (auto-)generated"), plus structural <auto-generated> and upper-case DO NOT EDIT anywhere on a line. The banner regex is strictly narrower than the old one in what it accepts as prose-free text: the golden shows zero newly-blocked files.

Golden diffs (both modes), attribution

Newly ADMITTED (previously "Machine-Generated Source Code Signature", prose mentions of "generated"), 14 files: ada/functional/functional_tests_config.ads, c/sqlite/parse.y, cobol/SOURCES.md, groovy/SOURCES.md, jcl/SOURCES.md, tcl/SOURCES.md, lua/redis/sieve.lua, powershell/runtime/processrc.ps1, python/numpy/generate_umath.py, rust/wasmtime/wasmtime_ir_instructions.rs, shell/freebsd-src/ckscripts.sh, shell/illumos-gate/inetd-upgrade.sh, shell/serenity/generate_manpages.sh, typescript/typescript_compiler/LICENSE.txt.
Newly blocked: none (first iteration newly blocked ada/SOURCES.md, bms/cbsa/*.bms, shell/kubernetes/gencerts.sh; regex narrowed, regression tests added).
All other diffs are consequences of those 14 files now being scanned: new per-file records, repo-wide rollups (totals, composition, archetype/health distributions), and graph effects (PageRank, inbound dependencies) in other languages. Bless via crucible_check.py --update --yes on both legs; no timeout-excluded files.

Verification

  • tests/core_engine/test_aperture_gate43_banners_4559.py: 23 pass (prose admitted, real banners blocked, regressions for the old-admitted lines).
  • room4doom wgpu.rs and tools/editor/src/main.rs admitted.
  • pr_gates: 7/7 pass (lint, audits, secrets, xray, gauntlet, golden, suite).

🤖 Generated with Claude Code

https://claude.ai/code/session_017BVJCCUMdjLJq1TAM3V34V

@squid-protocol squid-protocol added bug Unintended behavior or logic failure in the engine data-integrity Issues relating to RAM state or SQLite database fidelity core-engine Modifications to the central physics and parsing engine priority: high Core feature broken, but workarounds exist labels Oct 6, 2026
@github-actions

github-actions Bot commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

The banner-only gate admits one more file of the pinned v2.4.7 corpus: 227 files,
2398 functions, all found with exact argument counts; no extras.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017BVJCCUMdjLJq1TAM3V34V
@squid-protocol
squid-protocol marked this pull request as ready for review October 6, 2026 14:14
@squid-protocol
squid-protocol merged commit 95d6b27 into main Oct 6, 2026
25 checks passed
@squid-protocol
squid-protocol deleted the fix/4559-gate43-banners branch October 6, 2026 14:14
squid-protocol added a commit that referenced this pull request Oct 7, 2026
#4569 (Gate 4.3 banners, not prose) admits 7 hand-written files of the pinned
language-crucible v1.7.0 that were dropped before; baselines regenerated for
lua/powershell/python/rust/shell. Adds a push-to-main trigger (owner decision).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
squid-protocol added a commit that referenced this pull request Oct 7, 2026
#4569 (Gate 4.3 banners, not prose) admits 7 hand-written files of the pinned
language-crucible v1.7.0 that were dropped before; baselines regenerated for
lua/powershell/python/rust/shell. Adds a push-to-main trigger (owner decision).

Co-authored-by: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Unintended behavior or logic failure in the engine core-engine Modifications to the central physics and parsing engine data-integrity Issues relating to RAM state or SQLite database fidelity priority: high Core feature broken, but workarounds exist

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Gate 4.3 drops hand-written source whose comments say 'generated by' (room4doom wgpu.rs, 1,947 lines)

1 participant