Skip to content

v1.59.1.0 fix: shrink gstack skill descriptions - #1972

Closed
hadrien-de-march wants to merge 1 commit into
garrytan:mainfrom
hadrien-de-march:fix/codex-skills-budget-warning
Closed

hadrien-de-march wants to merge 1 commit into
garrytan:mainfrom
hadrien-de-march:fix/codex-skills-budget-warning

Conversation

@hadrien-de-march

@hadrien-de-march hadrien-de-march commented Jun 11, 2026 •

Copy link
Copy Markdown

Summary

  • Apply the existing catalog-trim transform to every generated host, not only Claude, so Codex/Factory/Kiro/OpenCode/etc. keep short frontmatter descriptions.
  • Preserve the removed routing/voice trigger prose in the generated skill body under ## When to invoke this skill.
  • Add a Codex catalog budget regression test and refresh the affected ship golden fixtures.
  • Bump release metadata to 1.59.1.0.

Evidence

  • Codex generated catalog after regeneration: 54 skills, 3,762 total description chars, 69.7 average, 210 max.
  • codex exec "Reply with OK only." -C /Users/hadriendemarch/.gstack/repos/gstack -s read-only returned OK and did not emit the skills context budget warning.

Verification

  • bun run gen:skill-docs --host all
  • bun run gen:skill-docs --host all --dry-run
  • bun test test/gen-skill-docs.test.ts
  • bun test --timeout 15000 test/skill-validation.test.ts
  • bun test test/host-config.test.ts test/skill-size-budget.test.ts test/ship-version-sync.test.ts
  • bun test browse/test/ test/ --ignore 'test/skill-e2e-*.test.ts' --ignore test/skill-llm-eval.test.ts --ignore test/skill-routing-e2e.test.ts --ignore test/codex-e2e.test.ts --ignore test/gemini-e2e.test.ts
  • git diff --check

@trunk-io

trunk-io Bot commented Jun 11, 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

@github-actions github-actions Bot changed the title fix: shrink gstack skill descriptions v0.15.17.0 fix: shrink gstack skill descriptions Jun 11, 2026
@hadrien-de-march
hadrien-de-march force-pushed the fix/codex-skills-budget-warning branch from 41a78be to 23ae0e1 Compare June 11, 2026 11:39
@github-actions github-actions Bot changed the title v0.15.17.0 fix: shrink gstack skill descriptions v1.59.1.0 fix: shrink gstack skill descriptions Jun 11, 2026
@hadrien-de-march
hadrien-de-march marked this pull request as ready for review June 11, 2026 11:40
time-attack pushed a commit to time-attack/gstack that referenced this pull request Jul 14, 2026
time-attack pushed a commit to time-attack/gstack that referenced this pull request Jul 14, 2026
bun run gen:skill-docs across all templates changed by the wave (63 files
+ new community-review/SKILL.md), plus golden ship fixtures refreshed to
match the new generator output (garrytan#1972 catalog trim, garrytan#1993 terse rendering,
ship Step 1.5 pr-prep gate, plan-status checkbox warning).

Co-Authored-By: Claude Fable 5 <[email protected]>
@time-attack

Copy link
Copy Markdown
Contributor

Thanks for this. The blocker is the conflict with current main, stale release metadata, and missing validation that shortened external-host descriptions preserve routing. Please rebase after PR #2171, remove release files, regenerate all hosts, and add positive and negative routing tests.

@capy-ai

capy-ai Bot commented Oct 3, 2026

Copy link
Copy Markdown
Contributor

Thanks for this, @hadrien-de-march. The fix is now on main: catalog-mode trim is the default for every host (scripts/gen-skill-docs.ts) (fixed in v1.87.6.0, #2898). Closing as superseded; if you still see the problem on the latest gstack, please open an issue with ./setup --status output.

@capy-ai capy-ai Bot closed this Oct 3, 2026
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.

2 participants