Repository navigation
Description
Step 9 of the MF White List provider (#212, ADR-0023). Makes both packages publishable for 1.1.0 (/new-provider, last part).
Scope
IsPackable=trueon both packages; the icon (assets/branding,BRANDING.md, the PNG inversion.jsonpathFiltersand thenuget-pre-release.ymlpathsfilter,RELEASE-PROCESS.md).check_nuget.pyand the package count in/prepare-release.README.mdandREADME.pl.mdfor both packages: quota, the legal meaning ofrequestId, the host change, telemetry (the telemetry reference lists the metricopenurzednik.client.operation.durationwith its unit and tags, as the NBP README's Metrics section does, and a test compares the names, units and tags a client records with that reference, ADR-0025 Confirmation; a test that a client givenMeterMetrics.GetShared(WhiteListTelemetry.SourceName)records on every target, net472 included), and the note that traces still carry the path (ADR-0019)./stop-slopon the English and/miodkujon the Polish.- Root READMEs, the Core README where it lists providers, the
CLAUDE.mdproject table, the issue-form dropdowns,SUPPORT.md, and aprovider:mflabel (created, and listed indocs/GITHUB-SETUP.md). - Every White List shard at 100%.
Done when
dotnet pack OpenUrzednik.Packages.slnf -c Releasepacks both packages with their READMEs and icon, and every place/new-providerlists is done.
Context for the implementing agent
Where this fits. Milestone 1.1.0 ships the MF White List provider (OpenUrzednik.MF.WhiteList and OpenUrzednik.MF.WhiteList.DependencyInjection), the first new provider after NBP. Its provider ADR comes from #212; the implementation is split into one issue per PR, in this order: #257 (shared dates) → #258 (skeleton) → #259 (search by one identifier) → #260 (batch search) and #261 (check) → #262 (WL2 status) → #263 (DI package) → #264 (ship it). Each step waits for the one before it (blockedBy), except where an issue says otherwise.
Read first. CLAUDE.md (the binding summary of the rules), ADR-0023 (the MF White List provider, from #212), and the ADRs this issue names. ADRs follow ADR-0022: an accepted ADR that no release has shipped is corrected in place through /adr (with a dated line); a released one is superseded. Never work around an ADR. The reference implementation is OpenUrzednik.Nbp / OpenUrzednik.Nbp.DependencyInjection: copy its structure, conventions and tests (ADR-0016).
Workflow (CLAUDE.md, "Workflow" and "Issues and the project"):
- Start only when this issue's Status is
Readyandgh issue view <n> --json blockedBylists no open blocker; then set StatusIn progress(the only project field an agent changes). - Branch from
origin/develop(feature/…,fix/…,docs/…,chore/…); stage explicit paths only; stage and commit as two separate commands (a hook scans the staged changes); never--no-verify. - One issue per PR into
develop; the PR body starts withCloses #<n>; give it a release label from.github/release.yml(the label on this issue is the forecast). - Before the PR: run the
revieweragent on the diff. After it: check the PR's CodeQL alerts (gh api "repos/milten89/OpenUrzednik.NET/code-scanning/alerts?ref=refs/pull/<pr>/merge&state=open").
Checks to run and report: dotnet build OpenUrzednik.slnx; tests per project (dotnet test tests/<Project> -f net10.0, and -f net472 on Windows); dotnet format OpenUrzednik.slnx --verify-no-changes (after a clean build); the mutation shard of the code you changed (uv run tests/Mutation/run.py <shard>, ADR-0020). If public API, a target or packaging changes: dotnet pack OpenUrzednik.Packages.slnf -c Release (package validation). From the skeleton on: dotnet publish tests/OpenUrzednik.AotSmoke -f net10.0, then run the binary (ADR-0014).
API facts (spec v1.6.2 of 05.11.2026 and its error-code table, live probes on 2026-11-08; details in the provider ADR):
- GET only, no auth. Production
https://wykazpodatnikowvat.mf.gov.pl/api/and/api2/; testhttps://wykazpodatnikowvat-test.mf.gov.pl/…. The oldwl-api.mf.gov.plworks only until 2026-12-01. date(yyyy-MM-dd) is required on/api; not in the future, not before 1 January five years back (2021-01-01 on 2026-11-08; earlier →WL-118).- Answers carry
requestId(proof of the check for the tax authorities) andrequestDateTime(dd-MM-yyyy HH:mm:ss, Warsaw time). - Errors:
{"message", "code": "WL-1xx"}; WL-191 is the daily per-IP limit (429), WL-195/196 ask to repeat the query (400). Quotas (search 100 a day of up to 30 subjects, check 5,000 entities, WL2 50,000 a day) weren't enforced on 2026-11-08 (the test host answered 130 single searches; production 160 single searches and 120 batches of 30 from one IP, all 200). - Requests carry NIP, REGON and account numbers in the path (display paths, ADR-0019/0017); responses carry personal data of sole traders. Fixtures come from the test host's official test data or legal-person records, with any remaining personal field replaced by a fake value of the same format.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
milten89 commentedon Nov 21, 2026
Scope addition (from the review of #263, approved by the maintainer):
The White List DI package's
README.mdshows how an app plugsWhiteListRetry.ShouldRetryAsyncintoAddStandardResilienceHandler()throughoptions.Retry.ShouldHandle, falling back toHttpClientResiliencePredicates.IsTransientfor exceptions and timeouts. ADR-0023 "Resilience" requires this snippet.<example>insrc/OpenUrzednik.MF.WhiteList/WhiteListRetry.cs.WhiteListRetryResilienceTestintests/OpenUrzednik.MF.WhiteList.DependencyInjection.Testscompiles and runs it against the real handler, so keep the README code identical to it.WL-195/WL-196;WL-197.DelegatingHandler, as the NBP DI README shows.