Repository navigation
Aperture: SQL query structure is not a static asset blob (Fixes #5636) - #5687
Conversation
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
PR #5687 @ 630d974: 2 failed check(s) == full-suite (failure) -- real == full-suite part 1/3 (failure) -- real |
…re build in a split part (Part of #5636) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
No description provided. |
Fixes #5636
Change
Aperture Gate 3.3 blocked any
.sqlover 1000 lines with no Intent Lock as "Static Asset Blob without Intent". A CTE-fragment file (name AS ( SELECT ... ), no leading statement) tripped it. NewApertureFilter._has_sql_structure: a.sqlfile is source when query-structure lines (SELECT/FROM/JOIN/WHERE/GROUP BY/ORDER BY/CASE/name AS () are at least a tenth of its lines AND outnumber its row lines (INSERT/VALUES/(). It lifts only the 1000-2500 LOC no-intent band: the 2500 absolute cap and every non-SQL extension are unchanged. Bounded line-anchored regexes over the first 400 KB.Class table
.sqlfragment, 1000-2500 LOC, no intent.sqlrow dump (INSERT/VALUES).sql> 2500 LOC.yml/.yamlpipeline.json/.xml/.svg/.csv/.tsvEvidence
querygraph/saildoom@200b57a: 12/12.sqlinfile_data, 0 inexcluded_artifacts(was 10/12).tests/core_engine/test_aperture.py: 32 passed (4 new, real registry fixture).pr_gates --fast6/6,--ratchets8/8;crucible_check.pyboth legs PASS (zero diff, no bless needed). Tree-wide guard tests: 184 passed.Sibling gaps: none: every member handled.
🤖 Generated with Claude Code