audit: phase 0 tooling for file-by-file 40250 porting

- refroot.py: one reference-root resolver (MT_40250_SOURCE, then manifest)
  used by every audit script; missing tree or fingerprint input is an error
- port_map.py: per-function inventory of active 40250 units plus the
  40250 Python root, status/queue/init/show/check, 40250: tag scan
- manifest: fix 18 wrong reference paths (Python UI now points at the
  40250 Client/Eternexus/root, not the m2dev assets/root), drop 2 deleted
  implementation files, move 64 prose test entries to evidence.commands
- first port-map entry: PythonPlayerEventHandler.cpp
- roadmap replaced by a batch/unit queue

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
shenlei
2026-09-22 17:17:49 +09:00
co-authored by Claude Opus 5
parent 6a175ee293
commit 55f733fda6
16 changed files with 621 additions and 468 deletions
@@ -14,6 +14,8 @@ import json
import re
from pathlib import Path
import refroot # script directory is on sys.path when run directly
CONTROL_VALUES = {44, 152, 153, 250, 251, 252, 253, 254, 255}
OBSERVER_VALUES = {96, 97, 98}
@@ -88,7 +90,7 @@ def reference_phase_values(root: Path, filename: str) -> set[int]:
def audit(repo_root: Path) -> dict:
reference_root = repo_root.parent / "40250/Server Client TMP4/ClientVS22/source"
reference_root = refroot.reference_root(repo_root)
wire = repo_root / "extension/src/net/classic/wire_classic.h"
session_path = repo_root / "extension/src/net/classic/classic_session.cpp"
reference_phases = {