sclaude — the process
The feature cycle as BPMN: who does what, in which order, and every way back.
Drawn from sclaude/lib/flow/process.py, which tests check against the code; a feature's own copy,
with where it stands lit and its actions, is at http://localhost:3000/__sclaude/flow?f=<feature>.
- a Claude session
- sclaude does it
- a check or a choice
- a person
- waiting
- goes back
- a message to another lane
- F — a friction review follows (its own map)
- W — may change sclaude in its workshop (its own map)
- R — a regression runs here (its own map)
- S — main is checked here (its own map)
- The issue's summary comment — sessions, rounds, reviews — is rewritten at every step, by sclaude itself
Point at a block, an arrow or a command to see what it is and what it touches; click to keep it lit, Ctrl-click to add more, Esc to clear.
1. The cycle at a glance
2. The whole process
Every lane, every check and every way back.
3. How a session changes sclaude
Any session marked W may take this way: it changes sclaude in its tree's workshop, and sclaude publishes the change once the session ends.
4. The friction review
Every session marked F leads here once it ends: what the safety rules refused it is read by a session of its own, which lifts a rule, leaves it, puts it off a month, or fixes sclaude.
5. A stage's regression
Every block marked R runs a stage's suite here: the local one closes steps 2 and 4, the preview's comes before QA, production's after the ship. Red goes to a fixing session, at most two, or back to step 4; production is rolled back first.
6. Main and the branch
Every block marked S checks main here: it is merged in without asking, and a conflict goes to the sync session.
7. A feature built in parts
A feature split at step 1 stays one issue, one plan, one pull request and one QA, and builds its parts inside step 2, each shown as it is built. Accepted, the parts become one branch, and the feature goes on as any other: one pull request into main, reviewed — at that size, in review blocks.
8. Commands and where they lead
A feature's action list shows only those that apply to it now. A command lights the place it leads to; a block lights the commands open there.
| Command | When | What it does | Leads to |
|---|---|---|---|
sclaude | always | the menu: features in progress | |
sclaude new [name] | always | a new feature at step 1 | sclaude new |
sclaude <name> | always | continue: the current step, or the end of the cycle | where the feature stands |
sclaude status | always | a table of every feature and its step | |
sclaude doctor | always | what this machine lacks, with the fix | |
sclaude config | always | the project's config, explained; the review mode | |
sclaude actions [name] | always | the action list of one feature | |
sclaude dev [name] | always | start the dev server (--stop stops it) | Prepare the feature |
sclaude sync <name> | always | merge origin/main in; a conflict opens the sync session | Main merges cleanly? |
sclaude replan <name> | before the cycle ends | back to step 1 in a new conversation; the code stays | 1 · plan |
sclaude parts <name> stop | before the cycle ends | a feature built in parts ends with the parts built so far; the rest become an issue | 2 · code the whole |
sclaude return <name> [reason] | a finished feature | back to step 4 with what was said since | 4 · fix-review |
sclaude issue <name> | always | link or create the feature's issue | sclaude new |
sclaude news <name> | with a pull request | what moved on the PR since the last session | 4 · fix-review |
sclaude preview <name> | after step 1 | deploy a preview of the branch | Preview |
sclaude rollback <name> | once production carried it | the previous release back; a red one sends the fix to step 4 | Rollback |
sclaude regression <name> | always | the local regression, the one steps 2 and 4 close on | Local tests passed? |
sclaude regression <name> prod | production red and carrying it | production's suite again; green, or no production suite, lifts the hold | Production tests passed? |
sclaude friction <name> | with friction logged | review what the safety rules refused | Friction review |
sclaude done <name> | at step 4 or done | the retro, then the clean-up after the merge | sclaude done |
sclaude reset <name> | before the cycle ends | start the step over, forgetting its conversation | where the feature stands |
sclaude drop <name> | always | abandon the feature, each trace asked about | Clean up?, Done |
sclaude epilogue [name] | an epilogue broken off | write the status into the issue | 6 · epilogue |
sclaude deferred | monthly, offered | the review of the friction put off | Monthly review |
sclaude review-stats | always | what review sessions cost in context | 4 · fix-review |
sclaude review-report <name> | with review rounds | is the review still worth it | 4 · fix-review |
sclaude checks [pr] | in a session | wait for the checks of the pushed head | Anything left open? |
sclaude core-open | in a session | let the session write sclaude in its workshop | sclaude core-open |
sclaude core-ready | in a session | mark the workshop's change ready to publish | sclaude core-ready |
sclaude propose | a developer's branch | send dev/<name>'s commits to sclaude as a PR | A pull request |
sclaude workshop | always | a session that changes sclaude with you, in a worktree of its own | |
sclaude core-send | a workshop change waiting | answer send to the question the tree's workshop change waits on | Send, reopen or drop? |
sclaude update | always | take sclaude's main now, whatever sclaude.update says |