Skip to content

Commit 3eab893

Browse files
garrytanclaude
andcommitted
feat(ship): plan-tune discoverability nudge after first successful ship
Plan-tune cathedral T15 (the ship-side surface; the setup-side surface shipped in T8 with explicit hook-install consent UX). Adds Step 21 to ship/SKILL.md.tmpl: after Step 20 (persist metrics) succeeds, surface /plan-tune once per machine via a marker-gated single-line nudge. Behavior: - If ~/.gstack/.plan-tune-nudge-shown exists → no-op. - If question_tuning is already true → no-op (user already on board). - Otherwise: print one nudge line, touch marker. The nudge mentions both the observational substrate AND the hook-installed auto-decide enforcement so users know what they get when they opt in. Non-blocking — never asks a question, doesn't gate ship completion. To re-show: rm ~/.gstack/.plan-tune-nudge-shown before next ship. Setup-side discoverability shipped in T8 via the hook install prompt (explicit consent + diff preview + backup). Together these two surfaces cover first-install AND first-ship moments — the user discovers plan-tune organically rather than needing to know /plan-tune exists. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent e82efc0 commit 3eab893

2 files changed

Lines changed: 46 additions & 0 deletions

File tree

ship/SKILL.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3086,6 +3086,29 @@ This step is automatic — never skip it, never ask for confirmation.
30863086
30873087
---
30883088
3089+
## Step 21: Plan-tune discoverability nudge (first-successful-ship only)
3090+
3091+
Plan-tune cathedral T15. After a successful ship, surface /plan-tune once
3092+
per machine. Single line, non-blocking, marker-gated so it never re-fires.
3093+
3094+
```bash
3095+
_NUDGE_MARKER="$HOME/.gstack/.plan-tune-nudge-shown"
3096+
_QT=$(~/.claude/skills/gstack/bin/gstack-config get question_tuning 2>/dev/null || echo "false")
3097+
if [ ! -f "$_NUDGE_MARKER" ] && [ "$_QT" = "false" ]; then
3098+
echo ""
3099+
echo "gstack can learn from your AskUserQuestion answers. Run /plan-tune to opt in"
3100+
echo "— it captures which prompts you find valuable vs noisy and (with hooks installed)"
3101+
echo "auto-decides your never-ask preferences."
3102+
touch "$_NUDGE_MARKER"
3103+
fi
3104+
```
3105+
3106+
If the marker exists, OR question_tuning is already on, the nudge is a
3107+
no-op. The marker guarantees at-most-once per machine. To re-enable:
3108+
`rm ~/.gstack/.plan-tune-nudge-shown` before next ship.
3109+
3110+
---
3111+
30893112
## Important Rules
30903113
30913114
- **Never skip tests.** If tests fail, stop.

ship/SKILL.md.tmpl

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -975,6 +975,29 @@ This step is automatic — never skip it, never ask for confirmation.
975975

976976
---
977977

978+
## Step 21: Plan-tune discoverability nudge (first-successful-ship only)
979+
980+
Plan-tune cathedral T15. After a successful ship, surface /plan-tune once
981+
per machine. Single line, non-blocking, marker-gated so it never re-fires.
982+
983+
```bash
984+
_NUDGE_MARKER="$HOME/.gstack/.plan-tune-nudge-shown"
985+
_QT=$(~/.claude/skills/gstack/bin/gstack-config get question_tuning 2>/dev/null || echo "false")
986+
if [ ! -f "$_NUDGE_MARKER" ] && [ "$_QT" = "false" ]; then
987+
echo ""
988+
echo "gstack can learn from your AskUserQuestion answers. Run /plan-tune to opt in"
989+
echo "— it captures which prompts you find valuable vs noisy and (with hooks installed)"
990+
echo "auto-decides your never-ask preferences."
991+
touch "$_NUDGE_MARKER"
992+
fi
993+
```
994+
995+
If the marker exists, OR question_tuning is already on, the nudge is a
996+
no-op. The marker guarantees at-most-once per machine. To re-enable:
997+
`rm ~/.gstack/.plan-tune-nudge-shown` before next ship.
998+
999+
---
1000+
9781001
## Important Rules
9791002

9801003
- **Never skip tests.** If tests fail, stop.

0 commit comments

Comments
 (0)