Skip to main content

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 actionPurpose
Local review reportFindings, criteria, metrics, static consumer relationships, and honest coverage gaps for recorded source
Publication dry-runThe same native evidence plus exact scope/report digests, outstanding issue IDs, an unfilled evaluation template, and provenance preflight
EvaluationA responsible user's pass-by-pass assessment and explicit per-issue accepted-degradation rationales, or refusal
Signed review decisionImmutable atomic.review-decision.v1 document retaining the complete report, scope, issues, evaluation, signer, and proof
Insertion operationSeparately 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​

  1. Summary: both pins, report-wide coverage, file comparisons, and risk.
  2. Anti-slop: selected findings, local rule cards, source, and metric deltas.
  3. 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.
  4. 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:

FieldWhat to check
scope.source, scope.targetCorrect view names, recorded states, and memberships
scope.changesDependency-complete insertion closure
reportComplete native evidence and publication-integrity preflight
issuesEvery outstanding finding, unknown/unmet criterion, risk, and grouped coverage limitation requiring evaluation; waivable distinguishes code debt from integrity blockers
scope_hash, report_hashExact identities to preserve, not values to edit
evaluation_templateThe 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: true only 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 evidence and follow_up fields link real checks and remediation work.
Pass dispositionValid whenEffect
readyNo outstanding issue remains in that passDoes not add an accepted-degradation claim
accepted_degradationAll outstanding issues are waivable and each exact ID has an acceptance rationaleRecords knowingly accepted debt or uncertainty; findings and unknown assessments stay visible
not_readyThe pass is evaluated but not accepted; accepted_degradations is emptyRetains 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.

Acceptance is not a clean bill of health

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.
  • report and report_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, and proof.

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​

SituationResponse
Either endpoint or relevant intent context changedGenerate a fresh dry-run and evaluate its new evidence/digests; do not edit hashes to reuse an old acceptance
A current evaluation should be replacedGenerate/evaluate the desired report, then publish with repeatable --supersedes <DECISION_HASH> for the head(s) being replaced
A pass remains not_readyRetain the refusal, fix the work or deliberately reevaluate the actual remaining debt; never turn --yes into a waiver
Original capture/provenance or signature/trust failsResolve that integrity/authority problem under repository policy, not as accepted code degradation
Insert reports dirty working-copy filesPreserve 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.