Repository navigation
CG-BEH-2: ON × WHEN × DO facts of registered DT64 methods, a change query and its falsifiers (read-only lab) - #2005
Conversation
…ange query, falsifiers D-CG-BEH-2 (EXO-155), read-only. A lab crate, crates/cg-beh-probe, reads a method's ON positions, WHEN guard and ordered DO steps from a BindStore through method_ref, admit and resolve, for its own class and for Foundry's CanCook as World::new() registers it. No production registration is edited, no polyfill word is added, nothing is executed. Gate A: cg-beh.facts.v1 rows (crates/cg-beh-probe/README.md). CanCook has ON and WHEN and an explicit DO_NONE. Gate B: query::diff tells a changed ON declaration, WHEN guard, DO registration and field basis apart, and names the stale obligations; query::impl_change handles a changed DO implementation, which moves no registered fact. Every predicted admission answer is compared with the stores' answer. Gate C: 23 tests; disable_runs.py removes 15 guards, 15 named tests fail. Gate D: .mermaid/03, /05 and /06 checked against source (.claude/probes/2026-11-11-cg-beh-2/gate-d-diagram-check.md). Adds the crate to the root exclude list, a CI workflow for it, a board entry and the regenerated entries and .codegraph indexes (adding a crate renumbers the generated dependency diagrams). Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XAqKMMWgnUU9g7Ldyn6sbk
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 6866339a45
ℹ️ 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".
…ch.tsv in full in CI Two review findings on #2005. query::diff ignored ClassFacts::schema_rev, so the same bindings bound at another schema revision were reported Unchanged with nothing stale, while resolve at the old revision answers SchemaRevisionMismatch. It is now its own component (SchemaRevision) with its own obligation (RevisionedResolve). It is not a basis change: the binding digest does not cover the class schema revision and does not move. The CI freshness step skipped the first line of every file. For dispatch.tsv that line is the digest of the source text read, the witness query::check_witness compares, so a changed arm body with unchanged arm spans passed. dispatch.tsv is now compared in full; only the facts files' revision header is skipped. 24 tests; disable runs 16 of 16. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XAqKMMWgnUU9g7Ldyn6sbk
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XAqKMMWgnUU9g7Ldyn6sbk
…d .codegraph indexes Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XAqKMMWgnUU9g7Ldyn6sbk
…codegraph indexes Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XAqKMMWgnUU9g7Ldyn6sbk
D-CG-BEH-2 under EXO-155 (D-CGMM-0). Coordination: board
P-EXO-18, channel EXO-232.This is a read-only lab gate. It edits no production registration, adds no
F###word, and executes no method. It is branched frommainand does not depend on #2003 or #2004. It does not touchimpact_report.What it adds
crates/cg-beh-probeis a lab crate with its own workspace root. It contains:facts: reads a method's ON positions, WHEN guard and ordered DO steps from aBindStorethroughmethod_ref,admit,resolveandresolve_algebra. It reads the crate's own lab class and Foundry'sCanCookclass asWorld::new()registers it.query::diff: compares two readings and reports, per method, which part moved and which obligations are stale.query::impl_change: takes a changed line of the dispatch source and reports the words and registered DO steps it reaches.dispatch: reads thematcharms ofFoldDialect::callfrom source text.The evidence schema (
cg-beh.facts.v1,cg-beh.dispatch.v1) is described incrates/cg-beh-probe/README.md. The generated files are in.claude/probes/2026-11-11-cg-beh-2/.Gate A: registered facts
CanCookmethods over a 211-field basis. Each has ON and WHEN and an explicitDO_NONErow. No DO step was invented.UNKNOWNto DT64. A consumer reading (guard number = field position) is recorded only when the position is in the method's registered reads.Gate B: the kinds of change
Each predicted admission answer is compared with what the stores answer.
methods_onanswersresolve, reference stampresolveat the old revisionA changed DO registration (step order) and a guard that is written differently but fires on the same rows are reported separately.
Three evidence grades are kept apart:
SOURCE_STRUCTURE,DT64_REGISTRATION,EXECUTED_PARITY. This gate produces none of the third.Gate C: falsifiers
disable_runs.pyremoves 16 guards one at a time; each named test fails (16 of 16).Findings
admitcatches a guard change.admittakes noClassView. Over a reordered basis of the same count,resolverefuses andadmitstill admits the old reference.onis registered and read bymethods_on,footprint, the digest and the registration check. No executor in dt64, r2il, xlog or the Foundry lab evaluates it.CanCookhas no DO step, so no word implementation reaches it through DO.Findings 1 to 3 are observations for the EXO-155 owner. Nothing here changes DT64.
Gate D: diagrams
gate-d-diagram-check.mdchecks.mermaid/03,/05and/06against source: 104 statements, 13 stale. The main stale group:05and06describe PR #1996 as open; it is merged. A worker produced the lists; four items were re-read by hand, the rest were not.Review round 1 (a54a9d9, 9e3bdf1)
diffignored the class schema revision; it is now its own component and obligation..codegraph/regenerated after the fix.What it does not show
Other files
Cargo.toml: the crate is added toexclude..github/workflows/cg-beh-probe.yml: fmt, clippy, tests, and a check that the committed fact files match the registrations..codegraph/: regenerated. Adding a crate renumbers the generated dependency diagrams, so 103 generated files change.Checks run
cargo test --release --manifest-path crates/cg-beh-probe/Cargo.toml: 24 passed.cargo clippy --all-targets -- -D warningsandcargo fmt --check: clean.python3 -I .claude/probes/2026-11-11-cg-beh-2/disable_runs.py: 16 of 16 red.codegraph_index.py --check: current. The supersession index regenerates unchanged.🤖 Generated with Claude Code
https://claude.ai/code/session_01XAqKMMWgnUU9g7Ldyn6sbk