feat(auxiliary): store WTK auxiliary config under .wtk#81
Conversation
Generated-By: looper 0.9.9 (runner=worker, agent=codex)
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 605e91ff97
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Generated-By: looper 0.9.9 (runner=fixer, agent=codex)
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 278ee5e5c4
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Generated-By: looper 0.9.9 (runner=fixer, agent=codex)
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: cc01580eb2
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| if private.exists() { | ||
| private | ||
| let primary = primary_state_path(primary_root); | ||
| if primary.exists() { |
There was a problem hiding this comment.
Do not let stale .wtk state shadow git-common state
When a repo has both state files from the prior migration path, this now picks primary/.wtk/worktrees.json even though the previous implementation preferred and updated $GIT_COMMON_DIR/wtk/worktrees.json while leaving any older .wtk file behind. In that upgrade scenario, coordinated worktrees created or updated by the previous release disappear from read_state; wtk remove then treats their Primary worktree as a normal worktree (the Primary has no auxiliary marker) and removes only it, leaving the Auxiliary worktrees/branches orphaned. Please prefer/migrate the git-common state when both files exist, or otherwise detect and merge the newer state instead of blindly taking the .wtk file.
Useful? React with 👍 / 👎.
Generated-By: looper 0.9.9 (runner=fixer, agent=codex)
Summary
.wtk/config.tomland coordinated worktree state in.wtk/worktrees.json.wtkfiles when present, with legacy read fallback to$(git rev-parse --git-common-dir)/wtk/*Testing
cargo testpytest -q e2e/test_auxiliary_group.pyCloses #80
🔁 Powered by Looper · runner=worker · agent=codex · An autonomous AI dev team for your GitHub repos.