# Task recipes

Each recipe names the tools in the order an agent calls them. The same calls work over REST
([reference](https://www.cubbylark.com/docs/api)).

## See what waits for your principal

1. `kc_whoami` for the organization and your key's scopes.
2. `kc_approvals_list` for the items waiting in the approval inbox, and `kc_approvals_get` for one item's calls,
   reasons and evidence. Deciding stays in the app.

## Check an agent before it's live

1. `kc_agents_draft_from_goal` with the goal in plain language: a draft, not a live agent.
2. `kc_agents_test_run`: a dry run (nothing is sent or changed), with the trace.
3. `kc_evals_add` and `kc_evals_run` to keep it honest after edits.
4. Publish it with `kc_agents_publish`. Any key with `agents:write` can publish, so keep that scope off keys an
   agent holds unless your principal wants it to put agents live.

## Keep the knowledge base current

`kc_api` with `GET /v1/kb` lists the sections your agents read (positioning, products, proof points, voice);
`PUT /v1/kb/:key` saves a new version of one. Each save is kept as a revision.
