altimate-code
altimate-code copied to clipboard
Workspace rules need a git remote, but learn status says "not linked" for a linked project
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 statusprintsWorkspace rules: not linked (run \altimate-code link`)althoughworkspace status` shows the project linked, so the suggested fix does nothing.learn syncprintsRules sync skipped: this project has no git remote.- Adding a remote later and running
link --workspace <id> --yeskeeps the path binding (Matched by path), so rules stay off until the project is unlinked and linked again. configure/learn.mddoesn'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.
Resolved in v0.12.10.