Saltar a contenido

rai story

Composite story bookend commands — a CLI fallback for the MCP tools raise_story_open and raise_story_close. Use these when the MCP server is unavailable or when scripting story lifecycle from a shell.

Prefer the pipeline engine (rai pipeline start story) over these commands when working interactively. These CLI commands are primarily a fallback mechanism for agents operating without an active MCP connection.

rai story open

Open a story — creates the story branch, writes the scope commit, and sets the story as active in session state.

Argument Description
STORY_ID Backlog story ID (e.g., RAISE-1234) (required)
Flag Short Description
--project -p Project path. Default: current directory
--branch -b Branch name override (default: derived from story ID and title)
rai story open RAISE-1234
rai story open RAISE-1234 --branch story/s1.2/auth-flow

rai story close

Close the active story — records completion, tags the scope commit, and transitions the story in the backlog.

Flag Short Description
--summary -s Completion summary
--project -p Project path. Default: current directory
rai story close --summary "Auth flow implemented with full test coverage"

See also: rai pipeline, rai session, rai backlog