Skip to content

probes(D-TFLP 6.5): Codec8 semantic admission + DT64/Quack/D-NAM handoff - #1801

Merged
AdaWorldAPI merged 1 commit into
mainfrom
claude/d-tflp-codec8-admission
Oct 26, 2026
Merged

AdaWorldAPI merged 1 commit into
mainfrom
claude/d-tflp-codec8-admission

Conversation

@AdaWorldAPI

Copy link
Copy Markdown
Owner

Why

Amendment 6.4 F4: a Codec8 payload is a bare &[i8]. The producer's code space lives only in its Rust type, so an asymmetric −128 can be decoded as SymNaN's NaN by the wrong consumer. The fix is not in the decoder. It is admission at preparation time: compare a receipt with what the consumer expects before any value is interpreted. This PR lands that lab contract and a short note on where it would attach in DT64, Quack and D-NAM.

Scope (one commit)

  • .claude/probes/pal256-admission-v1/admit/: Receipt, Expect, bind with named Refusals, Bound::decode; 17 tests; the matrix example.
  • matrix65.json (6 × 6, diagonal-only binding) and disable65_p0.txt.
  • README.md and HANDOFF.md, the compact integration document.
  • One board entry, entries/2026-10-26-d-tflp-65-landing.md, with the generated index. SUPERSESSION-INDEX was regenerated and is unchanged.

Landing-PR changes:

  • the identity claim is narrowed to TESTED_COMPATIBLE_FOR_PINNED_CODEC_SET;
  • a new test checks that all 21 Codec8 instantiations admitted on ndarray master af4910a1 have pairwise-distinct signatures.

Evidence used

Research branch claude/bpe-tokenization-architecture-3xd4eh (Amendment 6.5 P0; not rebased). ndarray src/hpc/codec8.rs on master af4910a1, identical to the research-time version.

Tests run

  • cargo test --release against ndarray master: 17 passed.
  • matrix65.json regenerates byte-identical.
  • Disable run: collapsing the rounding probe to one half-tie fails the scope test (TiesEven/Floor collide).
  • The earlier P0 disable runs are recorded in disable65_p0.txt, each check failing its own test.

What this does not prove

  • No identity beyond the 21 pinned instantiations. A new codec impl must be added to the scope test.
  • No binding store, no generation-identity issuer, no contract-type change.
  • No source permissions or writes, and no semantic identity from a digest.

Production impact

None. Lab crate, not a workspace member. It path-depends on ndarray five levels up. Codec8 public semantics and the −128 decoding policy are unchanged. No second binding store is added: D-NFR S5 stays MISSING.

Dependencies / rollback

No dependency on #1800; the handoff doc only references it. Rollback: revert the single commit.

Links


Generated by Claude Code

A lab binding contract between an 8-bit artifact and the consumer that
interprets it: a Receipt (codec signature derived from Codec8's sealed
traits, scale/zp, operator, generation, source, payload digest), an
Expect, and bind() that refuses with a named Refusal before any value is
interpreted. 17 tests; 6x6 matrix binds on the diagonal only.

Imported from claude/bpe-tokenization-architecture-3xd4eh (6.5 P0).
Changes made while landing:
- the identity claim is narrowed to TESTED_COMPATIBLE_FOR_PINNED_CODEC_SET
  and backed by a new test: all 21 Codec8 instantiations admitted on
  ndarray master af4910a1 have pairwise-distinct signatures (disable run:
  collapsing the rounding probe to one half-tie fails it);
- README and HANDOFF.md: where the receipt would attach (D-NAM recipe
  receipt / PZL-4, D-NFR S5 binding store - MISSING, DT64-QB #1799) and
  what stays open;
- compact board entry for the 6.5 landing (#1800 and this PR) with the
  generated index.

No crate, ABI, kernel or decoder change. matrix65.json regenerates
byte-identical.

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

coderabbitai Bot commented Oct 26, 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: c1f5f863-4db5-4354-bd73-90962191cd3d
  • 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.

AdaWorldAPI pushed a commit that referenced this pull request Oct 26, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ArVbbq3DsToBM7r79zGeEf
@AdaWorldAPI
AdaWorldAPI marked this pull request as ready for review October 26, 2026 20:43
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 26, 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-26T20:44:03.739519Z 01ef507 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 f1ff647 into main Oct 26, 2026
4 checks passed
AdaWorldAPI pushed a commit that referenced this pull request Oct 26, 2026
PR_ARC_INVENTORY: the #1800 Confidence line said only "MEASURED (lab)".
It now records the certification: every fixture row confirmed by the
real TFLM int8 SOFTMAX kernel (5f64e4ad), the TFLM-free Rust replay
reproducing those bytes on all 529 + 27 + 7 rows, the exact-reciprocal
negative control failing all 556 witness rows, and the scope stated in
the probe's own README. A dated correction line notes that the replay
crate landed with #1800, not #1801; #1801's Confidence line now names
its admit/ contract and points to #1800 for the certification.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VncKoyG6JkpsoqhqTGTv3f
AdaWorldAPI pushed a commit that referenced this pull request Oct 28, 2026
Brings the research branch up to main eeaaafb (136 commits) without
rewriting its history: the audit and ledger cite this branch's hashes.

Conflicts were all files that landed on main in hardened form through
#1800/#1801/#1803 (table-identity check, compact data, pinned-codec-set
claim); main's versions were taken. The research-only run record
softcert65_run.json stays here as evidence. The audit entry heading now
reads D-TFLP-AUDIT so its index id no longer collides with main's
D-TFLP 6.5 landing entry; the entries index is regenerated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ArVbbq3DsToBM7r79zGeEf
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