Skip to main content

Module plan_store

Module plan_store 

Source
Expand description

Immutable, content-addressed storage for approved release plans (ADR-0003).

Plan documents live beside release journals under ossctl/plans. The document retains both the public plan and the exact canonical seal pre-image, allowing a later cut or resume to authenticate it without consulting a changed worktree.

Structs§

PlanStore
Persist and authenticate sealed plans at paths derived from JournalPaths.

Enums§

DiscardOutcome
Result of discarding a sealed plan from the durable store.
PlanStoreError
A plan-store failure. Corruption has a stable discriminator so CLI callers never mistake a damaged local approval artifact for a missing legacy plan.

Functions§

is_plan_id
Whether value is a canonical SHA-256 plan address.