Skip to content
CanyonDocsDocs for Canyon v0.10.0

A person promotes

prod.human-approval · Blocking by default · found by Canyon, when you promote

Who is promoting. When you run canyon deploy --env prod, the rule passes when the request comes from a person’s sign-in, rather than from an automated caller. A coding agent using your CLI sign-in counts as you. On a Canyon without sign-in, as in the laptop demo, every request counts as a person, so the rule always passes. Its line in the go-live checks says what that covers:

✓ A person promotes
a person promotes, or an agent they ask, with their CLI sign-in

An org can go further. With Production is approved in the dashboard turned on, in the Production section of Settings › People & sign-in, the CLI only asks. canyon deploy --env prod prints a link and a code that expires in 24 hours, and a person on the app’s team approves the promotion in Canyon’s dashboard:

This org has a person approve production in Canyon.
Ask a person to approve: http://localhost:7777/#/approve?code=K7QP-4RXM
Code K7QP-4RXM · expires in 24 hours

That switch needs sign-in on, and only the dashboard can change it.

Production changes when a person decides it should, not when an automated caller does.

Promote with your own CLI sign-in, or ask your coding agent to run canyon deploy --env prod with it. Where the org approves production in the dashboard, open the link the CLI prints and have a person on the app’s team approve it there. Canyon takes that approval only from the dashboard, never from the CLI.

canyon status lists the go-live checks with this rule’s line. canyon deploy --env prod prints the same list when it refuses.

This rule has no findings to approve. An admin can set it to Advisory or Off under Guardrails → Policies. While Production is approved in the dashboard is on, the rule blocks whatever its state.

While the rule is Blocking, only a person can also take production offline or cancel a promotion.