Skip to content

DOOM-rosetta: licensed ports only, license and class columns, 13 licensed additions (Part of #5619) - #5717

Merged
squid-protocol merged 3 commits into
mainfrom
churn/5619-20261020T0917Z
Oct 20, 2026
Merged

squid-protocol merged 3 commits into
mainfrom
churn/5619-20261020T0917Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #5619 (slice 1 of 4: licensing). Owner licensing ruling 2026-10-19 (GitGalaxy is an LLC): only clearly licensed ports go into the manifest, CI, golden and any public text.

What changed

  • 8 ports removed per the licensing rule from tests/tools/doom_speedrun/manifest.csv and from every committed file that named them: one-line code comments (aperture.py, security_lens.py, cpp.py, glsl.py, doom_scorer.py), two test comments / a fixture path, and the two DOOM research docs (rows dropped; each doc says up top that its counts come from the original 39-port run and that removed ports aren't named). Git history still has the old text.
  • Manifest gets class and license columns. Each license was read from the repo's own files; the column gives the path when the file isn't at the root (prboom2/COPYING, licenses/..., doc/LICENSE, COPYING.adoc). The classes are engine-port, reimplementation, raycaster, separate-engine and assets, defined in the README.
  • 13 licensed ports added from the DOOM-rosetta: golden-gated CI regression test over the DOOM port corpus (measurements-only golden, zero drift, sharded, nightly oracles) #5619 thread: sqldoom, doomf77, doom-scheme, dartdoom, doo-cr, kocoa-doom, fsharp-doom, cssdoom, doom-fx, fps-cob, agentic-cobol-doom-cc, agentic-cobol-doom-codex, mood. mood is pinned at its HEAD 9f2345d7. All 13 were fetched at their SHAs and their LICENSE files read: 8 GPL-2.0/3.0, 1 Apache-2.0, 3 MIT, 1 GPL-2.0. That makes 44 ports.
  • README: the licensing rule (internal-only handling for questionable ports, run with --manifest), a not-affiliated-with-id-Software/ZeniMax/Microsoft line, a no-WADs line, the manifest columns, and how to add a port.
  • docs/research/third-party-material-policy.md: the corpus is listed under "Current sources".
  • test_doom_speedrun.py: the manifest test checks for unique names and that every row has a license and a class (it no longer hard-codes 39).

Why 14 files: 4 are the real change (manifest, README, policy, test). The other 10 are single-line comment or doc edits that remove the 8 names, which the ruling asks for in this PR.

Evidence

doom_speedrun.py run --only <the 13 new> at engine 3cc5f3eb0: every scan rc 0. 10 pass all six checks. sqldoom, cssdoom and doom-fx fail only check 3 (functions), and this run had no --oracle, so the tree-sitter fallback wasn't used. That will be gated in slice 2.

Gates: pr_gates --fast 6/6 pass. pr_gates --ratchets 8/8 pass (cics-spec, ports, port-surface, estate, fact-crosscheck, completeness, ground-truth, time).

Engine edits are comments only, so the golden masters can't move.

Owner decisions

  • Owner OK to add/edit workflows (2026-10-19).
  • Only clearly licensed ports in the repo manifest, CI, golden, issues/PRs/docs; questionable ports are internal only (owner, 2026-10-19).
  • Name: DOOM-rosetta (owner, 2026-10-19).

Remaining slices (#5619)

  1. Golden and gate: move the manifest to tests/doom_rosetta/manifest.csv (with an expected-fails column); add a measurements-only golden tests/golden_doom_rosetta/<port>.json (summary plus per-file hashes, no names), a doom_rosetta pytest marker for the zero-drift test, and tests/tools/doom_rosetta_check.py [--update --yes] with a scope report and a local diagnose mode; plus a tests/doom_rosetta/README.md.
  2. doom-rosetta.yml: the golden-crucible trigger and path filter, sharded by LOC, an actions/cache of the clones keyed on the manifest; measure PR wall time.
  3. A nightly oracle run on main (ctags + tree-sitter, plus the callgraph baseline) that publishes the table as an artifact and runs diff --fail-on-regression.

🤖 Generated with Claude Code

squid-protocol and others added 2 commits October 20, 2026 05:26
…nsed additions (Part of #5619)

Slice 1 of #5619 (owner licensing ruling 2026-10-19). 8 ports removed per the
licensing rule, from the manifest and from every committed file that named them
(code comments, test comments, research docs). The manifest gains `class` and
`license` (read from each repo's files) and 13 licensed ports from the #5619
thread (44 total). The README states the rule and the not-affiliated line; the
corpus is listed in the third-party material policy's current sources.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…_version strings (Part of #5619)

Owner-approved follow-up on #5717. Zandronum was removed from the manifest by the
licensing ruling; the last four mentions are gone. Golden masters: both legs pass, zero drift.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 20, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol marked this pull request as ready for review October 20, 2026 22:03
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol
squid-protocol enabled auto-merge (squash) October 20, 2026 22:18
@squid-protocol

Copy link
Copy Markdown
Owner Author

PR #5717 @ 3272b33: 2 failed check(s)

== Call resolution (Level 2, vs pyan3) (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/39505209030/job/118912296322
repro: python tests/tools/pr_gates.py --fast
errors:
2026-10-20 22:11:31,966 [WARNING] [GalaxyScope] ┃ (--fail-on-malware cannot fire). Rule-based threats still run. ┃
2026-10-20 22:11:33,801 [WARNING] [GalaxyScope] ┃ (--fail-on-malware cannot fire). Rule-based threats still run. ┃
2026-10-20 22:11:34,249 [WARNING] [GalaxyScope] ┃ (--fail-on-malware cannot fire). Rule-based threats still run. ┃
2026-10-20 22:11:38,229 [WARNING] [GalaxyScope] ┃ (--fail-on-malware cannot fire). Rule-based threats still run. ┃
2026-10-20 22:11:41,451 [WARNING] [GalaxyScope] ┃ (--fail-on-malware cannot fire). Rule-based threats still run. ┃
2026-10-20 22:11:44,477 [INFO] [pyan.analyzer] New edge added for Use from to Name <Node ???:.AssertionError>
2026-10-20 22:11:44,479 [INFO] [pyan.analyzer] New edge added for Use from to Name <Node ???:
.AssertionError>
2026-10-20 22:11:44,480 [INFO] [pyan.analyzer] New edge added for Use from to Name <Node ???:.AssertionError>
2026-10-20 22:11:44,482 [INFO] [pyan.analyzer] New edge added for Use from to Name <Node ???:
.AssertionError>
2026-10-20 22:11:44,664 [INFO] [pyan.analyzer] New edge added for Use from to Name <Node ???:.AssertionError>
2026-10-20 22:11:44,667 [INFO] [pyan.analyzer] New edge added for Use from to Name <Node ???:
.AssertionError>
2026-10-20 22:11:45,502 [INFO] [pyan.analyzer] New edge added for Use from to Name <Node ???:.AssertionError>
2026-10-20 22:11:45,503 [INFO] [pyan.analyzer] New edge added for Use from to Name <Node ???:
.AssertionError>
2026-10-20 22:11:45,504 [INFO] [pyan.analyzer] New edge added for Use from to Name <Node ???:.AssertionError>
2026-10-20 22:11:45,505 [INFO] [pyan.analyzer] New edge added for Use from to Name <Node ???:
.AssertionError>
2026-10-20 22:11:45,505 [INFO] [pyan.analyzer] New edge added for Use from to Name <Node ???:.AssertionError>
2026-10-20 22:11:45,506 [INFO] [pyan.analyzer] New edge added for Use from to Name <Node ???:
.AssertionError>
2026-10-20 22:11:45,507 [INFO] [pyan.analyzer] New edge added for Use from to Name <Node ???:.AssertionError>
2026-10-20 22:11:45,588 [INFO] [pyan.analyzer] New edge added for Use from to Name <Node ???:
.AssertionError>
2026-10-20 22:11:49,579 [WARNING] [GalaxyScope] ┃ (--fail-on-malware cannot fire). Rule-based threats still run. ┃
2026-10-20 22:11:56,407 [WARNING] [GalaxyScope] ┃ (--fail-on-malware cannot fire). Rule-based threats still run. ┃
2026-10-20 22:11:56,992 [WARNING] [GalaxyScope] ┃ (--fail-on-malware cannot fire). Rule-based threats still run. ┃
2026-10-20 22:11:57,297 [WARNING] [GalaxyScope] ┃ (--fail-on-malware cannot fire). Rule-based threats still run. ┃
2026-10-20 22:11:57,570 [WARNING] [GalaxyScope] ┃ (--fail-on-malware cannot fire). Rule-based threats still run. ┃
2026-10-20 22:11:59,044 [INFO] [pyan.analyzer] New edge added for Use from to Name <Node ???:*.AssertionError>
... 66 more
log tail:
"overload_blind_precision_pct": 99.7
},
"recall_all_kinds_pct": 76.4,
"resolution_recall_pct": 97.7,
"named_pyan_edges": 1748,
"pyan_edges": 3592,
"wrong_examples": [
"fastapi: fastapi/routing.py:app -> fastapi/exceptions.py:45 (pyan3: fastapi/exceptions.py:213)",
"fastapi: tests/test_arbitrary_types.py:test_typeadapter -> tests/test_arbitrary_types.py:20 (pyan3: tests/test_arbitrary_types.py:59)"
],
"external_examples": [],
"reference_version": "2.9.0",
"lang": "python"
}
}
| language | reference | confident precision | ambiguous precision | recall | resolution recall |
|---|---|---|---|---|---|
| python | pyan3 | 99.9% (1829 judged) | 60.0% | 50.9% | 97.7% |
decorator edges (not gated): precision 100.0% (575 judged); recall with decorators 66.9%
reference edges (not gated): precision 99.7% (345 judged); recall, all kinds 76.4%
call_graph_resolution: WARNING -- pyan3 2.9.0 is not the pinned 2.8.1; numbers are not comparable to the baseline
call_graph_resolution: REGRESSION
python: recall_pct 51.7 -> 50.9
##[error]Process completed with exit code 1.
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/23e8a742-3b73-45cc-a49a-9b46f930bec0' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
[command]/usr/bin/git config --global --add safe.directory /home/runner/work/gitgalaxy/gitgalaxy/gitgalaxy
Removing SSH command configuration
[command]/usr/bin/git config --local --name-only --get-regexp core.sshCommand
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
Removing HTTP extra header
[command]/usr/bin/git config --local --name-only --get-regexp http.https://github.com/.extraheader
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http.https://github.com/.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
Removing includeIf entries pointing to credentials config files
[command]/usr/bin/git config --local --name-only --get-regexp ^includeIf.gitdir:
[command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
Cleaning up orphan processes

== graph-accuracy-audit (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/39505209030/job/118917785228
repro: python tests/tools/pr_gates.py --fast
errors:
##[error]Process completed with exit code 1.
log tail:
Version: 20261012.601
Commit: f3dc54e1fb89da6852db922499a0233137369e1d
Build Date: 2026-10-12T17:48:21Z
Worker ID: {72b038f9-f502-473f-b86e-f84dc3f57371}
Region: westus3
Cloud: Azure
##[endgroup]
##[group]Operating System
Ubuntu
24.04.5
LTS
##[endgroup]
##[group]Runner Image
Image: ubuntu-24.04
Version: 20261012.334.1
Included Software: https://github.com/actions/runner-images/blob/ubuntu24/20261012.334/images/ubuntu/Ubuntu2404-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu24%2F20261012.334
##[endgroup]
##[group]GITHUB_TOKEN Permissions
Contents: read
Metadata: read
##[endgroup]
Secret source: Actions
Cache mode: write
Prepare workflow directory
Prepare all required actions
Complete job name: graph-accuracy-audit
##[group]Run echo "gate results: $RESULTS"
echo "gate results: $RESULTS"
for r in $RESULTS; do
[ "$r" = "success" ] || { echo "a gate finished as: $r"; exit 1; }
done
shell: /usr/bin/bash -e {0}
env:
RESULTS: success failure success success success
##[endgroup]
gate results: success failure success success success
a gate finished as: failure
##[error]Process completed with exit code 1.
Cleaning up orphan processes

@squid-protocol squid-protocol added the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Oct 20, 2026
@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md labels Oct 20, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol squid-protocol removed the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Oct 20, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol merged commit 73983de into main Oct 20, 2026
59 checks passed
@squid-protocol
squid-protocol deleted the churn/5619-20261020T0917Z branch October 20, 2026 22:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant