Skip to content

probe(dr-math): typed DR64 class/method operand binding [1/5] - #1701

Merged
AdaWorldAPI merged 2 commits into
lab/dr-math-0-charter-20261022from
lab/dr-math-1-typed-binding-20261022
Oct 22, 2026
Merged

AdaWorldAPI merged 2 commits into
lab/dr-math-0-charter-20261022from
lab/dr-math-1-typed-binding-20261022

Conversation

@AdaWorldAPI

Copy link
Copy Markdown
Owner

Stage 1 of D-DRMC

Adds an own-workspace, lab-only dr-math-binding-probe using lance-graph-contract::class_view::ClassId and shipped Morton8x8. Validates a 512-B borrowed DR64 presence register under per-method typed row/column axes and a supplied source/map/coordinate/focus/scope witness.

6 focused Rust tests cover identity² vs identity×property confusion, method mismatch, K3 and bag refusal, independent stale witness dimensions and a no-copy borrow. No new evaluator or producer data owner; no edits to lance-graph-contract, Quack, R2IL, mask-risc, cognitive-shader-driver, Math Foundry or existing PR branches.

Limits: Caller-provided witness is not independent attestation; ClassView resolver adapter, provenance, ACL verification and real RelAlg fold remain external. Cargo tests authored, not executed from this environment (no Rust toolchain). Base is draft #1700; preserve #1667 and #1698 ownership. Keep draft pending targeted tests/review.

@coderabbitai

coderabbitai Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 1361c513-725f-48e3-9f30-6b78406eca37

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Warning

Billing warning: we have not been able to collect payment for this subscription for more than 72 hours. Please update the payment method or pay any pending invoices in Billing to avoid service interruption.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-22T14:58:52.021944Z de677c8 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Coresearch D-DRMC items X1, X2, X3 (operator-chosen).

- The 5-field caller-built BindingWitness is gone. The frame (source,
  relationship map, coordinates) is a Frame issued by a FrameStore and
  compared by identity of the issue, mirroring dir-rmap-probe's Witness
  (Weak + ptr_eq; that type is tied to dir-sim's VersionStore, so it is
  not reused). Two stores at equal revisions do not alias; a re-seal at
  equal numbers is FrameResealed.
- Focus (motion) and Scope (policy) are separate types and separate
  guards; moving either leaves the frame valid.
- Validity is a carrier of R: Operand { rows, validity }. A three-valued
  method needs it, a two-valued one refuses it, so no validity plane can
  be bound to a foreign method.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01G22yT6htkcdyXsihxxXdrg

Copy link
Copy Markdown
Owner Author

Pushed ca05b1d1 here, applying the operator-chosen items X1/X2/X3 from the D-DRMC coresearch map (.claude/board/entries/2026-10-22-coresearch-drmc-stack.md, on #1705):

  • The 5-field caller-built BindingWitness is split into three guards:
    • Frame: source, map and coordinates. It is issued by a FrameStore and compared by issue identity (Weak::ptr_eq, the mechanism of dir-rmap-probe's Witness). Two stores at equal revisions do not alias, and a re-seal is FrameResealed.
    • Focus (motion) and Scope (policy) are separate guards. Moving either one leaves the frame valid.
  • Validity is a carrier of R: Operand { rows, validity }. A three-valued method needs it and a two-valued method refuses it, so a validity plane cannot be bound to another method.

8/8 tests pass in release, clippy -D warnings and fmt are clean, and each new guard was disable-verified red. The change was merged upward into #1702, #1703 and #1704.


Generated by Claude Code

@AdaWorldAPI
AdaWorldAPI merged commit b45b087 into lab/dr-math-0-charter-20261022 Oct 22, 2026
10 checks passed
AdaWorldAPI added a commit that referenced this pull request Oct 22, 2026
chore(dr-math): land the stranded D-DRMC stack (#1701-#1704 + charter amendment)
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.

2 participants