/ralph-sandbox:ralph-plan-logfrom ralph-sandbox
Show combined timeline of plan activity (tasks, commits, learnings)
Ships in ralph-sandbox. Installing the plugin adds it to Claude Code.
Stitch together prd.json tasks, git commits, and learnings into a single timeline view.
Step 1: Plan Selection
ls plans/*/prd.json 2>/dev/null
Extract <plan-name> from the path plans/<plan-name>/prd.json.
Step 2: Read prd.json
Read plans/<plan-name>/prd.json. Handle both formats:
tasks array: use .tasksFor each task, capture: id, category, description, passes.
Separate into two lists: completed (passes: true) and pending (passes: false).
Step 3: Read learnings.md (optional)
Read plans/<plan-name>/learnings.md if it exists. If missing, skip — this is not an error.
Parse entries by splitting on --- separators. For each entry, look for a **Task:** line to extract the task id. Build a map of task-id → learning content.
Step 4: Git History
Get commits that touched the plan folder:
git log --oneline --name-only -- plans/<plan-name>/
For each commit that modified plans/<plan-name>/prd.json (these mark task completion boundaries), get the full diff stat:
git show --stat <hash>
Extract the commit hash, message, and list of changed files. Exclude prd.json and learnings.md from the changed-files list since those are bookkeeping.
Build a list of these "task completion commits" with their changed files.
Step 5: Commit-to-Task Matching
Match commits to completed tasks using order: the most recent prd.json-touching commit corresponds to the most recently completed task. If commit messages contain a task id or task description keywords, prefer that match.
Any commits that don't match a specific task get listed under a general "Other Commits" section.
Step 6: Output
Print the following, completed tasks first, then pending:
# Plan Log: {plan-name}
## ✓ {task description}
**Category:** {category}
**Commit:** {hash} {message}
**Changed:** {file1}, {file2}, ...
**Learnings:**
- {matched learning content from learnings.md}
---
## ✓ {another completed task}
**Category:** {category}
**Commit:** {hash} {message}
**Changed:** {file1}, {file2}, ...
---
## ○ {pending task description}
**Category:** {category}
---
## ○ {another pending task}
**Category:** {category}
---
{n} complete, {m} pending
Rules for output:
## Other Learnings2 complete, 3 pending/ralph-plan-log # Auto-select if one plan
/ralph-plan-log my-feature # Specific plan
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
Generated from the plugin's indexed repository (braddenver/ralph-sandbox) — no native marketplace selected
npx claudepluginhub p/braddenver-ralph-sandbox13 commands in this plugin
/build-fixBuild and FixIncrementally fix build and type errors with minimal, safe changes./code-reviewCode ReviewComprehensive security and quality review of uncommitted changes:/e2eE2E CommandGenerate and run end-to-end tests with Playwright. Creates test journeys, runs tests, captures screenshots/videos/traces, and uploads artifacts./health-checkHealth CheckVerify project is properly configured for Ralph workflows/learn/learn - Extract Reusable PatternsAnalyze the current session and extract any patterns worth saving as skills./ralph-initRalph InitInitialize ralph scripts in current project for interactive terminal use