runStateView ( state : { branch : string ; budget : | null | { cost_limit_usd : null | number ; cost_spent_usd : null | number ; [ key : string ]: unknown ; } ; closure : | null | { as : "already-delivered" | "superseded" | "obsolete" | "abandoned" ; at : null | string ; by : null | string ; reason : null | string ; [ key : string ]: unknown ; } ; escalations : { at : null | string ; disposition : null | "re-review" | "return-to-implement" | "re-plan" ; from_role : null | string ; reason : string ; resolution : null | string ; resolved : boolean ; resolved_at : null | string ; resolved_by : null | string ; [ key : string ]: unknown ; } [] ; gates : { G0 : { approved : boolean ; at : null | string ; burden : null | "confirmation" | "light-correction" | "heavy-correction" ; by : null | string ; notes : null | string ; [ key : string ]: unknown ; } ; G1 : { approved : boolean ; at : null | string ; burden : null | "confirmation" | "light-correction" | "heavy-correction" ; by : null | string ; notes : null | string ; [ key : string ]: unknown ; } ; G2 : { approved : boolean ; at : null | string ; burden : null | "confirmation" | "light-correction" | "heavy-correction" ; by : null | string ; notes : null | string ; [ key : string ]: unknown ; } ; G3 : { approved : boolean ; at : null | string ; burden : null | "confirmation" | "light-correction" | "heavy-correction" ; by : null | string ; notes : null | string ; [ key : string ]: unknown ; } ; } ; paused_reason : null | string ; phase : | "spec" | "plan" | "implement" | "integrate" | "release" | "done" | "paused" | "closed" ; profile : "patch" | "standard" | "full" ; run : string ; tasks : { id : string ; review_rounds : number ; status : string ; [ key : string ]: unknown ; } [] ; } , content : string , ) : FieldView Parameters state : { branch : string ; budget : | null | { cost_limit_usd : null | number ; cost_spent_usd : null | number ; [ key : string ]: unknown ; } ; closure : | null | { as : "already-delivered" | "superseded" | "obsolete" | "abandoned" ; at : null | string ; by : null | string ; reason : null | string ; [ key : string ]: unknown ; } ; escalations : { at : null | string ; disposition : null | "re-review" | "return-to-implement" | "re-plan" ; from_role : null | string ; reason : string ; resolution : null | string ; resolved : boolean ; resolved_at : null | string ; resolved_by : null | string ; [ key : string ]: unknown ; } [] ; gates : { G0 : { approved : boolean ; at : null | string ; burden : null | "confirmation" | "light-correction" | "heavy-correction" ; by : null | string ; notes : null | string ; [ key : string ]: unknown ; } ; G1 : { approved : boolean ; at : null | string ; burden : null | "confirmation" | "light-correction" | "heavy-correction" ; by : null | string ; notes : null | string ; [ key : string ]: unknown ; } ; G2 : { approved : boolean ; at : null | string ; burden : null | "confirmation" | "light-correction" | "heavy-correction" ; by : null | string ; notes : null | string ; [ key : string ]: unknown ; } ; G3 : { approved : boolean ; at : null | string ; burden : null | "confirmation" | "light-correction" | "heavy-correction" ; by : null | string ; notes : null | string ; [ key : string ]: unknown ; } ; } ; paused_reason : null | string ; phase : | "spec" | "plan" | "implement" | "integrate" | "release" | "done" | "paused" | "closed" ; profile : "patch" | "standard" | "full" ; run : string ; tasks : { id : string ; review_rounds : number ; status : string ; [ key : string ]: unknown ; } [] ; } content : string
state.yamlas the run's ledger (docs/SEAM.md §8.3): the run's position, its closure, its budget, each of the profile's gates, each task's status and rounds, each escalation.stateisparseRunState's reading ofcontent; the text is read again only for what that typed shape cannot keep.A resolved escalation is history, and folds (§5 Fold: "resolved history"). An open one never does: it is what the run is waiting on.