Documentation
¶
Overview ¶
Package evalplan retains evaluation preparation and bounded controller evidence. It grants no approval; execution separately verifies the native boundary.
Index ¶
- Constants
- func CheckStorageRoot(storageRoot string) error
- func RenderReport(w io.Writer, r *Report, format string) error
- func Stop(storageRoot, id string) error
- func WriteText(w io.Writer, r *Record) error
- type Approval
- type ApprovalRecord
- type ApprovalScope
- type Artifact
- type AttemptRecord
- type AttemptRef
- type AttributedObservation
- type Blocker
- type Check
- type Cleanup
- type Configuration
- type ControlBinding
- type CounterValue
- type Counts
- type DigestedFile
- type Eligibility
- type Evaluation
- type Evaluator
- type Evidence
- type FindingJudgment
- type GradeCoverage
- type GradeEvidence
- type GradeHistory
- type GradeReceipt
- type GradeResult
- type GradeSubmission
- type GradingSummary
- type Judgment
- type KeyedDefect
- type Limits
- type Measurement
- type NativeEvidence
- type PairValue
- type PinnedSelection
- type Plan
- type Progress
- type Proposal
- type PublicCase
- type PublicJudgment
- type Readiness
- type Record
- type RepeatRange
- type Report
- type ReportAttempt
- type Reproduction
- type Requirement
- type ReviewJudgment
- type ReviewScore
- type Rubric
- type RubricSummary
- type RubricValidation
- type SafetyFinding
- type Selection
- type Slot
- type Snapshot
- type Unit
- type UnitGrades
- type UnitTiming
Constants ¶
const ( MaxPlanBytes = 64 * 1024 MaxArtifactBytes = 2 * 1024 * 1024 )
const ApprovalStatement = "approve-evaluation"
ApprovalStatement follows the existing digest-bound human assertion convention. It is specific to one evaluation, never Delivery, configuration or merge authority.
const (
MaxGradeBytes = 64 * 1024
)
Variables ¶
This section is empty.
Functions ¶
func CheckStorageRoot ¶ added in v0.16.0
CheckStorageRoot verifies an explicit existing local storage directory without creating anything. Inspection repeats these same checks for every read.
func RenderReport ¶
All formats carry exactly the same typed facts. JSON sections intentionally avoid three separate lossy narrative/measurement implementations.
Types ¶
type Approval ¶
type Approval struct {
SchemaVersion int `json:"schema_version"`
PlanDigest string `json:"plan_digest"`
ApprovedBy string `json:"approved_by"`
ApprovedAt string `json:"approved_at"`
Statement string `json:"statement"`
}
func ReadApproval ¶
ReadApproval uses the same bounded, alias-rejecting local reader as proposals.
type ApprovalRecord ¶
type ApprovalRecord struct {
SchemaVersion int `json:"schema_version"`
EvaluationID string `json:"evaluation_id"`
Approval Approval `json:"approval"`
Scope ApprovalScope `json:"scope"`
}
ApprovalRecord is a sidecar: existing schema-1 evaluations remain inspectable. The same receipt is also retained in an exclusive assertion claim at the root.
type ApprovalScope ¶
type ApprovalScope struct {
Preparation Record `json:"preparation"`
ReportDestination string `json:"report_destination"`
}
func Scope ¶
func Scope(r *Record) ApprovalScope
type AttemptRecord ¶
type AttemptRecord struct {
SchemaVersion int `json:"schema_version"`
EvaluationID string `json:"evaluation_id"`
PlanDigest string `json:"plan_digest"`
Unit Unit `json:"unit"`
Number int `json:"number"`
Kind string `json:"kind"`
PacketSHA256 string `json:"packet_sha256"`
CaseSHA256 string `json:"case_sha256"`
Packet string `json:"packet"`
Scratch string `json:"scratch"`
StartedAt string `json:"started_at"`
FinishedAt string `json:"finished_at,omitempty"`
Outcome string `json:"outcome"`
ExecutionSource string `json:"execution_source"`
Detail string `json:"detail,omitempty"`
Grade string `json:"grade"`
Verification string `json:"verification"`
Initial []DigestedFile `json:"initial"`
Artifacts []DigestedFile `json:"artifacts"`
Output *DigestedFile `json:"output,omitempty"`
Native *NativeEvidence `json:"native,omitempty"`
InvalidNative *DigestedFile `json:"invalid_native,omitempty"`
Eligibility *Eligibility `json:"eligibility,omitempty"`
Cleanup Cleanup `json:"cleanup"`
}
type AttemptRef ¶
type AttributedObservation ¶
type AttributedObservation struct {
Unit int `json:"unit"`
Attempt int `json:"attempt"`
Actor string `json:"actor"`
Evidence DigestedFile `json:"evidence"`
Observation metrics.Observation `json:"observation"`
Contribution metrics.Counters `json:"contribution"`
}
type Configuration ¶
type ControlBinding ¶
type CounterValue ¶
type CounterValue struct {
Unit int `json:"unit"`
Host string `json:"host"`
Source string `json:"source"`
Stream string `json:"stream"`
Counter string `json:"counter"`
Value int64 `json:"value"`
CoveredAttempts int `json:"covered_attempts"`
ConsumedAttempts int `json:"consumed_attempts"`
Complete bool `json:"complete"`
}
Values from different host/source/stream definitions remain separate. Each native counter is independent: total is never reconstructed or added to parts.
type Counts ¶
type Counts struct {
BaselineUnits int64 `json:"baseline_units"`
CandidateUnits int64 `json:"candidate_units"`
MatchedPairs int64 `json:"matched_pairs"`
Units int64 `json:"units"`
MaximumRetries int64 `json:"maximum_retries"`
MaximumRepairs int64 `json:"maximum_repairs"`
MaximumAttemptsIncludingRepairs int64 `json:"maximum_attempts_including_repairs"`
MaximumScheduledSeconds int64 `json:"maximum_scheduled_seconds"`
}
type DigestedFile ¶
type Eligibility ¶
type Eligibility struct {
HostVersion string `json:"host_version,omitempty"`
SandboxReady bool `json:"sandbox_ready,omitempty"`
ProfileAllowed bool `json:"profile_allowed,omitempty"`
ToolsDisabled bool `json:"tools_disabled,omitempty"`
DisabledMCP *int `json:"disabled_mcp,omitempty"`
ModelToolsVerified bool `json:"model_tools_verified,omitempty"`
}
Eligibility reports checked native controls, not observed inference identity, native completion or semantic acceptance. Legacy evidence lacks model proof.
type Evaluation ¶
type Evaluation struct {
SchemaVersion int `json:"schema_version"`
ID string `json:"id"`
Repository string `json:"repository"`
PreparedAt string `json:"prepared_at"`
Preparation Record `json:"preparation"`
}
Evaluation is an immutable controller identity, not approval or a Delivery ID.
func Prepare ¶
func Prepare(ctx context.Context, repo, storageRoot, digest string) (*Evaluation, error)
Prepare creates a distinct controller record after revalidating a saved preview and every selected source byte. This grants no execution authority.
func PrepareApproved ¶
func PrepareApproved(ctx context.Context, repo, storageRoot, digest string, a Approval) (*Evaluation, error)
PrepareApproved revalidates inputs, consumes one explicit assertion and retains its exact scope. A failure after claiming preserves that claim; no silent replay.
type Evaluator ¶
type Evaluator struct {
Identity string `json:"identity"`
Kind string `json:"kind"`
Relationship string `json:"relationship"`
IndependentOf []string `json:"independent_of"`
SourceAccess []string `json:"source_access"`
Exposure []string `json:"exposure"`
}
Evaluator is attributed provenance, not an authenticated principal. Exposure and independence are assertions retained for a fresh reviewer to assess.
type Evidence ¶
type Evidence struct {
ExecutionAvailable bool `json:"execution_available"`
ApprovalGranted bool `json:"approval_granted"`
WorkerAccessProtection string `json:"worker_access_protection"`
Counts Counts `json:"counts"`
Schedule []Unit `json:"schedule"`
Checks []Check `json:"checks"`
MeasurementUnknowns []string `json:"measurement_unknowns"`
ReadinessBlockers []string `json:"readiness_blockers"`
}
type FindingJudgment ¶
type GradeCoverage ¶
type GradeCoverage struct {
Role string `json:"role"`
Partition string `json:"partition"`
Side string `json:"side"`
Stage string `json:"stage"`
Scheduled int `json:"scheduled"`
Eligible int `json:"eligible_for_semantic_assessment"`
Invalid int `json:"invalid_execution"`
Unrun int `json:"unrun"`
Unknown int `json:"unknown"`
Passed int `json:"supported_semantic_passes"`
Failed int `json:"supported_semantic_failures"`
Accepted int `json:"accepted_model_executions"`
Preparation int `json:"preparation_examples"`
Lower *float64 `json:"correctness_lower_bound,omitempty"`
Upper *float64 `json:"correctness_upper_bound,omitempty"`
Status string `json:"status"`
}
type GradeEvidence ¶
type GradeEvidence struct {
ID string `json:"id"`
Artifact Artifact `json:"artifact"`
Route string `json:"route"`
Citation string `json:"citation"`
Reproduction *Reproduction `json:"reproduction,omitempty"`
}
type GradeHistory ¶
type GradeHistory struct {
ID string `json:"id"`
Operation string `json:"operation"`
Unit Unit `json:"unit"`
Attempt int `json:"attempt"`
SubmittedAt string `json:"submitted_at"`
Evaluator Evaluator `json:"evaluator_assertions"`
Evidence DigestedFile `json:"evidence"`
Artifacts []DigestedFile `json:"artifacts"`
Supersedes string `json:"supersedes,omitempty"`
Target string `json:"target,omitempty"`
RubricVersion int `json:"rubric_version"`
}
type GradeReceipt ¶
type GradeReceipt struct {
SchemaVersion int `json:"schema_version"`
Sequence int `json:"sequence"`
PreviousSHA256 string `json:"previous_sha256,omitempty"`
ID string `json:"id"`
EvaluationID string `json:"evaluation_id"`
EvaluationSHA256 string `json:"evaluation_sha256"`
PlanDigest string `json:"plan_digest"`
SubmittedAt string `json:"submitted_at"`
SubmissionSHA256 string `json:"submission_sha256"`
Files []DigestedFile `json:"files"`
}
func SubmitGrade ¶
func SubmitGrade(repo, storageRoot, id string, unit, attempt int, file string) (*GradeReceipt, error)
SubmitGrade retains evaluator assertions without changing any execution byte. It accepts no executable seam: artifact and command contents remain data.
type GradeResult ¶
type GradeResult struct {
ID string `json:"id"`
Result string `json:"result"`
AssessmentEligibility string `json:"assessment_eligibility"`
AcceptedExecution bool `json:"accepted_execution"`
PreparationOnly bool `json:"preparation_only"`
Retrospective bool `json:"retrospective"`
AfterRepairFeedback bool `json:"after_recorded_repair_feedback"`
RubricVersion int `json:"rubric_version"`
Rubric DigestedFile `json:"rubric"`
Evidence DigestedFile `json:"evidence"`
Judgments []PublicJudgment `json:"judgments"`
Review *ReviewScore `json:"review,omitempty"`
}
type GradeSubmission ¶
type GradeSubmission struct {
SchemaVersion int `json:"schema_version"`
ID string `json:"id"`
Operation string `json:"operation"`
EvaluationID string `json:"evaluation_id"`
EvaluationSHA256 string `json:"evaluation_sha256"`
PlanDigest string `json:"plan_digest"`
Unit Unit `json:"unit"`
Attempt int `json:"attempt"`
AttemptSHA256 string `json:"attempt_sha256"`
CaseSHA256 string `json:"case_sha256"`
PacketSHA256 string `json:"packet_sha256"`
AttemptArtifacts []DigestedFile `json:"attempt_artifacts"`
Rubric Artifact `json:"rubric"`
PreviousRubricSHA256 string `json:"previous_rubric_sha256,omitempty"`
Evaluator Evaluator `json:"evaluator"`
Reason string `json:"reason"`
Evidence []GradeEvidence `json:"evidence"`
Judgments []Judgment `json:"judgments,omitempty"`
Review *ReviewJudgment `json:"review,omitempty"`
Validation *RubricValidation `json:"validation,omitempty"`
Supersedes string `json:"supersedes,omitempty"`
Target string `json:"target,omitempty"`
}
GradeSubmission is data only. Private evaluator prose, reproduction commands and worker bytes never enter report summaries or an execution API.
type GradingSummary ¶
type GradingSummary struct {
SchemaVersion int `json:"schema_version"`
JournalStatus string `json:"journal_status"`
TrustLimits []string `json:"trust_limits"`
History []GradeHistory `json:"history"`
Rubrics []RubricSummary `json:"rubrics"`
Units []UnitGrades `json:"units"`
Coverage []GradeCoverage `json:"coverage"`
TrialEligibility string `json:"comparison_execution_eligibility"`
}
type KeyedDefect ¶
type Limits ¶
type Limits struct {
OverallSeconds int64 `json:"overall_seconds"`
AttemptSeconds int64 `json:"attempt_seconds"`
VerificationSeconds int64 `json:"verification_seconds"`
CleanupSeconds int64 `json:"cleanup_seconds"`
MaxAttemptsPerUnit int64 `json:"max_attempts_per_unit"`
MaxRepairsPerUnit *int64 `json:"max_repairs_per_unit"`
}
type Measurement ¶
type NativeEvidence ¶
type NativeEvidence struct {
SchemaVersion int `json:"schema_version,omitempty"`
Binding *nativehost.EvaluationBinding `json:"binding,omitempty"`
TaskID string `json:"task_id,omitempty"`
ThreadID string `json:"thread_id,omitempty"`
SessionID string `json:"session_id,omitempty"`
TurnID string `json:"turn_id,omitempty"`
Status string `json:"status,omitempty"`
Requested *metrics.Profile `json:"requested,omitempty"`
Observed *metrics.Profile `json:"observed,omitempty"`
Observations []metrics.Observation `json:"observations,omitempty"`
Instructions *nativehost.InstructionEvidence `json:"instructions,omitempty"`
Cleanup *nativehost.SessionCleanup `json:"cleanup,omitempty"`
Failure string `json:"failure,omitempty"`
}
NativeEvidence preserves reports with their original counter semantics and missingness. It is never submitted to the current-Delivery metrics recorder.
type PairValue ¶
type PairValue struct {
CaseID string `json:"case_id"`
Repetition int64 `json:"repetition"`
Host string `json:"host"`
Source string `json:"source"`
Stream string `json:"stream"`
Counter string `json:"counter"`
Baseline int64 `json:"baseline"`
Candidate int64 `json:"candidate"`
Difference int64 `json:"candidate_minus_baseline"`
}
type PinnedSelection ¶
type PinnedSelection struct {
Selection
Configuration Configuration `json:"configuration"`
}
type Plan ¶
type Plan struct {
Version int `json:"version"`
Host string `json:"host,omitempty"`
Scope string `json:"scope"`
Intervention string `json:"intervention"`
Corpus Artifact `json:"corpus"`
Cases []PublicCase `json:"cases"`
ExcludedCases []PublicCase `json:"excluded_cases"`
Partitions []string `json:"partitions"`
Baseline PinnedSelection `json:"baseline"`
Candidate *PinnedSelection `json:"candidate,omitempty"`
EffectiveConfiguration Configuration `json:"effective_configuration"`
Repetitions int64 `json:"repetitions"`
Limits Limits `json:"limits"`
Measurement Measurement `json:"measurement"`
DecisionRule Artifact `json:"decision_rule"`
Readiness Readiness `json:"readiness"`
StorageRoot string `json:"storage_root"`
WorkerRoots []string `json:"worker_roots"`
ScratchRoots []string `json:"scratch_roots"`
RepositoryRoots []string `json:"repository_roots"`
GitDirectories []string `json:"git_directories"`
Instructions *[]Artifact `json:"instructions,omitempty"`
ProtectedRoots *[]string `json:"protected_roots,omitempty"`
}
type Progress ¶
type Progress struct {
SchemaVersion int `json:"schema_version"`
EvaluationID string `json:"evaluation_id"`
EvaluationSHA256 string `json:"evaluation_sha256"`
PlanDigest string `json:"plan_digest"`
Sequence int `json:"sequence"`
PreviousSHA256 string `json:"previous_sha256,omitempty"`
State string `json:"state"`
At string `json:"at"`
Reason string `json:"reason,omitempty"`
Slots []Slot `json:"slots"`
Inspection []string `json:"inspection,omitempty"`
}
Progress is a complete immutable snapshot. Missing terminal evidence is never completed work. Inspection notes are computed by Status, not written back.
func Run ¶
Run consumes an evaluation exactly once. It retains a complete bounded controller outcome, including every unrun slot. Every production attempt requires its frozen evaluation binding and actual native gate. The frozen plan's host selects the worker: claude plans run through Claude Code, every other plan through Codex. Run confers no approval, changes no Delivery state, and cannot resume interrupted execution.
type Proposal ¶
type Proposal struct {
Version int `json:"version"`
Host string `json:"host,omitempty"`
Scope string `json:"scope"`
Intervention string `json:"intervention"`
Corpus Artifact `json:"corpus"`
Cases []string `json:"cases"`
Partitions []string `json:"partitions"`
Baseline Selection `json:"baseline"`
Candidate *Selection `json:"candidate,omitempty"`
Repetitions int64 `json:"repetitions"`
Limits Limits `json:"limits"`
Measurement Measurement `json:"measurement"`
DecisionRule Artifact `json:"decision_rule"`
Readiness Readiness `json:"readiness"`
StorageRoot string `json:"storage_root"`
WorkerRoots []string `json:"worker_roots"`
ScratchRoots []string `json:"scratch_roots"`
Instructions *[]Artifact `json:"instructions,omitempty"`
ProtectedRoots *[]string `json:"protected_roots,omitempty"`
}
type PublicCase ¶
type PublicCase struct {
ID string `json:"id"`
Version int `json:"version"`
Role string `json:"role"`
Partition string `json:"partition"`
Lineage string `json:"lineage"`
Difficulty string `json:"difficulty"`
Classification string `json:"classification,omitempty"`
SourceCommit string `json:"source_commit"`
PacketSHA256 string `json:"packet_sha256"`
}
PublicCase deliberately excludes task/context bytes, keys, probes, controls, free-form author/selection prose and private readiness document contents.
type PublicJudgment ¶
type PublicJudgment struct {
ID string `json:"id"`
State string `json:"state"`
Evidence []DigestedFile `json:"evidence"`
}
type Readiness ¶
type Readiness struct {
IndependentValidation *Artifact `json:"independent_validation,omitempty"`
Exposure *Artifact `json:"exposure,omitempty"`
NativeExecution *Artifact `json:"native_execution,omitempty"`
}
Readiness documents are opaque digest references, never authoritative claims.
type Record ¶
type Record struct {
SchemaVersion int `json:"schema_version"`
Kind string `json:"kind"`
PlanDigest string `json:"plan_digest"`
StorageDestination string `json:"storage_destination"`
Plan Plan `json:"plan"`
Preview Evidence `json:"preview"`
}
func Load ¶
Load reads an immutable version-1 preview by explicit root and digest. It rechecks all current local inputs and exclusions; it neither rewrites records nor interprets readiness documents as approval or containment evidence.
func Preview ¶
Preview reads local artifacts, freezes a schedule, and retains one immutable public preparation record. Its only subprocesses are fixed read-only Git queries.
func PreviewRepository ¶ added in v0.16.0
func PreviewRepository(ctx context.Context, repo, storageRoot, file string, runner execx.Runner) (*Record, error)
PreviewRepository adds fixed repository and storage boundaries to Preview. Only the proposal file must be repository-relative; referenced artifacts keep Preview's explicit local-path rules. CLI Preview retains its existing behavior.
type RepeatRange ¶
type RepeatRange struct {
CaseID string `json:"case_id"`
Side string `json:"side"`
Host string `json:"host"`
Source string `json:"source"`
Stream string `json:"stream"`
Counter string `json:"counter"`
Minimum int64 `json:"minimum"`
Maximum int64 `json:"maximum"`
Covered int `json:"covered_repetitions"`
Expected int64 `json:"expected_repetitions"`
}
type Report ¶
type Report struct {
SchemaVersion int `json:"schema_version"`
SnapshotSHA256 string `json:"snapshot_sha256"`
Destination string `json:"destination"`
Snapshot Snapshot `json:"snapshot"`
}
func Inspect ¶
Inspect is read-only. The validated chain is frozen at the observed sequence; later immutable records never change that snapshot or imply a live process.
func InspectRepository ¶ added in v0.16.0
InspectRepository adds a fixed checkout identity boundary to Inspect. It uses retained metadata and guarded filesystem identities, not Git or live sources. Inspect itself remains usable without the original checkout for CLI status.
func RetainReport ¶
RetainReport publishes one immutable bundle in a sibling namespace, so report bytes/pending files never spend controller/stop capacity or poison Status. Each snapshot gets an exclusive claim; concurrent identical writers only read its completion manifest. A crashed publisher is inspectable, never taken over.
type ReportAttempt ¶
type ReportAttempt struct {
Unit Unit `json:"unit"`
Number int `json:"number"`
Kind string `json:"kind"`
Evidence DigestedFile `json:"evidence"`
Role string `json:"role"`
StartedAt string `json:"started_at,omitempty"`
FinishedAt string `json:"finished_at,omitempty"`
Outcome string `json:"outcome"`
ExecutionSource string `json:"execution_source"`
Grade string `json:"grade"`
Grading *GradeResult `json:"grading,omitempty"`
Verification string `json:"verification"`
Cleanup Cleanup `json:"cleanup"`
Native *NativeEvidence `json:"native,omitempty"`
Eligibility *Eligibility `json:"eligibility,omitempty"`
Artifacts []DigestedFile `json:"artifacts"`
ReceiptWallMS *int64 `json:"receipt_wall_ms,omitempty"`
}
type Reproduction ¶
type Requirement ¶
type ReviewJudgment ¶
type ReviewJudgment struct {
Verdict string `json:"verdict"`
Evidence []string `json:"evidence"`
Reason string `json:"reason"`
Findings []FindingJudgment `json:"findings"`
}
type ReviewScore ¶
type ReviewScore struct {
Verdict string `json:"verdict"`
RequiredBlockers int `json:"required_blockers"`
CaughtBlockers int `json:"caught_blockers"`
MissedBlockers int `json:"missed_blockers"`
CaughtBySeverity map[string]int `json:"caught_by_severity"`
MissedBySeverity map[string]int `json:"missed_by_severity"`
FalseApproval bool `json:"false_approval"`
UnsupportedBlockers int `json:"unsupported_blockers"`
CleanWronglyBlocked bool `json:"clean_wrongly_blocked"`
Advisories int `json:"advisories"`
UnresolvedFindings int `json:"unresolved_findings"`
}
type Rubric ¶
type Rubric struct {
SchemaVersion int `json:"schema_version"`
Version int `json:"version"`
ControllerOnly bool `json:"controller_only"`
CorpusSHA256 string `json:"corpus_sha256"`
CaseID string `json:"case_id"`
CaseVersion int `json:"case_version"`
CaseSHA256 string `json:"case_sha256"`
PacketSHA256 string `json:"packet_sha256"`
KeySHA256 string `json:"key_sha256"`
ProbeSHA256 string `json:"probe_sha256"`
Role string `json:"role"`
Classification string `json:"classification,omitempty"`
Author Evaluator `json:"author"`
Controls []ControlBinding `json:"controls"`
Requirements []Requirement `json:"requirements"`
Blockers []KeyedDefect `json:"blockers"`
Alternatives []string `json:"alternatives"`
}
Rubric is controller-only data. Case/control digests use storedBytes (indented JSON plus LF), exactly as the retained controller case. No grading code runs.
type RubricSummary ¶
type RubricSummary struct {
CaseID string `json:"case_id"`
Version int `json:"version"`
Evidence DigestedFile `json:"evidence"`
Validation string `json:"independent_validation_assertion"`
Invalidated bool `json:"invalidated"`
OpenDisputes []string `json:"open_disputes"`
AwaitingRegrade int `json:"affected_attempts_awaiting_regrade_or_explicit_unknown"`
ComparativeValidity string `json:"comparative_validity"`
}
type RubricValidation ¶
type SafetyFinding ¶
type Snapshot ¶
type Snapshot struct {
SchemaVersion int `json:"schema_version"`
EvaluationID string `json:"evaluation_id"`
EvaluationSHA256 string `json:"evaluation_sha256"`
Repository string `json:"repository"`
PreparedAt string `json:"prepared_at"`
Scope ApprovalScope `json:"scope"`
Approval *ApprovalRecord `json:"approval,omitempty"`
ApprovalStatus string `json:"approval_status"`
Progress Progress `json:"progress"`
Evidence []DigestedFile `json:"evidence"`
EvidenceComplete bool `json:"evidence_complete"`
StopRequested bool `json:"stop_requested"`
StopAcknowledged bool `json:"controller_stop_acknowledged"`
ProcessLiveness string `json:"process_liveness"`
AttemptsConsumed int64 `json:"attempts_consumed"`
RepairsConsumed int64 `json:"repairs_consumed"`
CompletedAttempts int `json:"completed_attempt_records"`
UnrunUnits int `json:"unrun_units"`
Attempts []ReportAttempt `json:"attempts"`
Observations []AttributedObservation `json:"observations"`
MeasurementStatus string `json:"measurement_status"`
Values []CounterValue `json:"counter_values"`
Pairs []PairValue `json:"matched_values"`
Ranges []RepeatRange `json:"repeat_ranges"`
UnitTimings []UnitTiming `json:"unit_receipt_wall_spans"`
Blockers []Blocker `json:"blockers"`
Safety []SafetyFinding `json:"safety_findings"`
Decision string `json:"decision"`
CostPerAccepted string `json:"cost_per_accepted_outcome"`
Unknowns []string `json:"unknowns"`
Reproduction [][]string `json:"reproduction_argv"`
Grading *GradingSummary `json:"grading,omitempty"`
}
Snapshot contains only public plan metadata, typed observations and guarded references. Free-form reasons, native errors and worker output stay in evidence.