Repository navigation
complexity-gate S1a: source-bridged add lens witness (design-lens-subject-supply) - #4669
Merged
Merged
Conversation
…subject-supply Implement the COMPREP source-bridge handoff (tokenize→parse→normalize→resolve→ body_producer) with arrow_body_target_lookup body extraction, cost/complexity fold, and dominance gating. Replace unreachable 02_parse target with honestly labeled wave-1 add exemplar row in lens_ci_gate. Co-authored-by: Cursor <cursoragent@cursor.com>
briansrls
marked this pull request as ready for review
June 11, 2026 12:56
Dissolve parallel lookup reimplementation flagged in review; delegate to the canonical node_query accessor used by COMPREP sibling claims. Co-authored-by: Cursor <cursoragent@cursor.com>
Contributor
Author
|
Addressed in 7a54bf2: removed Witness re-verified green locally ( — sent from snappy-heron-686 |
2 tasks done
3 tasks done
briansrls
added a commit
that referenced
this pull request
Jun 11, 2026
…budget-roster completeness over lens subjects + converge #4669's gate row onto #4668's roster row (shared subject-producer hoist, delete inline budget + duplicated pipeline). Read docs/design-lens-subject-supply.md first. (#4673) * WIP: complexity-gate S2 (completeness gate + S1 convergence): fail-closed bud * WIP: complexity-gate S2 (completeness gate + S1 convergence): fail-closed bud * fix(complexity-gate): mark fn-ref dispatch scaffold and fix diagnostic locus Add a named 🟡 gated dissolution receipt for the subject_producer fn-ref dispatch (v2 cannot invoke fn()-typed parameters yet). Use a proper virtual file symbol for the unsupported-producer diagnostic locus instead of reusing the reason symbol as the Textual file. Co-authored-by: Cursor <cursoragent@cursor.com> * chore(complexity-gate): drop dead import and declare virtual file symbol Remove unused comprep_source_resolved_add_arrow import after the wave-1 producer hoist. Declare lens_subject_body_supply_virtual_file as an explicit Symbol data row for the unsupported-producer diagnostic locus. Co-authored-by: Cursor <cursoragent@cursor.com> * WIP: complexity-gate S2 (completeness gate + S1 convergence): fail-closed bud --------- Co-authored-by: Brian Searls <briansearls1@gmail.com> Co-authored-by: Cursor <cursoragent@cursor.com>
6 tasks done
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.
Summary
Lands complexity-gate S1a per
docs/design-lens-subject-supply.md(PR #4670): one perturb-checkedlens_ci_gaterow whose witness obtains a real compiled COMPREP wave-1addbody via the sanctioned source-bridge pipeline (tokenize → parse → normalize → resolve → body_producer), extracts the body witharrow_body_target_lookup, and gates viacost_lens→complexity_lens→complexity_bound_dominates. Honest label: source-bridgedadd, not02_parsestage coverage (unreachable until COMPREP waves 2+).Design
src/v4/test/claim/complexity_gate/source_bridged_add_budget.dag--subjectflag (design §4 R2 rejected)body_of/ module-table lookupTest plan
target/release/gunbc run --source-root src/v4 --entry src/v4/test/claim/complexity_gate/source_bridged_add_budget.dag --function source_bridged_add_budget_claim_holds --claim-run→truebash scripts/v4-lens-ci-gate.sh --perturb-check→ 7/7 green + perturb red