@zack/support-escalation-loop

Portable support orchestration loop for triage, response drafting, and escalation handoff decisions.

Install
agentpm install @zack/support-escalation-loop@0.1.0
Load
import { loadLoop } from '@agentpm/sdk';
const loop = await loadLoop('@zack/support-escalation-loop@0.1.0');
Weekly installs
2
0%
Last publish
1d ago
v0.1.0
Phases
triage
Entry
Assess the customer issue, determine whether a direct response is possible, and decide whether escalation is required.
Access intent
Tools: allowedKnowledge: allowedMemory read: allowed
Outcomes
  • can-reply
    The issue can move into a direct customer response.
  • needs-escalation
    The issue requires a specialist handoff or explicit escalation review.
draft-response
Prepare a customer-facing reply that states the current status, names ownership, and sets the next checkpoint clearly.
Access intent
Tools: allowedKnowledge: allowedMemory read: allowedMemory write: allowed
Outcomes
  • ready-to-send
    The reply is complete and the thread can close without escalation.
  • needs-revision
    The current draft is incomplete or unclear and needs another pass through triage.
  • needs-escalation
    The draft surfaced a risk, ownership boundary, or missing authority that requires escalation.
prepare-handoff
Implicit complete
Capture the escalation reason, preserve the next-step context, and package the handoff clearly for the receiving owner.
Access intent
Tools: blockedKnowledge: allowedMemory read: allowedMemory write: allowed
This phase does not declare explicit outcomes, so it falls through to an implicit complete outcome.
Transitions
triageoncan-replydraft-response
triageonneeds-escalationprepare-handoff
draft-responseonready-to-send$end
draft-responseonneeds-revisiontriage
draft-responseonneeds-escalationprepare-handoff
prepare-handoffoncomplete$handoff