Skip to content

Remove the spotlight feature#631

Merged
bborn merged 1 commit into
mainfrom
task/4655-remove-the-spotlight-fceature
Jul 7, 2026
Merged

Remove the spotlight feature#631
bborn merged 1 commit into
mainfrom
task/4655-remove-the-spotlight-fceature

Conversation

@bborn

@bborn bborn commented Jul 7, 2026

Copy link
Copy Markdown
Owner

Summary

Removes the spotlight feature entirely — Bruno never used it.

Spotlight let you sync a task worktree's git-tracked files back into the main repo (start/stop/sync/status) so you could run the app against in-progress changes. It's been superseded by simply running the app from the worktree, so this rips it out across every surface: the Go package, the MCP tool, the TUI, config, docs, and the multi-surface parity manifests.

Changes

  • Deleted internal/spotlight/ — the whole package (Start/Stop/Sync/Status) and its tests.
  • MCP (internal/mcp/server.go) — dropped the taskyou_spotlight tool definition, its handler case, and the import; added a regression guard in server_test.go asserting it's no longer advertised in tools/list (and removed the ~530 lines of spotlight tests).
  • Executor — removed taskyou_spotlight from the MCP auto-approve list and its tests.
  • TUI (internal/ui/app.go, detail.go) — removed the Spotlight/SpotlightSync keybindings, the 🔦 badge, help entries, the spotlightMsg type, and the toggleSpotlight/syncSpotlight commands. This frees up the f / F keys.
  • Config (internal/config/keybindings.go) — removed the spotlight/spotlight_sync fields and sample YAML.
  • Parity — pruned the now-stale entries (desktop/capabilities.json "Spotlight", parity-ignore.json "SpotlightSync") so internal/parity stays green.
  • Housekeeping — dropped the .spotlight-active .gitignore rule and the SKILL.md doc entry.

Net: +6 / −1829 lines.

Testing

  • go build ./...
  • go test ./internal/{parity,mcp,config,executor,ui}/ ✅ all pass
  • golangci-lint run (v2.8.0, matching CI) ✅ 0 issues

Follow-ups

None. Feature is fully removed; f / F are now available for reuse.

🤖 Generated with Claude Code

Spotlight synced a task worktree's git-tracked files into the main repo so
the running app could be exercised against in-progress changes. It went
unused and is superseded by running the app directly from the worktree, so
this rips it out end to end.

Removed:
- internal/spotlight package (Start/Stop/Sync/Status + tests)
- taskyou_spotlight MCP tool (definition, handler, auto-approve entry)
- TUI Spotlight/SpotlightSync keybindings, the 🔦 badge, help entries,
  and the toggle/sync commands (frees up f / F)
- spotlight keybinding config fields + sample YAML
- .spotlight-active gitignore rule and the SKILL.md doc entry

Also pruned the now-stale multi-surface parity entries (desktop
capabilities "Spotlight", parity-ignore "SpotlightSync") so the parity
test stays green, and added a regression guard asserting taskyou_spotlight
is no longer advertised in tools/list.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@bborn bborn merged commit 09b7d5e into main Jul 7, 2026
4 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