pr-shepherd 2.2.6 → 2.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/plugin.json +1 -1
- package/bin/classify/standard/claude-notices.d.mts +9 -0
- package/bin/classify/standard/claude-notices.mjs +26 -0
- package/bin/classify/standard/index.mjs +2 -0
- package/bin/cli/iterate-instructions.mjs +3 -0
- package/bin/cli/iterate-lean.mjs +1 -0
- package/bin/cli/list-formatters.d.mts +3 -1
- package/bin/cli/list-formatters.mjs +7 -4
- package/bin/cli/runner.mjs +4 -2
- package/bin/cli/stack-layer-view.d.mts +5 -0
- package/bin/cli/stack-layer-view.mjs +11 -1
- package/bin/cli/stack-overview.d.mts +3 -1
- package/bin/cli/stack-overview.mjs +7 -8
- package/bin/cli/transport-formatter.d.mts +4 -0
- package/bin/cli/transport-formatter.mjs +13 -1
- package/bin/commands/apply-merge-resume.d.mts +22 -0
- package/bin/commands/apply-merge-resume.mjs +56 -0
- package/bin/commands/apply-merge.mjs +11 -19
- package/bin/commands/check-terminal-report.mjs +2 -0
- package/bin/commands/check.mjs +7 -4
- package/bin/commands/iterate/base.mjs +1 -0
- package/bin/commands/iterate/check-follow-up.mjs +1 -1
- package/bin/commands/iterate/helpers.mjs +1 -0
- package/bin/commands/iterate/index.mjs +4 -4
- package/bin/commands/iterate/merge-plan.d.mts +4 -0
- package/bin/commands/iterate/merge-plan.mjs +18 -0
- package/bin/commands/iterate/merge-state.mjs +2 -0
- package/bin/commands/iterate/report-gaps.d.mts +6 -0
- package/bin/commands/iterate/report-gaps.mjs +5 -0
- package/bin/commands/poll-summary.mjs +10 -1
- package/bin/commands/review-commit.d.mts +2 -2
- package/bin/commands/review-commit.mjs +11 -4
- package/bin/commands/stack-merge-plan.mjs +5 -3
- package/bin/commands/stack-merge-trunk-check.d.mts +12 -0
- package/bin/commands/stack-merge-trunk-check.mjs +26 -0
- package/bin/commands/stack-trunk-behind.d.mts +9 -0
- package/bin/commands/stack-trunk-behind.mjs +51 -0
- package/bin/config/merge-method.d.mts +2 -0
- package/bin/config/merge-method.mjs +17 -0
- package/bin/github/batch-parsers.mjs +9 -0
- package/bin/github/batch-raw-types.d.mts +8 -0
- package/bin/github/gql/batch-pr.gql +8 -0
- package/bin/github/poll-summary-readiness.mjs +2 -1
- package/bin/github/poll-summary-route.mjs +2 -1
- package/bin/github/rest-merge.d.mts +10 -0
- package/bin/github/rest-merge.mjs +26 -0
- package/bin/github/transport-evidence.d.mts +13 -2
- package/bin/github/transport-evidence.mjs +21 -3
- package/bin/github/transport.d.mts +7 -0
- package/bin/github/transport.mjs +26 -0
- package/bin/state/merge-request.d.mts +6 -0
- package/bin/state/merge-request.mjs +9 -1
- package/bin/types/github.d.mts +2 -0
- package/bin/types/iterate.d.mts +2 -0
- package/bin/types/merge-action.d.mts +6 -0
- package/bin/types/poll-summary.d.mts +6 -0
- package/bin/types/report.d.mts +2 -0
- package/package.json +1 -1
- package/plugins/pr-shepherd/.claude-plugin/plugin.json +1 -1
- package/plugins/pr-shepherd/.codex-plugin/plugin.json +1 -1
- package/plugins/pr-shepherd/skills/pr-shepherd/SKILL.md +1 -1
- package/plugins/pr-shepherd/skills/pr-shepherd/references/check-follow-up.md +1 -1
- package/plugins/pr-shepherd/skills/pr-shepherd/references/ci-start-stall.md +1 -1
- package/plugins/pr-shepherd/skills/pr-shepherd/references/required-checks-unreported.md +1 -1
- package/plugins/pr-shepherd/skills/setup-pr-shepherd/references/classifiers.md +1 -1
- package/pr-shepherd.schema.json +1 -0
|
@@ -12,4 +12,4 @@ Then act on what you found:
|
|
|
12
12
|
|
|
13
13
|
1. If the cause is within this PR (a `runs-on` label that matches no runner, a workflow change that breaks scheduling, a wrong base), fix it and push.
|
|
14
14
|
2. If a run is only waiting on an approval you can legitimately grant, grant it. An approval that needs a human reviewer is not yours to grant.
|
|
15
|
-
3. Otherwise make no change and keep what you found. Runner capacity, billing, repository settings, and GitHub incidents are human decisions. If the same checks are still not started on the next poll, Shepherd escalates with `stall-timeout`; report your diagnosis then.
|
|
15
|
+
3. Otherwise investigate first. If you are still unsure of the cause, or it is outside this PR, make no change and keep what you found. Runner capacity, billing, repository settings, and GitHub incidents are human decisions. If the same checks are still not started on the next poll, Shepherd escalates with `stall-timeout`; report your diagnosis then.
|
|
@@ -13,4 +13,4 @@ Then act on what you found:
|
|
|
13
13
|
|
|
14
14
|
1. If the cause is within this PR (wrong base or stack parent, a changed file that breaks the workflow, configuration the PR should carry), fix it and push.
|
|
15
15
|
2. If the workflows should have run and the PR is fine, run the printed close and reopen commands once for this head. Do not close it again.
|
|
16
|
-
3. Otherwise make no change and keep what you found. Changing CI configuration, repository settings, or branch rules is a human decision. If the checks are still missing on the next poll, Shepherd escalates with `required-checks-unreported`; report your diagnosis then.
|
|
16
|
+
3. Otherwise investigate first. If you are still unsure of the cause, or it is outside this PR, make no change and keep what you found. Changing CI configuration, repository settings, or branch rules is a human decision. If the checks are still missing on the next poll, Shepherd escalates with `required-checks-unreported`; report your diagnosis then.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Use a classification rule when the unwanted item has a recognizable author and message pattern. Inspect a representative item first so the rule does not hide other feedback from the same bot. Prefer an existing settings control for polling- or output-wide behavior.
|
|
4
4
|
|
|
5
|
-
Check the bundled rules first. Under `classify.standard` in the active config file, `all: true` enables every rule, and a named boolean such as `codecov-report: false` overrides `all`. They cover vendor bot notices on conversation comments only: `coderabbit-notices`, `codecov-report`, `codex-notices`, `dependabot-notices`, `dependency-review-no-issues`, `gemini-notices`, `kilo-no-issues`, `snyk-no-issues`, `socket-reports`, `sonarqube-gate-passed`, and `sourcery-notices`. They do not match review summaries or inline review comments. Write a custom rule only when no bundled rule fits. If a name here is rejected as unknown, this list is stale for the installed version; trust the error.
|
|
5
|
+
Check the bundled rules first. Under `classify.standard` in the active config file, `all: true` enables every rule, and a named boolean such as `codecov-report: false` overrides `all`. They cover vendor bot notices on conversation comments only: `claude-notices`, `coderabbit-notices`, `codecov-report`, `codex-notices`, `dependabot-notices`, `dependency-review-no-issues`, `gemini-notices`, `kilo-no-issues`, `snyk-no-issues`, `socket-reports`, `sonarqube-gate-passed`, and `sourcery-notices`. They do not match review summaries or inline review comments. Write a custom rule only when no bundled rule fits. If a name here is rejected as unknown, this list is stale for the installed version; trust the error.
|
|
6
6
|
|
|
7
7
|
Place an `.mjs` file in `.pr-shepherd/classification/` in the project. Shepherd uses the first classification directory on the working directory's ancestor chain; it stops at the home directory if reached, otherwise at the filesystem root. A home-level rule directory is not discovered when the project is outside the home tree. Rule directories do not merge. Files ending in `.ts`, `.mts`, `.mjs`, or `.js` load, except names beginning with `_` or `.`. Prefer `.mjs`; an `.mts` rule also works if it uses only erasable TypeScript syntax.
|
|
8
8
|
|