Skip to content

Make Safe archive warming active, bounded and observable - #7

Merged
1 commit merged into
mainfrom
agent/demand-cache-2.2.0
Sep 29, 2026
Merged

1 commit merged into
mainfrom
agent/demand-cache-2.2.0

Conversation

@SenjuWoo

Copy link
Copy Markdown
Owner

The old Safe profile could complete a session with no caching work when archive opens were already buffered. Version 2.2.0 enables paced buffered reads of archives successfully opened by Skyrim, so patched=0 can now accompany positive warm_read_bytes.

Safe keeps executable-only interception and read-only eligibility. Warming has session/per-file/rate/deadline limits, drive-based reductions, memory guards and save-load pauses. Minimal disables warming for comparison. Experimental retains its opt-in wider hook and sampling. Counters distinguish completed reads from mapped requests and discarded diagnostic reads; existing INI opt-outs remain respected.

Validation: Release x64 builds; all 13 local checks pass against the actual DLL and production policy. The unchanged parent completed zero background reads in the same host. Source/archive gates verify version metadata, every ZIP member and all three FOMOD selections. Forge native/FOMOD and Skyrim archive audits pass; the only FOMOD document exemption is the preserved uninstalled package notice. CI repeats the host checks before packaging. Detailed evidence: docs/VALIDATION-2.2.0.md.

This is a draft candidate. In-game performance, full runtime compatibility and actual mod-manager installation remain unmeasured. No public release or game deployment is part of this PR.

@SenjuWoo SenjuWoo closed this pull request by merging all changes into main in fe2969e Sep 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant