Git vs arks
Side-by-side comparison of stock Git and arks. Every Verified row is backed by Docker clean-room receipts in the repository; surfaces outside scope fail closed and are listed explicitly.
Note
Authoritative maintainer ledgers live under
.spec/(see the production residual register and CLI surface). Clean-room Docker receipts prove verified claims; host CI alone is advisory.
How to read status
| Label | Meaning |
|---|---|
| Verified | Proven in the Docker clean-room suite against stock Git 2.39.5 with committed receipts |
| Partial / Advisory | Implemented for a documented subset or host-tested only; unfinished flags fail closed |
| Out of scope | Intentionally excluded or handed off externally; fails closed without mutating the repo |
| Owner policy | Controlled by maintainer release or secrets policy rather than missing code |
Core CLI and standard .git
| Area | Stock Git | arks | Status |
|---|---|---|---|
Native CLI on standard .git |
Yes | Yes (in-engine Rust; never spawns git on product paths) |
Verified |
Everyday porcelain (add, commit, status, log, branch, switch, merge, rebase) |
Yes | Yes across verified inventory | Verified |
| CLI option & flag symmetry (Git 2.39.5 pin) | Oracle | 1,852/1,852 options accepted; 4,446/4,549 flag-corpus lines identical (0 unreasoned diffs) | Verified |
Edge-case 1:1 oracle (symlinks 120000, porcelain=v2 unmerged u, --git-dir/--work-tree, unborn HEAD, plumbing stdin) |
Oracle | Byte-exact / exit-code parity across all 6 Docker clean-room oracle suites (CLI oracle receipt) | Verified |
Drop-in alias & PATH shims (git / gh personalities) |
N/A | alias git=arks, arks shim install, ARKS_PERSONALITY=git\|gh |
Verified |
Interactive workflows (rebase -i, add -p/-i/-e, stash -p, editor commit) |
Yes | TTY + hunk -p, -i menu, -e, stash -p, plus scripted env fallback |
Verified |
History & repo ops (replay, maintenance, subtree, replace, --bundle-uri) |
Yes | Supported including local + HTTP(S) bundle-uri and server v2 advertise | Verified |
Reference backends (files and reftable) |
Yes | files ↔ reftable round-trip verified by stock git fsck |
Verified |
| Native Git LFS client and server | External git-lfs |
Native LFS Batch/object client & arks serve LFS server with write/archive guards |
Verified |
| Object integrity & SHA-256 repos | SHA-1 + SHA-256 | fsck mismatch refuse, SHA-1 collision detect-and-refuse, init --object-format=sha256 |
Verified (collision immunity impossible) |
Server proc-receive hook |
Yes | Advertise, divert, ok/ng + rewrite, concurrent lock | Verified |
Desktop GUIs (gitk, git-gui) |
Separate tools | External handoff refuse | Out of scope |
scalar / cloud-sync .git |
Companion / hazard | scalar refuses; cloud-sync over .git unsupported |
Out of scope |
Remotes, server, and forge
| Area | Stock Git | arks | Status |
|---|---|---|---|
| Smart HTTP clone, fetch, push | Yes | Yes (with HTTP Basic auth and credential helpers) | Verified |
| SSH clone, fetch, push | Yes (OpenSSH) | Yes (OpenSSH client helper + in-process SSH server under arks serve) |
Verified |
git:// client and daemon |
git-daemon |
Client + arks daemon (37/37 options parity, byte-identical archive, syslog) |
Verified |
| Dumb HTTP push (WebDAV write subset) | Peer-dependent | LOCK/MKCOL/PUT/MOVE/DELETE, :<ref> delete, Apache mod_dav clean-room twin |
Verified |
push --force-with-lease & --push-option |
Yes | Smart pack lease + hook options; dumb lease via CAS-under-LOCK | Verified |
Shallow (--depth) & partial clone (--filter) |
Yes | --depth, blob:none, tree:0, tree:<n>, blob:limit=<n>, object:type=…, combine:, sparse:oid= |
Verified |
Self-hosted forge (arks serve) |
Not built in | Single-process HTTP + SSH + TLS + REST API + embedded SSR Web UI (multi-repo, RBAC, 2FA, webhooks, private repos, archived guards, session revocation) | Verified |
Forge CLI client (arks pr, issue, auth, release, actions) |
External gh |
All 171 v1 commands verified in Docker; GitHub-platform-only groups (codespace, copilot, extension) fail closed with exit 2 |
Verified (v1 scope) |
| OAuth / credential helpers | Via helpers | OAuth Device Flow + external credential.helper / askpass / TTY / OS wallets |
Verified |
Signing and credentials
| Area | Stock Git | arks | Status |
|---|---|---|---|
SSH commit signing & verification (gpg.format=ssh) |
Yes | Yes (arks commit -S, arks verify-commit) |
Verified |
| OpenPGP & X.509 commit signing | Yes | Yes (gpg.format=openpgp / x509) |
Verified |
Signed tags (tag -s, verify-tag) |
Yes | Yes | Verified |
| Credential helper, askpass, TTY, OS wallets | Yes | Supported first-party subset | Verified |
Performance and concurrency
| Area | Stock Git | arks | Status |
|---|---|---|---|
| Clean-room 19-journey suite (≤0.8× median wall-clock) | Oracle (2.39.5) | 19/19 journeys meet ≤0.8× target | Verified |
| Aggressive ≤0.5× median wall-clock | Oracle (2.39.5) | 19/19 in sole Docker hardlink run (receipt); archival partial/8-of-8 receipts retained | Verified (sole run) |
| Multi-session leases, batch-apply, worktree/ref-shard, shared-index N-way | N/A | Clean-room verified concurrency modes on standard .git |
Verified |
| Live third-party forge latency SLO | N/A | Secrets-gated operator harness ready; unmeasured without secrets (honest SKIP) | Owner policy |
Explicit non-goals and boundaries
- Object store stays
.git: CELIR was not adopted and is withdrawn from the Cargo workspace. - No cryptographic immunity claims: SHA-1 collision detect-and-refuse is verified, but absolute cryptographic immunity for SHA-1 is mathematically impossible.
- No desktop GUI embeds:
gitk,git-gui, andcitoolremain external tools. - No GitHub-proprietary platform extensions:
codespace,copilot,extension, and similar GitHub-only groups exit 2 rather than stubbing behavior. - No invented live-forge latency numbers: Live third-party forge scale benchmarks require operator secrets and real receipts (see Forge scale harness).
- Release timing is owner-controlled: Public binary tags (
v*) and OIDC registry pushes require explicit maintainer approval (see Release channels).