You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The scm.yaml file seeded by infer init in the CLI (inference-gateway/cli) resolved to invalid gh commands: CustomShortcut.resolveCommandConfig appends a subcommand's own name: before its args: when the subcommand declares no command: of its own, so /scm issues ran gh issues issue list ... and /scm issue <number> ran gh issue issue view .... Fixed by PR inference-gateway/cli#1329 (resolves inference-gateway/cli#1328): each subcommand now declares command: gh with the full args, so /scm issues runs gh issue list --json ... --limit 20 and /scm issue <number> runs gh issue view <number> --json ....
The "SCM Shortcuts" customization example in the CLI repo's docs/shortcuts-guide.md was updated in the same PR. This ticket tracks sweeping the standalone docs site for anywhere it mirrors the broken seeded YAML shape or documents the subcommand resolution rules.
Acceptance Criteria
No docs page mirrors the broken seeded scm.yaml shape (subcommand name: issues with args: [issue, list, ...] but no command: gh)
Any custom-shortcut subcommands: examples follow the documented resolution rules: a subcommand without its own command: gets its name appended to the parent's args:; one with a command: uses its args: verbatim
/scm issues and /scm issue <number> examples show the resolved gh issue list / gh issue view commands
Done. PR #796: #796 (ready for review, Resolves #789, board item on QA).
What changed (single commit on fix/issue-789, all in cli.md - the only docs page touching shortcut subcommands):
Built-in shortcuts table: the /scm example column now shows /scm issue 123 instead of /scm issue view 123 (which post-fix would double-append view), matching the seeded subcommand's <number> usage.
SCM (GitHub) Shortcuts section: /scm issues and /scm issue 123 now show their resolved commands - gh issue list --json ... --limit 20 and gh issue view 123 --json ... - as comments above each usage, taken from the fix in the CLI's seeded scm.yaml.
Custom Shortcuts - "Shortcuts with Subcommands": the dev.yaml example previously mirrored the broken seeded shape (subcommands with args: [-c, 'go test ./...'] but no own command:, which resolves to the invalid bash test -c ...). Each subcommand now declares its own command: bash, and the two resolution rules are documented in one sentence: own command: runs verbatim; without one, the subcommand's name (then its args) appends to the parent's - so spell out the full invocation per subcommand.
Validation: bun run lint:md, bun run format:check, bun run build all pass. Docs-only change in the docs repo itself, so no [DOCS] ticket or downstream tracking issues needed. Skipped: rewriting the seeded-scm.yaml walkthrough in full on the site - the site never showed it, so the three acceptance criteria are fully covered by the diff above.
Activity
edenreich commentedon Sep 25, 2026
@infer can you work on this? use /ponytail:ponytail
inference-gateway-maintainer commentedon Sep 25, 2026
Model:
ollama_cloud/glm-5.3-flash· View JobTodos
Pull Request
#796
✅ Infer Result: Success
Done. PR #796: #796 (ready for review, Resolves #789, board item on QA).
What changed (single commit on
fix/issue-789, all incli.md- the only docs page touching shortcut subcommands):/scmexample column now shows/scm issue 123instead of/scm issue view 123(which post-fix would double-appendview), matching the seeded subcommand's<number>usage./scm issuesand/scm issue 123now show their resolved commands -gh issue list --json ... --limit 20andgh issue view 123 --json ...- as comments above each usage, taken from the fix in the CLI's seededscm.yaml.dev.yamlexample previously mirrored the broken seeded shape (subcommands withargs: [-c, 'go test ./...']but no owncommand:, which resolves to the invalidbash test -c ...). Each subcommand now declares its owncommand: bash, and the two resolution rules are documented in one sentence: owncommand:runs verbatim; without one, the subcommand's name (then its args) appends to the parent's - so spell out the full invocation per subcommand.Validation:
bun run lint:md,bun run format:check,bun run buildall pass. Docs-only change in the docs repo itself, so no[DOCS]ticket or downstream tracking issues needed. Skipped: rewriting the seeded-scm.yamlwalkthrough in full on the site - the site never showed it, so the three acceptance criteria are fully covered by the diff above.Model:
ollama_cloud/glm-5.3-flash· Exit Code:0· Duration: 4m 9sTokens: 1,163,892 in · 19,052 out · 1,182,944 total (25 requests)
Tool calls: 41 total · 100% success rate
Traces
Stats
Triggered by edenreich · Infer Action · OSS
inference-gateway-releaser commentedon Sep 26, 2026
🎉 This issue has been resolved in version 0.9.17 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀