بنقرة واحدة
resume
Evaluate consolidation run quality, handle review items, and prepare to merge or relaunch.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Evaluate consolidation run quality, handle review items, and prepare to merge or relaunch.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Capture session learnings and save to skills, guidelines, or reference docs under ~/.claude/.
Orchestrate parallel claude -p sessions — bootstrap, launch, monitor, and converge. Works with any skill that produces manifest.json, item directories, and a runner script.
Create a request (pull request or merge request) or update an existing one following project conventions.
Resolve merge or rebase conflicts between branches.
Assess open PRs with unaddressed review comments and generate a parallel addressing script — produces manifest.json and let-it-rip.sh for address-request-comments execution.
Assess open work items and generate a parallel execution script — produces manifest.json and let-it-rip.sh for implement/clarify execution.
| name | resume |
| description | Evaluate consolidation run quality, handle review items, and prepare to merge or relaunch. |
| disable-model-invocation | true |
| allowed-tools | ["Read","Edit","Glob"] |
git branch --show-current 2>/dev/nullEvaluate the quality of a completed or stalled consolidation loop, handle any review items, and print the relaunch command.
$ARGUMENTS provided, use as the worktree pathclaude/worktrees/consolidate-* and prompt for selection/ralph:consolidate:init first."Read from <worktree>/claude/consolidate-output/:
| File | What to extract |
|---|---|
progress.md | State variables (SWEEP_COUNT, CONTENT_TYPE, PHASE), iteration log, notes |
report.md | Summary table, total actions, status |
review.md | Any review items (LOWs, blocked MEDIUMs, loop limits) |
decisions.md | Last 10 rows (recent actions for context) |
| Dimension | Check | Source |
|---|---|---|
| Broad sweep yield | Finding count, clean or messy? | Iteration log |
| Action quality | HIGHs genuine? MEDIUMs well-calibrated? | decisions.md rationales |
| Deep dive yield | Substantive vs clean ratio | Iteration log |
| Compounding | Insights compounded? If zero, why? | Iteration log notes |
| Spec compliance | SWEEP_COUNT matches log file count? | progress.md + Glob on logs/ |
| Adjacent patterns | Deep dives noting patterns for unprocessed files? | Notes for Next Iteration |
| Carryover framing | MAX_DEEP_DIVES_HIT: periodic review or unfinished? | DEEP_DIVE_CANDIDATES, tracker |
Flag anything warranting discussion. Spec compliance uses Glob (not Bash).
# Resume: Consolidation <date>
## State
- **Content Type**: LEARNINGS / SKILLS / GUIDELINES
- **Sweep Count**: N
- **Phase**: BROAD_SWEEP / DEEP_DIVE
- **Status**: IN_PROGRESS / COMPLETE
## Summary
| Content Type | Sweeps | HIGHs Applied | MEDIUMs Applied | MEDIUMs Blocked |
|...|
## Evaluation
[Structured analysis from step 3. Flag items warranting discussion.]
## Review Items (N)
[L-1] Title — ambiguous classification...
[BM-1] Title — blocked MEDIUM, options: ...
(If none: "No review items — loop can resume as-is.")
## Recent Decisions (last 5)
| Iter | Action | Source | Target | Decision |
|...|
If there are review items in review.md:
AskUserQuestion to collect the operator's decision for each**Status**: RESOLVED (<chosen option>) to the itemNotes for Next Iteration section so the next loop iteration picks it upIf the operator wants to skip an item, leave it without a Status line.
Changes belong on the consolidation branch, not main. Any file edits made while resolving review items should be committed to the consolidation branch — not to main. The consolidation branch is the PR unit; direct commits to main bypass review. Use ~/.claude/ tilde paths for Edit/Write (they land on the shared filesystem), then stage and commit from the worktree's git context.
Recommendation framing: When presenting options, prefer recommending the option that fixes root cause (wire, restructure, merge) over the option that accepts dysfunction (delete, skip). Deletion is irreversible; wiring is reversible. Only recommend cleanup when the content is stale, incorrect, or has no identifiable consumers.
Calculate suggested iterations based on pre-flight cadence (from progress.md) and remaining work:
Cadence and Suggested iterations from the Pre-Flight sectionmax(5, <init_suggested> - SWEEP_COUNT) where <init_suggested> is the value from pre-flight (default 20 if not present)If COMPLETE or MAX_DEEP_DIVES_HIT signal is present in progress.md:
consolidate-output/ from the branch — these are working state, not deliverables. Run git rm -r claude/consolidate-output/ and commit with message consolidate: remove working files before merge.git diff main -- claude/git checkout main && git merge <branch>Otherwise:
Ready to resume. Run:
cd <worktree>
bash ~/.claude/ralph/consolidate/wiggum.sh <suggested_iterations>
wiggum.sh invokes claude --print (cannot be called from within Claude)