Skip to content

One data directory across git worktrees #553

Closed

Description

@dan-petty

A relative data directory (.data by default) resolves against the top of the current worktree. So every git worktree keeps its own review sessions, benchmarks, corpora, sample validations, spend ledger and hallucinations catalog, and removing a worktree deletes them. The first full sample validation (#505) was lost this way. Its summary survives only in the task file.

Deliverables

  • A relative data directory resolves against the main worktree (the repository's common git directory), so all worktrees of a repository share one history.
  • An absolute data.dir or DEVOPS_CLI_DATA_DIR is kept as given.
  • Tests for a linked worktree, the main worktree, a directory outside git, and an absolute path.

Activity

  1. added this to the v0.2.23 milestone on Sep 24, 2026
  2. added
    type/bug
    scope/config
    priority/p1-high
    on Sep 24, 2026
  3. dan-petty commented on Sep 25, 2026

    @dan-petty
    OwnerAuthor

    Closed by #559, merged into release/v0.2.23.

    GitHub only acts on closing keywords when a pull request merges into the default branch, so this was closed by devops gh issues close-merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority/p1-highscope/configtype/bug

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions