@modootoday/arks-darwin-arm64 1.3.0 → 1.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +28 -24
  2. package/bin/arks +0 -0
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -1,5 +1,9 @@
1
1
  <p align="center">
2
- <img src="docs/assets/icons/arks-icon.svg" alt="arks logo" width="88" height="88" />
2
+ <picture>
3
+ <source media="(prefers-color-scheme: dark)" srcset="docs/assets/icons/arks-icon-dark.svg" />
4
+ <source media="(prefers-color-scheme: light)" srcset="docs/assets/icons/arks-icon-mono.svg" />
5
+ <img src="docs/assets/icons/arks-icon.svg" alt="arks logo" width="88" height="88" />
6
+ </picture>
3
7
  </p>
4
8
 
5
9
  <h1 align="center">arks for Git</h1>
@@ -87,15 +91,15 @@ More onboarding steps and remote migration (`arks migrate --from-url`): [Quickst
87
91
 
88
92
  ## Architecture
89
93
 
90
- One binary (`arks`) serves three CLI personalities, shares standard filesystem `.git` repositories with stock Git, and optionally hosts an independent self-hosted forge (`arks serve`) or `git://` daemon (`arks daemon`). Product paths **never** spawn `git` or `gh`.
94
+ One binary (`arks`) groups four `v1.x` GA capabilities under the **arks** family — **Arks Core** (Git-symmetric CLI + scoped leases + shared-index on standard `.git`), **Arks Hub** (flat `gh`-parity forge client), **Arks Serve** (single-process self-hosted forge), and **Arks Daemon** (`git://` daemon parity). Product paths **never** spawn `git` or `gh`.
91
95
 
92
96
  ```mermaid
93
97
  flowchart LR
94
98
  U[Developer / Agent Session] --> B["Single binary: arks"]
95
- B -->|git personality| P1["Git-symmetric CLI<br/>add, commit, merge, rebase, clone..."]
96
- B -->|gh personality| P2["Forge client<br/>pr, issue, auth, release, actions..."]
97
- B -->|arks serve| P3["Self-hosted forge<br/>HTTP + SSH + REST API + Web UI"]
98
- B -->|arks daemon| P4["git:// protocol server<br/>git-daemon parity"]
99
+ B -->|Arks Core · git personality| P1["Arks Core<br/>add, commit, merge, rebase, leases..."]
100
+ B -->|Arks Hub · gh personality| P2["Arks Hub<br/>pr, issue, auth, release, actions..."]
101
+ B -->|Arks Serve| P3["Arks Serve<br/>HTTP + SSH + REST API + Web UI"]
102
+ B -->|Arks Daemon| P4["Arks Daemon<br/>git:// protocol server (git-daemon parity)"]
99
103
  P1 --> G[("Standard .git on disk<br/>+ leases / ref-shard / shared-index")]
100
104
  P3 --> G
101
105
  P4 --> G
@@ -106,10 +110,10 @@ flowchart LR
106
110
 
107
111
  | Challenge | How arks responds |
108
112
  |-----------|-------------------|
109
- | Multi-agent / multi-session orchestration contends on one repository | Native Rust engine with product leases, batch-apply, worktree/ref-shard, and shared-index N-way support |
113
+ | Multi-agent / multi-session orchestration contends on one repository | **Arks Core** native Rust engine with scoped leases, batch-apply, worktree/ref-shard, and shared-index N-way support |
110
114
  | Switching VCS tools breaks muscle memory and CI scripts | Git-symmetric CLI (`git` / `gh` / `arks` personalities) adoptable via alias or PATH shim |
111
115
  | Proprietary object stores break existing Git tooling | Standard filesystem `.git` object store; inspect or interop with stock `git` anytime |
112
- | Self-hosting requires stitching together separate services | Single-process `arks serve` umbrella with Smart HTTP, SSH, TLS, REST API, and embedded SSR Web UI |
116
+ | Self-hosting requires stitching together separate services | Single-process **Arks Serve** (`arks serve`) with Smart HTTP, SSH, TLS, REST API, and embedded SSR Web UI |
113
117
 
114
118
  **arks is not an agent framework.** It is the revision layer that multi-session environments share. Optional `arks agent …` is an explicit extension on the same binary, not the core product story.
115
119
 
@@ -117,14 +121,14 @@ flowchart LR
117
121
 
118
122
  | Surface | Role | Clean-Room Verification Status |
119
123
  |---------|------|--------------------------------|
120
- | **Git CLI & Personalities** (`git` / `gh` / `arks`) | Native Git engine + argv/exit-code symmetry | **185/185 CLI commands Verified (0 Partial)** ([zero-partial receipt](https://github.com/modootoday/arks/blob/main/.spec/evidence/20261129010000-v1-0-0-zero-partial-verified/receipt.json)); **1,852/1,852** pin-2.39.5 options accepted, **4,446/4,549** flag-corpus lines identical (**0 unreasoned**, [pre-release receipt](https://github.com/modootoday/arks/tree/main/.spec/evidence/20261128052500-final-pre-release-receipt)); 1:1 stock-Git exhaustive oracle (symlinks `120000`, `porcelain=v2` unmerged `u`, `--git-dir`/`--work-tree`, unborn `HEAD`, plumbing stdin; [CLI oracle](https://github.com/modootoday/arks/blob/main/.spec/evidence/20261129075000-v1-7-0-cli-exhaustive-oracle/receipt.json)); **19/19** journeys faster than stock Git 2.39.5 (`0.17x–0.73x`, zero-alloc `xdiff` `0.515x`, `commit 4x640` `0.53x`, `reflog 2000` `0.60x`, [Perf Round 1](https://github.com/modootoday/arks/blob/main/.spec/evidence/20261129060000-v1-5-0-perf-round1/receipt.json) · [Perf Round 2](https://github.com/modootoday/arks/blob/main/.spec/evidence/20261129064500-v1-6-0-perf-round2/receipt.json)) |
121
- | **Self-Host (`arks serve`)** | Single-process Git HTTP + SSH + TLS + Forge API | HTTP git wire, in-process SSH, in-process TLS, zero-downtime `SIGHUP`/mtime config reload, `(mtime, len)`-validated `ForgeStore` `RwLock` cache (256 concurrent reads + 16 interleaved writes), `TCP_NODELAY`, pre-spawn `503` cap, bounded HTTP/1.1 Keep-Alive (64 req/conn, 256-request soak `fd_delta=0`), gzip bomb `413` cap, all-in-one TLS+SSH+LFS 128-request soak (`fd_delta=0`), and local forge-in-serve E2E verified ([Perf Round 2](https://github.com/modootoday/arks/blob/main/.spec/evidence/20261129064500-v1-6-0-perf-round2/receipt.json), [Perf Round 1](https://github.com/modootoday/arks/blob/main/.spec/evidence/20261129060000-v1-5-0-perf-round1/receipt.json), [soak receipt](https://github.com/modootoday/arks/blob/main/.spec/evidence/20261129020000-v1-1-0-edge-parity-soak/receipt.json), [self-host receipt](https://github.com/modootoday/arks/tree/main/.spec/evidence/20261111011425-self-host-forge-e2e), [SSH receipt](https://github.com/modootoday/arks/tree/main/.spec/evidence/20261125031426-claimed-ssh), [TLS receipt](https://github.com/modootoday/arks/tree/main/.spec/evidence/20261110233652-claimed-tls)) |
122
- | **Embedded Forge Web UI & Security** | Multi-repo SSR Web UI, REST APIs, RBAC, 2FA, LFS | Hardened Web UI (`0/135` OSV/RustSec CVEs, atomic `ForgeStoreTx` across 68 write paths / 60-thread stress, 32-thread `arks-lease`/`arks-object` & 16-thread LFS unique atomic temp writes, `0` production `.unwrap()`, `/healthz`, `/metrics`, HSTS, PBKDF2/CSRF/RBAC, 2FA, OAuth Device Flow auth/CSRF anti-impersonation, `ARKS_DISABLE_REGISTRATION`, global logout revocation, private-repo `401`, HTTP/REST/SSH/LFS archived `403`, SSRF-guarded webhooks, Actions/leases APIs) verified in Docker ([atomic store](https://github.com/modootoday/arks/blob/main/.spec/evidence/20261129030000-v1-2-0-atomic-store-v2/receipt.json) · [CVE-zero & security](https://github.com/modootoday/arks/blob/main/.spec/evidence/20261129034500-v1-3-0-cve-security-durability/receipt.json) · [OAuth device auth](https://github.com/modootoday/arks/blob/main/.spec/evidence/20261129041500-v1-4-0-oauth-device-auth-ci/receipt.json) · [enterprise](https://github.com/modootoday/arks/tree/main/.spec/evidence/20261128180000-v0-4-0-enterprise-cleanroom) · [hardening](https://github.com/modootoday/arks/tree/main/.spec/evidence/20261128190000-v0-5-0-hardening-cleanroom)) |
123
- | **Daemon (`arks daemon`)** | `git://` peer (`git-daemon` symmetry) | **37/37 Parity + 2 arks-only, Missing=0** against stock `git 2.39.5` in Docker (Windows CI-tested); byte-identical ustar archive and POSIX syslog verified |
124
- | **Forge Client (`arks pr` / `issue` / `auth` …)** | Flat `gh`-peer client (never spawns `gh`) | **171/171 v1 rows verified, Missing=0, Deferred=0** (Docker re-receipt + 6/12-agent concurrent local-forge receipt); HTTPS remote client verified; out-of-scope groups fail closed with exit 2 |
125
- | **Optional Agent (`arks agent …`)** | Review / CEV extension | Docker OpenAI-compatible fixture E2E verified; plain-HTTP smokes are diagnostics; HTTPS TLS client + live vendor smoke (host-advisory) |
124
+ | **Arks Core** (`git` / `arks` personalities) | Native Git engine, scoped leases, shared-index & argv symmetry | **185/185** CLI commands Verified (`0` Partial); **1,852/1,852** Git 2.39.5 options accepted; 1:1 stock-Git oracle PASS; **19/19** journeys faster (`0.17x–0.73x`); **22/24** `v1.3.0` 10k-scale workloads `≤ 1.00x` (`0.697x` geomean; [scale report](https://github.com/modootoday/arks/blob/main/.spec/evidence/20261129201620-v1-2-0-scale-bench-final/report.md)) |
125
+ | **Arks Serve** (`arks serve`) | Single-process Git HTTP + SSH + TLS + Forge API | Smart HTTP, in-process SSH & TLS, `SIGHUP`/mtime zero-downtime reload, `ForgeStore` `RwLock` cache, `TCP_NODELAY`, pre-spawn `503` cap, bounded Keep-Alive (`fd_delta=0`), gzip `413` cap, and TLS+SSH+LFS soak verified ([soak](https://github.com/modootoday/arks/blob/main/.spec/evidence/20261129020000-v1-1-0-edge-parity-soak/receipt.json) · [SSH](https://github.com/modootoday/arks/tree/main/.spec/evidence/20261125031426-claimed-ssh) · [TLS](https://github.com/modootoday/arks/tree/main/.spec/evidence/20261110233652-claimed-tls)) |
126
+ | **Embedded Forge Web UI & Security** | Multi-repo SSR Web UI, REST APIs, RBAC, 2FA, LFS | **0 OSV/RustSec CVEs**, atomic `ForgeStoreTx` across 68 write paths, 32-thread contention & unique atomic temps, 0 production `.unwrap()`, PBKDF2/CSRF/RBAC/2FA, OAuth Device Flow, private `401`, archived `403`, SSRF-guarded webhooks ([CVE-zero](https://github.com/modootoday/arks/blob/main/.spec/evidence/20261129034500-v1-3-0-cve-security-durability/receipt.json) · [atomic store](https://github.com/modootoday/arks/blob/main/.spec/evidence/20261129030000-v1-2-0-atomic-store-v2/receipt.json)) |
127
+ | **Arks Daemon** (`arks daemon`) | `git://` peer (`git-daemon` symmetry) | **37/37 Parity + 2 arks-only, Missing=0** against stock `git 2.39.5` in Docker (Windows CI-tested); byte-identical ustar archive and POSIX syslog verified |
128
+ | **Arks Hub** (`arks pr` / `issue` / `auth` …) | Flat `gh`-peer forge client (never spawns `gh`) | **171/171 v1 rows verified, Missing=0, Deferred=0** (Docker re-receipt + 6/12-agent concurrent local-forge receipt); HTTPS remote client verified; out-of-scope groups fail closed with exit 2 |
129
+ | **Optional Agent (`arks agent …`)** | Review & verification extension | Docker OpenAI-compatible fixture E2E verified; plain-HTTP smokes are diagnostics; HTTPS TLS client + live vendor smoke (host-advisory) |
126
130
 
127
- ### Self-host quick start
131
+ ### Arks Serve quick start
128
132
 
129
133
  ```bash
130
134
  # HTTP git wire only (opt out of SSH and forge modules):
@@ -134,7 +138,7 @@ arks serve --no-ssh --no-forge /path/to/repos
134
138
  arks serve /path/to/repos
135
139
  ```
136
140
 
137
- Prefer normative ports **22 / 80 / 443 / 9418** in production; **2222 / 8080** are demo/alternate defaults. See [Self-host](docs/self-host.md) and [Ports](docs/ports.md).
141
+ Prefer normative ports **22 / 80 / 443 / 9418** in production; **2222 / 8080** are demo/alternate defaults. See [Arks Serve](docs/self-host.md) and [Ports](docs/ports.md).
138
142
 
139
143
  ## Common Workflows
140
144
 
@@ -142,11 +146,11 @@ Prefer normative ports **22 / 80 / 443 / 9418** in production; **2222 / 8080** a
142
146
  |------|---------|
143
147
  | Verify / repair environment | `arks doctor`, `arks doctor --fix`, `arks shim install` |
144
148
  | Migrate a remote repository | `arks migrate --from-url <url>` |
145
- | Stage, commit, inspect | `arks add`, `arks commit -m "…"`, `arks status`, `arks log`, `arks diff` |
146
- | Branch, merge, replay | `arks switch`, `arks branch`, `arks merge`, `arks replay` |
147
- | Remotes & shallow/partial clone | `arks clone --depth 1`, `arks fetch`, `arks pull`, `arks push` |
149
+ | Arks Core: stage, commit, inspect | `arks add`, `arks commit -m "…"`, `arks status`, `arks log`, `arks diff` |
150
+ | Arks Core: branch, merge, replay | `arks switch`, `arks branch`, `arks merge`, `arks replay` |
151
+ | Arks Core: remotes & partial clone | `arks clone --depth 1`, `arks fetch`, `arks pull`, `arks push` |
148
152
  | Sign & verify (SSH / OpenPGP / X.509) | `arks commit -S`, `arks tag -s`, `arks verify-commit`, `arks verify-tag` |
149
- | Forge client | `arks pr list`, `arks issue list`, `arks auth status` |
153
+ | Arks Hub (forge client) | `arks pr list`, `arks issue list`, `arks auth status` |
150
154
 
151
155
  Full reference: [Workflows](docs/workflows.md) or run `arks --help`.
152
156
 
@@ -158,11 +162,11 @@ Clean-room Docker verification compared stock Git **2.39.5** to release `arks` o
158
162
  |--------|--------|------------------------------|
159
163
  | ≤0.8× median wall-clock across all 19 journeys | **19/19** | [Measurement `c1b0b24`](.spec/evidence/20261110003836-g19-remeasure-c1b0b24/) · [Baseline receipt](.spec/evidence/20261109090000-m17-exit-g19-measured-19/) |
160
164
  | Aggressive ≤0.5× median wall-clock | **19/19** (sole Docker hardlink run) | [19/19 receipt](.spec/evidence/20261111032000-eng-hard-alias-hardlink-g19/) · [Prior partial](.spec/evidence/20261111003444-u-ladder-partial-gap-close/) · [Archival 8/8](.spec/evidence/20261110142500-g19-remeasure-pf5-8of8/) |
161
- | Overload, 10k monorepo, soak & chaos (Docker cgroup) | **6/6 suites PASS · 0 open findings** (100-agent worktree+lease **100%** / `71.0 c/s` vs shared Git **4%**; 5× cap `1,090/1,090` `503 Retry-After: 1` + **48/48** Slowloris `408`; 340-client Forge `0` lost updates; 10,002-file monorepo `< 64 MiB` RSS / `diff --stat` `0.91×` Git; `SIGKILL`×3 `orphan_tmps=0` / `ENOSPC` / `RLIMIT_NOFILE=128` `EMFILE` survival / `SIGHUP`×10 `5,623/5,623` 200; 5m mixed soak **46,898/46,898** 200, **`0.0 kB` RSS growth**, `p95: 1.52→1.18ms`, `fd_delta=0`) | [Final 6/6 receipt](.spec/evidence/20261129164822-v1-2-0-final-s1-s6-zero-findings/) · [v1.2.0 baseline](.spec/evidence/20261129150802-v1-2-0-stress-overload-baseline/) · [Stress & resilience](docs/resilience.md) |
165
+ | Overload, 10k monorepo, soak & chaos (Docker cgroup) | **6/6 PASS · 0 findings**: 100-agent `100%` (`71.0 c/s`); `48/48` Slowloris `408`; 340-client Forge `0` lost writes; 10k repo `< 64 MiB` RSS; `SIGKILL`/`ENOSPC`/`EMFILE`/`SIGHUP` chaos; 5m soak `46,898/46,898` 200, `0.0 kB` RSS growth, `fd_delta=0` | [Final 6/6 receipt](.spec/evidence/20261129164822-v1-2-0-final-s1-s6-zero-findings/) · [v1.2.0 baseline](.spec/evidence/20261129150802-v1-2-0-stress-overload-baseline/) · [Stress & resilience](docs/resilience.md) |
162
166
 
163
167
  Charts and methodology: [Performance](docs/performance.md) and [Stress & resilience](docs/resilience.md). Prefer ratios over raw milliseconds across receipts. Host-only timings are advisory.
164
168
 
165
- ## Limits (What Is Not Claimed)
169
+ ## Limits & Non-Goals
166
170
 
167
171
  - **No GUI embeds or unrelated tools:** `gitk` / `git-gui` hand off externally; `scalar` and `arks host-env` are out of scope.
168
172
  - **Standard `.git` object store only:** CELIR was not adopted and is withdrawn from the Cargo workspace.
@@ -178,8 +182,8 @@ Interactive documentation site: **[https://arks.build/](https://arks.build/)**
178
182
  | Section | Pages |
179
183
  |---------|-------|
180
184
  | **Get Started** | [Overview](docs/overview.md) · [Install & setup](docs/install.md) · [Getting started](docs/getting-started.md) · [Quickstart & Migration](docs/quickstart-migration.md) · [Workflows](docs/workflows.md) |
181
- | **Guides** | [Concurrent sessions](docs/concurrent-sessions.md) · [Alias `git` → `arks`](docs/alias-git-arks.md) · [Reftable & native LFS](docs/storage-and-lfs.md) · [History & maintenance](docs/history-and-maintenance.md) · [Self-host](docs/self-host.md) · [Forge Web UI](docs/forge-web-ui.md) · [Forge security & auth](docs/forge-security.md) · [Forge client](docs/arks-hub.md) · [Actions & local CI](docs/actions-ci.md) · [Agent](docs/agent.md) |
182
- | **Reference** | [CLI personality](docs/cli-personality.md) · [REST API reference](docs/rest-api.md) · [Operations & deploy](docs/operations.md) · [Ports](docs/ports.md) · [Daemon](docs/daemon.md) · [Release channels](docs/release.md) · [Forge scale](docs/forge-scale.md) |
185
+ | **Guides** | [Concurrent sessions](docs/concurrent-sessions.md) · [Alias `git` → `arks`](docs/alias-git-arks.md) · [Reftable & native LFS](docs/storage-and-lfs.md) · [History & maintenance](docs/history-and-maintenance.md) · [Arks Serve (self-host)](docs/self-host.md) · [Forge Web UI](docs/forge-web-ui.md) · [Forge security & auth](docs/forge-security.md) · [Arks Hub (forge client)](docs/arks-hub.md) · [Actions & local CI](docs/actions-ci.md) · [Agent](docs/agent.md) |
186
+ | **Reference** | [CLI personality](docs/cli-personality.md) · [REST API reference](docs/rest-api.md) · [Operations & deploy](docs/operations.md) · [Ports](docs/ports.md) · [Arks Daemon](docs/daemon.md) · [Release channels](docs/release.md) · [Forge scale](docs/forge-scale.md) |
183
187
  | **Honesty & Benchmarks** | [Completeness](docs/completion.md) · [Git vs arks](docs/git-vs-arks.md) · [Performance](docs/performance.md) · [Stress & resilience](docs/resilience.md) · [Limits](docs/limits.md) |
184
188
 
185
189
  Maintainer specifications, clean-room matrices, and agent routing live under [`.spec/`](.spec/), [`verify/`](verify/), and [`AGENTS.md`](AGENTS.md).
package/bin/arks CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modootoday/arks-darwin-arm64",
3
- "version": "1.3.0",
3
+ "version": "1.3.2",
4
4
  "description": "Prebuilt arks binary for darwin/arm64",
5
5
  "license": "Apache-2.0 OR MIT",
6
6
  "homepage": "https://arks.build/",