Evaluate and publish a review
Publishing a review records what was evaluated, what remains wrong or unknown, and which risks a signer knowingly accepts. It does not erase findings or call unready code clean. It also does not run an agent, call an LLM, require a model provider, or create a temporary reviewer credential. Teams using Copilot or another supported recording integration use the same native CLI.
Use this guide after recording the work. For an example that creates a change, finds a broken consumer, and repairs it first, follow Review the shape, not the diff.
The workflow and its artifacts
| Artifact or action | Purpose |
|---|---|
| Local review report | Findings, criteria, metrics, static consumer relationships, and honest coverage gaps for recorded source |
| Publication dry-run | The same native evidence plus exact scope/report digests, outstanding issue IDs, an unfilled evaluation template, and provenance preflight |
| Evaluation | A responsible user's pass-by-pass assessment and explicit per-issue accepted-degradation rationales, or refusal |
| Signed review decision | Immutable atomic.review-decision.v1 document retaining the complete report, scope, issues, evaluation, signer, and proof |
| Insertion operation | Separately changes target membership after revalidation and retains the applicable decision hash as evidence |
Local HTML is an inspection surface, not signed approval. A native decision is an accountable evaluation, not a claim of independent approval or original session capture. Preserve any separately required independent review and CI.
1. Select source and destination
This guide uses feature-shipping as a recorded draft and dev as its shared
destination. Use your actual names. Both review and insertion use draft/source
→ shared/destination, matching a pull request:
atomic insert preview feature-shipping --to dev
atomic review --from feature-shipping --to dev --html
Measurements use target before / source after. The v5 comparison report
contains both from/to and explicit before/after pins. This compares the
recorded endpoints, not a simulated merge result or dirty working-copy code.
The source must incorporate the target's recorded state before native publication can accept that insertion. Inspect the preview and dependencies separately; if the target advanced, reconcile the draft and review the combined state first.
Read the viewer in this order
- Summary: both pins, report-wide coverage, file comparisons, and risk.
- Anti-slop: selected findings, local rule cards, source, and metric deltas.
- Conformance: source-view intents grouped with their acceptance criteria, including unlinked intents and intents without criteria. Assignment, author completion claims, and independent acceptance are different facts.
- Blast radius: changed declarations and statically bound consumers. Cross-file calls need supported imports/module paths; a same-named function elsewhere is not automatically a caller. Missing bindings remain uncertainty.
Every JSON finding is available in HTML, not only the first 100. Source display has separate explicit budgets; unavailable source never removes its finding. Run the required compiler, runtime, security, and regression checks yourself: native review does not execute arbitrary project code or prove those outcomes.
2. Generate the exact evaluation template
Keep source-bearing exports outside the working copy so they do not obstruct a later clean-tree check. The command examples use a POSIX shell; in another shell, choose an external report directory and use the same CLI options. Save evaluation files as UTF-8 JSON.
REPORT_DIR=$(mktemp -d "${TMPDIR:-/tmp}/atomic-review.XXXXXX")
atomic review publish --from feature-shipping --to dev \
--dry-run --json > "$REPORT_DIR/review-plan.json"
Inspect these generated fields:
| Field | What to check |
|---|---|
scope.source, scope.target | Correct view names, recorded states, and memberships |
scope.changes | Dependency-complete insertion closure |
report | Complete native evidence and publication-integrity preflight |
issues | Every outstanding finding, unknown/unmet criterion, risk, and grouped coverage limitation requiring evaluation; waivable distinguishes code debt from integrity blockers |
scope_hash, report_hash | Exact identities to preserve, not values to edit |
evaluation_template | The part the responsible evaluator must fill |
Dry-run does not sign, create identities, or retain a decision. Its template is deliberately unfilled: proposed entries are not consent to accept their risks.
3. Evaluate every pass and outstanding issue
Edit evaluation_template in the generated file. Alternatively save just that
object as an atomic.review-evaluation.v1 file. The publisher accepts either form.
Keep its schema, digests, pass names, and exact issue IDs intact.
For each of anti_slop, intent_conformance, and blast_radius_risk:
- Set
evaluated: trueonly after inspecting the pass, its sources, and limits. - Supply a meaningful pass
rationale. - Select a disposition using the table below.
- For accepted degradation, account for every outstanding issue in that pass
exactly once, with an individual nonempty rationale. Optional
evidenceandfollow_upfields link real checks and remediation work.
| Pass disposition | Valid when | Effect |
|---|---|---|
ready | No outstanding issue remains in that pass | Does not add an accepted-degradation claim |
accepted_degradation | All outstanding issues are waivable and each exact ID has an acceptance rationale | Records knowingly accepted debt or uncertainty; findings and unknown assessments stay visible |
not_ready | The pass is evaluated but not accepted; accepted_degradations is empty | Retains a negative decision that does not authorize insertion |
An illustrative single-pass excerpt, not a complete evaluation file:
{
"pass": "anti_slop",
"evaluated": true,
"disposition": "accepted_degradation",
"rationale": "Inspected the scoped implementation and the remaining limitations against the bounded rollout.",
"accepted_degradations": [
{
"issue": "<exact issue ID already generated in this pass>",
"rationale": "Accept this specific limitation for the internal rollout; the affected path is disabled for external callers until the follow-up is complete.",
"evidence": ["<reference to the actual check and result>"],
"follow_up": "<reference to the agreed remediation work>"
}
]
}
Do not paste those illustrative references into a real evaluation. Use the generated entries and your actual reasoning/evidence; include all three passes. Do not auto-fill rationales or mark a criterion met merely to permit insertion.
If shortcomings remain, the signed report's evidence readiness stays
not_ready. A separate insertion disposition can be accepted_degradation.
An overall not_ready disposition blocks insertion. Original provenance and
integrity failures, invalid signatures, and signer-trust failures are not
waivable technical debt. --yes only confirms a supplied evaluation: it cannot
evaluate passes or accept issues itself.
4. Sign and retain the evaluated decision
Choose an existing local identity already trusted by repository policy.
Replace reviewer with its actual name. Selecting a name does not enroll a key,
issue a delegation, or grant trust.
atomic review publish --from feature-shipping --to dev \
--evaluation "$REPORT_DIR/review-plan.json" --identity reviewer --yes --json \
> "$REPORT_DIR/attested-review.json"
The JSON receipt's document is the complete signed decision. It includes:
scope: project, both view pins, insertion closure, and current intent-context identities.reportandreport_hash: the full native report and its normalized digest.issues: exact outstanding evidence, including non-waivable integrity failures.evaluation: all three pass evaluations and per-issue rationales.readiness: evidence readiness, unchanged by accepting degradation.independent_approval: false,attributedTo,public_key,contentHash, andproof.
The receipt's review.disposition reports the derived insertion disposition.
The decision is retained in the repository vault database without creating a
working file. vault_path is a vault address, not a physical file path.
Publication does not insert or push.
5. Inspect and export the attested report
atomic review publish inspect
atomic review publish --from feature-shipping --to dev \
--evaluation "$REPORT_DIR/review-plan.json" --identity reviewer --yes \
--html --no-open --output "$REPORT_DIR/attested-review.html"
An exact repeat reuses the same immutable decision. Summary shows the separate readiness/disposition, signer, report identity, all pass rationales, and a complete issue ledger. Findings and criteria link to their accepted-degradation rationales; their original evidence and unknown/not-ready states are not erased. Download attested JSON exports the full signed decision with original numeric precision.
inspect includes retained native decisions and retrospective reviews, with
current applicability/validation results. A retained old decision is historical
evidence, not automatic authority for a later scope. Protect exports: they carry
source and review evidence, even though the viewer itself works offline.
6. Insert separately
After required checks and review policy are satisfied:
atomic insert preview feature-shipping --to dev
atomic view switch dev
atomic insert view feature-shipping --to dev
atomic conflicts --short
atomic status --short
Insertion revalidates the applicable decision under its evidence boundary: exact source/target state, membership and change closure, current intent context, signature, trust, and evaluation. It surfaces accepted degradation and retains the decision hash in operation evidence. Original provenance, working-copy, dependency, and conflict checks still apply.
Choosing hashes/cherry-pick instead of a view is not a way around a known review decision. Conversely, a repository with no applicable native decision retains its existing provenance policy; installing this workflow is not a claim that all historical code has been reviewed. Run post-insert tests yourself. Push remains an explicitly separate operation.
When the scope or decision changes
| Situation | Response |
|---|---|
| Either endpoint or relevant intent context changed | Generate a fresh dry-run and evaluate its new evidence/digests; do not edit hashes to reuse an old acceptance |
| A current evaluation should be replaced | Generate/evaluate the desired report, then publish with repeatable --supersedes <DECISION_HASH> for the head(s) being replaced |
A pass remains not_ready | Retain the refusal, fix the work or deliberately reevaluate the actual remaining debt; never turn --yes into a waiver |
| Original capture/provenance or signature/trust fails | Resolve that integrity/authority problem under repository policy, not as accepted code degradation |
| Insert reports dirty working-copy files | Preserve and record or move the work appropriately; keep report exports outside the checkout rather than weakening the clean-tree check |
For example, after explicitly revising the evaluation:
atomic review publish --from feature-shipping --to dev \
--evaluation "$REPORT_DIR/review-plan.json" --identity reviewer \
--supersedes <DECISION_HASH> --yes
Supersession appends a new signed decision; older reports remain immutable.
Native publication has no agent-job resume, runner, provider, or collection
execution path. Explicit retrospective prepare, sign, and record primitives
retain their separate independent-review-intent requirements; they are not extra
steps required for this native workflow.
See the review reference for every supported option and
insert for promotion mechanics.