open-pstack 0.9.150 → 0.9.151
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/package.json +1 -1
- package/plugin/.antigravity-plugin/plugin.json +1 -1
- package/plugin/.claude-plugin/plugin.json +1 -1
- package/plugin/.codex-plugin/plugin.json +1 -1
- package/plugin/.github/plugin/plugin.json +1 -1
- package/plugin/.grok-plugin/plugin.json +1 -1
- package/plugin/.muse-plugin/plugin.json +1 -1
- package/plugin/package.json +1 -1
- package/plugin/skills/fix-ci/SKILL.md +1 -0
- package/plugin/skills/poteto-mode/playbooks/shipping.md +2 -0
- package/plugin/skills/poteto-mode/references/cloud-session-pr-reads.md +10 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "open-pstack",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.151",
|
|
4
4
|
"description": "Install pstack into the agent harnesses on this machine: Claude Code, Codex, Pi, Copilot, Muse, OMP, Kimi, Grok, MiniMax, OpenCode, Antigravity, and the shared skills directory.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pstack",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.151",
|
|
4
4
|
"description": "If you want to go fast, go deep first. pstack helps you write less, but higher quality code. rigorous agent workflows you can parallelize with confidence. Ported from cursor/plugins/pstack to Antigravity. Original pstack by Lauren Tan (poteto).",
|
|
5
5
|
"author": "Michael Denyer",
|
|
6
6
|
"logo": "assets/pstack-icon.png",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pstack",
|
|
3
3
|
"displayName": "pstack (Claude Code port)",
|
|
4
|
-
"version": "0.9.
|
|
4
|
+
"version": "0.9.151",
|
|
5
5
|
"description": "If you want to go fast, go deep first. pstack helps you write less, but higher quality code. rigorous agent workflows you can parallelize with confidence. Ported from cursor/plugins/pstack to Claude Code. Original pstack by Lauren Tan (poteto).",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Michael Denyer",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pstack",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.151",
|
|
4
4
|
"description": "If you want to go fast, go deep first. pstack helps you write less, but higher quality code. rigorous agent workflows you can parallelize with confidence. Codex port of the Claude Code plugin; skills are shared, tool names resolve via skills/poteto-mode/references/codex-tools.md. Original pstack by Lauren Tan (poteto).",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Michael Denyer",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pstack",
|
|
3
3
|
"displayName": "pstack (GitHub Copilot port)",
|
|
4
|
-
"version": "0.9.
|
|
4
|
+
"version": "0.9.151",
|
|
5
5
|
"description": "If you want to go fast, go deep first. pstack helps you write less, but higher quality code. rigorous agent workflows you can parallelize with confidence. Ported from cursor/plugins/pstack to GitHub Copilot CLI and app. Original pstack by Lauren Tan (poteto).",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Michael Denyer",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"schemaVersion": 1,
|
|
3
3
|
"name": "pstack",
|
|
4
4
|
"displayName": "pstack (Muse port)",
|
|
5
|
-
"version": "0.9.
|
|
5
|
+
"version": "0.9.151",
|
|
6
6
|
"description": "If you want to go fast, go deep first. pstack helps you write less, but higher quality code. Rigorous agent workflows you can parallelize with confidence. Muse port of the Claude Code plugin; skills are shared, tool names resolve via skills/poteto-mode/references/muse-tools.md. Original pstack by Lauren Tan (poteto).",
|
|
7
7
|
"compat": {
|
|
8
8
|
"source": "native",
|
package/plugin/package.json
CHANGED
|
@@ -21,6 +21,7 @@ Branch or PR CI is failing and needs a fast, iterative path to green checks.
|
|
|
21
21
|
- Fix one actionable failure at a time.
|
|
22
22
|
- Prefer minimal, low-risk changes before broader refactors.
|
|
23
23
|
- Keep `gh pr checks` as the source of truth for overall PR CI state.
|
|
24
|
+
- When `gh pr checks` fails with a GraphQL refusal, as in a Claude Code cloud session, read the check runs and commit statuses on the PR's head with the REST commands in [Reading a PR from a Claude Code cloud session](../poteto-mode/references/cloud-session-pr-reads.md), and treat the two together as the source of truth there.
|
|
24
25
|
|
|
25
26
|
## Output
|
|
26
27
|
|
|
@@ -4,6 +4,8 @@ Resolve the driver skill through [poteto-mode's Non-negotiables](../SKILL.md#non
|
|
|
4
4
|
|
|
5
5
|
**You own what lands. Verify each PR independently, land only the verified run from the root, then keep your hands off the stack.** Landing needs the user's landing authority, and each landing is confirmed before the next starts.
|
|
6
6
|
|
|
7
|
+
When GitHub refuses GraphQL, as in a Claude Code cloud session where the watcher exits 7 with `graphql-refused` and `ship-pr inspect` reports `unavailable`, nothing lands. Stop at merge-ready, report the limit, and read PR state with the REST commands in [Reading a PR from a Claude Code cloud session](../references/cloud-session-pr-reads.md).
|
|
8
|
+
|
|
7
9
|
1. **Resolve the forge, then verify each PR independently before it lands.** GitHub CLI (`gh`) is the default. If `command -v origin` succeeds and Origin can resolve the repository, use `origin pr` for every PR operation. Otherwise stay on `gh` and record the fallback. Never require Graphite (`gt`). Capture the affected chain bottom-to-top, each head branch and SHA, base branch and SHA, and the intended destination repository and branch, and leave unrelated PRs alone. Read [Merge and restack safety](../references/merge-safety.md) before merging, arming, rebasing, or retargeting. Inspect pending merge requests on entry, and cancel and read back any that lack the verification gates in step 4 before a lengthy review. One verifier per PR, each a subagent in its own worktree, runs the change the way a user would through the driver skill, parent against head, and posts `PASS`, `PASS+NOTES`, or `FAIL` on that PR. Only a verdict from an agent that did not write the code counts, because an author checks what it meant to build. Green CI and an approving bot review are not verdicts, because neither runs the change as a user would. Record each verdict's head SHA, base SHA, base branch, and stable `git patch-id` of the base-to-head diff.
|
|
8
10
|
2. **Land only the contiguous verified run rooted at the bottom.** Walk up from the lowest unmerged PR and stop at the first one without `PASS` or `PASS+NOTES`. The PRs below it are the run, and the top one is the ceiling. A verified PR above an unverified one waits, because it cannot land without the code below it. One whose branch neither holds nor needs that code can move onto trunk and land on its own. It needs a fresh verdict first, because its old one ran with that code beneath it and trunk does not have it.
|
|
9
11
|
3. **Re-check that the verdicts still describe the code.** A verdict covers a patch, and a chain rebase moves every PR above it to a new SHA without failing any check. Compare `git patch-id` at the verdict SHA with the current head before trusting an older verdict. When the patches differ only in tests, docs, or lint config, a lane's result stands if what it ran builds the same at both SHAs apart from noise. Noise is a difference that also shows up between two builds of the verdict SHA, or an embedded commit SHA. Report each kind of noise with its files, so a reader can check the call. The change itself still gets fresh checks and a review, because the old verdict never saw it. A lane with no build output, such as a dev server, cannot show this, so rerun it, and re-verify anything else that drifted. A matching patch-id keeps a review only after you check that it applies to the new destination and dependencies, so re-verify changed behavior or uncertain applicability, and rerun checks and mergeability after every rewrite or retarget.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# Reading a PR from a Claude Code cloud session
|
|
2
2
|
|
|
3
|
-
A Claude Code cloud session's GitHub proxy refuses GraphQL with HTTP 403. `watch-pr` then exits 7 with a `graphql-refused` failure, and `gh pr view`, `gh pr list`, and `gh pr
|
|
3
|
+
A Claude Code cloud session's GitHub proxy refuses GraphQL with HTTP 403. `watch-pr` then exits 7 with a `graphql-refused` failure, `ship-pr inspect` reports `unavailable`, and `gh pr view`, `gh pr list`, `gh pr checks`, and `gh pr merge` fail with the same refusal. The proxy still serves REST for the repositories attached to the session. Use the reads below there, and nowhere else. Where GraphQL works, the watcher stays the source of PR status.
|
|
4
4
|
|
|
5
5
|
## REST reads
|
|
6
6
|
|
|
7
|
-
Each command was run in a cloud session
|
|
7
|
+
Each command was run in a cloud session with `gh` 2.89.0, most recently on 2026-11-23.
|
|
8
8
|
|
|
9
9
|
| Fact | Command |
|
|
10
10
|
| ----------------------------------- | ----------------------------------------------------------------------------------------------- |
|
|
@@ -14,16 +14,23 @@ Each command was run in a cloud session on 2026-11-21 with `gh` 2.89.0.
|
|
|
14
14
|
| Commit statuses on the head | `gh api "repos/<owner>/<repo>/commits/<head-sha>/status"` |
|
|
15
15
|
| Check suites on the head | `gh api --paginate --slurp "repos/<owner>/<repo>/commits/<head-sha>/check-suites?per_page=100"` |
|
|
16
16
|
| Actions runs on the head | `gh api "repos/<owner>/<repo>/actions/runs?head_sha=<head-sha>"` |
|
|
17
|
+
| Jobs and steps of an Actions run | `gh api "repos/<owner>/<repo>/actions/runs/<run-id>/jobs"` |
|
|
18
|
+
| Log of one Actions job | `gh api "repos/<owner>/<repo>/actions/jobs/<job-id>/logs"` |
|
|
19
|
+
| Summary of an Actions run | `gh run view <run-id>` |
|
|
20
|
+
| Log of an Actions run | `gh run view <run-id> --log` |
|
|
21
|
+
| Recent Actions runs | `gh run list` |
|
|
17
22
|
| Reviews | `gh api "repos/<owner>/<repo>/pulls/<pr>/reviews"` |
|
|
18
23
|
| Review comments | `gh api "repos/<owner>/<repo>/pulls/<pr>/comments"` |
|
|
19
24
|
| Review threads and their resolution | `gh api "repos/<owner>/<repo>/pulls/<pr>/ccr/review_threads"` |
|
|
20
25
|
|
|
21
26
|
Read `head.sha`, `draft`, `mergeable`, and `mergeable_state` from the first command. `mergeable` is `null` until GitHub computes it, so read again before you trust it.
|
|
22
27
|
|
|
28
|
+
`gh pr checks` lists both check runs and commit statuses, so read both. A check run is pending until its `status` is `completed`. Its `conclusion` then gives the result: `success` passes; `failure`, `timed_out`, and `action_required` fail; `cancelled`, `skipped`, and `neutral` neither pass nor fail. A commit status carries its result in `state`: `success`, `failure` or `error`, or `pending`. For an Actions check, `details_url` ends in `actions/runs/<run-id>/job/<job-id>`. GitHub answers a log read with HTTP 410 once the log has expired.
|
|
29
|
+
|
|
23
30
|
`ccr/review_threads` is a route of the cloud session's proxy, not of GitHub's REST API. It returns one object for each thread, with `resolved`, `outdated`, `path`, `line`, and `comment_ids`. Match `comment_ids` to the review comments to read a thread's text.
|
|
24
31
|
|
|
25
32
|
## Limits
|
|
26
33
|
|
|
27
34
|
- These reads are single snapshots. Nothing here replaces the watcher's rereads, its merge gates, or its check for a head that moved between reads. Reread the PR's head after the other reads, and start again when it changed.
|
|
28
|
-
-
|
|
35
|
+
- Shipping and the merge-safety operations cannot run in a cloud session, because `ship-pr` and `gh pr merge` need GraphQL.
|
|
29
36
|
- A repository the session has not attached answers every REST read with HTTP 403.
|