Skip to content

Comments

feat: Worktree isolation, auto-branch, review memory, verbose tool details#42

Merged
terraboops merged 1 commit intomainfrom
feat/memento-loop-improvements
Feb 19, 2026
Merged

feat: Worktree isolation, auto-branch, review memory, verbose tool details#42
terraboops merged 1 commit intomainfrom
feat/memento-loop-improvements

Conversation

@terraboops
Copy link
Owner

Summary

  • Git worktree isolation: Implementer runs in an isolated worktree under ~/.config/autonav/worktrees/, cleaned up on exit — keeps the user's code directory untouched
  • Auto-branch: Generates branch name from first plan summary when --branch is not provided (e.g., feat/add-user-auth)
  • Review loop memory (anti-oscillation): Accumulates ReviewRound history across rounds, passes to reviewer and fixer to prevent contradictory feedback
  • Verbose tool details: Shows Bash commands, file paths, search patterns in --verbose mode instead of just tool names
  • Improved uncommitted changes UI: Shows file list with color-coded status indicators, adds [v] View diff option
  • PR creation fix: Auto-generated branches can now create PRs (uses activeBranch instead of options.branch)
  • Claude config in panel: Shows CLAUDE_CONFIG_DIR in start panel so you know which account you're using

Test plan

  • Run autonav memento <code-dir> <nav-dir> --task "test" --max-iterations 1 --verbose — verify worktree created/cleaned up
  • Run without --branch — verify auto-branch from plan summary
  • Run with --branch my-branch — verify explicit branch still works
  • Make uncommitted changes, run memento — verify file list and [v] option
  • Run with --verbose — verify Bash commands and file paths shown
  • Trigger review rounds — verify history passed in round 2+ prompts

🤖 Generated with Claude Code

… tool details

- Git worktree lifecycle: implementer runs in isolated worktree under
  ~/.config/autonav/worktrees/, cleaned up on exit
- Auto-branch: generates branch name from first plan summary when
  --branch is not provided (slugified, e.g. "feat/add-user-auth")
- Review loop memory: accumulates ReviewRound history across rounds,
  passes to reviewer (anti-oscillation) and fixer (anti-revert)
- Verbose tool details: shows Bash commands, file paths, search patterns
  instead of just tool names
- Improved uncommitted changes UI: shows file list with status indicators,
  adds [v] View diff option with re-prompt loop
- Fix PR creation: uses activeBranch instead of options.branch so
  auto-generated branches can create PRs
- Show Claude config dir in start panel (respects CLAUDE_CONFIG_DIR)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@terraboops terraboops merged commit bacd493 into main Feb 19, 2026
5 checks passed
@terraboops terraboops deleted the feat/memento-loop-improvements branch February 19, 2026 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant