@htilabs/platform-common-models 0.12.2 → 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.
- package/dist/cvcs/index.cjs +170 -21
- package/dist/cvcs/index.cjs.map +1 -1
- package/dist/cvcs/index.d.cts +182 -27
- package/dist/cvcs/index.d.ts +182 -27
- package/dist/cvcs/index.js +170 -21
- package/dist/cvcs/index.js.map +1 -1
- package/dist/enums/index.cjs +2 -0
- package/dist/enums/index.cjs.map +1 -1
- package/dist/enums/index.d.cts +5 -3
- package/dist/enums/index.d.ts +5 -3
- package/dist/enums/index.js +2 -0
- package/dist/enums/index.js.map +1 -1
- package/dist/{index-4DiJrn7y.d.ts → index-C0J3f169.d.ts} +1 -1
- package/dist/{index-qreOzXYS.d.cts → index-EPjPjR0z.d.cts} +1 -1
- package/dist/index.cjs +227 -28
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +222 -28
- package/dist/index.js.map +1 -1
- package/dist/models/index.d.cts +2 -2
- package/dist/models/index.d.ts +2 -2
- package/dist/schemas/index.cjs +41 -7
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +130 -26
- package/dist/schemas/index.d.ts +130 -26
- package/dist/schemas/index.js +38 -7
- package/dist/schemas/index.js.map +1 -1
- package/dist/{cvc-Cp4uWnAa.d.cts → team-C4LJ5Tex.d.cts} +36 -1
- package/dist/{cvc-Cp4uWnAa.d.ts → team-C4LJ5Tex.d.ts} +36 -1
- package/dist/validation/index.cjs +155 -0
- package/dist/validation/index.cjs.map +1 -1
- package/dist/validation/index.d.cts +1 -1
- package/dist/validation/index.d.ts +1 -1
- package/dist/validation/index.js +153 -0
- package/dist/validation/index.js.map +1 -1
- package/package.json +1 -1
- package/src/__tests__/__snapshots__/cvc-sot.snap +5 -1
- package/src/__tests__/core-information-scope-invariant.test.ts +179 -2
- package/src/__tests__/cvc-sot-snapshot.test.ts +10 -0
- package/src/__tests__/cvc-structural.test.ts +3 -0
- package/src/__tests__/location-type-routing-invariant.test.ts +202 -0
- package/src/__tests__/team-directory-fields.test.ts +252 -0
- package/src/cvcs/coreInformationScope.v1.0.0.json +39 -5
- package/src/cvcs/index.ts +3 -0
- package/src/cvcs/locationType.v1.0.0.json +131 -16
- package/src/generated/cvc-enums.ts +5 -3
- package/src/index.ts +7 -0
- package/src/schemas/index.ts +8 -0
- package/src/schemas/team.ts +118 -0
- package/src/validation/index.ts +1 -0
- package/src/validation/team.ts +48 -0
- package/dist/{cvcEntry-ctHTp2df.d.cts → cvcEntry-DaDrEuTa.d.cts} +8 -8
- package/dist/{cvcEntry-ctHTp2df.d.ts → cvcEntry-DaDrEuTa.d.ts} +8 -8
package/dist/cvcs/index.d.cts
CHANGED
|
@@ -7786,7 +7786,7 @@ var domain$2s = "share_purpose";
|
|
|
7786
7786
|
var name$2s = "Core Share Purpose";
|
|
7787
7787
|
var version$2s = "1.1.0";
|
|
7788
7788
|
var _status$1Q = "Synced verbatim from canonical CVC-84 (renamed `core-sharing_purpose` 2026-08-19). 8 core rows from `core_share_purpose.yaml` + 4 LEADS-wing rows from `core_share_purpose_extensions_leads.yaml`, which the prototype's `build_sharing_purpose_catalog.py` joins into the 12-row catalog. The wing rows were RATIFIED 2026-07-03 and live-synced 2026-08-19 (no longer proposal-only). 0.8.16 shipped the core 8 only, and shipped them WITHOUT the decision attributes — which is how a consumer came to map `deconfliction` and `automatic_account_share` onto each other's legacy policy rows. `setBy`, `wing`, `appScope` and `needToKnowArm` are now carried as data so that mapping is derivable rather than inferred from titles. Codes 084-001..008 are FROZEN at their published key assignment; the wing rows take 084-009..012, so nothing already stored changes meaning.";
|
|
7789
|
-
var _source$
|
|
7789
|
+
var _source$1T = "htilabstech/prototype data/cvcs/core_share_purpose.yaml + core_share_purpose_extensions_leads.yaml";
|
|
7790
7790
|
var levels$2s = {
|
|
7791
7791
|
"1": "Purpose"
|
|
7792
7792
|
};
|
|
@@ -7947,7 +7947,7 @@ var sharePurpose_v1_0_0 = {
|
|
|
7947
7947
|
name: name$2s,
|
|
7948
7948
|
version: version$2s,
|
|
7949
7949
|
_status: _status$1Q,
|
|
7950
|
-
_source: _source$
|
|
7950
|
+
_source: _source$1T,
|
|
7951
7951
|
levels: levels$2s,
|
|
7952
7952
|
entries: entries$2s
|
|
7953
7953
|
};
|
|
@@ -8068,7 +8068,7 @@ var domain$2p = "share_response_reason";
|
|
|
8068
8068
|
var name$2p = "Core Share Response Reason";
|
|
8069
8069
|
var version$2p = "1.0.0";
|
|
8070
8070
|
var _status$1P = "CANONICAL — Notion CVC-306 `core-share_response_reason` v1.1, `vocab_status: active` (minted 2026-08-23 in the Crysta-approved steward batch; FULL AUDIT 2026-09-14, SHARING-FAMILY-AUDIT -> Active / 1.1). Exported from prototype canon @ 6c2cfc0a, where it had sat unexported. The STRUCTURED reasons a recipient gives when responding to an inbound case share: ONE codebook with per-CONTEXT selectability (`field_review` · `decline_share` · `reject_share`) carried per entry as `contexts` — a consumer building a picker for one context filters on it, never on `selectable` alone. Rulings encoded upstream (Crysta 2026-08-23): reasons are CHIPS, not prose — an optional free-text note may ride alongside, never instead (R14); reasons NEVER travel to the sender in v1 (R16); 'connected with the person and they didn't want services' is an ACCEPT + CVC-219 why-nots, never a decline (R15). WORDING (title, definition, `guidance`, `logicNotes`) is verbatim from the Notion codebook export, which the yaml mirror's own header says wins on wording; `tobyRetention` is the yaml mirror's policy-as-data column. Positional ordinals 306-001..010 are MINTED in codebook row order (the codebook's Code column carries slugs only) and FROZEN at that key assignment: a new reason appends at 306-011+, a published code is never renumbered or reused. MISSINGNESS is canon's v1.1 shape: ONE ingestion-only sentinel, UNK (key `unknown`, `canonicalCode: UNK`, `selectable: false` — canon: never a picker chip; a reason is required at the act). The codebook's archived row(s) DNC (\"Not a value; never emit\") are OMITTED entirely — no code is assigned, and none ever shipped in a platform-common release. NUMBER: self-declared `cvc_id: CVC-306` and carried by upstream CVC_INDEX.md (`core-share_response_reason`), but the cvcIndex pin (622410b) predates that row, so the drift gate files this domain INDEX_ABSENT until the next pin refresh promotes it to CANONICAL_BINDING.";
|
|
8071
|
-
var _source$
|
|
8071
|
+
var _source$1S = "htilabstech/prototype/data/cvcs/core_share_response_reason.yaml @ 6c2cfc0a + htilabstech/prototype/Final CVCs/Sharing (IC-65)/core - share_response_reason — codebook.csv @ 6c2cfc0a (Notion CVC-306 v1.1; read from origin/main)";
|
|
8072
8072
|
var contexts = {
|
|
8073
8073
|
field_review: "Field review",
|
|
8074
8074
|
decline_share: "Decline share",
|
|
@@ -8299,7 +8299,7 @@ var shareResponseReason_v1_0_0 = {
|
|
|
8299
8299
|
name: name$2p,
|
|
8300
8300
|
version: version$2p,
|
|
8301
8301
|
_status: _status$1P,
|
|
8302
|
-
_source: _source$
|
|
8302
|
+
_source: _source$1S,
|
|
8303
8303
|
contexts: contexts,
|
|
8304
8304
|
levels: levels$2p,
|
|
8305
8305
|
entries: entries$2p
|
|
@@ -10096,7 +10096,7 @@ var _status$1N = {
|
|
|
10096
10096
|
ordinals: "APPENDED, never interleaved. Segment-3 ordinals inside a topic are otherwise alphabetical by key, so alphabetical insertion would have put `parental_figure_dependent` at 126-001-005 and reshuffled `parent_child` / `sibling`. New types are appended at the end of their topic (126-001-007 after `sibling`; 126-002-003 / 126-002-004 after `spouse_partner`) so every previously issued positional code stays stable — the same rule CVC-136 states for its appends. Consumers persist KEYS, not wire codes, so the appends are additive in both directions.",
|
|
10097
10097
|
roleStructure: "Unchanged by this append: an ASYMMETRIC type carries 2 level-3 directional role children ordered alphabetically by key (`guardian_dependent` -> `dependent_of` / `guardian_of`); a SYMMETRIC type carries none (`sibling`, `spouse_partner`, `dating_relationship`, ...). `parental_figure_dependent` is asymmetric and so mirrors `guardian_dependent` exactly; `intimate_romantic_partner` and `intimate_partner_prior` are symmetric in the canonical picker (`symmetric: true`) and so carry no role children."
|
|
10098
10098
|
};
|
|
10099
|
-
var _source$
|
|
10099
|
+
var _source$1R = "htilabstech/prototype@622410b HTI-LEADS-PAVE-Thread-prototype.html L121814-121993 (`REL_CATEGORIES`) — reference for the 3 appended types only; the 30 pre-existing types remain sourced from the Notion codebook";
|
|
10100
10100
|
var levels$2d = {
|
|
10101
10101
|
"0": "Unknown or Missing",
|
|
10102
10102
|
"1": "Topic",
|
|
@@ -11140,7 +11140,7 @@ var personRelationships_v1_0_0 = {
|
|
|
11140
11140
|
name: name$2d,
|
|
11141
11141
|
version: version$2d,
|
|
11142
11142
|
_status: _status$1N,
|
|
11143
|
-
_source: _source$
|
|
11143
|
+
_source: _source$1R,
|
|
11144
11144
|
levels: levels$2d,
|
|
11145
11145
|
entries: entries$2d
|
|
11146
11146
|
};
|
|
@@ -11481,6 +11481,7 @@ var employmentStatus_v1_0_0 = {
|
|
|
11481
11481
|
var domain$2b = "location_type";
|
|
11482
11482
|
var name$2b = "Core Location Type";
|
|
11483
11483
|
var version$2b = "1.0.0";
|
|
11484
|
+
var _source$1Q = "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 · anchors · anchorDefault · shareUnit · 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 — 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.";
|
|
11484
11485
|
var levels$2b = {
|
|
11485
11486
|
"0": "Unknown or Missing",
|
|
11486
11487
|
"1": "Category"
|
|
@@ -11507,7 +11508,13 @@ var entries$2b = [
|
|
|
11507
11508
|
parentCode: "191-000-000-000-000-000-000",
|
|
11508
11509
|
childCodes: [
|
|
11509
11510
|
],
|
|
11510
|
-
definition: "Unknown or cannot be determined from the available information."
|
|
11511
|
+
definition: "Unknown or cannot be determined from the available information.",
|
|
11512
|
+
tier: "sentinel",
|
|
11513
|
+
anchors: [
|
|
11514
|
+
],
|
|
11515
|
+
anchorDefault: null,
|
|
11516
|
+
shareUnit: null,
|
|
11517
|
+
safetyDefault: null
|
|
11511
11518
|
},
|
|
11512
11519
|
{
|
|
11513
11520
|
code: "191-000-000-000-000-000-002",
|
|
@@ -11517,7 +11524,13 @@ var entries$2b = [
|
|
|
11517
11524
|
parentCode: "191-000-000-000-000-000-000",
|
|
11518
11525
|
childCodes: [
|
|
11519
11526
|
],
|
|
11520
|
-
definition: "Information may be withheld by preference or due to redaction; identity is anonymous or redacted."
|
|
11527
|
+
definition: "Information may be withheld by preference or due to redaction; identity is anonymous or redacted.",
|
|
11528
|
+
tier: "sentinel",
|
|
11529
|
+
anchors: [
|
|
11530
|
+
],
|
|
11531
|
+
anchorDefault: null,
|
|
11532
|
+
shareUnit: null,
|
|
11533
|
+
safetyDefault: null
|
|
11521
11534
|
},
|
|
11522
11535
|
{
|
|
11523
11536
|
code: "191-000-000-000-000-000-003",
|
|
@@ -11527,7 +11540,13 @@ var entries$2b = [
|
|
|
11527
11540
|
parentCode: "191-000-000-000-000-000-000",
|
|
11528
11541
|
childCodes: [
|
|
11529
11542
|
],
|
|
11530
|
-
definition: "No attempt was made to collect the information."
|
|
11543
|
+
definition: "No attempt was made to collect the information.",
|
|
11544
|
+
tier: "sentinel",
|
|
11545
|
+
anchors: [
|
|
11546
|
+
],
|
|
11547
|
+
anchorDefault: null,
|
|
11548
|
+
shareUnit: null,
|
|
11549
|
+
safetyDefault: null
|
|
11531
11550
|
},
|
|
11532
11551
|
{
|
|
11533
11552
|
code: "191-001-000-000-000-000-000",
|
|
@@ -11537,7 +11556,14 @@ var entries$2b = [
|
|
|
11537
11556
|
parentCode: null,
|
|
11538
11557
|
childCodes: [
|
|
11539
11558
|
],
|
|
11540
|
-
definition: "Where the client/person currently resides (residential location)."
|
|
11559
|
+
definition: "Where the client/person currently resides (residential location).",
|
|
11560
|
+
tier: "residence",
|
|
11561
|
+
anchors: [
|
|
11562
|
+
"person"
|
|
11563
|
+
],
|
|
11564
|
+
anchorDefault: "person",
|
|
11565
|
+
shareUnit: "addresses",
|
|
11566
|
+
safetyDefault: "ask"
|
|
11541
11567
|
},
|
|
11542
11568
|
{
|
|
11543
11569
|
code: "191-002-000-000-000-000-000",
|
|
@@ -11547,7 +11573,16 @@ var entries$2b = [
|
|
|
11547
11573
|
parentCode: null,
|
|
11548
11574
|
childCodes: [
|
|
11549
11575
|
],
|
|
11550
|
-
definition: "The physical site where a service instance was delivered (office, outreach site, partner site, on-scene)."
|
|
11576
|
+
definition: "The physical site where a service instance was delivered (office, outreach site, partner site, on-scene).",
|
|
11577
|
+
tier: "service",
|
|
11578
|
+
anchors: [
|
|
11579
|
+
"service_instance",
|
|
11580
|
+
"agency_program",
|
|
11581
|
+
"person"
|
|
11582
|
+
],
|
|
11583
|
+
anchorDefault: "service_instance",
|
|
11584
|
+
shareUnit: "service_history",
|
|
11585
|
+
safetyDefault: "ask"
|
|
11551
11586
|
},
|
|
11552
11587
|
{
|
|
11553
11588
|
code: "191-003-000-000-000-000-000",
|
|
@@ -11557,7 +11592,14 @@ var entries$2b = [
|
|
|
11557
11592
|
parentCode: null,
|
|
11558
11593
|
childCodes: [
|
|
11559
11594
|
],
|
|
11560
|
-
definition: "Where the client/victim/caller is physically located at the time of contact or service (operational safety location)."
|
|
11595
|
+
definition: "Where the client/victim/caller is physically located at the time of contact or service (operational safety location).",
|
|
11596
|
+
tier: "encounter",
|
|
11597
|
+
anchors: [
|
|
11598
|
+
"person"
|
|
11599
|
+
],
|
|
11600
|
+
anchorDefault: "person",
|
|
11601
|
+
shareUnit: "addresses",
|
|
11602
|
+
safetyDefault: "ask"
|
|
11561
11603
|
},
|
|
11562
11604
|
{
|
|
11563
11605
|
code: "191-004-000-000-000-000-000",
|
|
@@ -11567,7 +11609,16 @@ var entries$2b = [
|
|
|
11567
11609
|
parentCode: null,
|
|
11568
11610
|
childCodes: [
|
|
11569
11611
|
],
|
|
11570
|
-
definition: "A location where an in-person meeting/contact/event occurred (e.g., meet location, arrest location, outreach contact site)."
|
|
11612
|
+
definition: "A location where an in-person meeting/contact/event occurred (e.g., meet location, arrest location, outreach contact site).",
|
|
11613
|
+
tier: "encounter",
|
|
11614
|
+
anchors: [
|
|
11615
|
+
"session",
|
|
11616
|
+
"event",
|
|
11617
|
+
"person"
|
|
11618
|
+
],
|
|
11619
|
+
anchorDefault: "session",
|
|
11620
|
+
shareUnit: "encounter_location",
|
|
11621
|
+
safetyDefault: "ask"
|
|
11571
11622
|
},
|
|
11572
11623
|
{
|
|
11573
11624
|
code: "191-005-000-000-000-000-000",
|
|
@@ -11577,7 +11628,14 @@ var entries$2b = [
|
|
|
11577
11628
|
parentCode: null,
|
|
11578
11629
|
childCodes: [
|
|
11579
11630
|
],
|
|
11580
|
-
definition: "Where the client/person previously resided (historical residential location)."
|
|
11631
|
+
definition: "Where the client/person previously resided (historical residential location).",
|
|
11632
|
+
tier: "residence",
|
|
11633
|
+
anchors: [
|
|
11634
|
+
"person"
|
|
11635
|
+
],
|
|
11636
|
+
anchorDefault: "person",
|
|
11637
|
+
shareUnit: "addresses",
|
|
11638
|
+
safetyDefault: "ask"
|
|
11581
11639
|
},
|
|
11582
11640
|
{
|
|
11583
11641
|
code: "191-006-000-000-000-000-000",
|
|
@@ -11587,7 +11645,14 @@ var entries$2b = [
|
|
|
11587
11645
|
parentCode: null,
|
|
11588
11646
|
childCodes: [
|
|
11589
11647
|
],
|
|
11590
|
-
definition: "A location used to determine jurisdiction, eligibility, or referral routing (e.g., county, city, CoC code, service area)."
|
|
11648
|
+
definition: "A location used to determine jurisdiction, eligibility, or referral routing (e.g., county, city, CoC code, service area).",
|
|
11649
|
+
tier: "encounter",
|
|
11650
|
+
anchors: [
|
|
11651
|
+
"person"
|
|
11652
|
+
],
|
|
11653
|
+
anchorDefault: "person",
|
|
11654
|
+
shareUnit: "addresses",
|
|
11655
|
+
safetyDefault: "ask"
|
|
11591
11656
|
},
|
|
11592
11657
|
{
|
|
11593
11658
|
code: "191-007-000-000-000-000-000",
|
|
@@ -11597,7 +11662,14 @@ var entries$2b = [
|
|
|
11597
11662
|
parentCode: null,
|
|
11598
11663
|
childCodes: [
|
|
11599
11664
|
],
|
|
11600
|
-
definition: "A location inferred from ads/postings (posting city/region/board) used for analytics such as base location, travel, and heat maps."
|
|
11665
|
+
definition: "A location inferred from ads/postings (posting city/region/board) used for analytics such as base location, travel, and heat maps.",
|
|
11666
|
+
tier: "derived",
|
|
11667
|
+
anchors: [
|
|
11668
|
+
"person"
|
|
11669
|
+
],
|
|
11670
|
+
anchorDefault: "person",
|
|
11671
|
+
shareUnit: "commercial_activity",
|
|
11672
|
+
safetyDefault: null
|
|
11601
11673
|
},
|
|
11602
11674
|
{
|
|
11603
11675
|
code: "191-008-000-000-000-000-000",
|
|
@@ -11607,7 +11679,15 @@ var entries$2b = [
|
|
|
11607
11679
|
parentCode: null,
|
|
11608
11680
|
childCodes: [
|
|
11609
11681
|
],
|
|
11610
|
-
definition: "A location representing a travel instance or visit (part of a travel log/itinerary), with time bounds."
|
|
11682
|
+
definition: "A location representing a travel instance or visit (part of a travel log/itinerary), with time bounds.",
|
|
11683
|
+
tier: "encounter",
|
|
11684
|
+
anchors: [
|
|
11685
|
+
"person",
|
|
11686
|
+
"event"
|
|
11687
|
+
],
|
|
11688
|
+
anchorDefault: "person",
|
|
11689
|
+
shareUnit: "addresses",
|
|
11690
|
+
safetyDefault: "ask"
|
|
11611
11691
|
},
|
|
11612
11692
|
{
|
|
11613
11693
|
code: "191-009-000-000-000-000-000",
|
|
@@ -11617,7 +11697,14 @@ var entries$2b = [
|
|
|
11617
11697
|
parentCode: null,
|
|
11618
11698
|
childCodes: [
|
|
11619
11699
|
],
|
|
11620
|
-
definition: "A location associated with work, school, or business activity (legal or illicit), including known venues tied to an entity."
|
|
11700
|
+
definition: "A location associated with work, school, or business activity (legal or illicit), including known venues tied to an entity.",
|
|
11701
|
+
tier: "encounter",
|
|
11702
|
+
anchors: [
|
|
11703
|
+
"person"
|
|
11704
|
+
],
|
|
11705
|
+
anchorDefault: "person",
|
|
11706
|
+
shareUnit: "addresses",
|
|
11707
|
+
safetyDefault: "ask"
|
|
11621
11708
|
},
|
|
11622
11709
|
{
|
|
11623
11710
|
code: "191-010-000-000-000-000-000",
|
|
@@ -11627,7 +11714,14 @@ var entries$2b = [
|
|
|
11627
11714
|
parentCode: null,
|
|
11628
11715
|
childCodes: [
|
|
11629
11716
|
],
|
|
11630
|
-
definition: "A location inferred from an IP address (geolocation-derived), used as a signal rather than a confirmed physical location."
|
|
11717
|
+
definition: "A location inferred from an IP address (geolocation-derived), used as a signal rather than a confirmed physical location.",
|
|
11718
|
+
tier: "derived",
|
|
11719
|
+
anchors: [
|
|
11720
|
+
"person"
|
|
11721
|
+
],
|
|
11722
|
+
anchorDefault: "person",
|
|
11723
|
+
shareUnit: "commercial_activity",
|
|
11724
|
+
safetyDefault: null
|
|
11631
11725
|
},
|
|
11632
11726
|
{
|
|
11633
11727
|
code: "191-011-000-000-000-000-000",
|
|
@@ -11637,7 +11731,14 @@ var entries$2b = [
|
|
|
11637
11731
|
parentCode: null,
|
|
11638
11732
|
childCodes: [
|
|
11639
11733
|
],
|
|
11640
|
-
definition: "A location describing a program, shelter, project site, or provider location used for reporting (e.g., HMIS project descriptor)."
|
|
11734
|
+
definition: "A location describing a program, shelter, project site, or provider location used for reporting (e.g., HMIS project descriptor).",
|
|
11735
|
+
tier: "service",
|
|
11736
|
+
anchors: [
|
|
11737
|
+
"agency_program"
|
|
11738
|
+
],
|
|
11739
|
+
anchorDefault: "agency_program",
|
|
11740
|
+
shareUnit: null,
|
|
11741
|
+
safetyDefault: "safe"
|
|
11641
11742
|
},
|
|
11642
11743
|
{
|
|
11643
11744
|
code: "191-012-000-000-000-000-000",
|
|
@@ -11647,7 +11748,16 @@ var entries$2b = [
|
|
|
11647
11748
|
parentCode: null,
|
|
11648
11749
|
childCodes: [
|
|
11649
11750
|
],
|
|
11650
|
-
definition: "A catch-all value used when none of the defined location types apply or when the role/context is unclear."
|
|
11751
|
+
definition: "A catch-all value used when none of the defined location types apply or when the role/context is unclear.",
|
|
11752
|
+
tier: "encounter",
|
|
11753
|
+
anchors: [
|
|
11754
|
+
"person",
|
|
11755
|
+
"session",
|
|
11756
|
+
"event"
|
|
11757
|
+
],
|
|
11758
|
+
anchorDefault: "person",
|
|
11759
|
+
shareUnit: "addresses",
|
|
11760
|
+
safetyDefault: "ask"
|
|
11651
11761
|
},
|
|
11652
11762
|
{
|
|
11653
11763
|
code: "191-013-000-000-000-000-000",
|
|
@@ -11657,13 +11767,22 @@ var entries$2b = [
|
|
|
11657
11767
|
parentCode: null,
|
|
11658
11768
|
childCodes: [
|
|
11659
11769
|
],
|
|
11660
|
-
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."
|
|
11770
|
+
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.",
|
|
11771
|
+
tier: "encounter",
|
|
11772
|
+
anchors: [
|
|
11773
|
+
"session",
|
|
11774
|
+
"event"
|
|
11775
|
+
],
|
|
11776
|
+
anchorDefault: "event",
|
|
11777
|
+
shareUnit: "encounter_location",
|
|
11778
|
+
safetyDefault: "ask"
|
|
11661
11779
|
}
|
|
11662
11780
|
];
|
|
11663
11781
|
var locationType_v1_0_0 = {
|
|
11664
11782
|
domain: domain$2b,
|
|
11665
11783
|
name: name$2b,
|
|
11666
11784
|
version: version$2b,
|
|
11785
|
+
_source: _source$1Q,
|
|
11667
11786
|
levels: levels$2b,
|
|
11668
11787
|
entries: entries$2b
|
|
11669
11788
|
};
|
|
@@ -29317,8 +29436,8 @@ var needsAssessmentChangeType_v1_0_0 = {
|
|
|
29317
29436
|
var domain$E = "core_information_scope";
|
|
29318
29437
|
var name$E = "Core Information Scope";
|
|
29319
29438
|
var version$E = "1.0.0";
|
|
29320
|
-
var _status$D = "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 /
|
|
29321
|
-
var _source$D = "htilabstech/prototype
|
|
29439
|
+
var _status$D = "DRAFT: canonical number 236, self-declared by the source YAML (`cvc_id: CVC-236`); CVC_INDEX.md carries no row for it yet, so the drift gate classifies it INDEX_ABSENT. Sourced from canonical CVC-236 `core_information_scope` v2 (authored 2026-08-13, restructured 2026-08-14): 12 categories / 56 units. TWO GRAINS, deliberately modelled as hierarchy: L1 categories are the POLICY grain and are NOT selectable; L2 units are the AUTHORIZATION grain and are what an ROI or a share actually authorizes. This is the axis the sibling `roi_scope` domain deliberately omits — `roi_scope` is the flat item vocabulary, and its 27 substantive keys are a strict SUBSET of the 56 units here, with no renames and no collisions. That subset relationship is what makes adopting this domain additive: every stored ROI keeps its exact recorded meaning. `safe_locations` is PROVISIONAL and may be re-keyed by the Notion steward batch — pin the id with the product owner before any consumer treats it as stable. PENDING canonical Notion authoring + steward ratification.";
|
|
29440
|
+
var _source$D = "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 — codebook.csv @ 55088d44)";
|
|
29322
29441
|
var levels$E = {
|
|
29323
29442
|
"0": "Unknown or Missing",
|
|
29324
29443
|
"1": "Category (policy grain, not selectable)",
|
|
@@ -29435,7 +29554,7 @@ var entries$E = [
|
|
|
29435
29554
|
parentCode: "236-001-000-000-000-000-000",
|
|
29436
29555
|
childCodes: [
|
|
29437
29556
|
],
|
|
29438
|
-
definition: "Addresses. Category `identifying`.",
|
|
29557
|
+
definition: "Addresses. Category `identifying`. LOCATION-TYPE-LOGIC 2026-10-01 (Crysta R1/R3): routed at TYPE grain since this date — the location entries whose CVC-191 reason declares share_unit addresses (the residence tier: current / prior residence · birthplace; the survivor's own whereabouts: current client/victim location · jurisdiction / routing · work / school / business · travel stop · 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.",
|
|
29439
29558
|
levelFloor: 3,
|
|
29440
29559
|
appRelevance: [
|
|
29441
29560
|
"PAVE",
|
|
@@ -29810,9 +29929,11 @@ var entries$E = [
|
|
|
29810
29929
|
parentCode: null,
|
|
29811
29930
|
childCodes: [
|
|
29812
29931
|
"236-003-001-000-000-000-000",
|
|
29813
|
-
"236-003-002-000-000-000-000"
|
|
29932
|
+
"236-003-002-000-000-000-000",
|
|
29933
|
+
"236-003-003-000-000-000-000",
|
|
29934
|
+
"236-003-004-000-000-000-000"
|
|
29814
29935
|
],
|
|
29815
|
-
definition: "Contact & safety — 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 — was an empty shell).",
|
|
29936
|
+
definition: "Contact & safety — 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 — was an empty shell). | 2026-09-29 (PRIORITIES-SAFETY-SCOPE-UNIT, Crysta R1): third unit priorities_safety — the immediate-needs triage answers, one disclosure decision. | 2026-10-01 (LOCATION-TYPE-LOGIC, Crysta R2): fourth unit encounter_location — where we met / where it happened, the session- or event-anchored CVC-191 encounter reasons.",
|
|
29816
29937
|
levelFloor: 3,
|
|
29817
29938
|
appRelevance: [
|
|
29818
29939
|
"PAVE",
|
|
@@ -29856,6 +29977,40 @@ var entries$E = [
|
|
|
29856
29977
|
specialDataType: "survivor_confidential",
|
|
29857
29978
|
platformFloor: true
|
|
29858
29979
|
},
|
|
29980
|
+
{
|
|
29981
|
+
code: "236-003-003-000-000-000-000",
|
|
29982
|
+
key: "priorities_safety",
|
|
29983
|
+
title: "Priorities & Safety (immediate needs triage)",
|
|
29984
|
+
selectable: true,
|
|
29985
|
+
parentCode: "236-003-000-000-000-000-000",
|
|
29986
|
+
childCodes: [
|
|
29987
|
+
],
|
|
29988
|
+
definition: "Priorities & Safety (immediate needs triage). Category `contact`. NEW 2026-09-29 (PRIORITIES-SAFETY-SCOPE-UNIT, Crysta R1): the completed Immediate Priorities / Priorities & Safety triage, authorized as ONE disclosure decision — Q1 immediate danger + source of the danger + harm-doer nearby + safe place to go · Q2 health needs · Q3 interpreter · Q4 urgent basic needs · Q5 transportation (method / time / pickup location) · Q6 emergency shelter · Q7 dependents at risk · Q8 other. Instrument-grain unit on the initial_screen / lap precedent (ruling 1, 2026-08-13), homed under Contact & safety because the answers that had no home are safety facts; the service instances the step derives ride services/service_history on their own. Bidirectional Thread Signal ↔ PAVE mirror on Q1 (GDR § 6.9.7) — one unit, both apps. domain_map: priorities_safety → this unit (R3 EXECUTED later the same day, PRIORITIES-SAFETY-RECORD): CVC-159 domain priorities_safety (Level 1) + monolith emitter emitPrioritiesAnswerCAR (one CAR per answered question) + UDD row capture.priorities_safety; production persistence of the answers stays with Nate under RWT-NEW-priorities-safety-record-and-udd-2026-09-29. Minted in the Notion codebook the same day; codebook row re-synced to the record 2026-09-29.",
|
|
29989
|
+
levelFloor: 3,
|
|
29990
|
+
appRelevance: [
|
|
29991
|
+
"PAVE",
|
|
29992
|
+
"Thread"
|
|
29993
|
+
],
|
|
29994
|
+
shareableDefault: true,
|
|
29995
|
+
specialDataType: "survivor_confidential"
|
|
29996
|
+
},
|
|
29997
|
+
{
|
|
29998
|
+
code: "236-003-004-000-000-000-000",
|
|
29999
|
+
key: "encounter_location",
|
|
30000
|
+
title: "Encounter location (where we met / where it happened)",
|
|
30001
|
+
selectable: true,
|
|
30002
|
+
parentCode: "236-003-000-000-000-000-000",
|
|
30003
|
+
childCodes: [
|
|
30004
|
+
],
|
|
30005
|
+
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 — Meet / contact (the session card's Meetup / Incident role) and Incident — 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 — 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) · Thread service_referral_packet + mandatory_report (derivation for veto, 2026-09-29 shape).",
|
|
30006
|
+
levelFloor: 3,
|
|
30007
|
+
appRelevance: [
|
|
30008
|
+
"PAVE",
|
|
30009
|
+
"Thread"
|
|
30010
|
+
],
|
|
30011
|
+
shareableDefault: true,
|
|
30012
|
+
specialDataType: "survivor_confidential"
|
|
30013
|
+
},
|
|
29859
30014
|
{
|
|
29860
30015
|
code: "236-004-000-000-000-000-000",
|
|
29861
30016
|
key: "services",
|