DashboardopencodeLore project remote pairing

Lore project remote pairing

Category: gotcha
Confidence: 1.00
ID: 01a08651-4952-79f6-9d88-96c9eb3ed976
Project ID: c0425955-02bc-4c17-9af2-b114c00077e7
Cross-project: No
Recalled in other projects: 0
Source session: 16od9eLodujFsAeYb
Created: 2026-09-09 03:13:47
Updated: 2026-09-09 13:17:49

Content

Trap: using ctx.location.directory for project attribution and git remote looks right because it is the requested location, but it may be an unchecked nested path and can misattribute or leak another repository’s remote. Fix: derive both projectPath and gitRemote from host-resolved ctx.location.project.directory, store them as one pair, and never emit x-lore-git-remote for a non-Git project.

Move to: