Skip to content

Brief A wrapu - #7116

Closed
gunbai-bot[bot] wants to merge 3 commits into
mainfrom
session/merry-boar-479-brief-a
Closed

gunbai-bot[bot] wants to merge 3 commits into
mainfrom
session/merry-boar-479-brief-a

Conversation

@gunbai-bot

@gunbai-bot gunbai-bot Bot commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Auto-opened by session-dashboard for session merry-boar-479.
Pushing to session/merry-boar-479-brief-a advances this PR.

Worker attestation

Before flipping this PR to ready for review, confirm each item:

  • Title describes the change (not the session id or branch).
  • PR body summarises what and why (replace the TODO below).
  • Tests run: name the command (e.g. npm test, cargo test) and the result.
  • If this closes a work item, the body contains a Closes #N directive.
  • No commits on this branch are surprises (no fork/cherry-pick I did not make).
  • No secrets / credentials / large binaries staged.

Summary

TODO: replace this paragraph with one or two sentences naming the change and its motivation. Reviewers read this first.

Test plan

  • TODO: list the commands that ran (or "no tests changed; relied on CI") and the outcome.

cursoragent and others added 3 commits July 23, 2026 00:49
…er in the executing v1 seed, default-off

- NameResolutionPolicy gate: name_resolution_policy_is_namespace_only thread-local
  builtin (runtime_rust.dag -> v1_rt), host-side setter only, default OFF =
  ImportScoped byte-for-byte; registered in 04_method builtins + extdeps rust rt rows
- type/value path (04_env.dag): under NamespaceOnlyY a global_bare homonym resolves
  to the unique binder on the ancestor chain; zero-or-multiple refuses (census-walk
  parity: zero-on-chain whole-pool homonym is Ambiguous, never a fabricated bind);
  nearest-wins preserved verbatim under the default
- fn path (04_sigs/04_lookup): lookup_resolved_sig/lookup_func_sig rewritten to the
  3-state FuncSigLookup (Resolved|Unresolved|Ambiguous{candidates}) so a refusal has
  somewhere to go; FuncSigAmbiguous never falls through to the census fallback;
  first-hit preserved verbatim under the default; analysis-only consumers project
  through func_sig_if_resolved, bind sites (ExprVar/ExprCall) match the full outcome
- typed diagnostic: AmbiguousReference{name, candidates, span} in 00_core.dag with
  span/message arms; emitted at the reference site with the full candidate fix menu
  (04_resolve bare-miss, 04_infer type annotation + record-lit presence, fn bind sites)
- discriminating witness: namespace_unique_on_chain_policy_test.rs — same homonym
  fixtures compile clean under ImportScoped, refuse typed+located under NamespaceOnlyY
  on both paths; unique-on-chain-still-resolves + unbound-stays-UnresolvedType controls
- regen_stage0 two-generation fixed point: regen_divergence_count=0, --verify green
- census refresh consumed into namespace-resolution-design.md §8/§12.3/§12.4/§13 +
  raw rows in docs/probes/resolution_divergence_census_2026-07-22.tsv (diverge=0,
  containment_ambiguous=38, owner_mismatch=0, lexical_steps={1:17175,2:1})

Co-authored-by: Brian Searls <briansrls@users.noreply.github.com>
…usy' race)

Co-authored-by: Brian Searls <briansrls@users.noreply.github.com>
@gunbai-bot

gunbai-bot Bot commented Jul 23, 2026

Copy link
Copy Markdown
Contributor Author

Abandoned — superseded by #7093 (namespace manager lane applying the debt-classification fix on the mechanism branch). This draft carried an incomplete WIP without main merge or green CI.

@gunbai-bot gunbai-bot Bot closed this Jul 23, 2026
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.

2 participants