Skip to content

chore(contracts): CHAOS-5777 Pin the cardinality claim's anchor-bound subject shape - #79

Merged
chrisgeo merged 1 commit into
mainfrom
fix/5777-cardinality-claim-subject-consumer-pin
Sep 16, 2026
Merged

chrisgeo merged 1 commit into
mainfrom
fix/5777-cardinality-claim-subject-consumer-pin

Conversation

@chrisgeo

Copy link
Copy Markdown
Contributor

Summary

  • The dev-health-acr cardinality claim's subject is now the counted population, not always the organization: an anchor-bound count names the anchor itself (kind + canonical id); every other count still names the organization.
  • No schema/wire change on either side -- ClaimedFact.subject is already the general SubjectRef shape with no restriction tied to kind == "cardinality".
  • This is a test-only sync: corrects the consumer pin's stale doc comment and adds a fixture that exercises the anchor-subject shape alongside the existing organization-subject one, in src/lib/acr/validate.test.ts.

Test plan

  • pnpm install (real install)
  • pnpm prettier --check (the touched file)
  • pnpm lint (the touched file)
  • pnpm exec vitest run src/lib/acr/validate.test.ts -- 112/112 passed
  • pnpm build (next build) -- succeeded

… subject shape

The cardinality claim's subject is the counted population, not always the
organization: an anchor-bound count names the anchor itself. Corrects the
consumer pin's doc comment and adds a fixture exercising the anchor shape
alongside the existing organization-subject one.
@linear-code

linear-code Bot commented Sep 16, 2026

Copy link
Copy Markdown

CHAOS-5777

@chrisgeo
chrisgeo merged commit 15be2ea into main Sep 16, 2026
13 checks passed
@chrisgeo
chrisgeo deleted the fix/5777-cardinality-claim-subject-consumer-pin branch September 16, 2026 03:15
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