Skip to content

Document Verifier contracts, tests and LMDB schema - #41

Merged
kentbull merged 1 commit into
masterfrom
docs/maintainer-contracts
Nov 1, 2026
Merged

kentbull merged 1 commit into
masterfrom
docs/maintainer-contracts

Conversation

@kentbull

@kentbull kentbull commented Nov 1, 2026 •

Copy link
Copy Markdown
Collaborator

The refactors left 76 definitions undocumented, several test modules described only by filenames, and LMDB bindings without a readable key/value map. Fill those gaps and explain record fields, ownership, detached reads, explicit atomic transitions and the limits of seeded test evidence. Include nested doubles and the executable subprocess program used for nonce durability tests.

Each locally owned subdatabase in VerifierBaser and VerifierReger now has a key/value/purpose comment, as do fixture receiver tables. Inherited KERIpy tables keep their upstream documentation. Update maintainer navigation and the documentation plan; retain existing useful documentation instead of mechanically rewriting every definition. Oracle's companion documents OracleBaser.

Validation:

  • Every tracked Python module/class/function has a docstring: 105 modules, 83 classes, 483 functions/methods; the embedded worker adds one module, one class and four methods. Document all 21 uppercase assignment occurrences and directory constants.
  • One-off external audit proves identical executable ASTs after stripping docstrings, including the separately parsed worker. No schema/vector bytes, assertions, parameter matrices, topology, storage layout or wire behavior changed.
  • Fresh wheel packaging inventory and CLI help pass; 258 cases collected outside the checkout. All 38 focused installed-wheel persistence/revocation cases pass, including real process races and death at commit boundaries.
  • Full installed-wheel CI passed: 258 tests, 507 upstream dependency warnings. No new audit/check script, enforcement gate, framework or compatibility API is added.

Fill missing module, class, function and nested-test documentation, including the executable nonce-test child program. Explain record fields, resource ownership and explicit persistence boundaries, and document every local LMDB binding by key, value and purpose.

Keep behavior unchanged: a docstring-stripped AST comparison passes for all Python and embedded worker code. Fresh-wheel checks collect 258 cases and pass 38 focused persistence and revocation cases. Add maintainer guidance and the completed documentation plan without new check scripts or CI gates.
@kentbull
kentbull merged commit 0ec4c2e into master Nov 1, 2026
1 check 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