Skip to content

Inside Hand backs from QA

Ilia edited this page Nov 26, 2026 · 2 revisions

Returning a feature to development is a transition, not a message. Once the preview regression is green the issue goes to In QA and a systemd timer takes over: sclaude-watch polls the column every few minutes and changes nothing itself — it looks and it tells, in the feature's topic (the watch keeps the worktree for sclaude-notify --in). When the column leaves In QA, it collects what was written since the watch began — on the issue, on the pull request, and on the pull request's lines — and saves it verbatim beside the watch file. Verbatim rather than summarised, because the session is answering a person, and a paraphrase of a complaint is a poor thing to answer.

Acting on it is sclaude's when the human comes back, and this is where the mechanism used to stop half-finished. The finding was delivered and ignored: the watch is armed from remind_prod, so a feature waiting on QA always sits at step: done — and cmd_resume returned for a done feature before it read the verdict. The one state the block existed for was the one state it could not be reached in. The comments sat in their file, no session was opened to hand them to, and the human was shown the production reminder as though nothing had been said.

Now the verdict is read first, and returned puts the cycle back on step 4 in the same worktree, with the complaint as the session's opening prompt. No question is asked: QA moving an issue out of that column is a judgement already made, and "back to the review?" would be asking whether they meant it — the same reason a rolled-back production is not put to a vote.

The preview's verdict goes back with it, and only the preview's. Entering the review step already clears the local stage and deliberately spares the deployed ones, because "a preview verdict that is still true" is worth keeping — after a hand-back that reasoning inverts, since the preview is exactly what QA looked at and rejected. Left passed, the gate short-circuits on it and the fix returns to QA without the deployment ever being checked again. Production's verdict is left alone: if it shipped, that run was about a deployment the comment did not concern.

Nothing moves the column back. It returns to In QA the ordinary way, when the fix's own preview regression goes green — doing it "helpfully" here would be fighting the board with the person who just moved it.

The watch ends when QA's yes has been used. Once QA accepted the preview and the pull request is merged, remind_prod stops it (watch_stop), before the issue is held open for the rest of the cycle. Left armed, the timer read sclaude's own moves as QA's: the issue reopened after the merge — which a board puts in its backlog — as a hand-back, "returned to development", and its close at production as an acceptance still waiting for the merge. A feature merged before QA answered keeps its watch: handing a merged feature back is still QA's to do.


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

Clone this wiki locally