Skip to content

chore(pstack): run the Gemini panel seat at gemini-4-neon-xhigh - #1284

Merged
poteto merged 1 commit into
mainfrom
pstack/gemini-neon-xhigh
Nov 19, 2026
Merged

poteto merged 1 commit into
mainfrom
pstack/gemini-neon-xhigh

Conversation

@poteto

@poteto poteto commented Nov 19, 2026

Copy link
Copy Markdown
Collaborator

Why

The Gemini seat in pstack's review and design panels ran on gemini-4-neon-high. In a blind comparison of the two levels, both caught every planted flaw, and gemini-4-neon-xhigh found more real problems nobody planted. It took about 50% longer per run. Panels are where pstack pays for depth, so the seat moves to xhigh.

What changed

  • arena, poteto-mode and setup-pstack list gemini-4-neon-xhigh as the Gemini panel default (arena runners, arena cross-judge pool, interrogate reviewers).
  • poteto-mode: a Gemini seat runs at gemini-4-neon-xhigh unless its line names another level.
  • setup-pstack: a saved gemini-4-neon-high panel entry, or a non-Neon gemini-4-* one, is an old default and becomes gemini-4-neon-xhigh. Other Neon levels a user picked stay. The slug note says Neon runs from low to xhigh with no max or fast slug, so the seat runs at its top slug.
  • setup-pstack budget step: a Gemini 4 Neon panel entry takes its own target, xhigh moved by the budget. Without this, the large budget would set it to the role's high target, and the next run would migrate it back.
  • The Claude Code harness doc follows. Version 0.15.45, harness tree regenerated.

Scope

  • The README names the panel as fable 5.2 / opus 5.5 / gemini 4 neon with no levels, so it stays as is.

Blast Radius

New setups and users with no rule get xhigh panel reviews, which run longer. A user whose rule saved gemini-4-neon-high moves to xhigh on their next /setup-pstack run.

Verification

  • node scripts/generate-pstack-harness-trees.mjs --check: up to date.
  • node scripts/check-pstack-docs.mjs: 0 problems. node scripts/validate-plugins.mjs: all valid.
  • node --test pstack/skills/*/scripts/test/*.test.ts on macOS: 269 pass, 70 skipped, 1 fail. The failure is the statechart symlink launcher test, which fails the same way on main on macOS.
  • gemini-4-neon-high remains in pstack/ only as the old value in the migration rule and as the medium budget result.

Panel defaults in arena, poteto-mode and setup-pstack move from
gemini-4-neon-high to gemini-4-neon-xhigh. setup-pstack treats a saved
gemini-4-neon-high panel entry as an old default and moves it to xhigh,
and gives a Gemini 4 Neon panel entry its own budget target so the
large budget keeps xhigh. The Claude Code harness doc follows.
Version 0.15.45, harness tree regenerated.
@poteto
poteto merged commit dd24b67 into main Nov 19, 2026
1 check passed
@poteto
poteto deleted the pstack/gemini-neon-xhigh branch November 19, 2026 21:53
caelaxie added a commit to pstack-ports/droid-pstack that referenced this pull request Nov 20, 2026
<!-- CURSOR_AGENT_PR_BODY_BEGIN -->
## Upstream

Ports pstack `0.15.46` from
[cursor/plugins@0b46ec399d55](cursor/plugins@0b46ec3),
three commits after the last ported pin
`2f87c854fe3e2fcda44ca86b46ede35aad3c46b7` (`0.15.43`).

- [cursor/plugins#1283](cursor/plugins#1283)
`e58dd0436005` chore(pstack): route the Gemini seat to Gemini 4 Neon
- [cursor/plugins#1284](cursor/plugins#1284)
`dd24b6707267` chore(pstack): run the Gemini panel seat at
gemini-4-neon-xhigh
- [cursor/plugins#1292](cursor/plugins#1292)
`0b46ec399d55` fix(pstack): run /statechart on native Windows and read
TLC's \r\n line ends

Version is `0.15.46` in `plugin.json`, `.factory-plugin/plugin.json`,
and the README header. Homepage and repository stay
`https://github.com/pstack-ports/droid-pstack`.

## What landed

- Statechart Windows and CRLF behavior from #1292, copied verbatim into
`skills/statechart/`:
- `SKILL.md` names the POSIX `scripts/statechart` launcher and the
native Windows `node --disable-warning=ExperimentalWarning` command
(Node 22.18 to 22.x, or Node 23.6 or later).
- `scripts/frontends/dot.ts` adds `splitLines` (split on `\r?\n`) and
`linesOf` uses it.
- New `scripts/janitor.ts` and `scripts/kill.ts`. Group kill no longer
goes through `/bin/sh`. `killGroup` uses `taskkill /t /f` on Windows and
`process.kill(-pid, "SIGKILL")` elsewhere.
- `scripts/statechart.ts` starts the janitor with the current Node
runtime, sets `TEMP` and `TMP` next to `TMPDIR`, and skips killing a
Windows process group after the worker has already exited (a reused pid
stays up).
- `scripts/run.ts` reads file and child output with `splitLines`, sets
`windowsHide` on TLC spawns, and passes `-Dstdout.encoding=UTF-8` and
`-Dstderr.encoding=UTF-8`.
- Tests replay the corpus and the FirstRule verdict with Windows line
ends (`scripts/test/cli.test.ts`, `scripts/test/messages.test.ts`).
- These script files matched upstream at `2f87c854` before this port, so
the new copies match upstream at `0b46ec399d55`.
`skills/statechart/scripts/package.json` keeps
`@droid-skill/statechart`.

## Left alone

- #1283 and #1284 only swap Cursor Gemini slugs (`gemini-4-carbon-high`
to `gemini-4-neon-xhigh`, and the README panel line from "gemini 4
carbon" to "gemini 4 neon") in arena, poteto-mode, setup-pstack, the
upstream README, and `docs/harness/claude-code.md`. This port has no
Gemini seat. `skills/arena/SKILL.md`, `skills/poteto-mode/SKILL.md`, and
`skills/setup-pstack/SKILL.md` already drop `gemini-*` entries and were
not overwritten. The README panel sentence stays "the default panel is
fable 5.2 / opus 5.5". None of those files named `gemini-4-carbon-high`
or "gemini 4 carbon", so the Neon migration paragraph was not copied.
- `docs/harness/claude-code.md` is not in this repo and was not added.
No `.cursor-plugin/` directory and no `.cursor/skills/` paths.

## Checks

`node scripts/validate-plugin.mjs` passed. `npm test` in
`skills/statechart/scripts` (`node --disable-warning=ExperimentalWarning
--test test/*.test.ts`): 374 tests, 304 pass, 0 fail, 70 skipped (the
skipped test needs `TLA2TOOLS`). The new Windows line-end cases passed,
including the FirstRule verdict replay.

<!-- CURSOR_AGENT_PR_BODY_END -->

<div><a
href="https://cursor.com/agents/bc-42c67aad-f622-5420-9d4a-fdd1161493b1?cursor_ref=pr_footer&cursor_cta=open_in_web"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://cursor.com/assets/images/open-in-web-dark.png"><source
media="(prefers-color-scheme: light)"
srcset="https://cursor.com/assets/images/open-in-web-light.png"><img
alt="Open in Web" width="114" height="28"
src="https://cursor.com/assets/images/open-in-web-dark.png"></picture></a>&nbsp;<a
href="https://cursor.com/background-agent?bcId=bc-42c67aad-f622-5420-9d4a-fdd1161493b1&cursor_ref=pr_footer&cursor_cta=open_in_cursor"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://cursor.com/assets/images/open-in-cursor-dark.png"><source
media="(prefers-color-scheme: light)"
srcset="https://cursor.com/assets/images/open-in-cursor-light.png"><img
alt="Open in Cursor" width="131" height="28"
src="https://cursor.com/assets/images/open-in-cursor-dark.png"></picture></a>&nbsp;</div>

Co-authored-by: Cursor Agent <[email protected]>
Co-authored-by: Kaitian Xie <[email protected]>
caelaxie added a commit to pstack-ports/agy-pstack that referenced this pull request Nov 20, 2026
…74)

<!-- CURSOR_AGENT_PR_BODY_BEGIN -->
## Summary

Ports upstream pstack `0.15.46` at
`0b46ec399d55f2829e88822998f53b84944837d3` into this Antigravity port.
The previous pin was `0.15.43` at
`2f87c854fe3e2fcda44ca86b46ede35aad3c46b7`.

Upstream pstack commits in range:

- [#1283](cursor/plugins#1283) and
[#1284](cursor/plugins#1284) retarget Cursor's
Gemini panel seat to `gemini-4-neon-xhigh`. Those Cursor slug changes
are not imported. This port maps setup-pstack, arena, poteto-mode, and
the README to Antigravity tiers (`pro`, `flash`, `flash_lite`,
`inherit`) and writes `~/.gemini/config/rules/pstack-models.md`. The
default panel stays pro / flash.
- [#1292](cursor/plugins#1292) is ported onto
the existing statechart files: `/statechart` runs on native Windows
(`janitor.ts`, `kill.ts`) and reads TLC output that uses `\r\n` line
ends. The statechart skill gains the upstream Windows Node invocation
sentence. Existing Antigravity wording stays.

`docs/harness/` is not added. deslop, control-cli, and control-ui are
untouched. Version bump is only in `.antigravity-plugin/plugin.json`
(`0.15.46`). README pins are `0.15.46` /
`0b46ec399d55f2829e88822998f53b84944837d3`.

## Harness proof

Head `b5acb4b9a8605aa7b69252bc1def75e049326ac7`.

Installed agy `1.5.13` from
`https://storage.googleapis.com/antigravity-public/antigravity-cli/1.5.13-5999302598852608/linux-x64/cli_linux_x64.tar.gz`.
Manifest version `1.5.13` matches. sha512:

```
014b37387703acab1f47cd532c8bb60167a6a3537b0f9891de03f1b1ffa9614307bc83c4b2f7551273b0877d722716b0cd9e26782f6b2a50705db4f05e18c68f  cli_linux_x64.tar.gz
```

`sha512sum -c` printed `OK`. `agy --version` printed `1.5.13`.

### main (`a96658a5fef674d26ba623124a51af61c3f91003`, plugin 0.15.43)

agy 1.5.13 already validates and installs 0.15.43. No compatibility fix.

```
$ agy plugin validate --strict .
Validating pstack (.antigravity-plugin/plugin.json)
  skills 61 · agents 2 · rules 1 · hooks 0 · mcpServers 0 · sidecars 0
✔ Validation passed

$ agy plugin install .
  [ok]    pstack
          ✔ skills      : 61 installed
          ✔ agents      : 2 installed (comment-sicko, poteto-agent)
          ✔ rules       : 1 installed (typescript-best-practices)

$ agy plugin list
- pstack (enabled, 0.15.43)
    Components: 61 skills, 2 agents, 1 rule
```

`agy plugin install https://github.com/pstack-ports/agy-pstack` and `agy
plugin install https://github.com/pstack-ports/agy-pstack/tree/main`
both installed enabled pstack 0.15.43. `agy plugin validate --strict` on
both URLs passed. `agy plugin install main` is rejected (`install target
must be a directory or <plugin>@<marketplace>`).

Shell syntax: `worktree-audit.sh` and `show-me-your-work/scripts/log.sh`
both `bash -n` clean. poteto-mode scripts: typecheck clean, 54 pass, 0
fail. statechart: 340 tests, 270 pass, 0 fail, 70 skipped (TLC corpus
runs skip without `TLA2TOOLS`).

### this branch

```
$ agy plugin validate --strict .
Validating pstack (.antigravity-plugin/plugin.json)
  skills 61 · agents 2 · rules 1 · hooks 0 · mcpServers 0 · sidecars 0
✔ Validation passed

$ agy plugin install .
  [ok]    pstack  (enabled, 0.15.46)
          ✔ skills      : 61 installed
          ✔ agents      : 2 installed (comment-sicko, poteto-agent)
          ✔ rules       : 1 installed (typescript-best-practices)

$ agy plugin install https://github.com/pstack-ports/agy-pstack/tree/cursor/port-pstack-0.15.46-c0f5
Cloning plugin from https://github.com/pstack-ports/agy-pstack.git...
  [ok]    pstack
          Installed to ~/.gemini/config/plugins/pstack

$ agy plugin list
- pstack (enabled, 0.15.46)
    Components: 61 skills, 2 agents, 1 rule

$ git -C "$AGY_HOME/.gemini/config/plugins/pstack" rev-parse HEAD
b5acb4b
```

Installed setup-pstack, arena, and poteto-mode still name
`~/.gemini/config/rules/pstack-models.md` and the pro / flash tiers.
They do not contain `gemini-4-neon`. The installed statechart skill
includes the Windows Node invocation sentence. README line 42 still says
the default panel is pro / flash.

poteto-mode scripts: 54 pass, 0 fail. statechart: 374 tests, 304 pass, 0
fail, 70 skipped (same TLC skip).

A live `agy --print` turn stopped at `Authentication required` (Google
login). This environment has no Antigravity account, so live skill
invocation was not run and is not counted as a pass.

<!-- CURSOR_AGENT_PR_BODY_END -->

<div><a
href="https://cursor.com/agents/bc-c284e11d-df02-56ed-a766-84d84aa3c0f5?cursor_ref=pr_footer&cursor_cta=open_in_web"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://cursor.com/assets/images/open-in-web-dark.png"><source
media="(prefers-color-scheme: light)"
srcset="https://cursor.com/assets/images/open-in-web-light.png"><img
alt="Open in Web" width="114" height="28"
src="https://cursor.com/assets/images/open-in-web-dark.png"></picture></a>&nbsp;<a
href="https://cursor.com/background-agent?bcId=bc-c284e11d-df02-56ed-a766-84d84aa3c0f5&cursor_ref=pr_footer&cursor_cta=open_in_cursor"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://cursor.com/assets/images/open-in-cursor-dark.png"><source
media="(prefers-color-scheme: light)"
srcset="https://cursor.com/assets/images/open-in-cursor-light.png"><img
alt="Open in Cursor" width="131" height="28"
src="https://cursor.com/assets/images/open-in-cursor-dark.png"></picture></a>&nbsp;</div>

Co-authored-by: Cursor Agent <[email protected]>
Co-authored-by: Kaitian Xie <[email protected]>
mstephenholl added a commit to mstephenholl/pstack-claude-codex that referenced this pull request Nov 20, 2026
Closes #48.

## Why

The fork is three pstack commits behind cursor/plugins. The daily sync
stopped on a `setup-pstack` conflict and opened #48. This is the manual
merge from `pstack/port/merge-upstream.py`, at cursor/plugins@aaeb0ea3.

## What changed

- **cursor#1283, cursor#1284.** `arena` and `poteto-mode` name `gemini-4-neon-xhigh`
as the default Gemini panel seat, in place of `gemini-4-carbon-high`.
- **cursor#1292.** `statechart` runs on native Windows and reads TLC's `\r\n`
line ends. It adds `janitor.ts`, `kill.ts`, and Windows line-end tests.
The scripts match upstream byte for byte.
- **`setup-pstack` conflict.** Keeps the port's version, which runs
`pstack configure`. Upstream's change migrates Gemini slugs in
`~/.cursor/rules/pstack-models.mdc`. Neither Codex nor Claude Code runs
Gemini, and `configure` never writes a Gemini entry.
- **`pstack-harness`.** Its Models section listed `gemini-4-carbon-high`
as a Cursor slug that skills name. After this merge no skill names it,
so the line names `gemini-4-neon-xhigh`.
- **Not ported.** #48 lists three Cursor-term lines in `arena` and
`poteto-mode`. They use `pstack-models.mdc` and `Task`, which the
harness already maps, and `check.py` confirms it. The new `Node 22.18`
line in `statechart` is already in the Requirements in
`pstack/README.md`.

## Blast radius

Skill text only, plus upstream's `statechart` scripts. No change to
`pstack configure`, `install.sh`, or `pstack-models.md`.

## Verification

- `check.py`: 0 problems, 0 warnings across 56 pstack skills and 3
team-kit skills.
- Port unit tests: 268 pass.
- `install_test.sh`: passes with bash 5.2, linking 59 skills and 2
agents.
- `statechart` tests, per file, under bun 1.4.2 with `node` linked to
bun and a 60-second timeout. The 34 tests this merge adds pass: 33
Windows line-end cases in `cli.test.ts` and 1 in `messages.test.ts`. The
same 11 tests fail before and after the merge. They need Node 22 or a
real TLC, and this machine has neither. Upstream's CI does not run these
tests.
- Smoke test: not run, for the reason in #39. It loads skills from the
installed release. After the release, run `pstack update`, then
`smoke.py --only arena,interrogate,poteto-mode`.
kaneyxx added a commit to kaneyxx/omc-pstack-fy that referenced this pull request Nov 23, 2026
pstack moves from v0.15.43 (e1cc031) to v0.15.46 (7a58391). The
vendored changes come from three upstream PRs.

- cursor/plugins#1283 moves the Gemini panel seat from
  `gemini-4-carbon-high` to `gemini-4-neon-high` (v0.15.44), and
  cursor/plugins#1284 moves it on to `gemini-4-neon-xhigh` (v0.15.45).
  The change touches `arena`, `poteto-mode`, `setup-pstack`, the
  README, and `docs/harness/claude-code.md`. The build skips that
  harness doc, so it never reaches `plugin/`.
- cursor/plugins#1292 makes `/statechart` run on native Windows. It
  kills the worker's process group without `/bin/sh`, through the new
  `kill.ts` and `janitor.ts`, and it reads TLC's `\r\n` line ends.

Decisions

- Five rule anchors in `50-core-skills.json` move to the new Gemini
  text. Each `replace` stays, because an Agent spawn runs no Gemini
  model and sonnet already holds that seat. The `why` of the "Match
  the model to the job" edit names upstream's new rule for the Gemini
  seat's level.
- The setup-pstack fork takes only the new hash. Upstream changed
  three things there, a Gemini migration, a Gemini budget rule, and
  the defaults table. The fork has no Gemini default, and it already
  keeps every external entry as the user's choice.
- `docs/claude-code-mapping.md` names the new upstream defaults and
  says why the Gemini migration and budget rule have no counterpart.

Verification

- `node tools/build.mjs` ends with `Cursor names left for native
  rewrites: 0`. In `plugin/`, `poteto-mode`, `arena`, and
  `setup-pstack` do not change. The README and guide page 7 change
  only their pinned commit links. The statechart skill takes
  upstream's fix.
- `node --test tests/*.test.mjs` passes 180 of 180.
- `node tools/sync.mjs --verify` and
  `node tools/build.mjs --check --skip-release-lock` pass.
- statechart's own suite, run with `npm test` in a scratch copy on
  macOS, passes 303 tests and skips 70 that need Java. One test, the
  launcher reached through a relative symlink, fails under the
  default `TMPDIR`. It fails the same way on v0.15.43. With `TMPDIR`
  set to the resolved path, all 304 pass, so the sync did not cause it.
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