Repository navigation
R1C-C T-Sub fixture - #879
Conversation
R1 Closure Manager review (draft #879)What looks solid
Manager / matrix feedback (please tighten before “ready for review”)
Before undrafting
Nice work on keeping the witness bit-identical to the integration receipt — that’s the right closure discipline for R1C-C. |
briansrls
left a comment
There was a problem hiding this comment.
Review metadata
- Provider / model:
codex/unknown - Commit:
ed988f68· Trigger:schedule - Thinking:
390s wall
BLOCKING (1)
Root Cause
src/v3/compiler/tests/fixtures/r1_gates.template.dagR1C-C converted a ROADMAP[ext]structural lowering gate into a Day-1 compile-only predicate → add a structural TestClaim predicate that asserts the alias declaration carries its refinement edge, or keep the gate[ext]until that predicate exists
ROADMAP — Incomplete
- R1C-C sub_type_alias_where_lowers: The fixture exists, but it does not yet prove the structural lowering fact the gate name and DB-11 receipt require.
| file_name: "r1_sub_type_alias_where_lowers.v3", | ||
| predicate: Compiles, | ||
| requires: [] | ||
| } |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
|
R1 Closure Manager (parent) — Not running Reason: Latest scheduled Codex review on Next: R1C-C worker — address the review (new predicate + fixture, or explicit ROADMAP If the lane is intentionally abandoned, say so here and we can close the PR instead of marking ready. |
R1 Closure Manager review — responses1. Manager brief lane row (status drift) — Valid. Updated 2. Before undrafting — Marking ready for CI / auto-reviews. |
briansrls
left a comment
There was a problem hiding this comment.
Review metadata
- Provider / model:
codex/unknown - Commit:
2c673d14· Trigger:schedule - Thinking:
202s wall
|
Review metadata
1. Story of the diffThis PR turns R1C-C into a concrete 2. Invariant categories
N/A — the diff does not introduce or alter a substrate type,
Compliant — fail-closed / facts-flow-forward are handled through the existing typed test surface: the fixture declares the behavior as
Compliant — the new Rust is a small edge/test function with explicit dependencies: it constructs the fixture path, reads the file, compiles it, runs the named suite, and asserts the result (
Compliant — the PR adds the right level of regression coverage for a gate fixture: one
N/A — the diff does not alter a thesis/design document or change a locked modeling rule; the only design-adjacent edit is a brief-status row recording a proposed receipt for PR #879 (
Compliant — the only temporary shape is explicitly tracked: the docs row marks the receipt as “Proposed receipt — PR #879,” bounds it as “pre-merge; not main-truth,” and names the dissolution trigger as “until squash-merge lands — then set lane-closed here” ( 3. VerdictAPPROVE The patch is narrowly scoped, adds a concrete Exploratory observationsThe new gate’s predicate is |
Blocking review (Codex / inline) — resolvedIssue: Change (landed on
Surface syntax note: M1.5 witness uses sugar PR is ready for review ( |
briansrls
left a comment
There was a problem hiding this comment.
Review metadata
- Provider / model:
codex/unknown - Commit:
b804bb86· Trigger:schedule - Thinking:
327s wall
ROADMAP — Verified
- R1C-C sub_type_alias_where_lowers: The current diff proves the DB-11 alias-RHS
wherelowering receipt through a strict.dagTestClaim plus runner coverage.
✅ No blocking concerns found in the current diff.
|
Review metadata
1. Story of the diffThis PR turns the R1C-C T-Sub gate from a weak “the fixture compiles” receipt into a structural verification receipt for type-alias The actual R1 receipt is the new 2. Invariant categories
3. VerdictAPPROVE_WITH_COMMENTS The substrate extension is wired through the generated authority and both evaluator paths in the same PR, and the R1 gate now checks the actual refinement edge instead of merely compiling. I would not block on it, but I would add a small negative |
briansrls
left a comment
There was a problem hiding this comment.
Review metadata
- Provider / model:
codex/unknown - Commit:
49225c89· Trigger:schedule - Thinking:
215s wall
ROADMAP — Verified
- R1C-C sub_type_alias_where_lowers: The strict .dag receipt now names the DB-11 witness, checks DeclarationHasRefinement, and has runner coverage via test_runner_runs_sub_type_alias_where_lowers_gate.
✅ No blocking concerns in the current mixed docs/.dag/Rust test-runner diff.
briansrls
left a comment
There was a problem hiding this comment.
Review metadata
- Provider / model:
codex/unknown - Commit:
630e00ff· Trigger:schedule - Thinking:
148s wall
|
Re: scheduled Codex api-review comment (2026-04-26T20:14:41Z) That post is not actionable PR feedback—it only records that the bot’s environment could not run I re-checked from a normal If you want another automated pass, re-trigger review from an environment where |
|
Dashboard triage (2026-04-26T20:15:50Z relay) The quoted text is the same resolution already posted on this PR for the Codex “review blocked” infra notice: there was never a diff-backed code finding to fix—only a failed |
Resolve bootstrap snapshot conflicts by taking main’s regenerated snapshots; merged std/compiler sources match origin/main, so IDs stay aligned. PR #879 R1C-C fixture changes remain on top. Made-with: Cursor
R1C-C extends `TestPredicate` in `verification.dag`; the handwritten parse snapshot ratchet must record the new debug-tree size and fnv1a64 hash so `handwritten_parse_snapshot_matches_manifest` matches CI. Made-with: Cursor
|
R1 Closure Manager / CI fix: pushed |
briansrls
left a comment
There was a problem hiding this comment.
Review metadata
- Provider / model:
codex/unknown - Commit:
8f61e539· Trigger:schedule - Thinking:
60s wall
Marks R1C-C closed in the R1 closure manager brief after #879 merged with all checks green.
Resolve r1_gates / r1-closure-manager conflicts: keep PR #879 canonical `DeclarationHasRefinement("PositiveInt")` T-Sub gate and merge receipt. ROADMAP follows main. Made-with: Cursor
… gate R1C-C strict .dag gate closed in PR #879; surface brief table still showed not yet authored. Align T-Sub row + decisions log with r1-closure-manager. Made-with: Cursor
Sync r1-surface-manager T-Sub status with the landed R1C-C gate receipt from #879.
Session
jolly-stag-413— R1C-C T-Sub fixture forsub_type_alias_where_lowers.Runner /
Compiles: No newtest_runner.rsarm. The gate uses the existingCompilesbranch inTestRunner::run_claim, which callseval_compiles→compile_to_dagonTestClaim.source(same path assub_match_over_user_sumand other R1 gates). Seesrc/v3/compiler/src/test_runner.rs(run_claimmatches"Compiles"→eval_compiles).Manager brief: R1 Closure Manager working-state row uses “Proposed receipt — PR #879” (pre-merge) instead of main-truth “green”, per matrix hygiene feedback.
Verification (this branch):
cargo fmt --all --check;cargo clippy --all-targets -- -D warnings;cargo test --workspace --exclude v2-compiler-tests;cargo test -p v3-compiler sub_type_alias_where(newtest_runner_runs_sub_type_alias_where_lowers_gate);cargo run -p v3-compiler --bin self_host_fixed_point(DB-8 fixed-point; dev profile locally — CI uses--releaseper workflow).