Subsystem

subroutine setup

The 1 command under subroutine setup, each with its arguments and options.

subroutine setup [OPTIONS] COMMAND [ARGS]...

Wire Subroutine into the tools on this machine.

subroutine setup claude

subroutine setup claude [OPTIONS]

Wire this checkout into Claude Code, so a session hands work back when it ends.

Examples:

subroutine setup claude

It writes one hook into '.claude/settings.json' here: when a session ends, anything this account is still holding is given back, so nobody has to wait for the lease to run out on work that stopped. Everything already in that file is left alone.

Run it from the top of the repository you want wired. It writes nothing outside this directory and stores no credential, so the file is safe to commit.

Options