Utilities for project root detection and project-specific configuration.
Find the project root by looking for .git directory.
Walks up the directory tree from start_path (or cwd) looking for a .git directory, which indicates the project root.
Find project-specific agent.md file(s).
Checks two locations and returns ALL that exist:
Both files will be loaded and combined if both exist.