Skip to content

ci(pi): answer @pi mentions and triage new issues - #2416

Merged
Tioit-Wang merged 6 commits into
mainfrom
ci/pi-issue-automation
Nov 18, 2026
Merged

Tioit-Wang merged 6 commits into
mainfrom
ci/pi-issue-automation

Conversation

@Tioit-Wang

@Tioit-Wang Tioit-Wang commented Nov 18, 2026 •

Copy link
Copy Markdown
Collaborator

What

Adds the @pi issue automation to this repository:

File Role
.github/workflows/pi.yml answers @pi mentions from people with write access
.github/workflows/pi-triage.yml labels a newly opened issue, links duplicates
.github/pi-triage.yml label vocabulary and comment templates
docs/spec/06-delivery/03-ai-development-workflow.md new section 9 documenting the above

Both workflows call Tioit-Wang/pi-agent-action@v1, pinned by the version tag as
agreed, so an action release reaches this repository without a commit here.

Behaviour

  • @pi mentions — only accounts with write access trigger a run; anyone
    else is ignored silently (no comment, no red X). Analysis is read-only:
    allowed_tools: read,grep,find,ls, no turn budget, timeout-minutes is the
    only bound. The tracking comment reports progress while it works and ends with
    a collapsed run footer (duration, turns, tokens, estimated cost).
  • Triage — on issues: opened the agent picks a type and a priority from
    this repository's own vocabulary and, when a duplicate is found, comments on
    both issues with a hidden marker so a re-run is idempotent. It never closes
    anything, and it posts no comment when the issue is not a duplicate.

Labels

Created on this repository ahead of the PR: performance, security,
needs-info, P0–P3. Everything else the config mentions (bug,
enhancement, documentation, question, duplicate) already existed.
The issuebot:* labels are untouched and unused by this automation.

Before this can run

The API_KEY repository secret still has to be added — that needs admin
access, so it is not part of this PR.

Verification

gh workflow run pi-triage.yml -R vastsa/PI-Desktop -f issue_number=<existing issue>

runs the pipeline against an existing issue without publishing a test one. The
same pipeline already ran on the fork: it labelled 20 real issues with a type and
a priority, and linked a duplicate in both directions.

Note on contribution type

This is a ci change. The temporary outside-contribution restriction in
AGENTS.md applies to contributors without write access; this branch is pushed
directly to the repository, so it is not an outside contribution.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying pi-desktop with  Cloudflare Pages  Cloudflare Pages

Latest commit: 9c61f45
Status: ✅  Deploy successful!
Preview URL: https://dca92a7b.pi-desktop.pages.dev
Branch Preview URL: https://ci-pi-issue-automation.pi-desktop.pages.dev

View logs

@Tioit-Wang
Tioit-Wang merged commit 106fab9 into main Nov 18, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant