Repository navigation
Closed
Labels
enhancementNew feature or request
Description
Goal
Generate the model catalog and the Claude-native agent files from the registry, and give the catalog its own verifier feature. This is unit U2 of the approved model and provider registry design (design, PR #154, issue #103). It depends on U1 (#155).
Scope
- Add
runner/registry/render.tswith--writeand--check. It writesplugins/pstack/skills/poteto-mode/references/model-catalog.md(model matrix, kept predecessors and normalization, routes, provider notes, role defaults) and everyplugins/pstack/agents/pstack-<family>-<effort>.md. - Reduce
provider-dispatch.mdto hand-written rules that link to the catalog. Its model matrix and route table move into the catalog. - Replace
model-matrix.test.tswithregistry.test.ts: catalog and agent drift, family invariants, released pairs. - Verifier (decision 6): add a
catalogkey to.claude/skills/verify-open-pstack/features/registry.jsonforreferences/model-catalog.mdand the generatedagents/pstack-*.md. Changescripts/core.tsso those paths select thecatalog,setupandrunnerfeatures instead ofshared. Add a route-consumption case: the parent reads a model sheet and reports a role's descriptor and route. - Static invariants: U3 (Replace copied model slugs with role pointers to the model catalog (registry U3) #157) now ships in the same PR and deletes the Sol-row bash check (
tests/skill-collision-repro.sh:405-423), so no temporary move is needed. The Greptile finding on PR docs(plans): design the model and provider registry (#103) #154 (docs(plans): design the model and provider registry (#103) #154 (comment)) is resolved by that deletion.
Acceptance criteria
- Given the registry, when
render.ts --writeruns twice, then the second run changes nothing. The ten Fable and Opus agent files keep identical bytes. - Given a hand edit to the catalog or a generated agent, when
bun run testruns, then it fails and prints the write command. - Given a change to only the catalog or generated agents, when the verifier classifies it, then it selects
catalog,setupandrunnerand no skill check (verifier unit test). - Given a
grok:grok-4.6sheet, when setup reruns, then it proposesgrok-4.7at the same effort and keepsgrok-4.6on a decline. - Bun tests, strict typecheck, static invariants and plugin validation pass.
Live checks
- This PR changes the verifier, so its live run uses the reviewed candidate head as the publisher revision (
AGENTS.md). - Named features, in both harnesses:
catalog(a route-consumption case: the parent reads a model sheet and reports a role's descriptor and route),setup(rerun on agrok:grok-4.6sheet, with snapshot and restore),runner(a route from each parent, resolved through the catalog), andproject-skillunder--self-test. The verifier runs only named features, so the skill checks run only where Replace copied model slugs with role pointers to the model catalog (registry U3) #157 names one.
Order
After U1 (#155). U3 (#157) folds into the same PR as a second commit (design pass, 2026-10-13).
Metadata
Metadata
Assignees
Labels
enhancementNew feature or request
Activity
docs(plans): record Eric's registry decisions (#103)
ericlitman commentedon Oct 13, 2026
Design pass (2026-10-13, Astra high, read-only at
7797748)Record:
~/projects/docs/projects/open-pstack/records/2026-10-13-batch-168/design-156.md(private docs repo).Accepted
features/recipes.tsandtests/skill-collision-repro.sh, and folding removes the temporary Sol-row check move. The ticket's Scope, Live checks and Order are updated.runner/registry.test.tsinstead of replacing it. Migrate the useful assertions frommodel-matrix.test.ts, including setup's fail-closed cases, before deleting it.registry/contract.tsand the adapters, not the design's whole future contract.setup-pstack/SKILL.md:38,:44,:87).registry.json,types.ts,core.ts, classification tests, feature docs and acatalogrecipe. Catalog paths bypass shared expansion and the genericreferences/skill match. Generated agents are listed by exact path, becausecore.tssupports only exact paths and terminal/**; the coverage test catches a new unmapped agent. Registry and provider source changes also selectcatalog,setupandrunner(design, Implementation units).catalog,setup,runner,project-skilland, from U3,skill-invocation:interrogate, in both harnesses, from the candidate head. "Every skill check runs" was wrong: the verifier runs only named features (scripts/verify.ts:95-104).Rejected
catalogrecipe asserts the reported descriptor and route in the structured result, per Keep verifier work proportional: scope out deliberate recipe evasion, park unobserved failures, prove results not commands #168's rule against proving a read with command text.agents/pstack-*.md. Exact paths are enough.fix(registry): restore the port's role-default and Claude pin guards,…
test(registry): restore the default-effort, rolling-alias and ultra a…
Merge pull request #178 from ericlitman/feat/156-registry-u2-catalog
feat(registry): generate the model catalog and native agents (ericlit…