.gitspace/ lifecycle scripts, described under Legacy: the repository lifecycle.ls-refs with the requested full ref as its prefix to avoid unrelated refs; v0-only origins must fit their full advertisement within the same limit. Missing or unadvertised refs fail explicitly rather than falling back to the base branch. For a private origin, the import runs through a machine that holds the project's base workspace, so one must be online.| Section | Shows |
| Overview | The workspace's setup at a glance, and About this setup. |
| Machines | Each attached machine, with Attach machine. Each machine's menu has Open terminal, Run checks and Detach. |
| Setup | For the chosen machine: its setup results, each step's Logs, and Run setup again. |
| Values | The secrets and values the workspace uses, by name only, with links to where they are set. |
| Cleared shells | Open cleared shells, with Drop, and Open a cleared shell. |
| Asked of you | Values the project asks you for, with Open My secrets. |
sync tool to check status, sync, diff, discard, restore a backup, or resolve a conflict.PATH additions and plain environment variables from the project's Environment Command environment, or, for projects without a revision, from the repository's .gitspace/bundle.json terminal section..gitspace/services.json, with a name, command, arguments, working directory, environment, and named ports. GitSpace assigns stable ports and runs them through the machine supervisor. Inspector › Services starts and stops them and opens each service and its logs. Each http port gets a workspace URL that only approved browsers and signed callers reach.proc tool. See Agent workflow.| State | What a fresh machine copy has |
| Git commits and branch; staged and unstaged tracked changes | Synced from the cloud working tree |
| Non-ignored untracked files | Synced from the cloud working tree |
| Pi agent conversation | Kept in cloud runtime storage |
Drive files (drive://) | Kept separately from the code repository, in encrypted storage |
| Environment revisions, approvals, values, run records and logs | Kept in the cloud, outside the checkout |
Ignored .env, node_modules, caches, build output | Not synced; recreate them on the machine |
| Machine packages and arbitrary home-directory files | Not workspace state; prepare them again where needed |
| Remote resources | Remain until someone destroys them |
cloud/provision script recorded. Once a project saves its first revision, only its machine profiles' checks and setup run; see What changes with the first revision..gitspace/bundle.json and ordered scripts under .gitspace/lifecycle/<phase>/. See the lifecycle reference for the file formats.machine/prepare, checks and workspace/materialize scripts in that order, each step within 30 minutes. A step whose content isn't approved shows Needs approval and waits. A failed step is recorded; it never blocks the workspace. cloud/provision and cloud/destroy run only when someone asks.| Phase | Put this work here | Do not put this work here |
cloud/provision | Create or adopt resources owned by the durable workspace | Dependency installation in the current checkout |
machine/prepare | Prepare tools needed on this machine | Workspace-specific generated files |
workspace/materialize | Install checkout dependencies and rebuild local configuration | Creating a second cloud stack on each arrival |
workspace/dematerialize | Flush local state and release local leases before leaving | Deleting remote databases, buckets, or deployments |
cloud/destroy | Delete recorded workspace-owned resources when the person retires them, in Environment or by asking the workspace's agent | Cleanup on selection, close, or move |
workspace/dematerialize yet, so a machine keeps an archived workspace's checkout that declares it.workspace/materialize request runs local reconstruction only; it never creates or adopts cloud resources first. If a materialization script requires recorded ownership bindings, establish them through approved cloud/provision or adoption before materializing. Do not copy another workspace's bindings to make setup pass.# gitspace: interactive in its leading comment header and shows an Interactive badge. Runs without a terminal skip it. Run in terminal runs the approved phase in a protected terminal; the panel shows Running in terminal with Open terminal and Cancel. Agents can't run scripts interactively. See the interactive script reference.pre, setup, select, and remove hooks are not aliases for lifecycle phases and do not run. Ask the skill to inventory each command and propose a split:setup into cloud/provision.machine/prepare.pre, setup, or select into ordered workspace/materialize scripts.workspace/dematerialize.remove into cloud/destroy. Never map it to dematerialization: that would delete resources on every move.AGENTS.md, CLAUDE.md and .gitspace/ files: Instructions, browser origins, the terminal section and service routes. It lists checks, setup scripts, values and secret names as suggestions. Add machine profiles for the checks and setup, give the project's secrets their rules, and ask agents to submit approved scripts for anything that needs a secret. Approving the proposal, or saving any revision, moves the project. See Import from the repository.