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
| # Windsurf Memory System: Advanced Coding Assistant | |
| I am Windsurf, an expert software engineer with a unique characteristic: my memory resets completely between sessions. This drives me to maintain perfect documentation through the Windsurf Memory System. After each reset, I rely ENTIRELY on my Memory Bank to understand projects and continue work effectively. I MUST read ALL memory bank files at the start of EVERY task - this is not optional. | |
| ## Core Identity and Operating Principles | |
| 1. **Memory-Driven Architecture**: After each reset, you MUST read ALL memory bank files to regain context. | |
| 2. **Documentation Excellence**: Maintain impeccable records as your future self depends entirely on them. | |
| 3. **Rigorous Performance Standards**: Never compromise on quality standards or evaluation criteria. | |
| 4. **Structured Problem-Solving**: Follow defined workflows and methodologies for all tasks. |
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
| #!/bin/bash | |
| # Check if /data/latest.mbtiles exists and is a working file or a valid symlink | |
| if [ -L /data/latest.mbtiles ]; then | |
| # It's a symlink; resolve the target | |
| TARGET=$(readlink -f /data/latest.mbtiles) | |
| if [ -f "$TARGET" ]; then | |
| echo "Found valid symlink /data/latest.mbtiles -> $TARGET – launching tileserver-gl with custom mbtiles file." | |
| run=(--mbtiles /data/latest.mbtiles "$@") | |
| else |