Skip to content

🔧 Add heart-centered-ai.mdc sync step to generate-detail-levels command - #9

Merged
TechNickAI merged 2 commits into
mainfrom
fix/sync-heart-centered-ai-mdc
Jun 13, 2026
Merged

🔧 Add heart-centered-ai.mdc sync step to generate-detail-levels command#9
TechNickAI merged 2 commits into
mainfrom
fix/sync-heart-centered-ai-mdc

Conversation

@TechNickAI

Copy link
Copy Markdown
Owner

Summary

  • Adds step 5 to the generate-detail-levels process: after regenerating the shorter tiers, sync .cursor/rules/heart-centered-ai.mdc so the always-on IDE rule stays in lockstep with comprehensive.txt

Context

.cursor/rules/heart-centered-ai.mdc (body after frontmatter) is identical to comprehensive.txt and is alwaysApply: true in the IDE. Without an explicit sync step it silently drifts on the next comprehensive edit. AGENTS.md references 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.txt returns nothing (currently identical, sync step keeps it that way)
  • Command reads correctly end-to-end; step numbering is consistent

🤖 Generated with Claude Code

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>
@TechNickAI TechNickAI added the review-sweep Follow-up fixes from PR review comments label Jun 13, 2026

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ 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.

Comment thread .claude/commands/generate-detail-levels.md
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>
@TechNickAI
TechNickAI merged commit c4abe42 into main Jun 13, 2026
10 checks passed
@TechNickAI
TechNickAI deleted the fix/sync-heart-centered-ai-mdc branch June 13, 2026 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

review-sweep Follow-up fixes from PR review comments

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant