Skip to content

Write PR review guides and read thread PRs from t3_thread_list - #36

Merged
pmwoz merged 2 commits into
mainfrom
adapter/pr-guides-and-thread-prs
Oct 20, 2026
Merged

pmwoz merged 2 commits into
mainfrom
adapter/pr-guides-and-thread-prs

Conversation

@pmwoz

@pmwoz pmwoz commented Oct 20, 2026 •

Copy link
Copy Markdown
Owner

Adopts two opportunities that earlier contract PRs listed but nobody adopted: review guides from #7 and pullRequests in t3_thread_list from #32. All edits are in skills/poteto-mode/references/t3-adapter.md.

Changes

  • Review guides (write_pull_request_guides, read_pull_request_guide). A new "Review guides" bullet under "Pull requests, watching, and loops": when the root hands PRs to the user for review or merge, it reads each guide. Then it calls write_pull_request_guides once for every PR whose guide is missing or stale. It does not wait for the runs. A PR whose outcome is failed gets no guide, and the reply gives the detail. The bullet passes PRs as repository and number. On the installed T3, read_pull_request_guide with the PR url failed with "No project in this environment is a checkout of pmwoz/t3-pstack". The same PR as repository and number returned its guide state.
  • pullRequests in t3_thread_list. "Listing worktrees" and "A Cursor restart" now say that t3_thread_list returns each thread's linked PRs and their state. The worktree audit needs no list_thread_pull_requests call per thread.

Scope

The opportunities runtimeModes (#5) and t3_workflow_stop (#5) stay out. Every provider that can run a child task allows every runtime mode, and no skill starts a Claude workflow. The Shipping playbook is unchanged because the agent merges there itself and no person reads a guide.

Version

0.9.2 to 0.9.3 (patch, because the adapter changed).

Checks

  • bun run check: 234 plugin files, 13 drift entries, upstream 0.15.29 @ 88d4751, T3 @ b232fa9
  • bun test tools: 37 pass
  • bun run typecheck: pass
  • write_pull_request_guides for this PR returned outcome: "failed" with "Review guides are off. Turn them on in Settings → Source Control." The call itself succeeds, so the bullet handles the per-PR outcome, not a tool error. A written guide was not observed.

@pmwoz
pmwoz merged commit 6686eb9 into main Oct 20, 2026
1 check passed
@pmwoz
pmwoz deleted the adapter/pr-guides-and-thread-prs branch November 1, 2026 01:50
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