Skip to content

Aperture Gate 4.2: one generated-docs HTML file blocks its whole parent directory (doomsday: 1,170 source files, order-dependent) #5458

Closed

Description

@squid-protocol

Problem

doomsday/doxygen_header.html is a hand-written Doxygen template (<!-- HTML header for doxygen 1.8.13-->, <meta name="generator" content="Doxygen $doxygenversion"/>). Gate 4.2 matches doc_generator_pattern, blocks the file (fine) and adds its parent doomsday/ to dynamic_ignore_dirs. _check_ignore_rules then blocks every file under doomsday/ that is walked after it: 1,170 first-party files (~1,900 functions; all of libs/core, libs/gamekit, apps/client, ...) with reason Blocked (System Exclusion, Hidden Directory, or Dynamic Ignored Dir). 1,615 files walked earlier survive, so the result depends on directory walk order — not deterministic across filesystems.

Class: directory-wide decisions made from one file

member status evidence
Gate 4.2 generator <meta> in .html/.htm/.xml -> parent dir ignored broken gitgalaxy/core/aperture.py:782-786, check at :1040-1044
order dependence (dir flagged mid-walk; earlier siblings kept) broken 1,615 kept vs 1,170 dropped in doomsday/
doc templates (Doxygen header/footer, Sphinx _templates/, JSDoc layouts) vs generated output missing distinction same file
dir flagged although it holds source/build files missing guard doomsday/ has CMakeLists.txt + C++

Acceptance

  • A directory is treated as generated docs only on evidence about the directory (e.g. a majority of its files are generated HTML, no source/build files), never from one file; nested subdirectories are not swept.
  • The decision is order-independent (computed before or independent of walk order).
  • Regression fixture: a source tree with a Doxygen header template at its root keeps all its source; a real Doxygen html/ output dir is still dropped.
  • Rescan doomsday: no first-party .cpp/.h lost to this reason.

Part of #5457 (milestone DOOM Port Speedrun).

Evidence: /srv/storage_16tb/projects/gitgalaxy/doom-study/ — round2_findings.md, clean_check.csv, clean_check_details.json; scans in scans_r2/<port>/ at engine 585c243e9; corpus variants_r2.csv (39 ports, pinned SHAs); scorer scripts/clean_check.py.

🤖 Generated with Claude Code

Activity

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

    @squid-protocol
    OwnerAuthor

    Claimed by promoter-bot host nyx, lease renewed 2026-10-18T13:21Z. 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 22, 2026
    bce02e9
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: highscope:core

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions