diff --git a/.changeset/README.md b/.changeset/README.md index b9ed266..063b9e4 100644 --- a/.changeset/README.md +++ b/.changeset/README.md @@ -26,4 +26,4 @@ Pick the bump type from what the change does to the published package. On the `0 One exception is enforced rather than chosen: a change to the bytes a seed maps to needs a **major** changeset, because `pnpm run check:determinism-window` refuses it without one. -See the cosyte version ladder in the meta-repo's `documentation/conventions.md`. +See the Cosyte version ladder in the meta-repo's `documentation/conventions.md`. diff --git a/CHANGELOG.md b/CHANGELOG.md index 5c46c19..a736f90 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -164,7 +164,7 @@ to write it in the changeset. No runtime code, no public API, no warning code, no generated byte and no synthetic-safety behaviour changed. -- da7cbdb: The package description, the README, the documentation pages and the exported quirk-registry prose no longer use the em dash, matching the cosyte house voice. +- da7cbdb: The package description, the README, the documentation pages and the exported quirk-registry prose no longer use the em dash, matching the Cosyte house voice. **Nothing about generation changed.** No export was added, removed or renamed, no warning or fatal code moved, and a given seed still produces byte-identical output for every format. The rewrite is @@ -681,7 +681,7 @@ changesets that release consumed. This package is on the pre-alpha `0.0.x` ladde used to quote were quirk names, format labels, code-system URIs and money strings. What was wrong was the _shape_: every fatal took a value parameter, and the only thing keeping PHI out of a diagnostic was that callers happened to be passing harmless values. The audit of the thirteen - cosyte repos found that the single property separating the packages that leak from the ones that + Cosyte repos found that the single property separating the packages that leak from the ones that are genuinely prevented is exactly this: whether the message factory takes a value parameter at all. It now does not. diff --git a/README.md b/README.md index 16e3bdc..2556196 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ > Deterministic, seedable **synthetic healthcare-fixture generator** for Node.js and TypeScript: > spec-clean by construction, and **never real PHI**. -`@cosyte/synth` generates reproducible synthetic test corpora across the six cosyte formats (HL7 v2, +`@cosyte/synth` generates reproducible synthetic test corpora across the six Cosyte formats (HL7 v2, FHIR R4 / US Core, C-CDA, X12, NCPDP, and ASTM). It is a **consumer** of the cosyte parsers, not a parser: it builds each artifact **through the parser's own builder/serializer** (so the output is spec-clean by the same mechanism the parser proves) and draws every identifier, name, @@ -337,7 +337,7 @@ isSyntheticNpi(safe.npi(rng)); // true, always a deliberately-invalid-Luhn NPI ( - **Deterministic**, a hand-rolled seeded PRNG (`sfc32`/`splitmix32`); `Math.random` is lint-banned. A seed, and only the seed, determines the output, byte-for-byte, anywhere. - **Immutable**, generated artifacts and the `Corpus` result are deep-frozen. -- **Zero third-party runtime dependencies**, the parser peers are first-party cosyte packages, +- **Zero third-party runtime dependencies**, the parser peers are first-party Cosyte packages, vendored for dev/test; dual ESM + CJS, validated with `attw`. ## License diff --git a/docs-content/limitations.md b/docs-content/limitations.md index e36428d..c1c5772 100644 --- a/docs-content/limitations.md +++ b/docs-content/limitations.md @@ -17,7 +17,7 @@ a given release ships; this page is the shape of the whole. ## The promise (narrow, on purpose) `@cosyte/synth` emits **deterministic, seedable, spec-clean (and, in quirk mode, deliberately -off-spec) synthetic fixtures** across the six cosyte formats, and **every value it emits is drawn from +off-spec) synthetic fixtures** across the six Cosyte formats, and **every value it emits is drawn from a guaranteed-non-colliding synthetic source.** - **Spec-clean by construction.** Each artifact is built **through the parser's own