Skip to content

fix(code): scope revision manifests to source root - #214

Merged
AntoineToussaint merged 1 commit into
mainfrom
fix/source-manifest-subdirectory-scope
Aug 10, 2026
Merged

fix(code): scope revision manifests to source root#214
AntoineToussaint merged 1 commit into
mainfrom
fix/source-manifest-subdirectory-scope

Conversation

@AntoineToussaint

Copy link
Copy Markdown
Contributor

Fixes #213.

A DefaultCodeServer rooted at a nested code unit now returns revision manifests in the same capability-relative namespace as worktree manifests and file operations. Git gets an explicit rooted pathspec and no longer widens the request with --full-tree.

Production evidence: the first real Mind small-Go headless session made the correct semantic edit and passed selected/full tests, but semantic projection and change publication failed because the revision manifest included the outer Mind repository while the worktree/mutation receipt contained main.go only. Cassette replay reproduced the false red.

Validation:

  • go test ./code
  • go test ./... (all packages passed except one local Git signing configuration failure in runners/python; rerunning that exact test with commit/tag signing disabled passed)
  • nested-root regression covers worktree/revision path parity and content identities

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.

GetSourceManifest revision escapes a subdirectory-rooted Code boundary

1 participant