Skip to content

Releases: srstomp/ohno

v0.20.0 — worktree fix

26 Apr 12:48

Choose a tag to compare

Fixed

  • ohno-cli invoked from inside a git worktree now writes to the canonical project DB (<repo>/.ohno/tasks.db) instead of a worktree-local copy (#38). Path resolution uses git rev-parse to find the canonical project root; falls back to cwd-walking when not in a git repo.

Handles linked worktrees, submodules (each submodule resolves to its own .ohno/), bare repos, and external gitdirs (git init --separate-git-dir=...).

Migration note

If you've been running ohno-cli inside a git worktree, you may have stale .ohno/ directories there. After upgrading, you can safely remove them:

rm -rf <worktree>/.ohno

Known issue (deferred to 1.0.0)

Concurrent writes from multiple ohno-mcp processes can still silently overwrite each other (#36). 1.0.0 fixes this via a switch to Node's built-in node:sqlite.