Skip to content

Add workspace grep match anchors#315

Merged
chubes4 merged 2 commits into
mainfrom
feat/workspace-match-anchors
May 9, 2026
Merged

Add workspace grep match anchors#315
chubes4 merged 2 commits into
mainfrom
feat/workspace-match-anchors

Conversation

@chubes4
Copy link
Copy Markdown
Member

@chubes4 chubes4 commented May 9, 2026

Summary

  • Add stable-enough match_id, preview text, and workspace_read-ready read_args to local and remote workspace_grep matches.
  • Add actionable workspace_edit old_string not found suggestions with nearby snippets for local and remote workspace backends.
  • Extend focused smoke coverage for grep anchors and edit miss context.

Closes #310.

Tests

  • php tests/smoke-workspace-grep.php
  • php tests/smoke-workspace-edit-context.php
  • php -l inc/Workspace/WorkspaceReader.php && php -l inc/Workspace/WorkspaceWriter.php && php -l inc/Workspace/RemoteWorkspaceBackend.php && php -l tests/smoke-workspace-edit-context.php
  • git diff --check
  • homeboy lint --path . (fails on existing repository-wide PHPCS findings unrelated to this change)

AI assistance

  • AI assistance: Yes
  • Tool(s): OpenCode (GPT-5.5)
  • Used for: Implemented the workspace grep anchor metadata, edit failure context, smoke coverage, and local verification; Chris remains responsible for review and merge.

@chubes4 chubes4 force-pushed the feat/workspace-match-anchors branch from 1c0b565 to 2cca1b2 Compare May 9, 2026 17:40
@chubes4 chubes4 merged commit 3cd7146 into main May 9, 2026
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.

Improve workspace search/edit pairing with grounded match anchors

1 participant