Skip to content

Cross repo release readiness#3

Merged
hlubek merged 3 commits into
mainfrom
worktree-cross-repo-release
Jul 10, 2026
Merged

Cross repo release readiness#3
hlubek merged 3 commits into
mainfrom
worktree-cross-repo-release

Conversation

@hlubek

@hlubek hlubek commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

No description provided.

hlubek and others added 3 commits July 9, 2026 18:33
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
@hlubek hlubek changed the title Worktree cross repo release Cross repo release readiness Jul 10, 2026
@hlubek hlubek merged commit 5f9e4bb into main Jul 10, 2026
3 checks passed
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