docs(headless): close modern runtime slice K2

This commit is contained in:
Erik 2026-07-27 08:26:14 +02:00
parent 38e83640d9
commit fbdb58a962
7 changed files with 158 additions and 15 deletions

View file

@ -1,6 +1,6 @@
# Modern runtime Slice K — Linux headless and multi-session host
**Status:** K0K1 COMPLETE; K2 ACTIVE 2026-07-27
**Status:** K0K2 COMPLETE; K3 ACTIVE 2026-07-27
**Parent:** `2026-07-24-modern-runtime-architecture.md`, Slice K
**Authorization:** the user approved Slices FL on 2026-07-24
**Purpose:** run efficient automated clients on Linux without a display, GPU,
@ -265,6 +265,19 @@ cleanly without loading presentation assemblies.
### K2 — deterministic scheduler and bot API parity
**Complete at `7e8acb74` plus `38e83640`.** One monotonic
absolute-deadline scheduler advances every configured session in stable order,
uses bounded elapsed-time catch-up, and represents reconnect quiescence as a
deadline. Graphical and headless hosts now use the same Runtime local-player
frame controller, action owners, typed movement/selection/interaction/combat/
magic/state commands, hostile-target query, and ordered lifecycle/entity/
inventory/chat/movement/portal/combat/command event stream. The deterministic
gate proves MoveToState/AutonomousPosition order and elapsed cadence, stale
generation rejection, and 100,000 idle dispatch probes with zero turns and
zero managed allocation. Runtime passes 411 tests, Headless 31, App 3,732/3
skips, and the complete Release solution 8,744/5 skips. Evidence:
`docs/research/2026-07-27-slice-k2-deterministic-bot-parity.md`.
- Add the absolute-deadline multi-session scheduler.
- Serialize accepted per-session work while allowing sessions to progress
independently.
@ -363,3 +376,16 @@ K0 exact rollback:
```text
git revert aada8a37c1e933f9f0a3f41dc4f05615b01023bc
```
K1 exact rollback:
```text
git revert f8cb840fb15b27f61afa5c33cad6c4dba8584949
```
K2 exact rollback, newest first:
```text
git revert 38e83640d907ee3e0819f3b38ca117ca60914d6b
git revert 7e8acb74dd20931d5ba88430fd100cd074a32e4d
```