%% Lifecycle — pack readiness states (producer side) + disposition states (funder %% side), including the continuous-mode cycle. The standard's process-model view. %% Source of truth for the /dev "Lifecycle" page SVG (app/dev/route.ts). stateDiagram-v2 state "Producer (the agent proposes)" as P { [*] --> Collecting : case opened Collecting : gaps-remaining · L1-declared Collecting --> Verifying : registry checks run Verifying : verify-tagged facts verified · L2-verified-core Verifying --> OvenReady : required fields provided\n(profile-selected · entity gate passed) OvenReady : oven-ready · missing == [] OvenReady --> Attested : truth statement + attestation\n(L3-attested) Attested --> Submitted : pack + Pack Summary handed over\n(pack_ref = content hash) } state "Funder (gates + underwriting dispose)" as F { Submitted --> Received Received --> InReview InReview --> InfoRequested : disposition info_requested\n(field_ids[]) InReview --> Declined : disposition declined\n(decline_reason code) InReview --> OfferIssued : disposition offer_issued\n(terms travel outside the standard) Declined --> [*] } InfoRequested --> Collecting : each field_id becomes\na chase item mechanically OfferIssued --> Monitoring : continuous-mode facilities only\n(receivables / trade finance) Monitoring : borrowing-base certificate cycle\n(recurring evidence) Monitoring --> InReview : recurring disposition\nper certificate OfferIssued --> [*] : one_shot facilities