Repository navigation
CG-BEH-2: ON × WHEN × DO facts of registered DT64 methods, a change query and its falsifiers (read-only lab) - #2005
Draft
AdaWorldAPI wants to merge 2 commits into
Draft
AdaWorldAPI wants to merge 2 commits into
AdaWorldAPI wants to merge 2 commits into
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 Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
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. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 four kinds of change
Each predicted admission answer is compared with what the stores answer.
methods_onanswersresolve, reference stampA 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 15 guards one at a time; each named test fails (15 of 15).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.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: 23 passed.cargo clippy --all-targets -- -D warningsandcargo fmt --check: clean.python3 -I .claude/probes/2026-11-11-cg-beh-2/disable_runs.py: 15 of 15 red.codegraph_index.py --check: current. The supersession index regenerates unchanged.Generated by Claude Code