Apply triage action

From NVIDIA/OpenShell · View interactive version

Apply triage action is an AI agent skill from the GitHub repository NVIDIA/OpenShell. Apply, reject, or defer exactly one issue or CI recommendation from a local triage queue report. Use when the on-duty engineer explicitly supplies an item ID.

How to use this skill

Skill file

Apply Triage Action

Process exactly one item ID from a queue-review report. Do not accept a natural-language approval without an ID. PRs are informational in v1.

Locate and validate

  1. Read the checkpoint and action records under .agents/triage-duty/; reconcile dispositions using the local-state rules.
  2. Use the named report, or the latest report containing the ID. Read the recommendation and current disposition. Material changes to a previously selected recommendation require fresh review and selection.
  3. Reject missing, superseded, already-final, or ambiguous recommendations without making a write. Never substitute another item.
  4. Append every explicit disposition or attempted action to a dated local action record. Record repository, target, source report, ID, timestamp, disposition, reason, confirmed payload, and outcome; update the checkpoint afterward. Keep sensitive content out of the record; use private reason withheld for private reasons.

Reject or defer

For reject or defer, require the engineer to give a reason. Record the local disposition.

For shareable deferrals, draft a GitHub issue comment with reason, public links, and next step, or link existing waiting context. Use the confirmation rule below; declined posting leaves a local-only deferral. Keep private reasons out of external payloads and committable files. For missing reporter evidence, also propose the awaiting-information assessment state using triage-issue; unrelated dependency waits do not change lifecycle labels.

Apply

Before any external write, re-read the target and determine whether it materially changed. Follow Label Discovery, retrieving all pages of current definitions before proposing a label change; use CODE0 for assessment states and maintainer authority.

You MUST ALWAYS preview the exact payload, item ID, source report, and canonical target, then receive explicit confirmation for each individual external write. Selecting or deferring an item is not confirmation; comments, label changes, and closures require separate confirmations. Revalidate immediately before execution; changed payloads require a new preview and confirmation. Never reuse confirmation for a later invocation.

Use the CODE0 skill to apply and reconcile labels. Pass triage assessment outcomes through its assessment-only path when classification must stay unchanged.

Apply the confirmation rule above to every request in mutation_requests, including checkpoint bookkeeping. Pass the confirmed preview to apply --expected-preview.

After confirmation, perform only the approved action and record its outcome and public URL; mark applied only after verified success.

Supported v1 actions:

Never create a public GitHub issue for a security finding. Follow SECURITY.md.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.