Table of Contents generated with DocToc

TODO: <Project Name> — pr-management-triage configuration

This file is the per-project configuration for the pr-management-triage skill. It holds the concrete values for your adopter project.

Copy this file into your own <project-config>/pr-management-config.md and replace every <placeholder> with your project‘s value. The suggested label strings and grace-window defaults below are reasonable starting points — keep them as-is or override with your project’s existing conventions.

Identifiers

KeyValueUsed by
committers_team<github-org>/<committers-team-slug>classify-and-act.md row F5b — team-mention detection. Used to recognise PR comments that @-mention the project's committers as a maintainer-to-maintainer ping. Example: apache/airflow-committers.
area_label_prefixarea:classify-and-act.md, pr-management-stats — area-label grouping. Adjust to the prefix your project uses for area labels (e.g. comp:, module:), or leave blank if your project doesn't group PRs by area.

Project-specific labels

Labels the skill applies or watches for. Each row maps a generic framework concept to whatever label string the adopter uses. If the project doesn't have a given concept, leave the value blank and the skill will skip that row of decision-table actions.

The labels below are suggested defaults — readable English strings that work for most projects. Override with your project's existing label names if any are already in use.

ConceptSuggested labelNotes
ready_for_maintainer_reviewready for maintainer reviewApplied by the mark-ready action; used by pr-management-code-review as a default selector.
quality_violations_closeclosed because of multiple quality violationsApplied when a PR is closed for failing the project's PR quality criteria after multiple opportunities to fix.
suspicious_changessuspicious changes detectedApplied to first-time-contributor workflow approvals where the diff looks suspicious (binary blobs, unrelated CI changes, etc.).
work_in_progressLeave blank if your project doesn't use a dedicated WIP label (the skill relies on draft status instead); fill in the label name if your project does.

Grace windows

Tunable thresholds. The defaults below are sized for a project with ~50–100 open PRs and a triage sweep every 1–2 days. Scale them up for projects with lower contributor traffic — less frequent sweeps imply longer grace windows so the skill doesn‘t fire stale-action proposals on PRs the maintainer hasn’t had a chance to look at yet.

ConceptDefaultProject value
Stale-draft close threshold (triaged)7 days7 days
Stale-draft close threshold (untriaged)14 days14 days
Inactive-open → draft threshold28 days28 days
Stale-review-ping cooldown7 days7 days
Stale-workflow-approval threshold28 days28 days
Stale-Copilot-review threshold7 days7 days

Workflow choices

Some triage actions branch on a project-specific workflow preference rather than a quantitative threshold. Each key below picks one of the documented variants; leave at the default to use the standard variant.

KeyDefaultNotes
triage_feedback_channelpr-bodyWhere the deterministic quality-violation feedback for the draft, comment (deterministic-flag), and close actions is delivered. pr-body (default): the violations are folded into the PR description as a managed marker block — editing a PR body does not notify subscribers, so the maintainer mailbox stays quiet (the denoise rationale). comment: the legacy behaviour — the same feedback is posted as a PR comment, which notifies every subscriber. Pings, request-author-confirmation, security-language, suspicious-changes, and stale-sweep messages are unaffected by this key — their purpose is to notify a human, so they always post a comment. See actions.md and comment-templates.md#body-fold-rendering.
confirmation_handback_modereviewer-pingrequest-author-confirmation action's “If yes” branch. reviewer-ping: the author marks threads resolved and @-pings the reviewer for a final look + label. maintainer-sweep: the author replies with a short yes / ready and the next triage sweep promotes the PR to the maintainer review queue. Pick maintainer-sweep if your project runs a regular maintainer triage cadence and prefers a lightweight contributor confirmation over a reviewer-driven hand-back. See comment-templates.md#request-author-confirmation for both bodies.
session_history_gistenabledStep 6b — propose appending each session to a private GitHub gist on the maintainer's account. Set to disabled to skip Step 6b unconditionally for this project (overrides the per-invocation no-history flag). The local state file at .apache-magpie.session-state.json is read regardless so an existing gist remains discoverable. See session-history.md.