Commit graph

20 commits

Author SHA1 Message Date
Andras Bacsai
ecd4c51fa6
Add git worktree shared dependencies setup (#7284) 2025-12-17 21:00:15 +01:00
Andras Bacsai
a661ad796c docs: update application architecture and database patterns for request-level caching best practices 2025-12-08 13:46:31 +01:00
Andras Bacsai
b847e3801a Use main repo directories for shared dependencies
Simplified the worktree setup to use the main repository's node_modules
and vendor directories directly instead of creating a separate .shared-deps
directory.

Changes:
- Updated conductor-setup.sh to symlink directly to main repo's directories
- Updated CLAUDE.md to reflect the simpler approach
- Symlinks now point to ../../node_modules and ../../vendor

Benefits:
- Simpler setup with no extra directories
- All worktrees share the main repo's dependencies
- No need to add .shared-deps to .gitignore

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-19 12:28:57 +01:00
Andras Bacsai
ad148eca60 Add automatic shared dependencies for worktrees
Setup Conductor to automatically share node_modules and vendor directories
across all git worktrees to save disk space and speed up development.

Changes:
- Updated conductor-setup.sh to create symlinks to shared dependencies
- Added documentation to CLAUDE.md explaining the system
- Dependencies now stored in .shared-deps/ in main repository
- All worktrees use the same dependency versions automatically

Benefits:
- Saves hundreds of MBs to GBs of disk space
- No need to run npm install/composer install for each worktree
- Consistent dependency versions across all worktrees

Note: Add .shared-deps/ to .gitignore in the main repository

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-19 12:28:57 +01:00
Andras Bacsai
3f7c5fbdf9 Consolidate AI documentation into .ai/ directory
- Create .ai/ directory as single source of truth for all AI docs
- Organize by topic: core/, development/, patterns/, meta/
- Update CLAUDE.md to reference .ai/ files instead of embedding content
- Remove 18KB of duplicated Laravel Boost guidelines from CLAUDE.md
- Fix testing command descriptions (pest runs all tests, not just unit)
- Standardize version numbers (Laravel 12.4.1, PHP 8.4.7, Tailwind 4.1.4)
- Replace all .cursor/rules/*.mdc with single coolify-ai-docs.mdc reference
- Delete dev_workflow.mdc (non-Coolify Task Master content)
- Merge cursor_rules.mdc + self_improve.mdc into maintaining-docs.md
- Update .AI_INSTRUCTIONS_SYNC.md to redirect to new location

Benefits:
- Single source of truth - no more duplication
- Consistent versions across all documentation
- Better organization by topic
- Platform-agnostic .ai/ directory works for all AI tools
- Reduced CLAUDE.md from 719 to ~320 lines
- Clear cross-references between files
2025-11-18 14:58:59 +01:00
Andras Bacsai
12766695c4 feat: add dynamic viewport-based height for compose editor
- Add Alpine.js reactive height calculation based on viewport size
- Monaco editor now responds to window resize events
- Fix Livewire component structure by moving style tag inside root div
- Update CLAUDE.md to document critical single root element requirement
- Set minimum editor height of 300px with responsive maximum
- Use CSS custom properties to pass calculated height to components
2025-10-27 11:18:25 +01:00
Andras Bacsai
231ad85e15 docs(database-patterns): add critical note on mass assignment protection for new columns 2025-10-09 15:36:40 +02:00
Andras Bacsai
5e711fbfeb fix(tests): update Docker command for running feature tests without -it flag
- Removed the `-it` flag from the Docker command used to run feature tests, simplifying the command for users.
- Ensured consistency across documentation regarding the execution of database-dependent tests within the Docker container.
2025-10-07 20:44:36 +02:00
Andras Bacsai
70d0ae2b33 docs(sync): create AI Instructions Synchronization Guide and update CLAUDE.md references
- Added a new document, `.AI_INSTRUCTIONS_SYNC.md`, detailing the organization and synchronization of AI instructions across CLAUDE.md and .cursor/rules/.
- Updated CLAUDE.md to include a note for AI assistants directing them to the new synchronization guide and emphasizing the importance of maintaining consistency.
- Enhanced `.cursor/rules/cursor_rules.mdc`, `README.mdc`, and other related files with cross-references to the synchronization guide for better clarity on maintaining documentation consistency.
2025-10-07 12:52:57 +02:00
Andras Bacsai
2d371893e7 docs(tests): update testing guidelines for unit and feature tests
- Clarified execution rules for unit tests, emphasizing the use of mocking and the prohibition of database connections.
- Specified that unit tests can run outside Docker, while feature tests must run inside Docker with database access.
- Added design principles for testable code, promoting dependency injection and interface usage.
- Enhanced overall structure and clarity of testing documentation to improve developer understanding of testing strategies.
2025-10-07 11:11:03 +02:00
Andras Bacsai
79174f51c3 docs(claude): update testing guidelines and add note on Application::team relationship 2025-09-22 09:44:36 +02:00
Andras Bacsai
14eae54121 feat(laravel-boost): add Laravel Boost guidelines and MCP server configuration to enhance development experience 2025-09-15 12:19:44 +02:00
Andras Bacsai
4c0c16a241 refactor(backlog): remove outdated guidelines and project manager agent files to streamline task management documentation 2025-09-08 09:19:24 +02:00
Andras Bacsai
03f203a266 feat(docs): expand Backlog.md guidelines with comprehensive usage instructions, CLI commands, and best practices for task management to enhance project organization and collaboration 2025-08-26 16:19:31 +02:00
Andras Bacsai
d61c5863f9 feat(docs): add Backlog.md guidelines and project manager backlog agent; enhance CLAUDE.md with new links for task management 2025-08-26 14:43:00 +02:00
Andras Bacsai
0f8b86c253 chore(docs): remove AGENTS.md file; enhance CLAUDE.md with detailed form authorization patterns and service configuration examples 2025-08-26 10:27:38 +02:00
Andras Bacsai
0831905443 feat(docs): update architecture and development guidelines; enhance form components with built-in authorization system and improve routing documentation 2025-08-26 10:27:38 +02:00
Andras Bacsai
0aef9b3f5c docs: add AGENTS.md for project guidance and development instructions 2025-08-22 11:49:58 +02:00
Andras Bacsai
9b83185553 docs(claude): clarify that artisan commands should only be run inside the "coolify" container during development 2025-08-17 14:24:04 +02:00
Andras Bacsai
0b84792871 feat(deployment): add pull request filtering and pagination to deployment and backup execution components
fix(ui): make them more stylish yeah
2025-07-13 12:36:53 +02:00