mirror of
https://github.com/garrytan/gstack.git
synced 2026-05-02 03:35:09 +02:00
fix(preamble): emit EXPLAIN_LEVEL + QUESTION_TUNING bash echoes
Features referenced these echoes at runtime but the preamble bash generator never produced them. Added two config reads in generate-preamble-bash.ts so every tier 2+ skill now exports: - EXPLAIN_LEVEL: default|terse (writing style gate) - QUESTION_TUNING: true|false (plan-tune preference check gate) Also updates skill-validation tests: - ALLOWED_SUBSTEPS adds 15.0 + 15.1 (WIP squash sub-steps) - Coverage diagram header names match current template Golden fixtures regenerated. 6 pre-existing test failures now pass. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -99,6 +99,12 @@ _CHECKPOINT_MODE=$(~/.claude/skills/gstack/bin/gstack-config get checkpoint_mode
|
||||
_CHECKPOINT_PUSH=$(~/.claude/skills/gstack/bin/gstack-config get checkpoint_push 2>/dev/null || echo "false")
|
||||
echo "CHECKPOINT_MODE: $_CHECKPOINT_MODE"
|
||||
echo "CHECKPOINT_PUSH: $_CHECKPOINT_PUSH"
|
||||
# Writing style: default = jargon-glossed + outcome-framed, terse = V0 prose
|
||||
_EXPLAIN_LEVEL=$(~/.claude/skills/gstack/bin/gstack-config get explain_level 2>/dev/null || echo "default")
|
||||
echo "EXPLAIN_LEVEL: $_EXPLAIN_LEVEL"
|
||||
# Question tuning: true = check preferences + log per-question, false = classic
|
||||
_QUESTION_TUNING=$(~/.claude/skills/gstack/bin/gstack-config get question_tuning 2>/dev/null || echo "true")
|
||||
echo "QUESTION_TUNING: $_QUESTION_TUNING"
|
||||
# Detect spawned session (OpenClaw or other orchestrator)
|
||||
[ -n "$OPENCLAW_SESSION" ] && echo "SPAWNED_SESSION: true" || true
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user