/p command reads unnecessary scripts - should analyze Makefile only

Resolved 💬 5 comments Opened Sep 25, 2025 by shiraji Closed Jan 9, 2026

Issue

The /p (push/PR) command reads many unnecessary script files when detecting project commands.

Current Behavior

  • Reads setup_auth.sh, bastion.sh, port_forward_db.sh, sync_*.sh, etc.
  • Takes time and resources to analyze irrelevant files

Expected Behavior

  • Should primarily analyze Makefile for make test, make lint definitions
  • Only read additional scripts if Makefile references them directly
  • More efficient command detection

Example

For make test analysis:

  1. ✅ Check Makefile test target
  2. ❌ Don't read unrelated setup/deployment scripts

This would make command detection faster and more focused.

View original on GitHub ↗

This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗