Repository navigation
feat(pm-dispatch): pm-dispatch-task action + prompt library, supersedes pm-dispatch-ci-fix (#2672) - #2692
Conversation
…upersede pm-dispatch-ci-fix (#2672)
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 15 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Part of #2672
Summary
Adds
.github/actions/pm-dispatch-task/— the task-level composite action (Drew's architecture update, 2026-10-30) with a bundled prompt library — and rewrites the dispatch README's "GitHub Actions (reusable)" section to describe all three actions.action.yml): inputstask(required, any string),repo,title,model,priority, overridesprompt/prompt-file/prompt-url, ci-fix context (workflow,run-id,run-url,branch,sha,pr),default-branch. Outputstask_id/session_id/issue_number/issue_urlvia a finalize step that also writes the step summary. Prompt resolution: prompt-file > prompt-url > prompt > libraryprompts/<task>.md; first non-empty wins, unknown task + no override fails withno library prompt for task '<task>'. No new HTTP/OIDC code — dispatch is conditionaluses:steps callingpm-dispatch-start@main/pm-dispatch-queue@main. No continue-on-error on dispatch steps.Scheduled <Task> — <repo>when no title given.ci-fix: <workflow> failing on <branch>, client-side exact filter), then attach via queuer (issue_number, kind ci_investigation) / starter on the default branch / queuer with issue=true elsewhere. Priority defaults high on the default branch, normal otherwise, when not given. Caller must provide GH_TOKEN with issues read (documented).bolt.mdandpalette.mdare the canonical Jules prompts with their HOUSE RULES block reworded for dispatched OpenCode sessions (laptop checkout, tracking issue + queue task already created — do not create another, no plan-approval step, PR per the target repo's conventions, merge only per house rules).suggestions.mdis new (verified findings only, one issue per finding, cap 5, filed/rejected/needs-a-human summary).ci-fix.mdis the placeholder template (root-cause fix, environmental/flake reporting instead of a forced change).Supersession
This PR deletes
.github/actions/pm-dispatch-ci-fix/and its README subsection (added in #2689). Drew's task-level architecture supersedes that standalone action before any caller existed; its dedupe/branch routing logic is carried over into ci-fix mode here (prompt now comes from the library template instead of being composed inline, and the failed PR input is namedpr).Validation
gh/curl(38 checks, all passing): library hit for bolt, prompt-file/prompt-url/inline overrides winning in order, unknown task failing with the exact error, ci-fix placeholder substitution with slash/colon/ampersand values, ci-fix three-way mode decision (attach / start / queue) driven by real resolve+dedupe outputs, dedupe exact-title filtering and GH_TOKEN guard, finalize output coalescing + summary. Theuses:steps cannot run locally and were inspected for wiring only.