@htilabs/platform-common-models 0.8.20 → 0.8.22

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 (44) hide show
  1. package/dist/constants/index.cjs +5 -1
  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 +5 -1
  6. package/dist/constants/index.js.map +1 -1
  7. package/dist/cvcs/index.cjs +128 -58
  8. package/dist/cvcs/index.cjs.map +1 -1
  9. package/dist/cvcs/index.d.cts +1929 -1849
  10. package/dist/cvcs/index.d.ts +1929 -1849
  11. package/dist/cvcs/index.js +127 -58
  12. package/dist/cvcs/index.js.map +1 -1
  13. package/dist/{index-C0J3f169.d.ts → index-4DiJrn7y.d.ts} +1 -1
  14. package/dist/{index-EPjPjR0z.d.cts → index-qreOzXYS.d.cts} +1 -1
  15. package/dist/index.cjs +149 -66
  16. package/dist/index.cjs.map +1 -1
  17. package/dist/index.d.cts +25 -12
  18. package/dist/index.d.ts +25 -12
  19. package/dist/index.js +147 -66
  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/{platform-auth-CvQkzOy1.d.cts → platform-auth-91Hcl8F8.d.cts} +3 -2
  24. package/dist/{platform-auth-CvQkzOy1.d.ts → platform-auth-91Hcl8F8.d.ts} +3 -2
  25. package/dist/schemas/index.cjs +5 -1
  26. package/dist/schemas/index.cjs.map +1 -1
  27. package/dist/schemas/index.d.cts +25 -25
  28. package/dist/schemas/index.d.ts +25 -25
  29. package/dist/schemas/index.js +5 -1
  30. package/dist/schemas/index.js.map +1 -1
  31. package/dist/types/index.d.cts +2 -2
  32. package/dist/types/index.d.ts +2 -2
  33. package/package.json +1 -1
  34. package/src/__tests__/__snapshots__/cvc-sot.snap +4 -4
  35. package/src/__tests__/cvc-drift-gate.test.ts +17 -4
  36. package/src/__tests__/cvc-sot-snapshot.test.ts +8 -3
  37. package/src/constants/ic.ts +4 -0
  38. package/src/cvcs/assertionDomain.v1.1.0.json +4 -57
  39. package/src/cvcs/incidentParticipationRoles.v1.0.0.json +11 -1
  40. package/src/cvcs/index.ts +2 -0
  41. package/src/cvcs/riskIdentificationMilestone.v1.0.0.json +109 -0
  42. package/src/generated/cvc-enums.ts +22 -7
  43. package/dist/{cvcEntry-DaDrEuTa.d.cts → cvcEntry-ctHTp2df.d.cts} +8 -8
  44. package/dist/{cvcEntry-DaDrEuTa.d.ts → cvcEntry-ctHTp2df.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-DaDrEuTa.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-ctHTp2df.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-DaDrEuTa.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-ctHTp2df.cjs';
2
2
  import * as mongoose from 'mongoose';
3
3
  import { HydratedDocument, Connection, Model } from 'mongoose';
4
4
 
package/dist/index.cjs CHANGED
@@ -409,6 +409,7 @@ __export(src_exports, {
409
409
  RelationshipTiesKeys: () => RelationshipTiesKeys,
410
410
  ReturnedToAbuserStatusKeys: () => ReturnedToAbuserStatusKeys,
411
411
  RiskCategoryKeys: () => RiskCategoryKeys,
412
+ RiskIdentificationMilestoneKeys: () => RiskIdentificationMilestoneKeys,
412
413
  RiskSeverityBandKeys: () => RiskSeverityBandKeys,
413
414
  RoiMethodKeys: () => RoiMethodKeys,
414
415
  RoiScopeKeys: () => RoiScopeKeys,
@@ -661,6 +662,7 @@ __export(src_exports, {
661
662
  resolveRegistryWithInheritance: () => resolveRegistryWithInheritance,
662
663
  returnedToAbuserStatusSot: () => returnedToAbuserStatus_v1_0_0_default,
663
664
  riskCategorySot: () => riskCategory_v1_0_0_default,
665
+ riskIdentificationMilestoneSot: () => riskIdentificationMilestone_v1_0_0_default,
664
666
  riskSeverityBandSot: () => riskSeverityBand_v1_0_0_default,
665
667
  roiMethodSot: () => roiMethod_v1_0_0_default,
666
668
  roiScopeSot: () => roiScope_v1_0_0_default,
@@ -2091,6 +2093,7 @@ var INCIDENT_PARTICIPATION_ROLE = {
2091
2093
  DATA_ENTRY: "data_entry",
2092
2094
  OTHER_INCIDENT_RESPONDER: "other_incident_responder",
2093
2095
  RESPONDING_OFFICER: "responding_officer",
2096
+ LEGAL_PROFESSIONAL: "legal_professional",
2094
2097
  UNKNOWN: "unknown",
2095
2098
  ANONYMOUS: "anonymous",
2096
2099
  DATA_NOT_COLLECTED: "data_not_collected"
@@ -2107,6 +2110,7 @@ var INCIDENT_PARTICIPATION_ROLE_VALUES = [
2107
2110
  INCIDENT_PARTICIPATION_ROLE.DATA_ENTRY,
2108
2111
  INCIDENT_PARTICIPATION_ROLE.OTHER_INCIDENT_RESPONDER,
2109
2112
  INCIDENT_PARTICIPATION_ROLE.RESPONDING_OFFICER,
2113
+ INCIDENT_PARTICIPATION_ROLE.LEGAL_PROFESSIONAL,
2110
2114
  INCIDENT_PARTICIPATION_ROLE.UNKNOWN,
2111
2115
  INCIDENT_PARTICIPATION_ROLE.ANONYMOUS,
2112
2116
  INCIDENT_PARTICIPATION_ROLE.DATA_NOT_COLLECTED
@@ -2123,6 +2127,7 @@ var INCIDENT_PARTICIPATION_ROLE_LABELS = {
2123
2127
  [INCIDENT_PARTICIPATION_ROLE.DATA_ENTRY]: "Data Entry / Editor",
2124
2128
  [INCIDENT_PARTICIPATION_ROLE.OTHER_INCIDENT_RESPONDER]: "VSP or Other Incident Responder",
2125
2129
  [INCIDENT_PARTICIPATION_ROLE.RESPONDING_OFFICER]: "LE Responding Officer",
2130
+ [INCIDENT_PARTICIPATION_ROLE.LEGAL_PROFESSIONAL]: "Legal Professional",
2126
2131
  [INCIDENT_PARTICIPATION_ROLE.UNKNOWN]: "Unknown",
2127
2132
  [INCIDENT_PARTICIPATION_ROLE.ANONYMOUS]: "Anonymous",
2128
2133
  [INCIDENT_PARTICIPATION_ROLE.DATA_NOT_COLLECTED]: "Not Collected"
@@ -2140,7 +2145,8 @@ var PARTICIPATION_ROLE_CATEGORIES = {
2140
2145
  ],
2141
2146
  SYSTEM_PROFESSIONAL: [
2142
2147
  INCIDENT_PARTICIPATION_ROLE.SERVICE_PROVIDER_STAFF,
2143
- INCIDENT_PARTICIPATION_ROLE.MEDICAL_PROVIDER_STAFF
2148
+ INCIDENT_PARTICIPATION_ROLE.MEDICAL_PROVIDER_STAFF,
2149
+ INCIDENT_PARTICIPATION_ROLE.LEGAL_PROFESSIONAL
2144
2150
  ]
2145
2151
  };
2146
2152
  var CALLER_IS_VICTIM_ROLES = [
@@ -7910,7 +7916,8 @@ var IncidentParticipationRoleKeys = {
7910
7916
  medical_provider_staff: "069-004-002-000-000-000-000",
7911
7917
  data_entry: "069-004-003-000-000-000-000",
7912
7918
  other_incident_responder: "069-004-004-000-000-000-000",
7913
- responding_officer: "069-004-005-000-000-000-000"
7919
+ responding_officer: "069-004-005-000-000-000-000",
7920
+ legal_professional: "069-004-006-000-000-000-000"
7914
7921
  };
7915
7922
  var IncidentInvolvementRoleKeys = {
7916
7923
  missingness_root: "130-000-000-000-000-000-000",
@@ -10291,12 +10298,7 @@ var AssertionDomainKeys = {
10291
10298
  facilitator_entity_type: "159-064-000-000-000-000-000",
10292
10299
  child_profile: "159-065-000-000-000-000-000",
10293
10300
  signal_identification: "159-066-000-000-000-000-000",
10294
- on_radar: "159-066-001-000-000-000-000",
10295
- screened: "159-066-002-000-000-000-000",
10296
- at_risk: "159-066-003-000-000-000-000",
10297
- assessed: "159-066-004-000-000-000-000",
10298
- investigative_legal: "159-067-000-000-000-000-000",
10299
- determined: "159-067-001-000-000-000-000"
10301
+ investigative_legal: "159-067-000-000-000-000-000"
10300
10302
  };
10301
10303
  var ActivityTypeKeys = {
10302
10304
  missingness_root: "965-000-000-000-000-000-000",
@@ -10947,6 +10949,17 @@ var CoreIndicatorKeys = {
10947
10949
  trauma_perpetrator_is_current_manager: "136-215-000-000-000-000-000",
10948
10950
  active_protective_order: "136-216-000-000-000-000-000"
10949
10951
  };
10952
+ var RiskIdentificationMilestoneKeys = {
10953
+ missingness_root: "267-000-000-000-000-000-000",
10954
+ unknown: "267-000-000-000-000-000-001",
10955
+ anonymous: "267-000-000-000-000-000-002",
10956
+ data_not_collected: "267-000-000-000-000-000-003",
10957
+ on_radar: "267-001-000-000-000-000-000",
10958
+ screened: "267-002-000-000-000-000-000",
10959
+ at_risk: "267-003-000-000-000-000-000",
10960
+ assessed: "267-004-000-000-000-000-000",
10961
+ determined: "267-005-000-000-000-000-000"
10962
+ };
10950
10963
  var RiskSeverityBandKeys = {
10951
10964
  missingness_root: "238-000-000-000-000-000-000",
10952
10965
  unknown: "238-000-000-000-000-000-001",
@@ -14744,7 +14757,8 @@ var incidentParticipationRoles_v1_0_0_default = {
14744
14757
  "069-004-002-000-000-000-000",
14745
14758
  "069-004-003-000-000-000-000",
14746
14759
  "069-004-004-000-000-000-000",
14747
- "069-004-005-000-000-000-000"
14760
+ "069-004-005-000-000-000-000",
14761
+ "069-004-006-000-000-000-000"
14748
14762
  ],
14749
14763
  definition: "Group of participation roles identifying system-side professionals involved in the incident."
14750
14764
  },
@@ -14792,6 +14806,15 @@ var incidentParticipationRoles_v1_0_0_default = {
14792
14806
  parentCode: "069-004-000-000-000-000-000",
14793
14807
  childCodes: [],
14794
14808
  definition: "A participant acting as a law-enforcement responding officer on the incident (patrol officer, detective, or equivalent sworn personnel)."
14809
+ },
14810
+ {
14811
+ code: "069-004-006-000-000-000-000",
14812
+ key: "legal_professional",
14813
+ title: "Legal professional",
14814
+ selectable: true,
14815
+ parentCode: "069-004-000-000-000-000-000",
14816
+ childCodes: [],
14817
+ definition: "An attorney or other legal professional (e.g., legal advocate, paralegal) acting in a legal capacity in relation to the incident."
14795
14818
  }
14796
14819
  ]
14797
14820
  };
@@ -43171,6 +43194,117 @@ var riskSeverityBand_v1_0_0_default = {
43171
43194
  ]
43172
43195
  };
43173
43196
 
43197
+ // src/cvcs/riskIdentificationMilestone.v1.0.0.json
43198
+ var riskIdentificationMilestone_v1_0_0_default = {
43199
+ domain: "risk_identification_milestone",
43200
+ name: "Core Risk Identification Milestone (CVC-267)",
43201
+ version: "1.0.0",
43202
+ _status: "CANONICAL -- ratified 2026-08-29 (Crysta knock-out walk). The identification-FUNNEL rung value set: the vocabulary `assertion_value_code` resolves against when `assertion_domain` is `signal_identification` (CVC-159 159-066) or, for `determined`, `investigative_legal` (159-067). Homes the `identification_rung_reached` CAR (Crysta-named 2026-08-23) minted once per subject per rung first reached, deterministic id `ast-t1r-<sid>-<rung>`, retroactively over the derived corpus. The rung CAR is a sibling EVENT record joined to the derived milestone row via `pm_ref`: the derived row remains derived and re-derives, and a milestone row never IS the CAR (spine 5.5). The 2026-05-11 no-CAR ruling STAYS IN FORCE for Track-3 rollups -- this is a carve-out for rung events, not a new default. Modelled as its OWN vocabulary rather than as Level-2 rows inside CVC-159: `AssertionDomainKeys` is consumed as the set of DOMAINS, and folding values into it breaks that contract downstream. Naming guard (Crysta 2026-06-30): identification FUNNEL / pipeline rungs -- never 'identification ladder', a retired synonym for the identity-CONFIDENCE axis `identity_status`.",
43203
+ _source: "htilabstech/prototype Final CVCs core - risk_identification_milestone (CVC-267) + data/cvcs/core_assertion_domain_extensions_signal_identification.yaml (PR #519); Notion 'Signal / identification question' (2026-08-29)",
43204
+ levels: {
43205
+ "0": "Unknown or Missing",
43206
+ "1": "Identification funnel rung"
43207
+ },
43208
+ entries: [
43209
+ {
43210
+ code: "267-000-000-000-000-000-000",
43211
+ key: "missingness_root",
43212
+ title: "Unknown, Redacted, or Missing",
43213
+ selectable: false,
43214
+ parentCode: null,
43215
+ childCodes: [
43216
+ "267-000-000-000-000-000-001",
43217
+ "267-000-000-000-000-000-002",
43218
+ "267-000-000-000-000-000-003"
43219
+ ],
43220
+ definition: "Root group for values indicating absent, withheld, or uncollected data. Variant: 3-value (unknown, anonymous, data_not_collected) under the workspace standard ANON semantic."
43221
+ },
43222
+ {
43223
+ code: "267-000-000-000-000-000-001",
43224
+ key: "unknown",
43225
+ title: "Unknown",
43226
+ selectable: true,
43227
+ parentCode: "267-000-000-000-000-000-000",
43228
+ childCodes: [],
43229
+ canonicalCode: "UNK",
43230
+ definition: "Unknown or cannot be determined from the available information. NOT a safe default. Distinct from having reached NO rung: a subject who has reached no rung has NO rows at all. The milestone-symmetry `NO_IDENTIFICATION` row is deliberately NOT part of this value set (ruling 2026-08-29, OR2) -- absence of rung CARs IS the no-state, and minting a 'none' assertion would re-assert a derived status."
43231
+ },
43232
+ {
43233
+ code: "267-000-000-000-000-000-002",
43234
+ key: "anonymous",
43235
+ title: "Anonymous / declined to answer",
43236
+ selectable: true,
43237
+ parentCode: "267-000-000-000-000-000-000",
43238
+ childCodes: [],
43239
+ definition: "Value is intentionally withheld or redacted. Combines declined-to-answer and redacted/anonymous semantics under the workspace standard ANON sentinel."
43240
+ },
43241
+ {
43242
+ code: "267-000-000-000-000-000-003",
43243
+ key: "data_not_collected",
43244
+ title: "Data not collected",
43245
+ selectable: true,
43246
+ parentCode: "267-000-000-000-000-000-000",
43247
+ childCodes: [],
43248
+ definition: "No attempt was made to collect the value. System-only sentinel per GLOBAL_DESIGN_RULES."
43249
+ },
43250
+ {
43251
+ code: "267-001-000-000-000-000-000",
43252
+ key: "on_radar",
43253
+ title: "On radar",
43254
+ selectable: true,
43255
+ parentCode: null,
43256
+ childCodes: [],
43257
+ ordinal: 1,
43258
+ assertionDomain: "signal_identification",
43259
+ definition: "Rung 1. The subject is known to the system at all. EVERY new person record counts, with the origin kind carried on the derived milestone row (ruling 2026-08-20, confirmed x3). Stored `assertion_domain`: `signal_identification`."
43260
+ },
43261
+ {
43262
+ code: "267-002-000-000-000-000-000",
43263
+ key: "screened",
43264
+ title: "Screened",
43265
+ selectable: true,
43266
+ parentCode: null,
43267
+ childCodes: [],
43268
+ ordinal: 2,
43269
+ assertionDomain: "signal_identification",
43270
+ definition: "Rung 2. A screening instrument was administered. A CLEAN screening still counts -- the rung measures REACH, not result; results are row data (ruling 2026-08-20, confirmed x3). Stored `assertion_domain`: `signal_identification`."
43271
+ },
43272
+ {
43273
+ code: "267-003-000-000-000-000-000",
43274
+ key: "at_risk",
43275
+ title: "At risk",
43276
+ selectable: true,
43277
+ parentCode: null,
43278
+ childCodes: [],
43279
+ ordinal: 3,
43280
+ assertionDomain: "signal_identification",
43281
+ definition: "Rung 3. Satisfiable by EITHER an upward risk-band crossing OR a screening `recommended_followup` -- both count, and `satisfied_by` is carried on every row so analysis can separate the sources (ruling 2026-08-20 R1). Stored `assertion_domain`: `signal_identification`."
43282
+ },
43283
+ {
43284
+ code: "267-004-000-000-000-000-000",
43285
+ key: "assessed",
43286
+ title: "Assessed",
43287
+ selectable: true,
43288
+ parentCode: null,
43289
+ childCodes: [],
43290
+ ordinal: 4,
43291
+ assertionDomain: "signal_identification",
43292
+ definition: "Rung 4. A full assessment was completed. Stored `assertion_domain`: `signal_identification`."
43293
+ },
43294
+ {
43295
+ code: "267-005-000-000-000-000-000",
43296
+ key: "determined",
43297
+ title: "Determined",
43298
+ selectable: true,
43299
+ parentCode: null,
43300
+ childCodes: [],
43301
+ ordinal: 5,
43302
+ assertionDomain: "investigative_legal",
43303
+ definition: "Rung 5. A determination was reached in a safe setting. A NO-INDICATION determination still counts -- the rung measures reaching a conclusion, not which conclusion (ruling 2026-08-20, confirmed x3). STORED `assertion_domain` is `investigative_legal` (159-067) because CVC-267 TRAFFICKING_STATUS carries that domain; DOCUMENTED under `signal_identification` too (filed-under-both ruling 2026-08-29) without changing what is stored. Cross-population caveat: most determinations on file predate the screening rail, so a subject can legitimately show `determined` with no `screened` above it -- correct, not a broken chain."
43304
+ }
43305
+ ]
43306
+ };
43307
+
43174
43308
  // src/cvcs/adminRoles.v1.0.0.json
43175
43309
  var adminRoles_v1_0_0_default = {
43176
43310
  domain: "admin_roles",
@@ -53619,12 +53753,11 @@ var assertionDomain_v1_1_0_default = {
53619
53753
  domain: "assertion_domain",
53620
53754
  name: "Assertion Domain (CVC-159)",
53621
53755
  version: "2.0.0",
53622
- _status: "CANONICAL \u2014 RENUMBERED 0.8.13 from provisional CVC-964 to canonical CVC-159. Live prototype HEAD a596eb9: `Final CVCs` -> `core - assertion_domain` = CVC-159 (vocab_status 'Ready for dev', Verification 'Verified'), corroborated by 17 `data/cvcs/core_assertion_domain_extensions_*.yaml` files that all declare `cvc: core - assertion_domain`. CVC-159 was freed by deleting the 100%-unbound hand-coded `CVC_159_RELATIONSHIP_TIES` family from `src/constants/ic.ts`; `relationship_ties` keeps its canonical CVC-158. Consumers persist KEYS, not wire codes, so the renumber is compile-clean (regenerate `cvcKeys.ts`). WITHDRAWN in 0.8.13 (all three have ZERO occurrences at prototype HEAD): `romantic_relationship` (964-066) \u2014 upstream the romantic-partner lifecycle routes to `household_relationships`, see `data/cvcs/core_romantic_relationship_change_type.yaml`; `household_tenure` (964-045); `household_composition` (964-067). All three fold into `household_relationships` (554 occurrences at HEAD). NOTE: `romantic_partner` is a relationship-type VALUE code (1,575 occurrences), never an assertion domain \u2014 it is correctly not modelled here. `child_profile` (159-065) is KEPT: 353 occurrences at HEAD. Segment-2 ordinals are preserved across the renumber (gaps at 045/066/067 are intentional; no data migration exists, but stable ordinals keep the diff reviewable). The 37 domains PAVE ships that are absent from the Final CVC-159 export all have substantial upstream occurrence counts and are retained as proposed CVC-159 extensions. | 0.8.20: ADDED `signal_identification` (159-066) and `investigative_legal` (159-067) -- retroactive homing of the Track-1 identification-rung emitter live since 2026-08-23; both ratified in the CVC-159 codebook 2026-08-29 (prototype PR #519, hti-features PR #34). Ordinals 066/067 were free: the 0.8.13 withdrawals that reserved those slots were under the OLD CVC-964 numbering and the 159 equivalents were never issued -- verified zero references to 159-066/159-067 anywhere in the repo or the published dist before assigning. The 045 gap remains reserved. The four `signal_identification` rungs and the one `investigative_legal` rung are carried as LEVEL-2 rows under their Level-1 domain, matching how Notion authored them (CVC-159 post-ratification: 26 L1 / 17 L2 / 2 L0 / 2 unleveled) -- they are the value set `assertion_value_code` resolves against for the `identification_rung_reached` CAR, NOT domains of their own. There is no CVC-267 row in CVC_INDEX.md; modelling them as a separate vocabulary was rejected by GATE C. The milestone-symmetry `NO_IDENTIFICATION` row is deliberately EXCLUDED (ruling 2026-08-29, OR2): reaching no rung is the ABSENCE of rows, and a 'none' assertion would re-assert a derived status. CVC-159's OTHER Level-2 rows (incl. `risk_band_crossing` under `risk_signal`) remain unmodelled here -- a follow-up port, not a regression.",
53756
+ _status: "CANONICAL \u2014 RENUMBERED 0.8.13 from provisional CVC-964 to canonical CVC-159. Live prototype HEAD a596eb9: `Final CVCs` -> `core - assertion_domain` = CVC-159 (vocab_status 'Ready for dev', Verification 'Verified'), corroborated by 17 `data/cvcs/core_assertion_domain_extensions_*.yaml` files that all declare `cvc: core - assertion_domain`. CVC-159 was freed by deleting the 100%-unbound hand-coded `CVC_159_RELATIONSHIP_TIES` family from `src/constants/ic.ts`; `relationship_ties` keeps its canonical CVC-158. Consumers persist KEYS, not wire codes, so the renumber is compile-clean (regenerate `cvcKeys.ts`). WITHDRAWN in 0.8.13 (all three have ZERO occurrences at prototype HEAD): `romantic_relationship` (964-066) \u2014 upstream the romantic-partner lifecycle routes to `household_relationships`, see `data/cvcs/core_romantic_relationship_change_type.yaml`; `household_tenure` (964-045); `household_composition` (964-067). All three fold into `household_relationships` (554 occurrences at HEAD). NOTE: `romantic_partner` is a relationship-type VALUE code (1,575 occurrences), never an assertion domain \u2014 it is correctly not modelled here. `child_profile` (159-065) is KEPT: 353 occurrences at HEAD. Segment-2 ordinals are preserved across the renumber (gaps at 045/066/067 are intentional; no data migration exists, but stable ordinals keep the diff reviewable). The 37 domains PAVE ships that are absent from the Final CVC-159 export all have substantial upstream occurrence counts and are retained as proposed CVC-159 extensions. | 0.8.20: ADDED `signal_identification` (159-066) and `investigative_legal` (159-067) -- retroactive homing of the Track-1 identification-rung emitter live since 2026-08-23; both ratified in the CVC-159 codebook 2026-08-29 (prototype PR #519, hti-features PR #34). Ordinals 066/067 were free: the 0.8.13 withdrawals that reserved those slots were under the OLD CVC-964 numbering and the 159 equivalents were never issued -- verified zero references to 159-066/159-067 anywhere in the repo or the published dist before assigning. The 045 gap remains reserved. The rung VALUE set those two domains carry lives in its own vocabulary (`riskIdentificationMilestone`, CVC-267) rather than as Level-2 rows here: `AssertionDomainKeys` is consumed as THE SET OF DOMAINS, and folding values into it breaks that contract for every consumer -- PAVE's `Record<AssertionDomain, DomainValueVocabulary>` totality gate would demand a domain classification for `on_radar`. CVC-159 stays Level-1 only.",
53623
53757
  _source: "htilabstech/prototype@a596eb9 Final CVCs/Assertion Contract/core - assertion_domain.md (CVC-159) + 17 core_assertion_domain_extensions_*.yaml",
53624
53758
  levels: {
53625
53759
  "0": "Unknown or Missing",
53626
- "1": "CAR assertion domain",
53627
- "2": "CAR assertion value (the vocabulary the domain's assertion_value_code resolves against)"
53760
+ "1": "CAR assertion domain"
53628
53761
  },
53629
53762
  entries: [
53630
53763
  {
@@ -54249,12 +54382,7 @@ var assertionDomain_v1_1_0_default = {
54249
54382
  title: "Signal / Identification",
54250
54383
  selectable: true,
54251
54384
  parentCode: null,
54252
- childCodes: [
54253
- "159-066-001-000-000-000-000",
54254
- "159-066-002-000-000-000-000",
54255
- "159-066-003-000-000-000-000",
54256
- "159-066-004-000-000-000-000"
54257
- ],
54385
+ childCodes: [],
54258
54386
  definition: "The identification-funnel pipeline domain: a subject's position on the reach ladder (on_radar -> screened -> at_risk -> assessed), asserted by the `identification_rung_reached` CAR whose `assertion_value_code` is the rung (CVC-267). Ratified 2026-08-29 as retroactive codebook homing of a live emitter that has minted rung CARs since 2026-08-23 (Crysta ruling, milestone-residue R1). A rung CAR asserts that a subject REACHED a rung; it never restates a determination -- it joins the derived milestone row via `pm_ref`, and the derived row remains the derived row (a milestone row never IS the CAR). Distinct from `identification_status` (CVC-241), the identity-CONFIDENCE axis; per the 2026-06-30 naming directive that axis is named `identity_status` and 'identification ladder' is a retired synonym for it -- display copy for THIS domain says 'identification funnel' or 'pipeline rungs', never bare 'identification ladder'. The `determined` rung is filed under BOTH this domain and `investigative_legal` (ruling 2026-08-29); its STORED domain stays `investigative_legal` as built."
54259
54387
  },
54260
54388
  {
@@ -54263,55 +54391,8 @@ var assertionDomain_v1_1_0_default = {
54263
54391
  title: "Investigative / Legal",
54264
54392
  selectable: true,
54265
54393
  parentCode: null,
54266
- childCodes: [
54267
- "159-067-001-000-000-000-000"
54268
- ],
54269
- definition: "The investigation-and-legal-process domain. Carries `TRAFFICKING_STATUS` (CVC-267) and is the STORED `assertion_domain` of the `determined` rung of the identification funnel -- the rung measures reaching a conclusion in a safe setting, not which conclusion, so a no-indication determination still counts. Ratified 2026-08-29 alongside `signal_identification`: it is live in the same emitter and was equally unhomed. Filed-under-both (ruling 2026-08-29): data relevant to multiple milestone topics is documented under every topic it is relevant for, while CVC-159's one-assertion-one-domain rule keeps the STORED domain single -- nothing re-mints."
54270
- },
54271
- {
54272
- code: "159-066-001-000-000-000-000",
54273
- key: "on_radar",
54274
- title: "On radar",
54275
- selectable: true,
54276
- parentCode: "159-066-000-000-000-000-000",
54277
- childCodes: [],
54278
- definition: "Rung 1 of the identification funnel. The subject is known to the system at all. EVERY new person record counts as on_radar, with the origin kind carried on the derived milestone row (ruling 2026-08-20, confirmed x3)."
54279
- },
54280
- {
54281
- code: "159-066-002-000-000-000-000",
54282
- key: "screened",
54283
- title: "Screened",
54284
- selectable: true,
54285
- parentCode: "159-066-000-000-000-000-000",
54286
- childCodes: [],
54287
- definition: "Rung 2. A screening instrument was administered. A CLEAN screening still counts -- the rung measures REACH, not result; results are row data (ruling 2026-08-20, confirmed x3)."
54288
- },
54289
- {
54290
- code: "159-066-003-000-000-000-000",
54291
- key: "at_risk",
54292
- title: "At risk",
54293
- selectable: true,
54294
- parentCode: "159-066-000-000-000-000-000",
54295
- childCodes: [],
54296
- definition: "Rung 3. Satisfiable by EITHER an upward risk-band crossing OR a screening `recommended_followup` -- both count, and `satisfied_by` is carried on every row so analysis can separate the sources (ruling 2026-08-20 R1). The band-crossing CAR alone anchors this rung."
54297
- },
54298
- {
54299
- code: "159-066-004-000-000-000-000",
54300
- key: "assessed",
54301
- title: "Assessed",
54302
- selectable: true,
54303
- parentCode: "159-066-000-000-000-000-000",
54304
54394
  childCodes: [],
54305
- definition: "Rung 4. A full assessment was completed."
54306
- },
54307
- {
54308
- code: "159-067-001-000-000-000-000",
54309
- key: "determined",
54310
- title: "Determined",
54311
- selectable: true,
54312
- parentCode: "159-067-000-000-000-000-000",
54313
- childCodes: [],
54314
- definition: "Rung 5 of the identification funnel, stored under `investigative_legal` because CVC-267 TRAFFICKING_STATUS carries that domain. DOCUMENTED under `signal_identification` as well (filed-under-both ruling 2026-08-29) without changing what is stored -- CVC-159's one-assertion-one-domain rule keeps the stored domain single. A NO-INDICATION determination still counts: the rung measures reaching a conclusion in a safe setting, not which conclusion (ruling 2026-08-20, confirmed x3). Cross-population caveat: most determinations on file predate the screening rail, so a subject can legitimately show `determined` with no `screened` above it -- correct, not a broken chain."
54395
+ definition: "The investigation-and-legal-process domain. Carries `TRAFFICKING_STATUS` (CVC-267) and is the STORED `assertion_domain` of the `determined` rung of the identification funnel -- the rung measures reaching a conclusion in a safe setting, not which conclusion, so a no-indication determination still counts. Ratified 2026-08-29 alongside `signal_identification`: it is live in the same emitter and was equally unhomed. Filed-under-both (ruling 2026-08-29): data relevant to multiple milestone topics is documented under every topic it is relevant for, while CVC-159's one-assertion-one-domain rule keeps the STORED domain single -- nothing re-mints."
54315
54396
  }
54316
54397
  ]
54317
54398
  };
@@ -55862,6 +55943,7 @@ var CVC_197_VALUES = selectableCodes(
55862
55943
  RelationshipTiesKeys,
55863
55944
  ReturnedToAbuserStatusKeys,
55864
55945
  RiskCategoryKeys,
55946
+ RiskIdentificationMilestoneKeys,
55865
55947
  RiskSeverityBandKeys,
55866
55948
  RoiMethodKeys,
55867
55949
  RoiScopeKeys,
@@ -56114,6 +56196,7 @@ var CVC_197_VALUES = selectableCodes(
56114
56196
  resolveRegistryWithInheritance,
56115
56197
  returnedToAbuserStatusSot,
56116
56198
  riskCategorySot,
56199
+ riskIdentificationMilestoneSot,
56117
56200
  riskSeverityBandSot,
56118
56201
  roiMethodSot,
56119
56202
  roiScopeSot,