You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 265d89c
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/docs/configure/learn.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -189,6 +189,8 @@ Delivery waits at most about 5 seconds for the learn lock; if another process st
189
189
190
190
In a project linked to an Altimate workspace (`altimate-code link`), what you teach the agent can become a **team rule**: a one-line instruction every teammate's sessions in the workspace's repositories follow once the workspace owner approves it.
191
191
192
+
**Rules need a git remote.** Team rules are kept per repository, keyed by its git remote. A project with no remote can be linked by its path, but rules stay off there: `learn status` and `learn sync` say so. Add a remote and run `altimate-code link` again, picking the same workspace: the link keeps its workspace and gains the remote, and rules sync from then on.
193
+
192
194
**When a rule is proposed.** A card appears above the input when:
193
195
194
196
- you correct the agent on the same topic in 2 or more sessions (also before the workspace has any rule);
if(outcome.status==="unbound")return{status: "skipped",code: "not_linked",reason: "this project is not linked to a workspace",unlinked: true}
71
71
if(outcome.status!=="bound")return{status: "skipped",code: "link_unconfirmed",reason: "the workspace link could not be confirmed"}
72
-
if(!outcome.binding.repoRemote)return{status: "skipped",code: "no_remote",reason: "this project has no git remote"}
72
+
if(!outcome.binding.repoRemote)return{status: "skipped",code: "no_remote",reason: "this project is linked by its path, and workspace rules need a git remote on the link (add a remote if the project has none, then run `altimate-code link`)"}
expect(rulesNotSyncedLine({status: "skipped",code: "not_signed_in",reason: "not signed in to Altimate"})).toBe("Workspace rules: off — not signed in to Altimate")
0 commit comments