docs(headless): record K4 resource envelope

This commit is contained in:
Erik 2026-07-27 11:21:44 +02:00
parent 776482da82
commit b2ab0956f2
7 changed files with 208 additions and 97 deletions

View file

@ -2,17 +2,24 @@
## Current checkpoint
Slice J is closed. Slice K0-K3 are closed; K4 is active.
Slice J is closed. Slice K0-K3 are closed; K4 implementation is complete
through `776482da`, with the exact connected terminal gate active.
K3's production closeout commit is `3f340125`. Its automated predecessors are
`12b500d3`, `9569dadb`, and `b6547ff3`.
K4's resource-telemetry/CPU checkpoint is `cb512fd0`. It adds one
process-scheduler observation deadline, structured process/managed/session/
content/scheduler metrics, exact post-disposal convergence reporting, startup
deadline rebasing, and the Linux sub-millisecond busy-wait correction. It does
not add per-session timers or workers. Windows and native Ubuntu Headless
tests pass 56/56; the complete Release suite passes 8,773 / 5 skips.
K4 commits after the telemetry/CPU checkpoint are:
- `97c174fb`: 1/5/10/30-root content sharing, same-GUID isolation, portal,
reconnect, and 480,000-frame-per-root two-hour simulated endurance;
- `bd236ce5`: death during the endurance route plus five randomized
30-session cancellation-edge runs;
- `776482da`: committed diagnostic-only 30-session resource ceilings,
per-sample evaluation, named failures, and exact running/terminal ownership
checks.
Windows and native Ubuntu Headless tests pass 67/67; the complete Release
suite passes 8,784 / 5 skips.
The Windows visible-terminal host and native Linux/WSL host both connected to
local ACE without loading presentation assemblies. Linux completed the
@ -54,17 +61,16 @@ continues to use credential providers.
## Next work
Execute K4 from `docs/plans/2026-07-26-modern-runtime-slice-k.md`:
Finish K4 from `docs/plans/2026-07-26-modern-runtime-slice-k.md`:
1. after the user finishes observing the current two clients, restart on exact
`cb512fd0` or a documented descendant;
2. prove cadence-bounded wait count, zero startup catch-up, reduced CPU, and
exact teardown convergence under matched one- and two-account workloads;
3. derive and commit numeric per-session/process ceilings;
4. run automated 5/10/30-root stress and endurance gates; the connected scale
gate is presently limited to the two available local ACE accounts;
5. prove stable plateaus and exact teardown convergence;
6. close Slice K, then start Slice L Linux graphical/platform work.
1. keep the exact `776482da` two-account Rynthid process running while the user
observes it;
2. verify every periodic sample remains inside the committed envelope with no
fault/reconnect/lease debt;
3. stop it gracefully and require a final `disposed` sample with two converged
Runtime roots, zero entities/inventory/host leases, disposed shared
content, and `withinCeilings=true`;
4. close Slice K and begin Slice L Linux graphical/platform work.
Final K3 automated counts: Runtime 412, Headless 47, App 3,722 / 3 skips,
complete Release 8,764 / 5 skips.
@ -75,8 +81,11 @@ K3 connected-closeout rollback:
git revert 3f3401257c83bdd9f557eb577ba08cf2e5ec9a06
```
K4 telemetry/CPU rollback:
K4 rollbacks, newest first:
```text
git revert 776482da8225d88a7c6128022d137d26f9266a87
git revert bd236ce553718cfb1248703f4a2b17b35733b11c
git revert 97c174fbb2d72fb94e2fe07448bb257989ed8941
git revert cb512fd0
```