Repository navigation
Description
Problem
Generated Hermes-host GStack skills still tell agents to use AskUserQuestion, but Hermes Agent's native interactive-question tool is clarify.
That means a Hermes user running generated GStack skills gets one of two bad paths:
- the agent tries to call a tool that does not exist in Hermes, then falls back to prose, or
- the agent treats
AskUserQuestionas a concept instead of using Hermes' actual question card surface.
The current prose fallback is useful for hosts with no question tool, but Hermes does have one. We should route the host-specific question instruction to clarify instead of degrading to markdown prompts.
Max / Hermes use case
Max runs GStack inside Hermes as a real daily workflow, including /autoplan, /review, /ship, and issue-discovery lanes. These skills rely heavily on decision gates. In Hermes CLI/gateway sessions, those gates should use the native clarify tool so options render as proper interactive choices instead of plain prose asking the user to reply with a letter.
This matters most in long-running GStack workflows where questions are safety gates: telemetry consent, routing injection, vendoring migration, premise gates, destructive confirmations, and taste decisions.
Evidence inspected
Upstream main at c7ae6320 (2026-06-14T18:40:57Z) via GitHub API:
hosts/hermes.tsrewrites Claude tool names for Bash/Read/Write/Edit/Agent/Grep/Glob, but has no rewrite forAskUserQuestion→clarify.scripts/resolvers/preamble/generate-ask-user-format.tsemits a fullAskUserQuestioncontract, including: prefermcp__*__AskUserQuestion, call AskUserQuestion as tool_use, and use prose fallback when unavailable.- README documents Hermes as a supported generated host:
| Hermes | --host hermes | ~/.hermes/skills/gstack-*/ |. - CONTRIBUTING says each host config controls host-appropriate tool names and paths.
- Official Hermes docs,
https://hermes-agent.nousresearch.com/docs/reference/tools-reference, listclarifyas a built-in Hermes tool. The same page contains noAskUserQuestionmention.
Local reproduction on the GStack checkout also showed bun run gen:skill-docs --host hermes --dry-run producing .hermes/skills/*/SKILL.md files with many AskUserQuestion references.
Expected behavior
For --host hermes output, generated skill docs should instruct Hermes agents to use clarify for interactive user decisions.
A Hermes-specific rendering could be something like:
Use AskUserQuestion:→Use the clarify tool:AskUserQuestion options:→clarify choices:- adjust the generic fallback text so Hermes does not prefer prose fallback when
clarifyis present - preserve the existing prose fallback for genuinely headless/no-question-tool hosts
Suggested implementation shape
I would probably do this in the host/resolver layer, not by manually editing generated files:
- Add a Hermes-specific tool rewrite or resolver branch for the AskUserQuestion contract.
- Map up to 4 AUQ options onto
clarifychoices. - For open-ended AUQ prompts, call
clarifywithoutchoices. - Add a regression test that generated Hermes output contains
clarifyguidance and does not requireAskUserQuestionas the primary tool path. - Keep existing tests around Codex/Conductor AUQ fallback intact.
Duplicate search performed
I searched at least 200 open and 200 closed issues/PRs before filing:
gh issue list --repo garrytan/gstack --state open --limit 200gh issue list --repo garrytan/gstack --state closed --limit 200gh pr list --repo garrytan/gstack --state open --limit 200gh pr list --repo garrytan/gstack --state closed --limit 200- targeted searches for:
AskUserQuestion Hermes,Hermes clarify,Hermes AskUserQuestion clarify,generated Hermes skills AskUserQuestion,missing AskUserQuestion,tool rewrites AskUserQuestion,question fallback Hermes,host hermes generated skills
Closest related items, but not covering this exact Hermes-native-tool mismatch:
- setup --host hermes is a help banner, not an installer — what does "host install" mean? #1201 / feat(host): real
--host hermesautoinstaller (currently only prints instructions) #1267 / PR fix(setup): clarify Hermes host banner #1494 cover whether./setup --host hermesis a banner vs installer. - hermes host: generated skills reference nested gstack/<sub>/ paths that don't exist (prefix mode mismatch) #1077 covers Hermes generated path/prefix mismatches.
- PR fix: add no-tool AskUserQuestion fallback #1556 and PR v1.57.2.0 feat: AskUserQuestion prose fallback when the tool fails at runtime #1908 add no-tool / runtime-failure prose fallback for
AskUserQuestion. - PR Handle missing AskUserQuestion tools in Codex skills #1818 is Codex-specific missing-AUQ handling.
- PR fix: tool rewrites catch all 'Agent tool' phrasings across agent-runtime hosts #1935 fixes Agent-tool phrasing rewrites across runtime hosts.
- question-preference-hook returns permissionDecision: "defer" on pass-through paths, interrupting AskUserQuestion cards #2006 / PR Fix AskUserQuestion hook pass-through #1924 cover
permissionDecision: "defer"interrupting AUQ cards.
None appear to cover: Hermes has a native question tool named clarify, but generated Hermes GStack skills still point at AskUserQuestion first.
Willingness to contribute
Happy to contribute the host-specific rewrite/test once maintainers confirm the desired mapping from GStack's AUQ decision brief format onto Hermes clarify choices.
Activity
feat(setup): install registry, ./setup --status, staged activation, p…
v1.91.16.0 fix: safe installs and upgrades, skills start everywhere, …
capy-ai commentedon Oct 3, 2026
Partly fixed in v1.91.16.0 (#3014): Hermes renders map AskUserQuestion to
clarify, and Hermes is documented as instruction-only. Leaving this open until the remaining question flows are verified on a real Hermes session.capy-ai commentedon Oct 3, 2026
The Hermes host now injects a tool glossary that maps
AskUserQuestionto Hermes'clarifytool (hosts/hermes.ts), and the generated.hermes/skills/gstack-*/SKILL.mdfiles carry that instruction.Fixed in v1.91.16.0 (#3014).
If you still see this on the latest gstack, please reopen with details.
v1.91.16.0 fix: safe installs and upgrades, skills start everywhere, …