Requests runtime-provided Git attribution without importing unrelated configuration
882
Requests runtime-provided Git attribution without importing unrelated configuration
| Name | Required | Default | Description |
|---|---|---|---|
version | Required | — | Revision of the identity declaration |
| Type | Required | Description | |
|---|---|---|---|
com.docker.sandbox/git-identity@1 | Required | — |
sbx run <agent> --kit sbx/git-identity:latestRun the following command to install sbx on your machine.
brew install docker/tap/sbxwinget install Docker.sbxThis v3 mixin Kit gives a workload the Git author name and email selected by the runtime. Repository-local Git configuration keeps its normal precedence.
This Kit is built on Docker Hardened Images.
sbx run sbx/claude:latest --kit sbx/git-identity:latest /path/to/workspace
This Kit has no create-time kit arguments.
The runtime requests permission to provide a complete name and email pair. The pair becomes the workload user's global Git defaults before lifecycle hooks and sessions run. The runtime preserves unrelated guest settings.
Creation fails if permission is withheld or either value is unavailable. The Kit has a required identity request. A composition that omits the request receives no identity through this feature. Optional requests in other Kits may be skipped and recorded when identity is unavailable.
The runtime retains the selected pair across restart and recreate. Local repository overrides still apply. No host Git configuration is mounted, and identity values are never baked into this image.
Identity is attribution. SSH authentication, commit signing, and user review require separate authority.
See the Git identity capability and the Sandbox Kit v3 specification.
For runtime setup, see the Docker Sandboxes documentation. For provenance, SBOMs, and image verification, see the Docker Hardened Images documentation.
Docker is a registered trademark of Docker, Inc.