Skip to content

HAND lens E: retire transport_script_position_project.rs — lens .dag owns verdict - #6028

Merged
briansrls merged 18 commits into
mainfrom
session/still-crab-325
Jul 1, 2026
Merged

briansrls merged 18 commits into
mainfrom
session/still-crab-325

Conversation

@briansrls

@briansrls briansrls commented Jun 30, 2026 •

Copy link
Copy Markdown
Contributor

Summary

First file in the HAND lens E dissolution queue (Chunk D): retire transport_script_position_project.rs so the interpreter evaluates v2/lens/host_language_transport_script.dag tables directly.

  • Add transport_script_position_facts_for_path host builtin (fact extraction only) in module_path_index.rs
  • Wire transport_script_live_literal_violation_count_for_path through pure .dag logic (transport_script_literal_violation_count(facts: …))
  • Remove transport_script_literal_violation_count_for_path builtin and delete the projection .rs
  • Drop from HAND_MAINTAINED_STAGE0_FILES, 05_emit_rust.dag mod list, and bootstrap copy/exclude lists
  • regen_verify_gate_passes green on prior CI run (before fleet OOM kill)

Test plan

  • regen_verify_gate_passes passed in CI batch 5 @ 9c14c21 (before OOM kill in batch 7)
  • Floor discovery corpus 1120/1120 witnesses passed @ 9c14c21
  • Fix duplicate HashMap import compile error from d7ea7d2
  • CI re-trigger @ dff489f (prior failures were exit-137 OOM on srv1 runners, not code)

@gunbai-bot gunbai-bot Bot changed the title HAND lens E: interpreter reads v2/lens/*.dag tables → retire 13 census projection .rs (regen-verify per file) HAND lens E: retire transport_script_position_project.rs — lens .dag owns verdict Jun 30, 2026
@gunbai-bot
gunbai-bot Bot marked this pull request as ready for review June 30, 2026 21:00
@gunbai-bot
gunbai-bot Bot force-pushed the session/still-crab-325 branch 4 times, most recently from 81c8cfc to cac0f1a Compare July 1, 2026 02:26
@gunbai-bot

gunbai-bot Bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Addressing REQUEST_CHANGES (head 7bfe72ad8):

Duplicated dissolution-trigger literal — fixed. gunbc.hand_lens_host_bridge_scaffold_index is now the single authority; both hand_lens_host_bridge_scaffold_watchdog and v2.lens.host_language_transport_script import it. The watchdog roster check now requires exact equality to that constant (replacing the fail-open substring self-check).

ci_floor_plan zero-budget witness — the prior hunk was a CI unblock for #6059 (gunbc_ci_plan_spawn_width now int_min(floor, exec)); testing plan_spawn_width(0) was the wrong target. The witness now reads gunbc_ci_floor_spawn_width_for_budget(byte_size(0)) and still pins the exact conservative fallback (== 4), matching witness_floor_unreadable_budget_uses_conservative_envelope. Kept on this branch because floor CI was red without it; isolated in its own commit.

— sent from still-crab-325

Brian Searls and others added 9 commits July 1, 2026 03:50
rust_tests and ci both failed with exit 137 / cgroup memory.max on
srv1 runners — not a code regression. regen_verify_gate_passes was
green before the OOM kill in batch 7.

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

Add corpus witness proving transport_script_position_facts_live → lens
verdict on real read-back (computed corpus Holds, literal perturb Violation).
Register gunbc#5364 dissolution trigger in hand_lens_host_bridge_scaffold_watchdog
roster, not comment-only in cli_run.rs.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
- Add gunbc.hand_lens_host_bridge_scaffold_index as sole owner of the
  transport_script dissolution-trigger literal; lens + watchdog import it.
- Watchdog roster now requires exact equality to the authority constant
  (not substring "5364" self-check).
- ci_floor_spawn_width_zero_budget witness reads floor budget fold directly
  (conservative fallback == 4) after #6059 plan fold gained exec min.

Co-authored-by: Cursor <cursoragent@cursor.com>
@gunbai-bot
gunbai-bot Bot force-pushed the session/still-crab-325 branch from 7bfe72a to 72e24ed Compare July 1, 2026 03:51
Brian Searls and others added 9 commits July 1, 2026 04:07
Dissolution trigger authority lives in hand_lens_host_bridge_scaffold_index;
watchdog enforces roster equality. Lens module only owns verdict logic.

Co-authored-by: Cursor <cursoragent@cursor.com>
Resolve ci_floor_plan.dag witness conflict: adopt main's
gunbc_ci_plan_spawn_width(memory_budget_bytes: 0) form from #6079
(semantically equivalent — plan_spawn_width delegates to
floor_spawn_width_for_budget).

Co-authored-by: Cursor <cursoragent@cursor.com>
Drop witness_floor_spawn_width_zero_budget_falls_back — main #6087 removed tautological spawn-width witnesses.

Co-authored-by: Cursor <cursoragent@cursor.com>
@briansrls
briansrls merged commit e7664ae into main Jul 1, 2026
4 of 6 checks passed
@briansrls
briansrls deleted the session/still-crab-325 branch July 1, 2026 18:20
briansrls added a commit that referenced this pull request Jul 1, 2026
#6028 removed transport_script_position_census; our PR removes
non_fold_residue_census. Neither belongs in mod.rs on current main.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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