Skip to content

Require qualified persistence before external delivery - #14

Merged
zhenkun26 merged 1 commit into
mainfrom
capability/persistence-contract-20261031
Oct 31, 2026
Merged

zhenkun26 merged 1 commit into
mainfrom
capability/persistence-contract-20261031

Conversation

@zhenkun26

@zhenkun26 zhenkun26 commented Oct 31, 2026 •

Copy link
Copy Markdown
Owner

A successful local save or reload does not establish that pending intent will survive a storage failure. Fresh host-provider deploy/rollback now requires a policy-selected, host-installed operational persistence checkpoint before apply.

The checkpoint binds the exact saved bytes, policy, root, operation/request, adapter configuration and a fresh challenge. Missing capability stops before charging; uncertainty fences the session. Eligibility and exact human authority are checked again after the checkpoint. Historical pending queries and terminal receipts remain usable without new capability, authority, artifact files or budget, with no replay or recharge.

The compatible persisted accounting label now explicitly describes save/reload visibility. No production persistence adapter is bundled, and synthetic tests do not establish power-loss durability. Windows managed cleanup remains unsupported. README and support wording are aligned; workflow permissions, matrix and timeouts are unchanged.

Validation:

  • Old baseline: one missing-capability regression failed with an assertion; the existing positive control passed, with no test errors.
  • Local macOS/Python 3.9.6: all 62 maintenance commands passed (936 unittest executions; 50 platform-specific skips).
  • 18 new tests passed in ordinary and optimized Python modes.
  • All 201 applicable guard-removal mutations, including 17 new cases, were detected with passing unmodified controls; errors are not counted as detections.
  • Independent architecture, security and compatibility reviews completed; discovered eligibility and fixture-access issues were fixed.
  • Distribution checks: 93 files, 170 local links, exact checksums; bounded privacy checks passed.

Exact-head CI completed successfully: run 41176699316, head 55d3a951fb06da85514c9b05b1ced9b8fbae16cc, tested merge candidate b15d11fa981d11aaf919cd7d5a42e3bb3a8c8d94.

  • All three jobs passed 62 maintenance commands, including ordinary/optimized execution of the new persistence tests.
  • Ubuntu/Python 3.13 detected all 201 applicable mutations; Windows/Python 3.13 detected all 177, with passing unmodified controls. The Ubuntu/Python 3.9 job does not select the mutation stage.
  • Windows completed both isolated API experiments with 44 observations each; qualification and power-loss durability remain unknown, and product cleanup remains disabled.
  • Windows job duration: 44m23s within the unchanged 50-minute ceiling (5m37s remaining). Ubuntu 3.13/3.9: 12m31s/9m7s.
  • Exact candidate identity, commit metadata and bounded log privacy checks passed. This is not exhaustive secret detection.

This remains a draft for separate merge approval. No merge, deployment or production storage qualification is included.

@zhenkun26
zhenkun26 marked this pull request as ready for review October 31, 2026 07:19
@zhenkun26
zhenkun26 merged commit 25b5cfe into main Oct 31, 2026
3 checks passed
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