Every mutation is an activity. Inspect, vote on, and wait for them.
Follow authentication first.
tk activity list --limit 50
tk activity list --limit 50 --cursor ACTIVITY_ID
# Keep only pending activities; repeat --status for more than one status.
tk activity list --status pending
# Keep only one activity type; repeat --type for more than one type.
tk activity list --type 'ACTIVITY_TYPE_CREATE_USER_TAG'
# Keep only activities created in the last day.
tk activity list --since 24h --limit 100
tk activity get --id ACTIVITY_IDActivity records list votes under data.activity.votes with each voter's
userId and selection.
Consensus:
# Approver: one vote per command.
tk --profile approver activity approve --id ACTIVITY_ID
tk --profile approver activity reject --id ACTIVITY_ID
# Submitter: block until the activity ends.
tk activity wait --id ACTIVITY_ID --timeout 60wait fails with api_error when the activity ends rejected or failed and
with wait_timeout when time runs out. Run it again with the same ID to
resume.
To see which policies decided an activity:
tk policy evaluations --activity-id ACTIVITY_ID- monitoring-activities: approving, rejecting, waiting, and reconciling an unknown outcome.
- managing-policies: reading
policy evaluationsfor a denial. - inspecting-agents: paging pending activities, votes, and mint attribution with jq.
- provisioning-agent-identity: waiting on a
pendingagent user creation before the credential DENY. - managing-secrets: approving the agent's gated
secret exportand reading the denial behind a refused one. - provisioning-session-agent: approving a pending mint and inspecting it with
activity getwhen activation fails. - revoking-agent-keys: matching a delete's key id with
activity getand reading thepolicy evaluationsbehind a refused revocation. - signing-git-commits: waiting on a
pendingwallet creation before scoping the signing policy. - using-ssh: locating a failed signing activity with
activity listand reading itspolicy evaluations.