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 0ae7ca1
Browse filesBrowse the repository at this point in the historyBrowse files
fix(workspace): address the bot and multi-model review on the v0.12.1 release PR
- `stripHostMarkers` deletes every spelling of a marker on Windows, where
environment names are case-insensitive, and the exact name elsewhere.
The nested `altimate_change` markers around its call site are gone.
- `shell.ts` exposes `shellChildEnv` so the persistent shell's child
environment is tested on values, not on this file's source text.
- `readPin` treats a whitespace-only id, name or root as a broken pin.
- Identity keeps the resolver behind the deadline even when no complete
account is configured: the resolver's own credential read is looser
than `accountScope` and can still reach the network.
- The adversarial test file no longer mutates `XDG_STATE_HOME`; the
preload already isolates state and nothing here reads it.
- Docs: `ALTIMATE_CODE_SERVE` is set by `serve` itself, not only by the
extension; ordinary and pinned sessions described separately.
- CHANGELOG narrows the credential-scoping claim to the layer this
release fixes: the resolver's own five-minute caches are still keyed
by tenant and host (tracked separately).
Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012Q51zFUmPg1WwtS5CrGJE6
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ Two workspace-pilot additions that landed right after 0.12.0, plus the fixes the
17
17
### Fixed
18
18
19
19
-**Routing and identity can no longer contradict each other about the link.** The routing section used to say "this project is bound to workspace X" from a snapshot taken at tool resolution; it now says which workspace *serves* the tools, and only the identity section states the link. (#1330)
20
-
-**A pinned session is described as pinned, with the routing caveat**, and a pin served from the offline grace window is marked "last known" like a cached link. Identity's per-account memo is keyed on the credential, not only the tenant, so two accounts on one tenant never share an answer; under a pin the deadline fallback never reaches for the project's own cached link. Found in this release's review.
20
+
-**A pinned session is described as pinned, with the routing caveat**, and a pin served from the offline grace window is marked "last known" like a cached link. Identity's per-turn memo is keyed on the credential, not only the tenant, so two accounts on one tenant never share that memo; the resolver's own five-minute caches underneath it are still keyed by tenant and host, so a same-tenant account switch can still be answered from the previous account's cached link for up to five minutes (tracked separately). Under a pin the deadline fallback never reaches for the project's own cached link. Found in this release's review.
21
21
-**The persistent `shell` tool strips the same host markers as `bash`** (`ALTIMATE_CODE_SERVE`, the pin variables, headless and non-interactive), so a nested `altimate-code serve` started from it cannot inherit a pin it was never given. Found in this release's review.
22
22
-**Pin ids are decimal digits only** — `Number()` also accepted `1e3` and `0x10` — and the identity section's size cap now fits its longest shape with a maximum-length name instead of dropping the name. Found by this release's adversarial tests.
Copy file name to clipboardExpand all lines: docs/docs/usage/cli.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,7 +53,7 @@ Workspace features are off unless `ALTIMATE_WORKSPACE=1` is set. With it:
53
53
-`altimate-code link` links the current project to a workspace (or creates one). The sidebar then names the workspace and shows how many memories are not yet synced and when skills last synced.
54
54
-`/workspace` in the TUI opens a menu: **Refresh** pulls the workspace's skills and memory into this project, **Sync** re-sends local memory the workspace never received, **Unlink** detaches the project.
55
55
-`altimate-code skill publish <name>` uploads a project skill to the linked workspace; see [Skills](../configure/skills.md#cli-commands).
56
-
-The agent is told every turn which workspace the project is linked to — or that none is, or that the link could not be verified just now — so "which workspace am I in?" always has an answer. It is told to treat that as the Altimate Workspace and not to confuse it with a Databricks workspace or an IDE workspace folder.
56
+
-In an ordinary session the agent is told every turn which workspace the project is linked to — or that none is, or that the link could not be verified just now. In an extension-pinned session it is told the pinned workspace instead, and that it differs from the project's own link. Either way "which workspace am I in?" has an answer, and the agent is told not to confuse it with a Databricks workspace or an IDE workspace folder.
57
57
- When `altimate-code serve` is launched by the VS Code / Cursor extension, the workspace selected in the extension's panel governs that session's skills and memory, taking priority over whatever the project is linked to on the backend, and is scoped to the folder it was launched for. Warehouse tool routing still follows the project's own link for now. A pin is fixed for the life of the `serve` process, so the extension relaunches `serve` when the selection changes; nothing updates a running one.
58
58
59
59
## Global Flags
@@ -98,7 +98,7 @@ Configuration can be controlled via environment variables:
98
98
|`ALTIMATE_CLI_DISABLE_MODELS_FETCH`| Don't fetch models from models.dev |
99
99
|`ALTIMATE_WORKSPACE`| Opt into the workspace pilot (`1`). Off by default; nothing about workspaces is active without it |
100
100
|`ALTIMATE_INTEGRATIONS`| Set to `local` to keep warehouse tools local rather than routing them through a bound workspace's engine |
101
-
|`ALTIMATE_CODE_SERVE`| Set by the IDE extension on the `serve` process it launches. Marks that process as the extension's host; stripped from every child the bash and shell tools start |
101
+
|`ALTIMATE_CODE_SERVE`| Set to `1`by `altimate-code serve` itself, whether the IDE extension or you launched it. Marks that process as the extension's host — so it is the one that reads the pin variables — and is stripped from every child the bash and shell tools start |
102
102
|`ALTIMATE_PINNED_WORKSPACE_ID` / `_NAME` / `_ROOT`| Set together by the IDE extension on `serve`: the workspace selected in its panel and the folder it applies to. All three or none — a partial pin is refused rather than ignored. Read only when `ALTIMATE_CODE_SERVE` is set; never persisted; stripped from child processes |
0 commit comments