oc_chat
Loading...
Searching...
No Matches
state_machine.py File Reference

Go to the source code of this file.

Classes

class  oc_chat.registry.round.state_machine.StepDef
class  oc_chat.registry.round.state_machine.RoundCloseResult

Namespaces

namespace  oc_chat
namespace  oc_chat.registry
namespace  oc_chat.registry.round
namespace  oc_chat.registry.round.state_machine

Functions

list[StepDef] oc_chat.registry.round.state_machine.build_step_plan (RoundContext ctx)
str oc_chat.registry.round.state_machine.create_close_job (RoundContext ctx, *, bool create_staging=True)
str oc_chat.registry.round.state_machine.new_job_id ()
RoundCloseResult oc_chat.registry.round.state_machine.run_round_close (RoundContext ctx, *, bool interactive=False, Prompter|None prompter=None, bool create_staging=True)
RoundCloseResult oc_chat.registry.round.state_machine.drive_steps (RoundContext ctx, *, int start_step, bool interactive=False, Prompter|None prompter=None)
RoundCloseResult|None oc_chat.registry.round.state_machine._run_one_step (RoundContext ctx, StepDef step, dict[str, object]|None prior)
StepOutcome oc_chat.registry.round.state_machine._execute_step (RoundContext ctx, StepDef step, str|None prior_input_hash)
str|None oc_chat.registry.round.state_machine._optional_text (object value)

Variables

tuple oc_chat.registry.round.state_machine.PHASE_ORDER = ("open", "merge", "test", "lint", "consolidate", "ff_main", "cleanup")
str oc_chat.registry.round.state_machine.TERMINAL_PHASE = "cleanup"
 oc_chat.registry.round.state_machine.Prompter = Callable[[StepDef, RoundContext], str]