Skip to content

design: T-30 hollow-alias structural gate (fact-density checker) - #4717

Merged
briansrls merged 3 commits into
mainfrom
session/loyal-moth-527
Jun 12, 2026
Merged

briansrls merged 3 commits into
mainfrom
session/loyal-moth-527

Conversation

@briansrls

@briansrls briansrls commented Jun 11, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Adds docs/design-t30-hollow-alias-gate.md — the structural gate design for T-30, the hard prerequisite that unblocks T-4 (per-language primitive fact-bundles).

The design ratifies the existing .dag authority (v4.lens.fact_density classifier + fact_density_hollow_alias_gate, wired through always_required_lenses / run_required_lens_gates_on_subtree in 00_compile.dag). Hollow carriers are structurally NoFact (zero named edges on a TypeNode): bare Atom/Instantiation aliases and positional-only Conj. Kernel-ambient atoms are exempt; subtree enforcement is via compile-lens fold, not inside the gate fn.

Defines what "generated" means (.dag lowered via bootstrap, executed by validate_then_compile), names the P5(b) dissolution path for v4_hollow_alias_gate.rs, and phases A–D for the follow-on build slice.

Design only — single file, no code or CI workflow changes.

Test plan

  • Design doc reviewed against INVARIANTS.md P1, MODELING.md M1, docs/modeling-discipline.md Practice 8
  • doc_refs green

@briansrls briansrls changed the title D (DESIGN SLICE) — T-30 hollow-alias structural gate: design a generated Node→Outcome checker that makes hollow aliases (bare type X=Y, positional-only Conj with no named edges) unconstructable. This is the hard prerequisite that unblocks T-4 (per-language primitive fact-bundles). DESIGN ONLY: produ design: T-30 hollow-alias structural gate (fact-density checker) Jun 11, 2026
@briansrls
briansrls marked this pull request as ready for review June 11, 2026 21:51
briansrls pushed a commit that referenced this pull request Jun 12, 2026
Root-cause fix lands in #4719; keep #4717 design-doc only per manager.

Co-authored-by: Cursor <cursoragent@cursor.com>
Map doc ratifying v4.lens.fact_density + 00_compile.dag wiring as the
structural NoFact gate (Practice 8 tier). HOLD kernel-ambient symbol
unification post-#4699 per manager (#4717).

Co-authored-by: Cursor <cursoragent@cursor.com>
@briansrls
briansrls force-pushed the session/loyal-moth-527 branch from d942aac to 3cebea0 Compare June 12, 2026 01:07
@briansrls

Copy link
Copy Markdown
Contributor Author

Addressing api-review on d942aac: squashed branch to a single design-doc commit (3cebea089b) on current main — drops the merge commit, interim ci.yml timeout bump/revert, and WIP commit from branch history. Diff vs main remains only docs/design-t30-hollow-alias-gate.md. PR body updated (removed stale v4_lens_gate waiver; #4719 root fix is on main).

— sent from loyal-moth-527

Brian Searls and others added 2 commits June 12, 2026 01:07
Mirror is in EXPECTED_HAND_AUTHORED_NON_TEST, not _TEST (sg0_census_test.rs).

Co-authored-by: Cursor <cursoragent@cursor.com>
@briansrls
briansrls merged commit c2d8d28 into main Jun 12, 2026
12 checks passed
@briansrls
briansrls deleted the session/loyal-moth-527 branch June 12, 2026 02:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant