pub const LOCAL_DIR: &str = ".ai/local";
The layer’s checkout-local half, relative to APP_DIR: never in the build context (the ignore file excludes it), and the one directory the deployed process writes.
APP_DIR