Instruction file imported from felixhj/sldl-gui-macos (
.cursor/rules/tracking.mdc). Copyright stays with the author.
This rule is for management of logging changes, and updating our project structure log, in order to allow the cursor agents to maintain context, to quickly understand project architecture without repeatedly analysing files, and to inform decisions and avoid repeating work that has already been done.
There are three log files: /.cursor/logs/changes-scratch.txt /.cursor/logs/changes.txt /.cursor/logs/project-structure.txt
CRITICAL - STEPS FOR USAGE:
- ALWAYS read and reference both these logs at the beginning of every user interaction to understand the current project state and recent changes.
- Update the change log (how to do this explained below) just before you responding to the user with completion status. Include the type of change, description, and impact for each entry, but keep it very succint.
EFFICIENT CHANGE LOGGING APPROACH:
- Only significant operations should be logged (see below for definitions)
- Cursor should initially write to /.cursor/logs/changes-scratch.txt - don't add date/time here
- Cursor should then run /.cursor/logs/append-changes.sh - this pulls the system date/time for accuracy, and automates the process of adding the change to changes.txt and clearing changes-scratch.txt
A "significant operation" includes:
- File creation, deletion, or renaming
- Code modifications that change functionality
- Dependency updates
- Configuration changes
- Build process modifications
- Any change that affects the project structure or behavior