Skip to content

Share R1 semantic preparation through cooperative scope capabilities - #16

Draft
trissim wants to merge 12 commits into
mainfrom
fix/r1-preparation-owner-357-20261001
Draft

trissim wants to merge 12 commits into
mainfrom
fix/r1-preparation-owner-357-20261001

Conversation

@trissim

@trissim trissim commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

Source owner Schrodinger/Codex; parent owns integration and original complete/installed qualification. References #11, pinned #12 (673c062), and OpenHCSDev/openhcs#357.

Current production checkpoint fbee396; evidence checkpoint14335ab. Current owner/behavior/cleanup receipt, freeze manifest.

Existing LexicalScopeBindingAuthority still determines bindings. Existing ParsedModuleClassFunctionStackNodeVisitor now determines them once per function event and passes the immutable answers through cooperative function_scope context hooks. Independent presentation/check owners retain their concrete prelude/postlude behavior; duplicated leaf binding calls/event overrides are deleted. ClassFunctionStackNodeVisitor owns name restoration for traversal and mapping postlude, deleting unsafe copied push/pop. No cache, mirrored store/roster, dispatch table or compatibility path. Matching super Assign/AnnAssign/Return hooks and projection-local suppression remain intact.

Independent BindingCensus declarations/hooks participate before and after the actual visitor in C3 with no generic consumer edits. Retained red experiment demonstrates two body determinations; candidate uses one. Twelve new behavioral cases exercise nested/async order, fresh invocation and body/entry/exit/postlude failures. 79 distinct current source cases pass under serial oneCPU/512MiB/no-swap/60s bounds, peak103.57MiB. Original four-source complete fact signatures remain identical; single-sample timing is essentially flat, not a whole-R1 improvement claim. Authoritative NRA/refactor-audit IMPL-4/12/13 and switch/roster/store/compatibility patterns reviewed against actual diff.

Original full-context18910a5 R1 remains FAILED: ScanDeadlineExceeded160s, exit1/164.42s/187.41MiB before the first base scan result. Immutable failure and bounded publication profile. Earlier baseline-equal unproved_execution_effects failure and timeout remain retained. No identical full R1 replay, proof waiver or budget increase. Original791650087->3d58912, all3roots/eightexactdeps and immutable4c6282f5 consumer unchanged. Candidate original R1, installed acceptance and global85/FULL remain UNQUALIFIED, with parent retaining those gates. Class syntax facet binding requests remain independent.

Only completed owned /home/ts/.cache/agent-scratch/nra-r1-function-scope-357-20261001 removed:1316KiB, after checksum/no-handle/process/realpath proof; seven logs and original failed evidence retained. No new WT/env/install/download/native/science/shared-lock change. Previous19MiB/816KiB/288KiB owned roots already absent. Source development remains active, not terminated by a submission count.

@trissim trissim changed the title Repair original R1 preparation cost without weakening cache or proof admission Share R1 semantic preparation through cooperative scope capabilities Oct 1, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant