mirror of https://github.com/garrytan/gstack.git
Long decision-brief bodies packed into AskUserQuestion's `question` field and multi-tab batches make the question card unreadable in panel hosts (VSCode). The brief belongs in markdown before the call; the tool payload should stay compact. generate-ask-user-format.ts now documents, in the Format section: - the two-part contract (markdown brief, then a compact tool_use payload); - "Tool payload rules": `question` is one sentence / no newlines / <=80 chars, brief content stays in markdown, batch at most two related questions/tabs (sequence the rest), and no duplicated trade-off text between `question` and `options[].description`; - four matching self-check items. This grafts only the compact-payload guidance onto the current resolver — it preserves the Conductor / runtime-failure-fallback content that landed on main since this PR was first opened. Regenerated all host SKILL.md variants (--host all) and refreshed the claude/codex/factory ship golden fixtures so the generated docs carry the new rules. Tests: new resolver assertions (compact-question, tab-batching, no-duplicate-tradeoff, self-check items) and a gen-skill-docs assertion that the rules reach generated tier 2+ SKILL.md. Affected suites (resolver-ask-user-format, gen-skill-docs, host-config) green. Fixes #1208 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| generate-ask-user-format.ts | ||
| generate-brain-health-instruction.ts | ||
| generate-brain-sync-block.ts | ||
| generate-completeness-section.ts | ||
| generate-completion-status.ts | ||
| generate-confusion-protocol.ts | ||
| generate-context-health.ts | ||
| generate-context-recovery.ts | ||
| generate-continuous-checkpoint.ts | ||
| generate-lake-intro.ts | ||
| generate-preamble-bash.ts | ||
| generate-proactive-prompt.ts | ||
| generate-repo-mode-section.ts | ||
| generate-routing-injection.ts | ||
| generate-search-before-building.ts | ||
| generate-spawned-session-check.ts | ||
| generate-telemetry-prompt.ts | ||
| generate-test-failure-triage.ts | ||
| generate-upgrade-check.ts | ||
| generate-vendoring-deprecation.ts | ||
| generate-voice-directive.ts | ||
| generate-writing-style-migration.ts | ||
| generate-writing-style.ts | ||