Let coding agents act, with a person on every risky step
The workflow manifest is merged (promptcompute.ai #816, with its outcome reworded in #822 and the least-agency read added in #836); the production run is still to do. RepoOps already revoked each leaked key; the run files a request for a person to issue each replacement, and each rotation waits for a person's approval. The run reads RepoOps's least-agency suggestions (allow rules no session used in 30 days), read only. RepoOps serves them on its local server only, so a run against the hosted server records the refusal and goes on. The autonomy suggestions step answers only once PromptCompute switches on its record tools.
Use case
Let coding agents act, with a person on every risky step: a workflow across PromptCompute, RepoOps that starts from a person, an API call, or a weekly schedule on Mondays.
Who would use it
Platform and security leads who let coding agents act and want a person to decide each risky step.
What value it provides
One run lists which action types wait for a person and what people approved and refused in the last 30 days, then files a rotation request for each leaked key, each behind a person's approval.
Why it matters to the user
An agent should earn more room from its record, and a leaked key should get its replacement the same day it was revoked.
The problem
Coding agents get broad permissions, and nobody can say which actions waited for a person and which ran alone. When a key leaks, filing its replacement is a chore that slips.
Expected outcomes
- Risky action classes that waited for a person: target all
- Leaked keys with a rotation filed: target all
- Approvals and refusals in the last 30 days
Each run records its outcome as met, not met or not measured.
How it runs
Products and connections
| Product | Role in this workflow | Docs |
|---|---|---|
| PromptCompute | List the action types and which of them wait for a person (list_action_types); Read what people approved and refused in the last 30 days (get_autonomy_report); Read where autonomy could widen or narrow, read only (list_autonomy_suggestions) | Reference · PromptCompute docs |
| RepoOps | Read the allow rules no session used in 30 days, read only (list_least_agency_suggestions); Read the production incidents attributed to the agent, when the start names it (get_agent_incidents); File a rotation request for each leaked key a person approves (request_key_rotation); Propose a lesson a person approves (propose_brain_entry) | Reference · RepoOps docs |
Outside the family: None beyond the family.
What a person approves
| Action | Default risk |
|---|---|
repoops.request_key_rotation | high |
repoops.brain_entry.propose | low |
Action keys are from the PromptCompute catalog.
How to access it from an agent
An agent runs a workflow through the PromptReports MCP server or API, and the runner calls each product for it. Both answer today, and the runner runs the code loop. This workflow will run there once its manifest ships. Switching on
// MCP: https://mcp.promptreports.ai/mcp
start_run({
workflow: "a-person-on-every-risky-step",
inputs: { "agent": "agt_...", "agent_name_in_repoops": "billing-bot (optional)", "leaked_keys": "STRIPE_SECRET_KEY at stripe, from case_7f3a (optional)" },
dry_run: false
})
// returns { run_id, status: "running", approvals_url }
get_run({ run_id }) // poll, or subscribe to run eventscurl -X POST https://api.promptreports.ai/v1/runs \
-H "Authorization: Bearer $PROMPTREPORTS_AGENT_TOKEN" \
-d '{"workflow":"a-person-on-every-risky-step"}'Or call the products yourself, step by step:
| Product | Endpoint | Tools |
|---|---|---|
| PromptCompute | https://mcp.promptcompute.ai/mcp | request_approval get_approval cancel_approval answer_approver |
| RepoOps | https://mcp.repoops.ai/mcp | search_brain get_pre_edit_context propose_brain_entry get_incident_attribution |
Set it up
The app at app.promptreports.ai is live. These steps will work once this workflow is on the runner. Switching on
- Sign in at app.promptreports.ai with PromptReports ID, and pick your org.
- Connect PromptCompute, RepoOps on the Connections page.
- Register the agent that will run it on the Agents page, and give it a version manifest.
- Set the approval policy for repoops.request_key_rotation, repoops.brain_entry.propose. Start with Require approval; critical actions are never auto.
- Fill in the inputs (Agent, Agent name in RepoOps, Leaked keys) and choose the trigger: a person, an API call, or a weekly schedule on Mondays.
- Start a dry run. It will count no workflow request, and it shows which steps would record missing evidence.
- Start the run. Approve each gate in the approvals inbox, then read the signed record when it ends.