Skip to content

Conversation

@tachyon6
Copy link
Contributor

@tachyon6 tachyon6 commented Aug 22, 2025

Summary

  • Fixed incorrect path calculation that caused "System prompt file not found" warnings for Cursor Agent
  • The path navigation was off by one level (cli -> services -> app instead of cli -> services)
  • Updated comments to clarify the actual directory structure

Problem

Cursor Agent was looking for system prompt at:

/Users/tachyon/project/Claudable/apps/api/prompt/system-prompt.md

But the file actually exists at:

/Users/tachyon/project/Claudable/apps/api/app/prompt/system-prompt.md

Solution

Fixed the relative path calculation in unified_manager.py from navigating 3 levels up to 2 levels up, which correctly points to the app directory.

Test Result

After the fix, AGENT.md is successfully created without any warnings:

📝 [Cursor] Created AGENT.md at: .../repo/AGENT.md

Note

This issue only affected Cursor Agent, not Claude Code.

Fixed incorrect relative path calculation in unified_manager.py that was causing
"System prompt file not found" warnings for Cursor Agent. The path navigation
was off by one level, preventing the agent from locating the system-prompt.md file.

- Fixed path from cli -> services -> app (3 levels) to cli -> services (2 levels)
- Updated comments to clarify the actual file location structure
- This only affected Cursor Agent, not Claude Code

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
@tachyon6 tachyon6 merged commit 6f484ef into main Aug 22, 2025
3 checks passed
sa4hnd pushed a commit to sa4hnd/Claudable that referenced this pull request Sep 10, 2025
…t-path

fix: Correct system prompt path resolution for Cursor Agent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants