Skip to content

facade: whether an item renders through a bridge is decided once, in Sema's contract (#2223, Law 3) - #2231

Merged
ehartford merged 1 commit into
migrate-zeroedfrom
facade-one-owner
Oct 7, 2026
Merged

ehartford merged 1 commit into
migrate-zeroedfrom
facade-one-owner

Conversation

@ehartford

@ehartford ehartford commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

Sema's contract gains bridged, set at collect_fn_clause by the one predicate Ast.facade_clause_bridges(kind) (buffer pairing, fixed argument, ok contract, nullable param N); facade_contract_presented, the verifier's record-the-bridge gate (which had its own fn-pointer-only reading of nullable) and the renamed-bridge export list read it, and the renderer's lend item calls the same predicate. 289 facade/D102 tests and the sqlite facade green under stage1.

Fixes #2223. Draft until the stack's battery is green.

…Sema's contract (#2223, Law 3)

Sema's contract gains `bridged`, set at collect_fn_clause by the one
predicate `Ast.facade_clause_bridges(kind)` (a buffer pairing, a fixed
argument, an `ok` contract, `nullable param N`); facade_contract_presented,
the verifier's "record the bridge" gate (which had its own fn-pointer-only
reading of `nullable`) and the renamed-bridge export list read it, and the
renderer's lend item calls the same predicate instead of its own clause
list. The three derivations drifted on #2218; now one list changes them
all.
@ehartford
ehartford added this pull request to stack #2228 October 7, 2026 01:18
@ehartford ehartford changed the title facade one owner facade: whether an item renders through a bridge is decided once, in Sema's contract (#2223, Law 3) Oct 7, 2026
@ehartford

Copy link
Copy Markdown
Contributor Author

Battery GREEN on stack top bfecc6f (seed-driven, with run tools/battery.w): gate rc=0 399s, uat rc=0 28s, battery-checks rc=0 397s.

@ehartford
ehartford marked this pull request as ready for review October 7, 2026 02:14
@ehartford
ehartford merged commit 2707f11 into main Oct 7, 2026
@ehartford
ehartford deleted the facade-one-owner branch October 7, 2026 02:14
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.

facade: whether an item is bridged is decided twice (Sema's facade_contract_presented and FacadeRender's li.bridged) — one owner

1 participant