Harden receipt retention, lifecycle composition, and CI gates - #48
Open
brainx wants to merge 5 commits into
Open
Harden receipt retention, lifecycle composition, and CI gates#48brainx wants to merge 5 commits into
brainx wants to merge 5 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Receipt admission previously stopped after 10,000 retained records. Add read-only capacity reporting and explicit, bounded archival of terminal receipts while preserving complete request-key replay history. The additive schema-10 migration keeps existing receipt identities and uniqueness rules.
ci-required, and include that aggregate in release verification.Test Evidence
Validated source:
70c8178.ci-required, real Hermes, Docker isolation, and macOS lifecycle.make check: both unittest runs executed 1,596 tests with 3 skips; source/branch coverage 84.10% versus 83.91% on the unchanged baseline. Repository contracts, formatting, lint, mypy, Bandit, and ShellCheck passed.sh scripts/wheel_smoke.sh: passed on the committed source, including installed fake-Hermes start/status/stop, capacity, and archive preview with real Hermes/Docker commands blocked.twine check dist/*andgit diff --check main...HEAD: passed.The bulk drill disables durability only inside its test fixture for speed; production FULL transactions are tested separately. It is not power-loss or physically exhausted-disk evidence.
Risk
0.6.1.dev0/ schema-10 pairing before a coordinated deployment. Its compatibility proposal is separate and is not included or applied here; the development version string alone is insufficient.renameat2, and the pinned Hermes audit-broker integration. One earlier lifecycle startup test returned no PID, then passed in isolation and both final full runs. Failure diagnostics were added without weakening assertions; the intermittent cause remains unestablished.