arks for Git
arks — Agent Revision Kinetic System — is a Git-compatible revision CLI and infra, written in Rust, for environments where many concurrent sessions (agents, orchestrators, humans) hit the same repositories.
When tens to hundreds of sessions commit, check out, merge, or move worktrees at once, stock Git’s revision contention becomes the bottleneck. arks keeps the same .git on disk and a symmetric CLI, so you can adopt with alias git=arks (or alias gh=arks) and keep muscle memory while the engine addresses diverse contention scenarios.
Compatibility with documented Git formats and commands comes first. Clean-room timings exist as evidence (Performance); this README does not market a blanket “faster than Git” slogan.
Runtime vs verification: End users run native
arks. Docker clean-room compose is for maintainer verification of compatibility and timing claims — not the product install path.Honesty: Design intent and CLI shells are not automatic Claimed. Surfaces marked Partial / Missing fail closed or document stubs — this README does not invent PASS.
Why arks
| Pain | Response |
|---|---|
| Multi-agent / multi-session orchestration piles onto one revision system | Native Rust engine + product leases and optional high-concurrency shapes aimed at that load |
| Switching tools breaks habits | Git-symmetric CLI; forge client leaves flattened beside porcelain; adopt via alias or PATH shim |
| Parallel proprietary stores break Git tooling | Same filesystem .git in Git-compatible mode — stock Git remains a peer |
arks is not an agent framework. It is the revision layer those environments share. Optional arks agent … is an explicit extension on the same binary — not the core product story.
More narrative: docs/ — especially Concurrent sessions, Completeness, and Overview.
Install / build
Requirements: a recent Rust toolchain (edition 2024 / rust-version 1.85+).
git clone https://github.com/modootoday/arks.git
cd arks
cargo build -p arks --release
The published binary is arks only (debug: target/debug/arks, release: target/release/arks). Put it on your PATH, or invoke it with cargo run -p arks -- ….
cargo run -p arks -- --help
There is no separate arks-hub / arks-daemon / arks-agent product binary.
Quick start
arks init my-repo
cd my-repo
echo "hello" > README.md
arks add README.md
arks commit -m "Initial commit"
arks status
arks log
Remote day-to-day (smart HTTP):
arks clone https://example.com/repo.git
arks fetch
arks pull
arks push
Same repository as Git: you can inspect the tree with stock git anytime — arks does not invent a separate object store for Git-compatible mode.
Personalities (git | gh | arks)
One binary; three muscle memories (design / Partial — not Claimed drop-in proof):
| How you invoke | Personality | Expectation |
|---|---|---|
alias git=arks / basename git / ARKS_PERSONALITY=git |
git | Peer-pure Git argv, stdout, exit codes |
alias gh=arks / basename gh / ARKS_PERSONALITY=gh |
gh | Peer-pure forge-client argv, stdout, exit codes |
Bare arks (default) |
arks | Git-first merged surface; flat forge leaves (pr, issue, …); unified overlap where designed |
CI that today calls git / gh should prefer the peer personalities. Details: CLI personality.
Alias sketch
alias git=arks
# optional forge peer:
alias gh=arks
Honesty:
- Treat aliases as the adoption path for claimed commands — not as a promise that every Git/
ghsubcommand and flag is covered today. - Unimplemented or out-of-scope commands exit non-zero and must not mutate the repository.
- Shell aliases do not apply inside many scripts; use a PATH shim named
git/ghwhen you need non-interactive drop-in behavior.
More detail: docs/alias-git-arks.md.
Self-host (arks serve)
Product hosting umbrella — one process intended for Git HTTP + SSH + forge API (independent self-hosted forge). arks serve ≠ forge client. Flat client leaves (arks pr, arks issue, …) talk to a forge base URL; they do not start the host.
# Narrow Claimed HTTP git wire path (opt out of SSH/forge modules):
arks serve --no-ssh --no-forge /path/to/repos
# Product default shape (HTTP+SSH+forge) — B1/B2/B9 + IW-FORGE-SERVE hosting e2e Claimed:
# arks serve /path/to/repos
| Surface | Role | Tip honesty |
|---|---|---|
arks serve |
Host umbrella (--no-http / --no-ssh / --no-forge) |
HTTP git wire Claimed where evidenced; SSH B1/B2 Claimed; TLS B9 Claimed; forge-in-serve hosting e2e Claimed (20261111011425-self-host-forge-e2e); push rulesets enforced (3-OS CI) |
arks serve config … |
Server config store | B7 Claimed (HTTP+SSH+forge) zero-downtime rebind; Windows file-mtime reload Claimed by CI (≠ hub) |
arks serve ssh-smoke |
Local SSH banner smoke | Claimed (diagnostic) (smoke ≠ B1/B2 Claimed e2e) |
arks daemon |
git:// peer (git-daemon symmetry) |
37/37 Parity + 2 arks-only, Missing=0 in Docker clean-room (git 2.39.5; Windows behaviour CI-tested); archive B5 Claimed; B5+ Claimed syslog facility/priority |
Flat arks pr / issue / auth / … |
Forge client | 171/171 v1 rows Claimed, Missing=0, Deferred=0 (Docker re-receipt + 6/12-agent local forge multi-agent receipt); B3 HTTPS remote Claimed; OUT groups refuse exit 2; never spawns gh |
Personality git/gh |
Drop-in + argv/corpus symmetry | 1,852/1,852 pin-2.39.5 options accepted, 4,446/4,549 flag-corpus lines SAME (77 post-pin + 26 design, 0 timing/open/unreasoned, 20261128052500-final-pre-release-receipt); CLI survey 128 Verified / 36 reasoned Partial; drop-in + expand + named exit rows Claimed (20261111020515-personality-expand, 20261111025151-personality-exit-tables) |
arks agent … |
Optional review / CEV extension | B4 Claimed fixture e2e; plain-HTTP smokes Claimed (diagnostic); HTTPS TLS client + live vendor smoke (host-advisory); not git-alias DoD |
Ports: prefer 22 / 80 / 443 / 9418; label 2222 / 8080 as demo/alternate — Ports, Self-host.
Symmetry DoD pillars
Public clean-room Definition of Done is three peer-symmetry pillars (plus adjacent self-host e2e — not a fourth Claimed pillar):
| Pillar | Stock peer | Product entry |
|---|---|---|
| 1. CLI | git |
arks <cmd> / personality git |
| 2. Daemon | git-daemon |
arks daemon |
| 3. Forge client | gh |
flat arks pr / issue / … (transitional arks hub …) |
Completion milestone for this docs pass means: owning design SoTs + CLI shell are coherent, all three pillars pass pin pre-release symmetry (Missing=0, untracked=0), and honesty matches Spec residual rows (B1–B5 / B5+ / B7(HTTP+SSH+forge) / B9 Claimed; 171/171 hub v1 Claimed; 37/37 daemon Parity; 4,446/4,549 flag-corpus SAME with 0 unreasoned DIFFs) — while keeping non-goals and owner-policy holds explicit. See Completeness.
Product paths never spawn git or gh. Stock peers are oracles for clean-room only.
Common workflows
| You want to… | Try |
|---|---|
| Create a repo | arks init |
| Stage / commit | arks add, arks commit -m "…" |
| Inspect history | arks status, arks log, arks show, arks diff |
| Branches | arks branch, arks checkout / arks switch, arks merge |
| Remotes | arks remote, arks fetch, arks pull, arks push, arks clone |
| Sign / verify (SSH) | arks commit -S with gpg.format=ssh; arks verify-commit |
| Self-host (HTTP git) | arks serve --no-ssh --no-forge <dir> |
| Forge client | arks pr list, arks issue list, arks auth status |
Fuller tables: docs/workflows.md. For a command list, run arks --help.
Concurrent sessions (honest bar)
arks ships product leases and a claimed high-concurrency shape (lease + batch-apply + worktree/ref-shard), plus shared-index N-way work under clean-room receipts. Public copy treats these as claimed / verified only where receipts exist — not as “all races fixed.”
Plain-language overview: docs/concurrent-sessions.md.
Performance (evidence, not slogans)
Clean-room Docker verification compared stock Git 2.39.5 to release arks on the journey allow-list. Prefer reading timings as parallelism / wall-clock evidence for contended workflows, not as empty speed marketing:
| Bar | Result | Evidence |
|---|---|---|
| ≤0.8× median wall-clock on all journeys | 19/19 | G19 remeasure c1b0b24 · historical M17 |
| Aggressive ≤0.5× | 19/19 sole Docker G19 (20261111032000-eng-hard-alias-hardlink-g19); prior U-ladder (20261111003444-u-ladder-partial-gap-close) and historical 8/8 at 79fc9bf archival |
PF5 19/19 · tip matrix · PF5 8/8 historical |
Charts and honesty labels: docs/performance.md. Prefer ratios over absolute ms across receipts (seeds change). Host-only timings are advisory only.
Limits (what is not claimed)
Short and honest — see docs/limits.md and Git vs arks:
- Not a GUI embed (
gitk/git-guihandoff only),scalarproduct, agent orchestrator, or “WAN-safe by default” host. - The Git object store remains ordinary filesystem
.git. CELIR was not adopted and is withdrawn from the Cargo graph; arks does not replace.gitobjects in Git-compatible mode. - Forge client leaves (171/171 v1 rows) and self-host forge-in-serve e2e are Claimed in clean-room receipts; GitHub-platform-only groups (such as Actions/Codespaces/Copilot) fail closed with exit 2.
- In-process SSH under
arks serveis B1/B2 Claimed (20261110235116-claimed-ssh); product TLS B9 Claimed; HTTP+SSH+forge rebind B7 Claimed. Ops SSHD + stdio pack remains valid. - Claimed (with receipts): pin-2.39.5 argv/flag-corpus symmetry (1,852/1,852 options, 4,446/4,549 SAME, 0 unreasoned DIFFs);
--depthshallow; partial-clone filter subset (blob:none,tree:0); OpenPGP / X.509 /tag -s/verify-tag; credential helper / askpass / TTY / first-party OS wallets; smart HTTP server wire (G15 / G29–G32 / G36 Basic); residual B1/B2/B3/B4/B5/B5+/B7/B9 per arks-claimed-residual-gates. - Advisory / Impossible / blocked: absolute SHA-1 collision immunity Impossible (detect+refuse Claimed); full multi-device sync safety Impossible; live G8 latency SLO needs secrets + receipt (never invent PASS); crates.io timing (L9) owner policy; trimmed over-design (
arks host-envproduct path, in-process LFS, CELIR).
Documentation
Human-facing site (GitHub Pages): docs/
| Page | Topic |
|---|---|
| Home | Motive + product intro |
| Overview | What arks is (and is not) |
| Completeness | Completion milestone — what “done” means (honest Partial) |
| Getting started | Native build and first commands |
| CLI personality | git / gh / arks dispatch |
Alias git → arks |
Drop-in adoption path |
| Workflows | Everyday command map |
| Self-host | arks serve self-hosted forge |
| Ports | Normative 22/80/443/9418 vs demo 2222/8080 |
| Forge client | Flat arks pr / … (≠ host) |
| Daemon | arks daemon ↔ git-daemon |
| Agent | Optional arks agent … Partial |
| Concurrent sessions | Contention motive and concurrency honesty |
| Git vs arks | Honest feature comparison |
| Performance | Clean-room git vs arks timings |
| Limits | What is not claimed |
| Contribute | Bugs, docs, maintainer pointers |
Design specs, verification matrices, and agent routing live under .spec/, verify/, and AGENTS.md — they are for maintainers, not the default product read.
Contributing
Bug reports and pull requests are welcome on modootoday/arks. Keep product docs in English. See docs/contribute.md. Maintainers: start from AGENTS.md.
License and security
- License: Apache-2.0 OR MIT (
LICENSE,LICENSE-APACHE,LICENSE-MIT) - Vulnerability reports:
SECURITY.md(private GitHub Security Advisories)
Metadata
Release files for arks-cli 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| arks_cli-0.1.1-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details for arks_cli-0.1.1-py3-none-win_amd64.whl |
| arks_cli-0.1.1-py3-none-manylinux_2_39_x86_64.whl | Python 3 | none | Linux glibc 2.39+ x86-64 | Details for arks_cli-0.1.1-py3-none-manylinux_2_39_x86_64.whl |
| arks_cli-0.1.1-py3-none-macosx_11_0_arm64.whl | Python 3 | none | macOS 11.0+ ARM64 | Details for arks_cli-0.1.1-py3-none-macosx_11_0_arm64.whl |
Total release size: 19.2 MB
Release files / arks_cli-0.1.1-py3-none-win_amd64.whl
| Download URL | arks_cli-0.1.1-py3-none-win_amd64.whl |
|---|---|
| Size | 6.5 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
73aed54875477d55f0960361dec72926873bcc6211500f90fd40c3fda2ebd1e1
|
|
BLAKE2b-256 checksum How to use checksums |
c95e025e227bf8ac6c6ae7fa2e1e6cf2860063326d35c3f7e3019d11b32157ad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.
Transparency logRelease files / arks_cli-0.1.1-py3-none-manylinux_2_39_x86_64.whl
| Download URL | arks_cli-0.1.1-py3-none-manylinux_2_39_x86_64.whl |
|---|---|
| Size | 6.8 MB |
| Tags | Linux glibc 2.39+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
4367a40bda2e2cc685fcd3cd9e2e31a353317b05ec19b22831ea306d91b2a344
|
|
BLAKE2b-256 checksum How to use checksums |
bf47806bcaf3e4d4655506d994bd441e07d06cc811022b800824e7248196cb35
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.
Transparency logRelease files / arks_cli-0.1.1-py3-none-macosx_11_0_arm64.whl
| Download URL | arks_cli-0.1.1-py3-none-macosx_11_0_arm64.whl |
|---|---|
| Size | 5.9 MB |
| Tags | Python 3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
4d6003b23a4d975c2f1b17a93f1ce12aaed5ba3c861bd4e9f23b360714d24cdc
|
|
BLAKE2b-256 checksum How to use checksums |
7415265e9ac7b2db9571d264f9025cd8567fc68b38daa2ab742240a179cd60f3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.
Transparency logSecurity for arks-cli 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 3 files in this release have been uploaded with provenance metadata.
Attestation for arks_cli-0.1.1-py3-none-win_amd64.whl
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.