Skip to main content

Tool surface

The RStack Pi extension registers these tools on session_start. They are available in any Pi session where RStack is installed.

sdlc_orchestrate

Load the RStack orchestrator, builder, and validator operating instructions for a goal. Call first — before sdlc_start. Injects the core agent instructions into the session.

sdlc_start

Create a new run directory under .rstack/runs/<run_id>/ and initialize run state.
Creates:

sdlc_clarify

Ask or capture product-owner answers before planning. Called when the goal has ambiguities.
RStack surfaces open_questions from the transcript and waits for your answers before proceeding to sdlc_plan.

sdlc_decisions

List the Decision Queue, or add a pending run-level decision that must be resolved before a later stage.
Writes decision state under the active run and appends a decision_added event when a new question is created.

sdlc_decide

Resolve or waive a pending Decision Queue item.
Writes the decision update, appends a decision_resolved event, and records traceability for the decision.

sdlc_dor_check

Run the Definition-of-Ready gate for a target stage. This checks unresolved decisions and writes readiness reports before builders are allowed to advance.
Creates or updates readiness artifacts for the run and appends a dor_check event to events.jsonl.

sdlc_plan

Generate the delivery plan, task breakdown, spec artifacts, and traceability.
Creates:
sdlc_plan requires approval before sdlc_build_next can be called.

sdlc_spec

Read or update governed spec artifacts under .rstack/runs/<run_id>/specs/.

sdlc_approve

Record a human approval or rejection gate. Required before build and release phases.
Writes to .rstack/runs/<run_id>/approvals.json.

sdlc_agents

List all available agents, skills, and plugins for the current run.

sdlc_delegate

Spawn an isolated Pi worker agent for a bounded task. Validators default to read-only tools.

sdlc_build_next

Prepare the next pending task packet with core, SDLC, specialist, skill, and plugin context. Requires plan approval.
Returns a task packet ready for execution. After completing the task, write builder.json.

sdlc_validate

Run the validator team against the most recently completed builder task. Writes validation.json.

sdlc_status

Show run status, task progress, missing approvals, registry counts, and next recommended action.
Example output:

sdlc_memory

Search or append project learnings for future runs.
Writes to .rstack/memory/learnings.jsonl.

sdlc_dashboard

Launch the live HTML Observability Hub for the current run. Generates dashboard.html and starts a local HTTP server.
The dashboard auto-refreshes every 2 seconds and shows:
  • Stage Execution Timeline — all 15 canonical stages with status pills (READY / PENDING / PASS / FAIL)
  • Cumulative Metrics — total duration, API cost cap ($), tool-call buffer (current / 40)
  • Traceability Explorer — link to traceability.json
  • Harness Guardrail Limits — enforced policy values
Writes dashboard.html to .rstack/runs/<run_id>/dashboard.html and serves it at http://localhost:3008 (port configurable).

sdlc_trace

Print a chronological event trace for the current or specified task. Includes tool calls, guardrail hits, memory events, and validation check results.
Example output:

sdlc_rollback

Restore a stage directory to its last saved checkpoint snapshot.
Checkpoints are created automatically after each successful sdlc_validate. Rollback copies the checkpoint back over the live stage directory and appends a stage_checkpoint_reverted event to events.jsonl. Returns NO_CHECKPOINT if no snapshot exists for the stage.