Open kit · No signup required

Give each request
the right next step.

A blocked task needs a different response from a refund exception or a security concern. Run a small, explicit policy and inspect its owner, priority and review decision for each fictional ticket.

Offline Node.js example with fictional tickets. No helpdesk connection, customer messages or account changes. Requires Node.js 20 or later. Tested with Node.js v26.4.0 on 2026-11-20.

Run it locally

  1. Download and unzip the kit. Open a terminal in the extracted folder and read README.md.
  2. Verify the expected decisions, then print the policy output:
node verify.mjs
node triage-tickets.mjs sample-tickets.json rules.json
  1. Change a queue name in rules.json or add a fictional example to sample-tickets.json. Update expected decisions deliberately when you change the policy.

The included evidence covers 24 fictional inputs. The policy matched 24 authored decisions; the keyword baseline matched 7. The lab report explains the inputs, measurement and limits.

What the policy decides

  • A declared security concern needs restricted specialist review.
  • Declared refund and account-change requests wait for a person, with approval required, even when other details need validation.
  • Technical impact affects priority; ordinary questions use the normal support path.
  • Invalid, unknown and repeated records need review. Declared security concerns retain specialist handling.

These are sample business rules. A field can be wrong or misleading. The runner does not interpret message meaning, verify identity, set helpdesk permissions or authorise a refund. Review and restriction flags describe what a real implementation would need to enforce.

Every file, available separately

README.md

Setup, sample policy, limits and production integration questions

triage-tickets.mjs

The runnable policy and keyword-only baseline

rules.json

Editable queue names for the sample policy

sample-tickets.json

Fictional tickets covering priorities, sensitive requests and invalid data

expected-results.json

Authored expected decisions, including review and approval flags

verify.mjs

Checks the sample decisions against the expected policy

run-experiment.mjs

Reproduces the comparison between both approaches

experiment-results.json

Measured decisions, summary counts and limitations

What this example can and cannot tell you

The verifier compares the implementation with expectations authored for this same policy. That makes it an acceptance exercise, not an independent accuracy benchmark. The comparison also gives the policy version richer structured inputs than the keyword-only baseline uses.

A production workflow still needs authorised queue access, identity checks, durable duplicate handling, delivery monitoring, retries and an owner for unresolved reviews. No customer data, API credentials or external integrations are included in this download.

Use the triage policy template to define your own rules, then the human review guide to specify approval and escalation. The support automation guide connects those decisions to the wider process.