DashboardspotlightInvestigate migrations via throwaway su…

Investigate migrations via throwaway subagent experiments without modifying tracked files

Category: preference
Confidence: 0.80
ID: 019fa897-2fa8-700c-bfc2-5def3626fd7d
Project ID: ec1699be-a430-4fc6-879b-c437a47171b4
Cross-project: No
Recalled in other projects: 2
Source session: 0BWJWCoAjpJf8rYh3
Created: 2026-07-28 11:58:28
Updated: 2026-07-28 11:58:28

Cross-Project Recalls

ProjectHitsLast recalled
opencode-lore 4 1d ago
opencode 1 10d ago

Content

Before committing to a dependency migration (e.g., Astro 6→7, Vite 7→8), the user dispatches a subagent to a throwaway directory like /tmp/opencode/<name> to resolve and probe the migration surface. The subagent must NOT modify tracked files (package.json, pnpm-workspace.yaml, pnpm-lock.yaml), must report findings as a numbered list, and must clean up after itself. Only after the user reviews the surface map do they apply the actual edits — for example, replacing the vite override rules once the peer-error cascade is understood. Findings should include: resolved target versions, peer-dep cascades, required config edits, and any blocked paths. Follow this pattern when proposing version bumps: preview in throwaway first, then apply.

Move to: