Skip to content

Phase 1: loyal-heron SymbolIndex scaling receipt witnesses - #6538

Merged
briansrls merged 3 commits into
mainfrom
session/nimble-boar-198-namespace-flip
Jul 13, 2026
Merged

briansrls merged 3 commits into
mainfrom
session/nimble-boar-198-namespace-flip

Conversation

@gunbai-bot

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

Copy link
Copy Markdown
Contributor

Summary

Phase 1 deliverable per sharp-bee-290 brief: loyal-heron scaling receipt witnesses without resolver surgery. Reverts the premature NamespaceOnlyY default flip that broke CI (import-scoped cross-file witnesses).

Adds symbol_index_scaling_receipt_test.dag:

  • Complexity lens: Poly2Suspect=0 on symbol_index_fill.dag + 03_name_resolve.dag
  • Invocation frequency: documented trace — fill once per resolve_with_admission, not per-module
  • Empirical proxy: floor_scaling_curve_import_chain_sub_quadratic_receipt note (v1 import-chain)

default_name_resolution_policy stays ImportScoped. Phase-2 flip blocked until operator sign-off.

Test plan

  • claim_batch on receipt witnesses (4/4 PASS locally)
  • cargo test -p v1-compiler-tests floor_scaling_curve_import_chain_sub_quadratic_receipt --release
  • CI floor green (replaces broken 3e33199)

Adds symbol_index_scaling_receipt_test.dag: complexity-lens Poly2Suspect=0 on
symbol_index_fill + 03_name_resolve, invocation-frequency trace, empirical
proxy note (floor_scaling_curve_import_chain_sub_quadratic_receipt). Keeps
default_name_resolution_policy at ImportScoped — phase-2 flip blocked until
operator sign-off per sharp-bee-290 brief.

Co-authored-by: Cursor <cursoragent@cursor.com>
@briansrls
briansrls force-pushed the session/nimble-boar-198-namespace-flip branch from 3e33199 to abe0f8b Compare July 13, 2026 20:21
@gunbai-bot gunbai-bot Bot changed the title Finish namespace migration: flip resolver import-scoped→namespace-only, then delete import grammar + strip corpus-wide imports (deps via container.member, Rule-1 end-state). DE-RISK FIRST: confirm loyal-heron scaling receipt (operator-signed gate) before resolver surgery; checkpoint to sharp-bee-290 Phase 1: loyal-heron SymbolIndex scaling receipt witnesses Jul 13, 2026
Complexity-lens file_gate eval exceeds per-PR discovery fast-lane
budget; long/ is the operator-ruled home for slow offline receipts.

Co-authored-by: Cursor <cursoragent@cursor.com>
@gunbai-bot
gunbai-bot Bot marked this pull request as ready for review July 13, 2026 20:50
file_refusal_count returns -1 on ingest regression and -1 <= N is true;
file_gate maps RosterIngestRegressed to false per roster_gate pattern.

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

gunbai-bot Bot commented Jul 13, 2026

Copy link
Copy Markdown
Contributor Author

Addressed in a38e5fb: refusal ratchet witnesses now use file_gate (same pattern as accumulator_copy_roster_gate_test.dag), so RosterIngestRegressed maps to false instead of silently passing via -1 <= N. Poly2 suspect checks remain explicit file_suspect_count == 0 (already fail-closed: -1 == 0 is false).

@briansrls
briansrls merged commit 8e8a978 into main Jul 13, 2026
3 checks passed
@briansrls
briansrls deleted the session/nimble-boar-198-namespace-flip branch July 13, 2026 22:15
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