Repository navigation
Conversation
…ts and lookup Proposed record for the flat-file packages (#319): the base package with the disk stores, frozen hot-store, archive-store and archive-format contracts, a 64-byte hash struct, central day and file limits with size limits in the stores, a memory-mapped binary day file, the ministry's .7z as the default cold-cache format, and the refresher with a thin hosting package. Merged after release/1.1 is cut, so it ships in 1.2.0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
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.
Closes #319
Draft: merge only after
release/1.1is cut, so the record ships with the flat-file code in 1.2.0 and can be corrected in place untilrelease/1.2is cut (ADR-0022). The merging PR setsstatus: acceptedin the record and the index.What it decides
OpenUrzednik.MF.WhiteList.FlatFile(download, checksum, decode, hash chain, checks, refresher, the contracts, the disk stores, both built-in archive formats; SharpCompress per ADR-0024),.DependencyInjection(withPolly.Coreand the rejection handler),.Hosting(Microsoft.Extensions.Hosting.Abstractions8.0.0, approved 2026-11-22), and store packages with their own ADRs. The baseOpenUrzednik.MF.WhiteListAPI doesn't change.IWhiteListFlatFileStore(hot),IWhiteListFlatFileArchiveStore(cold) andIWhiteListFlatFileArchiveFormat(encode before saving, decode on restore; the ministry's.7zby default, the library's binary day file built in). Stores see only 64-byteWhiteListFlatFileHashvalues, never identifiers. Failures are results (ADR-0002).HotCacheMaxDays = 2andColdCacheMaxFiles = 30; size limits are store options (MaxTotalByteson the disk archive store). Disk-store defaults under local application data, not temp.VatStatus?,VirtualAccountandFileDate, no hash. Evidence is the kept ministry archive.IHttpClientBuilder.Follow-ups
Checks
revieweragent: no blocking findings; its 9 should-fix and 7 nit findings are applied (package dependencies, the DI package's rejection handler and download timeout, the binary day file as the working format,OpenBinaryAsync, ADR-0021 error subclasses,Retry-Afterfirst, persistent default directories, provider-named DI extensions, the legal-basis checklist item).🤖 Generated with Claude Code