ralph_update
Update a user story's status after completion, recording pass/fail, notes, changed files, and verification evidence so agents can track progress and dependencies.
Instructions
Update User Story status. Called by subagent after completing a story.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"branch": "<branch>",
"storyId": "<storyId>",
"passes": "<passes>"
},
"name": "ralph_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| step | No | Current step label (e.g., implementing/testing/building/verifying) | |
| error | No | Error message if stuck (for stagnation detection) | |
| notes | No | Implementation notes | |
| branch | Yes | Branch name (e.g., ralph/task1-agent) | |
| passes | Yes | Whether the story passes | |
| storyId | Yes | Story ID (e.g., US-001) | |
| hardGates | No | Hard gate verification results for typecheck/build | |
| acEvidence | No | Per-AC evidence mapping, keyed by AC id | |
| filesChanged | No | Number of files changed (for stagnation detection) | |
| expectedFiles | No | Files declared before implementation that are expected to change | |
| skipHardGates | No | Skip hard gate verification for non-code stories (default: false) | |
| skipScopeCheck | No | Skip scope guardrail check (default: false) | |
| scopeExplanation | No | Required explanation when scope guardrails are exceeded | |
| unexpectedFileExplanation | No | Explanation for files changed outside expectedFiles declaration |