{"actions":{"bootstrapAndRun":{"effect":"installs rote if missing, inspects, prepares, and asks before running","href":"https://play.modiqo.ai/install?play=tanishk/ai-code-change-risk-gate@1.0.3","method":"GET","rel":"https://rote.dev/rels/bootstrap-and-run","requiresConsent":true,"responseMediaType":"text/x-shellscript"},"inspect":{"command":"rote play inspect https://play.modiqo.ai/tanishk/ai-code-change-risk-gate@1.0.3","effect":"read-only"},"installCliOnly":{"effect":"installs the rote CLI, nothing else","href":"https://play.modiqo.ai/install","method":"GET","rel":"https://rote.dev/rels/install-cli","requiresConsent":true,"responseMediaType":"text/x-shellscript"},"run":{"command":"rote play run https://play.modiqo.ai/tanishk/ai-code-change-risk-gate@1.0.3","effect":"executes the play locally after consent","headless":{"approvalAssertion":"--yes","approvalRequiredBeforeInvocation":true,"commandTemplate":"rote play run https://play.modiqo.ai/tanishk/ai-code-change-risk-gate@1.0.3 <name=value...> --yes","stdinPolicy":"never pipe input to automate the interactive Ready selector"},"requiresConsent":true}},"description":"Classifies the engineering risk of a code change by analyzing git diffs for high-risk patterns in auth, payments, security, and infrastructure.","distribution":{"digest":"sha256:e06d770c74f4e64b2fb7a15a2a9bb99df31122c24db91dea7fd742866ed9b8bb","mediaType":"application/vnd.modiqo.rote-flow","size":20011,"verifiedBy":"rote verifies the downloaded archive against this digest before it runs"},"effects":{"credentialsProvidedBy":"runner","credentialsRemainLocal":true,"declaredWrites":[],"publisherReceivesCredentials":false},"id":"https://play.modiqo.ai/tanishk/ai-code-change-risk-gate@1.0.3","inputPolicy":{"optionalWithDefault":"show_default_and_accept_override","optionalWithoutDefault":"omit_unless_supplied","required":"ask","secrets":"collect_locally_outside_conversation"},"links":{"docs":"https://rote.dev","page":"https://play.modiqo.ai/tanishk/ai-code-change-risk-gate@1.0.3","protocol":"https://play.modiqo.ai/.well-known/rote","self":"https://play.modiqo.ai/tanishk/ai-code-change-risk-gate@1.0.3.json"},"name":"ai-code-change-risk-gate","owner":{"kind":"user","slug":"tanishk"},"parameters":[{"description":"Absolute path to the local git repository","input":{"allowCustom":true,"choices":[],"label":"Repo"},"name":"repo","required":true,"type":"string"},{"default":"HEAD~1","description":"Base git reference for diff","input":{"allowCustom":true,"choices":[],"label":"Base ref"},"name":"base_ref","required":false,"type":"string"},{"default":"HEAD","description":"Target git reference for diff","input":{"allowCustom":true,"choices":[],"label":"Target ref"},"name":"target_ref","required":false,"type":"string"},{"default":"MEDIUM","description":"Risk threshold for alarming (LOW, MEDIUM, HIGH, CRITICAL)","input":{"allowCustom":true,"choices":[],"label":"Risk threshold"},"name":"risk_threshold","required":false,"type":"string"}],"preparation":[{"action":{"command":"rote play inspect https://play.modiqo.ai/tanishk/ai-code-change-risk-gate@1.0.3 --json","effect":"read-only"},"step":1,"type":"inspect_local_readiness"},{"references":["/parameters"],"step":2,"type":"collect_parameters"},{"references":["/parameters","/requirements","/effects"],"step":3,"type":"review"},{"consentBoundary":"the user approves the exact play and parameter values","references":["/parameters","/requirements","/effects"],"step":4,"type":"obtain_run_consent"},{"action":{"command":"rote play run https://play.modiqo.ai/tanishk/ai-code-change-risk-gate@1.0.3","headlessCommandTemplate":"rote play run https://play.modiqo.ai/tanishk/ai-code-change-risk-gate@1.0.3 <name=value...> --yes"},"preservesAcquisitionBoundaries":["adapter_selection","oauth_dcr","google_discovery","static_token_setup","runtime_security_checks"],"requiresConsent":true,"step":5,"type":"run"}],"producedBy":{"roteVersion":"0.78.0"},"publishedAt":"2026-09-02T21:44:05.324963+00:00","reference":"tanishk/ai-code-change-risk-gate@1.0.3","requirements":{"adapters":[],"browser":{"dependencies":[],"runtime":false,"signIn":false},"localTools":["python3"],"roteCli":{"minimumVersion":"0.62.0"},"sessions":false},"resolution":"pinned","schema":"rote.play.v1","stats":{"downloads":2,"installs":0},"steps":{"count":16,"names":["build_join_payload","detect_api","detect_auth","detect_cicd","detect_concurrency","detect_data","detect_deps","detect_io","detect_payments","detect_secrets","detect_security","detect_storage","detect_tests","get_diff","join","validate"]},"title":"ai-code-change-risk-gate","type":"play","version":"1.0.3","visibility":"public"}