io.prefect.v0.*: versioned lexicons, transitions become events
go-crazy namespace decision: everything lives under io.prefect.v0.* and
problems down the road drive v1. seven lexicon files land in lexicons/
(defs with the shared #state shape, event, flow, flowRun, taskRun,
logBatch, workspace).
the server now writes state transitions as io.prefect.v0.event records
mirroring prefect's own Event schema — name prefect.{flow-run,task-run}.
{StateName}, resource labels, intended {from,to} + validated_state in
the payload, TID rkeys. the state collections are gone; current state
is appview-only, per docs/lexicons.md.
verified live: python client runs basic_flow to Completed and the repo
holds Pending->Running->Completed events with causal from-chains; zds
poc reruns clean with the v0 workspace space type and oplog.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>