shtap command-line tool is the entry point to ShoulderTap. shtap serve runs the engine; every other command is a thin HTTP client that talks to a running server. Every command accepts --config (default shouldertap.yaml).
init
Generate a starter configuration.shouldertap.yaml and .env.example to the current directory. Prompts for the organization name if --org-name isn’t given. See Install.
serve
Run the engine, HTTP API, and approval UI.How experts are reached. See Run the server.
Host interface to bind to. The port comes from
server.port (default 8776).ask
Submit a question as thecli consumer, then poll until it’s answered.
The routing topic to match against experts.
The question kind, which determines the answer’s capture schema.
Seconds between status checks while waiting for an answer.
Seconds to wait before giving up on the poll. The request itself keeps living on the server.
Submitted <request_id> ...; once a reviewer accepts the answer, ask prints it attributed to the expert.
queue
List proposals pending human review.Nothing pending. See Approvals.
accept
Accept a pending proposal, delivering it to subscribed consumers.Who approved it. Defaults to your OS username.
reject
Reject a pending proposal.Why it was rejected. Delivered to the consumer with the rejection event.
Who rejected it. Defaults to your OS username.
experts
List the expert registry with each expert’s live state (muted, open asks, asks today).audit
Print the full audit trail for one request.No audit events for an unknown id.
mcp
Run the MCP server over stdio, exposingask_expert and check_answer.