Skip to content

Stage0 regen lockstep re-repair: .dag authority + mirror sync (doc_reachability + 2 drifted hand-mods, bytes_identity_hash host-fn, advisory family) - #5514

Merged
briansrls merged 4 commits into
mainfrom
session/proud-gull-112
Jun 22, 2026
Merged

briansrls merged 4 commits into
mainfrom
session/proud-gull-112

Conversation

@briansrls

@briansrls briansrls commented Jun 22, 2026 •

Copy link
Copy Markdown
Contributor

Re-repair the regen_stage0 .dag authority so it matches the committed seed's
end 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)

Mirror sync (generated .rs kept in lockstep, concat-associative, build-green)

  • 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).

Bonus

Verified by execution: cargo build green, cargo fmt --check clean, cargo clippy --all-targets -D warnings clean, 8/8 regen_stage0 unit tests pass.

Brian Searls and others added 4 commits June 22, 2026 02:02
… 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>
@gunbai-bot
gunbai-bot Bot marked this pull request as ready for review June 22, 2026 02:30
@gunbai-bot gunbai-bot Bot changed the title Stage0 regen-lockstep RE-REPAIR plus a regen-equals-committed CI drift-gate. The regen_stage0 verify fixpoint is broken again on main (SS7 18-error hole): re-repair the instance - wire doc_reachability_project into the seed file list, add missing runtime host-fns bytes_identity_hash and utf8_decode_ Stage0 regen lockstep re-repair: .dag authority + mirror sync (doc_reachability + 2 drifted hand-mods, bytes_identity_hash host-fn, advisory family) Jun 22, 2026
@briansrls
briansrls merged commit e461ea9 into main Jun 22, 2026
1 of 2 checks passed
@briansrls
briansrls deleted the session/proud-gull-112 branch June 22, 2026 05:27
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>
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