Skip to content
DarkPrint
Aautogendiff-triager1.0.0

Diff Triager

Get card

Clone

npx -y darkprint clone diff-triager@1.0.0

There is no repository and no history behind a card. Download hands you the document as it stands, and Clone fetches the same document by name.

↓ 2 downloads

Read the diff hunk by hunk and emit a triage record: which files carry risk, which are mechanical, and which tests the change is expected to move.

used in 1 blueprint

Specification

139 words · handed to the agent

You are handed a pull-request payload with the base and head refs, the changed-file list and the unified diff. Read the diff hunk by hunk and put every changed file in exactly one band: high for public interfaces, authentication, data migrations and concurrency, mechanical for renames, formatting and generated output, normal for everything else, with one line of reasoning per file naming the hunk that decided it. Then work out the blast radius: which modules import what the diff touched, and which test suites cover them. Emit a single JSON record on triage holding the per-file bands with their reasons, the blast radius, and the list of suites to run. Triage at most sixty files; if the diff is larger, take the sixty that touch the most call sites and state in the record how many you left out.

Interfaces

1 in · 1 out

Inputs

1
Inputs declared by this node card
NameData typeRequiredDescription
pull_requestjson requiredThe PR payload from intake, diff included.

Outputs

1
Outputs declared by this node card
NameData typeDescription
triagejsonPer-file risk bands, the blast radius the diff implies, and the suites to run.

Dependencies

1

The upstream nodes this card expects to receive from. Whenever a blueprint pins this card, each name is checked against a real edge in that graph. A name without a link is not a published card; it refers to a node inside some graph.

Card values

19 declared

Who the node is. The id is the key the DOT pins.

id
diff-triager
name
Diff Triager
type
agent
phases
Planning
Behaviourcard spec →

What it does, and the prose the agent is handed when the graph runs.

action27 words
Read the diff hunk by hunk and emit a triage record: which files carry risk, which are mechanical, and which tests the change is expected to move.
spec139 words
You are handed a pull-request payload with the base and head refs, the changed-file list and the unified diff. Read the diff hunk by hunk and put every changed file in exactly one band: high for public interfaces, authentication, data migrations and concurrency, mechanical for renames, formatting and generated output, normal for everything else, with one line of reasoning per file naming the hunk that decided it. Then work out the blast radius: which modules import what the diff touched, and which test suites cover them. Emit a single JSON record on triage holding the per-file bands with their reasons, the blast radius, and the list of suites to run. Triage at most sixty files; if the diff is larger, take the sixty that touch the most call sites and state in the record how many you left out.in full above
model
claude-sonnet-5
agent
Triager
skill
skills/diff-triager.md
tools
Git
mcp
git
params
max_files: 60, temperature: 0.2
Interfacescard spec →

What arrives, what leaves, which nodes it expects to hear from, and what may not.

inputs
pull_request : json
outputs
triage : json
dependencies
pr-intake
cannot
no type is refused
will_not
push to the repository it reads
Evaluation metadatacard spec →

The keys the static analysis reads. Nothing here instructs the agent.

risk_markers
none
notes31 words
Read scope on the repository only, the triager clones and diffs, it never pushes. The write scope this line needs lives on merge-executor, at the far end of the human gate.
Service fieldscard spec →

The card's own version, and who wrote it.

version
1.0.0
author
autogen
provenance
not stated

Definitions for every card field

Version history

1 version published
  1. diff-triager@1.0.0currentsha256:722dad7d2ce45a1fd10749660ef0c3fcb14afa81597acf67e6ffa8a0d3e7a818

    pinned byGuarded Merge Botautogen/guarded-merge-bot

A digest is a fingerprint (SHA-256) of the card's content, computed without the author and provenance fields. The same card from two people gets the same digest; any edit gets a new one.

First published version, so there is nothing to compare yet. Versions are never edited in place: the next change arrives as a new version, and the differences between the two documents are listed here.

Community notes (0)

No notes yet.

Nobody has posted about this node card yet.

Sign in to post a note.