Skip to content

Consolidate compiler authorities and restore source-bound acceptance - #110

Draft
adpena wants to merge 88 commits into
mainfrom
codex/async-exception-edge-consolidation-20260903
Draft

adpena wants to merge 88 commits into
mainfrom
codex/async-exception-edge-consolidation-20260903

Conversation

@adpena

@adpena adpena commented Sep 9, 2026

Copy link
Copy Markdown
Owner

Scope

Consolidates the existing compiler/runtime/frontend and artifact-custody integration bank into one revision. Includes durable publication retirement/recovery, immutable LLVM installer provenance, and the Python/Wasmtime dependency updates already documented in the bank.

Latest published repair: e445790

Closes the shared source/toolchain failures observed in run 34386557914:

  • Cargo target-cfg evaluation, typed StringList configuration and metadata-query environment use one cross-platform authority.
  • Tool imports validate executed module origins and bind pure namespace packages, children, specs, loaders and resources to the selected checkout.
  • The Git hook selects worktree PYTHONPATH before Python startup, uses one uv no-project/offline/no-config envelope, and requires the common checkout's platform-native interpreter. No ambient interpreter or project-sync fallback. Foreign hook chains survive repeated refresh.
  • Stdlib intrinsic relationships retain unresolved import evidence rather than inventing static edges. Windows source identity and scratch-path consumers are repaired.

Prior bacf150 repairs remain included: shared native symbol-reader identity/custody, Python capture topology and Mach-O identity, frontend protocol generation, WASM section bounds, and owning-source guard diagnostics.

Evidence and limits

  • Cargo metadata/cfg final batch: 142 passed in 9.47s.
  • Namespace/import consumer final batch: 105 passed in 27.63s.
  • Intrinsic/audit boundary: 46 passed in 4.93s.
  • Proof-plan/workflow consumer batch: 145 passed in 26.04s.
  • Hook/installer/drift batch: 15 passed in 9.02s, including executed non-WSL Bash with spaced paths and wrong-platform rejection. Actual Git dry-run and publication both passed the installed drift gate without bypass.
  • Ruff lint/format, changed production/tool typing, generated proof-plan synchronization and staged secret/diff checks passed at their recorded repair boundaries.
  • Original failures and corrective receipts are retained separately; these counts are not one aggregate suite.
  • Existing dependency audits and prior consumer receipts remain scoped to their original inputs.

Canonical latest receipt: C:/Molt/evidence/expression-authority-20260908/ci2-repair-submission-20260909.json. Hook publication receipt: ci2-hook-publication-invocation.json.

Frontend dependency-graph and stage-boundary consolidation is still local WIP and is NOT included in this published revision. No frontend performance improvement is claimed.

Required acceptance

Previous run https://github.com/adpena/molt/actions/runs/34386557914 failed and must not be treated as acceptance. Require a fresh source-bound generated CI Proof Plan Verdict over every selected family before landing on main.

Zero native/WASM conformance matrix cells are claimed closed. Local compiled runtime acceptance timed out during compilation and has not been retried unchanged. Three donor worktrees remain preserved and are not prune-certified; the external satellite-compilation ownership patch is not part of this revision.

Replace object-valued subprocess option bags with shared typed launch contracts across queue, guard, and pytest consumers. Validate named environment and receipt structures before use, preserving precise rejection diagnostics and bytes/text result types.

Focused type checks and four test selections (18, 15, 12, and 8 passed) are green; op-kind, WASM ABI, Luau matrix, and proof-plan checks pass. Native/WASM integration and landing remain pending. Broader sibling type audit has 77 unresolved diagnostics, recorded under C:/Molt/logs/agents/consolidation-20260905-remaining-type-diagnostics.txt; no baseline classification is claimed.
Retire only exclusive loop polling markers before staged mutation; retain synchronous exception edges and shared call/loop roles. Add direct arithmetic/call and split-latch regressions, real CPython oracle, and fast harness proof routing. Restore generated proof-plan freshness and Windows process API portability routing. Lightweight checks pass; Rust and native/WASM matrix proofs remain pending under the operator gaming memory constraint. Queue notes 241-243 retain evidence and donor preservation custody.
Consolidate immutable validation, detached attestation, registered promotion and crash recovery; share file publication across CLI, package seals and proof CAS. Bind execution support and symbol facts to verified inventory and stable artifact bytes. Preserve donor WIP and pending compiled matrix proof. Evidence: proof queue notes 250-252.
Unify captured Cargo execution, native/WASM publication and link admission under exact family/member receipts. Preserve native tool admission with distinct generic-resource and executable custody; eliminate timestamp-only archive/backend reuse and shared WASM facade state. Harvest frontend binding-flow authority and callback ordering from preserved donor signal.

Python consumer closure: 1386 passing broad tests followed by exact corrective replays; final admission replay 392 passed with the final receipt-path fixture replay passing separately. Native/WASM compiled matrix claims remain pending queue-owned proof. Donors preserved; no C-ABI writes.
Unify indexed primitive result facts, scalar effects, CFG traversal and atomic block retirement across compiler consumers. Consolidate frontend frame, namespace and argument scheduling plus typed native artifact, publication and receipt custody. Retire duplicate lexical scans and quadratic indentation rescanning with output-equivalent measurements.

Bank the complete reviewed integration closure before source-bound compiled acceptance. Current integrated lexical/generator consumers: 250 passed, one slow ratchet deselected. Prior compiler replay was interrupted by host reboot; compiler/runtime/target acceptance remains pending. No native/WASM matrix completion or release claim.
Unify reader-bound symbol caches and lexical/content/version custody; preserve typed execution diagnostics. Repair native Python environment topology and Mach-O identity, bounded capture reuse, frontend contextmanager protocol projections, WASM section bounds, and owning-source guards. Regenerate CI and compatibility projections.

Evidence: C:/Molt/evidence/expression-authority-20260908/ci-repair-submission-20260909.json. Final selected-reader suite97pass; diagnostic suite49pass; identity failures repaired by67pass follow-up. Ruff, generators, workflow and secret checks pass. Linux/Darwin CPython3.12 typing clean; Windows retains one ty0.0.53 public-API deprecation false positive. Remote compiler and native/WASM acceptance pending; no completed matrix cell or main landing claim.
Use one uv no-project startup envelope with platform-native common interpreter and worktree PYTHONPATH before site initialization. Preserve foreign hook chaining on repeated refresh. Prove actual Git hook dry-run and 15 tests including executed non-WSL Bash envelope with spaced paths and wrong-platform rejection. Normalize drift-test LF and repair canonical-root fixture custody. Native/WASM acceptance remains pending.
Route nested file staging through bounded shared names. Separate configured
launchers from observed images across native census, closure and v5 receipts;
Linux main-image identity binds loader/auxv/kernel mapping. Update projections
and Linux lexical-path/audit-event assertions.

Proof: publication batch 236 passed; loader class batch 243 passed/1 stale
expectation, repaired and corrective census/receipt batch 127 passed; shared
environment consumers 3 passed. Ruff20files, generated proof-plan, staged
secret guard and diff checks pass. Exact receipts under
C:/Molt/evidence/expression-authority-20260908/ci4-*. No native/WASM cell
closure; Linux slow tests and live host matrix remain deferred while gaming.
Runtime lockfile, Windows timeout attribution and WASM timeout remain open.
Move the unchanged eager import and lazy declaration blocks into normal module order. Remove all38E402 findings without suppressions. Extend cold-import proof for lazy dir, unloaded proxies and canonical cached reexports. Four targeted import,entrypoint,hash-seed tests passed in7.00s; Ruff and formatting pass. Evidence: C:/Molt/evidence/expression-authority-20260908/ci5-cli-import-authority-invocation.json. No performance or conformance matrix claim.
Remove import-time pytest/active-marker roots and duplicated sidecar naming and admission. Shared memory_guard_paths now owns parent allocation, child validation and repro-read containment. Preserve supplied command environments through outer handoffs and harness profile paths. Portability CI uses unbuffered verbose pytest results to retain node identities before timeout. Forty synthetic custody/projection cases passed in6.87s; changed Python Ruff and Windows CPython3.12 ty pass; generated projection and secret/diff checks pass. Exact receipts: C:/Molt/evidence/expression-authority-20260908/ci5-dynamic-guard-custody-invocation.json. No live CI, timeout elimination, native/WASM conformance or speedup claim.
Move all 51 ordinary crates to the root workspace and delete the secondary runtime manifest and lock. Share typed manifest facts across lock custody and semantic auditing; migrate execution and documentation consumers without changing root profiles. Proved by locked Cargo resolution/metadata, 98 final contracts, 64 corrective contracts, Cargo truth runner tests and exact CLI update selection. Native/WASM and cross-platform release acceptance remain outstanding.
Integrate canonical code/frame/cell metadata, generated backend consumers, source-import and package custody, typed C-ABI ownership and numeric operand presence with regression sources and aligned public documentation. Source consolidation only: clean-source runtime/backend checks, retained codec replay and same-revision native/WASM acceptance remain pending; no release or donor-prune claim.
…horities

Reconcile path-local exception and context cleanup across frontend, shared graph, passes and backends. Retire textual region, speculative class/result cache, frontend LICM and duplicate JSON decode authorities. Preserve typed differential outcomes and align initial-release claims.

Reviewed by Astra and Sol; prior targeted diagnostics recorded under C:/Molt/evidence/expression-authority-20260908. Clean-source registered runtime/compiler proofs follow this local integration commit; no full native/WASM guest or release acceptance claimed.
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