Skip to content

Inside Returning a feature by hand

Ilia edited this page Dec 3, 2026 · 2 revisions

QA is one reason to return a feature, not the only one. One pull request reached done on an automatic review that had read a third of it; the ten real findings a second review found could only be sent back by moving the card as though QA had. sclaude return <name> [reason] is that same return under its own name: it saves the notes (the reason first), moves the card from In QA to In progress so the board does not claim QA has a feature being fixed, records that column so the timer does not announce the move, and leaves the returned verdict for cmd_resume to act on — the board path and this one meet there. Either way the state says reopened_by: returned and reopened_since, and the session is told to read the issue and the pull request for itself from that moment: the notes are a copy, and a reply added since is part of what it has to answer. Only a finished feature can be returned; one still on a step is told to say what is wrong where its session reads it.

The four lines that put a step back — clear its done, clear its finished, name the new current step — are now step_rewind_to in steps.sh, shared by this, by the regression's rewind after a red deployed stage, and by sclaude replan. They differ only in which steps they name: one, one, and all four. A replan keeps step 2's conversation, and run_step tells it to read the new plan as it next opens (steps.code.replanned).


Generated from docs/sclaude.md; edit it there, then rebuild with wiki/build.py.

Clone this wiki locally