Skip to content

Adopt the v0.5 Host interface and preserve output bytes - #2

Merged
afflom merged 2 commits into
mainfrom
codex/v05-host-integration
Nov 3, 2026
Merged

afflom merged 2 commits into
mainfrom
codex/v05-host-integration

Conversation

@afflom

@afflom afflom commented Nov 3, 2026 •

Copy link
Copy Markdown
Owner

R30 previously mirrored a proposed Host protocol and converted exit output through a limited text decoder. It now imports the actual LexLeanStd.Host source interface from LexLean #389, forward-ported to release/v0.5 in #396. The vendored Host file is byte-identical to #389 at afe1a002f218f0eba9ee3f309793d135c45e5e7d.

The adapter handles fallible startup paths. Register-reading commands report a working-directory failure; help, version and list help remain usable without that directory. Exit output concatenates UTF-8 literal pieces and unchanged captured bytes, avoiding the old decoder's character table. The interface also carries optional file identities and timed multi-child wait results. The attention catalog includes one maintenance task for each of all 30 application and library modules.

The compiler pin is 7037c54838e47c999b64fbae4458ac26aea82347, based on release/v0.5. Source-package locks, compiler/target identities and generated PrismPM records are refreshed. All new application logic and traces are LexLean. The only legacy Python change updates two fixed dependency-digest values; no runtime logic is added. CI and runtime use local deterministic tools, with no remote models.

Validation: the full installed pre-commit hook passed on tree dd5fa08e96d452ed80b3319a97420de221d127ba: 243 tooling tests (4 conditional bundle comparisons skipped), research and bridge axiom audits, kernel replay evidence for all 69 research modules, all LexLean projects, API kernel replay and Rust preservation certificates, and generated PDF/manifests. New traces cover startup failure and help behavior; general theorems state preservation of arbitrary captured bytes and exit composition. The published tree is identical to the accepted tree. CI passed on the final head, and maintainer review found no unresolved code issue before merge.

The compiler exports pure libraries. Its generated host driver, effect enforcement and integration of the new research executor remain implementation work; this PR does not complete live-engine migration or solve Problem 1. Upstream #396 remains draft pending its full acceptance sequence.

@afflom afflom left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maintainer review: the API now uses the actual LexLeanStd.Host nominal types while keeping its existing typed harness and traces. Checked the source-package pin, constructor payload compatibility, refreshed compiler/target identities, and the 30-module maintenance inventory. The published tree exactly matches the successful pre-commit tree. The remaining Python edit is restricted to two dependency digest values. No remote-model call or dependency is introduced. Live driver/executor work and the upstream draft's incomplete full gate are explicitly documented. Merge remains contingent on this PR's CI result.

@afflom afflom changed the title Adopt the v0.5 Host interface and remove duplicate protocol types Adopt the v0.5 Host interface and preserve output bytes Nov 3, 2026

@afflom afflom left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated maintainer review for this head: verified the vendored Host blob matches upstream #389 exactly, and reviewed all adapter branches against its eight events and fourteen requests. Startup errors are checked only for register-reading commands, so help/version/list help remain independent of the working directory. Exit realization now composes UTF-8 literals with unchanged captured bytes; its general theorem and the new startup traces passed the full pre-commit gate. Reviewed dependency identities, the 30-module attention inventory, the unchanged research proof boundary, and the absence of new Python runtime logic or remote-model calls. Tree dd5fa08e96d452ed80b3319a97420de221d127ba is identical to the accepted local tree. No unresolved code finding remains; merge is contingent on CI for this exact head. The driver/effect implementation and research executor are still explicitly unfinished.

@afflom
afflom marked this pull request as ready for review November 3, 2026 03:46
@afflom
afflom merged commit e8f7a96 into main Nov 3, 2026
1 check passed
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