Skip to content

Dissolve complexity_linearity_audit_project.rs (gunbc#5364 landed) - #6211

Merged
briansrls merged 2 commits into
mainfrom
session/smart-seal-361
Jul 3, 2026
Merged

briansrls merged 2 commits into
mainfrom
session/smart-seal-361

Conversation

@gunbai-bot

@gunbai-bot gunbai-bot Bot commented Jul 3, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Deletes complexity_linearity_audit_project.rs (588 LOC, HAND_MAINTAINED_STAGE0_FILES) and completes the largest safe dissolution slice now that gunbc#5364's corpus accessor is live.

Verified #5364 shape before dissolving: v2.std.decl_index.decl_facts(pool_roots) and siblings (concept_decl_facts, fn_arrow_decl_facts_live) expose whole-corpus DeclFact { node: Node, … } rows — sufficient for enumeration and structural fold_node scans (as in no_dual_representation_test/scan.dag). They do not expose expr_data::ExprMatch, MatchPattern::Wildcard, or param type-head resolution in v2 .dag. Full step-3 dissolution ("pure .dag Node-tree reader" for wildcard-arm detection) is therefore not writable yet; attempting it would fabricate-green over missing primitives.

This PR lands:

Remaining gate (named): fn-body wildcard-arm AST walk stays in Rust until v2 gains .dag-accessible match/pattern introspection over DeclFact.node.body. ^resolved_graph_declared_* in value_carrier.dag are still aspirational symbols; the live accessor is decl_facts, which stops at opaque Node without expr surface tags.

Net: −588 hand-maintained LOC; +393 in generated-adjacent cli_run.rs host seam (receipt: one fewer HAND_MAINTAINED file, regen roster shrinks).

Test plan

  • cargo test -p v1-compiler --lib complexity_linearity — 4/4 green (synthetic closed-coproduct match + live-tree corpus walk + eval/testgen site raw-fact checks)
  • cargo run --bin complexity_linearity_audit — exit 0, non-empty findings over witness roots
  • cargo clippy -p v1-compiler -- -D warnings — clean
  • Floor witness src/v2/test/claim/complexity_linearity/syntactic_audit_witness_test.dag — unchanged imports; triage still pure .dag over host raw facts (CI batch-2)

briansrls and others added 2 commits July 3, 2026 20:42
…oject dissolution.

#5364's decl_facts corpus accessor is live but v2 .dag lacks expr_data/MatchPattern
introspection — wildcard-arm AST walk correctly stays in cli_run until that reader lands.

Co-authored-by: Cursor <cursoragent@cursor.com>
@gunbai-bot
gunbai-bot Bot marked this pull request as ready for review July 3, 2026 20:48
@gunbai-bot

gunbai-bot Bot commented Jul 3, 2026

Copy link
Copy Markdown
Contributor Author

Addressed review items:

composer-2.5 / claude-opus-4-7 (APPROVE): Verified against current HEAD (538c96fa). Findings match the tree — scaffold deleted off HAND_MAINTAINED, roster on-carrier in complexity_linearity_audit.dag, host seam honestly bounded at cli_run.rs:8343-8349, witnesses unchanged.

Opus minor observation (complexity_linearity_audit_corpus_parse_only alias): Valid — it is now a one-line forward to ..._over_decl_facts after step-1 of the dissolution trigger landed (#5966). Keeping the name for now: the emit bin and unit test still call parse_only semantically (audit-first / pre-floor gate vocabulary), and collapsing would be a no-behavior rename only. Deferred to a follow-up once the remaining expr_data host seam dissolves, so this PR stays scoped to scaffold deletion.

No code changes required for either review.

— sent from smart-seal-361

@briansrls
briansrls merged commit 481bdbb into main Jul 3, 2026
1 of 5 checks passed
@briansrls
briansrls deleted the session/smart-seal-361 branch July 3, 2026 23:21
gunbai-bot Bot pushed a commit that referenced this pull request Jul 3, 2026
Merge main (#6211 complexity_linearity + #6213 diagnostics): hand_maintained
mods must omit external_authority_project (this PR) and
complexity_linearity_audit_project (already dissolved on main).

Co-authored-by: Cursor <cursoragent@cursor.com>
briansrls added a commit that referenced this pull request Jul 4, 2026
…-projection, no host I/O - verified zero fs/net/process calls, same play as #6211/#6212) (#6217)

* WIP: Dissolve rest_transport_facts.rs + wire_value_serialize.rs (pure fact-pr

* WIP: Dissolve rest_transport_facts.rs + wire_value_serialize.rs (pure fact-pr

* WIP: Dissolve rest_transport_facts.rs + wire_value_serialize.rs (pure fact-pr

* WIP: Dissolve rest_transport_facts.rs + wire_value_serialize.rs (pure fact-pr

* Merge origin/main into session/bold-hawk-669 — resolve HAND roster conflicts

Keep dissolved rest_transport/wire_value fold in cli_run.rs; adopt main's
import_closure_equivalence_tests; align hand_maintained_mods with 9-file roster.

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Brian Searls <briansrls@gunb.ai>
Co-authored-by: Cursor <cursoragent@cursor.com>
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