From ac41d9fffd72a6b65bd070103afb8843b0a8120f Mon Sep 17 00:00:00 2001 From: Garry Tan Date: Mon, 20 Apr 2026 07:05:43 +0800 Subject: [PATCH] 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) --- SKILL.md | 6 ++++++ autoplan/SKILL.md | 6 ++++++ benchmark-models/SKILL.md | 6 ++++++ benchmark/SKILL.md | 6 ++++++ browse/SKILL.md | 6 ++++++ canary/SKILL.md | 6 ++++++ codex/SKILL.md | 6 ++++++ context-restore/SKILL.md | 6 ++++++ context-save/SKILL.md | 6 ++++++ cso/SKILL.md | 6 ++++++ design-consultation/SKILL.md | 6 ++++++ design-html/SKILL.md | 6 ++++++ design-review/SKILL.md | 6 ++++++ design-shotgun/SKILL.md | 6 ++++++ devex-review/SKILL.md | 6 ++++++ document-release/SKILL.md | 6 ++++++ health/SKILL.md | 6 ++++++ investigate/SKILL.md | 6 ++++++ land-and-deploy/SKILL.md | 6 ++++++ learn/SKILL.md | 6 ++++++ office-hours/SKILL.md | 6 ++++++ open-gstack-browser/SKILL.md | 6 ++++++ pair-agent/SKILL.md | 6 ++++++ plan-ceo-review/SKILL.md | 6 ++++++ plan-design-review/SKILL.md | 6 ++++++ plan-devex-review/SKILL.md | 6 ++++++ plan-eng-review/SKILL.md | 6 ++++++ plan-tune/SKILL.md | 6 ++++++ qa-only/SKILL.md | 6 ++++++ qa/SKILL.md | 6 ++++++ retro/SKILL.md | 6 ++++++ review/SKILL.md | 6 ++++++ scripts/resolvers/preamble/generate-preamble-bash.ts | 6 ++++++ setup-browser-cookies/SKILL.md | 6 ++++++ setup-deploy/SKILL.md | 6 ++++++ ship/SKILL.md | 6 ++++++ test/fixtures/golden/claude-ship-SKILL.md | 6 ++++++ test/fixtures/golden/codex-ship-SKILL.md | 6 ++++++ test/fixtures/golden/factory-ship-SKILL.md | 6 ++++++ test/skill-validation.test.ts | 11 ++++++----- 40 files changed, 240 insertions(+), 5 deletions(-) diff --git a/SKILL.md b/SKILL.md index d6283f2c..916942cc 100644 --- a/SKILL.md +++ b/SKILL.md @@ -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 ``` diff --git a/autoplan/SKILL.md b/autoplan/SKILL.md index 4b380e98..57b882f0 100644 --- a/autoplan/SKILL.md +++ b/autoplan/SKILL.md @@ -108,6 +108,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 ``` diff --git a/benchmark-models/SKILL.md b/benchmark-models/SKILL.md index b383c95f..aa68f3c6 100644 --- a/benchmark-models/SKILL.md +++ b/benchmark-models/SKILL.md @@ -101,6 +101,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 ``` diff --git a/benchmark/SKILL.md b/benchmark/SKILL.md index 7e9150a6..089c37b4 100644 --- a/benchmark/SKILL.md +++ b/benchmark/SKILL.md @@ -101,6 +101,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 ``` diff --git a/browse/SKILL.md b/browse/SKILL.md index 7170cd48..64bf1bca 100644 --- a/browse/SKILL.md +++ b/browse/SKILL.md @@ -100,6 +100,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 ``` diff --git a/canary/SKILL.md b/canary/SKILL.md index 5b6183f3..23be18e5 100644 --- a/canary/SKILL.md +++ b/canary/SKILL.md @@ -100,6 +100,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 ``` diff --git a/codex/SKILL.md b/codex/SKILL.md index 13a7f49d..306245ff 100644 --- a/codex/SKILL.md +++ b/codex/SKILL.md @@ -102,6 +102,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 ``` diff --git a/context-restore/SKILL.md b/context-restore/SKILL.md index 4db7fa45..d814450f 100644 --- a/context-restore/SKILL.md +++ b/context-restore/SKILL.md @@ -104,6 +104,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 ``` diff --git a/context-save/SKILL.md b/context-save/SKILL.md index fc71ed28..736a0ad6 100644 --- a/context-save/SKILL.md +++ b/context-save/SKILL.md @@ -104,6 +104,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 ``` diff --git a/cso/SKILL.md b/cso/SKILL.md index 2e30c655..0d26559d 100644 --- a/cso/SKILL.md +++ b/cso/SKILL.md @@ -105,6 +105,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 ``` diff --git a/design-consultation/SKILL.md b/design-consultation/SKILL.md index af57bca1..7bf3192e 100644 --- a/design-consultation/SKILL.md +++ b/design-consultation/SKILL.md @@ -105,6 +105,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 ``` diff --git a/design-html/SKILL.md b/design-html/SKILL.md index 8934f070..2df1b337 100644 --- a/design-html/SKILL.md +++ b/design-html/SKILL.md @@ -107,6 +107,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 ``` diff --git a/design-review/SKILL.md b/design-review/SKILL.md index 5385c2bd..e490af5e 100644 --- a/design-review/SKILL.md +++ b/design-review/SKILL.md @@ -105,6 +105,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 ``` diff --git a/design-shotgun/SKILL.md b/design-shotgun/SKILL.md index a4608edf..c5dced6c 100644 --- a/design-shotgun/SKILL.md +++ b/design-shotgun/SKILL.md @@ -102,6 +102,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 ``` diff --git a/devex-review/SKILL.md b/devex-review/SKILL.md index 8a4c617a..475eb33e 100644 --- a/devex-review/SKILL.md +++ b/devex-review/SKILL.md @@ -105,6 +105,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 ``` diff --git a/document-release/SKILL.md b/document-release/SKILL.md index bf7d8e56..e885fe53 100644 --- a/document-release/SKILL.md +++ b/document-release/SKILL.md @@ -102,6 +102,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 ``` diff --git a/health/SKILL.md b/health/SKILL.md index 32b82ba0..a2221fa9 100644 --- a/health/SKILL.md +++ b/health/SKILL.md @@ -102,6 +102,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 ``` diff --git a/investigate/SKILL.md b/investigate/SKILL.md index e3ce7a0d..a440614e 100644 --- a/investigate/SKILL.md +++ b/investigate/SKILL.md @@ -119,6 +119,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 ``` diff --git a/land-and-deploy/SKILL.md b/land-and-deploy/SKILL.md index 880841cf..afdfb6fa 100644 --- a/land-and-deploy/SKILL.md +++ b/land-and-deploy/SKILL.md @@ -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 ``` diff --git a/learn/SKILL.md b/learn/SKILL.md index 9f7e0ea3..bb6d860f 100644 --- a/learn/SKILL.md +++ b/learn/SKILL.md @@ -102,6 +102,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 ``` diff --git a/office-hours/SKILL.md b/office-hours/SKILL.md index 4d1c40fa..88454e05 100644 --- a/office-hours/SKILL.md +++ b/office-hours/SKILL.md @@ -110,6 +110,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 ``` diff --git a/open-gstack-browser/SKILL.md b/open-gstack-browser/SKILL.md index 296611a7..3fbeeb3c 100644 --- a/open-gstack-browser/SKILL.md +++ b/open-gstack-browser/SKILL.md @@ -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 ``` diff --git a/pair-agent/SKILL.md b/pair-agent/SKILL.md index 65f9f54c..de45dc29 100644 --- a/pair-agent/SKILL.md +++ b/pair-agent/SKILL.md @@ -100,6 +100,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 ``` diff --git a/plan-ceo-review/SKILL.md b/plan-ceo-review/SKILL.md index d81534d7..b03a3ded 100644 --- a/plan-ceo-review/SKILL.md +++ b/plan-ceo-review/SKILL.md @@ -106,6 +106,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 ``` diff --git a/plan-design-review/SKILL.md b/plan-design-review/SKILL.md index 1706143a..91e28b63 100644 --- a/plan-design-review/SKILL.md +++ b/plan-design-review/SKILL.md @@ -103,6 +103,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 ``` diff --git a/plan-devex-review/SKILL.md b/plan-devex-review/SKILL.md index aca12e7b..ad90adfa 100644 --- a/plan-devex-review/SKILL.md +++ b/plan-devex-review/SKILL.md @@ -107,6 +107,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 ``` diff --git a/plan-eng-review/SKILL.md b/plan-eng-review/SKILL.md index ae3e7786..b8c7e996 100644 --- a/plan-eng-review/SKILL.md +++ b/plan-eng-review/SKILL.md @@ -105,6 +105,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 ``` diff --git a/plan-tune/SKILL.md b/plan-tune/SKILL.md index 6e9d3a36..c35c9325 100644 --- a/plan-tune/SKILL.md +++ b/plan-tune/SKILL.md @@ -113,6 +113,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 ``` diff --git a/qa-only/SKILL.md b/qa-only/SKILL.md index c4406d9f..ef521d97 100644 --- a/qa-only/SKILL.md +++ b/qa-only/SKILL.md @@ -101,6 +101,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 ``` diff --git a/qa/SKILL.md b/qa/SKILL.md index 46eb38d2..b9cb4444 100644 --- a/qa/SKILL.md +++ b/qa/SKILL.md @@ -107,6 +107,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 ``` diff --git a/retro/SKILL.md b/retro/SKILL.md index 2c454252..7cd3bd41 100644 --- a/retro/SKILL.md +++ b/retro/SKILL.md @@ -100,6 +100,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 ``` diff --git a/review/SKILL.md b/review/SKILL.md index 9a8cabfb..10429cae 100644 --- a/review/SKILL.md +++ b/review/SKILL.md @@ -104,6 +104,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 ``` diff --git a/scripts/resolvers/preamble/generate-preamble-bash.ts b/scripts/resolvers/preamble/generate-preamble-bash.ts index 49f4f2d0..8e4f083a 100644 --- a/scripts/resolvers/preamble/generate-preamble-bash.ts +++ b/scripts/resolvers/preamble/generate-preamble-bash.ts @@ -91,6 +91,12 @@ _CHECKPOINT_MODE=$(${ctx.paths.binDir}/gstack-config get checkpoint_mode 2>/dev/ _CHECKPOINT_PUSH=$(${ctx.paths.binDir}/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=$(${ctx.paths.binDir}/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=$(${ctx.paths.binDir}/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${ctx.host === 'gbrain' || ctx.host === 'hermes' ? ` # GBrain health check (gbrain/hermes host only) diff --git a/setup-browser-cookies/SKILL.md b/setup-browser-cookies/SKILL.md index d2c91940..0b8da14a 100644 --- a/setup-browser-cookies/SKILL.md +++ b/setup-browser-cookies/SKILL.md @@ -97,6 +97,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 ``` diff --git a/setup-deploy/SKILL.md b/setup-deploy/SKILL.md index f5e82213..5abb267a 100644 --- a/setup-deploy/SKILL.md +++ b/setup-deploy/SKILL.md @@ -103,6 +103,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 ``` diff --git a/ship/SKILL.md b/ship/SKILL.md index c0e14388..2c6a765c 100644 --- a/ship/SKILL.md +++ b/ship/SKILL.md @@ -105,6 +105,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 ``` diff --git a/test/fixtures/golden/claude-ship-SKILL.md b/test/fixtures/golden/claude-ship-SKILL.md index c0e14388..2c6a765c 100644 --- a/test/fixtures/golden/claude-ship-SKILL.md +++ b/test/fixtures/golden/claude-ship-SKILL.md @@ -105,6 +105,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 ``` diff --git a/test/fixtures/golden/codex-ship-SKILL.md b/test/fixtures/golden/codex-ship-SKILL.md index cfa85e6e..1355c58f 100644 --- a/test/fixtures/golden/codex-ship-SKILL.md +++ b/test/fixtures/golden/codex-ship-SKILL.md @@ -94,6 +94,12 @@ _CHECKPOINT_MODE=$($GSTACK_BIN/gstack-config get checkpoint_mode 2>/dev/null || _CHECKPOINT_PUSH=$($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=$($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=$($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 ``` diff --git a/test/fixtures/golden/factory-ship-SKILL.md b/test/fixtures/golden/factory-ship-SKILL.md index cba656ba..fea5ebd2 100644 --- a/test/fixtures/golden/factory-ship-SKILL.md +++ b/test/fixtures/golden/factory-ship-SKILL.md @@ -96,6 +96,12 @@ _CHECKPOINT_MODE=$($GSTACK_BIN/gstack-config get checkpoint_mode 2>/dev/null || _CHECKPOINT_PUSH=$($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=$($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=$($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 ``` diff --git a/test/skill-validation.test.ts b/test/skill-validation.test.ts index 6515d08b..192f3ebf 100644 --- a/test/skill-validation.test.ts +++ b/test/skill-validation.test.ts @@ -1103,7 +1103,7 @@ describe('Step 3.4 test coverage audit', () => { test('ship/SKILL.md contains Step 7', () => { const content = fs.readFileSync(path.join(ROOT, 'ship', 'SKILL.md'), 'utf-8'); expect(content).toContain('Step 7: Test Coverage Audit'); - expect(content).toContain('CODE PATH COVERAGE'); + expect(content).toContain('CODE PATHS'); }); test('Step 3.4 includes quality scoring rubric', () => { @@ -1153,9 +1153,9 @@ describe('Step 3.4 test coverage audit', () => { expect(content).toContain('Empty/zero/boundary states'); }); - test('Step 3.4 diagram includes USER FLOW COVERAGE section', () => { + test('Step 3.4 diagram includes USER FLOWS section', () => { const content = fs.readFileSync(path.join(ROOT, 'ship', 'SKILL.md'), 'utf-8'); - expect(content).toContain('USER FLOW COVERAGE'); + expect(content).toContain('USER FLOWS'); expect(content).toContain('Code paths:'); expect(content).toContain('User flows:'); }); @@ -1165,8 +1165,9 @@ describe('Step 3.4 test coverage audit', () => { describe('ship step numbering', () => { // Allowed sub-steps that are resolver-generated and intentionally nested: - // 8.1 (Plan Verification), 8.2 (Scope Drift), 9.1 (Review Army), 9.2 (Findings Merge), 9.3 (Cross-review dedup) - const ALLOWED_SUBSTEPS = new Set(['8.1', '8.2', '9.1', '9.2', '9.3']); + // 8.1 (Plan Verification), 8.2 (Scope Drift), 9.1 (Review Army), 9.2 (Findings Merge), 9.3 (Cross-review dedup), + // 15.0 (WIP Commit Squash), 15.1 (Bisectable Commits) + const ALLOWED_SUBSTEPS = new Set(['8.1', '8.2', '9.1', '9.2', '9.3', '15.0', '15.1']); test('ship/SKILL.md.tmpl contains no unexpected fractional step numbers', () => { const tmpl = fs.readFileSync(path.join(ROOT, 'ship', 'SKILL.md.tmpl'), 'utf-8');