@htilabs/platform-common-models 0.21.0 → 0.23.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 (71) hide show
  1. package/dist/authz/index.cjs +539 -0
  2. package/dist/authz/index.cjs.map +1 -0
  3. package/dist/authz/index.d.cts +210 -0
  4. package/dist/authz/index.d.ts +210 -0
  5. package/dist/authz/index.js +507 -0
  6. package/dist/authz/index.js.map +1 -0
  7. package/dist/constants/index.d.cts +2 -1
  8. package/dist/constants/index.d.ts +2 -1
  9. package/dist/cvcs/index.cjs +936 -243
  10. package/dist/cvcs/index.cjs.map +1 -1
  11. package/dist/cvcs/index.d.cts +986 -254
  12. package/dist/cvcs/index.d.ts +986 -254
  13. package/dist/cvcs/index.js +936 -243
  14. package/dist/cvcs/index.js.map +1 -1
  15. package/dist/enums/index.cjs +37 -10
  16. package/dist/enums/index.cjs.map +1 -1
  17. package/dist/enums/index.d.cts +42 -15
  18. package/dist/enums/index.d.ts +42 -15
  19. package/dist/enums/index.js +37 -10
  20. package/dist/enums/index.js.map +1 -1
  21. package/dist/{platform-auth-CvAYFVhK.d.cts → ic-DpKrdgQP.d.cts} +1 -78
  22. package/dist/{platform-auth-CvAYFVhK.d.ts → ic-DpKrdgQP.d.ts} +1 -78
  23. package/dist/index.cjs +1328 -253
  24. package/dist/index.cjs.map +1 -1
  25. package/dist/index.d.cts +4 -2
  26. package/dist/index.d.ts +4 -2
  27. package/dist/index.js +1313 -253
  28. package/dist/index.js.map +1 -1
  29. package/dist/platform-auth-B49Ly57B.d.cts +78 -0
  30. package/dist/platform-auth-B49Ly57B.d.ts +78 -0
  31. package/dist/schemas/index.cjs +104 -0
  32. package/dist/schemas/index.cjs.map +1 -1
  33. package/dist/schemas/index.d.cts +240 -1
  34. package/dist/schemas/index.d.ts +240 -1
  35. package/dist/schemas/index.js +95 -0
  36. package/dist/schemas/index.js.map +1 -1
  37. package/dist/types/index.d.cts +2 -2
  38. package/dist/types/index.d.ts +2 -2
  39. package/package.json +6 -1
  40. package/src/__sot__/README.md +3 -0
  41. package/src/__sot__/adminRoles.pin.json +122 -0
  42. package/src/__sot__/adminRoles.published.json +77 -0
  43. package/src/__sot__/coreFunctionFields.ts +137 -0
  44. package/src/__sot__/coreFunctions.pin.json +1659 -0
  45. package/src/__sot__/coreFunctions.published.json +233 -0
  46. package/src/__sot__/roleFields.ts +137 -0
  47. package/src/__sot__/userRoles.pin.json +174 -0
  48. package/src/__sot__/userRoles.published.json +103 -0
  49. package/src/__tests__/__snapshots__/cvc-sot.snap +6 -6
  50. package/src/__tests__/admin-roles-canon.test.ts +80 -0
  51. package/src/__tests__/authz-resolve.test.ts +712 -0
  52. package/src/__tests__/core-functions-canon.test.ts +358 -24
  53. package/src/__tests__/cvc-sot-snapshot.test.ts +17 -6
  54. package/src/__tests__/cvc-status-parser.test.ts +2 -2
  55. package/src/__tests__/cvc-structural.test.ts +3 -3
  56. package/src/__tests__/organization-program.test.ts +254 -0
  57. package/src/__tests__/role-vocab-gate.ts +279 -0
  58. package/src/__tests__/user-roles-canon.test.ts +104 -0
  59. package/src/authz/index.ts +9 -0
  60. package/src/authz/resolveEffectiveFunctions.ts +454 -0
  61. package/src/cvcs/adminRoles.v2.0.0.json +197 -0
  62. package/src/cvcs/{coreFunctions.v1.1.0.json → coreFunctions.v1.3.0.json} +646 -90
  63. package/src/cvcs/index.ts +3 -3
  64. package/src/cvcs/userRoles.v2.0.0.json +296 -0
  65. package/src/generated/coreFunctionsEvaluable.ts +101 -0
  66. package/src/generated/cvc-enums.ts +42 -15
  67. package/src/index.ts +4 -0
  68. package/src/schemas/index.ts +18 -0
  69. package/src/schemas/organization-program.ts +297 -0
  70. package/src/cvcs/adminRoles.v1.0.0.json +0 -153
  71. package/src/cvcs/userRoles.v1.0.0.json +0 -203
package/dist/index.js CHANGED
@@ -8046,6 +8046,92 @@ function orgTypeFieldsDiffer(org, agency) {
8046
8046
  return ORG_TYPE_FIELD_NAMES.filter((k) => a[k] !== b[k]);
8047
8047
  }
8048
8048
 
8049
+ // src/schemas/organization-program.ts
8050
+ import { Schema as Schema11 } from "mongoose";
8051
+ var PROGRAM_REVIEW_STATUS = {
8052
+ PENDING: "pending",
8053
+ CONFIRMED: "confirmed",
8054
+ REJECTED: "rejected"
8055
+ };
8056
+ var PROGRAM_REVIEW_STATUS_VALUES = Object.freeze([
8057
+ PROGRAM_REVIEW_STATUS.PENDING,
8058
+ PROGRAM_REVIEW_STATUS.CONFIRMED,
8059
+ PROGRAM_REVIEW_STATUS.REJECTED
8060
+ ]);
8061
+ function isProgramReviewStatus(value) {
8062
+ return typeof value === "string" && PROGRAM_REVIEW_STATUS_VALUES.includes(value);
8063
+ }
8064
+ var organizationProgramSchemaDefinition = {
8065
+ /** Stable identifier for the program within its Organization (server-minted). */
8066
+ programId: { type: String, required: true },
8067
+ /** Human-facing program name (canon `label`). */
8068
+ name: { type: String, required: true },
8069
+ /** Free-text program description. */
8070
+ description: { type: String, required: false },
8071
+ /** Lifecycle code; a `retired` program is not offered to pickers. */
8072
+ status: { type: String, required: false },
8073
+ /** Default sharing-policy code applied when sharing to this program (ADR D13). */
8074
+ defaultSharingPolicy: { type: String, required: false },
8075
+ /**
8076
+ * pending · confirmed · rejected for a program named inside an app; absent on
8077
+ * a steward row. A `rejected` row is never offered and never captures its
8078
+ * name on a later add (a new row is minted).
8079
+ */
8080
+ reviewStatus: {
8081
+ type: String,
8082
+ required: false,
8083
+ enum: [...PROGRAM_REVIEW_STATUS_VALUES]
8084
+ },
8085
+ /** The seat (user id) that named it inside an app. */
8086
+ addedBy: { type: String, required: false },
8087
+ /** The app it was NAMED in (`pave` · `thread` · `leads` · `platform`). */
8088
+ addedInApp: { type: String, required: false },
8089
+ /** The session it was named in, when there was one. */
8090
+ addedInSession: { type: String, required: false }
8091
+ };
8092
+ function buildOrganizationProgramSchema() {
8093
+ return new Schema11(organizationProgramSchemaDefinition, { _id: false });
8094
+ }
8095
+ function buildOrganizationProgramsFieldDefinition() {
8096
+ return {
8097
+ programs: {
8098
+ type: [buildOrganizationProgramSchema()],
8099
+ required: false,
8100
+ default: void 0
8101
+ }
8102
+ };
8103
+ }
8104
+ var ORGANIZATION_PROGRAM_VALIDATED_UPDATE_OPS = Object.freeze([
8105
+ "updateOne",
8106
+ "updateMany",
8107
+ "findOneAndUpdate"
8108
+ ]);
8109
+ function addOrganizationProgramsField(schema, options = {}) {
8110
+ if (schema.path("programs")) {
8111
+ console.warn(
8112
+ "[platform-common-models] addOrganizationProgramsField: replacing the schema's own `programs` path with the shared fragment; pass `{ select: false }` here if that is the consumer's read posture."
8113
+ );
8114
+ }
8115
+ schema.add({
8116
+ programs: {
8117
+ ...buildOrganizationProgramsFieldDefinition().programs,
8118
+ ...options.select !== void 0 ? { select: options.select } : {}
8119
+ }
8120
+ });
8121
+ if (options.validateOnUpdate ?? true) {
8122
+ schema.pre(
8123
+ [...ORGANIZATION_PROGRAM_VALIDATED_UPDATE_OPS],
8124
+ function() {
8125
+ applyRunValidatorsIfUnset(this);
8126
+ }
8127
+ );
8128
+ }
8129
+ return schema;
8130
+ }
8131
+ function isLiveOrganizationProgram(row) {
8132
+ return row.status !== "retired" && row.reviewStatus !== PROGRAM_REVIEW_STATUS.REJECTED;
8133
+ }
8134
+
8049
8135
  // src/models/formModel.ts
8050
8136
  var formModel_exports = {};
8051
8137
  __export(formModel_exports, {
@@ -11030,7 +11116,42 @@ var CoreFunctionsKeys = {
11030
11116
  training_content_upload: "133-075-000-000-000-000-000",
11031
11117
  training_gate_manage: "133-076-000-000-000-000-000",
11032
11118
  usr_manage: "133-077-000-000-000-000-000",
11033
- note_open_departed_author: "133-078-000-000-000-000-000"
11119
+ note_open_departed_author: "133-078-000-000-000-000-000",
11120
+ agency_info_manage: "133-079-000-000-000-000-000",
11121
+ srl_manage: "133-080-000-000-000-000-000",
11122
+ mandatory_report_send: "133-081-000-000-000-000-000",
11123
+ indicator_manual_add: "133-082-000-000-000-000-000",
11124
+ message_send: "133-083-000-000-000-000-000",
11125
+ workgroup_manage: "133-084-000-000-000-000-000",
11126
+ message_moderate: "133-085-000-000-000-000-000",
11127
+ announcement_publish: "133-086-000-000-000-000-000",
11128
+ supervisee_thread_view: "133-087-000-000-000-000-000",
11129
+ case_status_manage: "133-088-000-000-000-000-000",
11130
+ enrollment_manage: "133-089-000-000-000-000-000",
11131
+ exit_discharge_conduct: "133-090-000-000-000-000-000",
11132
+ goals_plan_manage: "133-091-000-000-000-000-000",
11133
+ lead_triage_manage: "133-092-000-000-000-000-000",
11134
+ milestone_log: "133-093-000-000-000-000-000",
11135
+ needs_priorities_conduct: "133-094-000-000-000-000-000",
11136
+ profile_domain_edit: "133-095-000-000-000-000-000",
11137
+ record_activity_view: "133-096-000-000-000-000-000",
11138
+ service_log_manage: "133-097-000-000-000-000-000",
11139
+ case_close: "133-098-000-000-000-000-000",
11140
+ case_visibility_manage: "133-099-000-000-000-000-000",
11141
+ person_merge_manage: "133-100-000-000-000-000-000",
11142
+ investigation_session_run: "133-101-000-000-000-000-000",
11143
+ lead_route_assign: "133-102-000-000-000-000-000",
11144
+ onboarding_config_sign_off: "133-103-000-000-000-000-000",
11145
+ hmis_export_generate: "133-104-000-000-000-000-000",
11146
+ team_share_narrowing: "133-105-000-000-000-000-000",
11147
+ viewing_config_manage: "133-106-000-000-000-000-000",
11148
+ network_corpus_access: "133-107-000-000-000-000-000",
11149
+ viewing_level_1_search: "133-108-000-000-000-000-000",
11150
+ viewing_level_2_autocomplete: "133-109-000-000-000-000-000",
11151
+ viewing_level_3_components: "133-110-000-000-000-000-000",
11152
+ investigative_request_send: "133-111-000-000-000-000-000",
11153
+ deconfliction_unmask: "133-112-000-000-000-000-000",
11154
+ share_revoke: "133-113-000-000-000-000-000"
11034
11155
  };
11035
11156
  var NeedsAssessmentChangeTypeKeys = {
11036
11157
  missingness_root: "982-000-000-000-000-000-000",
@@ -11509,10 +11630,6 @@ var RiskSeverityBandKeys = {
11509
11630
  risk_5: "238-005-000-000-000-000-000"
11510
11631
  };
11511
11632
  var AdminRoleKeys = {
11512
- missingness_root: "134-000-000-000-000-000-000",
11513
- unknown: "134-000-000-000-000-000-001",
11514
- anonymous: "134-000-000-000-000-000-002",
11515
- data_not_collected: "134-000-000-000-000-000-003",
11516
11633
  plt_adm: "134-001-000-000-000-000-000",
11517
11634
  plt_sup: "134-002-000-000-000-000-000",
11518
11635
  mem_adm: "134-003-000-000-000-000-000",
@@ -11525,14 +11642,10 @@ var AdminRoleKeys = {
11525
11642
  train_adm: "134-010-000-000-000-000-000"
11526
11643
  };
11527
11644
  var UserRoleKeys = {
11528
- missingness_root: "135-000-000-000-000-000-000",
11529
- unknown: "135-000-000-000-000-000-001",
11530
- anonymous: "135-000-000-000-000-000-002",
11531
- data_not_collected: "135-000-000-000-000-000-003",
11532
11645
  case_nav: "135-001-000-000-000-000-000",
11533
11646
  healthcare_provider_medical: "135-002-000-000-000-000-000",
11534
11647
  behavioral_health_provider: "135-003-000-000-000-000-000",
11535
- hotline_op: "135-004-000-000-000-000-000",
11648
+ crisis_response: "135-004-000-000-000-000-000",
11536
11649
  intel_analyst: "135-005-000-000-000-000-000",
11537
11650
  investigator: "135-006-000-000-000-000-000",
11538
11651
  le_liaison_vsp: "135-007-000-000-000-000-000",
@@ -13249,6 +13362,245 @@ function scopeMigrationsFromSot(sot) {
13249
13362
  });
13250
13363
  }
13251
13364
 
13365
+ // src/generated/coreFunctionsEvaluable.ts
13366
+ var CORE_FUNCTIONS_EVALUABLE_KEYS = [
13367
+ "agency_info_manage",
13368
+ "announcement_publish",
13369
+ "api_key_manage",
13370
+ "assessments_conduct",
13371
+ "auth_model_manage_platform",
13372
+ "case_assign_reassign",
13373
+ "case_claim",
13374
+ "case_close",
13375
+ "case_collaborator_add",
13376
+ "case_edit",
13377
+ "case_reopen",
13378
+ "case_side_panel_use",
13379
+ "case_status_manage",
13380
+ "case_transfer_bulk",
13381
+ "case_view",
13382
+ "case_visibility_manage",
13383
+ "ci_periodic_review",
13384
+ "ci_record_purge_or_retire",
13385
+ "ci_record_validate",
13386
+ "ci_to_evidence_export_authorize",
13387
+ "deconfliction_alert_acknowledge",
13388
+ "deconfliction_unmask",
13389
+ "determination_perform",
13390
+ "disclose_external_request",
13391
+ "enrollment_manage",
13392
+ "exit_discharge_conduct",
13393
+ "export_deidentified",
13394
+ "goals_plan_manage",
13395
+ "idb_record_create",
13396
+ "indicator_manual_add",
13397
+ "investigation_create_claim",
13398
+ "investigation_session_run",
13399
+ "investigative_database_search",
13400
+ "investigative_request_send",
13401
+ "lead_create",
13402
+ "lead_publish",
13403
+ "lead_route_assign",
13404
+ "lead_triage_manage",
13405
+ "magic_link_share_send",
13406
+ "mandatory_report_send",
13407
+ "member_account_report_generate",
13408
+ "member_onboarding_support",
13409
+ "message_moderate",
13410
+ "message_send",
13411
+ "milestone_log",
13412
+ "needs_priorities_conduct",
13413
+ "network_corpus_access",
13414
+ "note_open_departed_author",
13415
+ "onboarding_config_sign_off",
13416
+ "open_source_search",
13417
+ "person_association_update",
13418
+ "person_merge_manage",
13419
+ "platform_perm_modify",
13420
+ "profile_domain_edit",
13421
+ "record_activity_view",
13422
+ "record_print",
13423
+ "referral_receive_external",
13424
+ "referral_receive_internal",
13425
+ "referral_send_external",
13426
+ "referral_send_internal",
13427
+ "roi_submit_manage",
13428
+ "role_assign",
13429
+ "roles_accounts_toggle",
13430
+ "sandbox_environment_manage",
13431
+ "screening_conduct",
13432
+ "screening_view",
13433
+ "service_log_manage",
13434
+ "session_create",
13435
+ "share_config",
13436
+ "share_revoke",
13437
+ "share_rule_approve_cross_agency",
13438
+ "share_vsp_to_le",
13439
+ "srl_manage",
13440
+ "supervisee_thread_view",
13441
+ "support_ticket_triage",
13442
+ "system_diagnostics_view",
13443
+ "team_config_manage",
13444
+ "team_membership_manage",
13445
+ "team_share_narrowing",
13446
+ "team_workflow_config_manage",
13447
+ "training_gate_manage",
13448
+ "usr_manage",
13449
+ "viewing_config_manage",
13450
+ "viewing_level_1_search",
13451
+ "viewing_level_2_autocomplete",
13452
+ "viewing_level_3_components"
13453
+ ];
13454
+
13455
+ // src/authz/resolveEffectiveFunctions.ts
13456
+ var CANON_EVALUABLE = new Set(
13457
+ CORE_FUNCTIONS_EVALUABLE_KEYS.filter((k) => Object.hasOwn(CoreFunctionsKeys, k))
13458
+ );
13459
+ function isCanonEvaluableFunction(code) {
13460
+ return CANON_EVALUABLE.has(code);
13461
+ }
13462
+ var ABSENT = { kind: "absent" };
13463
+ var MALFORMED = { kind: "malformed" };
13464
+ function isPlainObject(v) {
13465
+ if (v === null || typeof v !== "object") return false;
13466
+ const proto = Object.getPrototypeOf(v);
13467
+ return proto === Object.prototype || proto === null;
13468
+ }
13469
+ function readContainer(v) {
13470
+ if (v === void 0 || v === null) return ABSENT;
13471
+ return isPlainObject(v) ? { kind: "map", map: v } : MALFORMED;
13472
+ }
13473
+ function own(map, key) {
13474
+ return Object.hasOwn(map, key) ? map[key] : void 0;
13475
+ }
13476
+ var STATES = new Set(Object.values(PERMISSION_STATE));
13477
+ function readState(map, code) {
13478
+ const v = own(map, code);
13479
+ if (v === void 0 || v === null) return void 0;
13480
+ return typeof v === "string" && STATES.has(v) ? v : "malformed";
13481
+ }
13482
+ function stringList(v) {
13483
+ return Array.isArray(v) ? v.filter((x) => typeof x === "string") : [];
13484
+ }
13485
+ function teamValueRestricts(map, code) {
13486
+ const gate = readState(map, code);
13487
+ return gate !== void 0 && gate !== PERMISSION_STATE.PREF_YES && gate !== PERMISSION_STATE.ALWAYS;
13488
+ }
13489
+ function compileTeamGate(teamPolicy) {
13490
+ const byRole = /* @__PURE__ */ new Map();
13491
+ const malformedRoles = /* @__PURE__ */ new Set();
13492
+ const policy = readContainer(teamPolicy);
13493
+ if (policy.kind === "absent") {
13494
+ return { restrictsAll: false, flat: void 0, byRole, malformedRoles };
13495
+ }
13496
+ if (policy.kind === "malformed") {
13497
+ return { restrictsAll: true, flat: void 0, byRole, malformedRoles };
13498
+ }
13499
+ let restrictsAll = false;
13500
+ const functions = readContainer(own(policy.map, "functions"));
13501
+ if (functions.kind === "malformed") restrictsAll = true;
13502
+ const roles = own(policy.map, "roles");
13503
+ if (roles !== void 0 && roles !== null) {
13504
+ if (!Array.isArray(roles)) restrictsAll = true;
13505
+ else {
13506
+ for (const entry of roles) {
13507
+ const roleCode = isPlainObject(entry) ? own(entry, "roleCode") : void 0;
13508
+ if (!isPlainObject(entry) || typeof roleCode !== "string") {
13509
+ restrictsAll = true;
13510
+ continue;
13511
+ }
13512
+ const overrides = readContainer(own(entry, "overrides"));
13513
+ if (overrides.kind === "malformed") malformedRoles.add(roleCode);
13514
+ else if (overrides.kind === "map") {
13515
+ const list = byRole.get(roleCode) ?? [];
13516
+ list.push(overrides.map);
13517
+ byRole.set(roleCode, list);
13518
+ }
13519
+ }
13520
+ }
13521
+ }
13522
+ return {
13523
+ restrictsAll,
13524
+ flat: functions.kind === "map" ? functions.map : void 0,
13525
+ byRole,
13526
+ malformedRoles
13527
+ };
13528
+ }
13529
+ function teamRestricts(gate, roleCode, code) {
13530
+ if (gate.restrictsAll || gate.malformedRoles.has(roleCode)) return true;
13531
+ if (gate.flat !== void 0 && teamValueRestricts(gate.flat, code)) return true;
13532
+ return (gate.byRole.get(roleCode) ?? []).some((m) => teamValueRestricts(m, code));
13533
+ }
13534
+ function resolveEffectiveFunctions(input) {
13535
+ const raw = input;
13536
+ if (!isPlainObject(raw)) return [];
13537
+ const roleRows = own(raw, "roles");
13538
+ const catalog = own(raw, "functions");
13539
+ const assigned = own(raw, "assignedRoleCodes");
13540
+ if (!Array.isArray(roleRows) || !Array.isArray(catalog) || !Array.isArray(assigned)) return [];
13541
+ const rolesByCode = /* @__PURE__ */ new Map();
13542
+ for (const r of roleRows) {
13543
+ const code = isPlainObject(r) ? own(r, "code") : void 0;
13544
+ if (isPlainObject(r) && typeof code === "string") rolesByCode.set(code, r);
13545
+ }
13546
+ const heldCodes = [...new Set(assigned)].filter(
13547
+ (c) => typeof c === "string" && rolesByCode.has(c)
13548
+ );
13549
+ if (heldCodes.length === 0) return [];
13550
+ const vocabulary = [];
13551
+ for (const fn of catalog) {
13552
+ if (!isPlainObject(fn)) continue;
13553
+ const code = own(fn, "code");
13554
+ const retired = own(fn, "retired");
13555
+ if (typeof code !== "string" || !isCanonEvaluableFunction(code)) continue;
13556
+ if (retired !== void 0 && retired !== false) continue;
13557
+ vocabulary.push({ code, tools: stringList(own(fn, "tools")) });
13558
+ }
13559
+ const agencyAll = readContainer(input.agencyOverrides);
13560
+ const team = compileTeamGate(input.teamPolicy);
13561
+ const granted = /* @__PURE__ */ new Set();
13562
+ for (const roleCode of heldCodes) {
13563
+ const role = rolesByCode.get(roleCode);
13564
+ const roleTools = new Set(stringList(own(role, "tools")));
13565
+ const roleFunctions = readContainer(own(role, "functions"));
13566
+ if (roleFunctions.kind === "malformed") continue;
13567
+ const agency = agencyAll.kind === "map" ? readContainer(own(agencyAll.map, roleCode)) : agencyAll;
13568
+ for (const fn of vocabulary) {
13569
+ if (granted.has(fn.code)) continue;
13570
+ const listed = roleFunctions.kind === "map" ? readState(roleFunctions.map, fn.code) : void 0;
13571
+ const applies = fn.tools.some((t) => roleTools.has(t));
13572
+ const tier1 = listed === "malformed" ? PERMISSION_STATE.NEVER : listed ?? (applies ? PERMISSION_STATE.PREF_NO : PERMISSION_STATE.NEVER);
13573
+ let state = tier1;
13574
+ if (tier1 !== PERMISSION_STATE.ALWAYS && tier1 !== PERMISSION_STATE.NEVER) {
13575
+ const override = agency.kind === "malformed" ? "malformed" : agency.kind === "map" ? readState(agency.map, fn.code) : void 0;
13576
+ if (override === "malformed") state = PERMISSION_STATE.NEVER;
13577
+ else if (override !== void 0) state = override;
13578
+ }
13579
+ if (state !== PERMISSION_STATE.ALWAYS && state !== PERMISSION_STATE.PREF_YES) continue;
13580
+ if (state !== PERMISSION_STATE.ALWAYS && teamRestricts(team, roleCode, fn.code)) continue;
13581
+ granted.add(fn.code);
13582
+ }
13583
+ }
13584
+ return [...granted].sort();
13585
+ }
13586
+ function selectActingTeamId(seatTeamIds, verifiedActingTeamId) {
13587
+ if (verifiedActingTeamId) return verifiedActingTeamId;
13588
+ return seatTeamIds[0] ?? null;
13589
+ }
13590
+ var VIEWING_LEVEL_FUNCTIONS = [
13591
+ ["viewing_level_3_components", 3],
13592
+ ["viewing_level_2_autocomplete", 2],
13593
+ ["viewing_level_1_search", 1]
13594
+ ];
13595
+ function viewingLevelFromFunctions(effectiveFunctions, teamViewingLevel) {
13596
+ const held = new Set(effectiveFunctions);
13597
+ const roleLevel = VIEWING_LEVEL_FUNCTIONS.find(([code]) => held.has(code))?.[1] ?? 0;
13598
+ return teamViewingLevel == null ? roleLevel : Math.min(roleLevel, teamViewingLevel);
13599
+ }
13600
+ function resolveEffectiveViewingLevel(input, teamViewingLevel) {
13601
+ return viewingLevelFromFunctions(resolveEffectiveFunctions(input), teamViewingLevel);
13602
+ }
13603
+
13252
13604
  // src/validation/cvc.ts
13253
13605
  import { z } from "zod";
13254
13606
  var CvcCodeSchema = z.string().regex(/^\d{3}(-\d{3}){6}$/);
@@ -39121,13 +39473,20 @@ var riskCategory_v1_0_0_default = {
39121
39473
  ]
39122
39474
  };
39123
39475
 
39124
- // src/cvcs/coreFunctions.v1.1.0.json
39125
- var coreFunctions_v1_1_0_default = {
39476
+ // src/cvcs/coreFunctions.v1.3.0.json
39477
+ var coreFunctions_v1_3_0_default = {
39126
39478
  domain: "core_functions",
39127
39479
  name: "Core Functions",
39128
- version: "1.1.0",
39129
- _status: "DRAFTED \u2014 NEEDS REVIEW: canonical Notion CVC-133 (core - functions), verified v1.0, ported verbatim from the Notion codebook. Canonical numbering (133), NOT provisional. Per-entry lifecycle Status (v1 / future / not-started) is carried in each definition. VERSION 1.1.0 (additive; ADR-CVC-0.8.13 Addendum 2026-10-05): APPENDS `note_open_departed_author` at 133-078 (added 2026-10-05 while building the Narrative notes Spec v2, rule 10; canon's own logic_notes mark the row as awaiting steward review (Crysta); canon `data/cvcs/core_functions.yaml` L68-93 @ prototype 9ef79748, unchanged at fed744f3, and the codebook_all.csv export). Default Off for Account Admin (MEM-ADM) only; bounds are not carried by this entry schema. Every 1.0.0 code and key is unchanged. Canon carries 112 functions; this SOT carries 78 \u2014 the other 34 canon rows are a separate absorb, not taken here.",
39130
- _source: "Notion CVC-133 core - functions (collection://3211ef14-abcd-8024-867d-000be4b35a79)",
39480
+ version: "1.3.0",
39481
+ _status: "CANONICAL \u2014 Notion CVC-133 (core - functions), the codebook page is Active v2.0 (CVC133-AUDIT 2026-09-10); GENERATED from the prototype repo's generated registry data/cvcs/core_functions.yaml by scripts/gen-core-functions.py \u2014 never hand-edit. Canonical numbering (133). Per-entry lifecycle is structured: `v1` and `retired` are canon's own row flags (the posture suffix in the definition restates the Status text). 113 canon functions (86 v1 \xB7 27 not-v1 \xB7 0 retired) + 4 missingness = 117 entries. Bounds (Always / Default On / Default Off / Never per CVC-134/135 role code) are canon but NOT carried by this entry schema \u2014 they arrive with the resolver-contract round (CORE_FUNCTIONS_ALIGNMENT_STRATEGY_2026-08-13.md \xA7 3: bounds join by role CODE; the generator's `bounds:` block is the canon shape).",
39482
+ _supersedes: {
39483
+ version: "1.2.0",
39484
+ note: "MINOR, additive. Every entry gains the structured booleans `v1` and `retired`, canon's own row flags (86 v1 \xB7 27 not-v1 \xB7 0 retired; the 4 missingness sentinels carry v1 false / retired false). Codes, keys, titles and definitions are unchanged from 1.2.0; 0 appended, 0 refreshed, 0 tombstoned. A 1.2.0 reader keeps every code it knew.",
39485
+ appended: [],
39486
+ refreshed: [],
39487
+ tombstoned: []
39488
+ },
39489
+ _source: "htilabstech/prototype data/cvcs/core_functions.yaml @ f4356aa4 (last commit touching canon on the canonical branch); the yaml is generated there from the Notion CVC-133 export (https://app.notion.com/p/htilabs/core-functions-3211ef14abcd80aab01be5d5a8db4c48) by tools/build_core_functions_registry.py; canon function_count 113, seeded 2026-07-09.",
39131
39490
  levels: {
39132
39491
  "0": "Unknown or Missing",
39133
39492
  "1": "Authorization-model function"
@@ -39144,7 +39503,9 @@ var coreFunctions_v1_1_0_default = {
39144
39503
  "133-000-000-000-000-000-002",
39145
39504
  "133-000-000-000-000-000-003"
39146
39505
  ],
39147
- 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. The Notion CVC-133 data source enumerates only the substantive functions, so the quadruplet is added per SOT convention."
39506
+ 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. The Notion CVC-133 data source enumerates only the substantive functions, so the quadruplet is added per SOT convention.",
39507
+ v1: false,
39508
+ retired: false
39148
39509
  },
39149
39510
  {
39150
39511
  code: "133-000-000-000-000-000-001",
@@ -39153,7 +39514,9 @@ var coreFunctions_v1_1_0_default = {
39153
39514
  selectable: true,
39154
39515
  parentCode: "133-000-000-000-000-000-000",
39155
39516
  childCodes: [],
39156
- definition: "Function is unknown at time of entry (missingness sentinel)."
39517
+ definition: "Function is unknown at time of entry (missingness sentinel).",
39518
+ v1: false,
39519
+ retired: false
39157
39520
  },
39158
39521
  {
39159
39522
  code: "133-000-000-000-000-000-002",
@@ -39162,7 +39525,9 @@ var coreFunctions_v1_1_0_default = {
39162
39525
  selectable: true,
39163
39526
  parentCode: "133-000-000-000-000-000-000",
39164
39527
  childCodes: [],
39165
- definition: "Value is intentionally withheld or redacted. Combines declined-to-answer and redacted/anonymous semantics under the workspace standard ANON sentinel."
39528
+ definition: "Value is intentionally withheld or redacted. Combines declined-to-answer and redacted/anonymous semantics under the workspace standard ANON sentinel.",
39529
+ v1: false,
39530
+ retired: false
39166
39531
  },
39167
39532
  {
39168
39533
  code: "133-000-000-000-000-000-003",
@@ -39171,7 +39536,9 @@ var coreFunctions_v1_1_0_default = {
39171
39536
  selectable: true,
39172
39537
  parentCode: "133-000-000-000-000-000-000",
39173
39538
  childCodes: [],
39174
- definition: "No attempt was made to collect the value. System-only sentinel per GLOBAL_DESIGN_RULES."
39539
+ definition: "No attempt was made to collect the value. System-only sentinel per GLOBAL_DESIGN_RULES.",
39540
+ v1: false,
39541
+ retired: false
39175
39542
  },
39176
39543
  {
39177
39544
  code: "133-001-000-000-000-000-000",
@@ -39180,7 +39547,9 @@ var coreFunctions_v1_1_0_default = {
39180
39547
  selectable: true,
39181
39548
  parentCode: null,
39182
39549
  childCodes: [],
39183
- definition: "Suspend or disable a member account or sub-account. [Status: Future function (not v1). Platform: PLATFORM. User-relevant: no. Admin-relevant: yes. Category: Platform administration (HTI-only).]"
39550
+ definition: "Suspend or disable a member account or sub-account. [Status: Future function (not v1). Platform: PLATFORM. User-relevant: no. Admin-relevant: yes. Category: Platform administration (HTI-only).]",
39551
+ v1: false,
39552
+ retired: false
39184
39553
  },
39185
39554
  {
39186
39555
  code: "133-002-000-000-000-000-000",
@@ -39189,7 +39558,9 @@ var coreFunctions_v1_1_0_default = {
39189
39558
  selectable: true,
39190
39559
  parentCode: null,
39191
39560
  childCodes: [],
39192
- definition: "Generate a de-identified, platform-wide aggregate dataset or query result for approved reporting, research, or compliance purposes. [Status: Future function (not v1). Platform: ECHO. User-relevant: no. Admin-relevant: yes. Category: Governance workflows, Approval-gated actions.]"
39561
+ definition: "Generate a de-identified, platform-wide aggregate dataset or query result for approved reporting, research, or compliance purposes. [Status: Future function (not v1). Platform: ECHO. User-relevant: no. Admin-relevant: yes. Category: Approval-gated actions, Governance workflows.]",
39562
+ v1: false,
39563
+ retired: false
39193
39564
  },
39194
39565
  {
39195
39566
  code: "133-003-000-000-000-000-000",
@@ -39198,7 +39569,9 @@ var coreFunctions_v1_1_0_default = {
39198
39569
  selectable: true,
39199
39570
  parentCode: null,
39200
39571
  childCodes: [],
39201
- definition: "Create, rotate, revoke, and manage API keys and integration credentials for a member account. [Status: Defined; new function. Platform: PLATFORM. User-relevant: no. Admin-relevant: yes. Category: Platform administration (HTI-only).]"
39572
+ definition: "Create, rotate, revoke, and manage API keys and integration credentials for a member account. [Status: Defined; new function. Platform: PLATFORM. User-relevant: no. Admin-relevant: yes. Category: Platform administration (HTI-only).]",
39573
+ v1: true,
39574
+ retired: false
39202
39575
  },
39203
39576
  {
39204
39577
  code: "133-004-000-000-000-000-000",
@@ -39207,7 +39580,9 @@ var coreFunctions_v1_1_0_default = {
39207
39580
  selectable: true,
39208
39581
  parentCode: null,
39209
39582
  childCodes: [],
39210
- definition: "Initiate and complete an IDA (e.g., assessment/interview), Stalking Assessment, Danger Assessment, Needs Assessment (In-Depth) workflow in PAVE and record the resulting responses. [Status: Defined; existing PAVE function. Platform: PAVE. User-relevant: yes. Admin-relevant: no. Category: Assessments / determinations.]"
39583
+ definition: "Initiate and complete an assessment and record the resulting responses: the In-Depth Assessment (IDA), Stalking Assessment and Danger Assessment in PAVE, and the TRA in LEADS. [Status: Defined; existing PAVE function. Platform: PAVE, LEADS. User-relevant: yes. Admin-relevant: no. Category: Assessments / determinations.]",
39584
+ v1: true,
39585
+ retired: false
39211
39586
  },
39212
39587
  {
39213
39588
  code: "133-005-000-000-000-000-000",
@@ -39216,7 +39591,9 @@ var coreFunctions_v1_1_0_default = {
39216
39591
  selectable: true,
39217
39592
  parentCode: null,
39218
39593
  childCodes: [],
39219
- definition: "Review and triage anomalous usage signals and audit alerts (for example, unusual access patterns, excessive exports, or repeated denied actions) within authorized scope. [Status: Future function (not v1). Platform: PLATFORM, ECHO. User-relevant: no. Admin-relevant: yes. Category: Governance workflows.]"
39594
+ definition: "Review and triage anomalous usage signals and audit alerts (for example, unusual access patterns, excessive exports, or repeated denied actions) within authorized scope. [Status: Future function (not v1). Platform: ECHO, PLATFORM. User-relevant: no. Admin-relevant: yes. Category: Governance workflows.]",
39595
+ v1: false,
39596
+ retired: false
39220
39597
  },
39221
39598
  {
39222
39599
  code: "133-006-000-000-000-000-000",
@@ -39225,7 +39602,9 @@ var coreFunctions_v1_1_0_default = {
39225
39602
  selectable: true,
39226
39603
  parentCode: null,
39227
39604
  childCodes: [],
39228
- definition: "View member-account audit logs and compliance dashboards (authentication, role changes, sharing/disclosure approvals, exports, and other governed actions) within authorized scope. [Status: Future function (not v1). Platform: PLATFORM, ECHO. User-relevant: no. Admin-relevant: yes. Category: Governance workflows, Platform administration (HTI-only).]"
39605
+ definition: "View member-account audit logs and compliance dashboards (authentication, role changes, sharing/disclosure approvals, exports, and other governed actions) within authorized scope. [Status: Future function (not v1). Platform: ECHO, PLATFORM. User-relevant: no. Admin-relevant: yes. Category: Governance workflows, Platform administration (HTI-only).]",
39606
+ v1: false,
39607
+ retired: false
39229
39608
  },
39230
39609
  {
39231
39610
  code: "133-007-000-000-000-000-000",
@@ -39234,7 +39613,9 @@ var coreFunctions_v1_1_0_default = {
39234
39613
  selectable: true,
39235
39614
  parentCode: null,
39236
39615
  childCodes: [],
39237
- definition: "View audit logs and governance events scoped to the administrator\u2019s teams (membership changes, workflow config changes, sharing/disclosure approvals performed for the team) without implying case-content access. [Status: Future function (not v1). Platform: PLATFORM, ECHO. User-relevant: no. Admin-relevant: yes. Category: Governance workflows, Platform administration (HTI-only).]"
39616
+ definition: "View audit logs and governance events scoped to the administrator\u2019s teams (membership changes, workflow config changes, sharing/disclosure approvals performed for the team) without implying case-content access. [Status: Future function (not v1). Platform: ECHO, PLATFORM. User-relevant: no. Admin-relevant: yes. Category: Governance workflows, Platform administration (HTI-only).]",
39617
+ v1: false,
39618
+ retired: false
39238
39619
  },
39239
39620
  {
39240
39621
  code: "133-008-000-000-000-000-000",
@@ -39243,7 +39624,9 @@ var coreFunctions_v1_1_0_default = {
39243
39624
  selectable: true,
39244
39625
  parentCode: null,
39245
39626
  childCodes: [],
39246
- definition: "Defines the authorization graph (roles \u2192 functions \u2192 gates/tiers) and its mappings. Create and manage the platform authorization model (roles, admin roles, functions, clearance tiers, gates, and their mappings) used across HTI Platform apps. [Status: Defined; new function. Platform: PLATFORM. User-relevant: no. Admin-relevant: yes. Category: Platform administration (HTI-only), Policy config.]"
39627
+ definition: "Defines the authorization graph (roles \u2192 functions \u2192 gates/tiers) and its mappings. Create and manage the platform authorization model (roles, admin roles, functions, clearance tiers, gates, and their mappings) used across HTI Platform apps. [Status: Defined; new function. Platform: PLATFORM. User-relevant: no. Admin-relevant: yes. Category: Platform administration (HTI-only), Policy config.]",
39628
+ v1: true,
39629
+ retired: false
39247
39630
  },
39248
39631
  {
39249
39632
  code: "133-009-000-000-000-000-000",
@@ -39252,7 +39635,9 @@ var coreFunctions_v1_1_0_default = {
39252
39635
  selectable: true,
39253
39636
  parentCode: null,
39254
39637
  childCodes: [],
39255
- definition: "Time-bounded, auditable escalation capability used to resolve urgent operational or security incidents by granting additional, explicitly scoped administrative and visibility actions to a user who already holds an appropriate admin role.\n\nThis function is a controlled exception mechanism. It is designed to support incident response, debugging, and internal governance actions without turning \u201Cadmin\u201D into blanket case visibility. [Status: Future function (not v1). Platform: PLATFORM. User-relevant: no. Admin-relevant: yes. Category: Platform administration (HTI-only).]"
39638
+ definition: "Time-bounded, auditable escalation capability used to resolve urgent operational or security incidents by granting additional, explicitly scoped administrative and visibility actions to a user who already holds an appropriate admin role.\n\nThis function is a controlled exception mechanism. It is designed to support incident response, debugging, and internal governance actions without turning \u201Cadmin\u201D into blanket case visibility. [Status: Future function (not v1). Platform: PLATFORM. User-relevant: no. Admin-relevant: yes. Category: Platform administration (HTI-only).]",
39639
+ v1: false,
39640
+ retired: false
39256
39641
  },
39257
39642
  {
39258
39643
  code: "133-010-000-000-000-000-000",
@@ -39261,16 +39646,20 @@ var coreFunctions_v1_1_0_default = {
39261
39646
  selectable: true,
39262
39647
  parentCode: null,
39263
39648
  childCodes: [],
39264
- definition: "Assign or reassign a case to a specific user (or transfer ownership) within authorized scope, including turnover management and supervisory redistribution of caseload. [Status: Defined; existing PAVE function. Platform: PAVE, LEADS, THREAD. User-relevant: no. Admin-relevant: yes. Category: Governance workflows, Platform administration (HTI-only), Core case/lead workflow.]"
39649
+ definition: "Assign or reassign a case to a specific user (or transfer ownership) within authorized scope, including turnover management and supervisory redistribution of caseload. [Status: Defined; existing PAVE function. Platform: LEADS, PAVE, THREAD. User-relevant: no. Admin-relevant: yes. Category: Core case/lead workflow, Governance workflows, Platform administration (HTI-only).]",
39650
+ v1: true,
39651
+ retired: false
39265
39652
  },
39266
39653
  {
39267
39654
  code: "133-011-000-000-000-000-000",
39268
39655
  key: "case_claim",
39269
- title: "Claim Share",
39656
+ title: "Claim inbound share (PAVE)",
39270
39657
  selectable: true,
39271
39658
  parentCode: null,
39272
39659
  childCodes: [],
39273
- definition: "Accept an inbound referral and claim the associated case. [Status: Defined; existing PAVE function. Platform: PAVE. User-relevant: yes. Admin-relevant: no. Category: Core case/lead workflow.]"
39660
+ definition: "Accept an inbound referral and claim the associated case. [Status: Defined; existing PAVE function. Platform: PAVE. User-relevant: yes. Admin-relevant: no. Category: Core case/lead workflow.]",
39661
+ v1: true,
39662
+ retired: false
39274
39663
  },
39275
39664
  {
39276
39665
  code: "133-012-000-000-000-000-000",
@@ -39279,7 +39668,9 @@ var coreFunctions_v1_1_0_default = {
39279
39668
  selectable: true,
39280
39669
  parentCode: null,
39281
39670
  childCodes: [],
39282
- definition: "Share a case or add users as collaborators to a case (within agency or governed cross-agency pathways). [Status: Not started. Platform: LEADS. User-relevant: yes. Admin-relevant: no. Category: Core case/lead workflow.]"
39671
+ definition: "Share a case or add users as collaborators to a case (within agency or governed cross-agency pathways). [Status: Not started. Platform: LEADS. User-relevant: yes. Admin-relevant: no. Category: Core case/lead workflow.]",
39672
+ v1: true,
39673
+ retired: false
39283
39674
  },
39284
39675
  {
39285
39676
  code: "133-013-000-000-000-000-000",
@@ -39288,7 +39679,9 @@ var coreFunctions_v1_1_0_default = {
39288
39679
  selectable: true,
39289
39680
  parentCode: null,
39290
39681
  childCodes: [],
39291
- definition: "Create and update permitted fields on PAVE case records, excluding specialized governed actions (sharing, ROI submission, purge, etc.). [Status: Defined; existing PAVE function. Platform: PAVE. User-relevant: yes. Admin-relevant: no. Category: Core case/lead workflow.]"
39682
+ definition: "Record-level edits on case/session records: LEADS case name, identifiers, and time period; PAVE record metadata; BLUF manual curation. The capture domains formerly bundled here are their own codes: enrollment_manage, exit_discharge_conduct, service_log_manage, goals_plan_manage, needs_priorities_conduct, profile_domain_edit. [Status: Defined; existing PAVE function. Platform: LEADS, PAVE, THREAD. User-relevant: yes. Admin-relevant: no. Category: Core case/lead workflow.]",
39683
+ v1: true,
39684
+ retired: false
39292
39685
  },
39293
39686
  {
39294
39687
  code: "133-014-000-000-000-000-000",
@@ -39297,7 +39690,9 @@ var coreFunctions_v1_1_0_default = {
39297
39690
  selectable: true,
39298
39691
  parentCode: null,
39299
39692
  childCodes: [],
39300
- definition: 'Create, update, or clear administrative case flags used to triage unclaimed, blocked, or escalated cases (e.g., "needs action" / "needs admin review"). [Status: Future function (not v1). Platform: PAVE, THREAD, LEADS. User-relevant: yes. Admin-relevant: yes. Category: Governance workflows, Platform administration (HTI-only).]'
39693
+ definition: 'Create, update, or clear administrative case flags used to triage unclaimed, blocked, or escalated cases (e.g., "needs action" / "needs admin review"). [Status: Future function (not v1). Platform: LEADS, PAVE, THREAD. User-relevant: yes. Admin-relevant: yes. Category: Governance workflows, Platform administration (HTI-only).]',
39694
+ v1: false,
39695
+ retired: false
39301
39696
  },
39302
39697
  {
39303
39698
  code: "133-015-000-000-000-000-000",
@@ -39306,7 +39701,9 @@ var coreFunctions_v1_1_0_default = {
39306
39701
  selectable: true,
39307
39702
  parentCode: null,
39308
39703
  childCodes: [],
39309
- definition: "Edit case outcome fields and closure/status outcome information within permitted workflows. [Status: Future function (not v1). Platform: LEADS, PAVE. User-relevant: yes. Admin-relevant: no. Category: Core case/lead workflow.]"
39704
+ definition: "Edit case outcome fields and closure/status outcome information within permitted workflows. [Status: Future function (not v1). Platform: LEADS, PAVE. User-relevant: yes. Admin-relevant: no. Category: Core case/lead workflow.]",
39705
+ v1: false,
39706
+ retired: false
39310
39707
  },
39311
39708
  {
39312
39709
  code: "133-016-000-000-000-000-000",
@@ -39315,7 +39712,9 @@ var coreFunctions_v1_1_0_default = {
39315
39712
  selectable: true,
39316
39713
  parentCode: null,
39317
39714
  childCodes: [],
39318
- definition: "Permanently purge data that is eligible for destruction under retention policy, legal requirements, or administrative action. [Status: Future function (not v1). Platform: PAVE. User-relevant: no. Admin-relevant: yes. Category: Approval-gated actions, Governance workflows, Outputs.]"
39715
+ definition: "Permanently purge data that is eligible for destruction under retention policy, legal requirements, or administrative action. [Status: Future function (not v1). Platform: PAVE. User-relevant: no. Admin-relevant: yes. Category: Approval-gated actions, Governance workflows, Outputs.]",
39716
+ v1: false,
39717
+ retired: false
39319
39718
  },
39320
39719
  {
39321
39720
  code: "133-017-000-000-000-000-000",
@@ -39324,7 +39723,9 @@ var coreFunctions_v1_1_0_default = {
39324
39723
  selectable: true,
39325
39724
  parentCode: null,
39326
39725
  childCodes: [],
39327
- definition: "Re-open a previously closed case so work can resume under current policies and governance constraints. [Status: Defined; new function. Platform: PAVE, LEADS. User-relevant: yes. Admin-relevant: no. Category: Core case/lead workflow.]"
39726
+ definition: "Re-open a previously closed case so work can resume under current policies and governance constraints. [Status: Defined; new function. Platform: LEADS, PAVE. User-relevant: yes. Admin-relevant: no. Category: Core case/lead workflow.]",
39727
+ v1: true,
39728
+ retired: false
39328
39729
  },
39329
39730
  {
39330
39731
  code: "133-018-000-000-000-000-000",
@@ -39333,7 +39734,9 @@ var coreFunctions_v1_1_0_default = {
39333
39734
  selectable: true,
39334
39735
  parentCode: null,
39335
39736
  childCodes: [],
39336
- definition: "Use the case/lead side panel to add internal comments or notes and to upload or attach supporting artifacts. [Status: Not started. Platform: LEADS. User-relevant: yes. Admin-relevant: no. Category: Core case/lead workflow.]"
39737
+ definition: "Use the case/lead side panel to add internal comments or notes and to upload or attach supporting artifacts. [Status: Not started. Platform: LEADS, PAVE, THREAD. User-relevant: yes. Admin-relevant: no. Category: Core case/lead workflow.]",
39738
+ v1: true,
39739
+ retired: false
39337
39740
  },
39338
39741
  {
39339
39742
  code: "133-019-000-000-000-000-000",
@@ -39342,7 +39745,9 @@ var coreFunctions_v1_1_0_default = {
39342
39745
  selectable: true,
39343
39746
  parentCode: null,
39344
39747
  childCodes: [],
39345
- definition: "Transfer a set of cases from one user to another (or to an unassigned pool) for turnover/offboarding, within authorized scope. [Status: Defined; existing PAVE function. Platform: PAVE, LEADS, THREAD. User-relevant: no. Admin-relevant: yes. Category: Governance workflows, Platform administration (HTI-only).]"
39748
+ definition: "Transfer a set of cases from one user to another (or to an unassigned pool) for turnover/offboarding, within authorized scope. [Status: Defined; existing PAVE function. Platform: LEADS, PAVE, THREAD. User-relevant: no. Admin-relevant: yes. Category: Governance workflows, Platform administration (HTI-only).]",
39749
+ v1: true,
39750
+ retired: false
39346
39751
  },
39347
39752
  {
39348
39753
  code: "133-020-000-000-000-000-000",
@@ -39351,43 +39756,53 @@ var coreFunctions_v1_1_0_default = {
39351
39756
  selectable: true,
39352
39757
  parentCode: null,
39353
39758
  childCodes: [],
39354
- definition: "View and open PAVE case records and related case-level pages within the user\u2019s authorized scope. [Status: Defined; existing PAVE function. Platform: PAVE. User-relevant: yes. Admin-relevant: no. Category: Core case/lead workflow.]"
39759
+ definition: "View and open PAVE case records and related case-level pages within the user\u2019s authorized scope. [Status: Defined; existing PAVE function. Platform: PAVE, LEADS, THREAD. User-relevant: yes. Admin-relevant: no. Category: Core case/lead workflow.]",
39760
+ v1: true,
39761
+ retired: false
39355
39762
  },
39356
39763
  {
39357
39764
  code: "133-021-000-000-000-000-000",
39358
39765
  key: "ci_periodic_review",
39359
- title: "Review criminal intelligence record (periodic) (not v1)",
39766
+ title: "Review criminal intelligence record (periodic)",
39360
39767
  selectable: true,
39361
39768
  parentCode: null,
39362
39769
  childCodes: [],
39363
- definition: "Perform the required periodic review of active criminal intelligence records for continued validity, relevance, and compliance with policy and retention requirements. [Status: Future function (not v1). Platform: LEADS. User-relevant: no. Admin-relevant: yes. Category: Governance workflows, Approval-gated actions.]"
39770
+ definition: "Perform the required periodic review of active criminal intelligence records for continued validity, relevance, and compliance with policy and retention requirements. [Status: Defined; existing LEADS function. Platform: LEADS. User-relevant: no. Admin-relevant: yes. Category: Approval-gated actions, Governance workflows.]",
39771
+ v1: true,
39772
+ retired: false
39364
39773
  },
39365
39774
  {
39366
39775
  code: "133-022-000-000-000-000-000",
39367
39776
  key: "ci_record_purge_or_retire",
39368
- title: "Retire or purge criminal intelligence record (not v1)",
39777
+ title: "Retire or purge criminal intelligence record",
39369
39778
  selectable: true,
39370
39779
  parentCode: null,
39371
39780
  childCodes: [],
39372
- definition: "Retire or purge criminal intelligence records that are no longer valid or that are eligible/required for destruction under retention policy, including logging and justification. [Status: Future function (not v1). Platform: LEADS. User-relevant: no. Admin-relevant: yes. Category: Governance workflows, Approval-gated actions, Outputs.]"
39781
+ definition: "Retire or purge criminal intelligence records that are no longer valid or that are eligible/required for destruction under retention policy, including logging and justification. [Status: Defined; existing LEADS function. Platform: LEADS. User-relevant: no. Admin-relevant: yes. Category: Approval-gated actions, Governance workflows, Outputs.]",
39782
+ v1: true,
39783
+ retired: false
39373
39784
  },
39374
39785
  {
39375
39786
  code: "133-023-000-000-000-000-000",
39376
39787
  key: "ci_record_validate",
39377
- title: "Validate criminal intelligence record (not v1)",
39788
+ title: "Validate criminal intelligence record",
39378
39789
  selectable: true,
39379
39790
  parentCode: null,
39380
39791
  childCodes: [],
39381
- definition: "Approve or validate a criminal intelligence record (IDB record or equivalent) as meeting required standards (SOP, sourcing, classification, and policy gates) so it can be treated as active criminal intelligence. [Status: Future function (not v1). Platform: LEADS. User-relevant: no. Admin-relevant: yes. Category: Governance workflows, Approval-gated actions.]"
39792
+ definition: "Approve or validate a criminal intelligence record (IDB record or equivalent) as meeting required standards (SOP, sourcing, classification, and policy gates) so it can be treated as active criminal intelligence. [Status: Defined; existing LEADS function. Platform: LEADS. User-relevant: no. Admin-relevant: yes. Category: Approval-gated actions, Governance workflows.]",
39793
+ v1: true,
39794
+ retired: false
39382
39795
  },
39383
39796
  {
39384
39797
  code: "133-024-000-000-000-000-000",
39385
39798
  key: "ci_to_evidence_export_authorize",
39386
- title: "Authorize criminal intelligence \u2192 evidence export (not v1)",
39799
+ title: "Authorize criminal intelligence \u2192 evidence export",
39387
39800
  selectable: true,
39388
39801
  parentCode: null,
39389
39802
  childCodes: [],
39390
- definition: "Authorize an export that transforms or packages criminal intelligence information for evidentiary use (CI \u2192 evidence), subject to explicit policy gates, approval workflow, and elevated audit logging. [Status: Future function (not v1). Platform: LEADS. User-relevant: no. Admin-relevant: yes. Category: Outputs, Approval-gated actions, Governance workflows.]"
39803
+ definition: "Authorize an export that transforms or packages criminal intelligence information for evidentiary use (CI \u2192 evidence), subject to explicit policy gates, approval workflow, and elevated audit logging. [Status: Defined; existing LEADS function. Platform: LEADS. User-relevant: no. Admin-relevant: yes. Category: Approval-gated actions, Governance workflows, Outputs.]",
39804
+ v1: true,
39805
+ retired: false
39391
39806
  },
39392
39807
  {
39393
39808
  code: "133-025-000-000-000-000-000",
@@ -39396,7 +39811,9 @@ var coreFunctions_v1_1_0_default = {
39396
39811
  selectable: true,
39397
39812
  parentCode: null,
39398
39813
  childCodes: [],
39399
- definition: "Approve publication or sharing of dashboards/analytics views that are governed for cross-agency or governance audiences. [Status: Future function (not v1). Platform: ECHO, PLATFORM. User-relevant: no. Admin-relevant: yes. Category: Approval-gated actions, Governance workflows.]"
39814
+ definition: "Approve publication or sharing of dashboards/analytics views that are governed for cross-agency or governance audiences. [Status: Future function (not v1). Platform: ECHO, PLATFORM. User-relevant: no. Admin-relevant: yes. Category: Approval-gated actions, Governance workflows.]",
39815
+ v1: false,
39816
+ retired: false
39400
39817
  },
39401
39818
  {
39402
39819
  code: "133-026-000-000-000-000-000",
@@ -39405,7 +39822,9 @@ var coreFunctions_v1_1_0_default = {
39405
39822
  selectable: true,
39406
39823
  parentCode: null,
39407
39824
  childCodes: [],
39408
- definition: "Run data quality review workflows for reporting and metrics (validation checks, missingness review, outlier review) within authorized scope. [Status: Future function (not v1). Platform: ECHO. User-relevant: no. Admin-relevant: yes. Category: Governance workflows.]"
39825
+ definition: "Run data quality review workflows for reporting and metrics (validation checks, missingness review, outlier review) within authorized scope. [Status: Future function (not v1). Platform: ECHO. User-relevant: no. Admin-relevant: yes. Category: Governance workflows.]",
39826
+ v1: false,
39827
+ retired: false
39409
39828
  },
39410
39829
  {
39411
39830
  code: "133-027-000-000-000-000-000",
@@ -39414,7 +39833,9 @@ var coreFunctions_v1_1_0_default = {
39414
39833
  selectable: true,
39415
39834
  parentCode: null,
39416
39835
  childCodes: [],
39417
- definition: "Acknowledge and accept a deconfliction alert surfaced by the system, indicating a potential conflict or overlap with another record or investigation. [Status: Not started. Platform: LEADS. User-relevant: yes. Admin-relevant: no. Category: Search / deconfliction.]"
39836
+ definition: "Acknowledge and accept a deconfliction alert surfaced by the system, indicating a potential conflict or overlap with another record or investigation. [Status: Not started. Platform: LEADS. User-relevant: yes. Admin-relevant: no. Category: Search / deconfliction.]",
39837
+ v1: true,
39838
+ retired: false
39418
39839
  },
39419
39840
  {
39420
39841
  code: "133-028-000-000-000-000-000",
@@ -39423,7 +39844,9 @@ var coreFunctions_v1_1_0_default = {
39423
39844
  selectable: true,
39424
39845
  parentCode: null,
39425
39846
  childCodes: [],
39426
- definition: "Record a determination (for example, victimization determination or investigative determination) when the workflow requires an explicit determination step. [Status: Defined; existing PAVE function. Platform: LEADS, PAVE. User-relevant: yes. Admin-relevant: no. Category: Assessments / determinations.]"
39847
+ definition: "Record a determination (for example, victimization determination or investigative determination) when the workflow requires an explicit determination step. [Status: Defined; existing PAVE function. Platform: LEADS, PAVE. User-relevant: yes. Admin-relevant: no. Category: Assessments / determinations.]",
39848
+ v1: true,
39849
+ retired: false
39427
39850
  },
39428
39851
  {
39429
39852
  code: "133-029-000-000-000-000-000",
@@ -39432,7 +39855,9 @@ var coreFunctions_v1_1_0_default = {
39432
39855
  selectable: true,
39433
39856
  parentCode: null,
39434
39857
  childCodes: [],
39435
- definition: "Authorize an external disclosure or release of information to an external counterparty. [Status: Future function (not v1). Platform: PLATFORM. User-relevant: yes. Admin-relevant: yes. Category: Outputs, Approval-gated actions.]"
39858
+ definition: "Authorize an external disclosure or release of information to an external counterparty. [Status: Future function (not v1). Platform: PLATFORM. User-relevant: yes. Admin-relevant: yes. Category: Approval-gated actions, Outputs.]",
39859
+ v1: false,
39860
+ retired: false
39436
39861
  },
39437
39862
  {
39438
39863
  code: "133-030-000-000-000-000-000",
@@ -39441,7 +39866,9 @@ var coreFunctions_v1_1_0_default = {
39441
39866
  selectable: true,
39442
39867
  parentCode: null,
39443
39868
  childCodes: [],
39444
- definition: "Initiate an external disclosure request for review by designated authority. This function represents the act of preparing/submitting a disclosure request, not the authorization decision. [Status: Not started. Platform: PLATFORM, TRAIL. User-relevant: yes. Admin-relevant: no. Category: Outputs, Approval-gated actions.]"
39869
+ definition: "Initiate an external disclosure request for review by designated authority. This function represents the act of preparing/submitting a disclosure request, not the authorization decision. [Status: Not started. Platform: PLATFORM, TRAIL. User-relevant: yes. Admin-relevant: no. Category: Approval-gated actions, Outputs.]",
39870
+ v1: true,
39871
+ retired: false
39445
39872
  },
39446
39873
  {
39447
39874
  code: "133-031-000-000-000-000-000",
@@ -39450,7 +39877,9 @@ var coreFunctions_v1_1_0_default = {
39450
39877
  selectable: true,
39451
39878
  parentCode: null,
39452
39879
  childCodes: [],
39453
- definition: "Export de-identified report outputs or datasets derived from a single Member\u2019s own data, within authorized scope and privacy rules. This does not enable cross-agency aggregation. [Status: Defined; existing PAVE function. Platform: ECHO. User-relevant: no. Admin-relevant: yes. Category: Outputs, Governance workflows, Approval-gated actions.]"
39880
+ definition: "Export de-identified report outputs or datasets derived from a single Member\u2019s own data, within authorized scope and privacy rules. This does not enable cross-agency aggregation. [Status: Defined; existing PAVE function. Platform: ECHO. User-relevant: no. Admin-relevant: yes. Category: Approval-gated actions, Governance workflows, Outputs.]",
39881
+ v1: true,
39882
+ retired: false
39454
39883
  },
39455
39884
  {
39456
39885
  code: "133-032-000-000-000-000-000",
@@ -39459,7 +39888,9 @@ var coreFunctions_v1_1_0_default = {
39459
39888
  selectable: true,
39460
39889
  parentCode: null,
39461
39890
  childCodes: [],
39462
- definition: "Review export events and disclosure logs (including approval metadata where applicable) for compliance and audit purposes within authorized scope. [Status: Future function (not v1). Platform: ECHO, LEADS. User-relevant: no. Admin-relevant: yes. Category: Governance workflows, Platform administration (HTI-only).]"
39891
+ definition: "Review export events and disclosure logs (including approval metadata where applicable) for compliance and audit purposes within authorized scope. [Status: Future function (not v1). Platform: ECHO, LEADS. User-relevant: no. Admin-relevant: yes. Category: Governance workflows, Platform administration (HTI-only).]",
39892
+ v1: false,
39893
+ retired: false
39463
39894
  },
39464
39895
  {
39465
39896
  code: "133-033-000-000-000-000-000",
@@ -39468,7 +39899,9 @@ var coreFunctions_v1_1_0_default = {
39468
39899
  selectable: true,
39469
39900
  parentCode: null,
39470
39901
  childCodes: [],
39471
- definition: "Create and manage export templates and default fields for member-owned reporting outputs derived from a single Member\u2019s own data, within privacy and policy bounds. This does not enable cross-agency aggregation. [Status: Future function (not v1). Platform: ECHO. User-relevant: no. Admin-relevant: yes. Category: Platform administration (HTI-only), Policy config.]"
39902
+ definition: "Create and manage export templates and default fields for member-owned reporting outputs derived from a single Member\u2019s own data, within privacy and policy bounds. This does not enable cross-agency aggregation. [Status: Future function (not v1). Platform: ECHO. User-relevant: no. Admin-relevant: yes. Category: Platform administration (HTI-only), Policy config.]",
39903
+ v1: false,
39904
+ retired: false
39472
39905
  },
39473
39906
  {
39474
39907
  code: "133-034-000-000-000-000-000",
@@ -39477,7 +39910,9 @@ var coreFunctions_v1_1_0_default = {
39477
39910
  selectable: true,
39478
39911
  parentCode: null,
39479
39912
  childCodes: [],
39480
- definition: "Perform governance data quality review workflows within the reviewer\u2019s authorized scope. [Status: Future function (not v1). Platform: PLATFORM, ECHO. User-relevant: no. Admin-relevant: yes. Category: Governance workflows.]"
39913
+ definition: "Perform governance data quality review workflows within the reviewer\u2019s authorized scope. [Status: Future function (not v1). Platform: ECHO, PLATFORM. User-relevant: no. Admin-relevant: yes. Category: Governance workflows.]",
39914
+ v1: false,
39915
+ retired: false
39481
39916
  },
39482
39917
  {
39483
39918
  code: "133-035-000-000-000-000-000",
@@ -39486,7 +39921,9 @@ var coreFunctions_v1_1_0_default = {
39486
39921
  selectable: true,
39487
39922
  parentCode: null,
39488
39923
  childCodes: [],
39489
- definition: "Create a criminal intelligence database (IDB) record or equivalent intelligence artifact. [Status: Not started. Platform: LEADS. User-relevant: yes. Admin-relevant: no. Category: Core case/lead workflow.]"
39924
+ definition: "Create a criminal intelligence database (IDB) record or equivalent intelligence artifact. [Status: Not started. Platform: LEADS. User-relevant: yes. Admin-relevant: no. Category: Core case/lead workflow.]",
39925
+ v1: true,
39926
+ retired: false
39490
39927
  },
39491
39928
  {
39492
39929
  code: "133-036-000-000-000-000-000",
@@ -39495,7 +39932,9 @@ var coreFunctions_v1_1_0_default = {
39495
39932
  selectable: true,
39496
39933
  parentCode: null,
39497
39934
  childCodes: [],
39498
- definition: "Perform incident response actions (containment, remediation steps, targeted access restrictions) in response to confirmed security or compliance incidents, under documented procedures. [Status: Future function (not v1). Platform: PLATFORM. User-relevant: no. Admin-relevant: yes. Category: Governance workflows, Platform administration (HTI-only).]"
39935
+ definition: "Perform incident response actions (containment, remediation steps, targeted access restrictions) in response to confirmed security or compliance incidents, under documented procedures. [Status: Future function (not v1). Platform: PLATFORM. User-relevant: no. Admin-relevant: yes. Category: Governance workflows, Platform administration (HTI-only).]",
39936
+ v1: false,
39937
+ retired: false
39499
39938
  },
39500
39939
  {
39501
39940
  code: "133-037-000-000-000-000-000",
@@ -39504,7 +39943,9 @@ var coreFunctions_v1_1_0_default = {
39504
39943
  selectable: true,
39505
39944
  parentCode: null,
39506
39945
  childCodes: [],
39507
- definition: "Create an investigation and claim a lead/tip into it. [Status: Not started. Platform: LEADS. User-relevant: yes. Admin-relevant: no. Category: Core case/lead workflow.]"
39946
+ definition: "Create an investigation and claim a lead/tip into it. [Status: Not started. Platform: LEADS. User-relevant: yes. Admin-relevant: no. Category: Core case/lead workflow.]",
39947
+ v1: true,
39948
+ retired: false
39508
39949
  },
39509
39950
  {
39510
39951
  code: "133-038-000-000-000-000-000",
@@ -39513,7 +39954,9 @@ var coreFunctions_v1_1_0_default = {
39513
39954
  selectable: true,
39514
39955
  parentCode: null,
39515
39956
  childCodes: [],
39516
- definition: "Search across the account\u2019s investigative database to find relevant records, leads, people, or linked entities within authorized scope. [Status: Not started. Platform: LEADS. User-relevant: yes. Admin-relevant: no. Category: Search / deconfliction.]"
39957
+ definition: "Search across the account\u2019s investigative database to find relevant records, leads, people, or linked entities within authorized scope. [Status: Not started. Platform: LEADS. User-relevant: yes. Admin-relevant: no. Category: Search / deconfliction.]",
39958
+ v1: true,
39959
+ retired: false
39517
39960
  },
39518
39961
  {
39519
39962
  code: "133-039-000-000-000-000-000",
@@ -39522,7 +39965,9 @@ var coreFunctions_v1_1_0_default = {
39522
39965
  selectable: true,
39523
39966
  parentCode: null,
39524
39967
  childCodes: [],
39525
- definition: "Create a lead/tip record in LEADS. [Status: Not started. Platform: LEADS. User-relevant: yes. Admin-relevant: no. Category: Core case/lead workflow.]"
39968
+ definition: "Create a lead/tip record in LEADS. [Status: Not started. Platform: LEADS. User-relevant: yes. Admin-relevant: no. Category: Core case/lead workflow.]",
39969
+ v1: true,
39970
+ retired: false
39526
39971
  },
39527
39972
  {
39528
39973
  code: "133-040-000-000-000-000-000",
@@ -39531,7 +39976,9 @@ var coreFunctions_v1_1_0_default = {
39531
39976
  selectable: true,
39532
39977
  parentCode: null,
39533
39978
  childCodes: [],
39534
- definition: "Publish a lead/tip so it is routable/visible to intended recipients under policy constraints. [Status: Not started. Platform: LEADS. User-relevant: yes. Admin-relevant: no. Category: Core case/lead workflow.]"
39979
+ definition: "Publish a lead/tip so it is routable/visible to intended recipients under policy constraints. Includes the reverse valences of the same approval act: rejecting a submitted network and unpublishing a published lead (D3, 2026-08-13). [Status: Not started. Platform: LEADS. User-relevant: yes. Admin-relevant: no. Category: Core case/lead workflow.]",
39980
+ v1: true,
39981
+ retired: false
39535
39982
  },
39536
39983
  {
39537
39984
  code: "133-041-000-000-000-000-000",
@@ -39540,7 +39987,9 @@ var coreFunctions_v1_1_0_default = {
39540
39987
  selectable: true,
39541
39988
  parentCode: null,
39542
39989
  childCodes: [],
39543
- definition: "Send a time-limited magic-link share that grants access to a specific item or workflow under policy constraints. [Status: Defined; existing PAVE function. Platform: PAVE. User-relevant: yes. Admin-relevant: no. Category: Sharing / referrals.]"
39990
+ definition: "Send a time-limited magic-link share that grants access to a specific item or workflow under policy constraints. [Status: Defined; existing PAVE function. Platform: PAVE. User-relevant: yes. Admin-relevant: no. Category: Sharing / referrals.]",
39991
+ v1: true,
39992
+ retired: false
39544
39993
  },
39545
39994
  {
39546
39995
  code: "133-042-000-000-000-000-000",
@@ -39549,7 +39998,9 @@ var coreFunctions_v1_1_0_default = {
39549
39998
  selectable: true,
39550
39999
  parentCode: null,
39551
40000
  childCodes: [],
39552
- definition: "Generate a member-level account report (for example, account data, training status, and compliance-relevant metadata) within the permitted scope. [Status: Defined; existing PAVE function. Platform: ECHO. User-relevant: no. Admin-relevant: yes. Category: Governance workflows.]"
40001
+ definition: "Generate a member-level account report (for example, account data, training status, and compliance-relevant metadata) within the permitted scope. [Status: Defined; existing PAVE function. Platform: ECHO. User-relevant: no. Admin-relevant: yes. Category: Governance workflows.]",
40002
+ v1: true,
40003
+ retired: false
39553
40004
  },
39554
40005
  {
39555
40006
  code: "133-043-000-000-000-000-000",
@@ -39558,7 +40009,9 @@ var coreFunctions_v1_1_0_default = {
39558
40009
  selectable: true,
39559
40010
  parentCode: null,
39560
40011
  childCodes: [],
39561
- definition: "Support member onboarding workflows (setup guidance, configuration validation, training readiness checks) without granting authority to manage member users, roles, or policies. [Status: Defined; existing PAVE function. Platform: PLATFORM, TRAIL, ECHO. User-relevant: no. Admin-relevant: yes. Category: Governance workflows.]"
40012
+ definition: "Support member onboarding workflows (setup guidance, configuration validation, training readiness checks) without granting authority to manage member users, roles, or policies. [Status: Defined; existing PAVE function. Platform: ECHO, PLATFORM, TRAIL. User-relevant: no. Admin-relevant: yes. Category: Governance workflows.]",
40013
+ v1: true,
40014
+ retired: false
39562
40015
  },
39563
40016
  {
39564
40017
  code: "133-044-000-000-000-000-000",
@@ -39567,7 +40020,9 @@ var coreFunctions_v1_1_0_default = {
39567
40020
  selectable: true,
39568
40021
  parentCode: null,
39569
40022
  childCodes: [],
39570
- definition: "Search open-source database for relevant context to the user\u2019s work. [Status: Not started. Platform: LEADS. User-relevant: yes. Admin-relevant: no. Category: Search / deconfliction.]"
40023
+ definition: "Search open-source database for relevant context to the user\u2019s work. [Status: Not started. Platform: LEADS. User-relevant: yes. Admin-relevant: no. Category: Search / deconfliction.]",
40024
+ v1: true,
40025
+ retired: false
39571
40026
  },
39572
40027
  {
39573
40028
  code: "133-045-000-000-000-000-000",
@@ -39576,7 +40031,9 @@ var coreFunctions_v1_1_0_default = {
39576
40031
  selectable: true,
39577
40032
  parentCode: null,
39578
40033
  childCodes: [],
39579
- definition: "Review outbound Thread shares sent by the user\u2019s team that remain unclaimed, and take follow-up actions such as re-submitting, re-routing, or archiving per policy. [Status: Future function (not v1). Platform: THREAD. User-relevant: yes. Admin-relevant: no. Category: Sharing / referrals.]"
40034
+ definition: "Review outbound Thread shares sent by the user\u2019s team that remain unclaimed, and take follow-up actions such as re-submitting, re-routing, or archiving per policy. [Status: Future function (not v1). Platform: THREAD. User-relevant: yes. Admin-relevant: no. Category: Sharing / referrals.]",
40035
+ v1: false,
40036
+ retired: false
39580
40037
  },
39581
40038
  {
39582
40039
  code: "133-046-000-000-000-000-000",
@@ -39585,7 +40042,9 @@ var coreFunctions_v1_1_0_default = {
39585
40042
  selectable: true,
39586
40043
  parentCode: null,
39587
40044
  childCodes: [],
39588
- definition: "Create or update a person\u2019s roles, relationships, and contact/social identifiers as associations on a record, subject to policy and data quality constraints. [Status: Not started. Platform: LEADS. User-relevant: yes. Admin-relevant: no. Category: Core case/lead workflow.]"
40045
+ definition: "Create or update a person\u2019s roles, relationships, and contact/social identifiers as associations on a record, subject to policy and data quality constraints. [Status: Not started. Platform: LEADS, PAVE, THREAD. User-relevant: yes. Admin-relevant: no. Category: Core case/lead workflow.]",
40046
+ v1: true,
40047
+ retired: false
39589
40048
  },
39590
40049
  {
39591
40050
  code: "133-047-000-000-000-000-000",
@@ -39594,7 +40053,9 @@ var coreFunctions_v1_1_0_default = {
39594
40053
  selectable: true,
39595
40054
  parentCode: null,
39596
40055
  childCodes: [],
39597
- definition: "Modify platform-level permission bounds, including which roles can ever perform which functions. [Status: Defined; new function. Platform: PLATFORM. User-relevant: no. Admin-relevant: yes. Category: Platform administration (HTI-only), Policy config.]"
40056
+ definition: "Modify platform-level permission bounds, including which roles can ever perform which functions. [Status: Defined; new function. Platform: PLATFORM. User-relevant: no. Admin-relevant: yes. Category: Platform administration (HTI-only), Policy config.]",
40057
+ v1: true,
40058
+ retired: false
39598
40059
  },
39599
40060
  {
39600
40061
  code: "133-048-000-000-000-000-000",
@@ -39603,7 +40064,9 @@ var coreFunctions_v1_1_0_default = {
39603
40064
  selectable: true,
39604
40065
  parentCode: null,
39605
40066
  childCodes: [],
39606
- definition: "Configure and maintain platform-wide policy enforcement settings (redaction rules, de-identification defaults, disclosure/export gates, logging/audit requirements) at run-time within HTI Labs custodianship. [Status: Future function (not v1). Platform: PLATFORM. User-relevant: no. Admin-relevant: yes. Category: Platform administration (HTI-only), Policy config, Governance workflows.]"
40067
+ definition: "Configure and maintain platform-wide policy enforcement settings (redaction rules, de-identification defaults, disclosure/export gates, logging/audit requirements) at run-time within HTI Labs custodianship. [Status: Future function (not v1). Platform: PLATFORM. User-relevant: no. Admin-relevant: yes. Category: Governance workflows, Platform administration (HTI-only), Policy config.]",
40068
+ v1: false,
40069
+ retired: false
39607
40070
  },
39608
40071
  {
39609
40072
  code: "133-049-000-000-000-000-000",
@@ -39612,7 +40075,9 @@ var coreFunctions_v1_1_0_default = {
39612
40075
  selectable: true,
39613
40076
  parentCode: null,
39614
40077
  childCodes: [],
39615
- definition: "Generate a printable representation of a record or report view, limited to what the user is authorized to view in context. [Status: Defined; new function. Platform: PAVE, ECHO, LEADS, TRAIL. User-relevant: yes. Admin-relevant: no. Category: Outputs, Core case/lead workflow.]"
40078
+ definition: "Generate a printable representation of a record or report view, limited to what the user is authorized to view in context. [Status: Defined; new function. Platform: PAVE, ECHO, LEADS, TRAIL, THREAD. User-relevant: yes. Admin-relevant: no. Category: Core case/lead workflow, Outputs.]",
40079
+ v1: true,
40080
+ retired: false
39616
40081
  },
39617
40082
  {
39618
40083
  code: "133-050-000-000-000-000-000",
@@ -39621,7 +40086,9 @@ var coreFunctions_v1_1_0_default = {
39621
40086
  selectable: true,
39622
40087
  parentCode: null,
39623
40088
  childCodes: [],
39624
- definition: "Receive and ingest an inbound referral from an external counterparty, making it available for permitted triage/workflow. Currently a team-based function (\u201Dwhich team is the default team for incoming shares from external partners?\u201D) [Status: Defined; existing PAVE function. Platform: PAVE, LEADS, THREAD. User-relevant: yes. Admin-relevant: no. Category: Sharing / referrals.]"
40089
+ definition: "Receive and ingest an inbound referral from an external counterparty, making it available for permitted triage/workflow. Currently a team-based function (\u201Dwhich team is the default team for incoming shares from external partners?\u201D) [Status: Defined; existing PAVE function. Platform: LEADS, PAVE, THREAD. User-relevant: yes. Admin-relevant: no. Category: Sharing / referrals.]",
40090
+ v1: true,
40091
+ retired: false
39625
40092
  },
39626
40093
  {
39627
40094
  code: "133-051-000-000-000-000-000",
@@ -39630,7 +40097,9 @@ var coreFunctions_v1_1_0_default = {
39630
40097
  selectable: true,
39631
40098
  parentCode: null,
39632
40099
  childCodes: [],
39633
- definition: "Receive and ingest an inbound referral originating from within the same member account (internal routing). Currently a team-based function (\u201Dwhich team(s) can receive incoming shares from which teams?\u201D) [Status: Defined; existing PAVE function. Platform: PAVE, THREAD, LEADS. User-relevant: yes. Admin-relevant: no. Category: Sharing / referrals.]"
40100
+ definition: "Receive and ingest an inbound referral originating from within the same member account (internal routing). Currently a team-based function (\u201Dwhich team(s) can receive incoming shares from which teams?\u201D) [Status: Defined; existing PAVE function. Platform: LEADS, PAVE, THREAD. User-relevant: yes. Admin-relevant: no. Category: Sharing / referrals.]",
40101
+ v1: true,
40102
+ retired: false
39634
40103
  },
39635
40104
  {
39636
40105
  code: "133-052-000-000-000-000-000",
@@ -39639,7 +40108,9 @@ var coreFunctions_v1_1_0_default = {
39639
40108
  selectable: true,
39640
40109
  parentCode: null,
39641
40110
  childCodes: [],
39642
- definition: "Send a share/referral to another party or revoke a previously sent share/referral when policy or consent requires. [Status: Defined; existing PAVE function. Platform: PAVE. User-relevant: yes. Admin-relevant: no. Category: Sharing / referrals.]"
40111
+ definition: "Send a share/referral to an external party (excluding VSP to LE). (Revocation of a previously sent share is share_revoke.) [Status: Defined; existing PAVE function. Platform: PAVE. User-relevant: yes. Admin-relevant: no. Category: Sharing / referrals.]",
40112
+ v1: true,
40113
+ retired: false
39643
40114
  },
39644
40115
  {
39645
40116
  code: "133-053-000-000-000-000-000",
@@ -39648,7 +40119,9 @@ var coreFunctions_v1_1_0_default = {
39648
40119
  selectable: true,
39649
40120
  parentCode: null,
39650
40121
  childCodes: [],
39651
- definition: "Send a share/referral to another party or revoke a previously sent share/referral when policy or consent requires. [Status: Defined; new function. Platform: PAVE. User-relevant: yes. Admin-relevant: no. Category: Sharing / referrals.]"
40122
+ definition: "Send an internal share/referral to another party inside the platform. (Revocation of a previously sent share is share_revoke.) [Status: Defined; new function. Platform: THREAD, PAVE. User-relevant: yes. Admin-relevant: no. Category: Sharing / referrals.]",
40123
+ v1: true,
40124
+ retired: false
39652
40125
  },
39653
40126
  {
39654
40127
  code: "133-054-000-000-000-000-000",
@@ -39657,7 +40130,9 @@ var coreFunctions_v1_1_0_default = {
39657
40130
  selectable: true,
39658
40131
  parentCode: null,
39659
40132
  childCodes: [],
39660
- definition: "Create and manage member reporting dashboards, saved views, and reporting configuration (Echo) within permitted scope. [Status: Future function (not v1). Platform: ECHO. User-relevant: no. Admin-relevant: yes. Category: Platform administration (HTI-only), Governance workflows.]"
40133
+ definition: "Create and manage member reporting dashboards, saved views, and reporting configuration (Echo) within permitted scope. [Status: Future function (not v1). Platform: ECHO. User-relevant: no. Admin-relevant: yes. Category: Governance workflows, Platform administration (HTI-only).]",
40134
+ v1: false,
40135
+ retired: false
39661
40136
  },
39662
40137
  {
39663
40138
  code: "133-055-000-000-000-000-000",
@@ -39666,7 +40141,9 @@ var coreFunctions_v1_1_0_default = {
39666
40141
  selectable: true,
39667
40142
  parentCode: null,
39668
40143
  childCodes: [],
39669
- definition: "Review retention schedules, purge/retire events, and retention compliance status for a member account within authorized scope, without performing purge actions. [Status: Future function (not v1). Platform: PLATFORM, ECHO, LEADS. User-relevant: no. Admin-relevant: yes. Category: Governance workflows, Platform administration (HTI-only).]"
40144
+ definition: "Review retention schedules, purge/retire events, and retention compliance status for a member account within authorized scope, without performing purge actions. [Status: Future function (not v1). Platform: ECHO, LEADS, PLATFORM. User-relevant: no. Admin-relevant: yes. Category: Governance workflows, Platform administration (HTI-only).]",
40145
+ v1: false,
40146
+ retired: false
39670
40147
  },
39671
40148
  {
39672
40149
  code: "133-056-000-000-000-000-000",
@@ -39675,7 +40152,9 @@ var coreFunctions_v1_1_0_default = {
39675
40152
  selectable: true,
39676
40153
  parentCode: null,
39677
40154
  childCodes: [],
39678
- definition: "Create, upload, edit, and submit a Release of Information (ROI) artifact and associated consent metadata for a case/session. [Status: Defined; new function. Platform: PAVE. User-relevant: yes. Admin-relevant: no. Category: Approval-gated actions.]"
40155
+ definition: "Create, upload, edit, and submit a Release of Information (ROI) artifact and associated consent metadata for a case/session. [Status: Defined; new function. Platform: PAVE. User-relevant: yes. Admin-relevant: no. Category: Approval-gated actions.]",
40156
+ v1: true,
40157
+ retired: false
39679
40158
  },
39680
40159
  {
39681
40160
  code: "133-057-000-000-000-000-000",
@@ -39684,7 +40163,9 @@ var coreFunctions_v1_1_0_default = {
39684
40163
  selectable: true,
39685
40164
  parentCode: null,
39686
40165
  childCodes: [],
39687
- definition: "Assign or remove one or more user roles to a specific user. [Status: Defined; new function. Platform: PLATFORM. User-relevant: no. Admin-relevant: yes. Category: Identity & access administration, Platform administration (HTI-only).]"
40166
+ definition: "Assign or remove one or more user roles to a specific user. [Status: Defined; new function. Platform: PLATFORM. User-relevant: no. Admin-relevant: yes. Category: Identity & access administration, Platform administration (HTI-only).]",
40167
+ v1: true,
40168
+ retired: false
39688
40169
  },
39689
40170
  {
39690
40171
  code: "133-058-000-000-000-000-000",
@@ -39693,7 +40174,9 @@ var coreFunctions_v1_1_0_default = {
39693
40174
  selectable: true,
39694
40175
  parentCode: null,
39695
40176
  childCodes: [],
39696
- definition: "Enable or disable (toggle) user roles and account access \u2014 activating, deactivating, or suspending a role assignment or an account at the platform / account-administration level. [Status: Not started. Platform: (unspecified). User-relevant: no. Admin-relevant: yes. Category: (unspecified).]"
40177
+ definition: "Enable or disable (toggle) user roles and account access \u2014 activating, deactivating, or suspending a role assignment or an account at the platform / account-administration level. [Status: Not started. Platform: PLATFORM. User-relevant: no. Admin-relevant: yes. Category: Identity & access administration.]",
40178
+ v1: true,
40179
+ retired: false
39697
40180
  },
39698
40181
  {
39699
40182
  code: "133-059-000-000-000-000-000",
@@ -39702,7 +40185,9 @@ var coreFunctions_v1_1_0_default = {
39702
40185
  selectable: true,
39703
40186
  parentCode: null,
39704
40187
  childCodes: [],
39705
- definition: "Create and manage sandbox/testing environments, test accounts, and validation tooling needed for QA, training, and safe policy verification. [Status: Defined; new function. Platform: PLATFORM. User-relevant: no. Admin-relevant: yes. Category: Platform administration (HTI-only).]"
40188
+ definition: "Create and manage sandbox/testing environments, test accounts, and validation tooling needed for QA, training, and safe policy verification. [Status: Defined; new function. Platform: PLATFORM. User-relevant: no. Admin-relevant: yes. Category: Platform administration (HTI-only).]",
40189
+ v1: true,
40190
+ retired: false
39706
40191
  },
39707
40192
  {
39708
40193
  code: "133-060-000-000-000-000-000",
@@ -39711,7 +40196,9 @@ var coreFunctions_v1_1_0_default = {
39711
40196
  selectable: true,
39712
40197
  parentCode: null,
39713
40198
  childCodes: [],
39714
- definition: "Initiate and complete a screening workflow in PAVE and record screening responses. [Status: Defined; existing PAVE function. Platform: PAVE. User-relevant: yes. Admin-relevant: no. Category: Assessments / determinations.]"
40199
+ definition: "Initiate and complete a screening workflow in PAVE or Thread and record screening responses. [Status: Defined; existing PAVE function. Platform: PAVE, THREAD. User-relevant: yes. Admin-relevant: no. Category: Assessments / determinations.]",
40200
+ v1: true,
40201
+ retired: false
39715
40202
  },
39716
40203
  {
39717
40204
  code: "133-061-000-000-000-000-000",
@@ -39720,7 +40207,9 @@ var coreFunctions_v1_1_0_default = {
39720
40207
  selectable: true,
39721
40208
  parentCode: null,
39722
40209
  childCodes: [],
39723
- definition: "View screening responses and any derived outputs for a case or session within authorized scope. [Status: Defined; new function. Platform: PAVE. User-relevant: yes. Admin-relevant: no. Category: Assessments / determinations.]"
40210
+ definition: "View screening responses and any derived outputs for a case or session within authorized scope. [Status: Defined; new function. Platform: PAVE. User-relevant: yes. Admin-relevant: no. Category: Assessments / determinations.]",
40211
+ v1: true,
40212
+ retired: false
39724
40213
  },
39725
40214
  {
39726
40215
  code: "133-062-000-000-000-000-000",
@@ -39729,7 +40218,9 @@ var coreFunctions_v1_1_0_default = {
39729
40218
  selectable: true,
39730
40219
  parentCode: null,
39731
40220
  childCodes: [],
39732
- definition: "Apply platform-level security restrictions (suspensions, quarantines, emergency clamps) within defined governance procedures. [Status: Future function (not v1). Platform: PLATFORM. User-relevant: no. Admin-relevant: yes. Category: Platform administration (HTI-only).]"
40221
+ definition: "Apply platform-level security restrictions (suspensions, quarantines, emergency clamps) within defined governance procedures. [Status: Future function (not v1). Platform: PLATFORM. User-relevant: no. Admin-relevant: yes. Category: Platform administration (HTI-only).]",
40222
+ v1: false,
40223
+ retired: false
39733
40224
  },
39734
40225
  {
39735
40226
  code: "133-063-000-000-000-000-000",
@@ -39738,7 +40229,9 @@ var coreFunctions_v1_1_0_default = {
39738
40229
  selectable: true,
39739
40230
  parentCode: null,
39740
40231
  childCodes: [],
39741
- definition: "Create a new operational session to capture and manage work in progress. (In Thread\u2019s context this session creation is always a crisis scenario but this session creation concept will also be used in PAVE for post-intake sessions.) [Status: Defined; new function. Platform: THREAD. User-relevant: yes. Admin-relevant: no. Category: Core case/lead workflow.]"
40232
+ definition: "Create a new operational session to capture and manage work in progress. (In Thread\u2019s context this session creation is always a crisis scenario but this session creation concept will also be used in PAVE for post-intake sessions.) [Status: Defined; new function. Platform: THREAD. User-relevant: yes. Admin-relevant: no. Category: Core case/lead workflow.]",
40233
+ v1: true,
40234
+ retired: false
39742
40235
  },
39743
40236
  {
39744
40237
  code: "133-064-000-000-000-000-000",
@@ -39747,7 +40240,9 @@ var coreFunctions_v1_1_0_default = {
39747
40240
  selectable: true,
39748
40241
  parentCode: null,
39749
40242
  childCodes: [],
39750
- definition: "Approve a configured sharing rule or a sharing enablement action that requires designated authority. [Status: Future function (not v1). Platform: PLATFORM. User-relevant: no. Admin-relevant: yes. Category: Approval-gated actions, Outputs.]"
40243
+ definition: "Approve a configured sharing rule or a sharing enablement action that requires designated authority. [Status: Future function (not v1). Platform: PLATFORM. User-relevant: no. Admin-relevant: yes. Category: Approval-gated actions, Outputs.]",
40244
+ v1: false,
40245
+ retired: false
39751
40246
  },
39752
40247
  {
39753
40248
  code: "133-065-000-000-000-000-000",
@@ -39756,7 +40251,9 @@ var coreFunctions_v1_1_0_default = {
39756
40251
  selectable: true,
39757
40252
  parentCode: null,
39758
40253
  childCodes: [],
39759
- definition: "Configure sharing policies and cross-agency sharing settings within platform bounds, including counterparty allow-lists, purpose constraints, and consent/ROI requirements (PAVE + Trail). [Status: Defined; existing PAVE function. Platform: PLATFORM. User-relevant: no. Admin-relevant: yes. Category: Policy config, Platform administration (HTI-only).]"
40254
+ definition: "Configure sharing policies and cross-agency sharing settings within platform bounds, including counterparty allow-lists, purpose constraints, and consent/ROI requirements (PAVE + Trail). [Status: Defined; existing PAVE function. Platform: PLATFORM. User-relevant: no. Admin-relevant: yes. Category: Platform administration (HTI-only), Policy config.]",
40255
+ v1: true,
40256
+ retired: false
39760
40257
  },
39761
40258
  {
39762
40259
  code: "133-066-000-000-000-000-000",
@@ -39765,7 +40262,9 @@ var coreFunctions_v1_1_0_default = {
39765
40262
  selectable: true,
39766
40263
  parentCode: null,
39767
40264
  childCodes: [],
39768
- definition: "Approve cross-agency sharing rules and constraints within platform-set bounds. [Status: Defined; new function. Platform: PLATFORM. User-relevant: no. Admin-relevant: yes. Category: Approval-gated actions, Policy config.]"
40265
+ definition: "Approve cross-agency sharing rules and constraints within platform-set bounds. [Status: Defined; new function. Platform: PLATFORM. User-relevant: no. Admin-relevant: yes. Category: Approval-gated actions, Policy config.]",
40266
+ v1: true,
40267
+ retired: false
39769
40268
  },
39770
40269
  {
39771
40270
  code: "133-067-000-000-000-000-000",
@@ -39774,7 +40273,9 @@ var coreFunctions_v1_1_0_default = {
39774
40273
  selectable: true,
39775
40274
  parentCode: null,
39776
40275
  childCodes: [],
39777
- definition: "Initiate and send a governed information share from a VSP context to an authorized law-enforcement counterparty (or LE role) within the agency\u2019s configured sharing rules. [Status: Defined; new function. Platform: THREAD, PAVE, LEADS. User-relevant: yes. Admin-relevant: yes. Category: Sharing / referrals, Approval-gated actions, Governance workflows, Outputs.]"
40276
+ definition: "Initiate and send a governed information share from a VSP context to an authorized law-enforcement counterparty (or LE role) within the agency\u2019s configured sharing rules. [Status: Defined; new function. Platform: LEADS, PAVE, THREAD. User-relevant: yes. Admin-relevant: yes. Category: Approval-gated actions, Governance workflows, Outputs, Sharing / referrals.]",
40277
+ v1: true,
40278
+ retired: false
39778
40279
  },
39779
40280
  {
39780
40281
  code: "133-068-000-000-000-000-000",
@@ -39783,7 +40284,9 @@ var coreFunctions_v1_1_0_default = {
39783
40284
  selectable: true,
39784
40285
  parentCode: null,
39785
40286
  childCodes: [],
39786
- definition: "Triage inbound support requests and bug reports, reproduce issues, gather diagnostics, and route to engineering or member administrators within authorized scope. [Status: Functional on all apps. Platform: PLATFORM, TRAIL, ECHO, LEADS. User-relevant: no. Admin-relevant: yes. Category: Governance workflows, Platform administration (HTI-only).]"
40287
+ definition: "Triage inbound support requests and bug reports, reproduce issues, gather diagnostics, and route to engineering or member administrators within authorized scope. [Status: Functional on all apps. Platform: ECHO, LEADS, PLATFORM, TRAIL. User-relevant: no. Admin-relevant: yes. Category: Governance workflows, Platform administration (HTI-only).]",
40288
+ v1: true,
40289
+ retired: false
39787
40290
  },
39788
40291
  {
39789
40292
  code: "133-069-000-000-000-000-000",
@@ -39792,7 +40295,9 @@ var coreFunctions_v1_1_0_default = {
39792
40295
  selectable: true,
39793
40296
  parentCode: null,
39794
40297
  childCodes: [],
39795
- definition: "View platform diagnostics, system health signals, and operational logs needed to troubleshoot issues, without granting broad access to sensitive member case data. [Status: Defined; new function. Platform: PLATFORM. User-relevant: no. Admin-relevant: yes. Category: Platform administration (HTI-only).]"
40298
+ definition: "View platform diagnostics, system health signals, and operational logs needed to troubleshoot issues, without granting broad access to sensitive member case data. [Status: Defined; new function. Platform: PLATFORM. User-relevant: no. Admin-relevant: yes. Category: Platform administration (HTI-only).]",
40299
+ v1: true,
40300
+ retired: false
39796
40301
  },
39797
40302
  {
39798
40303
  code: "133-070-000-000-000-000-000",
@@ -39801,7 +40306,9 @@ var coreFunctions_v1_1_0_default = {
39801
40306
  selectable: true,
39802
40307
  parentCode: null,
39803
40308
  childCodes: [],
39804
- definition: "Create, modify, and manage the member account\u2019s team structure and administrative scoping, including creating/deleting teams and assigning which teams a TEAM-ADM administers, within member account bounds. [Status: Defined; existing PAVE function. Platform: PLATFORM. User-relevant: no. Admin-relevant: yes. Category: Platform administration (HTI-only), Policy config.]"
40309
+ definition: "Create, modify, and manage the member account\u2019s team structure and administrative scoping, including creating/deleting teams and assigning which teams a TEAM-ADM administers, within member account bounds. [Status: Defined; existing PAVE function. Platform: PLATFORM. User-relevant: no. Admin-relevant: yes. Category: Platform administration (HTI-only), Policy config.]",
40310
+ v1: true,
40311
+ retired: false
39805
40312
  },
39806
40313
  {
39807
40314
  code: "133-071-000-000-000-000-000",
@@ -39810,7 +40317,9 @@ var coreFunctions_v1_1_0_default = {
39810
40317
  selectable: true,
39811
40318
  parentCode: null,
39812
40319
  childCodes: [],
39813
- definition: "Add, remove, and manage user membership within teams inside the administrator\u2019s authorized team scope. [Status: Defined; new function. Platform: PLATFORM. User-relevant: no. Admin-relevant: yes. Category: Platform administration (HTI-only).]"
40320
+ definition: "Add, remove, and manage user membership within teams inside the administrator\u2019s authorized team scope. [Status: Defined; new function. Platform: PLATFORM. User-relevant: no. Admin-relevant: yes. Category: Platform administration (HTI-only).]",
40321
+ v1: true,
40322
+ retired: false
39814
40323
  },
39815
40324
  {
39816
40325
  code: "133-072-000-000-000-000-000",
@@ -39819,7 +40328,9 @@ var coreFunctions_v1_1_0_default = {
39819
40328
  selectable: true,
39820
40329
  parentCode: null,
39821
40330
  childCodes: [],
39822
- definition: "Configure baseline workflow settings and tooling surfaces for a team (team-scoped defaults, routing within team, workflow participation settings) within agency policy bounds. [Status: Defined; new function. Platform: PLATFORM. User-relevant: no. Admin-relevant: yes. Category: Policy config, Platform administration (HTI-only).]"
40331
+ definition: "Configure baseline workflow settings and tooling surfaces for a team (team-scoped defaults, routing within team, workflow participation settings) within agency policy bounds. [Status: Defined; new function. Platform: PLATFORM. User-relevant: no. Admin-relevant: yes. Category: Platform administration (HTI-only), Policy config.]",
40332
+ v1: true,
40333
+ retired: false
39823
40334
  },
39824
40335
  {
39825
40336
  code: "133-073-000-000-000-000-000",
@@ -39828,7 +40339,9 @@ var coreFunctions_v1_1_0_default = {
39828
40339
  selectable: true,
39829
40340
  parentCode: null,
39830
40341
  childCodes: [],
39831
- definition: "Accept an inbound Thread share received from another organization or team member (if user-set (staff to volunteer) segregation exist within a team) making it available for local triage and workflow. [Status: Future function (not v1). Platform: THREAD. User-relevant: yes. Admin-relevant: no. Category: Sharing / referrals.]"
40342
+ definition: "Accept an inbound Thread share received from another organization or team member (if user-set (staff to volunteer) segregation exist within a team) making it available for local triage and workflow. [Status: Future function (not v1). Platform: THREAD. User-relevant: yes. Admin-relevant: no. Category: Sharing / referrals.]",
40343
+ v1: false,
40344
+ retired: false
39832
40345
  },
39833
40346
  {
39834
40347
  code: "133-074-000-000-000-000-000",
@@ -39837,7 +40350,9 @@ var coreFunctions_v1_1_0_default = {
39837
40350
  selectable: true,
39838
40351
  parentCode: null,
39839
40352
  childCodes: [],
39840
- definition: "Send an outbound Thread share to an another organization or team member (if user-set (staff to volunteer) segregation exist within a team)to configured sharing/routing rules. [Status: Future function (not v1). Platform: THREAD. User-relevant: yes. Admin-relevant: no. Category: Sharing / referrals.]"
40353
+ definition: "Send an outbound Thread share to an another organization or team member (if user-set (staff to volunteer) segregation exist within a team)to configured sharing/routing rules. [Status: Future function (not v1). Platform: THREAD. User-relevant: yes. Admin-relevant: no. Category: Sharing / referrals.]",
40354
+ v1: false,
40355
+ retired: false
39841
40356
  },
39842
40357
  {
39843
40358
  code: "133-075-000-000-000-000-000",
@@ -39846,7 +40361,9 @@ var coreFunctions_v1_1_0_default = {
39846
40361
  selectable: true,
39847
40362
  parentCode: null,
39848
40363
  childCodes: [],
39849
- definition: "Upload or update training content, including learning modules and quizzes, for use in onboarding and ongoing certification workflows. [Status: Future function (not v1). Platform: TRAIL. User-relevant: no. Admin-relevant: yes. Category: Platform administration (HTI-only), Governance workflows.]"
40364
+ definition: "Upload or update training content, including learning modules and quizzes, for use in onboarding and ongoing certification workflows. [Status: Future function (not v1). Platform: TRAIL. User-relevant: no. Admin-relevant: yes. Category: Governance workflows, Platform administration (HTI-only).]",
40365
+ v1: false,
40366
+ retired: false
39850
40367
  },
39851
40368
  {
39852
40369
  code: "133-076-000-000-000-000-000",
@@ -39855,7 +40372,9 @@ var coreFunctions_v1_1_0_default = {
39855
40372
  selectable: true,
39856
40373
  parentCode: null,
39857
40374
  childCodes: [],
39858
- definition: "Configure and manage training and certification gates that restrict role/function exercisability, including mapping required trainings to roles/functions and recording/approving completion where applicable. [Status: Defined; new function. Platform: PLATFORM, TRAIL. User-relevant: no. Admin-relevant: yes. Category: Identity & access administration, Policy config, Platform administration (HTI-only).]"
40375
+ definition: "Configure and manage training and certification gates that restrict role/function exercisability, including mapping required trainings to roles/functions and recording/approving completion where applicable. [Status: Defined; new function. Platform: PLATFORM, TRAIL. User-relevant: no. Admin-relevant: yes. Category: Identity & access administration, Platform administration (HTI-only), Policy config.]",
40376
+ v1: true,
40377
+ retired: false
39859
40378
  },
39860
40379
  {
39861
40380
  code: "133-077-000-000-000-000-000",
@@ -39864,7 +40383,9 @@ var coreFunctions_v1_1_0_default = {
39864
40383
  selectable: true,
39865
40384
  parentCode: null,
39866
40385
  childCodes: [],
39867
- definition: "Create, invite, deactivate, and manage user accounts within a member account or platform context. [Status: Defined; existing PAVE function. Platform: PLATFORM. User-relevant: no. Admin-relevant: yes. Category: Identity & access administration, Platform administration (HTI-only).]"
40386
+ definition: "Create, invite, deactivate, and manage user accounts within a member account or platform context. [Status: Defined; existing PAVE function. Platform: PLATFORM. User-relevant: no. Admin-relevant: yes. Category: Identity & access administration, Platform administration (HTI-only).]",
40387
+ v1: true,
40388
+ retired: false
39868
40389
  },
39869
40390
  {
39870
40391
  code: "133-078-000-000-000-000-000",
@@ -39873,7 +40394,394 @@ var coreFunctions_v1_1_0_default = {
39873
40394
  selectable: true,
39874
40395
  parentCode: null,
39875
40396
  childCodes: [],
39876
- definition: `Move a deactivated author's "Private to me" notes to "Our account only", so the account can read notes whose author no longer has an account. The admin cannot read a note before opening it and cannot move it any further. [Status: Defined; new function. Platform: PAVE, THREAD. User-relevant: no. Admin-relevant: yes. Category: Account administration (member admin).]`
40397
+ definition: `Move a deactivated author's "Private to me" notes to "Our account only", so the account can read notes whose author no longer has an account. The admin cannot read a note before opening it and cannot move it any further. [Status: Defined; new function. Platform: PAVE, THREAD. User-relevant: no. Admin-relevant: yes. Category: Account administration (member admin).]`,
40398
+ v1: true,
40399
+ retired: false
40400
+ },
40401
+ {
40402
+ code: "133-079-000-000-000-000-000",
40403
+ key: "agency_info_manage",
40404
+ title: "Edit own agency's profile",
40405
+ selectable: true,
40406
+ parentCode: null,
40407
+ childCodes: [],
40408
+ definition: "Edit the agency's own profile: direct-edit governance-class fields (org fields, team blocks, documents). Request-class fields ride the edit-request review flow (member_onboarding_support on the HTI side). [Status: Defined; new function. Platform: PLATFORM. User-relevant: no. Admin-relevant: yes. Category: Account administration (member admin).]",
40409
+ v1: true,
40410
+ retired: false
40411
+ },
40412
+ {
40413
+ code: "133-080-000-000-000-000-000",
40414
+ key: "srl_manage",
40415
+ title: "Manage the agency's Service Registry (SRL)",
40416
+ selectable: true,
40417
+ parentCode: null,
40418
+ childCodes: [],
40419
+ definition: "Add and remove the agency's Service Registry rows (agency x program x VSCAT service offerings). [Status: Defined; new function. Platform: PLATFORM. User-relevant: no. Admin-relevant: yes. Category: Account administration (member admin).]",
40420
+ v1: true,
40421
+ retired: false
40422
+ },
40423
+ {
40424
+ code: "133-081-000-000-000-000-000",
40425
+ key: "mandatory_report_send",
40426
+ title: "Send mandatory report",
40427
+ selectable: true,
40428
+ parentCode: null,
40429
+ childCodes: [],
40430
+ definition: "Compose and send a mandatory report \u2014 the share that satisfies a legal or regulatory mandated-reporting duty \u2014 through the platform's share flow. [Status: Defined; new function. Platform: LEADS, PAVE, THREAD, PLATFORM. User-relevant: yes. Admin-relevant: yes. Category: Approval-gated actions, Sharing / referrals.]",
40431
+ v1: true,
40432
+ retired: false
40433
+ },
40434
+ {
40435
+ code: "133-082-000-000-000-000-000",
40436
+ key: "indicator_manual_add",
40437
+ title: "Add a manual indicator",
40438
+ selectable: true,
40439
+ parentCode: null,
40440
+ childCodes: [],
40441
+ definition: "Add a manual indicator via the Add Indicator drawer (CVC-209-provenanced manual capture). [Status: Defined; new function. Platform: PAVE, THREAD, LEADS. User-relevant: no. Admin-relevant: no. Category: Assessments / determinations.]",
40442
+ v1: true,
40443
+ retired: false
40444
+ },
40445
+ {
40446
+ code: "133-083-000-000-000-000-000",
40447
+ key: "message_send",
40448
+ title: "Send platform messages",
40449
+ selectable: true,
40450
+ parentCode: null,
40451
+ childCodes: [],
40452
+ definition: "Send platform messages: direct messages and typed threads (support, partner, announcement-response). [Status: Defined; new function. Platform: PLATFORM. User-relevant: yes. Admin-relevant: no. Category: Communication.]",
40453
+ v1: true,
40454
+ retired: false
40455
+ },
40456
+ {
40457
+ code: "133-084-000-000-000-000-000",
40458
+ key: "workgroup_manage",
40459
+ title: "Manage working groups (not v1)",
40460
+ selectable: true,
40461
+ parentCode: null,
40462
+ childCodes: [],
40463
+ definition: "Create working groups, manage rosters and pinned threads. [Status: Future function (not v1). Platform: PLATFORM. User-relevant: no. Admin-relevant: yes. Category: Communication.]",
40464
+ v1: false,
40465
+ retired: false
40466
+ },
40467
+ {
40468
+ code: "133-085-000-000-000-000-000",
40469
+ key: "message_moderate",
40470
+ title: "Moderate messages",
40471
+ selectable: true,
40472
+ parentCode: null,
40473
+ childCodes: [],
40474
+ definition: "Moderate platform messages: mark threads resolved, act on reported messages/threads and blocked senders. [Status: Defined; new function. Platform: PLATFORM. User-relevant: no. Admin-relevant: yes. Category: Communication, Enforcement / incident response.]",
40475
+ v1: true,
40476
+ retired: false
40477
+ },
40478
+ {
40479
+ code: "133-086-000-000-000-000-000",
40480
+ key: "announcement_publish",
40481
+ title: "Publish announcements",
40482
+ selectable: true,
40483
+ parentCode: null,
40484
+ childCodes: [],
40485
+ definition: "Publish announcements (broadcasts with RSVP or blocking-acknowledgement response types). [Status: Defined; new function. Platform: PLATFORM. User-relevant: no. Admin-relevant: yes. Category: Communication, Governance workflows.]",
40486
+ v1: true,
40487
+ retired: false
40488
+ },
40489
+ {
40490
+ code: "133-087-000-000-000-000-000",
40491
+ key: "supervisee_thread_view",
40492
+ title: "View supervisee threads",
40493
+ selectable: true,
40494
+ parentCode: null,
40495
+ childCodes: [],
40496
+ definition: "View supervisee threads via the supervisor union view in Messages. [Status: Defined; new function. Platform: PLATFORM. User-relevant: no. Admin-relevant: yes. Category: Communication, Governance workflows.]",
40497
+ v1: true,
40498
+ retired: false
40499
+ },
40500
+ {
40501
+ code: "133-088-000-000-000-000-000",
40502
+ key: "case_status_manage",
40503
+ title: "Change case status",
40504
+ selectable: true,
40505
+ parentCode: null,
40506
+ childCodes: [],
40507
+ definition: "Transition case status (activate, park, close) with a required reason; includes the supervisor confirm leg on requested status changes. [Status: Defined; new function. Platform: LEADS. User-relevant: yes. Admin-relevant: yes. Category: Core case/lead workflow.]",
40508
+ v1: true,
40509
+ retired: false
40510
+ },
40511
+ {
40512
+ code: "133-089-000-000-000-000-000",
40513
+ key: "enrollment_manage",
40514
+ title: "Manage program enrollments",
40515
+ selectable: true,
40516
+ parentCode: null,
40517
+ childCodes: [],
40518
+ definition: "Add, re-admit, and record mid-stay events on program enrollments for a case subject. [Status: Defined; new function. Platform: PAVE. User-relevant: yes. Admin-relevant: no. Category: Core case/lead workflow.]",
40519
+ v1: true,
40520
+ retired: false
40521
+ },
40522
+ {
40523
+ code: "133-090-000-000-000-000-000",
40524
+ key: "exit_discharge_conduct",
40525
+ title: "Conduct program exit / discharge",
40526
+ selectable: true,
40527
+ parentCode: null,
40528
+ childCodes: [],
40529
+ definition: "Conduct a program exit or discharge, including the involuntary-discharge cascade (2-staff sign-off, safety planning, mandatory-reporting checks). [Status: Defined; new function. Platform: PAVE. User-relevant: yes. Admin-relevant: no. Category: Core case/lead workflow.]",
40530
+ v1: true,
40531
+ retired: false
40532
+ },
40533
+ {
40534
+ code: "133-091-000-000-000-000-000",
40535
+ key: "goals_plan_manage",
40536
+ title: "Create and manage plans, goals, action steps",
40537
+ selectable: true,
40538
+ parentCode: null,
40539
+ childCodes: [],
40540
+ definition: "Create and manage service plans, goals, and action steps for a case subject. [Status: Defined; new function. Platform: PAVE. User-relevant: yes. Admin-relevant: no. Category: Core case/lead workflow.]",
40541
+ v1: true,
40542
+ retired: false
40543
+ },
40544
+ {
40545
+ code: "133-092-000-000-000-000-000",
40546
+ key: "lead_triage_manage",
40547
+ title: "Triage leads",
40548
+ selectable: true,
40549
+ parentCode: null,
40550
+ childCodes: [],
40551
+ definition: "Set and clear lead dispositions (screen-out) and lead priority. [Status: Defined; new function. Platform: LEADS. User-relevant: yes. Admin-relevant: no. Category: Core case/lead workflow.]",
40552
+ v1: true,
40553
+ retired: false
40554
+ },
40555
+ {
40556
+ code: "133-093-000-000-000-000-000",
40557
+ key: "milestone_log",
40558
+ title: "Log investigative milestones",
40559
+ selectable: true,
40560
+ parentCode: null,
40561
+ childCodes: [],
40562
+ definition: "Log and confirm investigative milestones on cases and networks. [Status: Defined; new function. Platform: LEADS. User-relevant: no. Admin-relevant: no. Category: Core case/lead workflow.]",
40563
+ v1: true,
40564
+ retired: false
40565
+ },
40566
+ {
40567
+ code: "133-094-000-000-000-000-000",
40568
+ key: "needs_priorities_conduct",
40569
+ title: "Conduct needs assessment and immediate priorities",
40570
+ selectable: true,
40571
+ parentCode: null,
40572
+ childCodes: [],
40573
+ definition: "Conduct the needs assessment / immediate-priorities capture (one shared panel; PAVE labels it Needs Assessment, Thread labels it Priorities & Safety). Also governs the Adult Hope Scale, the co-equal record in the same Needs & Hope substep. [Status: Defined; new function. Platform: PAVE, THREAD. User-relevant: yes. Admin-relevant: no. Category: Core case/lead workflow.]",
40574
+ v1: true,
40575
+ retired: false
40576
+ },
40577
+ {
40578
+ code: "133-095-000-000-000-000-000",
40579
+ key: "profile_domain_edit",
40580
+ title: "Edit subject profile domains",
40581
+ selectable: true,
40582
+ parentCode: null,
40583
+ childCodes: [],
40584
+ definition: "Capture and edit subject profile domains: demographics, names/aliases, living situation, contact info, emergency contacts, household composition, access & accommodations, foreign-national/immigration status. [Status: Defined; new function. Platform: PAVE, THREAD, LEADS. User-relevant: yes. Admin-relevant: no. Category: Core case/lead workflow.]",
40585
+ v1: true,
40586
+ retired: false
40587
+ },
40588
+ {
40589
+ code: "133-096-000-000-000-000-000",
40590
+ key: "record_activity_view",
40591
+ title: "View a record's activity log",
40592
+ selectable: true,
40593
+ parentCode: null,
40594
+ childCodes: [],
40595
+ definition: "View a record's activity log (CAR/status timeline; event history). [Status: Defined; new function. Platform: PAVE, LEADS, THREAD. User-relevant: yes. Admin-relevant: no. Category: Core case/lead workflow.]",
40596
+ v1: true,
40597
+ retired: false
40598
+ },
40599
+ {
40600
+ code: "133-097-000-000-000-000-000",
40601
+ key: "service_log_manage",
40602
+ title: "Log and manage service instances",
40603
+ selectable: true,
40604
+ parentCode: null,
40605
+ childCodes: [],
40606
+ definition: "Add, close, and record why-not reasons on service instances. [Status: Defined; new function. Platform: PAVE, THREAD. User-relevant: yes. Admin-relevant: no. Category: Core case/lead workflow.]",
40607
+ v1: true,
40608
+ retired: false
40609
+ },
40610
+ {
40611
+ code: "133-098-000-000-000-000-000",
40612
+ key: "case_close",
40613
+ title: "Close case",
40614
+ selectable: true,
40615
+ parentCode: null,
40616
+ childCodes: [],
40617
+ definition: `Close a client case \u2014 run the close process (closure reason from core-exit_reasons' case-close surface + optional note, and the program-exit walk if taken) and submit it as a CLOSE REQUEST; the case sits "Engaged \xB7 close requested" until an Account Admin or the holder's team Supervisor approves or does not approve it. Nothing closes until the approval. [Status: Defined; new function. Platform: PAVE. User-relevant: yes. Admin-relevant: yes. Category: Core case/lead workflow, Approval-gated actions.]`,
40618
+ v1: true,
40619
+ retired: false
40620
+ },
40621
+ {
40622
+ code: "133-099-000-000-000-000-000",
40623
+ key: "case_visibility_manage",
40624
+ title: "Go dark / restore case visibility",
40625
+ selectable: true,
40626
+ parentCode: null,
40627
+ childCodes: [],
40628
+ definition: "Darken a case (hide it from non-participants) with a required reason, and restore it. [Status: Defined; new function. Platform: LEADS. User-relevant: yes. Admin-relevant: yes. Category: Core case/lead workflow, Approval-gated actions.]",
40629
+ v1: true,
40630
+ retired: false
40631
+ },
40632
+ {
40633
+ code: "133-100-000-000-000-000-000",
40634
+ key: "person_merge_manage",
40635
+ title: "Manage person identity merges",
40636
+ selectable: true,
40637
+ parentCode: null,
40638
+ childCodes: [],
40639
+ definition: "Manage person identity merges: execute a merge (canonical/alias ruling), confirm or decline a cross-org merge proposal, record a not-same-person standing ruling, unmerge, resolve post-merge attribution. [Status: Defined; new function. Platform: LEADS. User-relevant: yes. Admin-relevant: no. Category: Core case/lead workflow, Governance workflows.]",
40640
+ v1: true,
40641
+ retired: false
40642
+ },
40643
+ {
40644
+ code: "133-101-000-000-000-000-000",
40645
+ key: "investigation_session_run",
40646
+ title: "Run an investigation session",
40647
+ selectable: true,
40648
+ parentCode: null,
40649
+ childCodes: [],
40650
+ definition: "Run an investigation (embedding) session: start, manage scope, save/submit batches through the matching-discovery-risk pipeline, close out. [Status: Defined; new function. Platform: LEADS. User-relevant: yes. Admin-relevant: no. Category: Core case/lead workflow, Search / deconfliction.]",
40651
+ v1: true,
40652
+ retired: false
40653
+ },
40654
+ {
40655
+ code: "133-102-000-000-000-000-000",
40656
+ key: "lead_route_assign",
40657
+ title: "Route / assign a lead to an agency",
40658
+ selectable: true,
40659
+ parentCode: null,
40660
+ childCodes: [],
40661
+ definition: "Route or assign a pre-claim lead to a member agency (assignment = notify + soft gate; deconfliction produces a notice, not a block). [Status: Defined; new function. Platform: LEADS. User-relevant: no. Admin-relevant: yes. Category: Governance workflows.]",
40662
+ v1: true,
40663
+ retired: false
40664
+ },
40665
+ {
40666
+ code: "133-103-000-000-000-000-000",
40667
+ key: "onboarding_config_sign_off",
40668
+ title: "Approve the configuration summary (Phase III sign-off)",
40669
+ selectable: true,
40670
+ parentCode: null,
40671
+ childCodes: [],
40672
+ definition: "Approve the account's onboarding configuration summary (Phase III sign-off by the account's designated authority). [Status: Defined; new function. Platform: PLATFORM. User-relevant: no. Admin-relevant: yes. Category: Governance workflows, Approval-gated actions.]",
40673
+ v1: true,
40674
+ retired: false
40675
+ },
40676
+ {
40677
+ code: "133-104-000-000-000-000-000",
40678
+ key: "hmis_export_generate",
40679
+ title: "Generate an HMIS export (not v1)",
40680
+ selectable: true,
40681
+ parentCode: null,
40682
+ childCodes: [],
40683
+ definition: "Generate an agency's HMIS-standard export from PAVE, acting as its HMIS comparable database: the CSV reports (CoC APR, ESG CAPER) the agency uploads to HUD's Sage system. Never identified client data sent into a CoC's HMIS \u2014 a victim service provider may not do that (VAWA). [Status: Future function (not v1). Platform: PLATFORM, ECHO. User-relevant: no. Admin-relevant: yes. Category: Outputs, Approval-gated actions.]",
40684
+ v1: false,
40685
+ retired: false
40686
+ },
40687
+ {
40688
+ code: "133-105-000-000-000-000-000",
40689
+ key: "team_share_narrowing",
40690
+ title: "Narrow a team's sharing",
40691
+ selectable: true,
40692
+ parentCode: null,
40693
+ childCodes: [],
40694
+ definition: "Narrow what one of your own teams may share under the sharing policies already attached to it \u2014 remove field groups or partners from what those policies allow, for the teams you administer. Never adds, never attaches an agency default, never touches another team. [Status: Defined; new function. Platform: PLATFORM. User-relevant: no. Admin-relevant: yes. Category: Policy config.]",
40695
+ v1: true,
40696
+ retired: false
40697
+ },
40698
+ {
40699
+ code: "133-106-000-000-000-000-000",
40700
+ key: "viewing_config_manage",
40701
+ title: "Configure internal viewing (Type A)",
40702
+ selectable: true,
40703
+ parentCode: null,
40704
+ childCodes: [],
40705
+ definition: "Configure the account's internal (Type A) viewing levels and by-data-type selections on the Internal Viewing tab. [Status: Defined; new function. Platform: PLATFORM. User-relevant: no. Admin-relevant: yes. Category: Policy config.]",
40706
+ v1: true,
40707
+ retired: false
40708
+ },
40709
+ {
40710
+ code: "133-107-000-000-000-000-000",
40711
+ key: "network_corpus_access",
40712
+ title: "Access raw/worked machine-network corpus",
40713
+ selectable: true,
40714
+ parentCode: null,
40715
+ childCodes: [],
40716
+ definition: "Browse the raw/worked machine-network corpus (Explore Networks). Distinct from the member-facing case-scoped Network detail page, which is not gated by this function. [Status: Defined; new function. Platform: LEADS. User-relevant: no. Admin-relevant: yes. Category: Search / deconfliction.]",
40717
+ v1: true,
40718
+ retired: false
40719
+ },
40720
+ {
40721
+ code: "133-108-000-000-000-000-000",
40722
+ key: "viewing_level_1_search",
40723
+ title: "Non-owned case identity on search",
40724
+ selectable: true,
40725
+ parentCode: null,
40726
+ childCodes: [],
40727
+ definition: "Viewing level 1 (Canonical Authorization Model, Type A): for cases not owned/claimed by the user or their team, the case surfaces as a name / case ID / DOB stub in search results only. No autocomplete surfacing, no record open, no component access. [Status: Defined; new function. Platform: PAVE, LEADS, THREAD. User-relevant: yes. Admin-relevant: no. Category: Search / deconfliction.]",
40728
+ v1: true,
40729
+ retired: false
40730
+ },
40731
+ {
40732
+ code: "133-109-000-000-000-000-000",
40733
+ key: "viewing_level_2_autocomplete",
40734
+ title: "Non-owned case identity in autocomplete",
40735
+ selectable: true,
40736
+ parentCode: null,
40737
+ childCodes: [],
40738
+ definition: "Viewing level 2 (Canonical Authorization Model, Type A): everything level 1 grants, plus the non-owned case surfaces in autocomplete / type-to-select pickers. No record open, no component access. [Status: Defined; new function. Platform: PAVE, LEADS, THREAD. User-relevant: yes. Admin-relevant: no. Category: Search / deconfliction.]",
40739
+ v1: true,
40740
+ retired: false
40741
+ },
40742
+ {
40743
+ code: "133-110-000-000-000-000-000",
40744
+ key: "viewing_level_3_components",
40745
+ title: "Non-owned case component access",
40746
+ selectable: true,
40747
+ parentCode: null,
40748
+ childCodes: [],
40749
+ definition: "Viewing level 3 (Canonical Authorization Model, Type A): the non-owned case record opens; which components render is governed by the admin-set by-data-type (visibleGroups) selection \u2014 a deny-by-default whitelist. [Status: Defined; new function. Platform: PAVE, LEADS, THREAD. User-relevant: yes. Admin-relevant: no. Category: Search / deconfliction.]",
40750
+ v1: true,
40751
+ retired: false
40752
+ },
40753
+ {
40754
+ code: "133-111-000-000-000-000-000",
40755
+ key: "investigative_request_send",
40756
+ title: "Submit an investigative request (Ask HTI)",
40757
+ selectable: true,
40758
+ parentCode: null,
40759
+ childCodes: [],
40760
+ definition: "Submit an investigative request or Ask-HTI ask to HTI Labs \u2014 the typed thread that asks HTI for investigative assistance (a lead, a network trace, an analytic pull) on behalf of the seat's agency. [Status: Defined; new function. Platform: LEADS, PLATFORM. User-relevant: yes. Admin-relevant: no. Category: Search / deconfliction, Communication.]",
40761
+ v1: true,
40762
+ retired: false
40763
+ },
40764
+ {
40765
+ code: "133-112-000-000-000-000-000",
40766
+ key: "deconfliction_unmask",
40767
+ title: "Unmask a deconfliction",
40768
+ selectable: true,
40769
+ parentCode: null,
40770
+ childCodes: [],
40771
+ definition: "Unmask a deconfliction match (cross-account auto-share of the masked counterpart identity). [Status: Defined; new function. Platform: LEADS. User-relevant: yes. Admin-relevant: no. Category: Search / deconfliction, Sharing / referrals.]",
40772
+ v1: true,
40773
+ retired: false
40774
+ },
40775
+ {
40776
+ code: "133-113-000-000-000-000-000",
40777
+ key: "share_revoke",
40778
+ title: "Revoke an active share / ROI",
40779
+ selectable: true,
40780
+ parentCode: null,
40781
+ childCodes: [],
40782
+ definition: "Revoke an active share or ROI (terminal revocation; emits the spine event and recipient notification). [Status: Defined; new function. Platform: PAVE, THREAD. User-relevant: yes. Admin-relevant: no. Category: Sharing / referrals, Approval-gated actions.]",
40783
+ v1: true,
40784
+ retired: false
39877
40785
  }
39878
40786
  ]
39879
40787
  };
@@ -49431,67 +50339,92 @@ var riskIdentificationMilestone_v1_0_0_default = {
49431
50339
  ]
49432
50340
  };
49433
50341
 
49434
- // src/cvcs/adminRoles.v1.0.0.json
49435
- var adminRoles_v1_0_0_default = {
50342
+ // src/cvcs/adminRoles.v2.0.0.json
50343
+ var adminRoles_v2_0_0_default = {
49436
50344
  domain: "admin_roles",
49437
50345
  name: "Core Admin Roles (CVC-134)",
49438
- version: "1.0.0",
49439
- _status: "CANONICAL \u2014 imported 0.8.13 from the Notion Final CVC codebook (CVC-134 `core - admin roles`, Owner Crysta Price, Status 'Drafted - Needs Review'). Administrative role vocabulary for the canonical authorization model (IC-66). DISTINCT from CVC-135 `user_roles` (the operational/practitioner role axis) \u2014 a person may hold both. Entry keys are the underscore transliterations of the canonical hyphenated codes (`PLT-ADM` -> `plt_adm`), which are carried verbatim in `canonicalCode` because CVC keys must match /^[a-z][a-z0-9_]*$/. The Final codebook carries no missingness rows; the quadruplet is added per SOT convention.",
49440
- _source: "htilabstech/prototype@a596eb9 Final CVCs/System Roles, Permissions, & Account Management (IC-66)/core - admin roles (CVC-134)",
50346
+ version: "2.0.0",
50347
+ _status: "CANONICAL \u2014 Notion CVC-134 (core - admin roles), active (verification: expired; mirror revision 1.8); GENERATED from the prototype repo's data/cvcs/core_admin_role.yaml by scripts/gen-admin-roles.py \u2014 never hand-edit. Canonical numbering (134). ADMINISTRATIVE / control-plane role axis of the canonical authorization model (IC-66): authority to configure, govern and support \u2014 \"admin \u2260 content visibility\" (holding one never widens what case content a person sees). DISTINCT from CVC-135 `user_roles` \u2014 a person may hold both. Keys are the underscore transliterations of canon's hyphenated codes (`PLT-ADM` -> `plt_adm`), carried verbatim in `canonicalCode`. 10 canon roles = 10 entries. NO missingness codes: canon declares none (a role is assigned, never observed); the 1.0.0 quadruplet is withdrawn (`_supersedes.retiredCodes`). Canon `legacy_codes` (old -> live, migrate on read) resolve through `_supersedes.keyMap`, which is key-space: transliterate canon's spelling first (`ACCT-ADM` -> `acct_adm`). Canon's per-role `display_label` (the 20-char topbar-chip short form; absent = use `title`), `reach` (platform \xB7 account \xB7 team \xB7 supervised_people), `scope`, `plain_language`, `required` and `required_when` ride on each entry in camelCase where canon carries them. TRAIN-ADM's definition is canon's DRAFT (\"\u2691 Crysta to confirm\" \u2014 see its `definitionNote`). Canon's `functions` (BRK-GLS-FN, CI-EXPORT-FN: capabilities, not roles) are not carried.",
50348
+ _supersedes: {
50349
+ version: "1.0.0",
50350
+ keyMap: {
50351
+ missingness_root: null,
50352
+ unknown: null,
50353
+ anonymous: null,
50354
+ data_not_collected: null,
50355
+ plt_adm: "plt_adm",
50356
+ plt_sup: "plt_sup",
50357
+ mem_adm: "mem_adm",
50358
+ team_adm: "team_adm",
50359
+ aud: "aud",
50360
+ data_adm: "data_adm",
50361
+ gov_aud: "gov_aud",
50362
+ ciro: "ciro",
50363
+ sup: "sup",
50364
+ train_adm: "train_adm",
50365
+ acct_adm: "mem_adm"
50366
+ },
50367
+ retiredCodes: [
50368
+ {
50369
+ code: "134-000-000-000-000-000-000",
50370
+ key: "missingness_root",
50371
+ successor: null,
50372
+ reason: "missingness (canon declares none)"
50373
+ },
50374
+ {
50375
+ code: "134-000-000-000-000-000-001",
50376
+ key: "unknown",
50377
+ successor: null,
50378
+ reason: "missingness (canon declares none)"
50379
+ },
50380
+ {
50381
+ code: "134-000-000-000-000-000-002",
50382
+ key: "anonymous",
50383
+ successor: null,
50384
+ reason: "missingness (canon declares none)"
50385
+ },
50386
+ {
50387
+ code: "134-000-000-000-000-000-003",
50388
+ key: "data_not_collected",
50389
+ successor: null,
50390
+ reason: "missingness (canon declares none)"
50391
+ }
50392
+ ],
50393
+ notes: {
50394
+ acct_adm: "LEGACY ALIAS (since 2.0.0): canon data/cvcs/core_admin_role.yaml legacy_codes `ACCT-ADM: MEM-ADM`. `acct_adm` was never a key of this package; it is mapped here so a stored `acct_adm` resolves to `mem_adm` the same way a re-keyed key does. This keyMap is key-space (the package convention): a store holding canon's spelling `ACCT-ADM` transliterates it with this codeset's key rule first (`ACCT-ADM` -> `acct_adm`). Canon (recorded 2026-09-07, CVC134-135-AUDIT): ACCT-ADM was the HTI Platform demo fixture's spelling of the MEM-ADM hat, never a CVC-134 code; canon records it so any straggler stored value still resolves.",
50395
+ missingness: 'WITHDRAWN: canon CVC-134 declares NO missingness rows (neither the yaml nor the Notion codebook the 1.0.0 file was imported from; 1.0.0 added the quadruplet package-side "per SOT convention"). A role is ASSIGNED, never observed \u2014 the CVC-135 ruling (canon core_user_role.yaml, gate G3) on the sibling role axis. The four 1.0.0 missingness codes 134-000-* are retired the victimAbuseTypes 1.1.0 way: no entry, keyMap -> null, listed in retiredCodes, recorded in the ledger so a code is never reused. A stored missingness key has no successor: read it as an empty admin-role list.'
50396
+ },
50397
+ appended: [],
50398
+ refreshed: [
50399
+ "plt_adm",
50400
+ "plt_sup",
50401
+ "mem_adm",
50402
+ "team_adm",
50403
+ "aud",
50404
+ "data_adm",
50405
+ "gov_aud",
50406
+ "ciro",
50407
+ "sup",
50408
+ "train_adm"
50409
+ ],
50410
+ tombstoned: []
50411
+ },
50412
+ _source: "htilabstech/prototype data/cvcs/core_admin_role.yaml @ e963ec97 (last commit touching canon on the canonical branch); Notion \u2014 core - admin roles (CVC-134) (https://app.notion.com/3211ef14abcd80179464c1ec7583e7b4, from the yaml's `cvc:` line comment). The June codebook CSV export the 1.0.0 file was built from (prototype a596eb9) is superseded by the yaml and not read.",
49441
50413
  levels: {
49442
- "0": "Unknown or Missing",
49443
50414
  "1": "Admin role"
49444
50415
  },
49445
50416
  entries: [
49446
- {
49447
- code: "134-000-000-000-000-000-000",
49448
- key: "missingness_root",
49449
- title: "Unknown, Redacted, or Missing",
49450
- selectable: false,
49451
- parentCode: null,
49452
- childCodes: [
49453
- "134-000-000-000-000-000-001",
49454
- "134-000-000-000-000-000-002",
49455
- "134-000-000-000-000-000-003"
49456
- ],
49457
- 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."
49458
- },
49459
- {
49460
- code: "134-000-000-000-000-000-001",
49461
- key: "unknown",
49462
- title: "Unknown",
49463
- selectable: true,
49464
- parentCode: "134-000-000-000-000-000-000",
49465
- childCodes: [],
49466
- definition: "Unknown or cannot be determined from the available information."
49467
- },
49468
- {
49469
- code: "134-000-000-000-000-000-002",
49470
- key: "anonymous",
49471
- title: "Anonymous / declined to answer",
49472
- selectable: true,
49473
- parentCode: "134-000-000-000-000-000-000",
49474
- childCodes: [],
49475
- definition: "Value is intentionally withheld or redacted. Combines declined-to-answer and redacted/anonymous semantics under the workspace standard ANON sentinel."
49476
- },
49477
- {
49478
- code: "134-000-000-000-000-000-003",
49479
- key: "data_not_collected",
49480
- title: "Data not collected",
49481
- selectable: true,
49482
- parentCode: "134-000-000-000-000-000-000",
49483
- childCodes: [],
49484
- definition: "No attempt was made to collect the value. System-only sentinel per GLOBAL_DESIGN_RULES."
49485
- },
49486
50417
  {
49487
50418
  code: "134-001-000-000-000-000-000",
49488
50419
  key: "plt_adm",
49489
- title: "Platform Admin / Owner",
50420
+ title: "Platform Owner & Admin",
49490
50421
  selectable: true,
49491
50422
  parentCode: null,
49492
50423
  childCodes: [],
49493
- definition: "Global administrator of platform services (Trail, CaseShare, Toby, Echo). Owns platform-level specification and enforcement of roles, functions, gates, and global governance.",
49494
- canonicalCode: "PLT-ADM"
50424
+ definition: "HTI Labs platform control-plane governance.",
50425
+ canonicalCode: "PLT-ADM",
50426
+ displayLabel: "Platform Admin",
50427
+ reach: "platform"
49495
50428
  },
49496
50429
  {
49497
50430
  code: "134-002-000-000-000-000-000",
@@ -49500,8 +50433,10 @@ var adminRoles_v1_0_0_default = {
49500
50433
  selectable: true,
49501
50434
  parentCode: null,
49502
50435
  childCodes: [],
49503
- definition: "Support-oriented platform administrator for HTI Labs: handles bug reports, onboarding support, troubleshooting, and account support without inheriting full Platform Admin powers.",
49504
- canonicalCode: "PLT-SUP"
50436
+ definition: "Routine HTI support / debugging (prefer over PLT-ADM for support).",
50437
+ canonicalCode: "PLT-SUP",
50438
+ displayLabel: "Support Admin",
50439
+ reach: "platform"
49505
50440
  },
49506
50441
  {
49507
50442
  code: "134-003-000-000-000-000-000",
@@ -49510,8 +50445,11 @@ var adminRoles_v1_0_0_default = {
49510
50445
  selectable: true,
49511
50446
  parentCode: null,
49512
50447
  childCodes: [],
49513
- definition: "Network Rules-defined administrator for a Member Account; accountable for user management, compliance posture, and coordination with HTI.",
49514
- canonicalCode: "MEM-ADM"
50448
+ definition: 'The member-account administrator (Account Admin / "Member Administrator"). Required role \u2014 at least one per member account.',
50449
+ canonicalCode: "MEM-ADM",
50450
+ displayLabel: "Account Admin",
50451
+ required: true,
50452
+ reach: "account"
49515
50453
  },
49516
50454
  {
49517
50455
  code: "134-004-000-000-000-000-000",
@@ -49520,8 +50458,11 @@ var adminRoles_v1_0_0_default = {
49520
50458
  selectable: true,
49521
50459
  parentCode: null,
49522
50460
  childCodes: [],
49523
- definition: "Delegated administrative role (optional) used to operate one-to-many teams as workflow containers; appropriate for supervisors over teams and most operational configuration.",
49524
- canonicalCode: "TEAM-ADM"
50461
+ definition: "Delegated, team-scoped admin used to operate one-to-many teams as workflow containers. Always: manage team membership + team workflow configuration. Optional-on: assign/reassign cases, manage training gates. Optional-off (delegable by MEM-ADM): user management, role assignment, bulk transfer. NEVER: team structure & admin scoping \u2014 so TEAM-ADM cannot expand or redefine its own scope.",
50462
+ canonicalCode: "TEAM-ADM",
50463
+ reach: "team",
50464
+ scope: "team",
50465
+ plainLanguage: "Runs the team's SETUP."
49525
50466
  },
49526
50467
  {
49527
50468
  code: "134-005-000-000-000-000-000",
@@ -49530,8 +50471,9 @@ var adminRoles_v1_0_0_default = {
49530
50471
  selectable: true,
49531
50472
  parentCode: null,
49532
50473
  childCodes: [],
49533
- definition: "Read-only oversight role for audit logs, retention, and configuration; no case content access (typically de-identified).",
49534
- canonicalCode: "AUD"
50474
+ definition: "Read-only audit + de-identified compliance workflows.",
50475
+ canonicalCode: "AUD",
50476
+ reach: "account"
49535
50477
  },
49536
50478
  {
49537
50479
  code: "134-006-000-000-000-000-000",
@@ -49540,8 +50482,9 @@ var adminRoles_v1_0_0_default = {
49540
50482
  selectable: true,
49541
50483
  parentCode: null,
49542
50484
  childCodes: [],
49543
- definition: "Administrative role for reporting configuration, exports, data QA workflows, and grant reporting in Echo, used when separation from MEM-ADM is needed. Access de-identified data.",
49544
- canonicalCode: "DATA-ADM"
50485
+ definition: "Echo / reporting admin \u2014 grant reporting, data exports, reporting configuration \u2014 WITHOUT broader account governance.",
50486
+ canonicalCode: "DATA-ADM",
50487
+ reach: "account"
49545
50488
  },
49546
50489
  {
49547
50490
  code: "134-007-000-000-000-000-000",
@@ -49550,8 +50493,9 @@ var adminRoles_v1_0_0_default = {
49550
50493
  selectable: true,
49551
50494
  parentCode: null,
49552
50495
  childCodes: [],
49553
- definition: "Optional role for governance-based data review and spot checks; participation is opt-in.",
49554
- canonicalCode: "GOV-AUD"
50496
+ definition: "Opt-in governance spot checks / QA review; redacted-by-default surfaces.",
50497
+ canonicalCode: "GOV-AUD",
50498
+ reach: "account"
49555
50499
  },
49556
50500
  {
49557
50501
  code: "134-008-000-000-000-000-000",
@@ -49560,8 +50504,11 @@ var adminRoles_v1_0_0_default = {
49560
50504
  selectable: true,
49561
50505
  parentCode: null,
49562
50506
  childCodes: [],
49563
- definition: "Designated member-account authority responsible for governance oversight of Criminal Intelligence (CI) within LEADS-enabled accounts, including validation rules, periodic review, purge/retention compliance, and controlled authorization of CI \u2192 evidence exports (as explicit approval-gated actions).",
49564
- canonicalCode: "CIRO"
50507
+ definition: "Control-plane governance designation establishing accountability for CI handling: validation rules, periodic review, purge/retention, oversight. Does NOT imply broad case-content visibility. The CI \u2192 evidence export approval FUNCTION is exercised by a CIRO (see cross_references.functions).",
50508
+ canonicalCode: "CIRO",
50509
+ displayLabel: "Intel Review Officer",
50510
+ requiredWhen: "leads_ci_enabled",
50511
+ reach: "account"
49565
50512
  },
49566
50513
  {
49567
50514
  code: "134-009-000-000-000-000-000",
@@ -49570,8 +50517,11 @@ var adminRoles_v1_0_0_default = {
49570
50517
  selectable: true,
49571
50518
  parentCode: null,
49572
50519
  childCodes: [],
49573
- definition: "Agency-set supervisory role used to oversee day-to-day case workflow within a team or program. Focuses on operational triage and case assignment, without broader account governance powers (user management, sharing policy, team structure) or destructive enforcement actions.",
49574
- canonicalCode: "SUP"
50520
+ definition: "A role a person holds over the specific people they supervise \u2014 the seats whose `supervised_by` names them (Crysta 2026-10-02: \"A supervisor is a role that a user takes on over those users that they supervise\"; it relates to people, not to a team, and it is still a role). Day-to-day case workflow oversight for those people: operational triage, case assignment, the needs-action flags on their work, and the notices about items that belong to one of them (a claimed mandatory-report flag that sits unsent goes to that person's supervisor). WITHOUT account governance powers or destructive enforcement; deliberately NARROWER than TEAM-ADM. Always: manage case escalation / needs-action flags, assign/reassign case ownership. Case-record access is NOT required of the role; an account's Member Admin may enable it (Crysta 2026-10-02). Not relevant to the role (SUPERVISOR-RULING 2026-10-07, off the role): team membership, role assignment, training gates \u2014 those are team and account setup (Team Admin \xB7 Member Admin), not supervision of people. NEVER: user management, sharing configuration, team structure & scoping, bulk transfer, purge, suspend, API keys, platform authorization model. Not a generalized admin or support role. The people supervised may sit on any team or none; supervision does not follow team or account lines.",
50521
+ canonicalCode: "SUP",
50522
+ reach: "supervised_people",
50523
+ scope: "people",
50524
+ plainLanguage: "Oversees the WORK of the people they supervise."
49575
50525
  },
49576
50526
  {
49577
50527
  code: "134-010-000-000-000-000-000",
@@ -49580,73 +50530,113 @@ var adminRoles_v1_0_0_default = {
49580
50530
  selectable: true,
49581
50531
  parentCode: null,
49582
50532
  childCodes: [],
49583
- definition: null,
49584
- canonicalCode: "TRAIN-ADM"
50533
+ definition: "Agency-set role that configures training/certification requirements and gates (which modules a role or team must complete), manages training content, and reports on completion. Case-content posture: NONE.",
50534
+ canonicalCode: "TRAIN-ADM",
50535
+ definitionNote: "NOTE: the canonical Notion row is an empty stub (owner Ava Monte, created by Lauren DeLuca 2026-04-21) \u2014 definition drafted here from the codebook's own role-table entry and the training_gate_manage function bounds. \u2691 Crysta to confirm.",
50536
+ reach: "account"
49585
50537
  }
49586
50538
  ]
49587
50539
  };
49588
50540
 
49589
- // src/cvcs/userRoles.v1.0.0.json
49590
- var userRoles_v1_0_0_default = {
50541
+ // src/cvcs/userRoles.v2.0.0.json
50542
+ var userRoles_v2_0_0_default = {
49591
50543
  domain: "user_roles",
49592
50544
  name: "Core User Roles (CVC-135)",
49593
- version: "1.0.0",
49594
- _status: "CANONICAL \u2014 imported 0.8.13 from the Notion Final CVC codebook (CVC-135 `core - user roles`, Owner Crysta Price, Status 'Drafted - Needs Review'). Operational / practitioner role vocabulary for the canonical authorization model (IC-66). DISTINCT from CVC-134 `admin_roles` (the administrative role axis) \u2014 a person may hold both. Canonical codes are already snake_case and are carried verbatim in `canonicalCode`. The Final codebook carries no missingness rows; the quadruplet is added per SOT convention.",
49595
- _source: "htilabstech/prototype@a596eb9 Final CVCs/System Roles, Permissions, & Account Management (IC-66)/core - user roles (CVC-135)",
50545
+ version: "2.0.0",
50546
+ _status: "CANONICAL \u2014 Notion CVC-135 (core - user roles), active (verification: unverified); GENERATED from the prototype repo's data/cvcs/core_user_role.yaml (\"THE SSOT for the platform's OPERATIONAL user role bundles\", transcribed from the live Notion codebook 2026-09-06) by scripts/gen-user-roles.py \u2014 never hand-edit. Canonical numbering (135). Operational / practitioner role axis of the canonical authorization model (IC-66); DISTINCT from CVC-134 `admin_roles` \u2014 a person may hold both. A seat holds ZERO OR MORE user roles (canon `is_list`). The package key IS canon's code, carried verbatim in `canonicalCode`. 15 canon roles = 15 entries. NO missingness codes, deliberately (canon: a role is assigned, never observed; an unassigned seat carries an empty list; gate G3) \u2014 the 1.0.0 quadruplet is withdrawn (`_supersedes.retiredCodes`). Every canon `legacy_codes` line (old -> live, migrate on read) resolves through `_supersedes.keyMap`: a published old key is re-keyed in place at the same code, a never-published one is an alias. Canon's `display_label` (the 20-char topbar-chip short form; absent = use `title`), `platform_tools` and `flags` ride on each entry as `displayLabel` / `platformTools` / `flags` where canon carries them.",
50547
+ _supersedes: {
50548
+ version: "1.0.0",
50549
+ keyMap: {
50550
+ missingness_root: null,
50551
+ unknown: null,
50552
+ anonymous: null,
50553
+ data_not_collected: null,
50554
+ case_nav: "case_nav",
50555
+ healthcare_provider_medical: "healthcare_provider_medical",
50556
+ behavioral_health_provider: "behavioral_health_provider",
50557
+ hotline_op: "crisis_response",
50558
+ intel_analyst: "intel_analyst",
50559
+ investigator: "investigator",
50560
+ le_liaison_vsp: "le_liaison_vsp",
50561
+ legal_advocate: "legal_advocate",
50562
+ mandatory_reporter: "mandatory_reporter",
50563
+ mdt_participant: "mdt_participant",
50564
+ prosecutor_review: "prosecutor_review",
50565
+ public_reporter: "public_reporter",
50566
+ research_analytics: "research_analytics",
50567
+ screener: "screener",
50568
+ volunteer: "volunteer",
50569
+ case_advocate: "case_nav",
50570
+ leads_investigator: "investigator"
50571
+ },
50572
+ retiredCodes: [
50573
+ {
50574
+ code: "135-000-000-000-000-000-000",
50575
+ key: "missingness_root",
50576
+ successor: null,
50577
+ reason: "missingness (canon G3)"
50578
+ },
50579
+ {
50580
+ code: "135-000-000-000-000-000-001",
50581
+ key: "unknown",
50582
+ successor: null,
50583
+ reason: "missingness (canon G3)"
50584
+ },
50585
+ {
50586
+ code: "135-000-000-000-000-000-002",
50587
+ key: "anonymous",
50588
+ successor: null,
50589
+ reason: "missingness (canon G3)"
50590
+ },
50591
+ {
50592
+ code: "135-000-000-000-000-000-003",
50593
+ key: "data_not_collected",
50594
+ successor: null,
50595
+ reason: "missingness (canon G3)"
50596
+ }
50597
+ ],
50598
+ notes: {
50599
+ hotline_op: 'RE-KEYED IN PLACE in 2.0.0: `hotline_op` is canon\'s `crisis_response` at the SAME code 135-004-000-000-000-000-000 \u2014 the same role, renamed in canon (data/cvcs/core_user_role.yaml legacy_codes: `hotline_op: crisis_response`; "migrate ON READ; nothing stored is ever rewritten"). The wire code is unchanged, but the key and canonicalCode are not: a store that holds the key or canonicalCode (every current consumer) must resolve `hotline_op` through this keyMap on read. Canon: the roster re-keyed 2026-08-14.',
50600
+ case_advocate: "LEGACY ALIAS (since 2.0.0): canon data/cvcs/core_user_role.yaml legacy_codes `case_advocate: case_nav`. `case_advocate` was never a key of this package; it is mapped here so a stored `case_advocate` resolves to `case_nav` the same way a re-keyed key does. Canon: the pre-2026-08 roster spelling.",
50601
+ leads_investigator: "LEGACY ALIAS (since 2.0.0): canon data/cvcs/core_user_role.yaml legacy_codes `leads_investigator: investigator`. `leads_investigator` was never a key of this package; it is mapped here so a stored `leads_investigator` resolves to `investigator` the same way a re-keyed key does. Canon: a prototype informal string (the HTI_hasLEADSAccess defect, CVC134-135-AUDIT).",
50602
+ missingness: 'WITHDRAWN: canon CVC-135 declares NO missingness codes, deliberately (yaml header: "A role is ASSIGNED, never observed, so there is nothing for UNK / ANON / DNC to mean here \u2014 an unassigned seat carries an empty list, not a sentinel"; the CVC-73 precedent, gated by G3). The four 1.0.0 missingness codes 135-000-* are retired the victimAbuseTypes 1.1.0 way: no entry, keyMap -> null, listed in retiredCodes, recorded in the ledger so a code is never reused. A stored missingness key has no successor: read it as an empty role list.'
50603
+ },
50604
+ appended: [],
50605
+ refreshed: [
50606
+ "case_nav",
50607
+ "healthcare_provider_medical",
50608
+ "behavioral_health_provider",
50609
+ "crisis_response",
50610
+ "investigator",
50611
+ "le_liaison_vsp",
50612
+ "legal_advocate",
50613
+ "mandatory_reporter",
50614
+ "mdt_participant",
50615
+ "prosecutor_review",
50616
+ "public_reporter",
50617
+ "research_analytics",
50618
+ "screener",
50619
+ "volunteer"
50620
+ ],
50621
+ tombstoned: []
50622
+ },
50623
+ _source: "htilabstech/prototype data/cvcs/core_user_role.yaml @ f6d7b8e4 (last commit touching canon on the canonical branch); Notion https://app.notion.com/p/3221ef14abcd800e9af3fca466883ba0 (collection://3221ef14-abcd-8099-b762-000b5f5397f2). The June codebook CSV exports the 1.0.0 file was built from (prototype a596eb9) are superseded by the yaml and not read.",
49596
50624
  levels: {
49597
- "0": "Unknown or Missing",
49598
50625
  "1": "User role"
49599
50626
  },
49600
50627
  entries: [
49601
- {
49602
- code: "135-000-000-000-000-000-000",
49603
- key: "missingness_root",
49604
- title: "Unknown, Redacted, or Missing",
49605
- selectable: false,
49606
- parentCode: null,
49607
- childCodes: [
49608
- "135-000-000-000-000-000-001",
49609
- "135-000-000-000-000-000-002",
49610
- "135-000-000-000-000-000-003"
49611
- ],
49612
- 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."
49613
- },
49614
- {
49615
- code: "135-000-000-000-000-000-001",
49616
- key: "unknown",
49617
- title: "Unknown",
49618
- selectable: true,
49619
- parentCode: "135-000-000-000-000-000-000",
49620
- childCodes: [],
49621
- definition: "Unknown or cannot be determined from the available information."
49622
- },
49623
- {
49624
- code: "135-000-000-000-000-000-002",
49625
- key: "anonymous",
49626
- title: "Anonymous / declined to answer",
49627
- selectable: true,
49628
- parentCode: "135-000-000-000-000-000-000",
49629
- childCodes: [],
49630
- definition: "Value is intentionally withheld or redacted. Combines declined-to-answer and redacted/anonymous semantics under the workspace standard ANON sentinel."
49631
- },
49632
- {
49633
- code: "135-000-000-000-000-000-003",
49634
- key: "data_not_collected",
49635
- title: "Data not collected",
49636
- selectable: true,
49637
- parentCode: "135-000-000-000-000-000-000",
49638
- childCodes: [],
49639
- definition: "No attempt was made to collect the value. System-only sentinel per GLOBAL_DESIGN_RULES."
49640
- },
49641
50628
  {
49642
50629
  code: "135-001-000-000-000-000-000",
49643
50630
  key: "case_nav",
49644
- title: "Case Advocate (Navigator / Service Coordinator)",
50631
+ title: "Case Navigator/Advocate",
49645
50632
  selectable: true,
49646
50633
  parentCode: null,
49647
50634
  childCodes: [],
49648
50635
  definition: "Provides ongoing service coordination, referrals, and case documentation within survivor-services workflows.",
49649
- canonicalCode: "case_nav"
50636
+ canonicalCode: "case_nav",
50637
+ platformTools: [
50638
+ "PAVE"
50639
+ ]
49650
50640
  },
49651
50641
  {
49652
50642
  code: "135-002-000-000-000-000-000",
@@ -49655,28 +50645,40 @@ var userRoles_v1_0_0_default = {
49655
50645
  selectable: true,
49656
50646
  parentCode: null,
49657
50647
  childCodes: [],
49658
- definition: "Provides medical evaluation and treatment and may document clinical observations that support identification and care coordination, within MDT and sector constraints.",
49659
- canonicalCode: "healthcare_provider_medical"
50648
+ definition: "Provides medical evaluation and treatment and may document clinical observations supporting identification and care coordination, within MDT and sector constraints. Combines SANE/forensic nursing and general medical clinicians to avoid proliferating medical sub-roles.",
50649
+ canonicalCode: "healthcare_provider_medical",
50650
+ displayLabel: "Healthcare Provider",
50651
+ platformTools: [
50652
+ "PAVE"
50653
+ ]
49660
50654
  },
49661
50655
  {
49662
50656
  code: "135-003-000-000-000-000-000",
49663
50657
  key: "behavioral_health_provider",
49664
- title: "Certified Mental/Behavioral Health Provider (Therapy / Counseling)",
50658
+ title: "Certified Mental/Behavioral Health Provider",
49665
50659
  selectable: true,
49666
50660
  parentCode: null,
49667
50661
  childCodes: [],
49668
- definition: "Provides mental and behavioral healthcare services and documents therapeutic progress as part of the survivor\u2019s care plan.",
49669
- canonicalCode: "behavioral_health_provider"
50662
+ definition: "Provides mental and behavioral healthcare services and documents therapeutic progress as part of the survivor's care plan (therapy / counselling). Scope access to clinically relevant information only.",
50663
+ canonicalCode: "behavioral_health_provider",
50664
+ displayLabel: "Behavioral Health Provider",
50665
+ platformTools: [
50666
+ "PAVE"
50667
+ ]
49670
50668
  },
49671
50669
  {
49672
50670
  code: "135-004-000-000-000-000-000",
49673
- key: "hotline_op",
49674
- title: "Crisis Response Staff",
50671
+ key: "crisis_response",
50672
+ title: "Crisis Response",
49675
50673
  selectable: true,
49676
50674
  parentCode: null,
49677
50675
  childCodes: [],
49678
- definition: "Top-of-funnel intake role for hotline staff/volunteers. Supports intake and routing workflows with tightly constrained visibility.",
49679
- canonicalCode: "hotline_op"
50676
+ definition: "Top-of-funnel intake role for hotline staff. Supports intake and routing workflows with tightly constrained visibility.",
50677
+ canonicalCode: "crisis_response",
50678
+ platformTools: [
50679
+ "Thread",
50680
+ "PAVE"
50681
+ ]
49680
50682
  },
49681
50683
  {
49682
50684
  code: "135-005-000-000-000-000-000",
@@ -49686,7 +50688,10 @@ var userRoles_v1_0_0_default = {
49686
50688
  parentCode: null,
49687
50689
  childCodes: [],
49688
50690
  definition: "Analyzes intelligence, creates intelligence artifacts, and supports network mapping and risk scoring within CI governance rules.",
49689
- canonicalCode: "intel_analyst"
50691
+ canonicalCode: "intel_analyst",
50692
+ platformTools: [
50693
+ "LEADS"
50694
+ ]
49690
50695
  },
49691
50696
  {
49692
50697
  code: "135-006-000-000-000-000-000",
@@ -49695,28 +50700,38 @@ var userRoles_v1_0_0_default = {
49695
50700
  selectable: true,
49696
50701
  parentCode: null,
49697
50702
  childCodes: [],
49698
- definition: "Law enforcement investigator who triages leads, creates/claims investigations, collaborates, and performs deconfliction within policy constraints.",
49699
- canonicalCode: "investigator"
50703
+ definition: "Law-enforcement investigator who triages leads, creates/claims investigations, collaborates, and performs deconfliction within policy constraints.",
50704
+ canonicalCode: "investigator",
50705
+ platformTools: [
50706
+ "LEADS"
50707
+ ]
49700
50708
  },
49701
50709
  {
49702
50710
  code: "135-007-000-000-000-000-000",
49703
50711
  key: "le_liaison_vsp",
49704
- title: "LE Liaison (VSP-side Coordination)",
50712
+ title: "VSP LE Liaison",
49705
50713
  selectable: true,
49706
50714
  parentCode: null,
49707
50715
  childCodes: [],
49708
- definition: "VSP-side liaison who coordinates communication with law enforcement only under survivor consent, statutory mandate, or documented legal exception.",
49709
- canonicalCode: "le_liaison_vsp"
50716
+ definition: "VSP-side liaison who coordinates communication with law enforcement only under survivor consent, statutory mandate, or documented legal exception. Distinct from MDT Participant (collaboration within a defined case context) and from Case Navigator/Advocate (services and documentation).",
50717
+ canonicalCode: "le_liaison_vsp",
50718
+ platformTools: [
50719
+ "PAVE",
50720
+ "Thread"
50721
+ ]
49710
50722
  },
49711
50723
  {
49712
50724
  code: "135-008-000-000-000-000-000",
49713
50725
  key: "legal_advocate",
49714
- title: "Legal Advocate (Survivor-facing Legal Services)",
50726
+ title: "Legal Advocate",
49715
50727
  selectable: true,
49716
50728
  parentCode: null,
49717
50729
  childCodes: [],
49718
- definition: "Provides civil, criminal, and/or immigration legal support and documents legal strategy and case-related filings (not a prosecutor role).",
49719
- canonicalCode: "legal_advocate"
50730
+ definition: "Provides civil, criminal, and/or immigration legal support and documents legal strategy and case-related filings. Survivor-facing legal services, NOT a prosecutor role.",
50731
+ canonicalCode: "legal_advocate",
50732
+ platformTools: [
50733
+ "PAVE"
50734
+ ]
49720
50735
  },
49721
50736
  {
49722
50737
  code: "135-009-000-000-000-000-000",
@@ -49725,8 +50740,12 @@ var userRoles_v1_0_0_default = {
49725
50740
  selectable: true,
49726
50741
  parentCode: null,
49727
50742
  childCodes: [],
49728
- definition: "Authenticated external partner who submits mandatory reports/referrals with minimal follow-up visibility.",
49729
- canonicalCode: "mandatory_reporter"
50743
+ definition: "Authenticated external partner who submits mandatory reports/referrals with minimal follow-up visibility. Strictly submit-only.",
50744
+ canonicalCode: "mandatory_reporter",
50745
+ platformTools: [
50746
+ "Thread",
50747
+ "PAVE"
50748
+ ]
49730
50749
  },
49731
50750
  {
49732
50751
  code: "135-010-000-000-000-000-000",
@@ -49735,8 +50754,13 @@ var userRoles_v1_0_0_default = {
49735
50754
  selectable: true,
49736
50755
  parentCode: null,
49737
50756
  childCodes: [],
49738
- definition: "Cross-sector collaboration participant who can coordinate on a defined case context without broad case browsing.",
49739
- canonicalCode: "mdt_participant"
50757
+ definition: "Cross-sector collaboration participant who can coordinate on a defined case context without broad case browsing. Intentionally narrow: participation in a defined collaboration space, not a sector override.",
50758
+ canonicalCode: "mdt_participant",
50759
+ platformTools: [
50760
+ "PAVE",
50761
+ "LEADS",
50762
+ "Thread"
50763
+ ]
49740
50764
  },
49741
50765
  {
49742
50766
  code: "135-011-000-000-000-000-000",
@@ -49745,8 +50769,11 @@ var userRoles_v1_0_0_default = {
49745
50769
  selectable: true,
49746
50770
  parentCode: null,
49747
50771
  childCodes: [],
49748
- definition: "Reviews authorized export packages and prosecution-ready materials; updates prosecutorial milestones when permitted.",
49749
- canonicalCode: "prosecutor_review"
50772
+ definition: "Reviews authorized export packages and prosecution-ready materials; updates prosecutorial milestones when permitted. Package-scoped.",
50773
+ canonicalCode: "prosecutor_review",
50774
+ platformTools: [
50775
+ "LEADS"
50776
+ ]
49750
50777
  },
49751
50778
  {
49752
50779
  code: "135-012-000-000-000-000-000",
@@ -49755,18 +50782,28 @@ var userRoles_v1_0_0_default = {
49755
50782
  selectable: true,
49756
50783
  parentCode: null,
49757
50784
  childCodes: [],
49758
- definition: "Uncredentialed public reporter who submits a tip/referral with minimal follow-up visibility.",
49759
- canonicalCode: "public_reporter"
50785
+ definition: "Uncredentialed public reporter who submits a tip/referral with minimal follow-up visibility. Un-authenticated and one-way by default. Not to be conflated with Mandatory Reporter, which is an authenticated partner role.",
50786
+ canonicalCode: "public_reporter",
50787
+ platformTools: [
50788
+ "Thread"
50789
+ ]
49760
50790
  },
49761
50791
  {
49762
50792
  code: "135-013-000-000-000-000-000",
49763
50793
  key: "research_analytics",
49764
- title: "Research / Analytics User",
50794
+ title: "Research/Analytics",
49765
50795
  selectable: true,
49766
50796
  parentCode: null,
49767
50797
  childCodes: [],
49768
- definition: "Uses de-identified datasets and approved aggregate views for analytics and reporting.",
49769
- canonicalCode: "research_analytics"
50798
+ definition: "Uses de-identified datasets and approved aggregate views for analytics and reporting. HTI-only platform-set role; strictly de-identified / aggregate-only by default. Not a member agency role.",
50799
+ canonicalCode: "research_analytics",
50800
+ platformTools: [
50801
+ "Platform",
50802
+ "Echo"
50803
+ ],
50804
+ flags: [
50805
+ "HTI-only"
50806
+ ]
49770
50807
  },
49771
50808
  {
49772
50809
  code: "135-014-000-000-000-000-000",
@@ -49775,8 +50812,12 @@ var userRoles_v1_0_0_default = {
49775
50812
  selectable: true,
49776
50813
  parentCode: null,
49777
50814
  childCodes: [],
49778
- definition: "Performs intake and initial screening and records indicators/risk flags. Does not perform formal determinations unless also occupying a certified role.",
49779
- canonicalCode: "screener"
50815
+ definition: "Performs intake and initial screening and records indicators/risk flags. Does not perform formal determinations \u2014 NEVER-bound for that function \u2014 unless the person also holds a second role that grants it.",
50816
+ canonicalCode: "screener",
50817
+ platformTools: [
50818
+ "PAVE",
50819
+ "Thread"
50820
+ ]
49780
50821
  },
49781
50822
  {
49782
50823
  code: "135-015-000-000-000-000-000",
@@ -49785,8 +50826,12 @@ var userRoles_v1_0_0_default = {
49785
50826
  selectable: true,
49786
50827
  parentCode: null,
49787
50828
  childCodes: [],
49788
- definition: "Volunteer performing hotline/intake support work (often 24/7 coverage) under supervision. Participates in the intake workflow with tightly constrained visibility and no downstream casework authority.",
49789
- canonicalCode: "volunteer"
50829
+ definition: 'Volunteer performing hotline/intake support work under supervision. Modelled as "hotline volunteer", not "general volunteer": intake creation + routing only, with no downstream casework authority.',
50830
+ canonicalCode: "volunteer",
50831
+ platformTools: [
50832
+ "Thread",
50833
+ "PAVE"
50834
+ ]
49790
50835
  }
49791
50836
  ]
49792
50837
  };
@@ -62141,6 +63186,7 @@ export {
62141
63186
  NameTypeKeys,
62142
63187
  NeedsAssessmentChangeTypeKeys,
62143
63188
  NeedsResidentialAgainKeys,
63189
+ ORGANIZATION_PROGRAM_VALIDATED_UPDATE_OPS,
62144
63190
  ORG_TYPE_FIELD_NAMES,
62145
63191
  ORG_TYPE_HEADING_KEYS,
62146
63192
  ORG_TYPE_KEYS,
@@ -62165,6 +63211,8 @@ export {
62165
63211
  PLATFORM_TOOL,
62166
63212
  PLATFORM_TOOL_LABELS,
62167
63213
  PLATFORM_TOOL_VALUES,
63214
+ PROGRAM_REVIEW_STATUS,
63215
+ PROGRAM_REVIEW_STATUS_VALUES,
62168
63216
  PersonRelationshipsKeys,
62169
63217
  PetExitReasonKeys,
62170
63218
  PetRelationshipBasisKeys,
@@ -62271,6 +63319,7 @@ export {
62271
63319
  VALID_INTERACTION_TYPES,
62272
63320
  VALID_RECORD_STATES,
62273
63321
  VICTIM_SERVING_ORG_TYPE_KEYS,
63322
+ VIEWING_LEVEL_FUNCTIONS,
62274
63323
  VSP_TWO_STEP_ISSUE,
62275
63324
  VerificationMethodKeys,
62276
63325
  VerificationStatusKeys,
@@ -62284,9 +63333,10 @@ export {
62284
63333
  activityType_v1_0_0_default as activityTypeSot,
62285
63334
  addAgencyOrgTypeFields,
62286
63335
  addOrgTypeFields,
63336
+ addOrganizationProgramsField,
62287
63337
  addTeamDirectoryFields,
62288
63338
  addressSchema,
62289
- adminRoles_v1_0_0_default as adminRolesSot,
63339
+ adminRoles_v2_0_0_default as adminRolesSot,
62290
63340
  administeringJurisdiction_v1_0_0_default as administeringJurisdictionSot,
62291
63341
  ageBinReporting_v1_0_0_default as ageBinReportingSot,
62292
63342
  agencyOrgTypeSchemaDefinition,
@@ -62300,6 +63350,8 @@ export {
62300
63350
  buildCvcEntrySchema,
62301
63351
  buildCvcRegistrySchema,
62302
63352
  buildFormSchema,
63353
+ buildOrganizationProgramSchema,
63354
+ buildOrganizationProgramsFieldDefinition,
62303
63355
  buildPlatformFunctionSchema,
62304
63356
  buildPlatformRoleSchema,
62305
63357
  buildQuestionSchema,
@@ -62325,7 +63377,7 @@ export {
62325
63377
  contactLinkType_v1_0_0_default as contactLinkTypeSot,
62326
63378
  contactSafetyStatus_v1_0_0_default as contactSafetyStatusSot,
62327
63379
  coreDhState_v1_0_0_default as coreDhStateSot,
62328
- coreFunctions_v1_1_0_default as coreFunctionsSot,
63380
+ coreFunctions_v1_3_0_default as coreFunctionsSot,
62329
63381
  coreIndicators_v1_1_0_default as coreIndicatorsSot,
62330
63382
  coreInformationScope_v2_1_0_default as coreInformationScopeSot,
62331
63383
  coreReferralOutcome_v1_0_0_default as coreReferralOutcomeSot,
@@ -62412,6 +63464,7 @@ export {
62412
63464
  inferenceType_v1_0_0_default as inferenceTypeSot,
62413
63465
  investigativeRequestType_v1_0_0_default as investigativeRequestTypeSot,
62414
63466
  isAgencyTypeKey,
63467
+ isCanonEvaluableFunction,
62415
63468
  isDeprecatedCoreIndicator,
62416
63469
  isDeprecatedIncidentParticipationRole,
62417
63470
  isHealthcareOrgType,
@@ -62420,7 +63473,9 @@ export {
62420
63473
  isLawEnforcementOrgType,
62421
63474
  isLegalOrgType,
62422
63475
  isLgbtqOrientation,
63476
+ isLiveOrganizationProgram,
62423
63477
  isOrgTypeKey,
63478
+ isProgramReviewStatus,
62424
63479
  isProtectedRelationship,
62425
63480
  isReportAuthorityOrgType,
62426
63481
  isScopeInstrumentRow,
@@ -62463,6 +63518,7 @@ export {
62463
63518
  orgTypeLabel,
62464
63519
  orgTypeSchemaDefinition,
62465
63520
  orgTypeSector,
63521
+ organizationProgramSchemaDefinition,
62466
63522
  orientationIdentity_v1_0_0_default as orientationIdentitySot,
62467
63523
  personNameSchema,
62468
63524
  personRelationships_v1_0_0_default as personRelationshipsSot,
@@ -62500,8 +63556,10 @@ export {
62500
63556
  relationshipStatusCurrent_v1_0_0_default as relationshipStatusCurrentSot,
62501
63557
  relationshipTies_v1_0_0_default as relationshipTiesSot,
62502
63558
  resolveAgencyTypeKey,
63559
+ resolveEffectiveFunctions,
62503
63560
  resolveEffectiveOrgType,
62504
63561
  resolveEffectiveOrgTypeFields,
63562
+ resolveEffectiveViewingLevel,
62505
63563
  resolveOrgTypeKey,
62506
63564
  resolveOrgTypeKeyFromLegacyNumeric,
62507
63565
  resolveReferralEntityKeyFromLegacyNumeric,
@@ -62528,6 +63586,7 @@ export {
62528
63586
  sectionQuestionRefSchema,
62529
63587
  sectionSchemaDefinition,
62530
63588
  sectionSchemaOptions,
63589
+ selectActingTeamId,
62531
63590
  serviceAudience_v1_0_0_default as serviceAudienceSot,
62532
63591
  serviceCategories_v1_2_0_default as serviceCategoriesSot,
62533
63592
  serviceDeliveryChannel_v1_0_0_default as serviceDeliveryChannelSot,
@@ -62566,11 +63625,12 @@ export {
62566
63625
  timeScope_v1_0_0_default as timeScopeSot,
62567
63626
  traffickingRelevantRole_v1_0_0_default as traffickingRelevantRoleSot,
62568
63627
  tribes_v1_0_0_default as tribesSot,
62569
- userRoles_v1_0_0_default as userRolesSot,
63628
+ userRoles_v2_0_0_default as userRolesSot,
62570
63629
  verificationMethod_v1_1_0_default as verificationMethodSot,
62571
63630
  verificationStatus_v1_0_0_default as verificationStatusSot,
62572
63631
  victimAbuseTypes_v1_1_0_default as victimAbuseTypesSot,
62573
63632
  victimStatusFamily_v1_0_0_default as victimStatusFamilySot,
63633
+ viewingLevelFromFunctions,
62574
63634
  visaType_v1_0_0_default as visaTypeSot,
62575
63635
  visibilityRuleSchema,
62576
63636
  vspTwoStepHolds,