kcode-k1-chat-state 0.7.0

Provider-free open-format chat scheduling state
Documentation
1
2
3
4
5
6
7
8
9
# Open-format K1 Chat State 0.7.0

`ActorState` adds provider-free scheduling to Chatend’s open `ChatBox` transcript; unknown box and hidden values survive FIFO flushing, completion, and recovery, while `begin_inference` opens a Chatend round without adding a box and process-local jobs, frontiers, and attempts remain scheduling values rather than tool-call IDs.

`append_stage` accepts structured `ProviderCall` values; Chatend transactionally allocates consecutive `cN` IDs. State neither parses envelopes nor allocates or recovers call IDs.

Structured successful and error `ToolResult` values share the same arrival and single-follow-up rules. Active arrivals queue in FIFO order; each flush consumes one finite snapshot, while a later arrival restores one follow-up. Stall, restart, halt, and wrong-job checks preserve transactional job ownership. Recovery accepts only the current Chatend format and returns idle State with fresh process-local job numbering.

There is no legacy reader, compatibility shim, migration, persistence, provider runtime, or dispatch execution.