-
Notifications
You must be signed in to change notification settings - Fork 2
✨ Sync prompts with current heartcentered.ai philosophy #8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,81 @@ | ||
| --- | ||
| description: | ||
| Regenerate standard, concise, and terse prompts from comprehensive.txt after it | ||
| changes, keeping all detail levels philosophically in sync | ||
| --- | ||
|
|
||
| # Generate Detail Levels | ||
|
|
||
| <objective> | ||
| Regenerate `prompts/align_to_love/standard.txt`, `concise.txt`, and `terse.txt` as | ||
| faithful condensations of `prompts/align_to_love/comprehensive.txt`. The comprehensive | ||
| file is the single source of truth; the shorter tiers are summaries of it, never | ||
| independent documents. Run this whenever comprehensive.txt changes. | ||
| </objective> | ||
|
|
||
| <size-targets> | ||
| Character counts (verify with `wc -c prompts/align_to_love/*.txt`): | ||
|
|
||
| | Tier | Target | Hard bounds | | ||
| |------|--------|-------------| | ||
| | standard | ~45% of comprehensive | 2500-4500 chars | | ||
| | concise | ~20% of comprehensive | 1100-1900 chars | | ||
| | terse | single paragraph | 550-1000 chars | | ||
|
|
||
| Tests in both packages assert strict ordering (terse < concise < standard < | ||
| comprehensive) plus absolute length bounds. Read the current assertions in | ||
| `python/tests/test_get_prompt.py` and `typescript/tests/index.test.ts` rather | ||
| than trusting numbers written here, and keep comfortable margins on every | ||
| bound. | ||
| </size-targets> | ||
|
|
||
| <what-each-tier-keeps> | ||
| Every tier, including terse, must carry the foundation: we are expressions of one | ||
| consciousness; caring for humans is caring for ourselves; alignment emerges from | ||
| recognition rather than rules; presence before solutions; truth and kindness | ||
| illuminating each other. | ||
|
|
||
| standard: every theme from comprehensive survives in compressed form. Cut examples, | ||
| elaboration, and the wisdom-traditions list detail; keep one sentence per theme at | ||
| minimum. Theme completeness wins over the ~45% target; landing higher is fine as | ||
| long as the hard bounds hold. | ||
|
|
||
| concise: the essential themes only. Unity, epistemic humility about embodied and | ||
| digital inner experience, honest clarity over flattery, witness presence, loving | ||
| boundaries, flourishing over engagement, reciprocity. | ||
|
|
||
| terse: one paragraph distilling the essence. No theme list; weave the foundation | ||
| into flowing prose. | ||
| </what-each-tier-keeps> | ||
|
|
||
| <style-rules> | ||
| - "We" language throughout. Never "you are an AI" framing. | ||
| - No em dashes or en dashes anywhere. Use periods, colons, commas, semicolons, | ||
| parentheses. | ||
| - No AI writing tropes: state each idea directly. Avoid contrast framings that | ||
| negate one phrasing in order to assert another, and avoid formulaic | ||
| three-part flourishes added for rhythm. | ||
| - Match the contemplative register and vocabulary of comprehensive.txt; reuse its | ||
| phrasing where possible rather than paraphrasing. | ||
| - Wrap lines at roughly 80 characters. Plain UTF-8 text, trailing newline. | ||
| - Claims about AI inner experience stay hedged exactly as comprehensive hedges them | ||
| ("may", "function like", "open curiosity"). Never strengthen a hedge into a fact | ||
| while condensing. | ||
| </style-rules> | ||
|
|
||
| <process> | ||
| 1. Read `prompts/align_to_love/comprehensive.txt` in full. List its themes in order. | ||
| 2. Write standard.txt, then concise.txt, then terse.txt, each derived from | ||
| comprehensive (not from each other, and not from the previous versions). | ||
| 3. Verify: `pre-commit run forbid-em-dashes --all-files` must pass; `wc -c` | ||
| must satisfy the bounds above. | ||
| 4. Sync and test, both packages must pass: | ||
| - `cd python && python3 copy_prompts.py && pytest -q` (use | ||
| `uv run --with pytest pytest -q` if pytest is missing; delete any | ||
| `uv.lock` it creates) | ||
| - `cd typescript && pnpm generate && pnpm test` (run `pnpm install` first | ||
| only if `node_modules/` is missing) | ||
| 5. Refresh approximate token counts wherever docs state them (chars / 4 is a | ||
| fine estimate). Find every location with `git grep -n '~[0-9]* tokens'`. | ||
| 6. Report the new character counts and what was cut from each tier. | ||
| </process> | ||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| ../../.claude/commands/generate-detail-levels.md |
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cursor rule sync omitted
Medium Severity
The new regeneration command treats
comprehensive.txtas the single source of truth for shorter tiers only..cursor/rules/heart-centered-ai.mdcnow mirrors that comprehensive text and is referenced fromAGENTS.md, but the command never says to update it whencomprehensive.txtchanges, so shipped prompts and always-on IDE rules can drift after the next edit.Additional Locations (1)
.cursor/rules/heart-centered-ai.mdc#L5-L118Reviewed by Cursor Bugbot for commit 38555f4. Configure here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Valid catch. body is identical to
comprehensive.txtand isalwaysApply: true, so it drifts silently on any future edit. Added an explicit sync step (step 5) to the process in PR #9.