OrbitSpaceDocs
Use OrbitSpace

Workspaces and source control

A workspace gives Agents a durable context for a project while keeping repository access and change publication explicit.

Connect a private repository

Create a source-control connection with a credential appropriate for the provider. For GitHub, use an installed GitHub App with access limited to the repositories you need. If a connection uses a token or SSH key, store it as a source-control Secret and select its reference.

Repository visibility, clone access, branch writes, pull requests and CI checks can require different permissions. Grant only the operations the workflow needs. An App installation must include the repository before an Agent can use it.

Bind repositories to a workspace

A workspace may bind multiple repositories. Give each repository a distinct checkout path under the workspace; do not overlay several repositories at its root. Review the configured paths before submitting work.

text
workspace/
  frontend/
  backend/
  shared-library/

These are illustrative paths, not reserved directory names. The actual binding determines where each repository is materialized and which revision is selected.

Understand execution isolation

Repository-backed work can use isolated Git worktrees so concurrent attempts do not edit the same working tree. A worktree shares Git objects with its source repository but has its own checked-out files and index. It does not inherently create a VM or start a new Worker.

A new conversation still belongs to its selected workspace. For a clean unrelated experiment, create another workspace rather than assuming a new Chat empties the current one.

Review and publish changes

Inspect repository changes and retained patches before applying or publishing them. A task's filesystem changes are not automatically equivalent to a merge into the default branch.

Conflicts require resolution against the current target revision followed by relevant validation. If a workflow supports autonomous conflict resolution, the Agent still works through that workflow's permissions and evidence requirements. Do not overwrite a branch simply to make a merge succeed.

Avoid credential leakage

Keep credentials out of repository URLs, prompts and committed configuration. A Secret reference is not a grant by itself; connection permissions and the admitted Environment govern its use. Revoking a credential can affect future operations even if an older workspace binding still exists.

See security boundaries and task results.