🔧 Add heart-centered-ai.mdc sync step to generate-detail-levels command - #9
Merged
Conversation
The .cursor/rules/heart-centered-ai.mdc body mirrors comprehensive.txt exactly and is always-applied in the IDE. Without an explicit sync step, it drifts silently whenever comprehensive.txt is updated. Adds step 5 to the process section with a one-liner to re-stamp the file from the current comprehensive.txt after the frontmatter. Addresses cursor[bot] review comment on PR #8. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 7a035b8. Configure here.
The forbid-em-dashes hook should run after .cursor/rules/heart-centered-ai.mdc is updated, not before. Moving the sync to step 3 ensures all files are in their final state when pre-commit validates them. Addresses cursor[bot] comment on PR #9. Co-Authored-By: Claude Sonnet 4.6 <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
generate-detail-levelsprocess: after regenerating the shorter tiers, sync.cursor/rules/heart-centered-ai.mdcso the always-on IDE rule stays in lockstep withcomprehensive.txtContext
.cursor/rules/heart-centered-ai.mdc(body after frontmatter) is identical tocomprehensive.txtand isalwaysApply: truein the IDE. Without an explicit sync step it silently drifts on the next comprehensive edit.AGENTS.mdreferences this file, so drift means the AI context the IDE loads becomes stale.The fix adds a clear one-liner to re-stamp the file while preserving the 5-line YAML frontmatter.
Addresses cursor[bot] comment on merged PR #8 (
5858ae0e-1d12-4075-97c0-38211f10a364).Test plan
diff <(sed '1,5d' .cursor/rules/heart-centered-ai.mdc) prompts/align_to_love/comprehensive.txtreturns nothing (currently identical, sync step keeps it that way)🤖 Generated with Claude Code