docs(health-plan): publish done; fix source-mapping (two patterns); note user-level creds

This commit is contained in:
Joseph Doherty
2026-06-01 13:23:46 -04:00
parent 5a965639f9
commit 1e91784ba3
@@ -31,6 +31,15 @@ Akka.NET cluster, EF Core, `Microsoft.Data.Sqlite`, NuGet Central Package Manage
branch `feat/adopt-zb-health`. Commit inside that repo. Never commit sister-repo changes from
scadaproj. Never skip hooks; never force-push.
**Distribution status (Task 0 already done):** the three `ZB.MOM.WW.Health` 0.1.0 packages are
published to the `dohertj2-gitea` feed, and authenticated read credentials are configured at the
**user level** (`~/.nuget/NuGet/NuGet.Config`) — anonymous read is OFF, so restore needs them, and
they are already in place for every subagent. NEVER put the token in a repo file.
**Source-mapping gotcha (verified):** a `ZB.MOM.WW.Health.*` pattern does NOT match the core package
id `ZB.MOM.WW.Health` (no trailing dot). Every repo's `packageSourceMapping` for the Gitea feed MUST
list BOTH `<package pattern="ZB.MOM.WW.Health" />` and `<package pattern="ZB.MOM.WW.Health.*" />`.
**Shared registration idiom (used in every phase).** The shared checks need constructor args DI
can't supply alone, so register them with `AddTypeActivatedCheck<T>`:
@@ -154,6 +163,7 @@ Repo: `~/Desktop/MxAccessGateway`. Branch: `feat/adopt-zb-health`. This repo has
<package pattern="*" />
</packageSource>
<packageSource key="dohertj2-gitea">
<package pattern="ZB.MOM.WW.Health" />
<package pattern="ZB.MOM.WW.Health.*" />
</packageSource>
</packageSourceMapping>
@@ -435,6 +445,7 @@ ALL sources mapped explicitly, map the existing feeds too:
<package pattern="ZB.MOM.WW.MxGateway.*" />
</packageSource>
<packageSource key="dohertj2-gitea">
<package pattern="ZB.MOM.WW.Health" />
<package pattern="ZB.MOM.WW.Health.*" />
</packageSource>
</packageSourceMapping>
@@ -603,6 +614,7 @@ deferred). No `IDbContextFactory` switch (shared check self-scopes).
```xml
<packageSource key="dohertj2-gitea">
<package pattern="ZB.MOM.WW.MxGateway.*" />
<package pattern="ZB.MOM.WW.Health" />
<package pattern="ZB.MOM.WW.Health.*" />
</packageSource>
```