Repository navigation
EN Profiles
Home · Guides · English · Português (Brasil)
On this page:
- Outcome
- Prerequisites
- Steps
- Expected results
- Troubleshooting
- Next steps
- Screenshots
- Command reference
Change review behavior deliberately and validate it before running tools or models.
A project and a desired policy. Repository policy belongs in .rio/profiles/default.yaml; personal defaults live under the user configuration directory's profiles/. Credentials and machine limits belong in machine configuration.
rio profile list
rio profile show rio/base
rio profile show strict --raw
rio profile validateDefaults resolve from repository, then personal default, then rio/base. Named profiles search repository/personal/built-in locations; explicit paths work too. rio review --profile strict selects a named profile.
Save this as .rio/profiles/default.yaml:
version: 1
name: strict
extends: rio/base
fail_on:
required_checks: [typecheck, lint]Validate it with rio profile validate. Missing required tools now affect policy rather than being optional skips.
Mappings merge, but lists replace the inherited list. This complete local pipeline intentionally keeps only prepare/checks/graph/report:
version: 1
name: local-quick
extends: rio/base
steps:
- id: prepare
uses: rio/prepare
with: {exclude: ['generated/**']}
- id: checks
uses: rio/checks
needs: [prepare]
with: {coverage: false}
- id: graph
uses: rio/graph
needs: [prepare]
- id: report
uses: rio/report
needs: [checks, graph]For a hosted profile, start from its resolved steps and preserve the model/verification steps you want. Never paste only the modified checks step and assume the others remain.
rio profile show displays inheritance applied and module versions pinned. Validation exits 0 when valid, 2 on errors with YAML paths. It can warn that model steps will be deferred locally without rejecting a valid profile.
fail_on.incomplete: false changes incomplete-analysis exit policy; suppress accepts path/rule/exact-finding entries; publish controls never/ask/auto. Posture changes agent evidence/severity/caps: critical-only, balanced or thorough. max_defects (10 under balanced) caps only findings the verifier left plausible: a proved or reproduced finding is always shown, a plausible one no completed vote supported is held back, and a change reviewed in parts gets half the cap again for each part after the first. Budgets limits resources; module reference explains step options. Generated schema fields below/reference cover supported keys.
rio/prepare takes two kinds of path globs. exclude keeps matching paths out of the reviewed change, but tools and checks can still read them. omit removes them from both trees before anything else: they are not uploaded, built or reviewed, and do not count toward the 1.5 GiB snapshot limit. Omit only what no check needs, such as large design exports (design/exports/**); keep vendored dependencies an offline build reads.
Unknown modules, cycles in extends or needs, and unknown options fail validation. Lists replace, empty maps retain parent values, relative parent paths resolve from the declaring file. Inspect resolved YAML before running. Suppression removes findings from policy; it is not a repair of the code.
Inspect module/schema fields, set model limits, or use suppression proposals.
![]()
Inspect the resolved base profile before overriding steps. Demo data · actual Rio renderer · Text transcript.
All command options
| Argument | Meaning | Default / choices |
|---|---|---|
--help |
Show command syntax and supported options. | — |
| Argument | Meaning | Default / choices |
|---|---|---|
--help |
Show command syntax and supported options. | — |
| Argument | Meaning | Default / choices |
|---|---|---|
<reference> |
Profile name or YAML path to inspect. | — |
--raw |
Print authored profile without resolving inheritance. | false |
--help |
Show command syntax and supported options. | — |
| Argument | Meaning | Default / choices |
|---|---|---|
<reference> |
Profile name or YAML path to validate; omit to validate the default profile. | — |
--help |
Show command syntax and supported options. | — |
Written for Rio 0.3.0 · source dc04f0b. Check your version with rio --version. Docs c99898ba629c.