@htilabs/platform-common-models 0.12.3 → 0.12.4

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 (35) hide show
  1. package/dist/cvcs/index.cjs +153 -21
  2. package/dist/cvcs/index.cjs.map +1 -1
  3. package/dist/cvcs/index.d.cts +164 -27
  4. package/dist/cvcs/index.d.ts +164 -27
  5. package/dist/cvcs/index.js +153 -21
  6. package/dist/cvcs/index.js.map +1 -1
  7. package/dist/enums/index.cjs +1 -0
  8. package/dist/enums/index.cjs.map +1 -1
  9. package/dist/enums/index.d.cts +4 -3
  10. package/dist/enums/index.d.ts +4 -3
  11. package/dist/enums/index.js +1 -0
  12. package/dist/enums/index.js.map +1 -1
  13. package/dist/{index-4DiJrn7y.d.ts → index-C0J3f169.d.ts} +1 -1
  14. package/dist/{index-qreOzXYS.d.cts → index-EPjPjR0z.d.cts} +1 -1
  15. package/dist/index.cjs +154 -21
  16. package/dist/index.cjs.map +1 -1
  17. package/dist/index.d.cts +2 -2
  18. package/dist/index.d.ts +2 -2
  19. package/dist/index.js +154 -21
  20. package/dist/index.js.map +1 -1
  21. package/dist/models/index.d.cts +2 -2
  22. package/dist/models/index.d.ts +2 -2
  23. package/dist/schemas/index.d.cts +25 -25
  24. package/dist/schemas/index.d.ts +25 -25
  25. package/package.json +1 -1
  26. package/src/__tests__/__snapshots__/cvc-sot.snap +3 -3
  27. package/src/__tests__/core-information-scope-invariant.test.ts +57 -3
  28. package/src/__tests__/cvc-sot-snapshot.test.ts +5 -4
  29. package/src/__tests__/location-type-routing-invariant.test.ts +202 -0
  30. package/src/cvcs/coreInformationScope.v1.0.0.json +22 -5
  31. package/src/cvcs/index.ts +3 -0
  32. package/src/cvcs/locationType.v1.0.0.json +131 -16
  33. package/src/generated/cvc-enums.ts +4 -3
  34. package/dist/{cvcEntry-ctHTp2df.d.cts → cvcEntry-DaDrEuTa.d.cts} +8 -8
  35. package/dist/{cvcEntry-ctHTp2df.d.ts → cvcEntry-DaDrEuTa.d.ts} +8 -8
@@ -1,4 +1,4 @@
1
- import { F as Form, l as buildFormSchema, h as Section, q as buildSectionSchema, Q as Question, o as buildQuestionSchema, f as ScoringRule, p as buildScoringRuleSchema, P as PlatformFunction, m as buildPlatformFunctionSchema, d as PlatformRole, n as buildPlatformRoleSchema, b as CvcRegistry, k as buildCvcRegistrySchema, a as CvcEntry, j as buildCvcEntrySchema } from './cvcEntry-ctHTp2df.js';
1
+ import { F as Form, l as buildFormSchema, h as Section, q as buildSectionSchema, Q as Question, o as buildQuestionSchema, f as ScoringRule, p as buildScoringRuleSchema, P as PlatformFunction, m as buildPlatformFunctionSchema, d as PlatformRole, n as buildPlatformRoleSchema, b as CvcRegistry, k as buildCvcRegistrySchema, a as CvcEntry, j as buildCvcEntrySchema } from './cvcEntry-DaDrEuTa.js';
2
2
  import * as mongoose from 'mongoose';
3
3
  import { HydratedDocument, Connection, Model } from 'mongoose';
4
4
 
@@ -1,4 +1,4 @@
1
- import { F as Form, l as buildFormSchema, h as Section, q as buildSectionSchema, Q as Question, o as buildQuestionSchema, f as ScoringRule, p as buildScoringRuleSchema, P as PlatformFunction, m as buildPlatformFunctionSchema, d as PlatformRole, n as buildPlatformRoleSchema, b as CvcRegistry, k as buildCvcRegistrySchema, a as CvcEntry, j as buildCvcEntrySchema } from './cvcEntry-ctHTp2df.cjs';
1
+ import { F as Form, l as buildFormSchema, h as Section, q as buildSectionSchema, Q as Question, o as buildQuestionSchema, f as ScoringRule, p as buildScoringRuleSchema, P as PlatformFunction, m as buildPlatformFunctionSchema, d as PlatformRole, n as buildPlatformRoleSchema, b as CvcRegistry, k as buildCvcRegistrySchema, a as CvcEntry, j as buildCvcEntrySchema } from './cvcEntry-DaDrEuTa.cjs';
2
2
  import * as mongoose from 'mongoose';
3
3
  import { HydratedDocument, Connection, Model } from 'mongoose';
4
4
 
package/dist/index.cjs CHANGED
@@ -10676,6 +10676,7 @@ var CoreInformationScopeKeys = {
10676
10676
  contact_info: "236-003-001-000-000-000-000",
10677
10677
  safe_locations: "236-003-002-000-000-000-000",
10678
10678
  priorities_safety: "236-003-003-000-000-000-000",
10679
+ encounter_location: "236-003-004-000-000-000-000",
10679
10680
  services: "236-004-000-000-000-000-000",
10680
10681
  contact_history: "236-004-001-000-000-000-000",
10681
10682
  service_history: "236-004-002-000-000-000-000",
@@ -22854,6 +22855,7 @@ var locationType_v1_0_0_default = {
22854
22855
  domain: "location_type",
22855
22856
  name: "Core Location Type",
22856
22857
  version: "1.0.0",
22858
+ _source: "Rows: hand-authored 2026-04-22 from the April Notion codebook export (co-8ff.5.12); codes, keys, titles and definitions are unchanged since. LOGIC columns (tier \xB7 anchors \xB7 anchorDefault \xB7 shareUnit \xB7 safetyDefault): htilabstech/prototype/data/cvcs/core_location_type.yaml @ 55088d44 (CVC-191 v1.1, logic amended 2026-10-01; read from origin/main; cross-checked against htilabstech/prototype/Final CVCs/Location (IC-4)/core - location_type \u2014 codebook 1.csv + 2.csv @ 55088d44), overlaid by scripts/gen-location-type.py. NOT absorbed: 8 canon rows the package does not publish (TRAFFICKING_OCCURRENCE, VICTIM_IDENTIFICATION, COMMERCIAL_SEX_AD_POSTING, TRAFFICKING_RECRUITMENT, BIRTHPLACE, COURT_LOCATION, LE_INTERVIEW_LOCATION, LE_AGENCY_LOCATION) and the 4 labels canon reworded on 2026-08-28.",
22857
22859
  levels: {
22858
22860
  "0": "Unknown or Missing",
22859
22861
  "1": "Category"
@@ -22879,7 +22881,12 @@ var locationType_v1_0_0_default = {
22879
22881
  selectable: true,
22880
22882
  parentCode: "191-000-000-000-000-000-000",
22881
22883
  childCodes: [],
22882
- definition: "Unknown or cannot be determined from the available information."
22884
+ definition: "Unknown or cannot be determined from the available information.",
22885
+ tier: "sentinel",
22886
+ anchors: [],
22887
+ anchorDefault: null,
22888
+ shareUnit: null,
22889
+ safetyDefault: null
22883
22890
  },
22884
22891
  {
22885
22892
  code: "191-000-000-000-000-000-002",
@@ -22888,7 +22895,12 @@ var locationType_v1_0_0_default = {
22888
22895
  selectable: true,
22889
22896
  parentCode: "191-000-000-000-000-000-000",
22890
22897
  childCodes: [],
22891
- definition: "Information may be withheld by preference or due to redaction; identity is anonymous or redacted."
22898
+ definition: "Information may be withheld by preference or due to redaction; identity is anonymous or redacted.",
22899
+ tier: "sentinel",
22900
+ anchors: [],
22901
+ anchorDefault: null,
22902
+ shareUnit: null,
22903
+ safetyDefault: null
22892
22904
  },
22893
22905
  {
22894
22906
  code: "191-000-000-000-000-000-003",
@@ -22897,7 +22909,12 @@ var locationType_v1_0_0_default = {
22897
22909
  selectable: true,
22898
22910
  parentCode: "191-000-000-000-000-000-000",
22899
22911
  childCodes: [],
22900
- definition: "No attempt was made to collect the information."
22912
+ definition: "No attempt was made to collect the information.",
22913
+ tier: "sentinel",
22914
+ anchors: [],
22915
+ anchorDefault: null,
22916
+ shareUnit: null,
22917
+ safetyDefault: null
22901
22918
  },
22902
22919
  {
22903
22920
  code: "191-001-000-000-000-000-000",
@@ -22906,7 +22923,14 @@ var locationType_v1_0_0_default = {
22906
22923
  selectable: true,
22907
22924
  parentCode: null,
22908
22925
  childCodes: [],
22909
- definition: "Where the client/person currently resides (residential location)."
22926
+ definition: "Where the client/person currently resides (residential location).",
22927
+ tier: "residence",
22928
+ anchors: [
22929
+ "person"
22930
+ ],
22931
+ anchorDefault: "person",
22932
+ shareUnit: "addresses",
22933
+ safetyDefault: "ask"
22910
22934
  },
22911
22935
  {
22912
22936
  code: "191-002-000-000-000-000-000",
@@ -22915,7 +22939,16 @@ var locationType_v1_0_0_default = {
22915
22939
  selectable: true,
22916
22940
  parentCode: null,
22917
22941
  childCodes: [],
22918
- definition: "The physical site where a service instance was delivered (office, outreach site, partner site, on-scene)."
22942
+ definition: "The physical site where a service instance was delivered (office, outreach site, partner site, on-scene).",
22943
+ tier: "service",
22944
+ anchors: [
22945
+ "service_instance",
22946
+ "agency_program",
22947
+ "person"
22948
+ ],
22949
+ anchorDefault: "service_instance",
22950
+ shareUnit: "service_history",
22951
+ safetyDefault: "ask"
22919
22952
  },
22920
22953
  {
22921
22954
  code: "191-003-000-000-000-000-000",
@@ -22924,7 +22957,14 @@ var locationType_v1_0_0_default = {
22924
22957
  selectable: true,
22925
22958
  parentCode: null,
22926
22959
  childCodes: [],
22927
- definition: "Where the client/victim/caller is physically located at the time of contact or service (operational safety location)."
22960
+ definition: "Where the client/victim/caller is physically located at the time of contact or service (operational safety location).",
22961
+ tier: "encounter",
22962
+ anchors: [
22963
+ "person"
22964
+ ],
22965
+ anchorDefault: "person",
22966
+ shareUnit: "addresses",
22967
+ safetyDefault: "ask"
22928
22968
  },
22929
22969
  {
22930
22970
  code: "191-004-000-000-000-000-000",
@@ -22933,7 +22973,16 @@ var locationType_v1_0_0_default = {
22933
22973
  selectable: true,
22934
22974
  parentCode: null,
22935
22975
  childCodes: [],
22936
- definition: "A location where an in-person meeting/contact/event occurred (e.g., meet location, arrest location, outreach contact site)."
22976
+ definition: "A location where an in-person meeting/contact/event occurred (e.g., meet location, arrest location, outreach contact site).",
22977
+ tier: "encounter",
22978
+ anchors: [
22979
+ "session",
22980
+ "event",
22981
+ "person"
22982
+ ],
22983
+ anchorDefault: "session",
22984
+ shareUnit: "encounter_location",
22985
+ safetyDefault: "ask"
22937
22986
  },
22938
22987
  {
22939
22988
  code: "191-005-000-000-000-000-000",
@@ -22942,7 +22991,14 @@ var locationType_v1_0_0_default = {
22942
22991
  selectable: true,
22943
22992
  parentCode: null,
22944
22993
  childCodes: [],
22945
- definition: "Where the client/person previously resided (historical residential location)."
22994
+ definition: "Where the client/person previously resided (historical residential location).",
22995
+ tier: "residence",
22996
+ anchors: [
22997
+ "person"
22998
+ ],
22999
+ anchorDefault: "person",
23000
+ shareUnit: "addresses",
23001
+ safetyDefault: "ask"
22946
23002
  },
22947
23003
  {
22948
23004
  code: "191-006-000-000-000-000-000",
@@ -22951,7 +23007,14 @@ var locationType_v1_0_0_default = {
22951
23007
  selectable: true,
22952
23008
  parentCode: null,
22953
23009
  childCodes: [],
22954
- definition: "A location used to determine jurisdiction, eligibility, or referral routing (e.g., county, city, CoC code, service area)."
23010
+ definition: "A location used to determine jurisdiction, eligibility, or referral routing (e.g., county, city, CoC code, service area).",
23011
+ tier: "encounter",
23012
+ anchors: [
23013
+ "person"
23014
+ ],
23015
+ anchorDefault: "person",
23016
+ shareUnit: "addresses",
23017
+ safetyDefault: "ask"
22955
23018
  },
22956
23019
  {
22957
23020
  code: "191-007-000-000-000-000-000",
@@ -22960,7 +23023,14 @@ var locationType_v1_0_0_default = {
22960
23023
  selectable: true,
22961
23024
  parentCode: null,
22962
23025
  childCodes: [],
22963
- definition: "A location inferred from ads/postings (posting city/region/board) used for analytics such as base location, travel, and heat maps."
23026
+ definition: "A location inferred from ads/postings (posting city/region/board) used for analytics such as base location, travel, and heat maps.",
23027
+ tier: "derived",
23028
+ anchors: [
23029
+ "person"
23030
+ ],
23031
+ anchorDefault: "person",
23032
+ shareUnit: "commercial_activity",
23033
+ safetyDefault: null
22964
23034
  },
22965
23035
  {
22966
23036
  code: "191-008-000-000-000-000-000",
@@ -22969,7 +23039,15 @@ var locationType_v1_0_0_default = {
22969
23039
  selectable: true,
22970
23040
  parentCode: null,
22971
23041
  childCodes: [],
22972
- definition: "A location representing a travel instance or visit (part of a travel log/itinerary), with time bounds."
23042
+ definition: "A location representing a travel instance or visit (part of a travel log/itinerary), with time bounds.",
23043
+ tier: "encounter",
23044
+ anchors: [
23045
+ "person",
23046
+ "event"
23047
+ ],
23048
+ anchorDefault: "person",
23049
+ shareUnit: "addresses",
23050
+ safetyDefault: "ask"
22973
23051
  },
22974
23052
  {
22975
23053
  code: "191-009-000-000-000-000-000",
@@ -22978,7 +23056,14 @@ var locationType_v1_0_0_default = {
22978
23056
  selectable: true,
22979
23057
  parentCode: null,
22980
23058
  childCodes: [],
22981
- definition: "A location associated with work, school, or business activity (legal or illicit), including known venues tied to an entity."
23059
+ definition: "A location associated with work, school, or business activity (legal or illicit), including known venues tied to an entity.",
23060
+ tier: "encounter",
23061
+ anchors: [
23062
+ "person"
23063
+ ],
23064
+ anchorDefault: "person",
23065
+ shareUnit: "addresses",
23066
+ safetyDefault: "ask"
22982
23067
  },
22983
23068
  {
22984
23069
  code: "191-010-000-000-000-000-000",
@@ -22987,7 +23072,14 @@ var locationType_v1_0_0_default = {
22987
23072
  selectable: true,
22988
23073
  parentCode: null,
22989
23074
  childCodes: [],
22990
- definition: "A location inferred from an IP address (geolocation-derived), used as a signal rather than a confirmed physical location."
23075
+ definition: "A location inferred from an IP address (geolocation-derived), used as a signal rather than a confirmed physical location.",
23076
+ tier: "derived",
23077
+ anchors: [
23078
+ "person"
23079
+ ],
23080
+ anchorDefault: "person",
23081
+ shareUnit: "commercial_activity",
23082
+ safetyDefault: null
22991
23083
  },
22992
23084
  {
22993
23085
  code: "191-011-000-000-000-000-000",
@@ -22996,7 +23088,14 @@ var locationType_v1_0_0_default = {
22996
23088
  selectable: true,
22997
23089
  parentCode: null,
22998
23090
  childCodes: [],
22999
- definition: "A location describing a program, shelter, project site, or provider location used for reporting (e.g., HMIS project descriptor)."
23091
+ definition: "A location describing a program, shelter, project site, or provider location used for reporting (e.g., HMIS project descriptor).",
23092
+ tier: "service",
23093
+ anchors: [
23094
+ "agency_program"
23095
+ ],
23096
+ anchorDefault: "agency_program",
23097
+ shareUnit: null,
23098
+ safetyDefault: "safe"
23000
23099
  },
23001
23100
  {
23002
23101
  code: "191-012-000-000-000-000-000",
@@ -23005,7 +23104,16 @@ var locationType_v1_0_0_default = {
23005
23104
  selectable: true,
23006
23105
  parentCode: null,
23007
23106
  childCodes: [],
23008
- definition: "A catch-all value used when none of the defined location types apply or when the role/context is unclear."
23107
+ definition: "A catch-all value used when none of the defined location types apply or when the role/context is unclear.",
23108
+ tier: "encounter",
23109
+ anchors: [
23110
+ "person",
23111
+ "session",
23112
+ "event"
23113
+ ],
23114
+ anchorDefault: "person",
23115
+ shareUnit: "addresses",
23116
+ safetyDefault: "ask"
23009
23117
  },
23010
23118
  {
23011
23119
  code: "191-013-000-000-000-000-000",
@@ -23014,7 +23122,15 @@ var locationType_v1_0_0_default = {
23014
23122
  selectable: true,
23015
23123
  parentCode: null,
23016
23124
  childCodes: [],
23017
- definition: "Location associated with an incident (e.g., where an event occurred, was reported, or was investigated), distinct from current residence, jurisdiction/routing, or service delivery context."
23125
+ definition: "Location associated with an incident (e.g., where an event occurred, was reported, or was investigated), distinct from current residence, jurisdiction/routing, or service delivery context.",
23126
+ tier: "encounter",
23127
+ anchors: [
23128
+ "session",
23129
+ "event"
23130
+ ],
23131
+ anchorDefault: "event",
23132
+ shareUnit: "encounter_location",
23133
+ safetyDefault: "ask"
23018
23134
  }
23019
23135
  ]
23020
23136
  };
@@ -38669,8 +38785,8 @@ var coreInformationScope_v1_0_0_default = {
38669
38785
  domain: "core_information_scope",
38670
38786
  name: "Core Information Scope",
38671
38787
  version: "1.0.0",
38672
- _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 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 55 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 PROVISIONAL and may be re-keyed by the Notion steward batch \u2014 pin the id with the product owner before any consumer treats it as stable. PENDING canonical Notion authoring + steward ratification.",
38673
- _source: "htilabstech/prototype/data/cvcs/core_information_scope.yaml @ 285a9f1d (CVC-236 v2, restructured 2026-08-14, amended 2026-09-29; 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 @ 285a9f1d)",
38788
+ _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 PROVISIONAL and may be re-keyed by the Notion steward batch \u2014 pin the id with the product owner before any consumer treats it as stable. PENDING canonical Notion authoring + steward ratification.",
38789
+ _source: "htilabstech/prototype/data/cvcs/core_information_scope.yaml @ 55088d44 (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 @ 55088d44)",
38674
38790
  levels: {
38675
38791
  "0": "Unknown or Missing",
38676
38792
  "1": "Category (policy grain, not selectable)",
@@ -38781,7 +38897,7 @@ var coreInformationScope_v1_0_0_default = {
38781
38897
  selectable: true,
38782
38898
  parentCode: "236-001-000-000-000-000-000",
38783
38899
  childCodes: [],
38784
- definition: "Addresses. Category `identifying`.",
38900
+ definition: "Addresses. Category `identifying`. LOCATION-TYPE-LOGIC 2026-10-01 (Crysta R1/R3): routed at TYPE grain since this date \u2014 the location entries whose CVC-191 reason declares share_unit addresses (the residence tier: current / prior residence \xB7 birthplace; the survivor's own whereabouts: current client/victim location \xB7 jurisdiction / routing \xB7 work / school / business \xB7 travel stop \xB7 other), each delivered with its type label. Where we met / where it happened rides encounter_location; trafficking-event locations ride victimization; legal locations ride system_involvement; the agency's own site rides nothing. The `address` assertion_domain stays mapped here for the viewing axis and the ADDRESS_* audit verbs.",
38785
38901
  levelFloor: 3,
38786
38902
  appRelevance: [
38787
38903
  "PAVE",
@@ -39138,9 +39254,10 @@ var coreInformationScope_v1_0_0_default = {
39138
39254
  childCodes: [
39139
39255
  "236-003-001-000-000-000-000",
39140
39256
  "236-003-002-000-000-000-000",
39141
- "236-003-003-000-000-000-000"
39257
+ "236-003-003-000-000-000-000",
39258
+ "236-003-004-000-000-000-000"
39142
39259
  ],
39143
- definition: "Contact & safety \u2014 policy-grain category. Units under it are the authorization grain. NARROWED 2026-08-14 (restructure ruling 2): contact/service history moved to the NEW services category. SUPERSEDES the 2026-08-13 deliberate-merge note; legacy `contact` grants resolve via the alias layer (CVC-69 precedent). LEADS flag dropped (no LEADS units \u2014 was an empty shell). | 2026-09-29 (PRIORITIES-SAFETY-SCOPE-UNIT, Crysta R1): third unit priorities_safety \u2014 the immediate-needs triage answers, one disclosure decision.",
39260
+ definition: "Contact & safety \u2014 policy-grain category. Units under it are the authorization grain. NARROWED 2026-08-14 (restructure ruling 2): contact/service history moved to the NEW services category. SUPERSEDES the 2026-08-13 deliberate-merge note; legacy `contact` grants resolve via the alias layer (CVC-69 precedent). LEADS flag dropped (no LEADS units \u2014 was an empty shell). | 2026-09-29 (PRIORITIES-SAFETY-SCOPE-UNIT, Crysta R1): third unit priorities_safety \u2014 the immediate-needs triage answers, one disclosure decision. | 2026-10-01 (LOCATION-TYPE-LOGIC, Crysta R2): fourth unit encounter_location \u2014 where we met / where it happened, the session- or event-anchored CVC-191 encounter reasons.",
39144
39261
  levelFloor: 3,
39145
39262
  appRelevance: [
39146
39263
  "PAVE",
@@ -39198,6 +39315,22 @@ var coreInformationScope_v1_0_0_default = {
39198
39315
  shareableDefault: true,
39199
39316
  specialDataType: "survivor_confidential"
39200
39317
  },
39318
+ {
39319
+ code: "236-003-004-000-000-000-000",
39320
+ key: "encounter_location",
39321
+ title: "Encounter location (where we met / where it happened)",
39322
+ selectable: true,
39323
+ parentCode: "236-003-000-000-000-000-000",
39324
+ childCodes: [],
39325
+ definition: "Encounter location (where we met / where it happened). Category `contact`. NEW 2026-10-01 (LOCATION-TYPE-LOGIC, Crysta R2): the location entries whose CVC-191 reason is session- or event-anchored \u2014 Meet / contact (the session card's Meetup / Incident role) and Incident \u2014 authorized as ONE disclosure decision, separate from Addresses. Why it exists: the session card's Meetup / Incident location is encounter-scoped (ADDRESS_INTEGRATION_PLAN row 3 \u2014 a meetup point that belongs to no person), so it was never on the survivor's record and never reached a share; Nate's PAVE 2.0 audit found the same hole from the other direction. Homed under Contact & safety on the 2026-09-29 R1 reasoning: where the survivor was found or met is the safety fact the next advocate needs. Routing is read from CVC-191 (`share_unit: encounter_location` on MEET_LOC + INCIDENT), never hand-listed here; the delivered copy carries each entry with its type label and the session it belongs to. The survivor's own current location stays under Addresses; the agency's own site rides nothing. UDD: capture.encounter_location (apps PAVE + Thread, assertion_domain address). Presets: full_collab (ROI) \xB7 Thread service_referral_packet + mandatory_report (derivation for veto, 2026-09-29 shape).",
39326
+ levelFloor: 3,
39327
+ appRelevance: [
39328
+ "PAVE",
39329
+ "Thread"
39330
+ ],
39331
+ shareableDefault: true,
39332
+ specialDataType: "survivor_confidential"
39333
+ },
39201
39334
  {
39202
39335
  code: "236-004-000-000-000-000-000",
39203
39336
  key: "services",