Repository navigation
Enforce complexity/linearity lens family whole-corpus (audit-first) - #6049
Closed
gunbai-bot[bot] wants to merge 30 commits into
Closed
gunbai-bot[bot] wants to merge 30 commits into
gunbai-bot[bot] wants to merge 30 commits into
Conversation
Co-authored-by: Cursor <cursoragent@cursor.com>
Ship emit-only complexity_linearity_audit bin over parse_dag_file (swaps to decl_facts when #5966 merges), host builtins, and syntactic witnesses that bite on real wildcard-match debt sites — not floor fail-closed yet. Co-authored-by: Cursor <cursoragent@cursor.com>
The new v2.lens.complexity_linearity_audit module must declare construction_justification (WallAfterGrounding) for discovery-corpus hygiene; apply cargo fmt to the audit host transport files. Co-authored-by: Cursor <cursoragent@cursor.com>
Register complexity_linearity host builtins in 04_method.dag, emit the hand-maintained mod from 05_emit_rust.dag, and patch regen_stage0 so lib.rs stays byte-identical with fresh self-compile. Co-authored-by: Cursor <cursoragent@cursor.com>
…audit. Emit-only bin now prints fabricated-green headline (75/75 rostered residue; floor RED on 75 if roster dropped) plus syntactic triage split: eval-interpreter-debt, grammar-ladder-debt, kernel-permanent. Co-authored-by: Cursor <cursoragent@cursor.com>
Replace whole-corpus DeclFact materialization + cached AuditSummary with per-file streaming projections and a lightweight site-set cache for host builtins. Adds locked-shape decl_facts stub, roster migration/irreducible partition, and regen hand-maintained wiring. Co-authored-by: Cursor <cursoragent@cursor.com>
Collapse dead triage_complexity branch, document triage_wildcard as 🟡 until decl_facts(#5966) on-carrier roster, note global builtin cache, and document site-pinned witness ratchet semantics. Co-authored-by: Cursor <cursoragent@cursor.com>
Mark the audit project, decl_facts stub, bin, and Cargo.toml entry with explicit SCAFFOLD + ROADMAP §3 3-gates-whole authority and named dissolution triggers, matching non_fold/inert sibling precedent (#33382). Co-authored-by: Cursor <cursoragent@cursor.com>
Note that syntactic wildcard detection is audit-only; WallAfterGrounding dissolution requires closed-coproduct scrutinee resolution, not substring triage. Co-authored-by: Cursor <cursoragent@cursor.com>
dag.dag exhaustive-terminal + roster -5 belong on a separate escalate-review PR per operator dispatch; keep #5967 audit-first only. Co-authored-by: Cursor <cursoragent@cursor.com>
Per-site rows for all 52 irreducible roster slots: match shape, 7-class taxonomy, recognition rules, exact arithmetic reconciliation, and 5 CANDIDATE→migration exclusions flagged for operator review. Co-authored-by: Cursor <cursoragent@cursor.com>
doc_graph orphan wall was RED on the operator sign-off catalogue added in 92dfe84; link it from the non-fold-residue audit ROADMAP bullet. Co-authored-by: Cursor <cursoragent@cursor.com>
Extend triage_wildcard/triage_complexity with kernel-permanent, open-domain, and real-debt buckets; report full breakdown in audit bin output. Co-authored-by: Cursor <cursoragent@cursor.com>
Documents path-heuristic vs closed-coproduct discriminators, 10-site spot-check, and demotion recommendation before operator scope sign-off. Co-authored-by: Cursor <cursoragent@cursor.com>
Second orphan doc from nimble-ibex-655 lane; doc_graph wall requires inbound link from ROADMAP root. Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Replace path-prefix real-debt=294 with AST param-type + closed_coproduct_names discriminator; open-domain wildcards stay out of eliminate-N. Fix multiline sum-type indexing (ManualAnchorKey). Enroll 6 off-roster ManualAnchorKey sites on migration roster — honest N=29 migration-debt + 52 irreducible (was inflated ~318). Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Parser reds on // at module scope (#5651); move construction_justification before fns and sync ROADMAP row with roadmap_authority carriers to clear generated_artifact_drift_gate_passes. Co-authored-by: Cursor <cursoragent@cursor.com>
Rewrite real-debt sample audit for triage_wildcard param resolution (no is_real_debt_site); update roster arithmetic to 76/24/52 per live NON_FOLD_*_ROSTER on HEAD. Co-authored-by: Cursor <cursoragent@cursor.com>
Align operator headline with NON_FOLD_MIGRATION_DEBT_ROSTER.len() after grammar-ladder Wave 1 −5 roster drain. Co-authored-by: Cursor <cursoragent@cursor.com>
Both arms of the inner if already broke the loop; collapse to a single break per Opus review #33540. Co-authored-by: Cursor <cursoragent@cursor.com>
Regenerate committed ROADMAP from roadmap_authority authored_pp carrier links so generated_artifact_drift_gate_passes is green. Co-authored-by: Cursor <cursoragent@cursor.com>
…lexity residue. Drop eval-interpreter-debt and grammar-ladder-debt arms (roster partition fires first); note triage_complexity path buckets as emit-only scaffold per Opus #33574. Co-authored-by: Cursor <cursoragent@cursor.com>
No code change — local release build and drift gate pass on HEAD. Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
The audit walk uses decl_facts_project::corpus_dag_files_for_roots; leftover rel_path/corpus_dag_files referenced unimported cli_run symbols and broke CI. Co-authored-by: Cursor <cursoragent@cursor.com>
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Auto-opened by session-dashboard for session
nimble-ibex-655.Pushing to
session/nimble-ibex-655advances this PR.Worker attestation
Before flipping this PR to ready for review, confirm each item:
npm test,cargo test) and the result.Closes #Ndirective.Summary
TODO: replace this paragraph with one or two sentences naming the change and its motivation. Reviewers read this first.
Test plan