v1.10.0

Gentleman-Programming/engramv1.10.0Mar 13, 2026by Alan-TheGentleman

Upgrading?

Release notes summary

This release changes how project names are detected, switching from the current working directory basename to the git remote origin URL to fix issues in monorepos and custom folder setups.

Key Highlights

  • Auto-detect project name from `git remote get-url origin`.
  • Fixes project name mismatches in monorepos, custom folders, and worktrees.
  • Automatic migration of existing memories on session start.
  • New `POST /projects/migrate` HTTP endpoint.

New Features

  • Git remote based project detection
  • Automatic memory migration
  • POST /projects/migrate endpoint

Full Release Notes

## What's Changed

### Auto-detect project name from git remote (#70)

Project names are now resolved from `git remote get-url origin` instead of `basename(cwd)`. This fixes project name mismatches in monorepos, custom folder names, and worktree setups.

**Detection priority:**
1. Git remote origin → extract repo name (SSH + HTTPS)
2. Git root directory name (worktree-safe)
3. CWD basename (fallback, previous behavior)

**Automatic migration:** On first session start, if the new name differs from the old basename, existing memories are migrated in a single atomic transaction. Idempotent — safe to run multiple times.

**Affected components:**
- Claude Code hooks (`session-start.sh`, `subagent-stop.sh`, `post-compaction.sh`)
- OpenCode plugin (`engram.ts`)
- New `POST /projects/migrate` HTTP endpoint
- Shared `_helpers.sh` with `detect_project()` function

**Full Changelog**: https://github.com/Gentleman-Programming/engram/compare/v1.9.9...v1.10.0

Related Repositories