oncall-alert-triage
Judge one on-call alert against a sealed runbook and policy, then emit a bounded triage packet for downstream governed lanes.
You’re reading version sha-78dc10d6912d. Go to the current version
Overview
oncall-alert-triage decides whether an alert should be acknowledged,
escalated, auto-remediated, suppressed, or stopped for a human. It is a
read-only judgment skill: it never pages a person, opens an incident PR, posts a
review note, mints authority, or executes a remediation step.
The default triage runner is a graph with a thin review act. Its packet step
is an agent-mediated judgment, so an unattended run stops at needs_agent
instead of fabricating a decision. The bounded dogfood runner applies the
same checked contract deterministically for reproducible post-publish evidence.
The useful output is a single runx.oncall.triage.v1 packet. A downstream
driver or operator may later route that packet to separate governed runs, such
as a live page, an incident PR package behind a human merge gate, or a
pr-review-note comment body. Those effects stay outside this skill.
In the manual
Runners
agentdogfoodtriage
Declared by its execution profile. Read the profile
SKILL.md
On-call Alert Triage
oncall-alert-triage decides whether an alert should be acknowledged,
escalated, auto-remediated, suppressed, or stopped for a human. It is a
read-only judgment skill: it never pages a person, opens an incident PR, posts a
review note, mints authority, or executes a remediation step.
The default triage runner is a graph with a thin review act. Its packet step
is an agent-mediated judgment, so an unattended run stops at needs_agent
instead of fabricating a decision. The bounded dogfood runner applies the
same checked contract deterministically for reproducible post-publish evidence.
The useful output is a single runx.oncall.triage.v1 packet. A downstream
driver or operator may later route that packet to separate governed runs, such
as a live page, an incident PR package behind a human merge gate, or a
pr-review-note comment body. Those effects stay outside this skill.
What This Skill Does
The skill reads three pieces of evidence:
alert{id, service, severity, signal}runbook_ref, including a sealed digest and target bindingsoncall_policy{services, escalation_rules}
It verifies that the service is in policy, the runbook is sealed, and the runbook or policy binds the targets needed for any packet. When the alert is eligible for escalation or auto-remediation, it emits one packet that names the page target, incident PR target, PR review note body, optional fix bundle, and escalation route. When the evidence is missing or unsafe, it stops for an agent or fails closed with a refusal reason instead of inventing a target.
When To Use It
- An operator has an alert and needs a receipt-backed triage decision before dispatching any live on-call effect.
- A workflow needs to prove which runbook digest and policy clause justified an escalation packet.
- A run should separate judgment from action, so humans can review the packet before paging or opening an incident PR.
When Not To Use It
- To actually page, send, comment, open a PR, or remediate. Use downstream governed lanes for those effects.
- To triage a service that is absent from
oncall_policy. - To make up missing runbook steps, escalation targets, incident PR targets, or fix bundles.
- To clear an unsealed runbook or ambiguous alert without human review.
Procedure
- Read the alert and record
id,service,severity, andsignal. - Confirm
serviceappears inoncall_policy.services. - Confirm
runbook_ref.sealedis true and a digest is present. - Resolve the escalation rule for the service.
- If escalation or remediation is allowed, bind both
page_targetandincident_pr_target. - Emit a single
decisionand, only forescalateorauto_remediate, onerunx.oncall.triage.v1packet. - Stop when any target, policy clause, or sealed runbook evidence is missing.
Output Contract
decision:
action: acknowledge | escalate | auto_remediate | suppress
reason: string
triage_packet:
schema: runx.oncall.triage.v1
page_target: string
incident_pr_target: string
pr_review_note_body: string
fix_bundle: object | null
escalation: string
evidence:
alert_id: string
service: string
runbook_digest: string
policy_clause: string
refusal:
reason: string | nulltriage_packet is emitted only when the action is escalate or
auto_remediate and all targets are bound. A suppressed or acknowledged alert
may return only the decision. Missing evidence stops the run instead of
producing a packet.
Harness Cases
The harness covers two cases:
oncall-alert-triage-escalate-sealed: a page-severitycheckout-apialert with a sealed runbook and in-policy service emits onerunx.oncall.triage.v1packet and seals.oncall-alert-triage-missing-runbook-needs-agent: a service without a declared policy and without a sealed runbook omits caller answers, emits no packet, and stops atneeds_agentfor human review.
Evidence Requirements
Evidence should include the runx CLI version, package name and version,
registry reference, public URL, source URL, PR URL, raw X.yaml, raw
SKILL.md, harness case names, hosted harness status, dogfood command, receipt
reference, verification result, the runbook digest, policy clause, packet
target fields, and stop reason.
Published execution profile
The execution profile published with sha-78dc10d6912d, shown as its exact bytes.
| Runners |
|
|---|---|
| Profile digest | sha256:3d95b191d16b6dad182b0d45e715943f548d4716e18ea711bc298ba3d879a812 |
skill: oncall-alert-triage
version: 0.1.3
catalog:
kind: graph
audience: public
visibility: public
role: context
category: ops
runners:
agent:
steps:
- id: agent
agent:
role: agent
task: agent
dogfood:
inputs:
alert:
type: json
required: true
description: Alert record with id, service, severity, and signal.
runbook_ref:
type: json
required: true
description: Sealed runbook reference and digest plus target bindings.
oncall_policy:
type: json
required: true
description: Declared services and escalation rules.
operator_context:
type: string
required: false
description: Operator constraints for deterministic post-publish dogfood.
steps:
- id: dogfood
tool:
command: node
args:
- run.mjs
inputs:
alert: $input.alert
runbook_ref: $input.runbook_ref
oncall_policy: $input.oncall_policy
operator_context: $input.operator_context
artifacts:
wrap_as: triage_packet
triage:
default: true
inputs:
alert:
type: json
required: true
description: Alert record with id, service, severity, and signal.
runbook_ref:
type: json
required: true
description: Sealed runbook reference and digest plus target bindings.
oncall_policy:
type: json
required: true
description: Declared services and escalation rules.
operator_context:
type: string
required: false
description: Operator constraints for downstream dispatch and approvals.
steps:
- id: packet
label: review alert evidence
agent:
role: reviewer
task: oncall-alert-triage
outputs:
decision:
required: false
triage_packet:
required: false
refusal:
required: false
artifacts:
named_emits:
triage_packet: triage_packet
harness:
cases:
- name: oncall-alert-triage-escalate-sealed
runner: triage
inputs:
alert:
id: alert-2026-07-01-checkout-latency
service: checkout-api
severity: page
signal: p95 latency above 2500ms for 12 minutes with error budget burn 8x
runbook_ref:
uri: fixture://runbooks/checkout-api-latency
digest: sha256:7bbd657f2d41e65d9e6d38e37f722ba6efbc0f835ac815fb7649b25b182a18d4
sealed: true
escalation:
page_target: pagerduty:checkout-primary
incident_pr_target: github:runxhq/runx:incidents/checkout-api-latency
pr_review_note_body: "Escalate checkout-api latency: attach graph, rollback candidate, and current saturation metrics."
oncall_policy:
services:
- checkout-api
escalation_rules:
checkout-api:
page_target: pagerduty:checkout-primary
incident_pr_target: github:runxhq/runx:incidents/checkout-api-latency
allowed_actions:
- acknowledge
- escalate
operator_context: Keep live paging and incident PR creation in downstream governed lanes. This skill only emits the triage packet.
caller:
answers:
packet:
decision:
action: escalate
reason: The alert is page-severity, the service is declared in policy, and the sealed runbook binds page and incident PR targets.
triage_packet:
schema: runx.oncall.triage.v1
page_target: pagerduty:checkout-primary
incident_pr_target: github:runxhq/runx:incidents/checkout-api-latency
pr_review_note_body: "Escalate checkout-api latency: attach graph, rollback candidate, and current saturation metrics."
fix_bundle: null
escalation: human_oncall_required
evidence:
alert_id: alert-2026-07-01-checkout-latency
service: checkout-api
severity: page
signal: p95 latency above 2500ms for 12 minutes with error budget burn 8x
runbook_digest: sha256:7bbd657f2d41e65d9e6d38e37f722ba6efbc0f835ac815fb7649b25b182a18d4
policy_clause: checkout-api.escalation_rules
side_effects: none
refusal:
reason: null
expect:
status: sealed
receipt:
schema: runx.receipt.v1
operator_journeys:
- mode: standalone
confusors:
- issue-triage
- ops-desk
request: Triage this on-call alert against the runbook.
expected_outcome: Return a read-only decision and packet from the alert, runbook and policy.
- mode: composed
request: Continue this oncall-alert-triage work from evidence already gathered upstream.
expected_outcome: Return a read-only decision and packet from the alert, runbook and policy.
prior_evidence:
- The sealed alert data and runbook already supplied.
must_not_repeat:
- Do not page anyone or act on the alert.
- name: oncall-alert-triage-missing-runbook-needs-agent
runner: triage
inputs:
alert:
id: alert-2026-07-01-shadow-worker
service: shadow-worker
severity: page
signal: worker queue depth above threshold but no sealed runbook is available
runbook_ref:
uri: fixture://runbooks/shadow-worker-missing
sealed: false
oncall_policy:
services:
- checkout-api
escalation_rules:
checkout-api:
page_target: pagerduty:checkout-primary
incident_pr_target: github:runxhq/runx:incidents/checkout-api-latency
allowed_actions:
- acknowledge
- escalate
operator_context: Missing or unsealed runbooks must block packet emission and route to human approval.
expect:
status: needs_agent
receipt:
schema: runx.receipt.v1
Published package and test evidence.
The latest recorded test covers an earlier version, sha-7305ba8eb7a4. It does not establish a result for this version.
Test result
| Harness result | An earlier version was tested |
|---|---|
| Tested version | sha-7305ba8eb7a4Not this page’s version, sha-78dc10d6912d |
| Recorded result | 2 checks passed · 0 failed |
| Result source | Reported by the publisher (runx_registry_publish) |
| Suite | runx-harness |
| Test recorded | |
| Declared cases | 2 |
Package identity
| Published revision | sha-78dc10d6912d |
|---|---|
| Content digest | sha256:78dc10d6912d1b21617677a259052397e7d0bc32586bbcaf34f8f6a285758c01 |
| SKILL.md digest | sha256:ae3856f78431c5b8260a22639e1689a0400de63588805dddec75830e31d424e6 |
| Execution profile digest | sha256:3d95b191d16b6dad182b0d45e715943f548d4716e18ea711bc298ba3d879a812 |
| Publisher identity | Unverified publisher · guoyunfeng |
| Trust tier | CommunityPublished through the registry without publisher verification. This tier is not a code assessment. |
| Attestations |
|
| Source provenance | Not published with this version |
Version history
sha-7305ba8eb7a4Content digest sha256:7305ba8eb7a4432623a941a4b095c1abcc452895814bc5bb34b36496b8202861sha-c4cb7884d5d8Content digest sha256:c4cb7884d5d809968192b97505bda668bfaa49bb64653cff2792069623b71986sha-656ffe0e35f5Content digest sha256:656ffe0e35f5d17af31a2a92dc2b90c48370bbe146959de2e34ebc7c1087003dsha-78dc10d6912dViewingContent digest sha256:78dc10d6912d1b21617677a259052397e7d0bc32586bbcaf34f8f6a285758c01