Repository navigation
Add atomic multi-source environmental memory plans - #15
Merged
Merged
Conversation
afflom
changed the base branch from
codex/draft-environment-memory-fixed-kernel
to
main
November 15, 2026 20:17
afflom
marked this pull request as ready for review
November 15, 2026 20:17
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Scoped release disposition (2026-11-15)
The implementation owner and independent source/acceptance reviewer recommend integrating #14–16 for a bounded native CLI release. This explicitly supersedes the earlier draft hold below requiring full upstream compiler acceptance, and the earlier no-merge/no-release request, for this scope.
The combined source is commit
ef0f7a9ae5ef405e0b7dce37ee5d242d17e16b52, accepted treeae2a9621b1a5765c157ca4cf201ead021918656e, using exact native compiler candidate9fd01c31e40bb29577833825f902fafcceedb49aand Lean 4.32.2. Rule30's full consumer qualification and exact-head hosted gates passed (#14, #15, #16). Full upstream compiler acceptance remains incomplete; this decision does not declare it complete.All documented custody, interruption and archival limitations remain in force. In particular, archival case 73116 remains
boundary_credited=false; only the supported interrupted-open observation is credited. There is no claim of durable archival, exactly-once/restart recovery, universal descendant cleanup, scheduled Engine integration, synthesis, crawling or an inspector replacement. #13 and the optional query-to-research coordinator are separate work, not prerequisites for this scoped CLI release.Native asset publication is still pending exact-byte packaging and custody verification. The retained tested binaries are x86_64 GNU/Linux debug builds, dynamically linked and unstripped, with GLIBC symbol requirements through 2.39. Other platforms and older ABI baselines are untested. Each distributed command must retain its own qualified production/build provenance; a GitHub tag by itself does not deliver these native assets.
The validation record below is preserved as history, including the superseded draft wording.
Callers can now ingest 1–8 explicitly selected Git sources with one native command and query only those exact keys in plan order. The command validates the whole plan before acquisition, accumulates observations in memory, and replaces the canonical store once only after every source succeeds. Successful output requires exact readback. A later-source failure preserves the previous store bytes.
This draft is stacked on #14 (
27a60a6404deac37bc084a3fcbabf2e0d7c07120). It preserves the single-source interface and storage format. It depends on native LexLean candidate9fd01c31e40bb29577833825f902fafcceedb49aand Lean 4.32.2; full upstream compiler acceptance remains outstanding. It does not include #13’s separate inspection/publication work.Validation binds commit
96c1c3a9a12130da34458eea8972b04486417e8c, accepted tree1d3a2719d4a4744f82689bdd685d98f352b041ac, and authored input tree1a6c55f6f61f143eb66b3273f4cce1b7374f1f56. The final tree adds only normal gate-generated PDF/manifest updates to the tested inputs.Quot.soundandpropext. Twelve transition declarations explicitly correct their metadata to that existing transitive pair; they are not axiom-free. Six shared wire facts retain the actual parser obligations.7a751316db06380fbba3e015c8cebc29565badb96fd28deab06aaa99bd5e16a5. Generated preservation certificates retain the compiler’s existing policy, includingClassical.choice; this is not a choice-free certificate claim.9606543b1a4ac03f575095663ca6f0583445f89ff8dfa1e0759c3425d8b9954epassed artifact verification and both offline builds. New executables passed 66 acquisition/compatibility invocations with 258 assertions, plus 15 completed fault/restart invocations with 46 assertions. These cover second-source rollback, 32-full and 31-plus-two refusal, checkout-free ordered queries, exact task preservation, cross-reading, actual acquisition/pre-rename/post-rename interruptions, descendant cleanup, lock behavior, and write/rename/readback faults.The inherited 128 MiB aggregate-source and 24 MiB per-stream child-output limits are unchanged. Extraction retained 18,217,541 normalized stdout bytes, 32 roots, 2,717 constants and 114 externals. Successful capture establishes that raw streams fit the cap; exact raw lengths were not retained. Neither production nor the gate added an OOM event.
The command preserves the 4 KiB whole-file bound, 32-record store, 1 MiB serialization/readback bound, and observed-sources-not-proof label. It requires caller-owned repositories and a private directory without symlink/hardlink aliases or adversarial mutation. Locks need an outer deadline; power-loss durability is not established. The synchronous Host driver assumes owned replies; arbitrary forged/replayed same-variant responses and every metadata/read-state variant were not separately injected. The audited transitions are not a complete filesystem transaction proof.
This is controlled acquisition and context delivery, not GitHub crawling, autonomous synthesis, scheduled Engine learning, or proof authority. Keep this draft pending review, exact-head CI, and upstream compiler acceptance. No merge, release or deployment is requested.