Artifex/control_plane/authoring/state.py
2026-08-28 23:51:02 +07:00

28 lines
705 B
Python

from __future__ import annotations
from typing import Any, TypedDict
class StoryGraphState(TypedDict, total=False):
story_id: str
chapter_id: str
revision_id: str
graph_run_id: int
thread_id: str
context_snapshot_id: str
state_document_id: str
scene_plan: dict[str, Any]
editorial_finding_ids: list[str]
patch_finding_ids: list[str]
patch_attempted: bool
patch_decision: str
patch_status: str
patch_source_revision_id: str
patch_change_ratio: float
changed_passages: list[dict[str, Any]]
verification_status: str
state_judge_status: str
approval_action: str
human_notes: str
canon_snapshot_id: str
export_uri: str