KIT

Reference snapshot · source revision 6820997f383188141ff4e40d77eb1a38db490464

kit and Git parity

This file defines what "usable like Git" means for kit. It states the scope, the non-goals, the machine-output contract and the documented divergences. The per-command matrix is on kit.storage/parity. It gives each command the status parity, divergent or non-goal.

Scope

kit targets CLI behavior parity with Git. A command and flag that a person or an agent types in Git behaves the same way in kit, unless this file lists a divergence. kit keeps its own properties:

kit does not target on-disk or wire interoperability with Git repositories. kit objects are BLAKE3 objects. A BLAKE3 object store cannot share bytes with the SHA-1 object store of Git.

The kit git commands are the one exception. They translate objects between the two stores. kit git export writes a deterministic Git mirror (SPEC-GIT-BRIDGE). kit git import writes a signed downstream fork of a Git remote (SPEC-GIT-IMPORT). Both commands translate every object. Neither shares bytes between the stores. Two-way sync is a non-goal.

Inherent divergences

These divergences stay while kit uses BLAKE3.

Non-goals

Safety divergences

kit refuses some silent data loss that Git allows. These divergences stay even when a command reaches parity on everything else.

Machine-output contract

Output that tools parse is stable and has the shape of the Git output. Object IDs are the only difference. They are 64 hex characters.

Output channels

kit writes human summaries to stderr. kit writes data to stdout. A clean kit status prints nothing to stdout, so a pipeline stays quiet. Git writes some of these summaries to stdout.

The summaries have the shape of the Git summaries:

kit does not print the Git object-count and delta-compression lines. kit transfers one object per pack and has no cross-branch delta graph. Those numbers would be invented.

Documented divergences

Deferred flags

kit does not implement these flags. A command with a missing flag is divergent on the matrix.