feat(cli): health --coach mode for first-week adoption walkthrough#576
Merged
Conversation
- New colony health --coach flag; mutex with --fix-plan - 7-step ladder (install_runtime through first_gain_review) - Stage detection: fresh / installed_no_signal / early / mid_adoption - New coach_progress SQLite table (migration 014, schema_version 14) - markCoachStep / listCoachSteps / firstObservationTs storage methods - Shared installed-ides helper between status and health-coach - colony gain emits coach_gain_review observation for step 7 detection Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds `colony health --coach` — a first-week walkthrough that detects new vs returning repos and surfaces the NEXT habit to adopt. Step completion is event-observed, never user-clicked.
Closes `⏳ Adoption coach mode in colony health that walks a new repo through first-week setup` under README §v0.x "Adoption nudges".
OpenSpec
`openspec/changes/health-coach-mode-2026-05-16/CHANGE.md`
Test plan
Merge order
Touches `packages/storage/src/storage.ts`. Recommended last — both #575 (drift detector) and this PR extend `storage.ts` independently. Whichever lands second needs a trivial rebase.
🤖 Generated with Claude Code