Skip to content

v2 self-host front-end gap lane (cont.): on fresh main (gaps 1-3 merged), run the full-manifest self-parse gate for the VERDICT (compiler_closure_scoped_ingest_parses TRUE = milestone, else located gap-4 Reject), checkpoint, then fix gap-4 and continue lex->parse->normalize->infer->emit - #5404

Closed
gunbai-bot[bot] wants to merge 45 commits into
mainfrom
session/snappy-stag-264-test-claim-cleanup

Conversation

@gunbai-bot

@gunbai-bot gunbai-bot Bot commented Jun 20, 2026

Copy link
Copy Markdown
Contributor

Auto-opened by session-dashboard for session snappy-stag-264.
Pushing to session/snappy-stag-264-test-claim-cleanup advances this PR.

Worker attestation

Before flipping this PR to ready for review, confirm each item:

  • Title describes the change (not the session id or branch).
  • PR body summarises what and why (replace the TODO below).
  • Tests run: name the command (e.g. npm test, cargo test) and the result.
  • If this closes a work item, the body contains a Closes #N directive.
  • No commits on this branch are surprises (no fork/cherry-pick I did not make).
  • No secrets / credentials / large binaries staged.

Summary

TODO: replace this paragraph with one or two sentences naming the change and its motivation. Reviewers read this first.

Test plan

  • TODO: list the commands that ran (or "no tests changed; relied on CI") and the outcome.

briansrls and others added 30 commits June 20, 2026 02:10
Use fold_list (not undefined fold) for witness_layer_roots carrier check.
Rename closure_gunbc_claim_run to avoid transport fn collision; add corpus
clean witness for compiler_closure_ingest_transport.

Co-authored-by: Cursor <cursoragent@cursor.com>
Name dissolution target (ProcessExit host effects, no shell.Exec.Run) and
concrete enroll trigger for bounded-slice gap-4 RED claims when locate lands.

Co-authored-by: Cursor <cursoragent@cursor.com>
… rule

Ephemeral gap-4 locate probes used `test fn` in src/v2/test/fixture/*.dag,
tripping batch-2 discovery-corpus hygiene. Delete investigation-only fixtures
and point the ignored Rust bisect harness at dag_comma_optional_list_test.

Co-authored-by: Cursor <cursoragent@cursor.com>
…layer_roots text-scan)

The N_v2 substrate Rust harness carried use std::process::Command (cargo
shell-out) and a text-scan projection of dsl/gunbc/ci_layer_roots.dag
(witness_layer_root_paths) — the §3 grep-not-lens anti-pattern the operator
flagged. The gate is now a modeled ci_claim_gate test fn in
compiler_closure_emit_from_ingest_test.dag, and the N_v2 cargo-check
measurement is owned by the regen/measurement oracle lane — this forked Rust
harness is redundant. Remove it + its mod registration in lib.rs.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Replace removed emit-wrapper references with transport-aligned claim legs
(layer_roots no-overlay, module_count + parses_holds with manifest). Carrier
witness enrollment was already landed in compiler_closure_ingest_transport.

Co-authored-by: Cursor <cursoragent@cursor.com>
Remote 2a796a0 deleted v2_compiler_closure_nv2_substrate_test.rs — the
broken emit-wrapper references are gone with the harness. Keep lib.rs
duplicate #[cfg(test)] cleanup.

Co-authored-by: Cursor <cursoragent@cursor.com>
Track intentional narrowing vs deleted nv2 shell gate — emit acceptance
stays on regen/measurement oracle lane until N_v2 emit milestone.

Co-authored-by: Cursor <cursoragent@cursor.com>
briansrls and others added 15 commits June 20, 2026 15:23
Malformed let missing `=` also surfaces parse_g0_tokens_remain, so the
discriminating control falsely failed batch-2 discovery. Switch to
unrecognized-char rejection (tokenize_lex_e1) like caret_lex witness.

Co-authored-by: Cursor <cursoragent@cursor.com>
HEAD had a dangling match_arm_stmt_body production (missing expr fn, no
choice arm) that broke grammar validation and floor witnesses. Wire
stmt+repeat body expr, formal row, and expr|stmt_body choice; engine
hook in 02_parse.dag unchanged. All six gap4_parse_tokens_remain
witnesses green-by-execution locally.

Co-authored-by: Cursor <cursoragent@cursor.com>
@briansrls

Copy link
Copy Markdown
Contributor

Closing as superseded by #5406. The lane goal — make the self-parse/ingest milestone pass — is ACHIEVED on main: source_root_ingest_gate is green (verified on #5413 CI) and main carries gap4_parse_tokens_remain_test.dag via #5406 (the merged gap-4 arm-body engine change). This branch is 45 commits behind / CONFLICTING / all-WIP and carries a scripts/*.sh (no-new-shell). Branch retained for salvage of its 3 unique files if a future increment wants them: gap4_ingest_reject_probe.dag, compiler_closure_emit_from_ingest_gate.dag, dag_parse_engine_hooks.dag. Next self-host increment should branch fresh off current main.

@briansrls briansrls closed this Jun 20, 2026
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