$ /wstack:start-task <idea>
wStack
A task workflow: confirm the spec, execute, verify with evidence, deliver
claude plugin marketplace add 21-BreakinCode/wStack && claude plugin install wstack@wstack Already installed? Update, then restart Claude Code:
claude plugin marketplace update wstack && claude plugin update wstack@wstack Who does what
-
wStack is the tech lead
It turns your rough idea into a spec, runs the work with agents, and checks the result against the spec.
-
You are the final quality gate
You approve the spec, each step that cannot be undone, and every merge. Nothing ships without you.
-
One RD per herdr workspace
Each task runs as its own Claude session, called an RD, in its own herdr workspace and git worktree.
-
The board and the retro
/wstack:board shows every open RD, the ones that wait for you first. /wstack:run-retro reads the finished tasks and proposes fixes to the workflow.
One task, five steps
- 1 Trigger
Creates the task folder in your Obsidian vault and opens a herdr workspace for it.
- 2 Confirmation
An agent turns your idea into a spec. You approve it.
- 3 Execute
An agent does the work and logs each step. It stops before a step that cannot be undone.
- 4 Verify
An agent runs each check in the spec and records evidence. A reviewer agent reviews the result.
- 5 Deliver
The agent sends the result to the targets in the spec. A merge waits for your approval.
- A check fails and the spec is right: back to Execute, up to retry_limit times. Then the task waits for you.
- The spec is wrong: back to Confirmation.
Commands
- /wstack:board
- Show every open RD (a task session), the ones that wait for the user first, write a snapshot page, and close finished workspaces.
- /wstack:create-handover
- Create a well-formed handover document in the vault handover folder of the current service, seeded from the current conversation context.
- /wstack:init-org
- Scaffold handover_handler__initiation.md for the current ORG in $LifeOS/01Project/$ORG/.
- /wstack:init-service
- Per-repo setup.
- /wstack:pause-work
- Pause the work of this session.
- /wstack:resume-work
- Resume paused work from its resume note.
- /wstack:run-retro
- Review the finished wStack tasks that no retro read yet, propose improvements, and apply the ones the user picks.
- /wstack:start-task
- Start, continue, or resume a wStack task.
- /wstack:wrap-up-handovers
- Vault-wide daily wrap-up.
What it needs
- Claude Code
- herdr
- An Obsidian vault
- GitHub CLI
- answer-me-with-html plugin
What is new
0.7.0 2026-11-23
- feat
/wstack:init-service <repo-path> ...sets up each repository you name, in order, from any folder. With no path, it sets up the current folder as before. A path that is not a git work tree is reported, and the other paths still run. The report has one block per repository. - feat
/wstack:init-service --checkchecks every row of the org's service mapping table and changes nothing. For each row, it reports the repository, the./handoverlink, the ignore rule, the vault folder, and the contract state. It warns about anapp_namethat is not kebab-case, and it offers the setup for the rows that need it. The new scriptscripts/handover/check-mapping.shdoes the check. - change
/wstack:init-serviceasks you to approve each repository before any write, also a repository that is already mapped. The question shows the link path and the exclude file path. - fix The retro's
age_dayscount is exact.collect-week.shtook the time of day from the clock for each date. When the clock passed a second between two dates, a task counted one day younger, and a test failed now and then.
Earlier releases (10)
0.6.1 2026-11-23
- fix
check-page-width.shprints only the page width. Under bash 3.2, stopping its local server added aTerminated: 15job notice to the output, so a caller that read the width failed.
0.6.0 2026-11-23
- feat The retro reads every finished task once, whatever its start date. It marks each task it read with
retro_readinspec.md, so a long task is no longer missed. - feat After the user agrees in the retro, read tasks move to
Tasks/_archive/<week>/<task_id>/. The move usesobsidian move, so Obsidian rewrites the links to the moved notes. A failed move puts the files back, and the retro tries again next week. - feat Each project with a contract keeps a facts file,
<app_name>.facts.md, next to its contract. The retro proposes fact candidates from the exit notes and from repeated corrections. The user accepts or rejects each one, and every later task session of the project reads the accepted facts atConfirmation. - feat
/wstack:boardshows the size of each task's changes, for example2 files +4 -1, and the live monitor shows it too. - feat
/wstack:boardshows astalledgroup: a task session in theexecutingorverifyingstage while herdr reports it idle or done. - feat In
Verify, a test run that reports skipped cases fails its step. A skip that the spec names with a reason is allowed.Verifyalso lists each place that still names a renamed or moved path, and the reviewer judges each one. - change
spec.htmlandreview.htmllive in~/.wstack/pages/<task_id>/, outside the vault.build-review-page.shtakes a required--page <path>. - change A code task started outside herdr puts its worktree under the herdr worktree root, at
<root>/<repo>/<branch-slug>, not at~/.wstack/tasks/<task_id>. - change The spec template has a new section,
## Moves and renames. - docs The README, the spec, and the design describe the archive, the facts file, the task pages, the board changes, and the guards.
0.5.0 2026-11-23
- feat
/wstack:boardlists every open task session (RD) in groups: needs you, stopped, working, paused, finished, and other. It also writes a Notion-style snapshot page,Board/board.html. It offers to close the workspaces of finished tasks, and it skips a worktree that has changes. - feat
/wstack:board --watchopens a live monitor in a herdr pane. Every 3 seconds it shows the stage of each RD, its last tool call, and the subagents that run now with their last tool call. A Bash call shows only its description, never its command text. - feat Each task records the id of every Claude session that worked on it, in
session_idsinspec.md. A restart resumes the last session by its id. - feat Deliver counts tokens by session id. The new
subagent_tokensfield holds the tokens of the subagents, andtokens_usedkeeps its old meaning. - feat At Deliver, and at a cancel after the retry limit, the RD writes
retro-note.md. The note lists slow steps, steps to turn into scripts, gaps in the spec, tool and guard friction, and surprises. - feat
/wstack:run-retroreads the exit notes and the transcript stats of each task: tool calls, errors, repeated commands, and compactions. A repeated command keeps only its command name and the subcommand of a tool such as git. No quoted text or secret reaches the retro files. If the evidence raises a question about one task, the retro asks a read-only fork of that RD's session. It records the answer under## RD answers. - change An RD that opens a herdr pane opens it in its own workspace and closes it before Deliver.
- change
render-page.shtakes an optional--theme-file <path>. - docs The README, the spec, and CLAUDE.md describe the board, the monitor, the exit note, and the retro reopen.
0.4.1 2026-11-23
- fix The contract scripts reject a block-style YAML list for
ignoreorpending. Before, such a list read as empty, and the check reportedfresh. Nowcontract-check.shandcontract-edit.shexit 2 and name the key. A blank line or a comment line before the first item does not hide the list. - fix
contract-check.shexits 2 on a missing or empty argument. Before, it exited 1, which means stale. - fix The guard no longer asks for a command that only reads a file that names a guarded command, such as
cat scripts/evidence-delete.sh. Every part of the command must be a read-only tool. The tools arecat,head,tail,grep,wc,ls,file,stat,diff, andnl. The git commands arediff,show,log,blame, andstatus. The tool must be called by name and not by path. A git option before the subcommand other than-C,--no-pager,-P, or--no-optional-locksgets the normal check. So does a command that runs other commands, for example withbash,eval,xargs, or-exec. A backtick or a$expansion other than a plain$namealso gets the normal check. A redirect with>also gets the normal check. - fix The guard also asks before
yarn npm publish. - fix The Deliver contract undo also removes the empty
decisions/and_archive/folders. - fix The contract tag uses the same kebab rule as
create-handover, so the orgBreakinCodegivesproject/breakin-code/<service>. - docs The text in
start-task/references/confirmation.mdsays where the gate changes the contract (step G4 and step 9). Thecontract-edit.shcomment no longer claims it is the only writer.
0.4.0 2026-11-22
- feat
/wstack:pause-workstops work in the middle, in any session. It writes a resume note first. Then it stops the background agents, shells, and processes that this session started. The note records what it stopped and what still runs. Inside a wStack task, it also sets the task status topaused. - feat
/wstack:resume-workfinds the newest pause note for the current folder. It compares the git state with the note, shows the note, and goes on from the next step. It never resets or stashes. For a paused task, it prints the command that resumes the task in its own folder. - feat A new task status,
paused, withpaused_frominspec.md./wstack:start-task --task <task_id>resumes a paused task, and the open-task list shows it. Notes for a session outside a task go in~/.wstack/pauses/. - feat
/wstack:init-servicechecks the service contract as its last step. If the contract exists, it reports the status. If there is none, it offers to launch a contract task. Outside herdr, it creates the task and prints the command that starts it. - feat
/wstack:run-retrowalks contract drift. It resolves pending write-backs, fetches the base branch, and fast-forwards only a clean base branch. It asks which stale sections to update in the same question as the proposals. It writes the contract under the lock and records the undo under## Contract. - change
/wstack:run-retrogoes on in a week with no task folders, so the drift walk still runs. - change Outside herdr, a code task gets a worktree at
~/.wstack/tasks/<task_id>, and you startclaudethere. A leftoverwstack/<slug>branch stops the launch with exit 6. - change A failed launch (exit 4 or 6) sets the task to
cancelled. - breaking The guard always asks.
WSTACK_GUARD_MODE=denyand theWSTACK_APPROVED=1prefix are gone. - fix The guard also catches
gitandghcalled by full path, and it judges each command segment. It sees a switch to the default branch behind a prefix such asenv,bash -c, orthen. - fix Web checks run playwright-cli in a scratch folder, pick a free port, and close the browser before they delete the folder. No browser and no
.playwright-cli/folder stay behind. - fix The contract scripts handle CRLF files, accept only a hex
verified_commit, keep file modes, and writeset-verifiedin one step.pending-addskips duplicates.applywarns about a new section and takes a repeatable--section. If a write fails,delete-sectionexits 2. - fix The contract hook matches compound and full-path git commands, but not an echoed one.
- fix The gate undo deletes the sections it added and restores
verified_commit. A closed pull request sets its decision files towithdrawn, and a retried write-back adds no duplicate decisions. - fix The redactor keeps short counters, such as
max_tokens=4096, and redacts every other secret value, including a 6-digit code and non-string JSON values. - fix The evidence step replaces old evidence lines, videos are never scaled up, and images are checked against
pr_media_max_mb. - docs The README, the spec, and CLAUDE.md describe the new commands, the drift walk, and the
pausedstatus.
0.3.1 2026-11-22
- fix The guard asks before a push that follows a switch to the default branch. It also asks for
git push --all, for a push inside parentheses, and forpnpm publish,yarn publish, andcargo publish. - fix The redactor uses one name list for headers, URL parameters, and JSON keys. It also redacts every plain-text evidence file before upload, and it handles text with invalid UTF-8.
- fix A repository in
local_evidence_only_reposgets a pull request with no attachments, and Deliver leaves text logs out of the body. - fix A task folder of any earlier day with the same slug now counts as taken, so the new task gets a new slug.
- fix A second retro in the same week writes
<week>-2.mdand keeps the first retro.
0.3.0 2026-11-22
- feat A contract file in the vault for each mapped service, with
plan.mdanddecisions/beside it. - feat A drift check,
contract-check.sh. It comparesverified_commitwithorigin/<base_branch>and makes no network call. - feat A SessionStart hook and a PostToolUse hook. If the contract is stale, they tell the agent. Otherwise they print nothing.
- feat A contract gate for
codeandopstasks, before the spec is written. It writescontract-brief.mdand a gate patch in the task folder. - feat A write-back in Deliver. The contract changes after the pull request merges. A closed pull request drops its pending item.
- feat A
contractwork type that sets up or rebuilds a contract. Deliver moves old vault files into_archive/<task_id>/. - feat Two agents:
contract-readerandcontract-historian. The reviewer reports acontract-mismatchfinding. - change A repository with no service mapping gets no contract. A
contracttask stops and says to run/wstack:init-service. - change Every contract write takes the lock folder
<contract>.lock. A busy lock stops the task.
0.2.0 2026-11-21
- change
retrois nowrun-retro. The command is/wstack:run-retro. - change
review-pageis nowbuild-review-page. - change
evidenceis nowcapture-evidence. - change
deliveris nowdeliver-task. - feat
/wstack:init-org(was/obsidian-kit:handover-init-org). - feat
/wstack:init-service(was/obsidian-kit:handover-init-service). - feat
/wstack:create-handover(was/obsidian-kit:handover-new). - feat
/wstack:wrap-up-handovers(was/obsidian-kit:handover-wrap-up). - change In wStack, the vault path comes from the wStack
vault_pathsetting, not fromOBSIDIAN_KIT_VAULT. - change In wStack,
init-servicewrites/handoverto the local git exclude file. It never edits.gitignore. - change In wStack, the resolvers work inside herdr worktrees and read block-list
github_orgs. - change In wStack, the archive root is fixed at
04Archive.
0.1.1 2026-11-20
- fix A launched task session now gets the idea text, because
new-task-folder.shwrites it under## Goalinspec.md.
0.1.0 2026-11-19
- feat Runs one pipeline from
/wstack:start-task: Confirmation, Execute, Verify, and Deliver, with fix loops back to Execute and to Confirmation. - feat Launches each task in its own herdr workspace and Claude session, in a task folder in your Obsidian vault.
- feat Checks the base tools with
scripts/preflight.shand prints an install command for each missing tool. - feat Builds a review page that fits a 375 px screen, with a sticky navbar and an Excalidraw diagram.
- feat Starts a reviewer agent during Verify. It writes findings into
review.md. - feat Records evidence, compresses it, and uploads it to a private Cloudflare R2 bucket. It attaches copies to pull requests.
- feat Delivers to the targets in the spec. A merge and every other step that you cannot undo wait for your approval.
- feat Supports mobile mode, which also publishes pages as Claude artifacts.
- feat Runs
/wstack:retroonce a week. A retro analyst agent reads the last 7 days of task folders and proposes improvements. - feat Guards merges, pushes to the default branch, force pushes, remote branch deletes, R2 deletes, and deploys. It asks you first.