Skip to content

glove-parity: move the class-method layer to backup (D-CMR-RESET) - #1524

Merged
AdaWorldAPI merged 1 commit into
mainfrom
ccr-9f3b8075-74u47l-reset
Oct 12, 2026
Merged

AdaWorldAPI merged 1 commit into
mainfrom
ccr-9f3b8075-74u47l-reset

Conversation

@AdaWorldAPI

Copy link
Copy Markdown
Owner

Summary

This PR removes the class-method layer from 2026-10-12 so it can be rebuilt on the existing folds.

It was the wrong design:

  • A second algebra beside the folds. MethodBody was lowered on every call into Filter::cmp over value lanes, with fresh scratch each time. It used no Compiled, no lower_fused and no resident planes.
  • Slower than a row loop. billable_hours measured 430–480 µs per call; a scalar row loop takes 283 µs (1,048,576 rows, AVX-512, release).
  • Hops were foreign-key reads. The graph has no foreign keys.

Removed:

  • The modules method, call, decl, gremlin and awareness.
  • Ten test files, two method fixtures and four examples.

Restored to their state before this session: Cargo.toml (R2IL dependency removed) and glove-parity.yml (OGAR checkout removed).

Kept: another session's D-XGP work: basis.rs, tests/authority.rs, tests/canonical_front.rs.

Backup. The exact prior state is on backup/session-011BMJ-2026-10-12. The open PRs are backed up as well: -chain2 (#1522), -sagfix (#1519), -capstone (#1523).

Inventory. .claude/board/entries/2026-10-12-session-reset-inventory.md lists everything removed and everything kept, each with the reason.

Board:

  • STATUS_BOARD rows D-SAG-1-* and D-CMH-G1-* are marked withdrawn.
  • Both plans carry a withdrawal note.
  • The entries index and the supersession index are regenerated.

What comes next (D-CMR)

A class method becomes a binding classid × WideFieldMask → an existing fold. That fold is one Compiled mask-risc program over resident planes and coordinate ranges. A call does no lowering and no allocation per call. Chained hops become coordinate-range intersections inside the same program.

The companion ndarray change is AdaWorldAPI/ndarray#359, which removes mask_gather_chain_u32.

Test plan

  • cargo fmt --check and cargo clippy --all-targets -- -D warnings (glove-parity)
  • cargo test (glove-parity): authority 10 passed, canonical_front 6 passed
  • Cargo.toml is byte-identical to edbdc459, the last commit before this session
  • entries_index.py --check passes; the supersession index is regenerated

🤖 Generated with Claude Code

https://claude.ai/code/session_011BMJnDBAfzcuQh5HeT39Rh


Generated by Claude Code

The method layer built on 2026-10-12 was a second algebra beside the
existing folds: MethodBody lowered per call through Filter::cmp over
value lanes with fresh scratch, no Compiled, no lower_fused, no resident
planes. billable_hours measured 430-480 us per call against 283 us for a
scalar row loop. Its hops were foreign-key reads; the graph has none.

Removed: method, call, decl, gremlin and awareness modules, their tests,
fixtures and examples. Cargo.toml and glove-parity.yml return to their
state before this session. basis.rs and the D-XGP tests stay (another
session's work; green).

Exact prior state: backup/session-011BMJ-2026-10-12 (and -chain2,
-sagfix, -capstone for the open PRs). Inventory with keep/remove reasons:
.claude/board/entries/2026-10-12-session-reset-inventory.md. STATUS_BOARD
rows D-SAG-1-*, D-CMH-G1-* marked withdrawn; the two plans carry a
withdrawal note.

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

coderabbitai Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

Your organization has reached its usage spending cap. Adjust your spending cap in the billing tab.

Next included review available in 52 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available. Your 62 included PR review attempts over the past 7 days set your current allowance at 1 review per hour.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Essentials
  • Run ID: 6f9ab2cc-7c26-46e5-af32-38c176a29fec
📥 Commits

Reviewing files that changed from the base of the PR and between 8ae5bce and 9cfdf2a.

📒 Files selected for processing (29)
  • .claude/board/STATUS_BOARD.md
  • .claude/board/entries/2026-10-12-session-reset-inventory.md
  • .claude/board/entries/README.md
  • .claude/plans/gremlin-composable-algebra-v1.md
  • .claude/plans/software-awareness-graph-v1.md
  • .github/workflows/glove-parity.yml
  • crates/lance-graph-glove-parity/Cargo.toml
  • crates/lance-graph-glove-parity/examples/awareness_loop.rs
  • crates/lance-graph-glove-parity/examples/compose_cost.rs
  • crates/lance-graph-glove-parity/examples/method_cost.rs
  • crates/lance-graph-glove-parity/examples/method_load.rs
  • crates/lance-graph-glove-parity/src/awareness.rs
  • crates/lance-graph-glove-parity/src/call.rs
  • crates/lance-graph-glove-parity/src/decl.rs
  • crates/lance-graph-glove-parity/src/gremlin.rs
  • crates/lance-graph-glove-parity/src/lib.rs
  • crates/lance-graph-glove-parity/src/method.rs
  • crates/lance-graph-glove-parity/tests/awareness.rs
  • crates/lance-graph-glove-parity/tests/common/mod.rs
  • crates/lance-graph-glove-parity/tests/compose.rs
  • crates/lance-graph-glove-parity/tests/declared.rs
  • crates/lance-graph-glove-parity/tests/distinct.rs
  • crates/lance-graph-glove-parity/tests/fixtures/declared.methods
  • crates/lance-graph-glove-parity/tests/fixtures/lego.methods
  • crates/lance-graph-glove-parity/tests/gremlin.rs
  • crates/lance-graph-glove-parity/tests/method.rs
  • crates/lance-graph-glove-parity/tests/ordered.rs
  • crates/lance-graph-glove-parity/tests/polyfill.rs
  • crates/lance-graph-glove-parity/tests/relation.rs
  • 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.

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

@AdaWorldAPI
AdaWorldAPI marked this pull request as ready for review October 12, 2026 22:20
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 12, 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-12T22:21:04.043964Z 9cfdf2a 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 ecb9d9a into main Oct 12, 2026
11 of 12 checks passed
AdaWorldAPI pushed a commit that referenced this pull request Oct 12, 2026
…emoved

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011BMJnDBAfzcuQh5HeT39Rh
AdaWorldAPI added a commit that referenced this pull request Oct 13, 2026
AdaWorldAPI pushed a commit that referenced this pull request Oct 13, 2026
Three docs still presented glove-parity's `method.rs` / `awareness.rs`
as shipped after D-CMR-RESET moved them to
backup/session-011BMJ-2026-10-12:

- INTEGRATION_PLANS.md: the capstone, SAG-5 and SAG-1 index lines
  (append-only, so a dated note under each bullet).
- software-awareness-provenance-parity.md: SoftwareGraph/MethodTable
  in the READ BY header, the crosswalk and the source map.
- iam-substrate-sag-dir-sim-v1.md: the awareness.rs row (:29) and the
  "main's shipped EffectClass" sentence (:108).

The notes name glove-parity::method::EffectClass explicitly: main still
has an unrelated EffectClass (Cohen's d) in lance-graph-cognitive's
search/certificate.rs, which a search would return as if the action-shape
anchor had survived. Docs only; supersession index regenerates unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013z2e1YXkm6o6HNrDn5BPWA
AdaWorldAPI added a commit that referenced this pull request Oct 13, 2026
docs: #1524 reset — root cause, D-CMR set-theory IR plan, ProposedMethod anchors, stale references
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