@htilabs/platform-common-models 0.13.1 → 0.15.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/constants/index.cjs +33 -0
- package/dist/constants/index.cjs.map +1 -1
- package/dist/constants/index.d.cts +1 -1
- package/dist/constants/index.d.ts +1 -1
- package/dist/constants/index.js +29 -0
- package/dist/constants/index.js.map +1 -1
- package/dist/{cvcEntry-0BIB9sen.d.cts → cvcEntry-DaDrEuTa.d.cts} +44 -44
- package/dist/{cvcEntry-0BIB9sen.d.ts → cvcEntry-DaDrEuTa.d.ts} +44 -44
- package/dist/cvcs/index.cjs +212 -38
- package/dist/cvcs/index.cjs.map +1 -1
- package/dist/cvcs/index.d.cts +224 -41
- package/dist/cvcs/index.d.ts +224 -41
- package/dist/cvcs/index.js +212 -38
- package/dist/cvcs/index.js.map +1 -1
- package/dist/enums/index.cjs +8 -1
- package/dist/enums/index.cjs.map +1 -1
- package/dist/enums/index.d.cts +11 -4
- package/dist/enums/index.d.ts +11 -4
- package/dist/enums/index.js +8 -1
- package/dist/enums/index.js.map +1 -1
- package/dist/{index-CDoqrfc1.d.ts → index-C0J3f169.d.ts} +1 -1
- package/dist/{index-Zu_mOJRn.d.cts → index-EPjPjR0z.d.cts} +1 -1
- package/dist/index.cjs +253 -39
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +249 -39
- 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/{platform-auth-64U8jjuw.d.cts → platform-auth-CrF5U_JH.d.cts} +43 -2
- package/dist/{platform-auth-64U8jjuw.d.ts → platform-auth-CrF5U_JH.d.ts} +43 -2
- package/dist/schemas/index.cjs +234 -0
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +35 -35
- package/dist/schemas/index.d.ts +35 -35
- package/dist/schemas/index.js +234 -0
- package/dist/schemas/index.js.map +1 -1
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/package.json +27 -26
- package/src/__sot__/coreIndicatorFields.ts +4 -4
- package/src/__sot__/coreIndicators.pin.json +62 -2
- package/src/__sot__/scoringEmits.pin.json +9 -4
- package/src/__tests__/__snapshots__/cvc-sot.snap +4 -4
- package/src/__tests__/core-information-scope-invariant.test.ts +204 -15
- package/src/__tests__/cvc-136-scoring-invariant.test.ts +89 -28
- package/src/__tests__/cvc-drift-gate.test.ts +149 -27
- package/src/__tests__/cvc-sot-snapshot.test.ts +14 -8
- package/src/__tests__/cvc-structural.test.ts +2 -2
- package/src/__tests__/location-type-routing-invariant.test.ts +1 -1
- package/src/constants/ic.ts +163 -3
- package/src/cvcs/{coreIndicators.v1.0.0.json → coreIndicators.v1.1.0.json} +93 -10
- package/src/cvcs/{coreInformationScope.v1.0.0.json → coreInformationScope.v1.1.0.json} +113 -22
- package/src/cvcs/index.ts +2 -2
- package/src/generated/cvc-enums.ts +11 -4
package/dist/cvcs/index.js
CHANGED
|
@@ -27275,17 +27275,101 @@ var needsAssessmentChangeType_v1_0_0_default = {
|
|
|
27275
27275
|
]
|
|
27276
27276
|
};
|
|
27277
27277
|
|
|
27278
|
-
// src/cvcs/coreInformationScope.v1.
|
|
27279
|
-
var
|
|
27278
|
+
// src/cvcs/coreInformationScope.v1.1.0.json
|
|
27279
|
+
var coreInformationScope_v1_1_0_default = {
|
|
27280
27280
|
domain: "core_information_scope",
|
|
27281
27281
|
name: "Core Information Scope",
|
|
27282
|
-
version: "1.
|
|
27283
|
-
_status:
|
|
27284
|
-
_source: "htilabstech/prototype/data/cvcs/core_information_scope.yaml @
|
|
27282
|
+
version: "1.1.0",
|
|
27283
|
+
_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 / 55 live units + 2 retired tombstones. 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 \u2014 `roi_scope` is the flat item vocabulary, and every one of its 27 substantive keys resolves here, spelled identically, with no renames and no collisions. That is what makes adopting this domain a migration rather than a re-consent: a stored ROI never WIDENS. RETIRED TOMBSTONES: `screen_notes` (236-005-001, retired 2026-10-05, Narrative notes, signed Spec v2 rule 5); `background` (236-005-003, retired 2026-10-05, Narrative notes, signed Spec v2 rule 5). Each keeps its published code (never reused), is `selectable: false` + `retired: true`, and includes nothing: a stored ROI or share that names one resolves to "retired", not "unknown". Unit codes follow the generator\'s frozen ledger, not canon\'s display order: a new unit APPENDS inside its category. VERSION 1.1.0 supersedes 1.0.0 because the change is not additive (see `_supersedes`); neither version was seeded in platform-prod or platform-dev when it was minted (checked 2026-10-06), so the bump is the convention (ADR-CVC-0.8.13 Addendum 2026-10-05), not a guard-driven fix. `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. The Notion codebook is AHEAD of the yaml mirror on `instruments` (31 rows, acknowledged via --allow-codebook-ahead and not exported here), pending its own absorb lane. PENDING canonical Notion authoring + steward ratification.',
|
|
27284
|
+
_source: "htilabstech/prototype/data/cvcs/core_information_scope.yaml @ 9ef79748 (CVC-236 v2, restructured 2026-08-14, amended 2026-10-01; read from origin/main; structural columns cross-checked against htilabstech/prototype/Final CVCs/System Roles, Permissions, & Account Management (IC-66)/core-information_scope \u2014 codebook.csv @ 9ef79748; 2 retired codebook rows matched to the yaml's retired_units; 31 codebook-ahead rows under instruments acknowledged, not exported)",
|
|
27285
|
+
_supersedes: {
|
|
27286
|
+
version: "1.0.0",
|
|
27287
|
+
keyMap: {
|
|
27288
|
+
missingness_root: "missingness_root",
|
|
27289
|
+
unknown: "unknown",
|
|
27290
|
+
anonymous: "anonymous",
|
|
27291
|
+
data_not_collected: "data_not_collected",
|
|
27292
|
+
identifying: "identifying",
|
|
27293
|
+
names: "names",
|
|
27294
|
+
dob: "dob",
|
|
27295
|
+
addresses: "addresses",
|
|
27296
|
+
additional_ids: "additional_ids",
|
|
27297
|
+
demographics: "demographics",
|
|
27298
|
+
risk: "risk",
|
|
27299
|
+
screen_indicators: "screen_indicators",
|
|
27300
|
+
victimization: "victimization",
|
|
27301
|
+
ida_full: "ida_full",
|
|
27302
|
+
ida_consid: "ida_consid",
|
|
27303
|
+
initial_screen: "initial_screen",
|
|
27304
|
+
tra: "tra",
|
|
27305
|
+
lap: "lap",
|
|
27306
|
+
danger_assessment: "danger_assessment",
|
|
27307
|
+
injury_and_strangulation: "injury_and_strangulation",
|
|
27308
|
+
stalking_assessment: "stalking_assessment",
|
|
27309
|
+
ae_intake: "ae_intake",
|
|
27310
|
+
hope_scale: "hope_scale",
|
|
27311
|
+
assessment_records: "assessment_records",
|
|
27312
|
+
determinations: "determinations",
|
|
27313
|
+
offender_facilitator: "offender_facilitator",
|
|
27314
|
+
system_involvement: "system_involvement",
|
|
27315
|
+
derived_risk_signals: "derived_risk_signals",
|
|
27316
|
+
contact: "contact",
|
|
27317
|
+
contact_info: "contact_info",
|
|
27318
|
+
safe_locations: "safe_locations",
|
|
27319
|
+
priorities_safety: "priorities_safety",
|
|
27320
|
+
encounter_location: "encounter_location",
|
|
27321
|
+
services: "services",
|
|
27322
|
+
contact_history: "contact_history",
|
|
27323
|
+
service_history: "service_history",
|
|
27324
|
+
plans_goals: "plans_goals",
|
|
27325
|
+
notes: "notes",
|
|
27326
|
+
screen_notes: "screen_notes",
|
|
27327
|
+
case_notes: "case_notes",
|
|
27328
|
+
background: "background",
|
|
27329
|
+
health_accommodation: "health_accommodation",
|
|
27330
|
+
accommodation_needs: "accommodation_needs",
|
|
27331
|
+
disability_subtypes: "disability_subtypes",
|
|
27332
|
+
mental_health_status: "mental_health_status",
|
|
27333
|
+
substance_use_status: "substance_use_status",
|
|
27334
|
+
chronic_health_status: "chronic_health_status",
|
|
27335
|
+
hiv_status: "hiv_status",
|
|
27336
|
+
mental_health_screen: "mental_health_screen",
|
|
27337
|
+
trauma_and_coping_screen: "trauma_and_coping_screen",
|
|
27338
|
+
behavioral_health_intake: "behavioral_health_intake",
|
|
27339
|
+
immigration_legal_status: "immigration_legal_status",
|
|
27340
|
+
immigration_status: "immigration_status",
|
|
27341
|
+
uscis_alien_number: "uscis_alien_number",
|
|
27342
|
+
federal_protection_applications: "federal_protection_applications",
|
|
27343
|
+
tvap_enrollment: "tvap_enrollment",
|
|
27344
|
+
le_report_status: "le_report_status",
|
|
27345
|
+
system: "system",
|
|
27346
|
+
system_info: "system_info",
|
|
27347
|
+
network_associations: "network_associations",
|
|
27348
|
+
network_membership: "network_membership",
|
|
27349
|
+
persona_links: "persona_links",
|
|
27350
|
+
commercial_activity: "commercial_activity",
|
|
27351
|
+
ad_content: "ad_content",
|
|
27352
|
+
commercial_patterns: "commercial_patterns",
|
|
27353
|
+
investigative_work_product: "investigative_work_product",
|
|
27354
|
+
case_determinations: "case_determinations",
|
|
27355
|
+
case_lifecycle: "case_lifecycle",
|
|
27356
|
+
case_attachments: "case_attachments",
|
|
27357
|
+
object_identifiers: "object_identifiers",
|
|
27358
|
+
phone_identifiers: "phone_identifiers",
|
|
27359
|
+
object_identity_attributes: "object_identity_attributes"
|
|
27360
|
+
},
|
|
27361
|
+
retiredCodes: [],
|
|
27362
|
+
notes: {
|
|
27363
|
+
summary: "Every v1.0.0 key is still an entry in v1.1.0, at its v1.0.0 code, so `keyMap` is the identity and `retiredCodes` is empty: no code was withdrawn. Non-additive because 2 published unit(s) are now RETIRED tombstones and 1 unit(s) read narrower (notes below). Added: `session_summary` (236-005-004).",
|
|
27364
|
+
screen_notes: "v1.0.0 `screen_notes` was a selectable unit. Retired 2026-10-05 (Narrative notes, signed Spec v2 rule 5): The Initial Screen's notes box is an instrument note and belongs to the Initial Screen. It stays at 236-005-001 as a tombstone (`selectable: false`, `retired: true`) with NO successor key, and includes nothing \u2014 a stored ROI or share that names it narrows, never widens. Canon records that only demo data named it (Crysta 2026-10-04); the demo presets were rewritten by hand.",
|
|
27365
|
+
background: "v1.0.0 `background` was a selectable unit. Retired 2026-10-05 (Narrative notes, signed Spec v2 rule 5): Nothing ever captured it. It stays at 236-005-003 as a tombstone (`selectable: false`, `retired: true`) with NO successor key, and includes nothing \u2014 a stored ROI or share that names it narrows, never widens. Canon records that only demo data named it (Crysta 2026-10-04); the demo presets were rewritten by hand.",
|
|
27366
|
+
case_notes: "v1.0.0 `case_notes` ('Detailed case notes') keeps 236-005-002 but reads NARROWER under its new label 'Session & case notes' (renamed + narrowed 2026-10-02, Crysta; signed 2026-10-05, Narrative notes Spec v2 rule 5): every note whose home is a session of the case or the case itself, OTHER THAN the session summary, with its files. The session summary (the typed summary and each note marked 'Include in session summary') now rides the new `session_summary` unit (236-005-004), and a note written inside an instrument, in the Determination notes box, or in a notes box on another record belongs to that record. A stored ROI or share that authorized `case_notes` therefore no longer includes the session summary; whether it should also gain `session_summary` is a consent question for the consumer, not a mapping."
|
|
27367
|
+
}
|
|
27368
|
+
},
|
|
27285
27369
|
levels: {
|
|
27286
27370
|
"0": "Unknown or Missing",
|
|
27287
27371
|
"1": "Category (policy grain, not selectable)",
|
|
27288
|
-
"2": "Information unit (authorization grain
|
|
27372
|
+
"2": "Information unit (authorization grain; selectable unless retired)"
|
|
27289
27373
|
},
|
|
27290
27374
|
entries: [
|
|
27291
27375
|
{
|
|
@@ -27701,10 +27785,11 @@ var coreInformationScope_v1_0_0_default = {
|
|
|
27701
27785
|
selectable: true,
|
|
27702
27786
|
parentCode: "236-002-000-000-000-000-000",
|
|
27703
27787
|
childCodes: [],
|
|
27704
|
-
definition: "Offender + facilitator records. Category `risk`. Carries TRA perpetrator records (ruled 2026-08-14): content wins \u2014 third-party identity never rides a subject-instrument disclosure silently.",
|
|
27788
|
+
definition: "Offender + facilitator records. Category `risk`. Carries TRA perpetrator records (ruled 2026-08-14): content wins \u2014 third-party identity never rides a subject-instrument disclosure silently. | THREAD ADDED 2026-10-01 (OFFENDER-SYSTEM-UNITS-THREAD, Crysta R1 \u2014 Nate Luginbill's Question set 2 item 4): app_relevance follows where the unit's content is captured, and Thread captures perpetrator records (identity \xB7 description \xB7 vehicle \xB7 violence history in PAVE 2.0's Thread; in the prototype a relevant person with the offender role-in-case + the Priorities Q1 source of the danger). The 2026-08-14 rule was never Thread-exempt \u2014 Thread had no box, so perpetrator identity rode under the victim's `names`; with the box it rides HERE and comes out of names (R2). The offender PROFILE never rides under system_involvement because a protection order names them (R3).",
|
|
27705
27789
|
levelFloor: 3,
|
|
27706
27790
|
appRelevance: [
|
|
27707
27791
|
"PAVE",
|
|
27792
|
+
"Thread",
|
|
27708
27793
|
"LEADS"
|
|
27709
27794
|
],
|
|
27710
27795
|
shareableDefault: true,
|
|
@@ -27717,10 +27802,11 @@ var coreInformationScope_v1_0_0_default = {
|
|
|
27717
27802
|
selectable: true,
|
|
27718
27803
|
parentCode: "236-002-000-000-000-000-000",
|
|
27719
27804
|
childCodes: [],
|
|
27720
|
-
definition: "System involvement. Category `risk`.",
|
|
27805
|
+
definition: "System involvement. Category `risk`. THREAD ADDED 2026-10-01 (OFFENDER-SYSTEM-UNITS-THREAD, Crysta R1): Thread captures protection orders and system-involvement answers in PAVE 2.0; the [PAVE] flag was the record as of 2026-08-14. R3 (protection orders \u2014 canon holds, no split): a protection order is ONE record under this unit, whole \u2014 the survivor's legal protection (petitioner \xB7 court \xB7 status \xB7 expiry \xB7 violations) with the respondent's name as it appears on the order, a court document; an offender profile may REFERENCE the order (the ADR's 'offender-bundle extension' is a presentation), but the order is delivered only when this unit is granted \u2014 a reference carries no content, the referenced record rides its own unit (the 2026-10-01 safety-plan reference rule).",
|
|
27721
27806
|
levelFloor: 3,
|
|
27722
27807
|
appRelevance: [
|
|
27723
|
-
"PAVE"
|
|
27808
|
+
"PAVE",
|
|
27809
|
+
"Thread"
|
|
27724
27810
|
],
|
|
27725
27811
|
shareableDefault: true,
|
|
27726
27812
|
specialDataType: "survivor_confidential"
|
|
@@ -27853,7 +27939,7 @@ var coreInformationScope_v1_0_0_default = {
|
|
|
27853
27939
|
selectable: true,
|
|
27854
27940
|
parentCode: "236-004-000-000-000-000-000",
|
|
27855
27941
|
childCodes: [],
|
|
27856
|
-
definition: "Contact history with this agency. Category `services`.
|
|
27942
|
+
definition: "Contact history with this agency. Category `services`. DELIVERS since 2026-10-01 (CONTACT-HISTORY-REGISTER, Crysta R1\u2013R3 \u2014 Nate Luginbill's Question set 2 item 3; honest-empty from 2026-08-14 to that date): the register of this agency's own contacts with the person \u2014 one row per session, date \xB7 channel (CVC-47) \xB7 kind of sitting (CVC-217) \xB7 the agency/program as recorded, plus a count line \u2014 computed from the SENDING agency's session records at send time by the one as-delivered builder, never stored (UDD person.contact_history, derived \xB7 accumulating_log \xB7 IC-76; source fields capture.session_started_at \xB7 capture.service_delivery_channel [its session-record store `contact_method`] \xB7 capture.session_template). The fact of contact, not content: no notes, answers, outcomes or services \u2014 service_history carries the service instances (the Thread session-as-service row is the same session's other view). Which sessions: closed plus the sending one; drafts from other days, discarded sessions, inbound-share reviews (origin claimed_share), other agencies' sessions (knowing is not telling) and LEADS sessions never ride. No domain_map row \u2014 sessions are no-CAR facts; the coverage gate reads the crosswalk derived_units entry (field + store + builder marker). Presets: Thread risk_only_handoff (carried it throughout) \xB7 ROI full_collab gains it 2026-10-01 (derivation for veto). Smoke FLOW-381.",
|
|
27857
27943
|
levelFloor: 3,
|
|
27858
27944
|
appRelevance: [
|
|
27859
27945
|
"PAVE",
|
|
@@ -27903,9 +27989,10 @@ var coreInformationScope_v1_0_0_default = {
|
|
|
27903
27989
|
childCodes: [
|
|
27904
27990
|
"236-005-001-000-000-000-000",
|
|
27905
27991
|
"236-005-002-000-000-000-000",
|
|
27906
|
-
"236-005-003-000-000-000-000"
|
|
27992
|
+
"236-005-003-000-000-000-000",
|
|
27993
|
+
"236-005-004-000-000-000-000"
|
|
27907
27994
|
],
|
|
27908
|
-
definition: "Narrative notes \u2014 policy-grain category. Units under it are the authorization grain. LEADS flag dropped 2026-08-14 (all units PAVE/Thread \u2014 was an empty shell for LEADS-only agencies).",
|
|
27995
|
+
definition: "Narrative notes \u2014 policy-grain category. Units under it are the authorization grain. LEADS flag dropped 2026-08-14 (all units PAVE/Thread \u2014 was an empty shell for LEADS-only agencies). | NARRATIVE-NOTES 2026-10-05 (signed Spec v2, rule 5 \u2014 Crysta: 'Narrative notes - I've signed off on this spec.'): two sub-categories, Session summary and Session & case notes. It holds only the notes whose home is a session of the case or the case itself; a note written inside an instrument, in the Determination notes box, or in a notes box on another record belongs to that record.",
|
|
27909
27996
|
levelFloor: 3,
|
|
27910
27997
|
appRelevance: [
|
|
27911
27998
|
"PAVE",
|
|
@@ -27918,26 +28005,20 @@ var coreInformationScope_v1_0_0_default = {
|
|
|
27918
28005
|
code: "236-005-001-000-000-000-000",
|
|
27919
28006
|
key: "screen_notes",
|
|
27920
28007
|
title: "Screen notes",
|
|
27921
|
-
selectable:
|
|
28008
|
+
selectable: false,
|
|
27922
28009
|
parentCode: "236-005-000-000-000-000-000",
|
|
27923
28010
|
childCodes: [],
|
|
27924
|
-
definition: "Screen notes.
|
|
27925
|
-
|
|
27926
|
-
appRelevance: [
|
|
27927
|
-
"PAVE",
|
|
27928
|
-
"Thread"
|
|
27929
|
-
],
|
|
27930
|
-
shareableDefault: true,
|
|
27931
|
-
specialDataType: "survivor_confidential"
|
|
28011
|
+
definition: "RETIRED 2026-10-05 (Narrative notes, signed Spec v2 rule 5). The Initial Screen's notes box is an instrument note and belongs to the Initial Screen. No longer offered in share policy, internal viewing settings or a release; a stored code resolves here so a reader can tell retired from unknown, and includes nothing.",
|
|
28012
|
+
retired: true
|
|
27932
28013
|
},
|
|
27933
28014
|
{
|
|
27934
28015
|
code: "236-005-002-000-000-000-000",
|
|
27935
28016
|
key: "case_notes",
|
|
27936
|
-
title: "
|
|
28017
|
+
title: "Session & case notes",
|
|
27937
28018
|
selectable: true,
|
|
27938
28019
|
parentCode: "236-005-000-000-000-000-000",
|
|
27939
28020
|
childCodes: [],
|
|
27940
|
-
definition: "
|
|
28021
|
+
definition: "Session & case notes. Category `notes`. RENAMED + NARROWED 2026-10-02 (Crysta; was 'Detailed case notes'; the code is unchanged). Every note whose home is a session of the case or the case itself, other than the session summary, with its files. Read from the notes store, one row per note, through the note's own visibility; the session_note / log_entry claims keep their viewing rows in domain_map and are never share content.",
|
|
27941
28022
|
levelFloor: 3,
|
|
27942
28023
|
appRelevance: [
|
|
27943
28024
|
"PAVE",
|
|
@@ -27950,10 +28031,20 @@ var coreInformationScope_v1_0_0_default = {
|
|
|
27950
28031
|
code: "236-005-003-000-000-000-000",
|
|
27951
28032
|
key: "background",
|
|
27952
28033
|
title: "Background information",
|
|
28034
|
+
selectable: false,
|
|
28035
|
+
parentCode: "236-005-000-000-000-000-000",
|
|
28036
|
+
childCodes: [],
|
|
28037
|
+
definition: "RETIRED 2026-10-05 (Narrative notes, signed Spec v2 rule 5). Nothing ever captured it. No longer offered in share policy, internal viewing settings or a release; a stored code resolves here so a reader can tell retired from unknown, and includes nothing.",
|
|
28038
|
+
retired: true
|
|
28039
|
+
},
|
|
28040
|
+
{
|
|
28041
|
+
code: "236-005-004-000-000-000-000",
|
|
28042
|
+
key: "session_summary",
|
|
28043
|
+
title: "Session summary",
|
|
27953
28044
|
selectable: true,
|
|
27954
28045
|
parentCode: "236-005-000-000-000-000-000",
|
|
27955
28046
|
childCodes: [],
|
|
27956
|
-
definition: "
|
|
28047
|
+
definition: "Session summary. Category `notes`. MINTED 2026-10-02 (Crysta: two sub-categories \u2014 'Agree'); in the apps since 2026-10-05 (NARRATIVE-NOTES). Includes the typed session summary (one note marked as the summary \u2014 it has no visibility of its own and freezes when the session is submitted) and each note whose home is that session and that the advocate marked 'Include in session summary'. A marked note from another home shows in the on-screen summary and is included in a share only with its own home, never here.",
|
|
27957
28048
|
levelFloor: 3,
|
|
27958
28049
|
appRelevance: [
|
|
27959
28050
|
"PAVE",
|
|
@@ -28955,13 +29046,13 @@ var coreReferralOutcome_v1_0_0_default = {
|
|
|
28955
29046
|
]
|
|
28956
29047
|
};
|
|
28957
29048
|
|
|
28958
|
-
// src/cvcs/coreIndicators.v1.
|
|
28959
|
-
var
|
|
29049
|
+
// src/cvcs/coreIndicators.v1.1.0.json
|
|
29050
|
+
var coreIndicators_v1_1_0_default = {
|
|
28960
29051
|
domain: "core_indicators",
|
|
28961
29052
|
name: "Core Indicators (CVC-136)",
|
|
28962
|
-
version: "1.
|
|
28963
|
-
_status: "CANONICAL \u2014 re-sourced from the live canonical catalog `data/core_indicators.yaml` @ prototype HEAD
|
|
28964
|
-
_source: "htilabstech/prototype@
|
|
29053
|
+
version: "1.1.0",
|
|
29054
|
+
_status: "CANONICAL \u2014 re-sourced from the live canonical catalog `data/core_indicators.yaml` @ prototype HEAD c53378f (220 codes; +6 vs the 0.8.17 pin 622410b, 0 withdrawn upstream, plus the projected-field revision on 136-061 `exploitative_pricing_tier_low` the same delta carried), reconciled against @hti/scoring (`weights/risk.weights.json` @ 9c209cf, `emits_by_code`, 174 codes). VERSION 1.0.0 -> 1.1.0 (2026-10-06): this refresh removes `selectable` from two rows and redefines a third, so it is NOT additive and cannot reuse the published 1.0.0 content hash \u2014 the seeder's \xA79.1.2 ContentDriftError guard (scripts/seed-cvc.ts) would refuse to re-seed 1.0.0 with different content (the #188/#190 precedent; `incidentParticipationRoles` 1.1.0 is the shape). The 2 former scoring-ahead codes (`coercive_debt_pressure_youth` 136-033, `debt_terms_deceptive_youth` 136-050, formerly `pendingUpstreamAdoption: true`) are DEPRECATED, NOT REMOVED: `selectable: false`, `deprecated: true`, `supersededBy` their canonical rows `coercive_debt_pressure` (136-032) / `debt_terms_deceptive` (136-049), which upstream carries as `legacy_aliases`. hti-scoring 9c209cf no longer emits them, but PAVE 2.0 `develop` @ 07f3ccd still WRITES both from the IDA (`IDA-syn-missing_care-4i`/`4ii`, packages/api-core/src/rules/assessments/ida/emits.ts) and scores them from its 2026-07-17 vendored weights, so a stored assertion under either key must keep resolving in this SOT. Thread `develop` @ 28580ab has no writer. Their positional codes are HELD by the deprecated rows and are never reissued to another key. 220 selectable + 2 deprecated + the missingness quadruplet = 226 entries. New codes are APPENDED at 217\u2013222 so every previously issued positional code stays stable.",
|
|
29055
|
+
_source: "htilabstech/prototype@c53378f data/core_indicators.yaml + htilabstech/hti-scoring@9c209cf weights/risk.weights.json (emits_by_code)",
|
|
28965
29056
|
levels: {
|
|
28966
29057
|
"0": "Unknown or Missing",
|
|
28967
29058
|
"1": "Indicator"
|
|
@@ -29438,11 +29529,12 @@ var coreIndicators_v1_0_0_default = {
|
|
|
29438
29529
|
code: "136-033-000-000-000-000-000",
|
|
29439
29530
|
key: "coercive_debt_pressure_youth",
|
|
29440
29531
|
title: "Pressured to do things to pay off debt (youth missing-from-care)",
|
|
29441
|
-
selectable:
|
|
29532
|
+
selectable: false,
|
|
29442
29533
|
parentCode: null,
|
|
29443
29534
|
childCodes: [],
|
|
29444
|
-
definition: "
|
|
29445
|
-
|
|
29535
|
+
definition: "DEPRECATED 2026-10-06 \u2014 superseded by `coercive_debt_pressure` (136-032); the canonical catalog carries this key as a `legacy_alias` of that row and @hti/scoring 9c209cf no longer emits it. Retained read-only because PAVE 2.0 `develop` (IDA `IDA-syn-missing_care-4i`, emits.ts) still writes it and assertions stored under this key must keep resolving. Original meaning: indication that a youth who is missing from care was pressured or coerced into doing things in order to pay off a debt. Youth-specific sibling of `coercive_debt_pressure`. Do not offer for new writes; bind the canonical key.",
|
|
29536
|
+
deprecated: true,
|
|
29537
|
+
supersededBy: "coercive_debt_pressure"
|
|
29446
29538
|
},
|
|
29447
29539
|
{
|
|
29448
29540
|
code: "136-034-000-000-000-000-000",
|
|
@@ -29660,11 +29752,12 @@ var coreIndicators_v1_0_0_default = {
|
|
|
29660
29752
|
code: "136-050-000-000-000-000-000",
|
|
29661
29753
|
key: "debt_terms_deceptive_youth",
|
|
29662
29754
|
title: "Debt repayment terms differed from what was expected (youth missing-from-care)",
|
|
29663
|
-
selectable:
|
|
29755
|
+
selectable: false,
|
|
29664
29756
|
parentCode: null,
|
|
29665
29757
|
childCodes: [],
|
|
29666
|
-
definition: "
|
|
29667
|
-
|
|
29758
|
+
definition: "DEPRECATED 2026-10-06 \u2014 superseded by `debt_terms_deceptive` (136-049); the canonical catalog carries this key as a `legacy_alias` of that row and @hti/scoring 9c209cf no longer emits it. Retained read-only because PAVE 2.0 `develop` (IDA `IDA-syn-missing_care-4ii`, emits.ts) still writes it and assertions stored under this key must keep resolving. Original meaning: indication that, for a youth missing from care, the terms of a debt or its repayment differed from what was represented or expected. Youth-specific sibling of `debt_terms_deceptive`. Do not offer for new writes; bind the canonical key.",
|
|
29759
|
+
deprecated: true,
|
|
29760
|
+
supersededBy: "debt_terms_deceptive"
|
|
29668
29761
|
},
|
|
29669
29762
|
{
|
|
29670
29763
|
code: "136-051-000-000-000-000-000",
|
|
@@ -29807,7 +29900,7 @@ var coreIndicators_v1_0_0_default = {
|
|
|
29807
29900
|
selectable: true,
|
|
29808
29901
|
parentCode: null,
|
|
29809
29902
|
childCodes: [],
|
|
29810
|
-
definition:
|
|
29903
|
+
definition: `Ad-derived pricing tier is LOW-dominant \u2014 the person's parsed hourly rates fall under $50/hr against the pooled ad population (CVC-277 core-CS_price_tier_band; Sarah 2026-07-22 pooled baseline, about the bottom quartile) \u2014 potentially signaling economic duress and vulnerability. The SRS design framed this as "relative to the local median"; a per-market baseline is the refinement on record, not built.`,
|
|
29811
29904
|
family: "unfamilied",
|
|
29812
29905
|
polarity: "depends",
|
|
29813
29906
|
severity: "informational",
|
|
@@ -31875,6 +31968,87 @@ TRA Phase 3 Batch B apply per recs doc \xA7 4.2 + Crysta Q-3 sign-off.`,
|
|
|
31875
31968
|
polarity: "depends",
|
|
31876
31969
|
severity: "caution",
|
|
31877
31970
|
isAlert: "none"
|
|
31971
|
+
},
|
|
31972
|
+
{
|
|
31973
|
+
code: "136-217-000-000-000-000-000",
|
|
31974
|
+
key: "disclosed_fear_at_intake",
|
|
31975
|
+
title: "Disclosed fear of a specific person",
|
|
31976
|
+
selectable: true,
|
|
31977
|
+
parentCode: null,
|
|
31978
|
+
childCodes: [],
|
|
31979
|
+
definition: "The person has told a worker they are afraid of a named or identifiable individual \u2014 commonly a former or current partner. Distinct from concerning_mannerisms_anxious_fearful_depressed, which is affect a worker observes rather than something the person said, and from threats_of_harm, which requires a threat to have been made; fear can be current and well-founded with no fresh threat.",
|
|
31980
|
+
family: "lethality_dv",
|
|
31981
|
+
polarity: "increases_risk",
|
|
31982
|
+
severity: "elevated",
|
|
31983
|
+
isAlert: "thread_pave",
|
|
31984
|
+
alertWhen: "current_only"
|
|
31985
|
+
},
|
|
31986
|
+
{
|
|
31987
|
+
code: "136-218-000-000-000-000-000",
|
|
31988
|
+
key: "does_not_control_housing",
|
|
31989
|
+
title: "Limited independence: does not control where they live",
|
|
31990
|
+
selectable: true,
|
|
31991
|
+
parentCode: null,
|
|
31992
|
+
childCodes: [],
|
|
31993
|
+
definition: "Indication that an employer, partner, or other person decides where the person lives \u2014 housing is assigned or controlled by someone else, rather than chosen by the person.",
|
|
31994
|
+
family: "mechanism_control",
|
|
31995
|
+
polarity: "increases_risk",
|
|
31996
|
+
severity: "elevated",
|
|
31997
|
+
isAlert: "none"
|
|
31998
|
+
},
|
|
31999
|
+
{
|
|
32000
|
+
code: "136-219-000-000-000-000-000",
|
|
32001
|
+
key: "oppressive_home_life",
|
|
32002
|
+
title: "Oppressive, unsafe, or unstable home life",
|
|
32003
|
+
selectable: true,
|
|
32004
|
+
parentCode: null,
|
|
32005
|
+
childCodes: [],
|
|
32006
|
+
definition: "Indication that the person's current home life is oppressive, unsafe, or unstable \u2014 a present-condition vulnerability, distinct from the childhood household challenges history (VIII-B).",
|
|
32007
|
+
family: "vulnerability_context",
|
|
32008
|
+
polarity: "increases_risk",
|
|
32009
|
+
severity: "elevated",
|
|
32010
|
+
isAlert: "none"
|
|
32011
|
+
},
|
|
32012
|
+
{
|
|
32013
|
+
code: "136-220-000-000-000-000-000",
|
|
32014
|
+
key: "recent_separation",
|
|
32015
|
+
title: "Recent separation from abusive partner",
|
|
32016
|
+
selectable: true,
|
|
32017
|
+
parentCode: null,
|
|
32018
|
+
childCodes: [],
|
|
32019
|
+
definition: "Indication that the person has recently left or separated from an abusive partner. Campbell's Danger Assessment treats the period following separation as the highest-risk window for intimate-partner homicide \u2014 the signal is about having got out, not about current cohabitation.",
|
|
32020
|
+
family: "lethality_dv",
|
|
32021
|
+
polarity: "depends",
|
|
32022
|
+
severity: "elevated",
|
|
32023
|
+
isAlert: "thread_pave",
|
|
32024
|
+
alertWhen: "recency_under_year"
|
|
32025
|
+
},
|
|
32026
|
+
{
|
|
32027
|
+
code: "136-221-000-000-000-000-000",
|
|
32028
|
+
key: "survival_sex",
|
|
32029
|
+
title: "Survival sex (sex exchanged to meet basic needs)",
|
|
32030
|
+
selectable: true,
|
|
32031
|
+
parentCode: null,
|
|
32032
|
+
childCodes: [],
|
|
32033
|
+
definition: "Indication that the person exchanges sex acts to meet basic survival needs \u2014 housing, food, drugs, protection, or money for essentials \u2014 rather than as an income choice. A standalone activity signal that can coexist with, or exist entirely without, a trafficking determination; it asserts the circumstance of the exchange, never the determination.",
|
|
32034
|
+
family: "cs_industry_context",
|
|
32035
|
+
polarity: "depends",
|
|
32036
|
+
severity: "elevated",
|
|
32037
|
+
isAlert: "none"
|
|
32038
|
+
},
|
|
32039
|
+
{
|
|
32040
|
+
code: "136-222-000-000-000-000-000",
|
|
32041
|
+
key: "unable_to_speak_freely",
|
|
32042
|
+
title: "Unable to speak freely",
|
|
32043
|
+
selectable: true,
|
|
32044
|
+
parentCode: null,
|
|
32045
|
+
childCodes: [],
|
|
32046
|
+
definition: "Indication that the person is not able to speak for themselves \u2014 a third party insists on being present, answers on their behalf, or interprets for them, or the person is never encountered alone. Distinct from inability_to_account_for_self, which is about the person's own account being scripted or confused; this is about another party controlling the conversation.",
|
|
32047
|
+
family: "mechanism_control",
|
|
32048
|
+
polarity: "depends",
|
|
32049
|
+
severity: "elevated",
|
|
32050
|
+
isAlert: "thread_pave",
|
|
32051
|
+
alertWhen: "current_only"
|
|
31878
32052
|
}
|
|
31879
32053
|
]
|
|
31880
32054
|
};
|
|
@@ -44627,8 +44801,8 @@ export {
|
|
|
44627
44801
|
contactSafetyStatus_v1_0_0_default as contactSafetyStatusSot,
|
|
44628
44802
|
coreDhState_v1_0_0_default as coreDhStateSot,
|
|
44629
44803
|
coreFunctions_v1_0_0_default as coreFunctionsSot,
|
|
44630
|
-
|
|
44631
|
-
|
|
44804
|
+
coreIndicators_v1_1_0_default as coreIndicatorsSot,
|
|
44805
|
+
coreInformationScope_v1_1_0_default as coreInformationScopeSot,
|
|
44632
44806
|
coreReferralOutcome_v1_0_0_default as coreReferralOutcomeSot,
|
|
44633
44807
|
countries_v1_0_0_default as countriesSot,
|
|
44634
44808
|
createdBySystem_v1_0_0_default as createdBySystemSot,
|