Skip to content
DarkPrint
Aautogenpr-intake1.0.0

PR Intake

Get card

Clone

npx -y darkprint clone pr-intake@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.

↓ 1 downloads

Open a run for every pull request the repository webhook reports, packaging the diff, the base and head refs and the author's declared intent into one payload the rest of the line reads.

used in 1 blueprint

Specification

107 words · handed to the agent

A pull-request webhook event has just fired on the repository you watch. Accept it only when its action is opened, synchronize or ready_for_review, and drop it without emitting anything when the pull request is still a draft. For an accepted event, assemble one JSON payload on pull_request carrying the base ref, the head ref, the changed-file list with per-file diff stats, the unified diff itself, and the title and body the author wrote as their declared intent. You are done the moment that payload is emitted, do not read the repository beyond the two refs the event names, and do not form an opinion about the change.

Interfaces

0 in · 1 out

Inputs

0

No inputs declared, nothing upstream feeds this node.

Outputs

1
Outputs declared by this node card
NameData typeDescription
pull_requestjsonThe PR as the line sees it, refs, changed files, diff stats and the description.

Dependencies

0

None declared, no edge has to arrive for this node to run.

Card values

12 declared

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

id
pr-intake
name
PR Intake
type
tool
phases
none declared
Behaviourcard spec →

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

action33 words
Open a run for every pull request the repository webhook reports, packaging the diff, the base and head refs and the author's declared intent into one payload the rest of the line reads.
spec107 words
A pull-request webhook event has just fired on the repository you watch. Accept it only when its action is opened, synchronize or ready_for_review, and drop it without emitting anything when the pull request is still a draft. For an accepted event, assemble one JSON payload on pull_request carrying the base ref, the head ref, the changed-file list with per-file diff stats, the unified diff itself, and the title and body the author wrote as their declared intent. You are done the moment that payload is emitted, do not read the repository beyond the two refs the event names, and do not form an opinion about the change.in full above
model
whatever the graph supplies
agent
not named
skill
skills/pr-intake.md
tools
none
mcp
github
params
events: ["opened","synchronize","ready_for_review"], ignore_drafts: true
Interfacescard spec →

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

inputs
none
outputs
pull_request : json
dependencies
none
cannot
no type is refused
will_not
read the repository beyond the two refs the event names, form an opinion about the change
Evaluation metadatacard spec →

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

risk_markers
none
notes
none
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. pr-intake@1.0.0currentsha256:f0e9dbff790f1ac73baf4b148832a3c15a922183f5ed0e7d256075283fcf0471

    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.