@htilabs/platform-common-models 0.8.4 → 0.8.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@htilabs/platform-common-models",
3
- "version": "0.8.4",
3
+ "version": "0.8.5",
4
4
  "description": "Shared constants, types, and models for HTI Labs applications",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -351,8 +351,8 @@
351
351
  "hash": "5d32f251b24af795609cf5a354de58f2a67fa0884e94c864a3b2425052542d3b"
352
352
  },
353
353
  "identification_status": {
354
- "count": 7,
355
- "hash": "a247e3de63a950557afe4a072ff56bae82a92e51a0f92bd2d37f7187bb91218c"
354
+ "count": 9,
355
+ "hash": "123525b1e4f981f8fe18cdfb1e34abc93c280c3295296db1512e7ee1f8c341ea"
356
356
  },
357
357
  "investigative_request_type": {
358
358
  "count": 8,
@@ -517,7 +517,7 @@ const SOT_SPECS: readonly SotSpec[] = [
517
517
  { file: "hopeScaleCaptureContext.v1.0.0.json", domain: "hope_scale_capture_context", expectedCount: 11 },
518
518
  { file: "hopeScaleResponseOptions.v1.0.0.json", domain: "hope_scale_response_options", expectedCount: 12 },
519
519
  { file: "hopeScaleTier.v1.0.0.json", domain: "hope_scale_tier", expectedCount: 8 },
520
- { file: "identificationStatus.v1.0.0.json", domain: "identification_status", expectedCount: 7 },
520
+ { file: "identificationStatus.v1.0.0.json", domain: "identification_status", expectedCount: 9 },
521
521
  { file: "investigativeRequestType.v1.0.0.json", domain: "investigative_request_type", expectedCount: 8 },
522
522
  { file: "languages.v1.0.0.json", domain: "languages", expectedCount: 212 },
523
523
  { file: "leReportStatus.v1.0.0.json", domain: "le_report_status", expectedCount: 8 },
@@ -75,6 +75,24 @@
75
75
  "parentCode": null,
76
76
  "childCodes": [],
77
77
  "definition": "Advocate's deliberate choice to keep the person's name off the subject's record even when known (privacy / safety / legal-strategy reasons), or when documenting the name would risk the survivor or third party. Pairs with Name kind 'Anonymous'. This is a capture-intent posture, distinct from the missingness 'anonymous' sentinel."
78
+ },
79
+ {
80
+ "code": "929-004-000-000-000-000-000",
81
+ "key": "estimated_persona",
82
+ "title": "Estimated persona",
83
+ "selectable": true,
84
+ "parentCode": null,
85
+ "childCodes": [],
86
+ "definition": "A persona that exists in data/systems (resolved _id with linked source records) but has NOT been confirmed to represent a real person. Typically inferred (entity resolution / algorithm-clustered ads); maps 1:1 to the LEADS IDB 'not verified' icon. An estimated_persona record must never render as an identified person. Added 2026-06-12 per ruling M3 (Terry) so the platform-milestone IDENTIFICATION value maps exactly; RENAMED that day from the prototype's working code SYSTEM_ENTITY to avoid collision with facilitator_entity_type. Previously approximated as unidentified."
87
+ },
88
+ {
89
+ "code": "929-005-000-000-000-000-000",
90
+ "key": "confirmed",
91
+ "title": "Confirmed (identity unknown)",
92
+ "selectable": true,
93
+ "parentCode": null,
94
+ "childCodes": [],
95
+ "definition": "Confirmed to be a real person, but the specific identity is unknown — the 'real person, identity unknown' degree that sat between unidentified and identified with no code before 2026-06-12 (ruling M3). Distinct from unidentified (capture intent: known-of via relationship, no name) in that confirmation is an explicit analyst/advocate determination that the entity is real."
78
96
  }
79
97
  ]
80
98
  }
@@ -2778,7 +2778,7 @@ export type HopeScaleTierKey = keyof typeof HopeScaleTierKeys;
2778
2778
  /**
2779
2779
  * Key → positional code map for the `identification_status` CVC domain.
2780
2780
  *
2781
- * Domain: `identification_status` · Version: 1.0.0 · Entries: 7
2781
+ * Domain: `identification_status` · Version: 1.0.0 · Entries: 9
2782
2782
  */
2783
2783
  export const IdentificationStatusKeys = {
2784
2784
  missingness_root: "929-000-000-000-000-000-000",
@@ -2788,6 +2788,8 @@ export const IdentificationStatusKeys = {
2788
2788
  identified: "929-001-000-000-000-000-000",
2789
2789
  unidentified: "929-002-000-000-000-000-000",
2790
2790
  anonymous_posture: "929-003-000-000-000-000-000",
2791
+ estimated_persona: "929-004-000-000-000-000-000",
2792
+ confirmed: "929-005-000-000-000-000-000",
2791
2793
  } as const;
2792
2794
 
2793
2795
  export type IdentificationStatusKey = keyof typeof IdentificationStatusKeys;