@modootoday/arks-darwin-arm64 0.2.0 → 0.3.0

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 +47 -31
  2. package/bin/arks +0 -0
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -20,11 +20,22 @@ Compatibility with documented Git formats and commands comes first. Clean-room t
20
20
 
21
21
  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.
22
22
 
23
- More narrative: [docs/](docs/) — especially [Concurrent sessions](docs/concurrent-sessions.md), [Completeness](docs/completion.md), and [Overview](docs/overview.md).
23
+ More narrative and live interactive docs: [https://modootoday.github.io/arks/](https://modootoday.github.io/arks/) — especially [Quickstart & Migration](docs/quickstart-migration.md), [Concurrent sessions](docs/concurrent-sessions.md), [Completeness](docs/completion.md), and [Overview](docs/overview.md).
24
24
 
25
25
  ## Install / build
26
26
 
27
- Requirements: a recent Rust toolchain (edition 2024 / `rust-version` **1.85+**).
27
+ Quick install (one-line script):
28
+
29
+ ```bash
30
+ # Linux / macOS
31
+ curl -fsSL https://raw.githubusercontent.com/modootoday/arks/main/scripts/install.sh | bash
32
+ arks doctor
33
+
34
+ # Windows (PowerShell)
35
+ irm https://raw.githubusercontent.com/modootoday/arks/main/scripts/install.ps1 | iex
36
+ ```
37
+
38
+ Or build from source (Rust edition 2024 / `rust-version` **1.85+**):
28
39
 
29
40
  ```bash
30
41
  git clone https://github.com/modootoday/arks.git
@@ -32,7 +43,7 @@ cd arks
32
43
  cargo build -p arks --release
33
44
  ```
34
45
 
35
- 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 -- …`.
46
+ The published binary is **`arks` only** (debug: `target/debug/arks`, release: `target/release/arks`). Put it on your `PATH`, install drop-in shims with `arks shim install`, or invoke it with `cargo run -p arks -- …`.
36
47
 
37
48
  ```bash
38
49
  cargo run -p arks -- --help
@@ -96,28 +107,28 @@ More detail: [docs/alias-git-arks.md](docs/alias-git-arks.md).
96
107
  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.
97
108
 
98
109
  ```bash
99
- # Narrow Claimed HTTP git wire path (opt out of SSH/forge modules):
110
+ # HTTP git wire only (opt out of SSH/forge modules):
100
111
  arks serve --no-ssh --no-forge /path/to/repos
101
112
 
102
- # Product default shape (HTTP+SSH+forge) — B1/B2/B9 + IW-FORGE-SERVE hosting e2e Claimed:
113
+ # Product default (HTTP + SSH + embedded forge API & Web UI):
103
114
  # arks serve /path/to/repos
104
115
  ```
105
116
 
106
- | Surface | Role | Tip honesty |
107
- |---------|------|-------------|
108
- | `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](https://github.com/modootoday/arks/tree/main/.spec/evidence/20261111011425-self-host-forge-e2e)); push rulesets enforced (3-OS CI) |
109
- | `arks serve config …` | Server config store | **B7 Claimed (HTTP+SSH+forge)** zero-downtime rebind; Windows file-mtime reload Claimed by CI (≠ hub) |
110
- | `arks serve ssh-smoke` | Local SSH banner smoke | **Claimed (diagnostic)** (smoke ≠ B1/B2 Claimed e2e) |
111
- | `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 |
112
- | 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` |
113
- | 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](https://github.com/modootoday/arks/tree/main/.spec/evidence/20261128052500-final-pre-release-receipt)); CLI survey **128 Verified / 36 reasoned Partial**; drop-in + expand + named exit rows Claimed ([20261111020515-personality-expand](https://github.com/modootoday/arks/tree/main/.spec/evidence/20261111020515-personality-expand), [20261111025151-personality-exit-tables](https://github.com/modootoday/arks/tree/main/.spec/evidence/20261111025151-personality-exit-tables)) |
114
- | `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 |
117
+ | Surface | Role | Verified status |
118
+ |---------|------|-----------------|
119
+ | `arks serve` | Host umbrella (`--no-http` / `--no-ssh` / `--no-forge`) | HTTP git wire, in-process SSH, in-process TLS, local forge-in-serve hosting, and hardened Web UI (`/healthz`, `/metrics`, HSTS, PBKDF2/CSRF/RBAC, rate limits, global logout revocation, private-repo visibility, HTTP/REST/SSH/LFS archived guard, 2FA, archives, Actions/leases APIs, webhooks) are clean-room verified ([self-host forge receipt](https://github.com/modootoday/arks/tree/main/.spec/evidence/20261111011425-self-host-forge-e2e), [enterprise receipt](https://github.com/modootoday/arks/tree/main/.spec/evidence/20261128180000-v0-4-0-enterprise-cleanroom), [hardening receipt](https://github.com/modootoday/arks/tree/main/.spec/evidence/20261128190000-v0-5-0-hardening-cleanroom), [UI & enforcement receipt](https://github.com/modootoday/arks/tree/main/.spec/evidence/20261128193000-v0-6-0-cleanroom), [round-2 receipt](https://github.com/modootoday/arks/tree/main/.spec/evidence/20261128200000-v0-7-0-cleanroom), [visibility receipt](https://github.com/modootoday/arks/tree/main/.spec/evidence/20261128201500-v0-8-0-cleanroom), [revocation receipt](https://github.com/modootoday/arks/tree/main/.spec/evidence/20261128203000-v0-9-0-cleanroom)); push rulesets enforced (3-OS CI) |
120
+ | `arks serve config …` | Server config store | Zero-downtime reload across HTTP, SSH, and forge via `SIGHUP` on Unix and file-mtime reload on Windows (CI-tested) |
121
+ | `arks serve ssh-smoke` | Local SSH banner smoke | Diagnostic smoke check (separate from end-to-end SSH clone verification) |
122
+ | `arks daemon` | `git://` peer (`git-daemon` symmetry) | **37/37 Parity + 2 arks-only, Missing=0** in Docker clean-room (`git 2.39.5`; Windows CI-tested); byte-identical ustar archive and POSIX syslog verified |
123
+ | Flat `arks pr` / `issue` / `auth` / … | Forge **client** | **171/171 v1 rows verified, Missing=0, Deferred=0** (Docker re-receipt + 6/12-agent local forge multi-agent receipt); HTTPS remote client verified; out-of-scope groups fail closed with exit 2; never spawns `gh` |
124
+ | 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 identical (77 post-pin + 26 design, **0 unreasoned**, [pre-release receipt](https://github.com/modootoday/arks/tree/main/.spec/evidence/20261128052500-final-pre-release-receipt)); CLI survey **128 Verified / 36 reasoned Partial** ([personality expand](https://github.com/modootoday/arks/tree/main/.spec/evidence/20261111020515-personality-expand), [exit tables](https://github.com/modootoday/arks/tree/main/.spec/evidence/20261111025151-personality-exit-tables)) |
125
+ | `arks agent …` | Optional review / CEV extension | Docker OpenAI-compatible fixture end-to-end verified; plain-HTTP smokes are diagnostics; HTTPS TLS client + live vendor smoke (host-advisory) |
115
126
 
116
127
  Ports: prefer **22 / 80 / 443 / 9418**; label **2222 / 8080** as demo/alternate — [Ports](docs/ports.md), [Self-host](docs/self-host.md).
117
128
 
118
129
  ## Symmetry DoD pillars
119
130
 
120
- Public clean-room Definition of Done is **three peer-symmetry pillars** (plus adjacent self-host e2e — not a fourth Claimed pillar):
131
+ Public clean-room Definition of Done is **three peer-symmetry pillars** (plus adjacent self-host end-to-end verification):
121
132
 
122
133
  | Pillar | Stock peer | Product entry |
123
134
  |--------|------------|---------------|
@@ -125,7 +136,7 @@ Public clean-room Definition of Done is **three peer-symmetry pillars** (plus ad
125
136
  | **2. Daemon** | `git-daemon` | `arks daemon` |
126
137
  | **3. Forge client** | `gh` | flat `arks pr` / `issue` / … (transitional `arks hub …`) |
127
138
 
128
- **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](docs/completion.md).
139
+ All three pillars pass pin pre-release symmetry (`Missing=0`, `untracked=0`: 171/171 hub v1 verified, 37/37 daemon parity, 4,446/4,549 flag-corpus lines identical with 0 unreasoned diffs) while keeping non-goals and owner-policy holds explicit. See [Completeness](docs/completion.md).
129
140
 
130
141
  Product paths **never** spawn `git` or `gh`. Stock peers are oracles for clean-room only.
131
142
 
@@ -133,6 +144,8 @@ Product paths **never** spawn `git` or `gh`. Stock peers are oracles for clean-r
133
144
 
134
145
  | You want to… | Try |
135
146
  |--------------|-----|
147
+ | Check / fix setup | `arks doctor`, `arks doctor --fix`, `arks shim install` |
148
+ | Migrate a remote repo | `arks migrate --from-url <url>` |
136
149
  | Create a repo | `arks init` |
137
150
  | Stage / commit | `arks add`, `arks commit -m "…"` |
138
151
  | Inspect history | `arks status`, `arks log`, `arks show`, `arks diff` |
@@ -146,18 +159,18 @@ Fuller tables: [docs/workflows.md](docs/workflows.md). For a command list, run `
146
159
 
147
160
  ## Concurrent sessions (honest bar)
148
161
 
149
- 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.”
162
+ arks ships product leases and a clean-room verified high-concurrency path (lease + batch-apply + worktree/ref-shard), plus shared-index N-way support backed by clean-room receipts. Public copy treats these as **verified only where receipts exist** — not as “all races fixed.”
150
163
 
151
164
  Plain-language overview: [docs/concurrent-sessions.md](docs/concurrent-sessions.md).
152
165
 
153
166
  ## Performance (evidence, not slogans)
154
167
 
155
- 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:
168
+ Clean-room Docker verification compared stock Git **2.39.5** to release `arks` on the shared journey suite. Read timings as **parallelism / wall-clock evidence for contended workflows**, not as empty speed marketing:
156
169
 
157
170
  | Bar | Result | Evidence |
158
171
  |-----|--------|----------|
159
- | ≤0.8× median wall-clock on all journeys | **19/19** | [G19 remeasure `c1b0b24`](.spec/evidence/20261110003836-g19-remeasure-c1b0b24/) · historical [M17](.spec/evidence/20261109090000-m17-exit-g19-measured-19/) |
160
- | Aggressive ≤0.5× | **19/19** sole Docker G19 ([20261111032000-eng-hard-alias-hardlink-g19](.spec/evidence/20261111032000-eng-hard-alias-hardlink-g19/)); prior U-ladder ([20261111003444-u-ladder-partial-gap-close](.spec/evidence/20261111003444-u-ladder-partial-gap-close/)) and historical **8/8** at `79fc9bf` archival | [PF5 19/19](.spec/evidence/20261111032000-eng-hard-alias-hardlink-g19/) · [tip matrix](.spec/evidence/20261110224814-full-cleanroom-matrix/) · [PF5 8/8 historical](.spec/evidence/20261110142500-g19-remeasure-pf5-8of8/) |
172
+ | ≤0.8× median wall-clock on all journeys | **19/19** | [Clean-room measurement `c1b0b24`](.spec/evidence/20261110003836-g19-remeasure-c1b0b24/) · [baseline receipt](.spec/evidence/20261109090000-m17-exit-g19-measured-19/) |
173
+ | Aggressive ≤0.5× | **19/19** sole Docker run ([alias hardlink receipt](.spec/evidence/20261111032000-eng-hard-alias-hardlink-g19/)); prior partial receipt ([gap-close](.spec/evidence/20261111003444-u-ladder-partial-gap-close/)) and historical **8/8** at `79fc9bf` | [19/19 receipt](.spec/evidence/20261111032000-eng-hard-alias-hardlink-g19/) · [tip matrix](.spec/evidence/20261110224814-full-cleanroom-matrix/) · [historical 8/8](.spec/evidence/20261110142500-g19-remeasure-pf5-8of8/) |
161
174
 
162
175
  Charts and honesty labels: [docs/performance.md](docs/performance.md). Prefer **ratios** over absolute ms across receipts (seeds change). Host-only timings are advisory only.
163
176
 
@@ -167,32 +180,35 @@ Short and honest — see [docs/limits.md](docs/limits.md) and [Git vs arks](docs
167
180
 
168
181
  - **Not** a GUI embed (`gitk`/`git-gui` handoff only), `scalar` product, agent orchestrator, or “WAN-safe by default” host.
169
182
  - The Git **object store** remains ordinary filesystem `.git`. CELIR was not adopted and is withdrawn from the Cargo graph; arks does not replace `.git` objects in Git-compatible mode.
170
- - 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.
171
- - In-process **SSH** under `arks serve` is **B1/B2 Claimed** ([20261110235116-claimed-ssh](https://github.com/modootoday/arks/tree/main/.spec/evidence/20261110235116-claimed-ssh)); product TLS **B9 Claimed**; HTTP+SSH+forge rebind **B7 Claimed**. Ops SSHD + stdio pack remains valid.
172
- - **Claimed** (with receipts): pin-2.39.5 argv/flag-corpus symmetry (1,852/1,852 options, 4,446/4,549 SAME, 0 unreasoned DIFFs); `--depth` shallow; 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](.spec/sot/arks-claimed-residual-gates.sot.md).
173
- - **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-env` product path, in-process LFS, CELIR).
183
+ - Forge **client** leaves (171/171 v1 rows) and self-host forge-in-serve end-to-end are verified in clean-room receipts; GitHub-platform-only groups (such as Actions/Codespaces/Copilot) fail closed with exit 2.
184
+ - In-process **SSH** ([SSH receipt](https://github.com/modootoday/arks/tree/main/.spec/evidence/20261110235116-claimed-ssh)), in-process **TLS** ([TLS receipt](https://github.com/modootoday/arks/tree/main/.spec/evidence/20261110233652-claimed-tls)), and zero-downtime config reload across HTTP/SSH/forge are verified; ops SSHD + stdio pack remains valid.
185
+ - **Verified with receipts:** pin-2.39.5 argv/flag-corpus symmetry (1,852/1,852 options, 4,446/4,549 identical, 0 unreasoned diffs); `--depth` shallow; 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 and HTTP Basic auth; embedded Web UI & enterprise forge ([enterprise receipt](https://github.com/modootoday/arks/tree/main/.spec/evidence/20261128180000-v0-4-0-enterprise-cleanroom)).
186
+ - **Out of scope / advisory / owner-policy:** absolute SHA-1 collision **immunity** (detect+refuse is verified); full multi-device cloud-sync safety; live third-party forge latency SLOs without secrets; external registry publish timing; trimmed over-design (`arks host-env`, in-process LFS, CELIR).
174
187
 
175
188
  ## Documentation
176
189
 
177
- Human-facing site (GitHub Pages): [`docs/`](docs/)
190
+ Human-facing site (GitHub Pages): [https://modootoday.github.io/arks/](https://modootoday.github.io/arks/) ([`docs/`](docs/))
178
191
 
179
192
  | Page | Topic |
180
- |------|--------|
181
- | [Home](docs/index.md) | Motive + product intro |
193
+ |------|-------|
194
+ | [Home](docs/index.md) | Interactive 3D hero + product intro |
182
195
  | [Overview](docs/overview.md) | What arks is (and is not) |
183
- | [Completeness](docs/completion.md) | Completion milestone — what “done” means (honest Partial) |
184
- | [Getting started](docs/getting-started.md) | Native build and first commands |
196
+ | [Quickstart & Migration](docs/quickstart-migration.md) | 5-minute onboarding, shims, and `arks migrate` |
197
+ | [Getting started](docs/getting-started.md) | One-line install, native build, and first commands |
198
+ | [Completeness](docs/completion.md) | Overall readiness and honest limits |
185
199
  | [CLI personality](docs/cli-personality.md) | `git` / `gh` / `arks` dispatch |
186
200
  | [Alias `git` → `arks`](docs/alias-git-arks.md) | Drop-in adoption path |
187
201
  | [Workflows](docs/workflows.md) | Everyday command map |
188
- | [Self-host](docs/self-host.md) | `arks serve` self-hosted forge |
202
+ | [Self-host](docs/self-host.md) | `arks serve` self-hosted forge, Web UI, and `deploy/` templates |
189
203
  | [Ports](docs/ports.md) | Normative **22/80/443/9418** vs demo **2222/8080** |
190
204
  | [Forge client](docs/arks-hub.md) | Flat `arks pr` / … (≠ host) |
191
205
  | [Daemon](docs/daemon.md) | `arks daemon` ↔ `git-daemon` |
192
- | [Agent](docs/agent.md) | Optional `arks agent …` Partial |
206
+ | [Agent](docs/agent.md) | Optional `arks agent …` extension |
193
207
  | [Concurrent sessions](docs/concurrent-sessions.md) | Contention motive and concurrency honesty |
194
208
  | [Git vs arks](docs/git-vs-arks.md) | Honest feature comparison |
195
209
  | [Performance](docs/performance.md) | Clean-room git vs arks timings |
210
+ | [Forge scale](docs/forge-scale.md) | Maintainer live forge smoke & scale harness |
211
+ | [Release channels](docs/release.md) | Release packaging and OIDC dry-run status |
196
212
  | [Limits](docs/limits.md) | What is not claimed |
197
213
  | [Contribute](docs/contribute.md) | Bugs, docs, maintainer pointers |
198
214
 
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": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "description": "Prebuilt arks binary for darwin/arm64",
5
5
  "license": "Apache-2.0 OR MIT",
6
6
  "homepage": "https://modootoday.github.io/arks/",