بنقرة واحدة
worktree-merge
Merge worktree branches back to main. Gathers context from specs/plans, merges, cleans up.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Merge worktree branches back to main. Gathers context from specs/plans, merges, cleans up.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Long-running iterative development loops. Run arbitrarily-long tasks without diluting model attention. Triggers: ralph, ralph loop, iterative loop, long-running task, development loop.
Full compactor reference — tool parameters, anti-patterns, sandbox languages, context budget, workflows.
Diagnostics — validate config, session DB, runtimes, and troubleshoot compactor issues.
Context management — compact session, recall history, run code, search content.
Stats display — context savings, session metrics, compactions, sandbox and recall/search counters.
Helps you use the /unipi:btw side-conversation workflow effectively. Use when you want to think in parallel, ask side questions without interrupting ongoing work, or inject a side thread back into the main agent.
| name | worktree-merge |
| description | Merge worktree branches back to main. Gathers context from specs/plans, merges, cleans up. |
Merge completed worktree branches into main. Gather context from docs before merging.
Note: Only needed when work was done in a worktree (plan workbranch set). If work was on main branch directly, skip this — changes already on main.
Before merging, read existing specs and plans to understand what each worktree was implementing:
.unipi/docs/specs/ (if exists).unipi/docs/plans/ (if exists)This context helps during merge conflicts and in the final report.
main branch: git branch --list mainmaster: git branch --list masterIf branches provided in args:
git branch --list <name>If no branches provided:
git worktree list.unipi/worktrees/ paths onlygit status)For each source branch (in dependency order if specs indicate ordering):
git checkout maingit merge <branch> --no-editgit worktree remove .unipi/worktrees/<branch-name>git branch -d <branch>Merge Summary:
✓ feat/auth — merged (auth system implementation from specs/auth-system.md)
✓ fix/login-bug — merged (login fix from plans/bugfix-login.md)
✗ feat/dashboard — CONFLICT in src/dashboard.ts, skipped
Worktrees cleaned: 2 removed
Branches deleted: 2
/unipi:consolidate to save learnings/unipi:worktree-merge/unipi:document to update docs