robots.txt sits at the domain root, applies to the entire path space, and must be fetched by the crawler before any other URL on the site.
graph LR
C[Crawler] --> R[Fetch /robots.txt]
R --> P{Parse rules}
P --> A[Apply per user-agent]
A --> G{URL allowed?}
G -->|Yes| F[Fetch URL]
G -->|No| S[Skip URL]
F --> X[Check Sitemap:]
style R fill:#E8F5E9
style S fill:#FFF3E0