Skip to content

docs: align Pullfrog modes with the console slots, tools and flags - #460

Merged
gitfromwildan merged 2 commits into
mainfrom
docs/pullfrog-modes-console
Nov 5, 2026
Merged

gitfromwildan merged 2 commits into
mainfrom
docs/pullfrog-modes-console

Conversation

@gitfromwildan

Copy link
Copy Markdown
Member

Summary

Aligns .github/pullfrog-modes.md with the Pullfrog docs (CLI configuration, PR reviews, Coding tasks, Issue enrichment, Flags, Tools, Security) and with what the console actually holds for this repository.

  • Shared context now lives in the standing instructions slot once; each mode block maps to its own key (prompts.review|build|plan|address-reviews|fix-ci, mention.instructions).
  • Stages use Pullfrog's MCP tools (checkout_pr, get_review_comments, reply_to_review_comment, resolve_review_thread, get_check_suite_logs, create_issue_comment, push_branch, create_pull_request) because the shell GH_TOKEN is read-only and the git token is never in the environment.
  • New Mentions router block. Resolve (SENTINEL) is opt-in via the --sentinel custom flag instead of issue.mode build.
  • Documents the pullfrog CLI (there is no pf binary), a block() helper to push a section to its slot, the settings the modes assume, built-in flags, and the custom flags to register in the console.
  • Blocks no longer reference the local-memory MCP or skill rule files; the runner only has the checkout.

Already applied to the console

Via npx pullfrog@latest config set: instructions, the five prompts.* keys, mention.instructions, push=restricted, hooks.setup (Bun + corepack + pnpm install --frozen-lockfile), review.approval-check=false. Custom flags and Include PRs opened by bots were set in the console UI.

Validation

  • Each stored value was read back with config get and matches the local block.
  • hooks.setup gets its first real test on this PR's review run.

No code or package changes; no changeset needed.

- Shared context moves to the standing `instructions` slot; each mode
  block maps to its `prompts.*` / `mention.instructions` key
- stages use Pullfrog's MCP tools (checkout_pr, push_branch,
  create_issue_comment, ...) since the shell GH_TOKEN is read-only
- new Mentions router block; Resolve is opt-in via the --sentinel flag
- document the `pullfrog` CLI, settings to register, built-in flags
  and the custom flags to add in the console
@vercel

vercel Bot commented Nov 5, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
docu Ignored Ignored Preview Nov 5, 2026 5:24am UTC

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ℹ️ No critical issues. One behavioral wording issue in the Plan block plus two factual slips in the CLI and settings docs.

Mode: standard (docs/config only, no package code). Overall: the slot mapping is sound. I ran the block() helper against the file and all eight blocks come out with the right boundaries. Every key in the Settings table appears in pullfrog config keys (CLI 0.1.115). Writing --senior / --memory inside inline code in the stored Review block doesn't trigger expansion either — this run received them as literal text. --deep and --fast aren't built-ins, so they do need to be registered as custom flags, as the PR says. Top 3 priorities: (1) Plan S4 posting route, (2) the pf binary claim, (3) the Access column for hooks.setup / mention.non-collaborators.

Reviewed changes

Initial review of the rewrite of .github/pullfrog-modes.md, the source text for the Pullfrog console slots.

  • Slot mapping — Shared context moves to the standing instructions slot, and each mode block maps to its own prompts.* / mention.instructions key.
  • MCP tool steps — the stage steps now name Pullfrog tools (checkout_pr, get_check_suite_logs, push_branch, create_pull_request, …) instead of writing through shell gh or git push.
  • Apply / Settings / Flags sections — adds the CLI usage, a block() extractor, the settings the modes rely on, the built-in flags and the custom flags to register.
  • Mentions router and opt-in Resolve — adds a new @pullfrog routing block. SENTINEL now runs when --sentinel is passed, not through issue.mode build.

Pullfrog  | Fix all ➔ | Fix 👍s ➔ | View workflow run | Using claude-opus-5-5 | 𝕏

Comment thread .github/pullfrog-modes.md Resolved
Comment thread .github/pullfrog-modes.md Resolved
Comment thread .github/pullfrog-modes.md Resolved
- Plan S4 posts through report_progress so the comment carries the
  Implement plan button instead of a second standalone comment
- the package installs a `pf` binary alongside `pullfrog`
- hooks.setup and mention.non-collaborators need repo write, not admin

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ No new issues found. All three points from the previous review are fixed.

Mode: standard (docs/config only). Overall: READY. f6400c4 applies each suggestion exactly as written, and the edits stay within the existing lines. Every ## <Name> / --- boundary is unchanged, so the block() extractor still produces the same eight slots. Plan S4 now routes through report_progress, which matches line 268's "plan comment … Implement plan button" framing. Top 3 priorities: none open.

Reviewed changes

Reviewed the follow-up commit f6400c4 against the prior review at ec8a575.

  • Plan S4 posting route — Changed S4 to post the plan through report_progress and to stop posting a separate create_issue_comment.
  • CLI binary fact — Corrected the CLI note: the pullfrog package installs both the pullfrog and pf binaries.
  • Settings access column — Changed the Access column for hooks.setup and mention.non-collaborators to write. This matches the line 27 statement that only push, shell, env-allowlist, signing and auto-merge need repo admin.

Pullfrog  | View workflow run | Using claude-opus-5-5 | 𝕏

@gitfromwildan
gitfromwildan merged commit b261410 into main Nov 5, 2026
15 checks passed
@gitfromwildan
gitfromwildan deleted the docs/pullfrog-modes-console branch November 5, 2026 05:29
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