@htilabs/platform-common-models 0.12.4 → 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cvcs/index.cjs +599 -129
- package/dist/cvcs/index.cjs.map +1 -1
- package/dist/cvcs/index.d.cts +865 -391
- package/dist/cvcs/index.d.ts +865 -391
- package/dist/cvcs/index.js +599 -129
- package/dist/cvcs/index.js.map +1 -1
- package/dist/enums/index.cjs +17 -16
- package/dist/enums/index.cjs.map +1 -1
- package/dist/enums/index.d.cts +17 -16
- package/dist/enums/index.d.ts +17 -16
- package/dist/enums/index.js +17 -16
- package/dist/enums/index.js.map +1 -1
- package/dist/{index-C0J3f169.d.ts → index-4DiJrn7y.d.ts} +1 -1
- package/dist/{index-EPjPjR0z.d.cts → index-qreOzXYS.d.cts} +1 -1
- package/dist/index.cjs +616 -145
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +616 -145
- package/dist/index.js.map +1 -1
- package/dist/models/index.d.cts +2 -2
- package/dist/models/index.d.ts +2 -2
- package/dist/schemas/index.d.cts +25 -25
- package/dist/schemas/index.d.ts +25 -25
- package/package.json +1 -1
- package/src/__tests__/__snapshots__/cvc-sot.snap +3 -3
- package/src/__tests__/core-information-scope-invariant.test.ts +28 -0
- package/src/__tests__/cvc-sot-snapshot.test.ts +6 -3
- package/src/__tests__/cvc-structural.test.ts +1 -1
- package/src/__tests__/victim-abuse-types-canon.test.ts +301 -0
- package/src/cvcs/coreInformationScope.v1.0.0.json +3 -3
- package/src/cvcs/index.ts +1 -1
- package/src/cvcs/victimAbuseTypes.v1.1.0.json +744 -0
- package/src/generated/cvc-enums.ts +17 -16
- package/src/cvcs/victimAbuseTypes.v1.0.0.json +0 -276
- package/dist/{cvcEntry-DaDrEuTa.d.cts → cvcEntry-ctHTp2df.d.cts} +8 -8
- package/dist/{cvcEntry-DaDrEuTa.d.ts → cvcEntry-ctHTp2df.d.ts} +8 -8
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
"domain": "core_information_scope",
|
|
3
3
|
"name": "Core Information Scope",
|
|
4
4
|
"version": "1.0.0",
|
|
5
|
-
"_status": "DRAFT: canonical number 236, self-declared by the source YAML (`cvc_id: CVC-236`); CVC_INDEX.md carries no row for it yet, so the drift gate classifies it INDEX_ABSENT. Sourced from canonical CVC-236 `core_information_scope` v2 (authored 2026-08-13, restructured 2026-08-14): 12 categories / 56 units. TWO GRAINS, deliberately modelled as hierarchy: L1 categories are the POLICY grain and are NOT selectable; L2 units are the AUTHORIZATION grain and are what an ROI or a share actually authorizes. This is the axis the sibling `roi_scope` domain deliberately omits — `roi_scope` is the flat item vocabulary, and its 27 substantive keys are a strict SUBSET of the 56 units here, with no renames and no collisions. That subset relationship is what makes adopting this domain additive: every stored ROI keeps its exact recorded meaning. `safe_locations` is
|
|
6
|
-
"_source": "htilabstech/prototype/data/cvcs/core_information_scope.yaml @ 55088d44 (CVC-236 v2, restructured 2026-08-14, amended 2026-10-01; read from
|
|
5
|
+
"_status": "DRAFT: canonical number 236, self-declared by the source YAML (`cvc_id: CVC-236`); CVC_INDEX.md carries no row for it yet, so the drift gate classifies it INDEX_ABSENT. Sourced from canonical CVC-236 `core_information_scope` v2 (authored 2026-08-13, restructured 2026-08-14): 12 categories / 56 units. TWO GRAINS, deliberately modelled as hierarchy: L1 categories are the POLICY grain and are NOT selectable; L2 units are the AUTHORIZATION grain and are what an ROI or a share actually authorizes. This is the axis the sibling `roi_scope` domain deliberately omits — `roi_scope` is the flat item vocabulary, and its 27 substantive keys are a strict SUBSET of the 56 units here, with no renames and no collisions. That subset relationship is what makes adopting this domain additive: every stored ROI keeps its exact recorded meaning. `safe_locations` is CANON since CVC236-AUDIT R1 (Crysta, 2026-09-08): id and label ratified and minted in the Notion codebook; the former PROVISIONAL marker is retired. PENDING canonical Notion authoring + steward ratification.",
|
|
6
|
+
"_source": "htilabstech/prototype/data/cvcs/core_information_scope.yaml @ 55088d44 (CVC-236 v2, restructured 2026-08-14, amended 2026-10-01; read from 46a60114; structural columns cross-checked against htilabstech/prototype/Final CVCs/System Roles, Permissions, & Account Management (IC-66)/core-information_scope — codebook.csv @ 55088d44)",
|
|
7
7
|
"levels": {
|
|
8
8
|
"0": "Unknown or Missing",
|
|
9
9
|
"1": "Category (policy grain, not selectable)",
|
|
@@ -506,7 +506,7 @@
|
|
|
506
506
|
"selectable": true,
|
|
507
507
|
"parentCode": "236-003-000-000-000-000-000",
|
|
508
508
|
"childCodes": [],
|
|
509
|
-
"definition": "Safe & confidential locations. Category `contact`. NEW 2026-08-18 (CASESHARE ADR settings-deltas WI-3, Ava directive — 'the safety floor sits above any agency's configuration'): the platform safety floor's example class (shelter placements / confidential program addresses) had NO CVC-236 item. Extends the standing agency-side confidential-address practice (surveys `confidential` flag → SRL masking) to the case-sharing layer. platform_floor marks it PLATFORM-OWNED — never enableable by any agency (HTI_PLATFORM_SAFETY_FLOOR + the § 5.79 resolver's floor layer 0); the generator therefore emits it to the platform scopeCatalog with `floor: true` and EXCLUDES it from the monolith PAVE/Thread share-drawer slice (that lane's floor semantics are deferred per the settings-deltas kickoff § 5 — an ordinary default-off toggle there would misstate 'never enableable'). Registry-homed 2026-08-19 after the value was first hand-authored inside the generator-owned platform block (broke the JSON gate — content lands HERE, never in the emitted block).
|
|
509
|
+
"definition": "Safe & confidential locations. Category `contact`. NEW 2026-08-18 (CASESHARE ADR settings-deltas WI-3, Ava directive — 'the safety floor sits above any agency's configuration'): the platform safety floor's example class (shelter placements / confidential program addresses) had NO CVC-236 item. Extends the standing agency-side confidential-address practice (surveys `confidential` flag → SRL masking) to the case-sharing layer. platform_floor marks it PLATFORM-OWNED — never enableable by any agency (HTI_PLATFORM_SAFETY_FLOOR + the § 5.79 resolver's floor layer 0); the generator therefore emits it to the platform scopeCatalog with `floor: true` and EXCLUDES it from the monolith PAVE/Thread share-drawer slice (that lane's floor semantics are deferred per the settings-deltas kickoff § 5 — an ordinary default-off toggle there would misstate 'never enableable'). Registry-homed 2026-08-19 after the value was first hand-authored inside the generator-owned platform block (broke the JSON gate — content lands HERE, never in the emitted block). RATIFIED 2026-09-08 (CVC236-AUDIT R1, Crysta): id and label are CANON and the row is now minted in the Notion codebook — this WAS the pending steward batch. Superseded the 21-day PROVISIONAL marker; retires RWT-NEW-caseshare-safe-locations-steward-2026-08-19.",
|
|
510
510
|
"levelFloor": 3,
|
|
511
511
|
"appRelevance": [
|
|
512
512
|
"PAVE",
|
package/src/cvcs/index.ts
CHANGED
|
@@ -149,7 +149,7 @@ import visaTypeSot from "./visaType.v1.0.0.json" with { type: "json" };
|
|
|
149
149
|
import livingSituationSot from "./livingSituation.v1.0.0.json" with { type: "json" };
|
|
150
150
|
import serviceAudienceSot from "./serviceAudience.v1.0.0.json" with { type: "json" };
|
|
151
151
|
import hmisRelationshipToHohSot from "./hmisRelationshipToHoh.v1.0.0.json" with { type: "json" };
|
|
152
|
-
import victimAbuseTypesSot from "./victimAbuseTypes.v1.
|
|
152
|
+
import victimAbuseTypesSot from "./victimAbuseTypes.v1.1.0.json" with { type: "json" };
|
|
153
153
|
import htTypeSot from "./htType.v1.0.0.json" with { type: "json" };
|
|
154
154
|
import relationshipConcernSot from "./relationshipConcern.v1.0.0.json" with { type: "json" };
|
|
155
155
|
import recencyBandSot from "./recencyBand.v1.0.0.json" with { type: "json" };
|