| name | _ctx-absorb |
| description | Extract and apply deltas between two directories of the same project. Use when merging results from a parallel worktree or separate checkout where git push/pull isn't practical. |
| allowed-tools | Bash(git:*), Bash(diff:*), Bash(ls:*), Bash(patch:*), Read |
Extract changes from a "future" directory and apply them to the "present"
working tree. Complement to ctx-worktree: worktree splits work apart,
absorb merges results back.
When to Use
- Merging results from a parallel worktree back into the main checkout
- Applying changes from a separate checkout (different machine, USB copy)
- User says "absorb", "bring changes from", "merge from folder"
- Two copies of the same project need their deltas reconciled
When NOT to Use
- Directories are on a shared git remote — use
git pull / git merge
- Worktree is managed by git — exit or delete the worktree directly
- Directories are different projects (no common ancestry)
Pre-flight Checks
-
Validate directories exist:
ls "<present>" "<future>"
-
Same-project fingerprint — at least one must match:
- Same
go.mod module path, or same package.json name
- Same
.context/CONSTITUTION.md exists in both