Skip to content

Epic: DOOM Port Speedrun — scan ~40 DOOM ports across languages cleanly, for system validation #5457

Closed

Description

@squid-protocol

Goal (re-aimed 2026-10-19)

DOOM is a validation corpus for the engine, not a completion target: one program written over 30 years in many languages exposes engine gaps fast (rounds 2 -> 5 found and fixed ~10 general bug classes: directory blocking, single-file engines, payload guards, vendoring, macro functions, C++ templates, require( false RCE, new languages). Three outputs:

  1. DOOM-rosetta (DOOM-rosetta: golden-gated CI regression test over the DOOM port corpus (measurements-only golden, zero drift, sharded, nightly oracles) #5619): one program written many ways (the real-world sibling of keyword-rosetta), as a golden-gated CI test as stringent as the Golden Crucible, so those wins can't regress.
  2. Language breadth: add licensed ports in languages the engine handles worst or that matter most to the business (COBOL, SQL, assembly, F#, Fortran, Kotlin, Dart, Scheme...); every one so far found a gap within minutes.
  3. The study (DOOM study write-up: lineage survival vs linuxdoom across all ports + cross-language subsystem comparison (engine metric calibration) #5620): lineage survival vs linuxdoom and cross-language comparison, doubling as an engine metric calibration check.
    Not a goal: a perfect score on every port. On the licensed corpus at 29349f079, 29/31 pass; the other 2 are the documented .h-beside-.m caveat.
    Licensing (owner is an LLC): ports are tiered from their license files (ci / review / local); only ci enters CI, the golden and publications (DOOM-rosetta: golden-gated CI regression test over the DOOM port corpus (measurements-only golden, zero drift, sharded, nightly oracles) #5619).

Where we are (2026-10-30, engine 8cc7bab8b, CI corpus)

Done. DOOM-rosetta now scores seven checks per port (the six clean-scan checks plus check 7, call-graph accuracy, #5874). On the 44 CI-tier ports in tests/doom_rosetta/manifest.csv (24 languages, from C, C++ and Objective-C to COBOL/JCL, SQL, F#, Crystal, Fortran, Scheme, Dart, Kotlin, Rust and SNES assembly):

Earlier, for comparison: 2026-10-19 (29349f079), 29/31 licensed ports passed the six checks; round 2 (2026-10-18), 8/39.

Work

Gate and study

Engine gaps from new languages (found 2026-10-19 by scanning licensed non-C ports)

Remaining general engine items from the C/C++ corpus

Done

Known caveats (by design, state them in the write-up)

Rules

Clone ports at pinned SHAs outside the repo; never commit third-party code; publish measurements, not reconstructions (docs/research/third-party-material-policy.md).

Evidence: /srv/storage_16tb/projects/gitgalaxy/doom-study/ (round2_findings.md, clean_check.csv, clean_check_details.json, scans_r2/, variants_r2.csv, scripts/).

🤖 Generated with Claude Code

Activity

  1. added
    epic
    core-engine
    priority: high
    needs:doom-corpus
    scope:frontier
    on Oct 18, 2026
  2. squid-protocol commented on Oct 19, 2026

    @squid-protocol
    OwnerAuthor

    Status (2026-10-19, licensed corpus)

    Superseded by the epic body's "Where we are" section, which now reports licensed ports only: 29/31 pass all six checks at 29349f079 (the 2 others are the documented .h-beside-.m caveat), engine within 0.4% of tree-sitter corpus-wide. Earlier per-port details in this comment were removed under the licensing rule (ports with unclear license or provenance are internal only).

    🤖 Generated with Claude Code

  3. squid-protocol commented on Oct 19, 2026

    @squid-protocol
    OwnerAuthor

    Scorer slice (#5468, PR #5617): generated-file signatures, tooling-dir exclusions and functions passing on ctags OR tree-sitter moved the corpus from 27 to 35 perfect at 0e2bf4ade scans, 0 regressions. On the licensed ports that is 29/31; the remaining 2 are the .h-beside-.m caveat. Per-port details trimmed under the licensing rule (see the epic body).

    🤖 Generated with Claude Code

  4. added
    scope:core
    and removed
    scope:frontier
    on Oct 25, 2026
  5. squid-protocol commented on Oct 30, 2026

    @squid-protocol
    OwnerAuthor

    Closing: every checklist item is done and DOOM-rosetta's seven-check gate holds 42/44 ports (the other 2 are ruled counting conventions, #5876). Numbers as of 2026-10-30 (8cc7bab8b) are in the description. Closed on the owner's request.

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

    core-engineepicneeds:doom-corpuspriority: highscope:core

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions