-
Notifications
You must be signed in to change notification settings - Fork 7
refactor(commands): migrate log sudolang program to slash command #23
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
base: main
Are you sure you want to change the base?
Conversation
|
@cursor 🙏 review |
🔬 Code ReviewOverviewThis PR migrates the log command from a rule file ( Critical Issues1. Duplicate Function Definition ❌Location: The
Recommendation: Remove one of the duplicate definitions. 2. Template Formatting Error ❌Location: Line 9 Missing space after the emoji. Should be: 3. Inconsistent Documentation
|
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.
Pull Request Overview
This PR migrates the previous SudoLang-based logging rule into a slash command-style definition under ai/commands, consolidating guidance and helper routines for generating changelog entries.
- Remove legacy ai/rules/log.mdc.
- Create a new slash command spec in ai/commands/log.md with template, emoji taxonomy, constraints, and helper functions.
- Update guidance to log changes into CHANGELOG.md.
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| ai/rules/log.mdc | Removes the old SudoLang rule for logging epics, as part of the migration. |
| ai/commands/log.md | Introduces the new log slash command with templates, constraints, and helper routines. |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
|
@janhesters This needs to be brought up to date with the most recent version of the log program. |
c1fdcf7 to
4a27ef3
Compare
|
@ericelliott done |
|
@cursor please review |
🔬 Code Review - CRITICAL ISSUES FOUND🚨 BLOCKING: Unresolved Merge ConflictsThe PR cannot be merged due to unresolved merge conflicts in Lines with conflicts:
Required Actions1. Resolve Merge Conflicts ❌ BLOCKERThe file must be properly merged. Based on the context that this should be "up to date with the most recent version of the log program," you need to:
2. File Reference in please.mdc
|
| Aspect | HEAD (Epic-focused) | Commit (Change-focused) |
|---|---|---|
| Purpose | Log completed epics | Log repository changes |
| Template | $emoji - $epicName - $briefDescription |
$emoji - $change1 |
| Guidance | Comprehensive "What to Log" / "DO NOT LOG" | Minimal constraints |
| Target file | Not specified (uses activity-log.md per please.mdc) | CHANGELOG.md |
| detectChanges() | Includes gitAdd at end |
No gitAdd at end |
Recommendation
Based on "@janhesters This needs to be brought up to date with the most recent version of the log program," I recommend:
Keep the HEAD version which includes:
- ✅ Epic-focused approach (more valuable)
- ✅ Comprehensive "What to Log" guidance
- ✅ Clear "DO NOT LOG" list
- ✅ Brief description constraint (< 50 chars)
- ✅ Better
detectChanges()withgitAdd
Then apply these fixes:
- Fix spacing issue on line 39 (if keeping any part):
- $emoji -$change2→- $emoji - $change2 - Update
please.mdcline 32 to reference correct location - Consider explicitly stating target file is
activity-log.mdto match please.mdc
Status
Cannot merge until conflicts are resolved. The file is currently in an invalid state with merge conflict markers that will break any system trying to parse it.
Learn more about Cursor Agents
|
@ericelliott this is ready |
No description provided.