Skip to content

D-DT64-AUTH: method-authority census with a two-way ratchet; post-merge record for #1926 - #1927

Merged
AdaWorldAPI merged 3 commits into
mainfrom
claude/clone-repositories-71a5sw
Nov 2, 2026
Merged

AdaWorldAPI merged 3 commits into
mainfrom
claude/clone-repositories-71a5sw

Conversation

@AdaWorldAPI

@AdaWorldAPI AdaWorldAPI commented Nov 2, 2026 •

Copy link
Copy Markdown
Owner

Summary

D-DT64-AUTH census (plan d-dt64-method-authority-census-v1.md). The operator decided that DT64 (0xFFFF::0xF###) is the only method authority. This PR adds the census and a two-way ratchet; it migrates nothing.

  • The table, crates/lance-graph-r2il/dt64-authority-census.tsv. Every row has exactly 10 tab-separated columns.
    • Two LENS rows pin each production behaviour lens's DT64 declaration: POLYFILL_LENS (F000, rev 1, 17 arities) and XLOG_LENS (F100, rev 1, 3 arities).
    • Six LAB rows list the method identities and dispatch paths that DT64 does not see, each with a reason and a way to remove it: MethodSignature, the tract-harvest Registry, XLOG Word, the FnIndex opcode, FoldDialect and r2il::procs.
  • lance-graph-r2il/tests/integration/dt64_census.rs (6 tests):
    • sweeps crates/*/src/**/*.rs for lens definitions (compose_classid(HARDCODED…) and matches them against the LENS rows in both directions;
    • replays the polyfill declaration against its row in a fresh BindStore;
    • checks that every LAB token still occurs (C2);
    • includes a can-fire test (C1) and a silence test (C3).
  • lance-graph-xlog/tests/dt64_census.rs checks XLOG's own row. It lives in XLOG because R2IL does not depend on XLOG, and this PR adds no dependency.

Also in this PR: the post-merge record for #1926 (merged ade765d6f) in PR_ARC_INVENTORY and LATEST_STATE.

Findings (written up in board entry 2026-11-02-d-dt64-auth-census-shipped):

  • R2IL's own src/ never declares the polyfill lens. Only tests and consumers do, and the executor admits words against that declaration. The row therefore pins polyfill_arities().
  • r2il::procs is reached from production code (lance-graph-nal) without going through admission. It is listed as LAB, to be removed once OGAR has PROC_DEF/PROC_CALL.

Limits:

  • The sweep only sees lenses defined with compose_classid(HARDCODED…. A behaviour lens written as a raw literal is not detected.
  • The census executes nothing through DT64.

Test Plan

  • cargo test -p lance-graph-r2il --test integration dt64_census: 6/6 pass.
  • cargo test -p lance-graph-xlog --test dt64_census: 1/1 passes.
  • clippy -D warnings and fmt are clean on both crates.
  • Disable runs. The census was committed first, and every edit anchor was asserted. Each disable turned the expected tests red, and the suite was green again after restoring:
    • D1, a new lens definition in polyfill.rs: the two-way sweep, the C1 test and the silence test fail.
    • D2, a stale LAB token: every_lab_exception_still_deviates and the silence test fail.
    • D3, a word appended to polyfill_arities() without updating the row: the declaration replay fails.
    • D4, the sweep comparison switched off: C1 fails.
  • Board gates: entries index regenerated, supersession index unchanged, no new citation decay, append-only gate OK.

Not to be merged automatically.

🤖 Generated with Claude Code

https://claude.ai/code/session_01X6y3drwKSE2zSgoexheLFX

Hygiene-only: records the merge of #1926 in PR_ARC_INVENTORY and
LATEST_STATE. Per the CLAUDE.md termination clause this commit's own
merge needs no further record.

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

coderabbitai Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

Important

  • Trigger review

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

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: a4c65e4f-4b39-4cf6-a660-febe29d8509a
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 2, 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-11-02T15:54:27.956208Z fafc698 PR opened
ℹ️ 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.

Committed table crates/lance-graph-r2il/dt64-authority-census.tsv: LENS rows
pin each production behaviour lens's DT64 declaration (F000 polyfill, F100
XLOG); LAB rows list the method identities and dispatch paths DT64 does not
see (MethodSignature, tract Registry, xlog Word, FnIndex, FoldDialect, procs).
The r2il test sweeps crates/*/src for lens mints both ways, replays the
polyfill declaration against its row, and fails on a stale exception; the
xlog test checks its own row (r2il does not depend on xlog).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01X6y3drwKSE2zSgoexheLFX
@AdaWorldAPI AdaWorldAPI changed the title board: post-merge record for #1926 (D-TGL-PUB step 3) D-DT64-AUTH: method-authority census with a two-way ratchet; post-merge record for #1926 Nov 2, 2026
@AdaWorldAPI
AdaWorldAPI merged commit 6768811 into main Nov 2, 2026
18 checks passed
AdaWorldAPI pushed a commit that referenced this pull request Nov 2, 2026
…after its merge point

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01X6y3drwKSE2zSgoexheLFX
AdaWorldAPI added a commit that referenced this pull request Nov 2, 2026
…1a5sw

board: post-merge record for #1927; D-CODEGRAPH-0-BIN writer status (ruff #133/#134)
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