Repository navigation
Stage0 regen lockstep re-repair: .dag authority + mirror sync (doc_reachability + 2 drifted hand-mods, bytes_identity_hash host-fn, advisory family) - #5514
Merged
Conversation
… green-fixpoint yet) Re-repair the .dag authority so it matches the committed seed's end products, reducing the regen drift surface. Additive, cargo-green on the current seed; the clean green regen fixpoint + the drift-gate are deferred (they converge with the Route-A emitter self-host, since regen-write still emits a non-building seed from ~150 emitter-completeness gaps, not these pieces). .dag authority (single-authority, no hand-Rust-logic in seed): - runtime_rust.dag: add host-fn bytes_identity_hash (byte-level authority); atom_identity_hash now delegates to it. - compile.dag: model compile_to_resolved_discovery_corpus_advisory + compile_to_resolved_with_options_gated + is_resolved_pipeline_typecheck_blocking; import is_discovery_corpus_blocking_diagnostic. - 05_emit_rust.dag emit_lib_rs hand-module list + regen_stage0.rs HAND_MAINTAINED_STAGE0_FILES: wire doc_reachability_project and the two further drifted-in hand modules cache_purity_oracle + medium_structure_project (#5423/#5500). Mirror sync (generated .rs kept in lockstep with the .dag edits, concat-associative): - v1_compiler_emit_rust.rs hand_maintained_mods string == the .dag list. - v1_compiler_runtime_rust.rs rt_hash_ops emits bytes_identity_hash + delegation. - v1_compiler_compile.rs already carried the advisory family (consistent). Also fix a leftover v2->v1 rename in a regen_stage0 unit test fixture (#5028). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This was referenced Jun 22, 2026
ROADMAP transcription: author roadmap_authority as the .dag source + fold 6 status corrections
#5531
Merged
briansrls
added a commit
that referenced
this pull request
Jun 22, 2026
…eted emit_rust caveat) (#5547) * docs/plans: regen-verify-gate required facts (durable carrier for the deleted emit_rust hand-sync caveat) The comment-ban sweep deleted v1_compiler_emit_rust.rs's 41-line HAND-SYNCED MIRROR header (operator-directed; git=backup). The header described a regen hazard but enforced nothing — its structural home is the regen --verify gate. Pins the load-bearing specifics (2 hand-resolved drifts + #5514 deferral + dissolution trigger) so they survive work-item churn and ride the gate when it lands. Breadcrumb node://adhoc-80af9ff8-40f. * ROADMAP: link regen-verify-gate-required-facts brief from the regen --verify keystone (orphan-doc gate inbound link) --------- Co-authored-by: Brian Searls <briansrls@gunb.ai>
This was referenced Jun 22, 2026
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.
Re-repair the regen_stage0
.dagauthority so it matches the committed seed'send products, reducing the regen drift surface. Additive, cargo-green on the
current seed. No green-fixpoint claimed and the drift-gate is not wired —
both are the tail of the Route-A emitter self-host (regen-write still emits a
non-building seed from ~150 emitter-completeness gaps, not these pieces).
.dag authority (single-authority, no hand-Rust-logic in the seed)
runtime_rust.dag: add host-fnbytes_identity_hash(byte-level authority);atom_identity_hashnow delegates to it.compile.dag: modelcompile_to_resolved_discovery_corpus_advisory+compile_to_resolved_with_options_gated+is_resolved_pipeline_typecheck_blocking; importis_discovery_corpus_blocking_diagnostic.05_emit_rust.dagemit_lib_rshand-module list +regen_stage0.rsHAND_MAINTAINED_STAGE0_FILES: wiredoc_reachability_projectand the two further drifted-in hand modulescache_purity_oracle+medium_structure_project(Cache key-completeness lens: ToolchainChange invalidation ⟹ a toolchain input in inputs_considered (fix resolved_graph_cache) #5423/MediumStructureLeak lens: medium stays a Node, string only at the edge (generalizes the realization-vocab guard, DESIGN §5.1) #5500).Mirror sync (generated
.rskept in lockstep, concat-associative, build-green)v1_compiler_emit_rust.rshand_maintained_modsstring == the.daglist.v1_compiler_runtime_rust.rsrt_hash_opsemitsbytes_identity_hash+ delegation.v1_compiler_compile.rsalready carried the advisory family (consistent).Bonus
regen_stage0unit-test fixture (Rename compiler generations: v2 → v1, v4 → v2 (full/deep) #5028) — an ungated-test-rot instance (the CI rust gate runs a narrow scope, so this unit test was failing localcargo testwithout reddening CI).Verified by execution:
cargo buildgreen,cargo fmt --checkclean,cargo clippy --all-targets -D warningsclean, 8/8regen_stage0unit tests pass.