Skip to content

Remove same-module test-fn calls from v2 witnesses, with roster rows - #11495

Closed
gunbai-bot[bot] wants to merge 1 commit into
mainfrom
snappy-pike-153-testfn-calls-e
Closed

gunbai-bot[bot] wants to merge 1 commit into
mainfrom
snappy-pike-153-testfn-calls-e

Conversation

@gunbai-bot

@gunbai-bot gunbai-bot Bot commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

Remove same-module test-fn calls from v2 witnesses, with roster rows

No code may call or reference a test fn. Per site:

  • single-callee keystones (compile_eval isolate_t1..t3, ts_g2_sg5,
    door quad_with_peer x2, field_access/record_construct *_keystone x6)
    are deleted; the callee is enrolled on its own. Grandfathered-roster
    identities get typed WitnessDeleted removals (the cut is frozen);
    witness_row_cost_basis and witness_deferral_freeze rows are removed.
  • parse_table_memo: the order-independence test fn and its three plain
    wrappers only re-ran the insert/lookup door test fns in two orders of a
    pure conjunction; deleted, and its commit_workflow check_fns row with it.
  • conjunct drops where a test fn or plain helper re-called an enrolled
    test fn (complexity budget gate, discrimination_family_gate, sg_rc,
    p9 registry owner).
  • data rows referencing a test fn: bounded_summation's claim reads the
    two plain helpers directly; binds_to_resolved_claim_passes (unconsumed)
    is deleted.

Part of the owner ruling that no code may call or reference a test fn (sibling PRs #11488 #11489 #11490). Text-scan audit, verified per site by reading; no src/v1 changes.

🤖 Generated with Claude Code

No code may call or reference a test fn. Per site:
- single-callee keystones (compile_eval isolate_t1..t3, ts_g2_sg5,
  door quad_with_peer x2, field_access/record_construct *_keystone x6)
  are deleted; the callee is enrolled on its own. Grandfathered-roster
  identities get typed WitnessDeleted removals (the cut is frozen);
  witness_row_cost_basis and witness_deferral_freeze rows are removed.
- parse_table_memo: the order-independence test fn and its three plain
  wrappers only re-ran the insert/lookup door test fns in two orders of a
  pure conjunction; deleted, and its commit_workflow check_fns row with it.
- conjunct drops where a test fn or plain helper re-called an enrolled
  test fn (complexity budget gate, discrimination_family_gate, sg_rc,
  p9 registry owner).
- data rows referencing a test fn: bounded_summation's claim reads the
  two plain helpers directly; binds_to_resolved_claim_passes (unconsumed)
  is deleted.

Co-Authored-By: Claude Opus 5 (1M context) <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