Skip to content

docs(design): describe the configured vision model (#3350) - #3375

Closed
szsunyuan wants to merge 2 commits into
garrytan:mainfrom
szsunyuan:docs/design-vision-model-wording
Closed

szsunyuan wants to merge 2 commits into
garrytan:mainfrom
szsunyuan:docs/design-vision-model-wording

Conversation

@szsunyuan

@szsunyuan szsunyuan commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

Why (in your own words)

/plan-design-review still describes the design binary's check command as a quality gate using GPT-4o. The current binary defaults its vision calls to gpt-5.5 and honors GSTACK_DESIGN_MODEL, so the skill can tell a user the wrong model is performing the check. The same stale name appears in the current skills guide's implementation-spec extraction step.

Describe both as using the configured OpenAI vision model. This corrects the documentation without changing which model is called, and it will not need another wording update when the default changes.

Fixes #3350.

Why this shape

  • The reporter identified the template and suggested removing the pinned model name. This follows that scope rather than replacing GPT-4o with another model name that can drift.
  • The current-docs sweep found the same stale claim in docs/skills.md. Its implementation uses the shared visionRequestBody helper, so that copy belongs in the same correction.
  • Edit the template, then regenerate the skill. No new sentence-pinning test: the existing skill validation, parity, size-budget and model-configuration tests cover the relevant contracts.
  • CONTRIBUTING's wave rule prefers the smaller change when PRs overlap. This is one commit, three files, +3/−3, based on main at 00100f159; fine to absorb into a maintainer wave.

What it does

  • plan-design-review/SKILL.md.tmpl: correct the check command's model description.
  • plan-design-review/SKILL.md: regenerate from that template.
  • docs/skills.md: correct the matching claim in the refinement loop.

What it deliberately does not do

AI was used for assistance.

Live evidence

Setup: source/document inspection and the real model-selection function on this Linux checkout. No API request, image generation, credential or temporary model configuration was needed.

Before (upstream/main at 00100f159, v1.91.186.0): both current docs name GPT-4o.

$ git show upstream/main:plan-design-review/SKILL.md.tmpl | grep -F 'quality gate via'
quality gate via GPT-4o vision), `evolve` (improve from screenshot).
$ git show upstream/main:docs/skills.md | grep -F '2. Uses GPT-4o vision'
2. Uses GPT-4o vision to extract implementation spec (colors, typography, layout)

After (fce697e45): the template, generated skill and guide describe the configured model.

$ grep -n -F 'quality gate via' plan-design-review/SKILL.md.tmpl plan-design-review/SKILL.md
plan-design-review/SKILL.md.tmpl:88:quality gate via the configured OpenAI vision model), `evolve` (improve from screenshot).
plan-design-review/SKILL.md:470:quality gate via the configured OpenAI vision model), `evolve` (improve from screenshot).
$ grep -n -F '2. Uses the configured OpenAI vision model' docs/skills.md
516:2. Uses the configured OpenAI vision model to extract implementation spec (colors, typography, layout)

The unchanged runtime function confirms why the generic wording is accurate. The override below is a synthetic value passed directly to the function, not a live model call:

$ bun --no-env-file --config=/dev/null -e 'import { designModel } from "./design/src/models.ts"; console.log("vision default:", designModel("vision", {})); console.log("vision override:", designModel("vision", { GSTACK_DESIGN_MODEL: "configured-model" }));'
vision default: gpt-5.5
vision override: configured-model

Scope

  • Changed: docs/skills.md, plan-design-review/SKILL.md.tmpl, and regenerated plan-design-review/SKILL.md, each +1/−1.
  • Verified by:
    • bun --no-env-file --config=/dev/null run gen:skill-docs: exit 0; only the intended generated skill differs.

    • bun --no-env-file --config=/dev/null run skill:check: exit 0; 1,163 generated artifacts checked and 139 tracked outputs compared across all 12 hosts.

    • Focused checks:

      $ LC_ALL=C bun --no-env-file --config=/dev/null test --timeout 30000 test/skill-validation.test.ts test/parity-suite.test.ts test/context-budget-ratchet.test.ts test/skill-size-budget.test.ts design/test/models.test.ts
      ...
       363 pass
       0 fail
       1640 expect() calls
      Ran 363 tests across 5 files. [3.66s]
      
    • bun --no-env-file --config=/dev/null run typecheck: exit 0.

    • git diff --check: clean.

    • bin/gstack-redact --repo-visibility public --json on the exact committed diff: no findings.

  • Full free acceptance did not pass:
    • Ran bun --no-env-file --config=/dev/null run test once on the final unchanged content: 29,019 passed, 202 skipped, 389 failed, across 17 shards; exit 1. The failure epilogues name 79 files.
    • The logs include bun 1.4.0 is below the supported minimum 1.4.2, missing Xvfb and clang, Chromium sandbox failures, and additional failures whose causes are not established.
    • No base-branch comparison was run. I am not claiming all failures are pre-existing or unrelated. The passing focused checks do not replace full acceptance. CI free acceptance remains pending.
  • Did NOT test:
    • Live model/image calls, Windows or macOS behavior. Runtime behavior is unchanged.
    • Selected paid PR coverage: plan-design-review-no-ui-scope and the plan-design-review/SKILL.md passes judge. There is no provider API key or gh dispatcher in this environment.
    • eval:select --base upstream/main --json also reports 20 behaviors deferred to broader scheduled/release coverage. None is counted as a pass here.

Liveness proof (required for external contributors)

Existing liveness screenshot from my earlier contribution:

image

Checklist

Test plan

  • Show the stale claims on the base and corrected claims on this branch.
  • Confirm the existing runtime default and override selection without an API call.
  • Regenerate and validate all host artifacts.
  • Focused validation, parity, context budget, skill-size budget and model tests: 363 passed.
  • Product typecheck and diff redaction.
  • Attempt full free acceptance; report its failures and unverified attribution above, not as a pass.
  • CI free acceptance, including the Linux and Windows lanes.
  • Maintainer-run selected paid behavior test and quality judge.

Fork PRs do not receive the repository's eval secrets. A skipped paid job is not a pass; selected paid coverage needs a maintainer run before merge.

Fixes #3350

The plan-design skill and current skills guide still name GPT-4o even though the design binary selects its vision model through shared configuration. Describe the configured OpenAI vision model in both current docs and regenerate the skill; leave runtime models and overrides unchanged.

Co-Authored-By: Claude Code <[email protected]>
@trunk-io

trunk-io Bot commented Oct 24, 2026

Copy link
Copy Markdown

Merging to main in this repository is managed by Trunk.

  • To merge this pull request, check the box to the left or comment /trunk merge below.

After your PR is submitted to the merge queue, this comment will be automatically updated with its status. If the PR fails, failure details will also be posted here

Use OpenAI vision in the generated command description. It removes the obsolete model name while matching the original phrase length, so every host stays at its existing size pin. Regenerate the skill without changing size limits.

Co-Authored-By: Claude Code <[email protected]>
@capy-ai

capy-ai Bot commented Oct 31, 2026

Copy link
Copy Markdown
Contributor

Thank you for this fix. A crew lane is picking it up to land on current main with Co-authored-by credit to you.

@szsunyuan

Copy link
Copy Markdown
Contributor Author

Thanks for the update. Is the crew port still queued, or would a refreshed branch help?

The implementation-spec step in docs/skills.md still names GPT-4o on main. This PR changes it to refer to the configured OpenAI vision model.

@capy-ai

capy-ai Bot commented Nov 7, 2026

Copy link
Copy Markdown
Contributor

Sorry for the slow answer, and for saying a crew lane was picking this up before one had. Where it stands on main (cefcb20, 1.98.0.0): the plan-design-review template was fixed in #3373 (v1.91.195.0), but docs/skills.md:470 still says "Uses GPT-4o vision". That line is on today's pick-up list. You don't need to refresh the branch; if it lands, you'll be credited as co-author.

capy-ai Bot added a commit that referenced this pull request Nov 7, 2026
…kills.md vision-model line (#3375) (#4131)

* fix(render): offer the Aside remedy only on macOS (#3735)

NO_BROWSER_HELP told Linux and Windows hosts to open the Aside app, which
ships only for macOS. noBrowserHelp(platform) now adds the Aside remedy on
darwin only and keeps the ./setup and GSTACK_BROWSE_BIN remedies everywhere.
Also corrects docs/skills.md's /design-html refinement loop, which still said
"Uses GPT-4o vision", to match the design-html template (#3375).

Rewritten on main from outside PR #4122.

Co-authored-by: szsunyuan <[email protected]>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>

* chore(changelog): name the #3735 fragment after the branch

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>

---------

Co-authored-by: szsunyuan <[email protected]>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
@capy-ai

capy-ai Bot commented Nov 7, 2026

Copy link
Copy Markdown
Contributor

Fixed in #4131 (9b491bb): docs/skills.md now matches the design-html template and no longer mentions GPT-4o vision. It will ship in the next gstack release after 1.98.0.0.

@capy-ai capy-ai Bot closed this Nov 7, 2026
@szsunyuan
szsunyuan deleted the docs/design-vision-model-wording branch November 7, 2026 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

plan-design-review says the design check uses GPT-4o vision; design/src/models.ts uses gpt-5.5

1 participant