Cross repo release readiness#3
Merged
Merged
Conversation
The cohesive Go code pass across model, finders, handlers, CLI, and the MCP server: - repo remove: project-scoped, ref-safety-guarded, auto-committed (d-tac-g8z) — refuses when a local entry still references the target (naming the stranded refs), --force overrides loudly, removes the .sdd/config.yaml dependency and commits. - repo add: auto-commits its .sdd/config.yaml dependency write. - repo add fast path: skips the coordinator view when no clone runs (no DEC escape-sequence leak). - lint: flags cross-repo refs whose target repo-id is not a declared dependency (standing resolve-or-block check). - bare-ID union resolution (d-cpt-xbx / d-cpt-ete): sdd show, the show MCP tool, and written refs resolve bare short / unprefixed-full IDs against the flat union of the local graph and declared dependencies, no local-first precedence, embedded entries deduped to the local instance, genuine collisions error. Engine anchor resolution deferred — it needs a new engine field type + schema change (raised for scoping). - MCP cross-repo search resolves the global-first embedder (CLI parity), so both surfaces share one (repo-id, fingerprint) vector space. - index --repo/--all-repos --force rebuilds connected member indexes. - Ctrl-C during a long embed exits cleanly (SIGINT 130), not a raw context-canceled at exit 1. - text-only search --repo gives honest "fetching repos" feedback instead of a mislabeled empty "indexing" bar. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GftrM1hbHAwc4dqmXdrWFJ
Documents the cross-repo feature against the now-settled surface: - README: a "Connected repos" onboarding section (repo identity, sdd repo add, the committed dependencies declaration, cross-repo ref IDs and bare-ID resolution, --repo/--all-repos search, the shared embedder + eager indexing, and the pushed-state cache model), plus a feature bullet, a search example, and a corrected directory-layout note (the index + connected caches are machine-global, not in .sdd/). - Skill templates (agent-neutral, rendered per agent): cli-reference gains the repo commands, cross-repo ID / bare-ID resolution, and a Cross-repo references section; search reference gains the cross-repo scope flags; the main sdd skill gains a "Reference across repos when reasoning does" behavior rule. Also corrected the stale .sdd/index / per-participant index descriptions to the machine-global store. - Served base-procedure specs (host-neutral, no CLI names): capture's Refs guidance notes cross-repo refs, resolve-or-block + the declared-dependency precondition, and within-graph-only lifecycle edges; the dialogue orientation's show note now covers bare-ID union resolution across declared dependencies and the resolve-then-anchor pattern (d-cpt-z6h), and notes search/show reach connected dependencies. Installed skill renders refreshed via `sdd init` in the preceding commit. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GftrM1hbHAwc4dqmXdrWFJ
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.
No description provided.