Documentation
¶
Overview ¶
Package project resolves the stable identity of the workspace a session belongs to. Agentic memory is stored in a single database shared by every workspace on the machine, so rows need a project key to be recallable workspace-by-workspace.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Resolve ¶
Resolve returns the canonical project key for a working directory.
The key is the directory's absolute, symlink-resolved path. macOS in particular hands out /var and /tmp paths that resolve to /private/..., and an unresolved path would split one workspace's memory into two projects.
Note that a git worktree resolves to its own path, not the main repository root, so a task worktree keeps a memory pool separate from the repo it was branched from. Change this function to fold worktrees into their parent repo.
Types ¶
This section is empty.