Skip to content

Solution for long term memory for agent coding CLIs and to facilitate handoff between different agent vendors

Rust

Merge pull request #1884 from viniciusdsandrade/fix/1880-worktree-adopts-v2-project

AkitaOnRailsbbe9f1aeefe4
diff --cc CHANGELOG.md
index 283488d6,9d05566b..42c9e17b
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@@ -13,12 -13,14 +13,20 @@@ version in [`docs/changelog/`](docs/cha
### Fixed
+- `GET /handoff` (the `session-start` hook) returns again on large projects.
+ On a store without planner statistics, the unfinished-session recovery
+ lookup walked every observation in the project and rescanned the project for
+ each one, so the request never returned and left a server thread spinning.
+ It now checks each of the project's sessions once through
+ `idx_observations_session` and reads the project's handoffs once (#1879).
+ - A 2.x project is now adopted whichever checkout of its repository captures
+ first. When a linked worktree (`git worktree add`) captured before the main
+ checkout, the repository identity created a new project, every checkout then
+ followed the identity there, and the 2.x project with its pages and sessions
+ was orphaned. A worktree now claims the identity-less project named after its
+ main checkout, as the main checkout would. The server reads the worktree's
+ git metadata to find it; `docs/upgrading-to-3.0.md` covers a server that
+ cannot read the checkout (#1880).
- Project search links now use the project's current stored name after
resolving a canonical or legacy key. Results, breadcrumbs, and the scope
selector stay on that project without renaming it (#1875).