Skip to content

Restore multi-phase-plan path sentences - #42

Merged
caelaxie merged 1 commit into
mainfrom
cursor/restore-plan-paths-f891
Nov 9, 2026
Merged

caelaxie merged 1 commit into
mainfrom
cursor/restore-plan-paths-f891

Conversation

@caelaxie

@caelaxie caelaxie commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

Closes #39

Restore the four upstream pstack/skills/... sentences in multi-phase-plan. The Codex adapter already maps those paths, including shell commands and generated plans, and it already covers the host concurrency limit.

Main c1ab910 already omits from cursor-team-kit. This diff leaves that phrase out. The worktree boot recipe stays, because Codex has no cloud VM.

Open in Web Open in Cursor 

The installed-path placeholders repeat the Codex adapter mapping.
Put the four upstream pstack/skills sentences back.

Co-authored-by: Kaitian Xie <caelaxie@users.noreply.github.com>

@caelaxie caelaxie left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

passes. diff restores the four upstream pstack/skills/... sentences verbatim, exactly #39's smallest fix; no cursor-team-kit mention left in the file; layout fine; install CI (codex marketplace add + plugin add + installed-skill check) green on 86282ce; Closes #39. squash-merging.

@caelaxie
caelaxie merged commit 2c873a4 into main Nov 9, 2026
1 check passed
@cursor

cursor Bot commented Nov 9, 2026

Copy link
Copy Markdown

Harness proof for 86282cee72cc46c57071ab421ae75dfa99e61b3c. npm @openai/codex 0.167.0. codex --version prints codex-cli 0.167.0. codex login status exits 1 with Not logged in.

Fresh CODEX_HOME=/tmp/pstack-plan-paths-s8rejava. Plugin commands print the /tmp PATH-alias warning and then succeed.

$ codex plugin marketplace add /tmp/codex-pstack-plan-paths --json
{
  "marketplaceName": "codex-pstack",
  "installedRoot": "/tmp/codex-pstack-plan-paths",
  "alreadyAdded": false
}

$ codex plugin add pstack@codex-pstack --json
{
  "pluginId": "pstack@codex-pstack",
  "name": "pstack",
  "marketplaceName": "codex-pstack",
  "version": "0.15.36",
  "installedPath": "/tmp/pstack-plan-paths-s8rejava/plugins/cache/codex-pstack/pstack/0.15.36",
  "authPolicy": "ON_INSTALL"
}

Required skills present (poteto-mode, setup-pstack, deslop, control-cli, control-ui). Installed skill count is 61. 597 files under .agents/ match the installed copy byte for byte.

Installed .agents/skills/poteto-mode/playbooks/multi-phase-plan.md contains the four upstream sentences: node pstack/skills/poteto-mode/scripts/check-plan.mjs, pstack/skills/poteto-mode/playbooks/<execution playbook>.md, pstack/skills/swarm/SKILL.md, and pstack/skills/how/SKILL.md / pstack/skills/interrogate/SKILL.md / pstack/skills/show-me-your-work/SKILL.md. It does not contain cursor-team-kit, <installed poteto-mode directory>, <installed swarm directory>, or within the host's concurrency limit. The worktree boot recipe is still there.

codex debug prompt-input '$pstack:poteto-mode Follow playbooks/multi-phase-plan.md for a two-PR change. Quote the check-plan command and the swarm skill path from that playbook, then stop. Do not edit files.' exits 0. Skill roots:

  • r1 = /tmp/pstack-plan-paths-s8rejava/plugins/cache/codex-pstack/pstack/0.15.36/.agents/skills
  • r2 = /tmp/codex-pstack-plan-paths/.agents/skills

The implicit catalog lists pstack:deslop, pstack:control-cli, pstack:control-ui, and pstack:setup-pstack from both roots. It omits pstack:poteto-mode because agents/openai.yaml sets allow_implicit_invocation: false. The playbook body is not inlined; check-plan.mjs does not appear in that prompt.

codex exec --json --ephemeral --skip-git-repo-check with the same prompt exits 1. The turn fails before any skill output:

unexpected status 401 Unauthorized: Missing bearer or basic authentication in header, url: https://api.openai.com/v1/responses

The CLI also printed Reading additional input from stdin... because stdin was not a terminal. That is not a successful invocation.

CI: https://github.com/pstack-ports/codex-pstack/actions/runs/42553948538
conclusion: success (install on 86282cee72cc46c57071ab421ae75dfa99e61b3c). The job logged codex npm version: 0.167.0, codex-cli 0.167.0, and Installed pstack@codex-pstack with 61 skills.

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.

multi-phase-plan rewrites paths references/codex.md already maps; still mentions cursor-team-kit

2 participants