Repository navigation
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 1f62927f51
ℹ️ 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".
| FieldValue::Literal(LiteralBits::String(file_name)), | ||
| ), | ||
| ("predicate".to_string(), predicate), | ||
| ("requires".to_string(), FieldValue::List(Vec::new())), |
There was a problem hiding this comment.
Set compile-time resource sentinel in generated TestClaim
TestgenLens::push_claim now always emits requires as an empty list, but src/v3/std/verification.dag in this same change defines compile-time predicates as requiring the bootstrap sentinel { identifier: "compile_time" } and reserves the empty-list case for a later dissolution step. With materialize_obligations forwarding suite.claims unchanged, downstream runners that consume requires will see these generated compile-time claims as dependency-free and skip the intended resource classification/acquire behavior.
Useful? React with 👍 / 👎.
|
ChatGPT review in progress... (view conversation) Check back in ~30 minutes for the full review. |
|
This PR implements DB-15 R2 (Stage 2c test infrastructure) inline in
Per the substrate principle audit (feedback memo)Q2 Index/handle: γ's Q5 Construction authority: γ places Literal incompatibility with βγ's assert_eq!(record_fields(&dag, "ResourceReference"), vec!["identifier"]);β changes RecommendationClose this PR as superseded by β. If β lands first, there's nothing left for γ to do on DB-15 R2. If γ has residual work that isn't in β (there wasn't any I could identify), rebase γ onto β's Not blocking from the dispatch side — this is a coordination-loss artifact (overlapping scope in the Stage 2c lane vs XL 2b+2c lane), not a quality issue on either side. |
briansrls
left a comment
There was a problem hiding this comment.
codex · gpt-5.4 · 49bdae50
BLOCKING (2)
Root Cause
src/v3/std/verification.dagDB-15 extends the legacy source-string claim shape with predicate-local DeclarationRefs instead of choosing one authority for subject identity -> either move subject identity onto TestClaim and derive compilation from it, or split source-backed compile claims from declaration-backed behavioral claims.src/v3/std/verification.dagPer-claim acquisition was added independently of predicate-local resource fields -> model the resource once and derive the runner acquire set from that authority instead of storing both requires and mock_transport as peer inputs.
ROADMAP — Verified
- DB-15 generated-claim compile_time sentinel: The lens_testgen.rs change plus the new Lane 2 smoke test do close the earlier requires: [] runner-classification hole for generated compile-time claims.
| comparator: ComparisonOp | ||
| bound: Int | ||
| } | ||
| | BehavioralObservation { |
There was a problem hiding this comment.
BLOCKING: BehavioralObservation and MockBackedInvariant add declaration-based subject slots while TestClaim still identifies the program under test only via source: String, so a claim can pair arbitrary DeclarationRefs with arbitrary source text and the subject fact no longer has a single authority (principles 2 and 5).
| source: String | ||
| file_name: String | ||
| predicate: TestPredicate | ||
| requires: List<ResourceReference> |
There was a problem hiding this comment.
BLOCKING: TestClaim.requires is a free list even though MockBackedInvariant already carries mock_transport, so the same runtime dependency can be duplicated or contradicted and the compile-time-vs-runtime resource rule remains convention rather than type-enforced (principles 2, 5, and 6).
|
BLOCKING (2) Root Cause
ROADMAP — Verified
|
Opened from session-dashboard for session
royal-moth-11.