Skip to content

API Reference parrot.sdd.scripts.review_checkpoint

github-actions[bot] edited this page Dec 2, 2026 · 4 revisions

parrot.sdd.scripts.review_checkpoint

View source

Prepare, validate, or record the durable review handoff from authoritative local state.

Spec sdd/specs/sdd-execution-optimization.spec.md (FEAT-584), module M4 (R5 "Checkpoint antes del code reviewer"). Every fact this CLI reports comes from durable, on-disk state (the settlement end_execution published, the per-spec index/spec/convention files, and git) -- never from an in-memory engine table, and never from a SHA the caller supplies: prepare always resolves HEAD/branch/base SHA locally via git.

Alias CheckpointBusyError

Re-exported from parrot.flows.dev_loop.sdd_coder.checkpoint.CheckpointBusyError.

Alias CheckpointError

Re-exported from parrot.flows.dev_loop.sdd_coder.checkpoint.CheckpointError.

Alias CheckpointIncompleteError

Re-exported from parrot.flows.dev_loop.sdd_coder.checkpoint.CheckpointIncompleteError.

Alias CheckpointStaleError

Re-exported from parrot.flows.dev_loop.sdd_coder.checkpoint.CheckpointStaleError.

Alias EvidenceCorruptionError

Re-exported from parrot.flows.dev_loop.sdd_coder.evidence.EvidenceCorruptionError.

Alias ExecutionEvidenceStore

Re-exported from parrot.flows.dev_loop.sdd_coder.evidence.ExecutionEvidenceStore.

Alias GIT_TIMEOUT_S

Re-exported from parrot.flows.dev_loop.sdd_coder.checkpoint.GIT_TIMEOUT_S.

Alias ReviewArtifact

Re-exported from parrot.flows.dev_loop.sdd_coder.optimization_models.ReviewArtifact.

Alias ReviewCheckpoint

Re-exported from parrot.flows.dev_loop.sdd_coder.optimization_models.ReviewCheckpoint.

Alias git_env

Re-exported from parrot.flows.dev_loop.procs.git_env.

Alias load_review_checkpoint

Re-exported from parrot.flows.dev_loop.sdd_coder.checkpoint.load_review_checkpoint.

Function main

Prepare, validate, or record reviews with stable JSON output.

Exit codes: 0 success, 1 operation error, 2 invalid input, 3 stale/busy.

record without --execution-id generates a fresh execution UUID; the output reports it as execution_id with execution_id_generated: true.

main(argv: list[str] | None = None) -> int

Parameter Type Default Description
argv list[str] | None None

Returns: int

Alias prepare_review_checkpoint

Re-exported from parrot.flows.dev_loop.sdd_coder.checkpoint.prepare_review_checkpoint.

Alias resolve_durable_root

Re-exported from parrot.flows.dev_loop.sdd_coder.telemetry.resolve_durable_root.

Alias resolve_index_path

Re-exported from parrot.flows.dev_loop.task_scheduler.resolve_index_path.

Alias run_bounded

Re-exported from parrot.flows.dev_loop.procs.run_bounded.

Alias validate_review_checkpoint

Re-exported from parrot.flows.dev_loop.sdd_coder.checkpoint.validate_review_checkpoint.

Architecture

Clients

Bots & Agents

Memory

Knowledge

Tools & Toolkits

Flows

Experts

Skills

Stores & Loaders

MCP & A2A

Server & APIs

Integrations

Outputs & A2UI

Prompts

Security

Operations

Migration

SDD Tooling

LLM Wiki

Deployment

Decisions

API Reference

Clone this wiki locally