@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.
Files changed (56) hide show
  1. package/dist/constants/index.cjs +33 -0
  2. package/dist/constants/index.cjs.map +1 -1
  3. package/dist/constants/index.d.cts +1 -1
  4. package/dist/constants/index.d.ts +1 -1
  5. package/dist/constants/index.js +29 -0
  6. package/dist/constants/index.js.map +1 -1
  7. package/dist/{cvcEntry-0BIB9sen.d.cts → cvcEntry-DaDrEuTa.d.cts} +44 -44
  8. package/dist/{cvcEntry-0BIB9sen.d.ts → cvcEntry-DaDrEuTa.d.ts} +44 -44
  9. package/dist/cvcs/index.cjs +212 -38
  10. package/dist/cvcs/index.cjs.map +1 -1
  11. package/dist/cvcs/index.d.cts +224 -41
  12. package/dist/cvcs/index.d.ts +224 -41
  13. package/dist/cvcs/index.js +212 -38
  14. package/dist/cvcs/index.js.map +1 -1
  15. package/dist/enums/index.cjs +8 -1
  16. package/dist/enums/index.cjs.map +1 -1
  17. package/dist/enums/index.d.cts +11 -4
  18. package/dist/enums/index.d.ts +11 -4
  19. package/dist/enums/index.js +8 -1
  20. package/dist/enums/index.js.map +1 -1
  21. package/dist/{index-CDoqrfc1.d.ts → index-C0J3f169.d.ts} +1 -1
  22. package/dist/{index-Zu_mOJRn.d.cts → index-EPjPjR0z.d.cts} +1 -1
  23. package/dist/index.cjs +253 -39
  24. package/dist/index.cjs.map +1 -1
  25. package/dist/index.d.cts +3 -3
  26. package/dist/index.d.ts +3 -3
  27. package/dist/index.js +249 -39
  28. package/dist/index.js.map +1 -1
  29. package/dist/models/index.d.cts +2 -2
  30. package/dist/models/index.d.ts +2 -2
  31. package/dist/{platform-auth-64U8jjuw.d.cts → platform-auth-CrF5U_JH.d.cts} +43 -2
  32. package/dist/{platform-auth-64U8jjuw.d.ts → platform-auth-CrF5U_JH.d.ts} +43 -2
  33. package/dist/schemas/index.cjs +234 -0
  34. package/dist/schemas/index.cjs.map +1 -1
  35. package/dist/schemas/index.d.cts +35 -35
  36. package/dist/schemas/index.d.ts +35 -35
  37. package/dist/schemas/index.js +234 -0
  38. package/dist/schemas/index.js.map +1 -1
  39. package/dist/types/index.d.cts +2 -2
  40. package/dist/types/index.d.ts +2 -2
  41. package/package.json +27 -26
  42. package/src/__sot__/coreIndicatorFields.ts +4 -4
  43. package/src/__sot__/coreIndicators.pin.json +62 -2
  44. package/src/__sot__/scoringEmits.pin.json +9 -4
  45. package/src/__tests__/__snapshots__/cvc-sot.snap +4 -4
  46. package/src/__tests__/core-information-scope-invariant.test.ts +204 -15
  47. package/src/__tests__/cvc-136-scoring-invariant.test.ts +89 -28
  48. package/src/__tests__/cvc-drift-gate.test.ts +149 -27
  49. package/src/__tests__/cvc-sot-snapshot.test.ts +14 -8
  50. package/src/__tests__/cvc-structural.test.ts +2 -2
  51. package/src/__tests__/location-type-routing-invariant.test.ts +1 -1
  52. package/src/constants/ic.ts +163 -3
  53. package/src/cvcs/{coreIndicators.v1.0.0.json → coreIndicators.v1.1.0.json} +93 -10
  54. package/src/cvcs/{coreInformationScope.v1.0.0.json → coreInformationScope.v1.1.0.json} +113 -22
  55. package/src/cvcs/index.ts +2 -2
  56. package/src/generated/cvc-enums.ts +11 -4
@@ -47,8 +47,8 @@ __export(cvcs_exports, {
47
47
  contactSafetyStatusSot: () => contactSafetyStatus_v1_0_0_default,
48
48
  coreDhStateSot: () => coreDhState_v1_0_0_default,
49
49
  coreFunctionsSot: () => coreFunctions_v1_0_0_default,
50
- coreIndicatorsSot: () => coreIndicators_v1_0_0_default,
51
- coreInformationScopeSot: () => coreInformationScope_v1_0_0_default,
50
+ coreIndicatorsSot: () => coreIndicators_v1_1_0_default,
51
+ coreInformationScopeSot: () => coreInformationScope_v1_1_0_default,
52
52
  coreReferralOutcomeSot: () => coreReferralOutcome_v1_0_0_default,
53
53
  countriesSot: () => countries_v1_0_0_default,
54
54
  createdBySystemSot: () => createdBySystem_v1_0_0_default,
@@ -27481,17 +27481,101 @@ var needsAssessmentChangeType_v1_0_0_default = {
27481
27481
  ]
27482
27482
  };
27483
27483
 
27484
- // src/cvcs/coreInformationScope.v1.0.0.json
27485
- var coreInformationScope_v1_0_0_default = {
27484
+ // src/cvcs/coreInformationScope.v1.1.0.json
27485
+ var coreInformationScope_v1_1_0_default = {
27486
27486
  domain: "core_information_scope",
27487
27487
  name: "Core Information Scope",
27488
- version: "1.0.0",
27489
- _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 \u2014 `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.",
27490
- _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 \u2014 codebook.csv @ 55088d44)",
27488
+ version: "1.1.0",
27489
+ _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.',
27490
+ _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)",
27491
+ _supersedes: {
27492
+ version: "1.0.0",
27493
+ keyMap: {
27494
+ missingness_root: "missingness_root",
27495
+ unknown: "unknown",
27496
+ anonymous: "anonymous",
27497
+ data_not_collected: "data_not_collected",
27498
+ identifying: "identifying",
27499
+ names: "names",
27500
+ dob: "dob",
27501
+ addresses: "addresses",
27502
+ additional_ids: "additional_ids",
27503
+ demographics: "demographics",
27504
+ risk: "risk",
27505
+ screen_indicators: "screen_indicators",
27506
+ victimization: "victimization",
27507
+ ida_full: "ida_full",
27508
+ ida_consid: "ida_consid",
27509
+ initial_screen: "initial_screen",
27510
+ tra: "tra",
27511
+ lap: "lap",
27512
+ danger_assessment: "danger_assessment",
27513
+ injury_and_strangulation: "injury_and_strangulation",
27514
+ stalking_assessment: "stalking_assessment",
27515
+ ae_intake: "ae_intake",
27516
+ hope_scale: "hope_scale",
27517
+ assessment_records: "assessment_records",
27518
+ determinations: "determinations",
27519
+ offender_facilitator: "offender_facilitator",
27520
+ system_involvement: "system_involvement",
27521
+ derived_risk_signals: "derived_risk_signals",
27522
+ contact: "contact",
27523
+ contact_info: "contact_info",
27524
+ safe_locations: "safe_locations",
27525
+ priorities_safety: "priorities_safety",
27526
+ encounter_location: "encounter_location",
27527
+ services: "services",
27528
+ contact_history: "contact_history",
27529
+ service_history: "service_history",
27530
+ plans_goals: "plans_goals",
27531
+ notes: "notes",
27532
+ screen_notes: "screen_notes",
27533
+ case_notes: "case_notes",
27534
+ background: "background",
27535
+ health_accommodation: "health_accommodation",
27536
+ accommodation_needs: "accommodation_needs",
27537
+ disability_subtypes: "disability_subtypes",
27538
+ mental_health_status: "mental_health_status",
27539
+ substance_use_status: "substance_use_status",
27540
+ chronic_health_status: "chronic_health_status",
27541
+ hiv_status: "hiv_status",
27542
+ mental_health_screen: "mental_health_screen",
27543
+ trauma_and_coping_screen: "trauma_and_coping_screen",
27544
+ behavioral_health_intake: "behavioral_health_intake",
27545
+ immigration_legal_status: "immigration_legal_status",
27546
+ immigration_status: "immigration_status",
27547
+ uscis_alien_number: "uscis_alien_number",
27548
+ federal_protection_applications: "federal_protection_applications",
27549
+ tvap_enrollment: "tvap_enrollment",
27550
+ le_report_status: "le_report_status",
27551
+ system: "system",
27552
+ system_info: "system_info",
27553
+ network_associations: "network_associations",
27554
+ network_membership: "network_membership",
27555
+ persona_links: "persona_links",
27556
+ commercial_activity: "commercial_activity",
27557
+ ad_content: "ad_content",
27558
+ commercial_patterns: "commercial_patterns",
27559
+ investigative_work_product: "investigative_work_product",
27560
+ case_determinations: "case_determinations",
27561
+ case_lifecycle: "case_lifecycle",
27562
+ case_attachments: "case_attachments",
27563
+ object_identifiers: "object_identifiers",
27564
+ phone_identifiers: "phone_identifiers",
27565
+ object_identity_attributes: "object_identity_attributes"
27566
+ },
27567
+ retiredCodes: [],
27568
+ notes: {
27569
+ 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).",
27570
+ 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.",
27571
+ 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.",
27572
+ 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."
27573
+ }
27574
+ },
27491
27575
  levels: {
27492
27576
  "0": "Unknown or Missing",
27493
27577
  "1": "Category (policy grain, not selectable)",
27494
- "2": "Information unit (authorization grain, selectable)"
27578
+ "2": "Information unit (authorization grain; selectable unless retired)"
27495
27579
  },
27496
27580
  entries: [
27497
27581
  {
@@ -27907,10 +27991,11 @@ var coreInformationScope_v1_0_0_default = {
27907
27991
  selectable: true,
27908
27992
  parentCode: "236-002-000-000-000-000-000",
27909
27993
  childCodes: [],
27910
- 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.",
27994
+ 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).",
27911
27995
  levelFloor: 3,
27912
27996
  appRelevance: [
27913
27997
  "PAVE",
27998
+ "Thread",
27914
27999
  "LEADS"
27915
28000
  ],
27916
28001
  shareableDefault: true,
@@ -27923,10 +28008,11 @@ var coreInformationScope_v1_0_0_default = {
27923
28008
  selectable: true,
27924
28009
  parentCode: "236-002-000-000-000-000-000",
27925
28010
  childCodes: [],
27926
- definition: "System involvement. Category `risk`.",
28011
+ 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).",
27927
28012
  levelFloor: 3,
27928
28013
  appRelevance: [
27929
- "PAVE"
28014
+ "PAVE",
28015
+ "Thread"
27930
28016
  ],
27931
28017
  shareableDefault: true,
27932
28018
  specialDataType: "survivor_confidential"
@@ -28059,7 +28145,7 @@ var coreInformationScope_v1_0_0_default = {
28059
28145
  selectable: true,
28060
28146
  parentCode: "236-004-000-000-000-000-000",
28061
28147
  childCodes: [],
28062
- definition: "Contact history with this agency. Category `services`. Honest-empty (\xA7 5.4): no canonical UDD field carries the interaction register yet.",
28148
+ 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.",
28063
28149
  levelFloor: 3,
28064
28150
  appRelevance: [
28065
28151
  "PAVE",
@@ -28109,9 +28195,10 @@ var coreInformationScope_v1_0_0_default = {
28109
28195
  childCodes: [
28110
28196
  "236-005-001-000-000-000-000",
28111
28197
  "236-005-002-000-000-000-000",
28112
- "236-005-003-000-000-000-000"
28198
+ "236-005-003-000-000-000-000",
28199
+ "236-005-004-000-000-000-000"
28113
28200
  ],
28114
- 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).",
28201
+ 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.",
28115
28202
  levelFloor: 3,
28116
28203
  appRelevance: [
28117
28204
  "PAVE",
@@ -28124,26 +28211,20 @@ var coreInformationScope_v1_0_0_default = {
28124
28211
  code: "236-005-001-000-000-000-000",
28125
28212
  key: "screen_notes",
28126
28213
  title: "Screen notes",
28127
- selectable: true,
28214
+ selectable: false,
28128
28215
  parentCode: "236-005-000-000-000-000-000",
28129
28216
  childCodes: [],
28130
- definition: "Screen notes. Category `notes`.",
28131
- levelFloor: 3,
28132
- appRelevance: [
28133
- "PAVE",
28134
- "Thread"
28135
- ],
28136
- shareableDefault: true,
28137
- specialDataType: "survivor_confidential"
28217
+ 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.",
28218
+ retired: true
28138
28219
  },
28139
28220
  {
28140
28221
  code: "236-005-002-000-000-000-000",
28141
28222
  key: "case_notes",
28142
- title: "Detailed case notes",
28223
+ title: "Session & case notes",
28143
28224
  selectable: true,
28144
28225
  parentCode: "236-005-000-000-000-000-000",
28145
28226
  childCodes: [],
28146
- definition: "Detailed case notes. Category `notes`.",
28227
+ 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.",
28147
28228
  levelFloor: 3,
28148
28229
  appRelevance: [
28149
28230
  "PAVE",
@@ -28156,10 +28237,20 @@ var coreInformationScope_v1_0_0_default = {
28156
28237
  code: "236-005-003-000-000-000-000",
28157
28238
  key: "background",
28158
28239
  title: "Background information",
28240
+ selectable: false,
28241
+ parentCode: "236-005-000-000-000-000-000",
28242
+ childCodes: [],
28243
+ 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.",
28244
+ retired: true
28245
+ },
28246
+ {
28247
+ code: "236-005-004-000-000-000-000",
28248
+ key: "session_summary",
28249
+ title: "Session summary",
28159
28250
  selectable: true,
28160
28251
  parentCode: "236-005-000-000-000-000-000",
28161
28252
  childCodes: [],
28162
- definition: "Background information. Category `notes`.",
28253
+ 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.",
28163
28254
  levelFloor: 3,
28164
28255
  appRelevance: [
28165
28256
  "PAVE",
@@ -29161,13 +29252,13 @@ var coreReferralOutcome_v1_0_0_default = {
29161
29252
  ]
29162
29253
  };
29163
29254
 
29164
- // src/cvcs/coreIndicators.v1.0.0.json
29165
- var coreIndicators_v1_0_0_default = {
29255
+ // src/cvcs/coreIndicators.v1.1.0.json
29256
+ var coreIndicators_v1_1_0_default = {
29166
29257
  domain: "core_indicators",
29167
29258
  name: "Core Indicators (CVC-136)",
29168
- version: "1.0.0",
29169
- _status: "CANONICAL \u2014 re-sourced from the live canonical catalog `data/core_indicators.yaml` @ prototype HEAD 622410b (214 codes; +1 vs the 0.8.14 pin 84a1b67, 0 withdrawn, plus the projected-field revisions on 136-007 / 136-094 the same delta carried), plus 2 codes that @hti/scoring (`weights/risk.weights.json` @ 9b5d654, `emits_by_code`) emits but the codebook has not yet adopted (`coercive_debt_pressure_youth`, `debt_terms_deceptive_youth`), each flagged `pendingUpstreamAdoption: true`. 216 substantive + the missingness quadruplet = 220 entries. New codes are APPENDED at 216 so every previously issued positional code stays stable.",
29170
- _source: "htilabstech/prototype@622410b data/core_indicators.yaml + htilabstech/hti-scoring@9b5d654 weights/risk.weights.json (emits_by_code)",
29259
+ version: "1.1.0",
29260
+ _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.",
29261
+ _source: "htilabstech/prototype@c53378f data/core_indicators.yaml + htilabstech/hti-scoring@9c209cf weights/risk.weights.json (emits_by_code)",
29171
29262
  levels: {
29172
29263
  "0": "Unknown or Missing",
29173
29264
  "1": "Indicator"
@@ -29644,11 +29735,12 @@ var coreIndicators_v1_0_0_default = {
29644
29735
  code: "136-033-000-000-000-000-000",
29645
29736
  key: "coercive_debt_pressure_youth",
29646
29737
  title: "Pressured to do things to pay off debt (youth missing-from-care)",
29647
- selectable: true,
29738
+ selectable: false,
29648
29739
  parentCode: null,
29649
29740
  childCodes: [],
29650
- definition: "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`. PENDING UPSTREAM ADOPTION: this code is NOT yet present in the canonical `data/core_indicators.yaml` at prototype HEAD a596eb9. It is retained because @hti/scoring (the declared scoring SOT, weights/risk.weights.json @ 9b5d654) EMITS it via `emits_by_code` \u2014 scoring is ahead of the codebook here. Withdrawing it would break the scoring contract. File upstream for adoption into core_indicators.yaml.",
29651
- pendingUpstreamAdoption: true
29741
+ 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.",
29742
+ deprecated: true,
29743
+ supersededBy: "coercive_debt_pressure"
29652
29744
  },
29653
29745
  {
29654
29746
  code: "136-034-000-000-000-000-000",
@@ -29866,11 +29958,12 @@ var coreIndicators_v1_0_0_default = {
29866
29958
  code: "136-050-000-000-000-000-000",
29867
29959
  key: "debt_terms_deceptive_youth",
29868
29960
  title: "Debt repayment terms differed from what was expected (youth missing-from-care)",
29869
- selectable: true,
29961
+ selectable: false,
29870
29962
  parentCode: null,
29871
29963
  childCodes: [],
29872
- definition: "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`. PENDING UPSTREAM ADOPTION: this code is NOT yet present in the canonical `data/core_indicators.yaml` at prototype HEAD a596eb9. It is retained because @hti/scoring (the declared scoring SOT, weights/risk.weights.json @ 9b5d654) EMITS it via `emits_by_code` \u2014 scoring is ahead of the codebook here. Withdrawing it would break the scoring contract. File upstream for adoption into core_indicators.yaml.",
29873
- pendingUpstreamAdoption: true
29964
+ 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.",
29965
+ deprecated: true,
29966
+ supersededBy: "debt_terms_deceptive"
29874
29967
  },
29875
29968
  {
29876
29969
  code: "136-051-000-000-000-000-000",
@@ -30013,7 +30106,7 @@ var coreIndicators_v1_0_0_default = {
30013
30106
  selectable: true,
30014
30107
  parentCode: null,
30015
30108
  childCodes: [],
30016
- definition: "Ad-derived pricing tier indicates unusually low hourly price relative to local median, potentially signaling economic duress and vulnerability.",
30109
+ 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.`,
30017
30110
  family: "unfamilied",
30018
30111
  polarity: "depends",
30019
30112
  severity: "informational",
@@ -32081,6 +32174,87 @@ TRA Phase 3 Batch B apply per recs doc \xA7 4.2 + Crysta Q-3 sign-off.`,
32081
32174
  polarity: "depends",
32082
32175
  severity: "caution",
32083
32176
  isAlert: "none"
32177
+ },
32178
+ {
32179
+ code: "136-217-000-000-000-000-000",
32180
+ key: "disclosed_fear_at_intake",
32181
+ title: "Disclosed fear of a specific person",
32182
+ selectable: true,
32183
+ parentCode: null,
32184
+ childCodes: [],
32185
+ 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.",
32186
+ family: "lethality_dv",
32187
+ polarity: "increases_risk",
32188
+ severity: "elevated",
32189
+ isAlert: "thread_pave",
32190
+ alertWhen: "current_only"
32191
+ },
32192
+ {
32193
+ code: "136-218-000-000-000-000-000",
32194
+ key: "does_not_control_housing",
32195
+ title: "Limited independence: does not control where they live",
32196
+ selectable: true,
32197
+ parentCode: null,
32198
+ childCodes: [],
32199
+ 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.",
32200
+ family: "mechanism_control",
32201
+ polarity: "increases_risk",
32202
+ severity: "elevated",
32203
+ isAlert: "none"
32204
+ },
32205
+ {
32206
+ code: "136-219-000-000-000-000-000",
32207
+ key: "oppressive_home_life",
32208
+ title: "Oppressive, unsafe, or unstable home life",
32209
+ selectable: true,
32210
+ parentCode: null,
32211
+ childCodes: [],
32212
+ 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).",
32213
+ family: "vulnerability_context",
32214
+ polarity: "increases_risk",
32215
+ severity: "elevated",
32216
+ isAlert: "none"
32217
+ },
32218
+ {
32219
+ code: "136-220-000-000-000-000-000",
32220
+ key: "recent_separation",
32221
+ title: "Recent separation from abusive partner",
32222
+ selectable: true,
32223
+ parentCode: null,
32224
+ childCodes: [],
32225
+ 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.",
32226
+ family: "lethality_dv",
32227
+ polarity: "depends",
32228
+ severity: "elevated",
32229
+ isAlert: "thread_pave",
32230
+ alertWhen: "recency_under_year"
32231
+ },
32232
+ {
32233
+ code: "136-221-000-000-000-000-000",
32234
+ key: "survival_sex",
32235
+ title: "Survival sex (sex exchanged to meet basic needs)",
32236
+ selectable: true,
32237
+ parentCode: null,
32238
+ childCodes: [],
32239
+ 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.",
32240
+ family: "cs_industry_context",
32241
+ polarity: "depends",
32242
+ severity: "elevated",
32243
+ isAlert: "none"
32244
+ },
32245
+ {
32246
+ code: "136-222-000-000-000-000-000",
32247
+ key: "unable_to_speak_freely",
32248
+ title: "Unable to speak freely",
32249
+ selectable: true,
32250
+ parentCode: null,
32251
+ childCodes: [],
32252
+ 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.",
32253
+ family: "mechanism_control",
32254
+ polarity: "depends",
32255
+ severity: "elevated",
32256
+ isAlert: "thread_pave",
32257
+ alertWhen: "current_only"
32084
32258
  }
32085
32259
  ]
32086
32260
  };