Paths and lifetimes
| Path or object | Purpose | Lifetime |
|---|---|---|
/workspace/repositories/<name> | Personal checkout of a project repository | Until explicit environment deletion or handover |
/workspace/files | Durable non-repository environment files | Until explicit environment deletion or handover |
/workspace-scratch | Temporary working data | According to visible retention policy |
/home/ubuntu | Private tool logins and user configuration | Environment owner only; never handed over |
/usr/local/share/code-as-usual/README.md | Overview of selected packages for people and AI agents | Immutable project runtime image |
/usr/local/share/code-as-usual/packages/<package-key>/README.md | Authored instructions plus generated package facts | Immutable project runtime image |
/usr/local/share/code-as-usual/environment.json | Machine-readable package paths, commands and environment | Immutable project runtime image |
/run/code-as-usual-services/<service-id>/README.md | Variable names and usage instructions for one connected external service; no secret values | Recreated for each running environment runtime |
/run/code-as-usual-services/<service-id>/ private binding files | Generated credentials and client configuration for the authorized service | Private, read-only mount removed when the runtime stops |
| Terminal | One PTY and bounded display history | Until terminal close or environment stop |
| Environment | Runtime plus persistent files and receipts | Survives terminal and application restart |
| Project | Shared team configuration | Workspace-managed |
The container username is an implementation detail. Use the paths shown by the environment receipt rather than assuming access to host filesystem paths.