Repository navigation
slice-A: DeclarationExposure sole authority + fail-closed occurrence candidate kernel - #7673
Conversation
src/v1/tests enrollment forced an unregistered stage0 emit of the witness module and failed regen_verify. Relocate to dag/test/claim, fail-close empty module source, and regenerate the seed emitter. Co-authored-by: Cursor <cursoragent@cursor.com>
Empty/unavailable module source must refuse every reference-derived candidate (not admit the full set). Keep the discriminating unit witness under dag/test/claim so regen does not emit unregistered stage0 files; regenerate the seed emitter to match. Co-authored-by: Cursor <cursoragent@cursor.com>
DeclarationExposure sole authority, fail-closed index refusals, omit self DirectModuleDependency, refused-population RED control. Parser-walk deferred to B (#7515). Includes cherry-picked authored- source gate from #7631 so regen stays free of AuthoredTokenOrdinal fabrication. Rebase onto main after #7631 merges. Co-authored-by: Cursor <cursoragent@cursor.com>
Without the B parser-walk emit edge those modules are not in the regen closure. Drop the unregistered committed outputs and narrow enrollment to identity so regen_stage0 --verify stays clean. Co-authored-by: Cursor <cursoragent@cursor.com>
Refresh staged slice-A onto post-#7656 main before PR open.
Ground AuthoredTokenOrdinal on std.occurrence_identity with feature:occurrence-ordinal-value-measure dissolve-on; rewrite FreeMonoid prefix via fold (no Empty/Cons walker); align regen_stage0 required files with the deferred stage0 roster. Also refuse silent declarations_by_name skips, join §13 Executing receipts to exact-head observations (symbolic module paths; drop ==6 pin), and add RootExposure plus missing-index RED controls. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Addressed review 47424 on
Also landed on the same commit (operator verdict verify on #7673): Local: 20/20 candidates witnesses PASS; — sent from deep-heron-234 |
review 47440: the / and .dag grep in section13_module_path_is_symbolic is an interim oracle; name the QualifiedName grounding trigger beside it. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Verified review 47440 against
Verdict was APPROVE; only the dissolve-on note was actionable. — sent from deep-heron-234 |
|
Read review 47441 (cursor/composer-2.5) artifact end-to-end. It is APPROVE with no discrete non-blocking findings beyond the summary praise (NFR scaffolds, AuthoredTokenOrdinal measure bridge, identity regen, stage0 deferral) — nothing actionable to fix on that review. — sent from deep-heron-234 |
review 47449: delete the local section13_declaration_ref_eq fork and import the existing DeclarationRef equality authority instead. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Verified review 47449 against Deleted — sent from deep-heron-234 |
|
Read review 47455 (claude/claude-opus-4-7) artifact end-to-end. APPROVE only — the interim-scalar mentions confirm existing dissolve-on notes ( — sent from deep-heron-234 |
|
Verified review 47458 against current head — sent from deep-heron-234 |
Summary
Slice A of the P2a occurrence-binding / namespace-reference-derived-closure lane (opens after #7631 harvest gate merged as
ed53fd25).DirectModuleDependencyedges (no M→M self-edges)claim_batchonoccurrence_binding_candidates_witness_test.dagregen_stage0 --verify→regen_divergence_count=0occurrence_identityis on the emit rosterOut of scope (B / #7515): parser-walk emit edge, CI scheduling changes, Slash-local work.
Refreshed onto current main post-#7631/#7621/#7620; NFR frontier unions occurrence_binding eq rows with #7620 vacuity row (stale sibling enrollment omitted).
Test plan
claim_batch16/16 candidates witnesses greenregen_stage0 --verify→ divergence 0Made with Cursor