fix(nexus): bind queries to portable project identity - #1794
Merged
Merged
Conversation
T12472: preserve recorded legacy aliases while refusing ambiguous and foreign graph selectors.
T12472: preserve dispatch and bridge regression assertions with initialized or explicit mock identities; require the warning test to reach EISDIR.
T12472 verification: use an owned temporary store instead of /tmp/cleo.db; preserve all abort assertions and schema guards.
T12472: extend the independent two-store regression to verify actual rendered bridge content and exclude the other checkout.
kryptobaseddev
marked this pull request as ready for review
October 3, 2026 03:48
kryptobaseddev
added a commit
that referenced
this pull request
Oct 3, 2026
Brings in v2026.10.3, #1792 (T13098), #1793, #1794, #1796 (T13100) and #1800 (T13106). One conflict, in nexus-vault.test.ts: both sides appended a describe block at the end of the file; both are kept. No other file is changed by both sides. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011aghp4ZSvreKRQ53YE6nau
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.
Nexus queries derived default IDs from paths, and several readers opened the ambient graph while labeling it as the supplied checkout. Moving or selecting a checkout could therefore change identity or report the wrong graph. Queries now read declared portable identity, resolve recorded unambiguous legacy aliases with warnings, refuse foreign/missing selectors, and open HTTP, clusters, flows, diff and bridge stores at their actual checkout paths.
Closes T12472. Contract comparison resolves registered authorized checkouts rather than decoding IDs into paths. Legacy derivation remains only for compatibility alias population. No shared CLI installation, live Kodo store migration, archive deletion or registry cleanup is included.
Validation:
The existing source graph truthfully reports stale/unresolved static coverage. This establishes query identity and store isolation, not exhaustive runtime caller discovery. Native artifacts were copied only after proving their source/Cargo lock unchanged, are ignored, and are not included in this PR.