Repository navigation
docs(e17): lease mode validation spec (draft) - #21
Conversation
96ca4a5 to
671cb53
Compare
671cb53 to
03b7188
Compare
e17/extract/pycache_corpus.py writes corpus.jsonl (E15's Session/Call schema; classes py_analyze, py_test, py_short; users pyc-u00..pyc-u39; provider synthetic) and corpus-report.json. Gaps are drawn from an E15 corpus's gap_ms and scaled to a per-session duty target, with the excess of a clip at H = 1800 s moved to the unclipped gaps, and whole turns added (at most 50) when a session is still over target. e15/driver gains only a test (TestLoadCorpusAcceptsPycache) and its fixture; no driver source changes. Assisted-By: Claude (Anthropic AI) <[email protected]> Signed-off-by: Paolo Dettori <[email protected]>
Spec §4.2 makes a session a loop of turns; a one-turn session only tests warmth inside a turn, never across turns. Sessions now start at --min-turns (default 4) and the duty fit extends only above that floor. corpus-report.json gains min_turns, turns_per_session and span_min. The e15/driver fixture is regenerated from the new generator. Assisted-By: Claude (Anthropic AI) <[email protected]> Signed-off-by: Paolo Dettori <[email protected]>
build_pycache_workspace.sh stages the pycache template: D MiB of numeric CSV shards (32 MiB each, SHAKE-256 per shard from the seed), the analysis project, and, on the rig as root, a Python 3.9 venv built in a chroot of the guest rootfs from the wheels pinned in wheels.lock (hash-checked twice). --dir stages data and project only and records the skipped venv. library.json maps py_analyze and py_test to one invocation each and py_short to eight reads/greps and one self-reverting edit. A test-only Go check pins that the driver plans every heavy pycache call as one command. Assisted-By: Claude (Anthropic AI) <[email protected]> Signed-off-by: Paolo Dettori <[email protected]>
…afe edit ANALYZE_WORK_SCALE (config.py, default 32) repeats the seeded KMeans fit on the sample; the shard read, the sha256 and the printed inertia (the random_state 0 fit's) are unchanged at every scale. About 15 s on the laptop at D=256, spec §4.2's 10-20 s. py_test runs with -p no:cacheprovider, as E15's library does. Image mode refuses a rootfs whose python3.9 cannot import venv and ensurepip, before any image work. The py_short edit first restores MAX_ITER = 300 and writes through a temp file and os.replace, so an interrupted run never breaks the next one. Assisted-By: Claude (Anthropic AI) <[email protected]> Signed-off-by: Paolo Dettori <[email protected]>
points.sh: pycache, pycache-low, pycache-d64 and pycache-d768, on fresh-metal only (e15_point returns 1 elsewhere). They use E17's library and 1536 MiB templates template-pycache-d<D> (D 256, 64, 768; built by bringup.sh, not setup.sh), arms sbx resident-300 lease-30 lease-120, and no fallback. pycache and the -d* points replay corpus pycache; pycache-low replays corpus pycache-low. lib.sh: arms lease-30 and lease-120 (fresh-metal only), handled as resident-300 everywhere it appears: the resident binary, standby depth 0, a 1200 s warm-up, E15_RESIDENT=1 with E15_RESIDENT_IDLE_S 30 or 120. rung.sh adds the same for the end-session Exec, the record's binary, the patch sha and end_session_exec. record.py treats them as resident arms for footprint drift. setup.sh step 8c checks the staged pycache corpora against their reports' corpus_sha256 and records them. The template loop and the lowduty block are byte-identical. e17/rig/sync.sh is the laptop sync. Carried-over fixes: corpus-report.json records gap_source as a basename, and the venv preflight runs python3.9 with env -i and -B, as in_guest does. Golden dumps of the pre-E17 points (default, lowduty, mem512) and arms, taken before the change, are asserted byte-identical on both profiles. Assisted-By: Claude (Anthropic AI) <[email protected]> Signed-off-by: Paolo Dettori <[email protected]>
…7.1) warmcold.py tags each recorded call warm, cold or unknown. A call is warm when its first Exec ran on the vm of the key's previous call, with no idle-destroy, retire or end-session for that key between the two in log order. The cold= field is not used. The driver's end-session Exec is dropped before zipping, and each drop is recorded. If a key's exec count still differs after that, every call of that key is unknown. latency_report.py writes latency.json and latency.md: per point, N, arm and class, the warm and cold median and p95, the gain against sbx, the first call after idle and the warm share. The fixture is a real resident-300 N=8 slice (two keys, 2026-11-05). Assisted-By: Claude (Anthropic AI) <[email protected]> Signed-off-by: Paolo Dettori <[email protected]>
…calls Two changes to the join, and one to the report, from E16's real N1024 rungs: - A key's last exec line is dropped as an aborted end-session Exec when three things hold: its vm is empty, its err is set, and the calls want exactly one Exec fewer than the log has. Each drop is recorded in dropped_aborted_end_session. This fixes 123 keys on resident-inf that came out unknown. - A call refused with "busy: queue full" (rpc_error) counts as 0 Execs. A new timestamp guard marks a key unknown (timestamp_mismatch) when a paired exec line is more than 2 s from its call's ts + observed_ms. Two errors that cancel out in the count can then no longer shift the calls silently. - latency_report.py refuses to pool rungs whose dataset_mib or snapshot_guest_ram_mb differ. The new fixture is one real key from E16 resident-inf N1024. Assisted-By: Claude (Anthropic AI) <[email protected]> Signed-off-by: Paolo Dettori <[email protected]>
latency_report.build now checks the arm's group against the baseline group at the same point and N. If dataset_mib or snapshot_guest_ram_mb differ, it exits non-zero, naming the field, both values and both rung dirs. Without this, a lease rung at D=64 would be divided by sbx at D=256, which is exactly what the gain-against-D runs would produce. Assisted-By: Claude (Anthropic AI) <[email protected]> Signed-off-by: Paolo Dettori <[email protected]>
- pycache_corpus.py gains --durations-from CAL.json, a class -> N=1 median
run_ms object. It replaces the placeholder dur_ms/work_ms, so the busy
time, the duty fit and the offsets use the measured durations. The
report records durations_ms and durations_from.
- e17/rig/gen_corpora.sh (laptop) writes the pycache (duty 0.095) and
pycache-low (duty 0.015) corpora: 400 sessions, seed 1, min-turns 4,
E15 default gaps, optionally --durations-from.
- e17/rig/bringup.sh (rig, idempotent):
- checks the corpora, and the wheels against wheels.lock;
- loop-mounts read-only the snapshot rootfs that state/artifacts
records, with an EXIT trap that unmounts it;
- builds template-pycache-d{64,256,768}, skipping any whose inputs
stamp and image sha256 match;
- stamps state/template-pycache-d<D> with the image's sha256, and
writes BUILD beside it.
A target that is not exactly the template's workspace.img leaf is
refused (exit 3), so no parent path is ever removed or built.
- e17/rig/smoke.sh (rig) runs one N=1 pycache rung per arm (60 s
warm-up, 120 s window), then three checks:
- the sbx py_analyze calls exit 0;
- analyze's sha256= equals the D=256 BUILD's dataset_sha256, through
a relay Exec (the driver keeps no stdout);
- warmcold.py runs on each rung and prints its counts.
- e17/results/README.md: where bring-up, smoke, calibration and the
measured rungs land.
- rig.test.sh: new section with stubbed end-to-end runs of bringup.sh
and smoke.sh, the path guard, the stamp skip, the wheel check and
gen_corpora's --durations-from.
Assisted-By: Claude (Anthropic AI) <[email protected]>
Signed-off-by: Paolo Dettori <[email protected]>
- smoke.sh passes E15_START_ZERO=${E15_START_ZERO:-1} to its rungs (coordinator ruling: smoke is a
bring-up check, not a measured rung). A py_analyze call with cause cut_at_end is not a failure,
but at least one completed py_analyze call is still required.
- smoke.sh and bringup.sh refuse to preempt a running rung. If e15-worker.service is active they
die: smoke.sh at its start and before the analyze check; bringup.sh before it removes or rebuilds
any template.
- bringup.sh dies with a named message when state/artifacts is missing. The rootfs step now runs
before the corpora step, which would otherwise create that file.
- bringup.sh's unmount_rootfs warns on stderr for each mount still present and keeps the mount
point. The EXIT trap only warns; the explicit unmount after the builds is fatal.
- rig.test.sh: a test for each change.
Assisted-By: Claude (Anthropic AI) <[email protected]>
Signed-off-by: Paolo Dettori <[email protected]>
…n an sbx guest) Assisted-By: Claude (Anthropic AI) <[email protected]> Signed-off-by: Paolo Dettori <[email protected]>
E15's class probe caps planned durations at 30 s. pycache's py_test runs
~62 s whatever it is planned at, so the sbx probe's py_test median came
out +31 s and condition 4 could never fail on py_test.
- make_probe.py --cap-ms N (default 30000: output byte-identical to
before, checked against a digest taken at 56bb03a and against
e15/driver/testdata/probe)
- classprobe.sh passes --cap-ms "${E15_P_PROBE_CAP_MS:-30000}"
- points.sh: E15_P_PROBE_CAP_MS=120000 for the four pycache points only,
unset at the top of e15_point (no leak between points in one shell),
and " probe_cap_ms=120000" appended to their settings, so it enters
the pycache point_sig and a cap30k baseline is refused by rung.sh.
The E15/E16 points' settings, signatures and golden dumps are unchanged.
- e17/rig/reprobe.sh ARM: re-derives the seeded runs baseline.sh counted
(its loop and verdict, cross-checked against the old baseline.json),
checks their hashes and point settings, moves the old probe and
baseline aside (_cap30k-*, baseline.cap30k.json; leaf renames, path
guarded), re-runs classprobe.sh pycache ARM, calls baseline.py as
baseline.sh does, and gives the new baseline.json the current
point_sig (baseline.py copies the seeded runs' pre-cap one; recorded
in its "reprobe" field). Refuses while a rung's worker runs.
Assisted-By: Claude (Anthropic AI) <[email protected]>
Signed-off-by: Paolo Dettori <[email protected]>
Review minors on 02bb9a0: - after the new probe, every N1-probe-*/record.json must agree with every counted seeded record.json on template_sha256, worker_bin_sha256, resident_patch_sha256, snapshot_hash and snapshot_guest_ram_mb (absent on both sides is equal, on one side a mismatch); a template re-stamp or worker rebuild since the seeded runs dies naming field, values, dirs - baseline.cap30k.json without baseline.json (a previous reprobe failed after the moves) is refused with this arm's restore commands: partial new probes to _failed-<ts>-*, each _cap30k-* back, then the baseline Assisted-By: Claude (Anthropic AI) <[email protected]> Signed-off-by: Paolo Dettori <[email protected]>
…preview The N=1 preview showed a warm guest saves ~nothing on the CPU-bound heavy calls (analyze -5%, pytest +1%) and much on short calls (+89%). pycache-io keeps the project at D=768 with analyze's CPU scale 1. Criterion 2 is now judged per point (proposal, sealed with the predictions); a feasibility gate runs before its 9 h calibration. Assisted-By: Claude (Anthropic AI) <[email protected]> Signed-off-by: Paolo Dettori <[email protected]>
…p classes The pycache-io feasibility gate failed (analyze at CPU scale 1, D=768: 3.6% warm gain; the CSV parse is compute). A second probe found the cache-bound operations: importing the stack 1.98 -> 0.53 s, grep -r over the venv 2.17 -> 0.08 s. Both become classes in every pycache turn; criterion 2 is per class (>= 50% for py_import/py_grep/py_short; compute reported). Corpus and library change, so both baselines are rebuilt. Assisted-By: Claude (Anthropic AI) <[email protected]> Signed-off-by: Paolo Dettori <[email protected]>
…v0.4) Spec v0.4 §4.3: a pycache turn is now py_analyze, py_test, py_import, py_grep, two to five py_short, py_analyze. The corpus generator plans py_import at 2000 ms and py_grep at 2200 ms (the §1.1 probe's cold N=1 times, placeholders until calibration), and --durations-from requires exactly the five classes. The library gains import_stack (import numpy, pandas, scipy, sklearn) and grep_venv (grep -rc over every .py file of the venv's site-packages, piped to wc -l so it prints one line), each one invocation with nominal_ms equal to the corpus duration, so the driver runs it once with no sleep. The e15/driver pycache fixture is regenerated (--sessions 3 --seed 1 on gaps-20.jsonl) and TestPlanPycacheOneInvocationPerHeavyCall covers the two new classes. The E17 gen_corpora checks in e15/rig/tests/rig.test.sh expect the five classes; no sealed E15/E16 check changes. Assisted-By: Claude (Anthropic AI) <[email protected]> Signed-off-by: Paolo Dettori <[email protected]>
Assisted-By: Claude (Anthropic AI) <[email protected]> Signed-off-by: Paolo Dettori <[email protected]>
…data-v2), test name Assisted-By: Claude (Anthropic AI) <[email protected]> Signed-off-by: Paolo Dettori <[email protected]>
Measured sbx medians for py_analyze/py_test, the §1.1 probe for py_import/py_grep, and py_short planned at 300 ms so the driver's fill keeps choosing among all nine short commands. Assisted-By: Claude (Anthropic AI) <[email protected]> Signed-off-by: Paolo Dettori <[email protected]>
5180f26 to
52a0bcb
Compare
Both N=1 baselines (seeds 2,3,6,7; 43 calls; 8 probes): B sbx 265 ms, resident-300 112 ms. Latency reports for the seeded runs and the class probes. Draft predictions: criterion 2 predicted to fail on py_import (40%) and py_grep (lease median ~2 s vs sbx ~390 ms; per-VM memory.max reclaims a grown lease VM's host page cache). Raw run output stays on the rig for the data-v2 archive. Assisted-By: Claude (Anthropic AI) <[email protected]> Signed-off-by: Paolo Dettori <[email protected]>
… (sbx, lease-300) Assisted-By: Claude (Anthropic AI) <[email protected]> Signed-off-by: Paolo Dettori <[email protected]>
…=128 rung pair pycache N=128, sbx and resident-300: gains py_short 0.91, py_import 0.42, py_grep 0.01, py_analyze 0.09, py_test 0.02; neither rung holds (both arms' heavy calls 10-20% slower than at N=1, condition 4). Criterion 1 holds on E15's reused default ladders (80 vs 128). Predictions 1 (verdict), 2, 3, 6 hold; 1's py_grep numerics and 4 (79% vs >=80% at N=128) falsified. Summaries only; raw output stays on the rig for data-v2. Assisted-By: Claude (Anthropic AI) <[email protected]> Signed-off-by: Paolo Dettori <[email protected]>
…88/112 ms) Assisted-By: Claude (Anthropic AI) <[email protected]> Signed-off-by: Paolo Dettori <[email protected]>
…-2 sizing - a restored VM's free-page-reporting balloon returns ~650 of 734 MiB in 15 s - one golden snapshot with the balloon costs per-Exec nothing measurable - level 2 (a persistent interpreter): re-query 6.5 s -> 0.25 s, recompute 17.4 -> 11.2 s; level 1 alone 5-17%; the server holds ~500 MB Assisted-By: Claude (Anthropic AI) <[email protected]> Signed-off-by: Paolo Dettori <[email protected]>
pdettori
left a comment
There was a problem hiding this comment.
Verdict: changes requested (posted as COMMENT because GitHub does not allow REQUEST_CHANGES on your own PR). E17a is complete and moca has already acted on it (ADR-0048 revision and lease spec v0.2 via #718; worker plan 2 = rossoctl/moca#763). This PR holds the results but its body and e17/SPEC.md still describe the pre-run design, so E17b as specified cannot pass and would not test the balloon/page-cache revisions. The results, rig, workload and analysis artifacts are sound.
What moca consumed (upstream/main @ d15b8077):
docs/adrs/0048-sbx-lease-mode.md— Revision 2026-11-12: decisions 7, 13, 14 revised; new 18 (page-cache headroom), 19 (level 2).docs/specs/2026-11-08-sbx-lease-mode-design.mdv0.2 — §1.1, §2 re-scope, §6 FPR +SH_LEASE_PAGECACHE_MB, §10 sealed criteria, §16 level-2 sizing, §17 E17a findings incl. N=128.docs/specs/README.md— SBX0.3 row cites E17.rossoctl/moca#763— plan 2 worker implements the revisions (balloon-fpr-v1snapshot, lease cgroupPerVMBytes + SH_LEASE_PAGECACHE_MB).
Suggested follow-up to this review: update the PR body (it still says draft / nothing built, names e16/low-duty-spec as base while the base is main, and lists pass criteria — analyze.py/pytest ≥20%, both duty points — that are not in the spec and are contradicted by the results).
Author: pdettori (MEMBER — maintainer)
Areas reviewed: docs/spec, experiment rig (shell/Python/Go), results data
Agent/IDE config (.claude/.vscode): none
Commits: 24, all signed off
CI: DCO pass (only check)
Assisted-By: Claude Code
| # E17 — lease mode: does a warm guest with an idle timeout pay, and does measured admission hold? | ||
|
|
||
| Version: 0.5, 2026-11-12 | ||
| 2026-11-12: predictions sealed (`e17/predictions.json`). User decision: E17a's latency rungs are cut to one pair, |
There was a problem hiding this comment.
must-fix — The spec still describes the pre-run design. (a) Add a v0.6 header entry recording the E17a miss and the decision taken: E17a is built, run and reported (e17/results/E17A-REPORT.md), moca already revised the design from it (#718, merged 2026-11-12), and the Status: line (line 22) still says Nothing is built. (b) Balloon, suspend, snapshot of a lease is still a non-goal (§2, line 87) and question 3 still assumes no balloon (§1, line 40), but lease spec v0.2 puts virtio-balloon free-page reporting in v1 (ADR-0048 decision 7) and plan 2 ships it (rossoctl/moca#763, balloon-fpr-v1 golden snapshot). E17b cannot validate decision 7 while the spec excludes it.
There was a problem hiding this comment.
Fixed in a0f9105. The v0.6 header entry and the Status line now record that E17a is built, run and reported (it misses) and that the user approved the plans 2–5 build with the revised design. Question 3 and the §2 non-goal no longer assume "no balloon": free-page reporting is in v1 (decision 7 as revised) and §7.3 measures what it returns; only suspend and snapshot stay non-goals.
| 2. **Latency:** at `pycache` N = 1 and N = 128, the median warm `analyze.py` and `pytest` are each at | ||
| least 20% faster in `lease-300` than in `sbx`. | ||
| 2. **Latency (per class, v0.4; user decision 2026-11-11):** at `pycache` N = 1 and N = 128, the median | ||
| warm `py_import`, `py_grep` and `py_short` are each at least 50% faster in `lease-300` than in `sbx`. |
There was a problem hiding this comment.
must-fix — Criterion 2 still gates py_grep and the stack import at ≥50%. E17a measured grep at −2%/1% and import at 40%/42% (E17A-REPORT.md §2), and ADR-0048 decision 14 re-scoped level 1 to short and import-bound commands because per-Exec already reads the workspace through the host page cache. As written, E17b fails by construction. Align §7.5 (and the §8/§12 rows that reference it) with the sealed criteria and the revised design before E17b runs.
There was a problem hiding this comment.
Fixed in a0f9105. §7.5 criterion 2 is re-scoped for E17b: warm py_short ≥ 50%, py_import ≥ 30% (below E17a's 40–42% ceiling, leaving room for the level-1 kill and fresh shell); py_grep, py_analyze and py_test are reported, not gated. The sealed 50% per-class criterion stays as the record of the E17a miss and is no longer E17b's gate. §7.1 and §7.3 add the decision-7 free-page-reporting and decision-18 replacement-VM readings, and §7.5 criterion 5 gates them.
| | `pycache-io` at `D` = 768, `ANALYZE_WORK_SCALE` 1, its own corpus and baselines; a 10% feasibility gate before its calibration | gate failed (3.6%); dropped | our call, 2026-11-11 | | ||
| | Add `py_import` and `py_grep` to every `pycache` turn; rebuild both baselines | yes | user, 2026-11-11 | | ||
| | Criterion 2 per class: `py_import`, `py_grep`, `py_short` ≥ 50% faster warm; compute classes reported | yes | user, 2026-11-11 | | ||
| | Seal the predictions; cut E17a to `pycache` N = 128 (`sbx`, `lease-300`) and reuse E15's `default` ladders | yes | user, 2026-11-12 | |
There was a problem hiding this comment.
suggestion — (a) The decision table's No balloon; measure growth row (line 320) is superseded by the user's 2026-11-12 decision. (b) Record the post-miss decision here: the report leaves the plan 2–5 build decision to the user, but rossoctl/moca#763 already builds on it, so the spec should carry that decision. (c) E17b's config table (§6, line 183) omits SH_LEASE_PAGECACHE_MB (decision 18, default 256 MiB) and the balloon feature; add them and state that the latency and squeeze rungs measure page-cache headroom — the direct fix for E17a's cold replacement VMs (about 2 s against 388 ms).
There was a problem hiding this comment.
Fixed in a0f9105. §12 marks the "No balloon; measure growth" row superseded and records the post-miss build decision (plans 2–5 with the revised design; plan 2 is rossoctl/moca#763). §6 adds SH_LEASE_PAGECACHE_MB (256 MiB, decision 18) and the balloon-fpr-v1 snapshot (decision 7), updates SH_LEASE_RECLAIM_FREE_MB to the v0.2 formula, and states that the latency and squeeze rungs measure the page-cache headroom directly.
| | `bringup/artifacts` | `/srv/e15/state/artifacts`: the sha256 of each corpus, template and snapshot file | `bringup.sh`, `e15/rig/setup.sh` | | ||
| | `bringup/template-pycache-d<D>.BUILD` | each template's `BUILD`: the dataset size, rows and `dataset_sha256`, the wheel check, and the venv versions (D = 64, 256, 768) | `e17/workload/build_pycache_workspace.sh`, via `bringup.sh` | | ||
| | `corpus/pycache-report.json`, `corpus/pycache-low-report.json` | the `corpus-report.json` of each staged corpus. Its `durations_ms` must be the calibrated ones (`durations_from` not null), not the generator's placeholders, before any measured rung. `py_short` stays planned at 300 ms on purpose: below every short command's `nominal_ms`, the driver's fill would always pick the first one | `e17/rig/gen_corpora.sh` | | ||
| | `smoke/<arm>/N1-smoke/` | one smoke rung per arm at `pycache`: N=1, a 60 s warm-up, a 120 s window. In git: `record.json`, `params.json`, `worker.env`, `attach-probe.log` and `warmcold-report.json` (`e17/analysis/warmcold.py`). The raw files (`calls.jsonl.gz`, `samples.jsonl.gz`, `worker.log.gz`, `sessions.jsonl`, `driver-cpu.jsonl`, `warmcold.jsonl`) go to a release archive (`data-v2`, docs/CONVENTIONS.md), never into git | `e17/rig/smoke.sh` | |
There was a problem hiding this comment.
nit — never into git for raw run output, but small slices are committed under e17/analysis/testdata/ (42 KB and 3 KB, reasonable as fixtures). State the fixture exception so the rule stays checkable.
There was a problem hiding this comment.
Fixed in a0f9105. The smoke row now names the exception: the small slices under e17/analysis/testdata/ and e17/extract/testdata/gaps-20.jsonl stay in git so the analysis and extract tests run without a rig, under docs/CONVENTIONS.md's "do not commit files over a few MB" rule.
…sed design Address the PR #21 review. - Header: v0.6 entry and Status record that E17a is built, run and reported (it misses) and that the user approved the plans 2-5 build with the revised design (moca#718, lease spec v0.2, ADR-0048 revision; plan 2 is moca#763). - Question 3 and the non-goal no longer assume "no balloon": free-page reporting is in v1 (decision 7) and is what E17b measures. - 7.5: E17b's criterion 2 is re-scoped to level 1's revised targets: py_short >= 50%, py_import >= 30%; py_grep and compute are reported. The sealed 50% per-class criterion stays the record of the E17a miss. - 6: add SH_LEASE_PAGECACHE_MB (decision 18) and the balloon-fpr-v1 snapshot; update SH_LEASE_RECLAIM_FREE_MB to the v0.2 formula. - 7.1/7.3: measure the replacement-VM read and free-page reporting, and add them to the pass criteria (decisions 7 and 18). - 8/12: update the rows that referenced the old criterion and record the post-miss build decision. - results/README: state the small-fixture exception to the raw-data rule. Assisted-By: Claude (Anthropic AI) <[email protected]> Signed-off-by: Paolo Dettori <[email protected]>
Summary
Spec for E17, which validates lease mode, designed in rossoctl/moca#698 (SBX0.3, merged 2026-11-09; ADR-0048).
pycache, the stack import gains ~40% and the venv grep ~0% against the sealed 50% bar, at N = 1 and N = 128; criterion 1 holds (E15 metal: lease-300 128 against per-Exec80). Report:e17/results/E17A-REPORT.md.mode = lease, with measured admission, reclaim and notices. Not started.lowdutycapacity ladder is dropped. Capacity is judged at thedefaultpoint only, and the rig time goes to the cache-heavy points. The guest side of E17b is merged (feat(sbx): lease mode plan 1 — guest agent and image (level 1) moca#706).SH_LEASE_PAGECACHE_MB(decision 18); E17b's criterion 2 is re-scoped to level 1's revised targets; E17b measures FPR and the page-cache headroom.defaulttrace replay, for capacity;pycacheworkload (cache-heavy Python: dataset re-reads, heavy imports, a test suite), for the warm-vs-cold latency gain;squeezepoint, for reclaim under memory pressure.lease-300N_max≥ per-Execatdefault; at low duty E16 stands (a tie);pycacheN = 1 and N = 128, warmpy_short≥ 50% faster and warmpy_import≥ 30% faster;py_grepand compute reported;squeeze, zero memory-guard events, zero refusals while an idle lease existed, and every reclaim of the idle-longest lease;Base:
main. Review the E17 commits (e17/SPEC.md,e17/results/E17A-REPORT.md, and the analysis/rig/workload code undere17/).Assisted-By: Claude Code