altimate-code icon indicating copy to clipboard operation
altimate-code copied to clipboard

Workspace rules need a git remote, but learn status says "not linked" for a linked project

Open sahrizvi opened this issue 1 month ago • 1 comments

Found during the v0.12.9 end-to-end run (#1647).

Workspace rules are keyed by the project's git remote (rules/sync.ts: no_remote). In a project linked by path (no git remote):

  • learn status prints Workspace rules: not linked (run \altimate-code link`)althoughworkspace status` shows the project linked, so the suggested fix does nothing.
  • learn sync prints Rules sync skipped: this project has no git remote.
  • Adding a remote later and running link --workspace <id> --yes keeps the path binding (Matched by path), so rules stay off until the project is unlinked and linked again.
  • configure/learn.md doesn't say rules need a git remote.

Suggested: have learn status say rules need a git remote, document it, and let link move a path binding to the remote once one exists.

sahrizvi avatar Nov 04 '26 20:11 sahrizvi

Resolved in v0.12.10.

sahrizvi avatar Nov 06 '26 20:11 sahrizvi