Skip to content

Aperture drops large SQL fragment files (CTE bodies without a leading statement) as 'Static Asset Blob without Intent' (saildoom: monster AI + renderer, 2,492 lines) #5636

Closed

Description

@squid-protocol

Problem

querygraph/saildoom (GPL-2.0, 200b57a; a Spark SQL port of sqldoom): sql/tic_monsters.sql (1,112 lines, the monster AI) and sql/renderer_v1.sql (1,380 lines) are excluded: Aperture excluded sql/tic_monsters.sql: Blocked (Static Asset Blob without Intent: 1113 LOC). They are SQL fragments assembled at runtime by the Python driver: commented header, then CTE definitions (mo_player AS ( SELECT ... )) with no leading SELECT/WITH/CREATE statement. Real source, not data; 2 of the port's 12 SQL files and its most important logic.

Acceptance

  • A file with SQL keywords/structure (CTE name AS (, SELECT, FROM, JOIN, CASE) is not a static asset blob, whatever its first statement; tests with a fragment-style fixture (our own).
  • Rescan saildoom: all 12 .sql files mapped; no change for genuine data blobs (existing aperture tests).

Found by the DOOM corpus call-graph checks (#5630, #5457).

🤖 Generated with Claude Code

Activity

  1. added
    bug
    data-integrity
    core-engine
    scope:core
    needs:doom-corpus
    on Oct 19, 2026
  2. squid-protocol commented on Oct 19, 2026

    @squid-protocol
    OwnerAuthor

    Claimed by promoter-bot host nyx, lease renewed 2026-10-20T01:01Z. It lapses after 6 h without a renewal. To take it back, assign someone or remove the claim:nyx label.

  3. added a commit that references this issue on Oct 20, 2026
    4248895
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

    bugclaim:nyxcore-enginedata-integrityneeds:doom-corpuspriority: mediumscope:core

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions