Skip to content

D-QR-SAP: ClassView/CATS deterministic mapping and QR256 probe - #1661

Merged
AdaWorldAPI merged 2 commits into
mainfrom
research/qr-sap-classview-20261021
Oct 21, 2026
Merged

AdaWorldAPI merged 2 commits into
mainfrom
research/qr-sap-classview-20261021

Conversation

@AdaWorldAPI

@AdaWorldAPI AdaWorldAPI commented Oct 21, 2026 •

Copy link
Copy Markdown
Owner

SAP research probe (planning only)

Adds a scoped, unimplemented / preregistered lab plan: .claude/plans/d-qr-sap-classview-projection-probe-v1.md.

Scope: source-field permutations, BAPI and hash projections; direct masks vs QR64/256; no SAP writes.

Mapping proposal: Reuse the existing lance_graph_contract::class_view::{ClassView,FieldMask,WideFieldMask} structural field basis at the binder/DTO boundary, rather than minting a new mapping vocabulary. A WideFieldMask is a field presence selector and does not itself encode a relationship, permission, identity or graph adjacency.

Execution research: bounded QR64 = 512 B / QR256 = 8 KiB per Boolean adjacency tile when demand warrants; original borrowed SoA lanes and index/prefetch sidecar are additional. Reuse Quack/mask-RISC/ndarray kernels, not a second graph engine. Source-specific tests include independent oracles, mutation/refusal controls and an adoption cost gate.

Shared baseline: lance-graph #1659 physical borrowed lanes; #1660 algebra/elimination/proof research; EXO-119 missing positional wrapper; EXO-120 QR algebra probes; EXO-50 board coordination.

Gates: ADMISSION B (#1640) prohibits foreign-value-directed cross-table gathers even during preparation. Preserve stable field ordinals, source versions, authorization, original row positions, set/bag and Boolean/GF(2)/numeric domain separation. No production API or behavior change; no tests or benchmarks run by this docs-only PR.

The capstone PR will cross-reference this independently reviewable topic PR.

Capstone, Linear and handoff

This SAP probe belongs to the five-PR capstone lance-graph #1663 and is tracked on EXO-122. Its results/claim requests belong in EXO-50. The capstone uses existing ClassView/WideFieldMask as field mapping, not an inferred relation/permission; this PR remains independent and docs-only until a separate lab implementation is authorized.

Capstone rail extension: D-QR-ABI-0 specifies existing 6×(PART_OF8:ISA8) facet coordinates and proposed separate HHTL16 16×8 logical zippers. Added a SAP-specific negative oracle to this PR's plan: source field ordinals are not inherently ISA/PART_OF edges; never infer a relationship from WideFieldMask presence. See EXO-122.

@coderabbitai

coderabbitai Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: ea835f06-3710-4a3b-9ebd-b328d8eb9649
  • 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

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 🔄 Running since 2026-10-21T13:14:27.368992Z 4ac226e 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.

@AdaWorldAPI
AdaWorldAPI merged commit ef3ac59 into main Oct 21, 2026
4 checks passed
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