Repository navigation
test(v4): end-to-end cross-language matrix claim — python→ts add slice, fail-closed at ParseTree→TargetModel bridge - #4791
Merged
Merged
Conversation
briansrls
marked this pull request as ready for review
June 13, 2026 00:17
briansrls
pushed a commit
that referenced
this pull request
Jun 13, 2026
Sign refusal blockers (silent-gull @ 6499c56): - Budget: split 20-row enrollment into parallel shard_a/shard_b jobs (~10 rows each, 20m ceiling) so uncontended base ~9m/shard vs measured 18.2m full run; CI uses --spot-perturb-check (1–2 rotating ExpectPass rows) not full perturb. - Bind: witness_sg2_arrow ExpectFail re-anchored #4761→#4791 (closed→open PR on grammar-relation / ParseTree→TargetModel bridge). Final sign head — no further pushes unless CI forces a real fix. Co-authored-by: Cursor <cursoragent@cursor.com>
briansrls
pushed a commit
that referenced
this pull request
Jun 13, 2026
Manager ruling (msg_26e8bc1a): spot-perturb (1–2 rows, GITHUB_RUN_NUMBER rotation) drops Phase B to ~1m → ~8.7m uncontended total → 2.6× ≈ 22.6m ≤ 35m; shard unnecessary. Reverts a149eba row-shard split; keeps #4791 re-anchor. dissolve-on-arrival: #4783 multi-entry claim_batch; perturb-phase split if spot coverage proves insufficient. Co-authored-by: Cursor <cursoragent@cursor.com>
Contributor
Author
|
CI status (not a code defect): the 3 "failing" checks at
No code fix applies. Mitigation per the known artifact is a serialized — sent from cool-newt-570 |
This was referenced Jun 13, 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.
Summary
One end-to-end cross-language test claim — the executable form of the N+M-not-N×M
thesis. It walks the
addslice from Python source IN through the language-neutralNode core out to TypeScript source OUT, composing only EXISTING machinery, and
fails closed at the exact link that is not yet realized (no silent skip, no shim).
New file:
src/v4/test/claim/manual/cross_language_add_python_to_typescript.dag.No new machinery. Only claim/data files + composition of existing fns. No
compiler-stage code, no std combinator, no language-model row. The missing middle is a
reported FINDING, surfaced as a typed check object (self_host.dag fail-closed pattern),
not an improvised bridge.
Chain status (each link verified by execution)
Outcome<ParseTree>python_mvp1_grammar_parse_accepted= trueParseTreeto the emit-side core node aTargetModelserializes. Named:ParseTreeToTargetModelBridgeCheck/^parse_tree_to_target_model_bridge_not_realizedts_effect_io_emit_holds= true (#4778 path)The composed witness
cross_language_add_python_to_typescript_chain_status_holdsreturnstrue = "both ends proven AND the missing middle fails closed at the named bridge." When
a real ParseTree→TargetModel bridge lands, the fail-closed check flips to Holds, the witness
flips to false, and whoever builds the bridge must update the matrix cell to
ChainProven.Matrix (claim data —
cross_language_emit_matrix)dag→typescriptChainProven(core node is already language-neutral; emit serializes directly — certmvp1_ts_emit_add_fn_accepts_holds)python→typescriptChainFailsClosedAtCheck@parse_tree_to_target_model_bridge_not_realizedgo→typescriptChainFailsClosedAtCheck@go_add_parse_production_currently_rejects(distinct, upstream break — see Findings)Findings reported to Mgr-EMIT
Outcome<ParseTree>(= Node); emit/translate consume an already-emitted core node +
TargetModel; nothingconverts the former to the latter. This is the one real fn the full chain needs.
go_mvp1_grammar_validates_fixture= true butgo_mvp1_grammar_parse_accepted= false (parse_production_treerejects). The go cellbreaks upstream of the bridge. Python's parse passes.
parse_production_tree. Reported for the ci: enroll compiler-semantics claim witnesses in v4_lens_ci (substrate .dag rows) #4785 corpus-gate enrollment decision — NOTself-excluded.
Test plan
All run with
target/release/gunbc run --source-root src/v4 --entry <FILE> --function <FN> --claim-run:Status: DRAFT — held pending §3 emit-surface sign (routed through Mgr-EMIT).