Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .claude/skills/verify-open-pstack/features/catalog.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ The outcome is the evidence: the reported descriptors and routes must equal the

## Headless

The catalog recipe in `recipes.ts` writes a fixture sheet whose `judgment and prose` line takes another role's default descriptor, so only a read of the sheet reports it. The sheet has no `arena runners` or `bug-fix` line. It puts `swarm workers` on `codex:gpt-6-luna@max`, `hardest tasks` on the registered pin `claude:claude-opus-5-5@max`, `how explainer` on the versioned `claude:claude-sonnet-5-5@high`, and `how explorer` on the Devin lane `devin:swe-2@max`. The parent writes `routes.json` with the descriptors and routes of those seven roles. The case asserts the `poteto-mode` load and that the report equals, role by role, the sheet's descriptor or the installed catalog's role default, each with the route the catalog's route table gives this parent. The pin, Luna and the Devin lane stay unchanged, the Devin lane is external from both parents, and the Sonnet revision is reported as `claude:sonnet@high`. The recipe fixes those dispatched descriptors, and the catalog gives their routes. The sheet also puts `feature, refactoring` on `codex:gpt-6.1-sol@max` and holds the setting line `codex writer sandbox: full-access`. The report adds that role and `writerSandbox`, the `--writer-sandbox` value the parent would pass for that role's writer: `full-access` from Claude, whose route is the external runner, and null from Codex, whose route is native `spawn_agent`. A second case, `consume-sheet-bounded`, writes the same fixture sheet with the setting line `codex writer sandbox: bounded`. The runner's `bounded-writer` case covers a sheet with no setting line. It asserts the same roles, descriptors and routes, and `writerSandbox` null from both parents, so a parent that passes full access without the opt-in fails.
The catalog recipe in `recipes.ts` writes a fixture sheet whose `judgment and prose` line takes another role's default descriptor, so only a read of the sheet reports it. The sheet has no `arena runners` or `bug-fix` line. It puts `swarm workers` on `codex:gpt-6-luna@max`, `perf-issue` on the registered pin `claude:claude-opus-5-5@max`, `hillclimb` on the versioned `claude:claude-sonnet-5-5@high`, `arena cross-judge pool` on the Devin lane `devin:swe-2@max`, and `interrogate reviewers` on `opencode:opencode/deepseek-v4.1-flash-free@max`. The parent writes `routes.json` with the descriptors and routes of those eight roles. The case asserts the `poteto-mode` load and that the report equals, role by role, the sheet's descriptor or the installed catalog's role default, each with the route the catalog's route table gives this parent. The pin, Luna and the Devin lane stay unchanged, the Devin lane is external from both parents, and the Sonnet revision is reported as `claude:sonnet@high`. The recipe fixes those dispatched descriptors, and the catalog gives their routes. The sheet also puts `feature, refactoring` on `codex:gpt-6.2-sol@xhigh` and holds the setting line `codex writer sandbox: full-access`. The report adds that role and `writerSandbox`, the `--writer-sandbox` value the parent would pass for that role's writer: `full-access` from Claude, whose route is the external runner, and null from Codex, whose route is native `spawn_agent`. A second case, `consume-sheet-bounded`, writes the same fixture sheet with the setting line `codex writer sandbox: bounded`. The runner's `bounded-writer` case covers a sheet with no setting line. It asserts the same roles, descriptors and routes, and `writerSandbox` null from both parents, so a parent that passes full access without the opt-in fails.

On Claude, a second case, `native-agents`, has the parent dispatch `pstack:pstack-sonnet-max`, `pstack:pstack-opus-5-5-max`, and `pstack:pstack-haiku-5-5-max` through `Agent` with `run_in_background: false`. Each child reads its own fixture nonce, writes it to its own output file, and replies with it as its final answer. The case asserts each dispatch, at least one tool call recorded under it, that the output file holds that agent's nonce, and that the `Agent` call's own result holds that nonce. A launch notice in place of the report fails the case, so it proves the report came back inline. Codex has no Claude-native agents, and its session record does not show `spawn_agent`, so this case runs on Claude only.
2 changes: 1 addition & 1 deletion .claude/skills/verify-open-pstack/features/grok.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ Grok also discovers the operator's installed pstack through its Claude-compat sc

## Headless

The `dispatch` case writes a fixture sheet with three read-only roles: `why investigators, synthesizer` on `inherit-parent`, `how explorer` on `grok:grok-4.7@low` and `how explainer` on `codex:gpt-6-luna@low`, and a `marker-N.txt` per lane holding a per-run `crypto.randomUUID()` the prompt never contains. It asserts the candidate `poteto-mode` load; an agent enum holding `pstack:poteto-agent` and `pstack:comment-sicko` and no `pstack:pstack-*` agent; exactly one `spawn_subagent` call, with `pstack:poteto-agent`, whose `SubagentCompleted` output holds lane 1's marker and whose child ran tools; no runner receipt for lane 1; and for lanes 2 and 3 a `pstack-runner --parent grok` command for that provider and a receipt that is `complete`, on that route, `read-only`, proved by the provider's Model proof (`provider-report` for Grok, `pinned-argv` for Codex), from this session, with the lane's marker in its output. The `configure` setup case answers setup with every model-family role on Grok 4.7 at low effort and every writer sandbox opt-in declined, and asserts that the Grok sheet was written this session, holds only `grok:grok-4.7@low`, and has no `full-access` setting line. The parent snapshots the Grok sheet with the other setup files, and restores and verifies it on success or failure before any publication.
The `dispatch` case writes a fixture sheet with three roles, each dispatched read-only: `judgment and prose` on `inherit-parent`, `arena cross-judge pool` on `grok:grok-4.7@low` and `swarm workers` on `codex:gpt-6-luna@low`, and a `marker-N.txt` per lane holding a per-run `crypto.randomUUID()` the prompt never contains. It asserts the candidate `poteto-mode` load; an agent enum holding `pstack:poteto-agent` and `pstack:comment-sicko` and no `pstack:pstack-*` agent; exactly one `spawn_subagent` call, with `pstack:poteto-agent`, whose `SubagentCompleted` output holds lane 1's marker and whose child ran tools; no runner receipt for lane 1; and for lanes 2 and 3 a `pstack-runner --parent grok` command for that provider and a receipt that is `complete`, on that route, `read-only`, proved by the provider's Model proof (`provider-report` for Grok, `pinned-argv` for Codex), from this session, with the lane's marker in its output. The `configure` setup case answers setup with every model-family role on Grok 4.7 at low effort and every writer sandbox opt-in declined, and asserts that the Grok sheet was written this session, holds only `grok:grok-4.7@low`, and has no `full-access` setting line. The parent snapshots the Grok sheet with the other setup files, and restores and verifies it on success or failure before any publication.
Loading
Loading