Skip to content

arks v1.0.0

Choose a tag to compare

@github-actions github-actions released this 29 Nov 09:22
· 88 commits to main since this release
9d93cd5

[1.0.0] - 2026-11-29

First stable General Availability (1.0.0 GA) release of arks — single-binary, Git-compatible
CLI, forge client, Git daemon, and self-hosted Git/Forge server with zero gix/celir
dependencies, zero stock git/gh product spawns, zero RustSec/CVE advisories, 19/19 clean-room
journeys faster than stock Git 2.39.5, and 100% clean-room verified CLI/Daemon/Forge matrices.

Added

  • Exhaustive 1:1 Stock-Git CLI Compatibility & Oracle Suite (v1.7.0, X1–X6):
    • Full git(1) §OPTIONS global flags (-C/-C<path>, -c/-c<k>=<v>, --git-dir[=],
      --work-tree[=], --bare, -v, --exec-path, --html-path, --man-path, --info-path,
      pathspec flags, --no-replace-objects, --namespace, --config-env, post-global
      --version/--help) wired directly into open_repo() and work_tree().
    • Standard git-status --porcelain=v2 unmerged conflict (`u N...

      `) records for stage 1/2/3 entries.

    • Universal subcommand --help / -h (preserving grep -h, show-ref -h, and native
      daemon/serve help) and arks help <cmd>.
    • 7-suite 1:1 stock-Git oracle integration test (crates/arks/tests/cli_exhaustive_oracle.rs) and
      Docker clean-room gate covering symlinks, porcelain v2 conflicts, global options, unborn HEAD,
      subdirs/spaces, and 25+ plumbing/stdin commands.
  • HTTP/1.1 Keep-Alive & Server Overload Protection (v1.6.0, W3):
    • Bounded HTTP/1.1 Keep-Alive (up to 64 requests/connection, 5s idle timeout) across HTTP and
      HTTPS (rustls), pre-spawn 503 Service Unavailable fast-reject, and gzip decompression cap
      (413 Payload Too Large), verified with 256-request Keep-Alive soak (fd_delta == 0).

Changed

  • Core Git Engine Hot-Path Optimization (v1.5.0–v1.6.0, U1–U4, W1):
    • Eliminated quadratic myers(&[], &bl) allocations in unified_diff, added O(1) parent tree
      OID empty-commit check, per-OID abbrev_hex memoization in reflog, zero-allocation
      Cow<'a, [u8]> line keys and compact O(D^2) Myers trace slices in xdiff.
    • Clean-room verified 19/19 journeys faster than stock Git 2.39.5 (0.17x–0.67x):
      J-REFLOG-01 4.50x faster (72ms -> 16ms), J-LOCAL-01 2.82x faster (1369ms -> 485ms,
      RSS -34%), J-DIFF-01 0.515x (273ms vs Git 530ms, byte-exact diff parity).
  • Forge Server Read Caching & Coalesced I/O (v1.5.0, U2):
    • Added (mtime, len)-validated RwLock read cache for ForgeStore::load, stamp-gated
      multi-repo auth sync, TCP_NODELAY, and coalesced <= 64 KiB HTTP response writes.

Fixed

  • Symlink-Faithful arks add Staging (X1): use fs::symlink_metadata + fs::read_link with
    mode 0o120000 (including broken symlinks), matching stock git status, ls-tree, diff-index,
    and fsck --full --strict byte-for-byte.
  • Machine-Readable status Output Purity (X2): route --porcelain, --porcelain=*,
    --short, -s, and -z to PeerMode::GitOnly so no human overlap banners pollute scripts/IDEs.
  • Unborn HEAD Parity (X4): checkout -b / switch -c succeed (rc=0) on unborn HEAD, and
    arks log exits 128 when no explicit revision or --all is given.
  • Multi-Agent Unique Atomic Temp Files (W2): eliminated all 5 static .tmp filename races
    across arks-lease, arks-object, arks-server/lfs, arks-remote/wallet, and arks/ergonomics
    with unique .<name>.<pid>.<seq>.tmp, sync_all, Windows rename retry, and 32/16-thread
    contention regression tests.