Generated from cat-harness/skills/process/workflow/code-review-process.md — do not edit here.

✎ Edit this page’s source

Code review process — from PR to release approval

Code review is a quality gate, not a release gate. It happens at the PR level, before merge to main. Release approval is a separate step that happens on the pre-release (RC).

Review types

TypeWhoWhatWhen
BehaviouralBATests behaviour vs acceptance criteria. Does NOT read code.Every feature PR
CodeAgent or human devImplementation correctness, style, coverage, schema conformanceEvery PR
VisualBA or stakeholderBefore/after via staging preview URLsPRs changing rendered content
CIAutomatedTests, lint, BPMN render, docs generationEvery PR (automated)
ReleaseBA + stakeholdersTests accumulated RC against full requirement setBefore named release

Review feedback → beans

SeverityAction
Nit (typo, style)Fix in same PR, same commit batch
Defect (wrong behaviour)Fix in same PR, new commit
Scope expansion (new requirement)New bean. Do NOT fix in current PR.
Design disagreementEscalate to BA. Agent does not overrule reviewer.

The acceptance criteria from Phase 3 (crdm-requirements-template) are the arbiter. If ambiguous, ask the BA.

Who reviews what

ArtefactPrimary reviewerSecondary
Schema (schemas/*.ts)Code reviewBA (type ↔ requirement)
Pipeline (pipeline/*.ts)Code review + testsBA (output correctness)
Skills (cat-harness/skills/**)BA (guidance sense)Code review (cross-refs)
BPMN (cat-harness/processes/**/*.bpmn)BA (process ↔ reality)Code review (compliance)
Docs (cat-harness/docs/**)BA (content accuracy)Visual (staging preview)
TestsCode review—
CI/workflowsCode reviewCI health check

Review vs release approval

Code review (PR)Release approval (RC)
ScopeOne PRAll PRs since last release
WhoBA + code reviewerBA + stakeholders
Gate“Does this PR work?”“Does this release meet our needs?”
OutcomeMerge to mainPublish named release

Rules

  • Never merge without explicit BA confirmation
  • Review comments go on the PR (audit trail), not in chat
  • Respond to every review comment — even “acknowledged, fixed in abc123”
  • Self-review is real review — check diff vs acceptance criteria
  • Review scope is the PR diff, not the total branch state

Cross-references

When a staging preview exists, every request this skill makes for feedback, review or sign-off carries it: one deep link per changed page, to the anchor where the change sits, with the same page on main as before. Where the skill declares an output contract, they go in its stagingLinks field. The rule, and where the page list comes from: staging-review §”The deep-link rule”.


folio-assistant — code under the Apache License 2.0, documentation under CC BY 3.0. Generated schema and API references are rebuilt from source on every push to main.

deployed b08c961 · 2026-10-23T23:11:09Z