Skip to content

Epic: AI Workflows — GitHub Actions automation for the issue/PR lifecycle #13160

Description

@mekarpeles

Summary

Track the migration of PAM's issue/PR automation from ad-hoc polling scripts (pam.py, run from ~/Projects/openlibrary-pam and ~/Projects/pm) to GitHub Actions triggered directly on repo events, using a Claude subscription token — the pattern first established for i18n (#13061). This is also the vehicle for replacing the code-review coverage lost when GitHub discontinued free Copilot credits for open-source maintainers.

Sub-initiatives

  • Issue Enricher feat(agentic): Richy issue enrichment via claude-code-action #13075
  • PR Auto-Responder — first-touch welcome comment on new contributor PRs, wait-time estimate, PR description completeness check. Logic already exists as a polling-based workflow (see pr-prereview.md in the pm PAM repo), currently run via pam.py prs; needs porting to a GH Action the same way issue enrichment was. feat(agentic): PR auto-responder via claude-code-action #13164
  • Code Review Action — an @openlibrary-bot-driven code review, triggered when staff request it as a PR reviewer or @-mention it directly in a PR comment (staff-only trigger, for security). Should post inline suggestion-style comments on specific code blocks/lines, similar to Copilot's review UX. On re-trigger, should review only the diff since its last pass, not the whole PR again. Needs research into how Copilot structures its inline review comments before design starts.
  • Issue Follower — fires whenever an issue receives a new comment from a non-openlibrary-bot actor. Fine to ship as a no-op initially; the eventual goal is correct re-labeling (e.g. clearing Needs: Response once a lead replies).

Related / prior art

Cross-cutting rule

Every action under this epic must explicitly ignore actions taken by openlibrary-bot itself (its own comments/edits) to avoid feedback loops.

Metadata

Metadata

Assignees

Labels

Needs: BreakdownThis big issue needs a checklist or subissues to describe a breakdown of work. [managed]Needs: InvestigationThis issue/PR needs a root-cause analysis to determine a solution. [managed]Needs: LeadNeeds: TriageThis issue needs triage. The team needs to decide who should own it, what to do, by when. [managed]Theme: BotsIssues relating to Bots & data cleanupType: EpicA feature or refactor that is big enough to require subissues. [managed]

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions