Skip to content

Add worktree-safe Compass graph bootstrap - #309

Merged
forhappy merged 1 commit into
mainfrom
codex/worktree-ensure
Sep 11, 2026
Merged

Add worktree-safe Compass graph bootstrap#309
forhappy merged 1 commit into
mainfrom
codex/worktree-ensure

Conversation

@forhappy

Copy link
Copy Markdown
Contributor

Summary

  • add an idempotent compass ensure command that discovers the active Git worktree root and reports initialized, updated, or current
  • keep mutable graph output isolated per linked worktree while reusing the existing incremental atomic update pipeline
  • update installed assistant guidance to run compass ensure at session entry and after switching worktrees
  • document the lifecycle and add an end-to-end linked-worktree regression test

Compatibility

This is an additive CLI and capability change. It does not change graph schemas or storage formats.

Verification

  • cargo fmt --all -- --check
  • cargo clippy --workspace --lib --bins --locked -- -D warnings
  • cargo test --workspace --lib --bins --locked
  • cargo clippy -p compass-cli --all-targets --all-features --locked -- -D warnings
  • targeted Compass CLI help, capability, installer, and linked-worktree tests
  • cargo test -p compass-cli --test compass_product --locked
  • sh scripts/check_product_boundary.sh

@forhappy
forhappy force-pushed the codex/worktree-ensure branch from d0fb36e to 1b8d316 Compare September 11, 2026 06:59
@forhappy
forhappy merged commit 082ed33 into main Sep 11, 2026
27 of 28 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