fix: plan mode exception for review log + telemetry writes (v0.9.0.1)#234
Merged
fix: plan mode exception for review log + telemetry writes (v0.9.0.1)#234
Conversation
Add explicit plan-mode exception notes to review log sections in all 3 plan review skill templates and the telemetry section in gen-skill-docs.ts. When Claude runs in plan mode, it self-censors bash writes — but review logging and telemetry write to ~/.gstack/ (user metadata, not project files). The preamble already writes to the same directory successfully. The exception note gives Claude a reasoning chain: safety argument, precedent, and consequence of skipping.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Default opt-in is now "Help gstack get better!" (community mode with stable device ID). If declined, offers anonymous mode as a softer alternative before fully off.
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
/plan-ceo-review,/plan-eng-review, or/plan-design-reviewin plan mode, the review result wasn't saved to disk — the dashboard showed stale or missing entries even though a review was just completed. Same issue affected telemetry logging at the end of every skill. Both now work reliably in plan mode..tmplfilesgen-skill-docs.ts(propagated to all 17+ skills)Test Coverage
expect(content).toContain('PLAN MODE EXCEPTION')in telemetry epilogue testPre-Landing Review
No issues found.
Test plan
bun testpasses (407 tests, 0 failures)🤖 Generated with Claude Code