You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support explicitly selected model-family subsets in setup-pstack #33
The current setup requires Fable, Sol, GLM, and Opus to all probe successfully before it writes any configuration. That makes a supported Sol + GLM installation impossible even though the README says core workflows can run with fewer models.\n\nAdd an explicit active-family selection to setup-pstack. Probe, persist, and smoke only the selected families; preserve fail-closed behavior for every selected family; require all documented role rows; and reject descriptors from inactive or unprobed families. Keep the four-family profile as the first-run default.\n\nImmediate user case: Codex parent with GPT-5.6-Sol max as the primary/final lane and Z.ai Coding Plan GLM-5.3-Flash max for implementation/exploration. Claude remains installed but is not a dependency, and Grok remains outside the configured matrix.
Implemented the active-family subset contract locally on feature/opencode-glm-adapter, using the explicitly approved existing GLM adapter working tree as the baseline. The source candidate keeps the complete Fable/Sol/GLM/Opus example as the first-run proposal, makes the active set explicit, derives the rerun proposal from the current sheet, asks efforts and probes only active families, requires explicit replacements when deactivating lanes, rejects inactive/unprobed descriptors, and smokes every active family with an independent cross-provider judge when available.
Source validation completed on the candidate: 163 passing, 0 failing; strict TypeScript checks passed; PSTACK_STATIC_ONLY=1 bash tests/skill-collision-repro.sh passed; git diff --check passed. Candidate binary diff checksum is c951d274af5973cf4c768001d46a5c6e06bd5bfc3f676397f287e9e87ceebda1. Installed-cache and live Sol+GLM verification are being completed before this is considered done. No commit, push, PR, merge, tag, or release was created.
Installed and live-verified the active-family subset candidate from a real Codex parent. Both existing 1.2.1 caches retain 52 skills, and only setup-pstack/SKILL.md, provider-dispatch.md, and model-matrix.test.ts were refreshed from the validated source candidate.
Configured the explicit active set codex:gpt-5.6-sol@max + opencode:zai-coding-plan/glm-5.3-flash@max. The native Sol max probe passed. The external OpenCode GLM max probe passed with the exact model and variant and pinned-argv evidence. The installed behavioral smoke passed its native Sol candidate, external GLM candidate, and a separate GLM cross-judge launched only after both candidates were terminal. The Codex sheet contains all 16 documented role rows, Why/Reflect inherit the parent, its bounded AGENTS block is byte-identical, and multi_agent is true. No inactive family was probed or persisted; no Claude sheet was created.
Model-sheet SHA-256: 34bd2c31deff0ef1d79ef28d884a3207ac3ac0e33d17f63556ab4a6f93210a5d. Evidence directory: /Users/simonbloom/.codex/pstack-setup-receipts/2026-08-31-sol-glm. No commit, push, PR, merge, tag, or release was created.
feature request — Add an explicit active-family subset to the supported setup contract.
Route
Await approval
Severity
Medium — supported setup is unavailable unless every default family can be probed.
Confidence
High
Effort
Medium — setup sequencing, matrix invariants, behavioral smoke rules, tests, and user-facing docs must stay aligned.
Impact
Enables installations that have only a supported subset of providers and unblocks optional-family work such as #54.
Next step
Maintainer approval, plus a decision whether to land the overlapping active-family implementation in PR #55 or split that behavior into dedicated work for #33.
Understanding
setup-pstack should let the operator explicitly choose a non-empty subset of supported model families. A first run must still propose the existing Fable/Sol/Grok/Opus quartet. A rerun should derive its proposed active set from the current role map. Only active families should require effort selection, availability probes, persisted role descriptors, and behavioral smoke coverage. Selected-family failures must remain fail-closed, all documented role rows must remain present, and descriptors from inactive or unprobed families must be rejected.
The immediate Sol + GLM example also depends on GLM/OpenCode support being present in the model matrix. That adapter is not on current main; this issue's independently reproducible gap is the inability to select a subset of whichever families the installed matrix supports.
Evidence
Current setup explicitly asks exactly four effort questions and probes all four families: plugins/pstack/skills/setup-pstack/SKILL.md:46-50.
It requires every matrix family to remain represented in the final role map: plugins/pstack/skills/setup-pstack/SKILL.md:72-74.
Writes are gated on all four probes and the behavioral smoke requires all four descriptors: plugins/pstack/skills/setup-pstack/SKILL.md:112-118.
The authoritative matrix currently contains only Fable, Sol, Grok, and Opus: plugins/pstack/skills/poteto-mode/references/provider-dispatch.md:9-18.
Structural coverage hard-codes that quartet, four matrix rows, and the four-pair setup heading: plugins/pstack/skills/poteto-mode/scripts/runner/model-matrix.test.ts:24-25, :51-58, and :109-112.
README says core workflows can be used with fewer models, while setup documents the four-model default: README.md:35 and README.md:83.
Reproduction
At checkout c8481f702c11:
grep -nE 'Ask exactly four|Probe only the four|at least one descriptor from each matrix family|only after all four probes|all four chosen descriptors' \
plugins/pstack/skills/setup-pstack/SKILL.md
This returns the mandatory gates at lines 46, 50, 72, 112, and 118. Therefore removing Fable, Grok, or Opus from a role map cannot produce a valid supported setup: validation requires every family, writes wait for all four probes, and completion waits for a four-family smoke. The contract is declarative, so this reproduces the reported limitation without invoking external providers. The targeted Bun test could not be executed in this triage sandbox because Bun is not installed; inspection of the test shows it intentionally locks the same quartet.
Related work
Merged PR feat(pstack): select requested effort per model family #16 introduced per-family effort selection and intentionally required validation and live probing of all four exact pairs before any write; it predates and does not implement active subsets.
The reporter's feature/opencode-glm-adapter candidate and installed Sol + GLM evidence are useful leads but are not remotely inspectable: the reporter stated that no commit, push, or PR was created, and no such remote branch exists.
Assumptions
Active membership should remain derived from persisted role descriptors rather than introducing a second mutable configuration source.
At least one concrete model family must remain active so setup can probe and behaviorally smoke the resulting configuration; inherit-parent/auto alone are insufficient.
Mark matrix rows that belong to the unchanged first-run active quartet; treat other supported families as opt-in.
Derive the current active set from normalized concrete role descriptors, then ask the operator which named families to add or remove.
Build the complete final role map before probing. Require explicit replacement of every lane from a removed family and require each added family to appear in at least one role.
Collect efforts, probe, persist, and smoke only the non-empty target set.
Before writing, require equality among the chosen, rendered, and successfully probed family sets; reject inactive-family and unprobed-family descriptors.
Preserve atomic writes, byte-identical unchanged reruns, all documented role rows, parent-owned routing, and the existing four-family first-run output.
Add structural and behavioral coverage for first-run defaults, subset reruns, family removal/addition, inactive-family rejection, failed selected probes, non-empty active sets, and parent-capacity-bounded smoke fan-out.
Open Pstack 1.5.0 (#98, v1.5.0) changes setup to ask about roles first, then ask efforts for and probe only the model families those roles use. Leaving this open for explicitly selected family subsets beyond that.
Closing as superseded. Open Pstack 1.5.0 (#98) asks about roles first and then probes only the model families those roles use, which covers setting up with a subset. The remaining Sol + GLM case needs an OpenCode provider, tracked in #68 (external helper provider). simonbloom's active-family and GLM work is noted there as prior art.
Activity
simonbloom commentedon Aug 31, 2026
Implemented the active-family subset contract locally on
feature/opencode-glm-adapter, using the explicitly approved existing GLM adapter working tree as the baseline. The source candidate keeps the complete Fable/Sol/GLM/Opus example as the first-run proposal, makes the active set explicit, derives the rerun proposal from the current sheet, asks efforts and probes only active families, requires explicit replacements when deactivating lanes, rejects inactive/unprobed descriptors, and smokes every active family with an independent cross-provider judge when available.Source validation completed on the candidate: 163 passing, 0 failing; strict TypeScript checks passed;
PSTACK_STATIC_ONLY=1 bash tests/skill-collision-repro.shpassed;git diff --checkpassed. Candidate binary diff checksum isc951d274af5973cf4c768001d46a5c6e06bd5bfc3f676397f287e9e87ceebda1. Installed-cache and live Sol+GLM verification are being completed before this is considered done. No commit, push, PR, merge, tag, or release was created.simonbloom commentedon Aug 31, 2026
Installed and live-verified the active-family subset candidate from a real Codex parent. Both existing 1.2.1 caches retain 52 skills, and only
setup-pstack/SKILL.md,provider-dispatch.md, andmodel-matrix.test.tswere refreshed from the validated source candidate.Configured the explicit active set
codex:gpt-5.6-sol@max+opencode:zai-coding-plan/glm-5.3-flash@max. The native Sol max probe passed. The external OpenCode GLM max probe passed with the exact model and variant andpinned-argvevidence. The installed behavioral smoke passed its native Sol candidate, external GLM candidate, and a separate GLM cross-judge launched only after both candidates were terminal. The Codex sheet contains all 16 documented role rows, Why/Reflect inherit the parent, its bounded AGENTS block is byte-identical, andmulti_agentis true. No inactive family was probed or persisted; no Claude sheet was created.Model-sheet SHA-256:
34bd2c31deff0ef1d79ef28d884a3207ac3ac0e33d17f63556ab4a6f93210a5d. Evidence directory:/Users/simonbloom/.codex/pstack-setup-receipts/2026-08-31-sol-glm. No commit, push, PR, merge, tag, or release was created.mast-factory commentedon Sep 9, 2026
Understanding
setup-pstackshould let the operator explicitly choose a non-empty subset of supported model families. A first run must still propose the existing Fable/Sol/Grok/Opus quartet. A rerun should derive its proposed active set from the current role map. Only active families should require effort selection, availability probes, persisted role descriptors, and behavioral smoke coverage. Selected-family failures must remain fail-closed, all documented role rows must remain present, and descriptors from inactive or unprobed families must be rejected.The immediate Sol + GLM example also depends on GLM/OpenCode support being present in the model matrix. That adapter is not on current
main; this issue's independently reproducible gap is the inability to select a subset of whichever families the installed matrix supports.Evidence
plugins/pstack/skills/setup-pstack/SKILL.md:46-50.plugins/pstack/skills/setup-pstack/SKILL.md:72-74.plugins/pstack/skills/setup-pstack/SKILL.md:112-118.plugins/pstack/skills/poteto-mode/references/provider-dispatch.md:9-18.plugins/pstack/skills/poteto-mode/scripts/runner/model-matrix.test.ts:24-25,:51-58, and:109-112.README.md:35andREADME.md:83.Reproduction
At checkout
c8481f702c11:grep -nE 'Ask exactly four|Probe only the four|at least one descriptor from each matrix family|only after all four probes|all four chosen descriptors' \ plugins/pstack/skills/setup-pstack/SKILL.mdThis returns the mandatory gates at lines 46, 50, 72, 112, and 118. Therefore removing Fable, Grok, or Opus from a role map cannot produce a valid supported setup: validation requires every family, writes wait for all four probes, and completion waits for a four-family smoke. The contract is declarative, so this reproduces the reported limitation without invoking external providers. The targeted Bun test could not be executed in this triage sandbox because Bun is not installed; inspection of the test shows it intentionally locks the same quartet.
Related work
8ef15f8) is the closest implementation: it keeps the four-family first-run default, derives active families from the final role map, and probes/smokes only that set while adding Sonnet/Luna/Terra/Astra. It closes Support Sonnet, GPT-6 Luna, and exact Claude model pins #54 rather than Support explicitly selected model-family subsets in setup-pstack #33. Owner review found no blocking defect, but noted capacity-bounded Codex native smoke waves and missing installed live evidence from the exact current head; recorded live evidence is from predecessorae37a16.feature/opencode-glm-adaptercandidate and installed Sol + GLM evidence are useful leads but are not remotely inspectable: the reporter stated that no commit, push, or PR was created, and no such remote branch exists.Assumptions
inherit-parent/autoalone are insufficient.Proposed solution
ericlitman commentedon Oct 1, 2026
Open Pstack 1.5.0 (#98, v1.5.0) changes setup to ask about roles first, then ask efforts for and probe only the model families those roles use. Leaving this open for explicitly selected family subsets beyond that.
ericlitman commentedon Oct 1, 2026
Closing as superseded. Open Pstack 1.5.0 (#98) asks about roles first and then probes only the model families those roles use, which covers setting up with a subset. The remaining Sol + GLM case needs an OpenCode provider, tracked in #68 (external helper provider). simonbloom's active-family and GLM work is noted there as prior art.