Skip to content
Merged
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
395ae12
Carry the refusal location on the catch-all assemble cause
Aug 12, 2026
2880549
SH-D D0: move the refusal location onto AssembleRejectionDetail, clos…
Aug 12, 2026
91e34e0
SH-D D0: regenerate the round-trip fixture from real emitted bytes
Aug 12, 2026
c44a839
SH-D D0: derive the clustering verdict's dominant reason from the rec…
Aug 12, 2026
04df022
SH-D: unland the local probe instruments swept in by git add -A
Aug 12, 2026
8f8144c
Merge main (ArtifactIdentity homonym fix #8177) into SH-D D0
Aug 12, 2026
81b7404
Merge main into SH-D D0
Aug 12, 2026
283a3f0
Compute the reason tally only on the arm that consumes it
Aug 12, 2026
e6dd8e6
Refuse an empty ingest instead of reporting the module missing
Aug 12, 2026
4634377
Bind the location field in the last stale AssembleRejectionDetail pat…
Aug 12, 2026
2bc11e0
Make the clustering witness require a nonempty survey
Aug 12, 2026
3dd4439
Merge main
Aug 13, 2026
29558c8
BL-0: give the body-lowering frontier its third state
Aug 13, 2026
6fb75a7
BL-2: parameterise the census roster, and add the body-lowering popul…
Aug 13, 2026
b3fb5f1
BL-2 first reading: neither SH-D shard retains as a file
Aug 13, 2026
4418a7c
Merge remote-tracking branch 'origin/main' into session/warm-fox-179
Aug 13, 2026
bd7b963
Merge remote-tracking branch 'origin/main' into session/warm-fox-179
Aug 13, 2026
766a1bd
BL-2: delete the aggregate helpers, which counted refusals and render…
Aug 13, 2026
5162c36
BL-2: separate the subject roster from the execution batch
Aug 13, 2026
218c075
BL-2: make the roster module compile
Aug 13, 2026
e569a53
BL-2: record the executed program receipt
Aug 13, 2026
85bbc6f
Merge main up to 3c533ba05 (BL-0 landed), stopping short of #8214
Aug 13, 2026
2d90b07
BL-2: render stages through the one label authority
Aug 13, 2026
6ab0ffe
BL-2: scope a census refusal to the batch, not to the roster
Aug 13, 2026
0fc5656
BL-2: derive what a stage licenses, and correct the stale occurrence_…
Aug 13, 2026
90dda8f
Merge main: #8235 repaired the annotation class, so the partial merge…
Aug 13, 2026
41dbe7e
Merge remote-tracking branch 'origin/main' into session/warm-fox-179
Aug 14, 2026
8ab9076
BL-1: seal NormalizedTree behind an admission door so retention canno…
Aug 14, 2026
12466c1
BL-1: correct the typecheck-blindness receipt to wrapper-payload conf…
Aug 14, 2026
c02eab2
BL-1: delete the retention-recognizer fork, consume the producer's own
Aug 14, 2026
902e235
BL-1: convert the name-resolve fixtures, and close three seams they e…
Aug 14, 2026
423c4f9
BL-1: convert the witness callers the floor found, and re-cut the den…
Aug 14, 2026
28e0807
BL-1: stop the plural door duplicating its shared diagnostics N+1 times
Aug 14, 2026
f008371
BL-1: convert the self-host intermediate the caller census missed
Aug 14, 2026
58e7410
BL-1: close the conversion population by fixpoint over three syntacti…
Aug 14, 2026
216e5a6
BL-1: revert two over-applied .root projections, and record the direc…
Aug 14, 2026
af6a19a
BL-1: correct 8.2's direction rule -- one symptom, two defects, truth…
Aug 14, 2026
0adcd76
Merge remote-tracking branch 'origin/main' into session/warm-fox-179
Aug 14, 2026
461475d
Merge remote-tracking branch 'origin/main' into session/warm-fox-179
Aug 14, 2026
a1316ea
Admit the add-arrow fixture through the door instead of casting past it
Aug 14, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 30 additions & 15 deletions src/v2/test/claim/body_lowering/arrow_body_form_witness_test.dag
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
module v2.test.claim.body_lowering.arrow_body_form_witness

import v2.compiler.normalized_tree { NormalizedTree, admit_normalized_tree }
import v2.compiler.resolve { resolve }
import v2.extdeps.languages.dag {
dag_add_arrow_with_body_node,
Expand All @@ -10,7 +11,7 @@ import v2.extdeps.languages.dag {
dag_match_arrow_with_body_node,
dag_type_atom_node
}
import v2.std.diagnostic { Accepted, Rejected }
import v2.std.diagnostic { Accepted, None, Outcome, Rejected }
import v2.std.node {
Arrow,
Atom,
Expand Down Expand Up @@ -115,26 +116,40 @@ fn arrow_body_form_zero_arrow_fixture() -> Optional<Node> {
}
}

// The add-arrow fixture reaches `resolve` through the admission door, never as a raw
// `Node`. `resolve` declares `tree: NormalizedTree`, and BL-1 sealed that carrier so the
// only way in is `admit_normalized_tree`; a fixture that reached past it would plant the
// wrapper-payload conflation this witness population exists to keep out. The `Rejected`
// arm FAILS the witness rather than skipping it — an unadmittable fixture is a defect in
// the fixture, not a reason to report green.
fn abf_admitted_add_arrow_tree() -> Outcome<NormalizedTree> {
admit_normalized_tree(root: dag_add_arrow_with_body_node(), diagnostics: None)
}

test fn arrow_body_form_eval_value_vertical_holds() -> Bool {
let lm = dag_language_model()
match arrow_body_form_zero_arrow_fixture() {
Absent => false
Present { value: zero_arrow } =>
match resolve(tree: dag_add_arrow_with_body_node(), lm: lm) {
Accepted { value: add_arrow, diagnostics: _ } =>
arrow_body_form_eval_unary_int_holds(
callee: arrow_body_form_id_arrow_fixture(),
arg_lex: "7",
expected: 7
)
&& arrow_body_form_eval_nullary_int_holds(callee: zero_arrow, expected: 0)
&& arrow_body_form_eval_binary_int_holds(
callee: add_arrow,
left_lex: "2",
right_lex: "3",
expected: 5
)
match abf_admitted_add_arrow_tree() {
Rejected { diagnostics: _ } => false
Accepted { value: admitted_tree, diagnostics: _ } =>
match resolve(tree: admitted_tree, lm: lm) {
Accepted { value: add_arrow, diagnostics: _ } =>
arrow_body_form_eval_unary_int_holds(
callee: arrow_body_form_id_arrow_fixture(),
arg_lex: "7",
expected: 7
)
&& arrow_body_form_eval_nullary_int_holds(callee: zero_arrow, expected: 0)
&& arrow_body_form_eval_binary_int_holds(
callee: add_arrow,
left_lex: "2",
right_lex: "3",
expected: 5
)
Rejected { diagnostics: _ } => false
}
}
}
}
Expand Down
Loading