Skip to content

Replace copied model slugs with role pointers to the model catalog (registry U3) #157

Closed

Description

@ericlitman

Goal

Replace the model slugs copied into Cursor-derived files with role pointers to the model catalog, so a default-model change edits no Cursor-derived file. This is unit U3 of the approved model and provider registry design (design, PR #154, issue #103). It depends on U2 (#156).

Scope

  • Role pointers in the twelve Cursor-derived files: arena/SKILL.md:18, architect/SKILL.md:32, how/SKILL.md:10, interrogate/SKILL.md:28-34 (delete the reviewer table), swarm/SKILL.md:26, playbooks bug-fix, feature, hillclimb, perf-issue and refactoring, poteto-mode/SKILL.md:94, and setup-pstack/SKILL.md. The design shows the exact text for arena, how and bug-fix.
  • Setup: its opening paragraph and steps 5 to 7 read the catalog. Delete the probe table and the in-file example sheet. Step 5 probes native routes with a one-turn native probe and external routes with one pstack-runner call. A family whose only effort is default gets no effort question.
  • Port-only and repository docs: codex-tools.md:80, docs/reference.md, README.md:83 (still says GPT-5.6 Sol).
  • UPSTREAM.md: one port-patch ledger entry for the role-pointer rule.
  • Tests: delete the three bash checks in tests/skill-collision-repro.sh (version pins, panel copies, solo-role copies). Add the text scans and the ROLE_POINTERS check to registry.test.ts.
  • Verifier: DEFAULT_ROUTES in features/recipes.ts comes from the installed candidate's role defaults.

Acceptance criteria

  • No Cursor-derived file, README.md or docs/reference.md contains a descriptor or a versioned model name, such as "GPT-5.6 Sol" or "Grok 4.7". The model catalog and generated agents are excluded. The text scan enforces this.
  • Every role pointer links to model-catalog.md#role-defaults and names roles that exist in ROLE_DEFAULTS.
  • Given no model sheet, when setup runs a first time, then it seeds from the catalog's role defaults.
  • Given a sheet without arena runners and bug-fix, when the parent dispatches those roles, then it uses the catalog's role defaults and routes.
  • Bun tests, strict typecheck, static invariants and plugin validation pass.

Live checks

Order

Ships in the same PR as U2 (#156), as its second commit (design pass, 2026-10-13). Unblocks #105 (port-patch ledger) and #46 (setup rerun fast path).

Activity

  1. added
    enhancement
    on Oct 12, 2026
  2. ericlitman commented on Oct 13, 2026

    @ericlitman
    OwnerAuthor

    Design pass on #156 (2026-10-13): this ticket ships in the same PR as U2, as its second commit. Accepted and rejected points: #156 (comment)

  3. added a commit that references this issue on Oct 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions