Repository navigation
Closed
Description
Goal
Design one registry for models and external CLI providers, and have the maintainer approve it before any implementation starts. Adding a model or a CLI should become one entry. Model and provider changes should stop editing files derived from Cursor's pstack.
Why
On main at 1c91e65:
- A new provider touches about 12 files:
- the
PROVIDERSunion inrunner/types.ts:2 - the switches in
commands.tsandparse-output.ts - five functions in
run.ts: env stripping, preflight pass and evidence, failure status, model proof - the help text in
cli.ts - four test files and
tests/skill-collision-repro.sh - the route table in
provider-dispatch.md - the probe table in
setup-pstack/SKILL.md docs/reference.md
- the
- A default-model change touches about 15 files. The slugs are copied into 11 upstream-derived skill files (arena, architect, how, interrogate, setup-pstack, swarm, and the bug-fix, feature, hillclimb, perf-issue, and refactoring playbooks).
tests/skill-collision-repro.shkeeps those copies in sync, so each change becomes a conflict on the next Cursor sync. model-matrix.test.tshard-codes four families (:24,:110-113). The effort universe is fixed atlowthroughmax, but Codex listsultrafor some models and not for others.
The design must decide
- Model entries. Provider and model, default versus optional, a per-model effort set (including
ultrawhere the CLI lists it), exact pins versus rolling aliases (Support GPT-6 Sol, GPT-6 Luna, and an exact Opus 5.5 pstack pin #85), and Claude-native agent stems with how those agent files are generated. - Provider adapter contract.
- preflight and auth classification, including API-key auth (Fix Codex setup with Claude JSON event arrays and Grok API-key authentication #58)
- argv for each access mode, with the sandbox and permission mapping (Grok isolated-write lanes cancel headless edit permissions #34, Fix Grok read-only cancellation and preserve runner failure evidence #78, pstack-runner: allow full-access sandbox for Codex writer lanes so they can self-verify #80)
- how the prompt is passed (stdin or a file, Fix runner subprocess I/O for Codex provider probes #94)
- output parsing, including terminal failures and cancellations (Fix Grok read-only cancellation and preserve runner failure evidence #78)
- model proof
- env isolation (Prevent pstack runner from auto-loading project env files #25)
- host prerequisites such as Grok's Landlock and bwrap (Open pstack fail to run grok on a Claude code cloud session #56)
- Where the registry lives. One machine-readable source in port-only files.
provider-dispatch.md, setup's probe rows, the route table, and the tests are derived from it or checked against it. - Upstream-derived skill files. They name roles such as "
arena runners; defaults in provider-dispatch.md" instead of model slugs. - Migration. Existing user sheets keep working, and no implicit runtime fallback or timeout is added.
Acceptance criteria
- A design document under
docs/plans/, produced withpstack:architect. It compares at least two shapes and records the chosen types, signatures, and module map. - The design shows each of these as a single entry: GPT-6.1 Sol (Make GPT-6.1 Sol the Sol default and admit the ultra effort #102), an optional GPT-6 Luna, and a Devin CLI provider.
- The maintainer approves the design before an implementation ticket is filed.
Waiting on this design
#85, #54, #46, #80, #71, #69, #37, #68. #102 can ship before it.
Source: docs/plans/2026-10-01-triage-and-roadmap.md, section 3.
Metadata
Metadata
Assignees
Labels
No labels
Activity
docs: record 2026-10-01 triage and roadmap
docs(plans): record Eric's registry decisions (#103)
Merge pull request #154 from ericlitman/docs/103-model-provider-regis…
docs(plans): design the model and provider registry (ericlitman#103)