Files
ARCADIA-Studio/harness/experiments/analysis-source-s2c-windows-20260913/notes/analysis-source-s2c-run-proposal-20260913.md
T

4.1 KiB

Proposed frozen S2c gates — not started

Read-only preflight after the desktop lease closed verified both .local/as2-20260913 and .local/analysis-core-worktree-20260911 are clean at f1d79df497, with534 scoped committed inputs. Existing distinct .local/analysis-checked-save-target-20260913 is a normal directory. Free disk was5106880512 bytes; inherited PYTHONOPTIMIZE was unset. Every proposed *-f1d79df output stem is absent. No S2c compiler or test was started by this preflight.

Binding decision needed before launch: both reviewed helpers hard-code analysis-core-worktree-20260911, whereas the parent's latest request named as2-20260913. Recommend using the identical frozen analysis-core checkout with these unchanged helpers and its existing cache binding. Using as2 instead requires fresh helper copies with only the checkout binding changed and reviewed; changing shell cwd alone will not redirect these helpers. Parent has been asked to resolve this before execution.

Reviewed helper pins:

  • .local/run-analysis-source-gate.py: d8d9c1c9e9dc94fdd43afb4118ebc491c8eb6d89082f8441f8395b9d4265b068.
  • .local/admit-analysis-s2c-gate-r2.py: d2bd3c38feb77b8e916b3d413a278d4b0960baff8e14843aed4c2b20c26c90e1.

The admitter independently pins admitted a2 listing142 plus ten exact writer tests, requiring actual listing152, typed44 and raw-token1. It rereads all534 committed inputs and the actual emitted test executable; original S2b results remain historical. Its non-assert guard refuses optimized Python. The raw recorder still relies on assertions, so the invocation must reject a nonempty PYTHONOPTIMIZE and use Python without -O.

Proposed commands after parent accepts binding and scope, from repository root with the same known Cargo/Rustup/LLVM toolchain environment as desktop, except CARGO_TARGET_DIR must be the distinct analysis target below:

$analysisPython = 'C:/Users/User/.cache/codex-runtimes/codex-primary-runtime/dependencies/python/python.exe'
$analysisSource = 'f1d79df4979121335ed7b4ce4da84b2fca8a9ef4'
$env:CARGO_TARGET_DIR = 'C:/Users/User/Documents/Git/ARCADIA-Studio/.local/analysis-checked-save-target-20260913'
$env:CARGO_BUILD_JOBS = '1'
if ($env:PYTHONOPTIMIZE) { throw 'Use unoptimized Python for analysis admission.' }
& $analysisPython -B .local/run-analysis-source-gate.py $analysisSource list-f1d79df list
& $analysisPython -B .local/admit-analysis-s2c-gate-r2.py list-f1d79df
& $analysisPython -B .local/run-analysis-source-gate.py $analysisSource typed-f1d79df focused language::analysis_source
& $analysisPython -B .local/admit-analysis-s2c-gate-r2.py typed-f1d79df list-f1d79df language::analysis_source
& $analysisPython -B .local/run-analysis-source-gate.py $analysisSource tokens-f1d79df focused language::raw_tokens
& $analysisPython -B .local/admit-analysis-s2c-gate-r2.py tokens-f1d79df list-f1d79df language::raw_tokens
& $analysisPython -B .local/run-analysis-source-gate.py $analysisSource full-f1d79df full
& $analysisPython -B .local/run-analysis-source-gate.py $analysisSource strict-f1d79df clippy

These are a proposed serial sequence, not a blindly chained shell script: consume each closed result and require admission before dependent gates. Stop on any new failure. Listing must be152; typed must be44 passes (including all10 writer tests); token must be1 pass. If parent includes full/strict scope, full is expected to remain 136 passed/16 existing unsupported-source8 failures, reflecting the unchanged public gate plus10 new writer tests; compare the exact failure set against retained full-a2a28f8 rather than treating exit101 alone as acceptable. There is deliberately no full-pass admission or old-failure waiver in the r2 admitter. Strict all-targets requires actual exit0 and unchanged inputs. Full and strict retain their actual raw receipts for separate review.

No source8/public wiring or S2b source mutation is proposed. This is staged private writer/parser/lowerer evidence, not public source8, production source indexing, save/migration or native acceptance. The root desktop target and preserved feab test/GUI executables must remain untouched by analysis compilation.