/rhiza:update¶
Bump the current repo to a rhiza release, apply the template sync, run the quality gates, and open a PR with a quality scorecard.
The optional argument pins an explicit template version tag; it defaults to the latest release.
What it does¶
- Preconditions — confirms the repo is rhiza-managed and the working tree is clean; notes the hosting platform and current profile.
- Resolves the target version — the given tag, or the latest
jebel-quant/rhizarelease. Major-version jumps require confirmation. - Chooses the platform profile (GitHub vs GitLab) and reconciles
templates:entries when switching. - Branches off the default branch, bumps the template
refin.rhiza/template.yml, and runsmake sync. - Resolves conflicts by taking the upstream (template) side, including
*.rejfallout. - Runs the quality gates by delegating to
/rhiza:qualityand captures the per-gate PASS/FAIL table plus the 1–10 scorecard. - Opens a PR whose body carries the gate table and scorecard.
- Files issues (after confirmation) for each below-10 finding, deduped against existing open issues on the repo's platform.
Notes¶
- Bumps the template content version (
ref/template-branch). - Restores the branch you started on when it finishes.