Skip to content

probe(D-TGA-5): squash the chain of origin into the most-updated lane, gated on contradiction; blame survives - #1736

Merged
AdaWorldAPI merged 9 commits into
mainfrom
ccr-d3ce1263-ied9yh
Oct 23, 2026
Merged

AdaWorldAPI merged 9 commits into
mainfrom
ccr-d3ce1263-ied9yh

Conversation

@AdaWorldAPI

Copy link
Copy Markdown
Owner

A lab probe, pre-registered before any code (0dca6c52), for the first squash gate in thought-git. Every lane's chain of origin is squashed into the most-updated lane, the squash is refused on contradiction or divergence, and blame is kept over lanes. It is the precursor to STATUS_BOARD D-TGA-5. Claimed on EXO-50 (session_01VncKoyG6JkpsoqhqTGTv3f/034).

Code. One new test file, crates/thought-git-probe/tests/squash_gate.rs. The D-TGB-0 oracle (next_version) is the from-scratch reference. oracle.rs, slots.rs and receipt.rs are unchanged.

Results (cd crates/thought-git-probe && cargo test --test squash_gate): 9 tests pass. The whole crate passes, and clippy -D warnings and fmt are clean.

prediction result
P1 landing the squash gives the same Version as landing every lane's final state, on all 48 fixture cells
P2 two lanes that disagree are refused with Divergence. oracle::squash keeps the later value silently on the same input
P3 a lane that overwrites a given is refused with Contradiction
P4 (stay-silent) accepted: three rewrites of one cell inside one lane, plus agreement across lanes
P5 the target is the most-updated lane (12, with 6 ops, against 4 and 2); a tie goes to the lowest id
P6 blame equals an independent reference; a cell two lanes agreed on carries both bits
P7 with N = 8, the delta stays at 8 cells while the history grows 8 → 512 writes for k = 1..64; the order list grows with k

Disables. Each anchor was asserted before the disable was applied, and the file was restored afterwards. Each one turned its named test red:

  • D1 (no divergence check) → P2;
  • D2 (no contradiction check) → P3;
  • D3 (divergence checked across every chain entry) → P4 and five more;
  • D4 (target is the lowest id) → P5;
  • D5 (blame keeps only the target) → P6.

Board changes:

  • the entry entries/2026-10-23-d-tga-5-squash-gate-preregistration.md, with its results;
  • STATUS_BOARD D-TGA-5 moves to In PR (lab precursor). Slot reuse, D-TGA-5's own falsifier, is still open;
  • an IDEAS row, "a certificate replaces the deltas" (High-signal). It holds the storage arithmetic, the existing pieces (the D-TGB-4 receipt, the egglog proof, pearl.rs:259) and the next probe: a determinism falsifier for receipt replay, as proposed by session 01G22yT6;
  • FRUITS, the entries index and the supersession index are regenerated.

Open: slot reuse; a squash against a non-empty prior version; mid-chain readers (the lumpability condition, EXO-132); the CE64 59..63 promotion.


Generated by Claude Code

… contradiction gate, blame)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VncKoyG6JkpsoqhqTGTv3f
…ed target, contradiction gate, blame

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VncKoyG6JkpsoqhqTGTv3f
…EAS row 'a certificate replaces the deltas'

squash_gate.rs: fmt only. Entry results: landing the squash equals landing
the finals; blame over lanes survives; delta stays N while history grows
k·N. STATUS_BOARD D-TGA-5 -> In PR (lab precursor). IDEAS: certificate
replaces deltas, with 01G22yT6's determinism falsifier as next probe.
FRUITS / entries / supersession indexes regenerated.

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

coderabbitai Bot commented Oct 23, 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: f7a68fb4-0b50-4c05-b59c-6e954fa6f719
  • 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.

…uence, not stochastic)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VncKoyG6JkpsoqhqTGTv3f
# Conflicts:
#	.claude/board/FRUITS.md
#	.claude/board/IDEAS.md
…egation of undersampled Markov chains)

Lumpable + deflatable => rank R, P = Pi P_hat Lambda; aggregates from J
sampled columns with J depending only on R and p; P_hat recovered with
L1 error <= 4 eps, independent of N. Mapped to thought-git as [H] with four
named falsifiers (non-homogeneity, non-uniform lane draws, deflatability,
SVD only cold).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VncKoyG6JkpsoqhqTGTv3f
Lane::final_state, ops and blame folded every write whatever the thought's
Outcome, while next_version lands only Commit. Every fixture used Commit,
so no test saw it. P8 lands a lane with Prune / Veto / Plan writes one
thought per version and compares every read against the squash: it was red
before this change (Prune write (5,1)=51 squashed), green after. Pruned and
vetoed thoughts stay in order and the seal as history.

Found by the falsifier co-architect of the 2026-10-23 coresearch on
thought-git as a Markov chain.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VncKoyG6JkpsoqhqTGTv3f
Five scouts, crosswalk of 16 ideas, three co-architects. The papers' main
results need a restart oracle, homogeneity and independent lanes; none hold
(transducer, transient DAG, lanes measured dependent). What survives: min/max
L/U bounds, partition-refinement congruence, the certificate/model split.
One defect found and fixed in the squash gate (P8).

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

The substrate is deterministic; a probabilistic model is a counterfactual
that the egglog/eggcc compiler must certify. The Markov/aggregation papers
describe at most the search, never the certificate. Head = the thought whose
compiled proof is admitted; the children's folds are its compilation
material. Blocker named: no DR64 certified compiler (NoCertifiedCompiler).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VncKoyG6JkpsoqhqTGTv3f
@AdaWorldAPI
AdaWorldAPI marked this pull request as ready for review October 23, 2026 10:09
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 23, 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-23T10:10:09.290121Z 6ad966d 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 1b87a27 into main Oct 23, 2026
12 checks passed

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6ad966d1ed

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +142 to +144
fnv1a(&mut seal, u64::from(l.id));
fnv1a(&mut seal, u64::from(t.id));
for &(c, v) in &t.writes {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Include thought outcomes in the history seal

When a thought changes from Outcome::Commit to Prune, Veto, or Plan without changing its ID or writes, this loop produces exactly the same seal even though the squashed cells and blame change. For example, lane 3 containing thought 1 writing 41 to (4, 1) has the same seal whether that write lands or is pruned. This is a deterministic omission, not an incidental hash collision, and undermines the probe's claim that the seal tracks changes to the ordered history. Hash each thought's outcome as well, and extend the seal test with an outcome-only change.

Useful? React with 👍 / 👎.

AdaWorldAPI pushed a commit that referenced this pull request Oct 23, 2026
Resolves an add/add collision: #1736 (session 01Vnc) landed its own coresearch map at
entries/2026-10-23-coresearch-thought-git-markov.md. Theirs is kept unchanged at that path;
CC2's map moves to ...-markov-cc2.md with a file note, and the gap map's cross-reference
is updated. entries/README.md regenerated, not hand-merged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01G22yT6htkcdyXsihxxXdrg
AdaWorldAPI pushed a commit that referenced this pull request Oct 23, 2026
… file attribution

Catch-up entries from the merge commits; hygiene-only PRs (#1727, #1728,
#1730, #1732-#1735) get none. #1738 is a correction and gets one.
D-TGA-5's row named src/squash.rs under #1736; #1736 added only
tests/squash_gate.rs, and the gate moved to src/squash.rs in #1739.

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