@salesforce/afv-skills 1.68.0 → 1.69.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.
- package/package.json +1 -1
- package/skills/afcc-setup-coordinate/SKILL.md +348 -0
- package/skills/afcc-setup-coordinate/assets/console-app/AFCC_Service_Console.app-meta.xml +19 -0
- package/skills/afcc-setup-coordinate/assets/console-app/Admin.profile-meta.xml +8 -0
- package/skills/afcc-setup-coordinate/assets/console-app/Standard.profile-meta.xml +8 -0
- package/skills/afcc-setup-coordinate/assets/gap_report_template.md +35 -0
- package/skills/afcc-setup-coordinate/assets/org_profile_template.json +16 -0
- package/skills/afcc-setup-coordinate/references/gotchas.md +22 -0
- package/skills/afcc-setup-coordinate/scripts/audit_org.sh +159 -0
- package/skills/agentforce-bot-upgrade/SKILL.md +117 -66
- package/skills/agentforce-bot-upgrade/assets/_vendored/agent-spec-template.md +139 -0
- package/skills/agentforce-bot-upgrade/references/_vendored/agent-design-and-spec-creation.md +1211 -0
- package/skills/agentforce-bot-upgrade/references/_vendored/agent-script-core-language.md +1390 -0
- package/skills/agentforce-bot-upgrade/references/_vendored/agent-subagent-map-diagrams.md +341 -0
- package/skills/agentforce-bot-upgrade/references/_vendored/agent-user-setup.md +672 -0
- package/skills/agentforce-bot-upgrade/references/_vendored/agent-validation-and-debugging.md +904 -0
- package/skills/agentforce-bot-upgrade/references/_vendored/agentscript-toolchain.md +112 -0
- package/skills/agentforce-bot-upgrade/references/_vendored/architecture-patterns.md +277 -0
- package/skills/agentforce-bot-upgrade/references/_vendored/common-control-flow-pitfalls.md +255 -0
- package/skills/agentforce-bot-upgrade/references/_vendored/control-flow-actions-sequencing.md +198 -0
- package/skills/agentforce-bot-upgrade/references/_vendored/control-flow-lifecycle-side-effects.md +87 -0
- package/skills/agentforce-bot-upgrade/references/_vendored/data-library-reference.md +891 -0
- package/skills/agentforce-bot-upgrade/references/_vendored/instruction-resolution.md +658 -0
- package/skills/agentforce-bot-upgrade/references/_vendored/org-setup-for-adl.md +551 -0
- package/skills/agentforce-bot-upgrade/references/_vendored/patterns-by-requirement.md +88 -0
- package/skills/agentforce-bot-upgrade/references/_vendored/posture-and-determinism.md +215 -0
- package/skills/agentforce-bot-upgrade/references/extraction-blueprint.md +11 -4
- package/skills/agentforce-bot-upgrade/references/generate-agent-spec.md +19 -3
- package/skills/agentforce-bot-upgrade/references/handoff-output-format.md +82 -52
- package/skills/agentforce-bot-upgrade/references/input-contract.md +8 -8
- package/skills/agentforce-bot-upgrade/references/mapping-rules.md +19 -6
- package/skills/agentforce-bot-upgrade/references/post-conversion-enhancements-reference.md +65 -6
- package/skills/agentforce-bot-upgrade/references/quality-checklist.md +4 -4
- package/skills/agentforce-bot-upgrade/references/sf-cli-bot-reference.md +17 -3
- package/skills/agentforce-hyperclassifier-configure/README.md +24 -0
- package/skills/agentforce-hyperclassifier-configure/SKILL.md +111 -0
- package/skills/agentforce-hyperclassifier-configure/assets/customer-org.env.example +4 -0
- package/skills/agentforce-hyperclassifier-configure/assets/sample_descriptions.json +8 -0
- package/skills/agentforce-hyperclassifier-configure/assets/sample_evals.csv +17 -0
- package/skills/agentforce-hyperclassifier-configure/references/api-contract.md +41 -0
- package/skills/agentforce-hyperclassifier-configure/references/authentication.md +35 -0
- package/skills/agentforce-hyperclassifier-configure/references/evaluation.md +46 -0
- package/skills/agentforce-hyperclassifier-configure/references/installation.md +35 -0
- package/skills/agentforce-hyperclassifier-configure/references/onboarding.md +93 -0
- package/skills/agentforce-hyperclassifier-configure/scripts/hcopt/__init__.py +1 -0
- package/skills/agentforce-hyperclassifier-configure/scripts/hcopt/client.py +219 -0
- package/skills/agentforce-hyperclassifier-configure/scripts/hcopt/eca.py +178 -0
- package/skills/agentforce-hyperclassifier-configure/scripts/hcopt/evaluation.py +207 -0
- package/skills/agentforce-hyperclassifier-configure/scripts/hcopt/onboarding.py +191 -0
- package/skills/agentforce-hyperclassifier-configure/scripts/hcopt/optimizer.py +187 -0
- package/skills/agentforce-hyperclassifier-configure/scripts/hyperclassifier.py +111 -0
- package/skills/agentforce-hyperclassifier-configure/scripts/report_hyperclassifier.py +149 -0
- package/skills/agentforce-hyperclassifier-configure/scripts/setup_hyperclassifier.py +74 -0
- package/skills/agentforce-hyperclassifier-configure/scripts/tests/test_hyperclassifier_skill.py +887 -0
- package/skills/agentforce-offline-experimentation-run/scripts/btlib/judge.py +23 -31
- package/skills/agentforce-offline-experimentation-run/scripts/btlib/messages.py +2 -1
- package/skills/agentforce-offline-experimentation-run/scripts/btlib/sfap.py +118 -2
- package/skills/agentforce-offline-experimentation-run/scripts/build_report.py +2 -2
- package/skills/agentforce-offline-experimentation-run/scripts/resolve-token.sh +9 -2
- package/skills/agentforce-offline-experimentation-run/scripts/sfap_replay.py +12 -1
- package/skills/commerce-react-storefront-create/SKILL.md +54 -21
- package/skills/dx-lifecycle-center/SKILL.md +24 -18
- package/skills/dx-lifecycle-center/examples/workflows.md +57 -34
- package/skills/dx-lifecycle-center/references/connect-api.md +33 -4
- package/skills/dx-lifecycle-center/references/connect-org.md +59 -28
- package/skills/dx-lifecycle-center/references/deploy.md +3 -3
- package/skills/dx-lifecycle-center/references/hub-org.md +19 -3
- package/skills/dx-lifecycle-center/references/list-orgs.md +50 -24
- package/skills/dx-lifecycle-center/references/troubleshooting.md +22 -1
- package/skills/dx-lifecycle-center/scripts/hub-get.sh +41 -0
- package/skills/dx-lifecycle-center/scripts/resolve-environment.sh +151 -4
- package/skills/dx-packaging-convert-1gp-to-2gp-create/SKILL.md +63 -0
- package/skills/dx-packaging-convert-1gp-to-2gp-create/references/conversion-operations.md +252 -0
- package/skills/dx-packaging-move-to-2gp-migrate/SKILL.md +2 -3
- package/skills/dx-packaging-move-to-2gp-migrate/references/api-operations.md +10 -7
- package/skills/dx-packaging-push-upgrade-configure/README.md +47 -0
- package/skills/dx-packaging-push-upgrade-configure/SKILL.md +355 -0
- package/skills/dx-packaging-push-upgrade-configure/references/best-practices.md +61 -0
- package/skills/dx-packaging-push-upgrade-configure/references/cli-reference.md +148 -0
- package/skills/dx-packaging-push-upgrade-configure/references/objects.md +106 -0
- package/skills/dx-packaging-push-upgrade-configure/references/soql-recipes.md +144 -0
- package/skills/experience-afv-analytics-query/SKILL.md +239 -0
- package/skills/experience-afv-analytics-query/references/references.md +176 -0
- package/skills/experience-app-mcp-delivery-generate/SKILL.md +142 -0
- package/skills/experience-app-mcp-delivery-generate/references/eca-consumer-key.md +26 -0
- package/skills/experience-app-mcp-delivery-generate/references/mcp-config-delivery.md +38 -0
- package/skills/experience-app-mcp-delivery-generate/references/plugin-format-and-publishing.md +80 -0
- package/skills/experience-app-mcp-delivery-generate/scripts/developer_name.mjs +9 -0
- package/skills/experience-app-mcp-delivery-generate/scripts/discover_mcp_context.mjs +114 -0
- package/skills/experience-app-mcp-delivery-generate/scripts/generate_mcp_config.mjs +27 -0
- package/skills/experience-app-mcp-delivery-generate/scripts/generate_plugin.mjs +184 -0
- package/skills/experience-app-mcp-delivery-generate/scripts/mcp_config.mjs +57 -0
- package/skills/experience-app-mcp-delivery-generate/scripts/preflight.mjs +109 -0
- package/skills/experience-app-mcp-delivery-generate/scripts/retrieve_eca_consumer_key.mjs +143 -0
- package/skills/experience-app-mcp-generate/SKILL.md +174 -0
- package/skills/experience-app-mcp-generate/assets/__ECA_NAME__.eca-meta.xml +7 -0
- package/skills/experience-app-mcp-generate/assets/__ECA_NAME__.ecaGlblOauth-meta.xml +15 -0
- package/skills/experience-app-mcp-generate/assets/__ECA_NAME__.ecaOauth-meta.xml +6 -0
- package/skills/experience-app-mcp-generate/assets/__ECA_NAME__.ecaOauthPlcy-meta.xml +12 -0
- package/skills/experience-app-mcp-generate/assets/__ECA_NAME___defaultPolicy.ecaPlcy-meta.xml +7 -0
- package/skills/experience-app-mcp-generate/assets/__MCP_SERVER_NAME__.mcpServerDefinition-meta.xml +5 -0
- package/skills/experience-app-mcp-generate/references/eca-fields.md +76 -0
- package/skills/experience-app-mcp-generate/references/mcp-objects.md +66 -0
- package/skills/experience-app-mcp-generate/references/tool-bindings.md +85 -0
- package/skills/experience-app-mcp-generate/references/troubleshooting.md +41 -0
- package/skills/experience-app-mcp-generate/references/ui-frameworks.md +19 -0
- package/skills/experience-app-mcp-generate/references/widget-resources.md +96 -0
- package/skills/experience-app-mcp-generate/scripts/activate_server.mjs +166 -0
- package/skills/experience-app-mcp-generate/scripts/check_setup_progress.mjs +212 -0
- package/skills/experience-app-mcp-generate/scripts/list_sites.mjs +211 -0
- package/skills/experience-app-mcp-generate/scripts/merge_tools.mjs +407 -0
- package/skills/experience-app-mcp-generate/scripts/preflight.mjs +127 -0
- package/skills/experience-app-mcp-generate/scripts/render_eca.mjs +144 -0
- package/skills/experience-app-mcp-generate/scripts/render_mcp_server.mjs +64 -0
- package/skills/experience-app-mcp-generate/scripts/retrieve_existing_prompts.mjs +145 -0
- package/skills/experience-app-mcp-generate/scripts/retrieve_existing_tools.mjs +72 -0
- package/skills/experience-app-mcp-generate/scripts/scan_tool_candidates.mjs +195 -0
- package/skills/experience-app-mcp-generate/scripts/utils/callback_url.mjs +36 -0
- package/skills/experience-app-mcp-generate/scripts/utils/developer_name.mjs +9 -0
- package/skills/experience-app-mcp-generate/scripts/utils/eca_check.mjs +156 -0
- package/skills/experience-app-mcp-generate/scripts/utils/metadata_path.mjs +13 -0
- package/skills/experience-app-mcp-generate/scripts/verify_server.mjs +118 -0
- package/skills/experience-cms-content-type-generate/SKILL.md +1 -1
- package/skills/nonprofit-fundraising-configure/SKILL.md +1 -1
- package/skills/nonprofit-fundraising-configure/references/mcp-invocation.md +52 -4
- package/skills/nonprofit-fundraising-configure/references/permission-targeting.md +19 -2
- package/skills/platform-custom-field-generate/SKILL.md +24 -16
- package/skills/platform-custom-metadata-type-generate/SKILL.md +1 -0
- package/skills/platform-custom-setting-generate/SKILL.md +1 -0
- package/skills/platform-dataspace-access-configure/SKILL.md +25 -10
- package/skills/platform-flexipage-generate/SKILL.md +7 -10
- package/skills/platform-flexipage-generate/references/mcp_action_examples.md +42 -38
- package/skills/platform-policy-rule-generate/SKILL.md +9 -7
- package/skills/platform-policy-rule-generate/references/condition-model.md +3 -3
- package/skills/platform-policy-rule-generate/references/conjunction-expression.md +9 -1
- package/skills/platform-policy-rule-generate/references/consumer-datacloud-ui.md +9 -1
- package/skills/platform-policy-rule-generate/references/examples/ExistsJoinRLS/policyRuleDefinitionSets/ExistsJoinRLS.policyRuleDefinitionSet +1 -2
- package/skills/platform-policy-rule-generate/references/examples/FieldReadDeny/policyRuleDefinitionSets/FieldReadDeny.policyRuleDefinitionSet +1 -2
- package/skills/platform-policy-rule-generate/references/examples/LastCharactersFieldMasking/policyRuleDefinitionSets/LastCharactersFieldMasking.policyRuleDefinitionSet +1 -2
- package/skills/platform-policy-rule-generate/references/examples/PrincipalFieldMatchRLS/policyRuleDefinitionSets/PrincipalFieldMatchRLS.policyRuleDefinitionSet +1 -2
- package/skills/platform-policy-rule-generate/references/examples/TaggedObjectAccess/policyRuleDefinitionSets/TaggedObjectAccess.policyRuleDefinitionSet +1 -0
- package/skills/platform-policy-rule-generate/references/headless-transport.md +2 -2
- package/skills/platform-policy-rule-generate/references/policy-schema-full.md +1 -1
- package/skills/platform-policy-rule-generate/references/policy-shapes.md +33 -0
- package/skills/platform-policy-rule-generate/references/templates-advanced.md +1 -1
- package/skills/platform-policy-rule-generate/references/ui-compatibility.md +5 -5
- package/skills/platform-report-generate/SKILL.md +20 -1
- package/skills/platform-report-generate/references/summary-formulas-sorting-limits.md +118 -0
- package/skills/platform-report-generate/references/verification-checklist.md +12 -0
- package/skills/service-digital-engagement-channel-configure/SKILL.md +44 -107
- package/skills/service-digital-engagement-channel-configure/assets/messaging_channel_template.xml +2 -0
- package/skills/service-digital-engagement-channel-configure/examples/asa_agent_channel.xml +2 -2
- package/skills/service-digital-engagement-channel-configure/examples/auth_queue_channel.xml +58 -0
- package/skills/service-digital-engagement-channel-configure/examples/omni_flow_channel.xml +2 -2
- package/skills/service-digital-engagement-channel-configure/examples/omni_queue_channel.xml +3 -3
- package/skills/service-digital-engagement-channel-configure/references/channel_settings.md +18 -14
- package/skills/service-digital-engagement-channel-configure/references/onboarding_contract.md +16 -20
- package/skills/service-digital-engagement-channel-configure/references/prechat_params.md +10 -0
- package/skills/service-digital-engagement-channel-configure/references/recaptcha_handoff.md +38 -0
- package/skills/service-digital-engagement-channel-configure/references/user_verification.md +9 -0
- package/skills/service-digital-engagement-channel-configure/scripts/check-api-version.sh +4 -4
- package/skills/service-digital-engagement-channel-configure/scripts/normalize-channel-name.sh +12 -7
- package/skills/service-e911-configure/SKILL.md +242 -0
- package/skills/service-itsm-agentic-setup-agent-runtime-access-assign/SKILL.md +1 -1
- package/skills/service-itsm-agentic-setup-agentforce-coordinate/SKILL.md +1 -1
- package/skills/service-itsm-agentic-setup-agentforce-studio-configure/SKILL.md +1 -1
- package/skills/service-itsm-agentic-setup-agentforce-studio-validate/SKILL.md +1 -1
- package/skills/service-itsm-agentic-setup-employee-agent-configure/SKILL.md +1 -1
- package/skills/service-itsm-agentic-setup-fulfiller-agent-configure/SKILL.md +1 -1
- package/skills/service-itsm-agentic-setup-incident-management/SKILL.md +47 -44
- package/skills/service-itsm-agentic-setup-incident-management/examples/output-templates.md +110 -83
- package/skills/service-itsm-agentic-setup-incident-management/references/manage-incidents-with-ai.md +7 -3
- package/skills/service-itsm-agentic-setup-incident-management/references/priority-matrix.md +7 -5
- package/skills/service-itsm-agentic-setup-incident-management/references/sla-milestones.md +2 -2
- package/skills/service-itsm-agentic-setup-incident-management/references/status-checks.md +437 -0
- package/skills/service-itsm-agentic-setup-itsm-agentforce-permset-assign/SKILL.md +1 -1
- package/skills/agentforce-bot-upgrade/references/planner-workflow-reference.md +0 -78
- package/skills/dx-lifecycle-center/assets/widgets/connect-connected/connect-connected.json +0 -65
- package/skills/dx-lifecycle-center/assets/widgets/connect-connected/schema.json +0 -32
- package/skills/dx-lifecycle-center/assets/widgets/connect-sign-in/connect-sign-in.json +0 -57
- package/skills/dx-lifecycle-center/assets/widgets/connect-sign-in/schema.json +0 -21
- package/skills/dx-lifecycle-center/scripts/card-policy.jq +0 -71
- package/skills/dx-lifecycle-center/scripts/fill-widget.jq +0 -29
- package/skills/dx-lifecycle-center/scripts/widget.sh +0 -28
- package/skills/experience-content-media-image-generate/SKILL.md +0 -83
- package/skills/experience-content-media-image-generate/scripts/download-image.sh +0 -84
- package/skills/experience-content-media-stock-image-search/SKILL.md +0 -193
- package/skills/experience-content-media-stock-image-search/scripts/download-stock-image.py +0 -102
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: service-itsm-agentic-setup-incident-management
|
|
3
|
-
description: "Orchestrator for Incident Management setup in Service Cloud ITSM: presents the features
|
|
3
|
+
description: "Orchestrator for Incident Management setup in Service Cloud ITSM: presents the features with live org status, and configures each — Incident preferences, Incident persona PSG assignment, Priority Matrix, SLA & Milestones, Incident dashboards, Email-to-Incident, Major Incident Management (approval group + MIM preferences), Broadcast Communications, Manage Incidents with AI, Service Management Privilege (privilege escalation), and audit tracking. Use for: set up or configure incident management, a walkthrough, what incident features can I configure; the incident preference toggles (default field validations, auto-close child incidents, auto-triage, assign with Einstein, restrict assigned group, rich text descriptions); assigning the Incident Fulfiller or Incident Manager persona PSG. DO NOT TRIGGER for: the master on/off switch alone (use the IncidentMgmt SOR), the Priority Matrix, SLA, or field history tracking alone, the Major Incident Manager PSG, creating/editing PSGs, or Problem/Change/Case Management."
|
|
4
4
|
metadata:
|
|
5
|
-
version: "3.
|
|
5
|
+
version: "3.2"
|
|
6
6
|
domains: ["Service"]
|
|
7
7
|
minApiVersion: "67.0"
|
|
8
8
|
relatedSkills:
|
|
@@ -23,14 +23,14 @@ allowed-tools: |
|
|
|
23
23
|
# Incident Management Setup Orchestrator
|
|
24
24
|
|
|
25
25
|
Guide the user through setting up Incident Management features in Salesforce Service Cloud ITSM by
|
|
26
|
-
presenting the available capabilities
|
|
27
|
-
Operation Recipes (SORs) whose own steps this skill runs.
|
|
26
|
+
presenting the available capabilities with their status read from the org, and **delegating** each feature
|
|
27
|
+
to the Setup Operation Recipes (SORs) whose own steps this skill runs.
|
|
28
28
|
|
|
29
29
|
## Goal
|
|
30
30
|
|
|
31
31
|
Act as the coordinator for Incident Management feature configuration. Present a menu of configurable
|
|
32
|
-
features, handle each selection, and after each feature completes,
|
|
33
|
-
until the user is done.
|
|
32
|
+
features with each one's status read from the org, handle each selection, and after each feature completes,
|
|
33
|
+
re-read the statuses and return to the menu until the user is done.
|
|
34
34
|
|
|
35
35
|
## How each feature is handled
|
|
36
36
|
|
|
@@ -38,7 +38,7 @@ until the user is done.
|
|
|
38
38
|
|---|---------|-----------|-----------|
|
|
39
39
|
| P | Incident Preferences | **Delegate** → `IncidentMgmt` (its preference steps) | `references/incident-preferences.md` |
|
|
40
40
|
| 1 | Incident Persona PSG | **Delegate** → `service-itsm-incident-persona-assign` | `references/incident-persona-psg.md` |
|
|
41
|
-
| 2 | Priority Matrix | **Delegate** → `
|
|
41
|
+
| 2 | Priority Matrix | **Delegate** → `ItsmPriorityMatrix` (entity type `Incident`) | `references/priority-matrix.md` |
|
|
42
42
|
| 3 | SLA & Milestones | **Delegate** → `SLASettings`, then `sla-management-setup` (custom policy) | `references/sla-milestones.md` |
|
|
43
43
|
| 4 | Incident Dashboards | **Delegate** → `itsm-incident-dashboard-enablement` (Manager) and `itsm-incident-fulfiller-dashboard-enablement` (Fulfiller) | `references/incident-dashboards.md` |
|
|
44
44
|
| 5 | Email-to-Incident | **Delegate** → `EmailToIncident` | `references/email-to-incident.md` |
|
|
@@ -69,29 +69,29 @@ send the prefix once.
|
|
|
69
69
|
never run a SOR's own enable or delegate step for them, and never follow a hand-off a SOR names for
|
|
70
70
|
either gate or for another feature on this menu.
|
|
71
71
|
3. **Read before write.** Read the current state through the SOR's read steps. If it already matches what
|
|
72
|
-
the user wants, that read is the verification
|
|
72
|
+
the user wants, that read is the verification — no write.
|
|
73
73
|
4. **Confirm the exact change.** State the current value and the exact change, and get an explicit yes
|
|
74
74
|
(`AskUserQuestion`) before any write. The user's initial request is not that confirmation; one yes can
|
|
75
75
|
cover several writes if you listed them all.
|
|
76
76
|
5. **Write, then read back.** Write only through the SOR's write steps, then read back through its verify
|
|
77
|
-
steps.
|
|
77
|
+
steps. The feature is finished only when the read-back shows the chosen state — a write response alone
|
|
78
78
|
is not proof.
|
|
79
79
|
|
|
80
80
|
## Behavior
|
|
81
81
|
|
|
82
|
-
### 0.
|
|
82
|
+
### 0. Read every status from the org
|
|
83
83
|
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
84
|
+
Every status you show — both prerequisite gates, the menu, the table after a feature runs, the completion
|
|
85
|
+
summary — comes from reading the org with `references/status-checks.md` just before you show it. Never
|
|
86
|
+
carry a status over from earlier in the conversation, from a previous session, or from what the user says
|
|
87
|
+
is already done: setup may have changed since. A failed read is **Couldn't check**, never **Not done**. If
|
|
88
|
+
the org disagrees with what the user said, show the org's status and say so. Only the **target org**
|
|
89
|
+
carries over, unless the user switches orgs.
|
|
90
90
|
|
|
91
91
|
### 1. Extract context from conversation
|
|
92
92
|
|
|
93
|
-
Scan chat history for
|
|
94
|
-
|
|
93
|
+
Scan chat history for the target org, the features the user named, any stated preferences/constraints, and
|
|
94
|
+
business context that informs which features are relevant — never for which features are done.
|
|
95
95
|
|
|
96
96
|
### 2. Verify IT Service Enablement, then ensure the Incident Management master switch is on
|
|
97
97
|
|
|
@@ -105,9 +105,10 @@ version with its minor, such as `v68.0`, never a bare major. If a feature read f
|
|
|
105
105
|
other version strings. Never read or toggle `service-cloud-incident-management`, and do
|
|
106
106
|
not use the Service-Foundation `IncidentManagement` look-alike or its broadcast toggles.
|
|
107
107
|
|
|
108
|
-
|
|
109
|
-
`
|
|
110
|
-
|
|
108
|
+
Read each gate with the Salesforce Go rule in `references/status-checks.md` and act on it as that file's
|
|
109
|
+
gates section says: `ENABLED` continues even with blocked reasons or an unfinished Salesforce Go setup step;
|
|
110
|
+
`NOT_AVAILABLE` or a blocked reason halts — show the reason as plain text (its message is HTML-escaped
|
|
111
|
+
markup) and do not attempt enable. Never infer success from a write response.
|
|
111
112
|
|
|
112
113
|
1. **IT Service Enablement** — only exact `ENABLED` continues. Exact `NOT_ENABLED` with no blocked reasons:
|
|
113
114
|
ask **“IT Service Enablement is off — enable it now?”** with `AskUserQuestion` (single-select, exactly
|
|
@@ -127,15 +128,15 @@ messages are HTML-escaped markup) and halt if present. Never infer success from
|
|
|
127
128
|
|
|
128
129
|
Never offer to bypass either gate.
|
|
129
130
|
|
|
130
|
-
**
|
|
131
|
-
|
|
131
|
+
**Re-read both gates each time the menu is about to show and before a direct single-feature handoff** —
|
|
132
|
+
never reuse an earlier result (step 0).
|
|
132
133
|
|
|
133
|
-
### 3. Present the feature menu
|
|
134
|
+
### 3. Present the feature menu
|
|
134
135
|
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
several enqueue for sequential handling in step 4.
|
|
136
|
+
Read every row's status (step 0), then emit the **Feature menu** template from `examples/output-templates.md`.
|
|
137
|
+
The table is the menu; the user replies with the numbers they want. Never collect the choice with
|
|
138
|
+
`AskUserQuestion`: a question holds four options at most, so it can't carry every row. Every row stays
|
|
139
|
+
selectable. Selecting one feature is valid; several enqueue for sequential handling in step 4.
|
|
139
140
|
|
|
140
141
|
### 4. Handle each selected feature in order
|
|
141
142
|
|
|
@@ -146,13 +147,14 @@ the per-feature invariants below.
|
|
|
146
147
|
|
|
147
148
|
### 5. After each feature completes
|
|
148
149
|
|
|
149
|
-
|
|
150
|
-
**Post-feature progress** template in
|
|
150
|
+
Re-read every status (step 0), suggest the next logical step — the first row that isn't **Done** or **Not
|
|
151
|
+
available** — and re-present the menu using the **Post-feature progress** template in
|
|
152
|
+
`examples/output-templates.md`.
|
|
151
153
|
|
|
152
154
|
### 6. Completion summary
|
|
153
155
|
|
|
154
|
-
When the user says they're done (or
|
|
155
|
-
|
|
156
|
+
When the user says they're done (or every row reads **Done**), present the **Completion summary** template
|
|
157
|
+
in `examples/output-templates.md`, with every status read just before it (step 0).
|
|
156
158
|
|
|
157
159
|
---
|
|
158
160
|
|
|
@@ -232,8 +234,7 @@ so only that tier's milestones fire.
|
|
|
232
234
|
|
|
233
235
|
- ALWAYS show "(via service-itsm-agentic-setup-incident-management)" in the setup header
|
|
234
236
|
- ALWAYS check the IT Service Enablement and master-switch prerequisites (Behavior step 2) through
|
|
235
|
-
the `IncidentMgmt` SOR before showing the menu or handing off a named feature
|
|
236
|
-
confirmed enabled earlier in this conversation
|
|
237
|
+
the `IncidentMgmt` SOR before showing the menu or handing off a named feature
|
|
237
238
|
- ALWAYS ask each off gate with `AskUserQuestion` (single-select Yes/No), every time, never as plain text,
|
|
238
239
|
before delegating the enable; No stops and points to Setup
|
|
239
240
|
- ALWAYS require exact `ENABLED` verification for `service-cloud-itsm-setup` before the Incident switch;
|
|
@@ -241,15 +242,16 @@ so only that tier's milestones fire.
|
|
|
241
242
|
- ALWAYS present the feature menu before configuring any selected feature (the master-switch prerequisite
|
|
242
243
|
is the only permitted action before the menu) — do not assume which feature the user wants, **except**
|
|
243
244
|
when the user named a specific feature, in which case go straight to it (single-select is fine)
|
|
244
|
-
- ALWAYS
|
|
245
|
-
|
|
245
|
+
- ALWAYS show the feature menu as the table and take the choice from the user's typed reply, never from
|
|
246
|
+
an `AskUserQuestion`
|
|
246
247
|
- ALWAYS read a feature's reference file before executing it, follow its rules, and follow the SOR at
|
|
247
248
|
runtime — never hardcode a route, body, or preference name
|
|
248
249
|
- ALWAYS run a feature's SORs under the hand-off protocol; NEVER hand a feature off to another skill, and
|
|
249
250
|
never follow a SOR's hand-off for either prerequisite gate or for another feature on this menu
|
|
250
251
|
- NEVER set up a feature the user did not select; for "set up everything", walk each feature sequentially
|
|
251
252
|
in recommended order, confirming between each step
|
|
252
|
-
-
|
|
253
|
+
- ALWAYS read each status from the org just before you show it (step 0) — a failed read is **Couldn't
|
|
254
|
+
check**, never **Not done**
|
|
253
255
|
- Do not show Salesforce record IDs in any output — human-readable names only
|
|
254
256
|
|
|
255
257
|
---
|
|
@@ -259,14 +261,14 @@ so only that tier's milestones fire.
|
|
|
259
261
|
Before emitting any menu or summary, confirm each; adjust the output before sending if any is unchecked.
|
|
260
262
|
|
|
261
263
|
- [ ] The header line ends with `(via service-itsm-agentic-setup-incident-management)`
|
|
262
|
-
- [ ]
|
|
263
|
-
|
|
264
|
-
|
|
264
|
+
- [ ] Both prerequisite gates were read from the org through the `IncidentMgmt` SOR just before the menu
|
|
265
|
+
or direct feature handoff; each off gate was asked with `AskUserQuestion` (Yes/No), not plain text,
|
|
266
|
+
before the enable was delegated
|
|
265
267
|
- [ ] The exact `service-cloud-itsm-setup` entry verified exact `ENABLED` before the Incident-switch
|
|
266
268
|
sequence; any other result stopped
|
|
267
|
-
- [ ] The feature menu
|
|
268
|
-
|
|
269
|
-
- [ ] Each
|
|
269
|
+
- [ ] The feature menu is the full table, every row with its status, then the reply line — no
|
|
270
|
+
`AskUserQuestion` for the choice
|
|
271
|
+
- [ ] Each status was read from the org just before this output (step 0) — a label and a short note
|
|
270
272
|
- [ ] A feature is being handled only because the user explicitly selected it (or is being walked through
|
|
271
273
|
sequentially with confirmation under an "all" / "everything" request)
|
|
272
274
|
- [ ] For each feature: its reference file was read and its checks passed; its SORs ran under the
|
|
@@ -283,7 +285,8 @@ Read each `references/` file before executing its feature.
|
|
|
283
285
|
|
|
284
286
|
| File | When to read |
|
|
285
287
|
|------|--------------|
|
|
286
|
-
| `
|
|
288
|
+
| `references/status-checks.md` | **Every run** — every status you show (step 0) and both gates (step 2): the labels, the Salesforce Go rule, each row's reads, the track roll-up |
|
|
289
|
+
| `examples/output-templates.md` | Behavior steps 3, 5, 6 — feature menu, post-feature progress, completion summary |
|
|
287
290
|
| `references/incident-preferences.md` | **Incident Preferences** — where to start in the `IncidentMgmt` SOR, the steps never to run, the one-way confirmations, and the licensed toggles |
|
|
288
291
|
| `references/incident-persona-psg.md` | **Incident Persona PSG** — the not-provisioned stop, the persona menu, one pass per PSG, and the settling status |
|
|
289
292
|
| `references/priority-matrix.md` | **Priority Matrix** — the reads, the full-replacement save, the read-back, and the Salesforce Go step |
|
|
@@ -1,115 +1,142 @@
|
|
|
1
1
|
# Output Templates — service-itsm-agentic-setup-incident-management
|
|
2
2
|
|
|
3
|
-
Emit
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
Emit these blocks at the matching Behavior step. Every status is read from the org with
|
|
4
|
+
`references/status-checks.md` just before the block is shown — the statuses below show the shape, not an
|
|
5
|
+
org's real state. Each status cell is the label and its short note. Show every feature the master switch
|
|
6
|
+
enables.
|
|
6
7
|
|
|
7
8
|
## Feature menu (Behavior step 3)
|
|
8
9
|
|
|
10
|
+
The table is the menu: show every row, then the reply line below it. The user's typed reply is the
|
|
11
|
+
selection — don't collect it with `AskUserQuestion`.
|
|
12
|
+
|
|
13
|
+
Example — a resumed setup where the org shows some features already set up and others only partly:
|
|
14
|
+
|
|
9
15
|
```text
|
|
10
16
|
Incident Management Setup (via service-itsm-agentic-setup-incident-management)
|
|
11
17
|
|
|
18
|
+
Target org: <org> (all steps below run against this org)
|
|
19
|
+
IT Service Enablement and Incident Management are on.
|
|
20
|
+
|
|
12
21
|
Here are the features available for Incident Management. Select one or more to configure:
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
| # | Feature | What it does | Status |
|
|
25
|
+
| -- | ------- | ------------ | ------ |
|
|
26
|
+
| P | Incident Preferences | The six setup toggles (validations, auto-close, triage, Einstein, group restriction, rich text) | Done — 4 of 6 on; off: Restrict Assigned Group to Regular Groups, Enable Rich Text for Incident Descriptions |
|
|
27
|
+
| | **Set Up the Basics** | | |
|
|
28
|
+
| 1 | Incident Persona PSG | Manage User Access: give a user the Incident Fulfiller or Manager persona (bundle + licenses) | Done — Incident Fulfiller: 3 people · Incident Manager: 3 people |
|
|
29
|
+
| 2 | Priority Matrix | Configure Rules for Automatic Incident Priority: the Impact × Urgency grid that sets Priority | Not done — not turned on |
|
|
30
|
+
| 3 | SLA & Milestones | Define SLAs to Prioritize Incidents: turn on SLA Management, then a predefined or custom policy | Done — SLA Management is on; active Incident policies: Incident SLA Policy |
|
|
31
|
+
| | **Unlock Advanced Functionality** | | |
|
|
32
|
+
| 4 | Incident Dashboards | Deploy the Incident Manager and/or Fulfiller dashboards, and dashboards on the Home page | Done — Incident Manager dashboards are on |
|
|
33
|
+
| 5 | Email-to-Incident | Report Incidents from Emails: email settings + routing addresses | In progress — turned on, but no routing address is set up yet |
|
|
34
|
+
| 6 | Major Incident Management | Review and Manage Major Incident Configuration: approval group + the two MIM preferences (auto-create problem, auto-close child) | In progress — 2 people have the Major Incident Manager license, but no approval group is set |
|
|
35
|
+
| 7 | Broadcast Communications | Set Up Broadcast Communication for Major Incidents: turn on, then sender access, channels (Email/In-app/Slack/Teams), objects | Not available — Broadcast Communications isn't available in this org; contact Salesforce Customer Support |
|
|
36
|
+
| 8 | Manage Incidents with AI | Auto-triage, Einstein assignment, and AI-drafted incidents from chat or voice transcripts | Done — all three are on |
|
|
37
|
+
| 9 | Service Management Privilege | Escalation level, privilege records + employee assignments, behind Enable Privilege Assignment | Done — turned on; 2 privileges; escalation level not set |
|
|
38
|
+
| 10 | Audit Tracking | Turn on field history tracking for the Incident fields you choose (who changed what, and when) | Not done — no Incident fields are tracked yet |
|
|
39
|
+
|
|
40
|
+
```text
|
|
41
|
+
Reply with the numbers of the features you want to set up (one or more, e.g. `2,10`; `P` for Incident Preferences).
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
When a gate reads In progress, or only its setup-step read failed, the gate line says so instead:
|
|
13
45
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
├────┼───────────────────────────────┼──────────────────────────────────────────────────┼──────────┤
|
|
17
|
-
│ P │ Incident Preferences │ The six setup toggles (validations, auto-close, │ Not done │
|
|
18
|
-
│ │ │ triage, Einstein, group restriction, rich text) │ │
|
|
19
|
-
├────┴───────────────────────────────┴──────────────────────────────────────────────────┴──────────┤
|
|
20
|
-
│ Set Up the Basics │
|
|
21
|
-
├────┬───────────────────────────────┬──────────────────────────────────────────────────┬──────────┤
|
|
22
|
-
│ 1 │ Incident Persona PSG │ Manage User Access: give a user the Incident │ Not done │
|
|
23
|
-
│ │ │ Fulfiller or Manager persona (bundle + licenses) │ │
|
|
24
|
-
│ 2 │ Priority Matrix │ Configure Rules for Automatic Incident Priority: │ Not done │
|
|
25
|
-
│ │ │ the Impact × Urgency grid that sets Priority │ │
|
|
26
|
-
│ 3 │ SLA & Milestones │ Define SLAs to Prioritize Incidents: turn on SLA │ Not done │
|
|
27
|
-
│ │ │ Management, then a predefined or custom policy │ │
|
|
28
|
-
├────┴───────────────────────────────┴──────────────────────────────────────────────────┴──────────┤
|
|
29
|
-
│ Unlock Advanced Functionality │
|
|
30
|
-
├────┬───────────────────────────────┬──────────────────────────────────────────────────┬──────────┤
|
|
31
|
-
│ 4 │ Incident Dashboards │ Deploy the Incident Manager and/or Fulfiller │ Not done │
|
|
32
|
-
│ │ │ dashboards, and dashboards on the Home page │ │
|
|
33
|
-
│ 5 │ Email-to-Incident │ Report Incidents from Emails: email settings + │ Not done │
|
|
34
|
-
│ │ │ routing addresses │ │
|
|
35
|
-
│ 6 │ Major Incident Management │ Review and Manage Major Incident Configuration: │ Not done │
|
|
36
|
-
│ │ │ approval group + the two MIM preferences │ │
|
|
37
|
-
│ │ │ (auto-create problem, auto-close child) │ │
|
|
38
|
-
│ 7 │ Broadcast Communications │ Set Up Broadcast Communication for Major │ Not done │
|
|
39
|
-
│ │ │ Incidents: turn on, then sender access, channels │ │
|
|
40
|
-
│ │ │ (Email/In-app/Slack/Teams), objects │ │
|
|
41
|
-
│ 8 │ Manage Incidents with AI │ Auto-triage, Einstein assignment, and AI-drafted │ Not done │
|
|
42
|
-
│ │ │ incidents from chat or voice transcripts │ │
|
|
43
|
-
│ 9 │ Service Management Privilege │ Escalation level, privilege records + employee │ Not done │
|
|
44
|
-
│ │ │ assignments, behind Enable Privilege Assignment │ │
|
|
45
|
-
│ 10 │ Audit Tracking │ Turn on field history tracking for the Incident │ Not done │
|
|
46
|
-
│ │ │ fields you choose (who changed what, and when) │ │
|
|
47
|
-
└────┴───────────────────────────────┴──────────────────────────────────────────────────┴──────────┘
|
|
48
|
-
|
|
49
|
-
Reply with the numbers of the features you want to set up (one or more, e.g. `1,3`; `P` for Incident Preferences).
|
|
46
|
+
```text
|
|
47
|
+
Incident Management is on, but its Salesforce Go setup didn't finish: Turn on Email to Incident.
|
|
50
48
|
```
|
|
51
49
|
|
|
52
50
|
## Post-feature progress (Behavior step 5)
|
|
53
51
|
|
|
54
|
-
Example after the
|
|
52
|
+
Example — re-read after the Priority Matrix feature turned automatic priority on and saved the grid:
|
|
55
53
|
|
|
56
54
|
```text
|
|
57
|
-
|
|
55
|
+
Priority Matrix — configured successfully
|
|
58
56
|
(via service-itsm-agentic-setup-incident-management)
|
|
57
|
+
```
|
|
59
58
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
│ 10 │ Audit Tracking │ Not done │
|
|
74
|
-
└────┴───────────────────────────────┴──────────┘
|
|
59
|
+
| # | Feature | Status |
|
|
60
|
+
| -- | ------- | ------ |
|
|
61
|
+
| P | Incident Preferences | Done — 4 of 6 on; off: Restrict Assigned Group to Regular Groups, Enable Rich Text for Incident Descriptions |
|
|
62
|
+
| 1 | Incident Persona PSG | Done — Incident Fulfiller: 3 people · Incident Manager: 3 people |
|
|
63
|
+
| 2 | Priority Matrix | Done — turned on, 9 priority rules |
|
|
64
|
+
| 3 | SLA & Milestones | Done — SLA Management is on; active Incident policies: Incident SLA Policy |
|
|
65
|
+
| 4 | Incident Dashboards | Done — Incident Manager dashboards are on |
|
|
66
|
+
| 5 | Email-to-Incident | In progress — turned on, but no routing address is set up yet |
|
|
67
|
+
| 6 | Major Incident Management | In progress — 2 people have the Major Incident Manager license, but no approval group is set |
|
|
68
|
+
| 7 | Broadcast Communications | Not available — Broadcast Communications isn't available in this org |
|
|
69
|
+
| 8 | Manage Incidents with AI | Done — all three are on |
|
|
70
|
+
| 9 | Service Management Privilege | Done — turned on; 2 privileges; escalation level not set |
|
|
71
|
+
| 10 | Audit Tracking | Not done — no Incident fields are tracked yet |
|
|
75
72
|
|
|
73
|
+
```text
|
|
74
|
+
Next up: Email-to-Incident (5) — it's on, but no routing address is set up yet.
|
|
76
75
|
Say a number (or `P`) to configure the next feature, or `done` to finish.
|
|
77
76
|
```
|
|
78
77
|
|
|
78
|
+
When the re-read shows a feature still finishing, say so instead of calling it done — for example, right
|
|
79
|
+
after turning on Broadcast Communications in an org that has it:
|
|
80
|
+
|
|
81
|
+
| # | Feature | Status |
|
|
82
|
+
| -- | ------- | ------ |
|
|
83
|
+
| 7 | Broadcast Communications | In progress — Salesforce Go is turning it on now |
|
|
84
|
+
|
|
85
|
+
```text
|
|
86
|
+
Salesforce Go is still turning on Broadcast Communications. Want me to check again?
|
|
87
|
+
```
|
|
88
|
+
|
|
79
89
|
## Completion summary (Behavior step 6)
|
|
80
90
|
|
|
81
|
-
The completion summary fires either (a)
|
|
82
|
-
finished — even if some features
|
|
91
|
+
The completion summary fires either (a) when every row reads Done, or (b) when the user says they are
|
|
92
|
+
finished — even if some features aren't done. When rendering:
|
|
83
93
|
|
|
84
|
-
-
|
|
85
|
-
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
-
|
|
89
|
-
-
|
|
90
|
-
- Otherwise → `You have finished the features you selected. The remaining features can be resumed later by re-invoking this orchestrator.`
|
|
94
|
+
- Re-read every row first, and show what the org reports. Do NOT hard-code `Done`.
|
|
95
|
+
- Header: `Incident Management Setup — Complete` only when every row reads Done (a row that reads Not
|
|
96
|
+
available doesn't count against it); otherwise `Incident Management Setup — Finished`.
|
|
97
|
+
- Closing line:
|
|
98
|
+
- Complete → `Your Incident Management features are configured.`
|
|
99
|
+
- Finished → name what's left, then `Run this setup again any time — it re-reads the org and picks up where setup stands.`
|
|
91
100
|
|
|
92
|
-
Example — user
|
|
101
|
+
Example — the user stopped after the Priority Matrix and a routing address for Email-to-Incident:
|
|
93
102
|
|
|
94
103
|
```text
|
|
95
104
|
Incident Management Setup — Finished
|
|
96
105
|
(via service-itsm-agentic-setup-incident-management)
|
|
97
106
|
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
107
|
+
Target org: <org>
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
| # | Feature | Status |
|
|
111
|
+
| -- | ------- | ------ |
|
|
112
|
+
| P | Incident Preferences | Done — 4 of 6 on; off: Restrict Assigned Group to Regular Groups, Enable Rich Text for Incident Descriptions |
|
|
113
|
+
| 1 | Incident Persona PSG | Done — Incident Fulfiller: 3 people · Incident Manager: 3 people |
|
|
114
|
+
| 2 | Priority Matrix | Done — turned on, 9 priority rules |
|
|
115
|
+
| 3 | SLA & Milestones | Done — SLA Management is on; active Incident policies: Incident SLA Policy |
|
|
116
|
+
| 4 | Incident Dashboards | Done — Incident Manager dashboards are on |
|
|
117
|
+
| 5 | Email-to-Incident | Done — turned on; 1 routing address |
|
|
118
|
+
| 6 | Major Incident Management | In progress — 2 people have the Major Incident Manager license, but no approval group is set |
|
|
119
|
+
| 7 | Broadcast Communications | Not available — Broadcast Communications isn't available in this org |
|
|
120
|
+
| 8 | Manage Incidents with AI | Done — all three are on |
|
|
121
|
+
| 9 | Service Management Privilege | Done — turned on; 2 privileges; escalation level not set |
|
|
122
|
+
| 10 | Audit Tracking | Not done — no Incident fields are tracked yet |
|
|
123
|
+
|
|
124
|
+
```text
|
|
125
|
+
Left to do: designate the major-incident approval group (6) and choose the Incident fields to track (10).
|
|
126
|
+
Broadcast Communications isn't available in this org. Run this setup again any time — it re-reads the
|
|
127
|
+
org and picks up where setup stands.
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
## A read that fails (any step)
|
|
131
|
+
|
|
132
|
+
Show **Couldn't check** with the reason in plain words — never **Not done**:
|
|
133
|
+
|
|
134
|
+
| # | Feature | Status |
|
|
135
|
+
| -- | ------- | ------ |
|
|
136
|
+
| 6 | Major Incident Management | Couldn't check — reading this needs an admin with IT Service setup access |
|
|
137
|
+
| 10 | Audit Tracking | Couldn't check — the org didn't respond |
|
|
138
|
+
|
|
139
|
+
```text
|
|
140
|
+
I couldn't check Major Incident Management or Audit Tracking, so I haven't marked them either way.
|
|
141
|
+
Want me to try again?
|
|
115
142
|
```
|
package/skills/service-itsm-agentic-setup-incident-management/references/manage-incidents-with-ai.md
CHANGED
|
@@ -15,9 +15,13 @@ owns every user-facing gate. This file adds what is specific to this feature.
|
|
|
15
15
|
changing it, and skip any already in the requested state.
|
|
16
16
|
3. Confirm the exact change, write each chosen switch and read each back; mark the feature `Done` only
|
|
17
17
|
when every read-back matches.
|
|
18
|
-
4. If triage or Einstein assignment
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
4. If the SOR's read or change of triage or Einstein assignment is refused, read and change that switch
|
|
19
|
+
through the `IncidentMgmt` SOR's preference steps instead (`getOrgPref_1`, `updateOrgPref_2`,
|
|
20
|
+
`verify-update-org-pref`) — the same org preferences, and some orgs refuse the SOR's path even when the
|
|
21
|
+
switch is licensed and on; this is the one exception to stopping on a refused call. Only if that path
|
|
22
|
+
fails too does the org lack that switch's license (*IT Services: Agentforce Features for Employees* for
|
|
23
|
+
triage, *IT Services: Einstein Features* for Einstein assignment): say so, skip it, and carry on with the
|
|
24
|
+
others.
|
|
21
25
|
5. When turning on the chat and voice switch, ask whether the org already captures transcripts (an active
|
|
22
26
|
messaging channel for chat, call transcription for voice); set one up only if the user asks, through the
|
|
23
27
|
SOR's channel hand-offs. Offer the SOR's smoke test only after that switch reads on — it drafts from one
|
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
# Feature: Priority Matrix (delegated to the `
|
|
1
|
+
# Feature: Priority Matrix (delegated to the `ItsmPriorityMatrix` SOR)
|
|
2
2
|
|
|
3
3
|
How the orchestrator runs the **Priority Matrix** feature, which maps each Impact × Urgency combination on
|
|
4
|
-
Incident to a Priority. The `
|
|
4
|
+
Incident to a Priority. The `ItsmPriorityMatrix` SOR's own steps and guidance decide *how*; the
|
|
5
5
|
orchestrator runs them itself under its **SOR hand-off protocol** and owns every user-facing gate. This file
|
|
6
6
|
adds what is specific to the Priority Matrix.
|
|
7
7
|
|
|
8
8
|
1. `discover` the SOR by intent (e.g. "incident priority matrix impact urgency") and `describe` the id
|
|
9
|
-
`discover` returns (`
|
|
10
|
-
|
|
9
|
+
`discover` returns (`ItsmPriorityMatrix`). Its own prerequisite checks fall under protocol step 2. The
|
|
10
|
+
SOR serves Incident and Problem, so pass the entity type `Incident` on every call (`entityType` on the
|
|
11
|
+
`Priority` read, the matrix reads, and the save; `details` on the default-priority reads).
|
|
12
|
+
2. Read first: the org's **active** Incident `Priority` values (`describe-priority-picklist` —
|
|
11
13
|
never hardcode or invent them), the current rows (`fetch-priority-matrix`), both preferences
|
|
12
14
|
(`read-priority-matrix-prefs`, one call each: `IncPriorityMatrixEnabled`, the *Turn on Automatic
|
|
13
15
|
Priority Assignment for IT Service* toggle, and `IncPriorityOverrideEnabled`, the *Set priority
|
|
@@ -19,7 +21,7 @@ adds what is specific to the Priority Matrix.
|
|
|
19
21
|
4. **The save is a full replacement**: `save-priority-matrix` deletes every row it isn't sent. Build the
|
|
20
22
|
complete set from the fetched rows, change only the cells the user asked to change, and keep the
|
|
21
23
|
override as read unless asked. Show which cells are added, changed, or removed, the resulting default,
|
|
22
|
-
and the override state, and get an explicit yes. Re-run `describe-
|
|
24
|
+
and the override state, and get an explicit yes. Re-run `describe-priority-picklist` right
|
|
23
25
|
before the save and send only its active values. A change to only the matrix toggle or only the
|
|
24
26
|
override uses `update-priority-matrix-enablement` instead, one preference per call, confirmed the same
|
|
25
27
|
way.
|
|
@@ -35,8 +35,8 @@ SLAs.
|
|
|
35
35
|
Support for Incidents* already exists: say so, **never re-seed** (the seed isn't idempotent — a second
|
|
36
36
|
run duplicates every artifact), and stop unless the user explicitly asks for a custom policy. Don't
|
|
37
37
|
upsell one.
|
|
38
|
-
4. **Read what the choice needs** — from `
|
|
39
|
-
`Priority` values (`describe-
|
|
38
|
+
4. **Read what the choice needs** — from `ItsmPriorityMatrix` (entity type `Incident`), only these two
|
|
39
|
+
reads: the active Incident `Priority` values (`describe-priority-picklist`) and the matrix flag
|
|
40
40
|
(`read-priority-matrix-prefs`, `IncPriorityMatrixEnabled`). With the matrix off, every Incident gets the
|
|
41
41
|
default priority, so only that tier's milestones fire: warn plainly and point to the **Priority Matrix**
|
|
42
42
|
feature. A warning, never a gate — never turn the matrix on from here.
|