Safehouse and agent configuration
A project that should receive ATP installs needs a Safehouse (.atp_safehouse) and a chosen agent id so ATP knows which directory layout (agent-paths in the Station) to write into.
Find the project root
Section titled “Find the project root”ATP walks upward from the current working directory looking for markers such as .git or .vscode within a limited depth to decide the project base.
For an explicit root (CI or a layout without markers):
export SAFEHOUSE_PROJECT_PATH=/absolute/path/to/projectInitialise the Safehouse
Section titled “Initialise the Safehouse”From inside the project (or with SAFEHOUSE_PROJECT_PATH):
atp safehouse initThis creates .atp_safehouse with an empty manifest.yaml and local config. On success, the Station may append this Safehouse path to atp-safehouse-list.yaml when the Station exists.
Home directory safety
Section titled “Home directory safety”ATP refuses to create a Safehouse when the resolved project root is your user home directory—that pattern is usually accidental. To override (only if you intend it):
export ATP_ALLOW_HOME_SAFEHOUSE=1Assign an agent
Section titled “Assign an agent”Install requires a nominated agent. Only names that appear in Station agent-paths are accepted:
atp agent cursorUse the lowercase id that matches your Station configuration (cursor, claude, gemini, codex, kiro, …).
To switch agents later:
atp agent handover to claudeHandover re-applies installs for the new agent where the CLI supports that workflow—verify project files after switching.
Typical first-time sequence
Section titled “Typical first-time sequence”atp station init(once per machine or perSTATION_PATH).cdyour git project.atp safehouse init.atp agent <name>.atp install <package>(see Install, list, and remove).
You cannot install before the Safehouse exists and an agent is set; the CLI should say so clearly.
What is stored
Section titled “What is stored”manifest.yaml lists installed packages with enough metadata to remove them later and to record binary scope (user-bin vs project-bin). It is the source of truth for “what is installed here,” not a second catalog.