AGENT SKILL

servicenow-da-itsm

暂无简介

License 许可
MIT
最近更新
2026-11-14
Stars
★ 31
Forks
19

02 资源文件 10

03 SKILL.md 正文

Connect ServiceNow ITSM to the DA IT agent

This provider uses the shared connect lifecycle. It supports only the exact chooser-selected editable Employee Self-Service (IT) agent and does not use the retained Preview ServiceNow state or steps. One lifecycle instance serves one IT agent/profile only. It may read the exact HRSD lifecycle solely for maker-confirmed compatible shared-configuration discovery; it never migrates, merges, or copies the HRSD lifecycle or its agent-scoped evidence.

The lifecycle is Actions-only and supports only Microsoft Entra ID User Login (entraIDUserLogin). Knowledge/Graph Connector retrieval, certificate/App B, PFX, Basic/OAuth2, Dataverse connections/references, and cloud flows remain out of scope. The IT Setup Configurations topic's Portal Base URI is in scope: the skill may update that exact authored node through the native component API only with an administrator-supplied full portal URL and guarded rollback, or guide the same manual edit when the API path is unavailable. Admin prerequisites are always guided: the skill may discover and verify with read-only APIs, but never creates or patches an Entra application or ServiceNow OIDC/security object.

The checked-in HRSD rev6 runbook is the shared implementation baseline. The user-provided DA ServiceNow review source confirms that the ITSM topics are already included in the IT agent and that customer-facing Employee Self-Service uses delegated Microsoft Entra ID User Login. The HR-only Core gate has separate historical design evidence: Draft PR #217 commit e9550ddd adds the gate in the retired ServiceNow setup capture guide with the explicit condition scope.hrsd == true; the older reference update f3bdf293 records that com.sn_hr_core supplies sn_hr_core_case and other HRSD tables. Together these support omitting that HRSD data prerequisite from this IT-only lifecycle. They do not prove that every current ITSM/OIDC instance needs no ServiceNow plugin or capability; the OIDC phase still stops when the tenant lacks the required OIDC capability.

The current authenticated review-site revision was not freshly fetched; do not invent additional requirements from the review URL. For Entra access tokens, do not assume UPN or email. The Entra administrator returns exactly one selected employee-identity claim name plus the Application (client) ID through source-faithful direct capture. aud may be configured for audience validation but is never accepted as that selected user-matching claim. The ServiceNow direct handoff uses the same bound values and leaves only the actual matching sys_user field for the ServiceNow administrator to confirm. Connect never guesses, defaults, or manually recopies the claim. The approved manual runbook also covers Broadly scoped ServiceNow scope restriction, non-email custom user identifiers, and safe coexistence with a separate Graph Connector app-only configuration.

Discover the current package inventory from the exact selected Agent's authoritative component fetch. Treat a component as an ITSM topic only when it is a DialogComponent with a dialog payload and its schema is under {exact IT agent schema}.topic.ServiceNowITSM.... The discovered positive inventory is the package inventory for this invocation; do not require a fixed topic count or a checked-in list of expected topic names. New package revisions and subsets are valid. Never include generic Agent topics, the HRSD namespace, or non-topic components merely because a name contains ServiceNowITSM.

The named ServiceNowITSMSetupConfigurations topic remains the exact portal configuration target when that later operation runs. Its specific lookup does not make it a blanket package-completeness requirement.

Secondary help references:

Use the invocation-local SELECTED_AGENT_SLUG and SELECTED_AGENT_ID supplied by the ServiceNow DA chooser. Then read src/skills/connect/shared/lifecycle-runner.md and follow it with:

PROVIDER = "servicenow-da-itsm"
AGENT_SLUG = SELECTED_AGENT_SLUG

The shared runner's connect_lifecycle.py next-step command is mandatory. Never jump directly from a result to another checkpoint or infer that actionApplied skips an incomplete provider action. STOP — render before acting. After every resume-handoff or record-checkpoint-results, your very next assistant message — before any other tool call — must contain renderBlock.text verbatim (the grouped phases view; it already ends with the current step line). renderBlock.text is the only renderable field: never render anything under internal, never write your own checklist, and never add a Check/Status table. Never summarize it or write "render the plan" instead.

Hard rules. Read src/skills/connect/shared/lifecycle-runner.md before the first action. When resume-handoff returns renderBlock, emit renderBlock.text verbatim as an assistant message; terminal output does not count. Never edit lifecycle.json by hand; record results with record-checkpoint-results. Run every command with the launcher resolved by /setup (py -3, python3, then python), never assuming bare python.

Render the ServiceNow resume-handoff.progress checklist and current-step updates exactly as the shared runner specifies; do not suppress them under the ordinary Message-block silence rule.

On every first run and resume, show the controller's IT collaboration groups and nested internal-step statuses as an ordinary response. Preflight and instance input run without an availability question. When the controller enters Entra identity, ServiceNow SSO/user mapping, or Maker configuration, ask only that group's returned Yes/No question. A No answer loops in that role and repeats the same question without advancing state. A Yes acknowledgement applies only to that group. Availability never proves authentication, authorization, permission, admin evidence, binding, mutation consent, or Test completion.

The runner loads src/skills/connect/servicenow-da-itsm/contract.json, persists state at .local/connect/servicenow-da-itsm/agents/{AGENT_SLUG}/lifecycle.json, and live-reverifies every phase. Agent binding and Test pane results remain maker-confirmed evidence; topic mutation requires explicit confirmation. Publishing is outside ServiceNow Connect. Parameter-sharing is not a standalone lifecycle phase; legacy evidence is retained only as historical state and never treated as proof that the direct connector-action path was independently verified.

Agent Binding: The Maker binds the verified ServiceNow connection to the selected ESS agent in Copilot Studio. FlightCheck checks the Maker’s confirmation as Manual evidence. Connect does not enable ServiceNow topics before binding is confirmed.

Topics and Portal: After binding is confirmed, Connect reads the topic states for Maker review and saves only approved changes. It also saves the administrator-provided portal URL after Maker confirmation. FlightCheck verifies the resulting topic states and portal value.

Dev Test: After topic and portal configuration is complete, the Maker runs the HRSD or ITSM scenario in the agent’s Test pane using authorized real data. FlightCheck reviews the Maker’s reported result as Manual evidence for the final configuration. In the final report word it as "Maker-reported Test pane result"; administrator-supplied items as "Confirmed by the administrator" and Maker-supplied items as "Confirmed by the Maker". Manual means human-verified, never Passed, and never proof of business success; Passed means verified by Connect checks.

Only report the integration connected after the runner completes all eight ITSM phases. The IT lifecycle intentionally omits the HR-only ServiceNow plugin phase. Do not add a second completion message.

04 同仓库更多 Skills