arks 0.2.0-arm64-darwin
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.
- checksums.yaml +7 -0
- data/LICENSE +10 -0
- data/LICENSE-APACHE +202 -0
- data/LICENSE-MIT +25 -0
- data/README.md +208 -0
- data/exe/arks +17 -0
- data/libexec/arks +0 -0
- metadata +56 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: d86ffe8938c33ae6cd9a5f7de564fe416a67fdc12b67159aca27e706ce0392ac
|
|
4
|
+
data.tar.gz: 0d8a2aee838caaf3ac8621d243538a3a68dced82bce3f0187df23e19a282b0d6
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: fc2c9e34324deb15273e8d139bcf0de63048d24305615164141d03f91d26899cfc60db5fabe29a54d737842997ff71e8c4917225a6b220541b36f3e7dbc39d07
|
|
7
|
+
data.tar.gz: c8f515880fc8e684f1c479d86508c6e7156c06ea33957e882b66f7fd87977233de1ee1a5c8bf4c7ca274815e73e91029f8ae2825c9a2f05314edb88844117b4c
|
data/LICENSE
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
Licensed under either of
|
|
2
|
+
|
|
3
|
+
* Apache License, Version 2.0
|
|
4
|
+
(see LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0)
|
|
5
|
+
* MIT license
|
|
6
|
+
(see LICENSE-MIT or https://opensource.org/licenses/MIT)
|
|
7
|
+
|
|
8
|
+
at your option.
|
|
9
|
+
|
|
10
|
+
SPDX-License-Identifier: Apache-2.0 OR MIT
|
data/LICENSE-APACHE
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
data/LICENSE-MIT
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
Copyright (c) 2026 Choi Won
|
|
2
|
+
|
|
3
|
+
Permission is hereby granted, free of charge, to any
|
|
4
|
+
person obtaining a copy of this software and associated
|
|
5
|
+
documentation files (the "Software"), to deal in the
|
|
6
|
+
Software without restriction, including without
|
|
7
|
+
limitation the rights to use, copy, modify, merge,
|
|
8
|
+
publish, distribute, sublicense, and/or sell copies of
|
|
9
|
+
the Software, and to permit persons to whom the Software
|
|
10
|
+
is furnished to do so, subject to the following
|
|
11
|
+
conditions:
|
|
12
|
+
|
|
13
|
+
The above copyright notice and this permission notice
|
|
14
|
+
shall be included in all copies or substantial portions
|
|
15
|
+
of the Software.
|
|
16
|
+
|
|
17
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
|
|
18
|
+
ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
|
|
19
|
+
TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
|
|
20
|
+
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
|
|
21
|
+
SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
22
|
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
23
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
|
|
24
|
+
IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
25
|
+
DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
# arks for Git
|
|
2
|
+
|
|
3
|
+
**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.
|
|
4
|
+
|
|
5
|
+
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.
|
|
6
|
+
|
|
7
|
+
Compatibility with documented Git formats and commands comes first. Clean-room timings exist as evidence ([Performance](docs/performance.md)); this README does not market a blanket “faster than Git” slogan.
|
|
8
|
+
|
|
9
|
+
> **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.
|
|
10
|
+
>
|
|
11
|
+
> **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.
|
|
12
|
+
|
|
13
|
+
## Why arks
|
|
14
|
+
|
|
15
|
+
| Pain | Response |
|
|
16
|
+
|------|----------|
|
|
17
|
+
| Multi-agent / multi-session orchestration piles onto one revision system | Native Rust engine + product leases and optional high-concurrency shapes aimed at that load |
|
|
18
|
+
| Switching tools breaks habits | Git-symmetric CLI; forge client leaves flattened beside porcelain; adopt via alias or PATH shim |
|
|
19
|
+
| Parallel proprietary stores break Git tooling | Same filesystem `.git` in Git-compatible mode — stock Git remains a peer |
|
|
20
|
+
|
|
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
|
+
|
|
23
|
+
More narrative: [docs/](docs/) — especially [Concurrent sessions](docs/concurrent-sessions.md), [Completeness](docs/completion.md), and [Overview](docs/overview.md).
|
|
24
|
+
|
|
25
|
+
## Install / build
|
|
26
|
+
|
|
27
|
+
Requirements: a recent Rust toolchain (edition 2024 / `rust-version` **1.85+**).
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
git clone https://github.com/modootoday/arks.git
|
|
31
|
+
cd arks
|
|
32
|
+
cargo build -p arks --release
|
|
33
|
+
```
|
|
34
|
+
|
|
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 -- …`.
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
cargo run -p arks -- --help
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
There is no separate `arks-hub` / `arks-daemon` / `arks-agent` product binary.
|
|
42
|
+
|
|
43
|
+
## Quick start
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
arks init my-repo
|
|
47
|
+
cd my-repo
|
|
48
|
+
echo "hello" > README.md
|
|
49
|
+
arks add README.md
|
|
50
|
+
arks commit -m "Initial commit"
|
|
51
|
+
arks status
|
|
52
|
+
arks log
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
Remote day-to-day (smart HTTP):
|
|
56
|
+
|
|
57
|
+
```bash
|
|
58
|
+
arks clone https://example.com/repo.git
|
|
59
|
+
arks fetch
|
|
60
|
+
arks pull
|
|
61
|
+
arks push
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
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.
|
|
65
|
+
|
|
66
|
+
### Personalities (`git` | `gh` | `arks`)
|
|
67
|
+
|
|
68
|
+
One binary; three muscle memories (design / Partial — not Claimed drop-in proof):
|
|
69
|
+
|
|
70
|
+
| How you invoke | Personality | Expectation |
|
|
71
|
+
|----------------|-------------|-------------|
|
|
72
|
+
| `alias git=arks` / basename `git` / `ARKS_PERSONALITY=git` | **git** | Peer-pure Git argv, stdout, exit codes |
|
|
73
|
+
| `alias gh=arks` / basename `gh` / `ARKS_PERSONALITY=gh` | **gh** | Peer-pure forge-client argv, stdout, exit codes |
|
|
74
|
+
| Bare `arks` (default) | **arks** | Git-first merged surface; flat forge leaves (`pr`, `issue`, …); unified overlap where designed |
|
|
75
|
+
|
|
76
|
+
CI that today calls `git` / `gh` should prefer the peer personalities. Details: [CLI personality](docs/cli-personality.md).
|
|
77
|
+
|
|
78
|
+
### Alias sketch
|
|
79
|
+
|
|
80
|
+
```bash
|
|
81
|
+
alias git=arks
|
|
82
|
+
# optional forge peer:
|
|
83
|
+
alias gh=arks
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
**Honesty:**
|
|
87
|
+
|
|
88
|
+
- Treat aliases as the adoption path for claimed commands — not as a promise that every Git/`gh` subcommand and flag is covered today.
|
|
89
|
+
- Unimplemented or out-of-scope commands exit **non-zero** and must not mutate the repository.
|
|
90
|
+
- Shell aliases do not apply inside many scripts; use a PATH shim named `git` / `gh` when you need non-interactive drop-in behavior.
|
|
91
|
+
|
|
92
|
+
More detail: [docs/alias-git-arks.md](docs/alias-git-arks.md).
|
|
93
|
+
|
|
94
|
+
## Self-host (`arks serve`)
|
|
95
|
+
|
|
96
|
+
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
|
+
|
|
98
|
+
```bash
|
|
99
|
+
# Narrow Claimed HTTP git wire path (opt out of SSH/forge modules):
|
|
100
|
+
arks serve --no-ssh --no-forge /path/to/repos
|
|
101
|
+
|
|
102
|
+
# Product default shape (HTTP+SSH+forge) — B1/B2/B9 + IW-FORGE-SERVE hosting e2e Claimed:
|
|
103
|
+
# arks serve /path/to/repos
|
|
104
|
+
```
|
|
105
|
+
|
|
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 |
|
|
115
|
+
|
|
116
|
+
Ports: prefer **22 / 80 / 443 / 9418**; label **2222 / 8080** as demo/alternate — [Ports](docs/ports.md), [Self-host](docs/self-host.md).
|
|
117
|
+
|
|
118
|
+
## Symmetry DoD pillars
|
|
119
|
+
|
|
120
|
+
Public clean-room Definition of Done is **three peer-symmetry pillars** (plus adjacent self-host e2e — not a fourth Claimed pillar):
|
|
121
|
+
|
|
122
|
+
| Pillar | Stock peer | Product entry |
|
|
123
|
+
|--------|------------|---------------|
|
|
124
|
+
| **1. CLI** | `git` | `arks <cmd>` / personality `git` |
|
|
125
|
+
| **2. Daemon** | `git-daemon` | `arks daemon` |
|
|
126
|
+
| **3. Forge client** | `gh` | flat `arks pr` / `issue` / … (transitional `arks hub …`) |
|
|
127
|
+
|
|
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).
|
|
129
|
+
|
|
130
|
+
Product paths **never** spawn `git` or `gh`. Stock peers are oracles for clean-room only.
|
|
131
|
+
|
|
132
|
+
## Common workflows
|
|
133
|
+
|
|
134
|
+
| You want to… | Try |
|
|
135
|
+
|--------------|-----|
|
|
136
|
+
| Create a repo | `arks init` |
|
|
137
|
+
| Stage / commit | `arks add`, `arks commit -m "…"` |
|
|
138
|
+
| Inspect history | `arks status`, `arks log`, `arks show`, `arks diff` |
|
|
139
|
+
| Branches | `arks branch`, `arks checkout` / `arks switch`, `arks merge` |
|
|
140
|
+
| Remotes | `arks remote`, `arks fetch`, `arks pull`, `arks push`, `arks clone` |
|
|
141
|
+
| Sign / verify (SSH) | `arks commit -S` with `gpg.format=ssh`; `arks verify-commit` |
|
|
142
|
+
| Self-host (HTTP git) | `arks serve --no-ssh --no-forge <dir>` |
|
|
143
|
+
| Forge client | `arks pr list`, `arks issue list`, `arks auth status` |
|
|
144
|
+
|
|
145
|
+
Fuller tables: [docs/workflows.md](docs/workflows.md). For a command list, run `arks --help`.
|
|
146
|
+
|
|
147
|
+
## Concurrent sessions (honest bar)
|
|
148
|
+
|
|
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.”
|
|
150
|
+
|
|
151
|
+
Plain-language overview: [docs/concurrent-sessions.md](docs/concurrent-sessions.md).
|
|
152
|
+
|
|
153
|
+
## Performance (evidence, not slogans)
|
|
154
|
+
|
|
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:
|
|
156
|
+
|
|
157
|
+
| Bar | Result | Evidence |
|
|
158
|
+
|-----|--------|----------|
|
|
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/) |
|
|
161
|
+
|
|
162
|
+
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
|
+
|
|
164
|
+
## Limits (what is not claimed)
|
|
165
|
+
|
|
166
|
+
Short and honest — see [docs/limits.md](docs/limits.md) and [Git vs arks](docs/git-vs-arks.md):
|
|
167
|
+
|
|
168
|
+
- **Not** a GUI embed (`gitk`/`git-gui` handoff only), `scalar` product, agent orchestrator, or “WAN-safe by default” host.
|
|
169
|
+
- 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).
|
|
174
|
+
|
|
175
|
+
## Documentation
|
|
176
|
+
|
|
177
|
+
Human-facing site (GitHub Pages): [`docs/`](docs/)
|
|
178
|
+
|
|
179
|
+
| Page | Topic |
|
|
180
|
+
|------|--------|
|
|
181
|
+
| [Home](docs/index.md) | Motive + product intro |
|
|
182
|
+
| [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 |
|
|
185
|
+
| [CLI personality](docs/cli-personality.md) | `git` / `gh` / `arks` dispatch |
|
|
186
|
+
| [Alias `git` → `arks`](docs/alias-git-arks.md) | Drop-in adoption path |
|
|
187
|
+
| [Workflows](docs/workflows.md) | Everyday command map |
|
|
188
|
+
| [Self-host](docs/self-host.md) | `arks serve` self-hosted forge |
|
|
189
|
+
| [Ports](docs/ports.md) | Normative **22/80/443/9418** vs demo **2222/8080** |
|
|
190
|
+
| [Forge client](docs/arks-hub.md) | Flat `arks pr` / … (≠ host) |
|
|
191
|
+
| [Daemon](docs/daemon.md) | `arks daemon` ↔ `git-daemon` |
|
|
192
|
+
| [Agent](docs/agent.md) | Optional `arks agent …` Partial |
|
|
193
|
+
| [Concurrent sessions](docs/concurrent-sessions.md) | Contention motive and concurrency honesty |
|
|
194
|
+
| [Git vs arks](docs/git-vs-arks.md) | Honest feature comparison |
|
|
195
|
+
| [Performance](docs/performance.md) | Clean-room git vs arks timings |
|
|
196
|
+
| [Limits](docs/limits.md) | What is not claimed |
|
|
197
|
+
| [Contribute](docs/contribute.md) | Bugs, docs, maintainer pointers |
|
|
198
|
+
|
|
199
|
+
Design specs, verification matrices, and agent routing live under [`.spec/`](.spec/), [`verify/`](verify/), and [`AGENTS.md`](AGENTS.md) — they are for maintainers, not the default product read.
|
|
200
|
+
|
|
201
|
+
## Contributing
|
|
202
|
+
|
|
203
|
+
Bug reports and pull requests are welcome on [modootoday/arks](https://github.com/modootoday/arks). Keep product docs in English. See [docs/contribute.md](docs/contribute.md). Maintainers: start from [`AGENTS.md`](AGENTS.md).
|
|
204
|
+
|
|
205
|
+
## License and security
|
|
206
|
+
|
|
207
|
+
- License: **Apache-2.0 OR MIT** (`LICENSE`, `LICENSE-APACHE`, `LICENSE-MIT`)
|
|
208
|
+
- Vulnerability reports: [`SECURITY.md`](SECURITY.md) (private GitHub Security Advisories)
|
data/exe/arks
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
bin_name = Gem.win_platform? ? "arks.exe" : "arks"
|
|
5
|
+
bin_path = File.expand_path("../libexec/#{bin_name}", __dir__)
|
|
6
|
+
|
|
7
|
+
unless File.exist?(bin_path)
|
|
8
|
+
warn "arks: bundled binary not found at #{bin_path}"
|
|
9
|
+
exit 1
|
|
10
|
+
end
|
|
11
|
+
|
|
12
|
+
if Gem.win_platform?
|
|
13
|
+
system(bin_path, *ARGV)
|
|
14
|
+
exit($?.exitstatus || 1)
|
|
15
|
+
else
|
|
16
|
+
exec(bin_path, *ARGV)
|
|
17
|
+
end
|
data/libexec/arks
ADDED
|
Binary file
|
metadata
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: arks
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.2.0
|
|
5
|
+
platform: arm64-darwin
|
|
6
|
+
authors:
|
|
7
|
+
- Choi Won
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: exe
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2026-11-28 00:00:00.000000000 Z
|
|
12
|
+
dependencies: []
|
|
13
|
+
description: Single native Rust Git-compatible CLI, daemon, independent forge client,
|
|
14
|
+
and self-hosted server built for multi-session revision contention.
|
|
15
|
+
email:
|
|
16
|
+
executables:
|
|
17
|
+
- arks
|
|
18
|
+
extensions: []
|
|
19
|
+
extra_rdoc_files: []
|
|
20
|
+
files:
|
|
21
|
+
- LICENSE
|
|
22
|
+
- LICENSE-APACHE
|
|
23
|
+
- LICENSE-MIT
|
|
24
|
+
- README.md
|
|
25
|
+
- exe/arks
|
|
26
|
+
- libexec/arks
|
|
27
|
+
homepage: https://modootoday.github.io/arks/
|
|
28
|
+
licenses:
|
|
29
|
+
- Apache-2.0
|
|
30
|
+
- MIT
|
|
31
|
+
metadata:
|
|
32
|
+
homepage_uri: https://modootoday.github.io/arks/
|
|
33
|
+
source_code_uri: https://github.com/modootoday/arks
|
|
34
|
+
changelog_uri: https://github.com/modootoday/arks/blob/main/CHANGELOG.md
|
|
35
|
+
bug_tracker_uri: https://github.com/modootoday/arks/issues
|
|
36
|
+
post_install_message:
|
|
37
|
+
rdoc_options: []
|
|
38
|
+
require_paths:
|
|
39
|
+
- lib
|
|
40
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
41
|
+
requirements:
|
|
42
|
+
- - ">="
|
|
43
|
+
- !ruby/object:Gem::Version
|
|
44
|
+
version: '3.0'
|
|
45
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
46
|
+
requirements:
|
|
47
|
+
- - ">="
|
|
48
|
+
- !ruby/object:Gem::Version
|
|
49
|
+
version: '0'
|
|
50
|
+
requirements: []
|
|
51
|
+
rubygems_version: 3.5.22
|
|
52
|
+
signing_key:
|
|
53
|
+
specification_version: 4
|
|
54
|
+
summary: arks for Git — native Rust Git-compatible CLI, daemon, forge client, and
|
|
55
|
+
server
|
|
56
|
+
test_files: []
|