# Store writes whose first parameter is a bare repo or worktree id (R4-2), as Class.method, # and persistence repo-row lookups by id alone (review-5 #10), as lookup:file#function. # This is a RATCHET: entries may only be REMOVED. Take RepoHostTarget or HostWorktreeTarget, # or match the row by id AND host (getRepoExecutionHostId). # Prune after a fix: pnpm check:id-only-store-write-ratchet --prune lookup:src/main/persistence/loading-store/terminal-binding-recovery.ts#getConnectionIdForWorktree lookup:src/main/persistence/tracking-repos/project-host-operations.ts#getRepo