Skip to content

fix(mcp): harden unindexed rename recovery - #580

Merged
zzet merged 1 commit into
mainfrom
fix/rename-recovery-owner-indexer
Aug 14, 2026
Merged

fix(mcp): harden unindexed rename recovery#580
zzet merged 1 commit into
mainfrom
fix/rename-recovery-owner-indexer

Conversation

@zzet

@zzet zzet commented Aug 14, 2026

Copy link
Copy Markdown
Owner

Summary

  • route unindexed rename recovery through the repository indexer that owns the target file
  • restore the current bounded extraction path with raw/native admission and coordinate-stable preprocessing
  • refuse arbitrary command transforms when a declaration-only raw edit cannot be proven safe
  • cover multi-repo ownership, repo-specific file limits, transform refusal, BOM coordinates, and admission cancellation

Validation

  • go test -race ./internal/indexer ./internal/mcp
  • go vet ./internal/indexer ./internal/mcp
  • git diff --check
  • go test ./... (all packages passed except the existing cmd/gortex post-test real-user-state guard, which observed a write to ~/.gortex/cache/query-log.jsonl after that package itself printed PASS)

Follow-up to #574.

@zzet
zzet merged commit c5ed12b into main Aug 14, 2026
11 checks passed
@zzet
zzet deleted the fix/rename-recovery-owner-indexer branch August 15, 2026 08:44
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