awgit 1.7.0__tar.gz → 1.9.0__tar.gz
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.
- {awgit-1.7.0 → awgit-1.9.0}/PKG-INFO +349 -364
- {awgit-1.7.0 → awgit-1.9.0}/README.md +332 -347
- {awgit-1.7.0 → awgit-1.9.0}/awgit/_doctor.py +2 -27
- {awgit-1.7.0 → awgit-1.9.0}/awgit/cli.py +2261 -2334
- {awgit-1.7.0 → awgit-1.9.0}/awgit/evidence.py +20 -0
- {awgit-1.7.0 → awgit-1.9.0}/awgit/guard.py +1 -1
- {awgit-1.7.0 → awgit-1.9.0}/awgit/hooks/post-commit.d/vcs-capture +45 -45
- {awgit-1.7.0 → awgit-1.9.0}/awgit/hooks/pre-commit.d/vcs-lease-check +22 -22
- {awgit-1.7.0 → awgit-1.9.0}/awgit/hooks/prepare-commit-msg.d/awgit-change-id +45 -45
- {awgit-1.7.0 → awgit-1.9.0}/awgit/leases.py +357 -357
- {awgit-1.7.0 → awgit-1.9.0}/awgit/merge.py +335 -335
- {awgit-1.7.0 → awgit-1.9.0}/awgit/owners.py +172 -172
- {awgit-1.7.0 → awgit-1.9.0}/awgit/plugins.py +213 -196
- {awgit-1.7.0 → awgit-1.9.0}/awgit/scratch.py +1224 -808
- {awgit-1.7.0 → awgit-1.9.0}/awgit/worktree.py +0 -1
- {awgit-1.7.0 → awgit-1.9.0}/awgit.egg-info/PKG-INFO +349 -364
- {awgit-1.7.0 → awgit-1.9.0}/pyproject.toml +42 -42
- {awgit-1.7.0 → awgit-1.9.0}/setup.cfg +4 -4
- {awgit-1.7.0 → awgit-1.9.0}/tests/test_awgit_standalone.py +220 -220
- {awgit-1.7.0 → awgit-1.9.0}/tests/test_lease_release_accepts_paths.py +142 -142
- {awgit-1.7.0 → awgit-1.9.0}/tests/test_multilang_identity.py +80 -80
- {awgit-1.7.0 → awgit-1.9.0}/tests/test_owners_and_proof.py +115 -115
- {awgit-1.7.0 → awgit-1.9.0}/LICENSE +0 -0
- {awgit-1.7.0 → awgit-1.9.0}/awgit/__init__.py +0 -0
- {awgit-1.7.0 → awgit-1.9.0}/awgit/__main__.py +0 -0
- {awgit-1.7.0 → awgit-1.9.0}/awgit/absorb.py +0 -0
- {awgit-1.7.0 → awgit-1.9.0}/awgit/bodies.py +0 -0
- {awgit-1.7.0 → awgit-1.9.0}/awgit/bridge.py +0 -0
- {awgit-1.7.0 → awgit-1.9.0}/awgit/capture.py +0 -0
- {awgit-1.7.0 → awgit-1.9.0}/awgit/changeid.py +0 -0
- {awgit-1.7.0 → awgit-1.9.0}/awgit/code.py +0 -0
- {awgit-1.7.0 → awgit-1.9.0}/awgit/commands.py +0 -0
- {awgit-1.7.0 → awgit-1.9.0}/awgit/data_root.py +0 -0
- {awgit-1.7.0 → awgit-1.9.0}/awgit/diff.py +0 -0
- {awgit-1.7.0 → awgit-1.9.0}/awgit/git.py +0 -0
- {awgit-1.7.0 → awgit-1.9.0}/awgit/graph.py +0 -0
- {awgit-1.7.0 → awgit-1.9.0}/awgit/hooks/chain.sh +0 -0
- {awgit-1.7.0 → awgit-1.9.0}/awgit/hooks/pre-commit.d/vcs-mass-delete-guard +0 -0
- {awgit-1.7.0 → awgit-1.9.0}/awgit/hooks/pre-push.d/ci-gate-parity +0 -0
- {awgit-1.7.0 → awgit-1.9.0}/awgit/identity.py +0 -0
- {awgit-1.7.0 → awgit-1.9.0}/awgit/lazy.py +0 -0
- {awgit-1.7.0 → awgit-1.9.0}/awgit/lease_requests.py +0 -0
- {awgit-1.7.0 → awgit-1.9.0}/awgit/ledger.py +0 -0
- {awgit-1.7.0 → awgit-1.9.0}/awgit/mcp.py +0 -0
- {awgit-1.7.0 → awgit-1.9.0}/awgit/nodeid.py +0 -0
- {awgit-1.7.0 → awgit-1.9.0}/awgit/oplog.py +0 -0
- {awgit-1.7.0 → awgit-1.9.0}/awgit/outcomes.py +0 -0
- {awgit-1.7.0 → awgit-1.9.0}/awgit/parser.py +0 -0
- {awgit-1.7.0 → awgit-1.9.0}/awgit/prove.py +0 -0
- {awgit-1.7.0 → awgit-1.9.0}/awgit/push.py +0 -0
- {awgit-1.7.0 → awgit-1.9.0}/awgit/repowise_parser.py +0 -0
- {awgit-1.7.0 → awgit-1.9.0}/awgit/review.py +0 -0
- {awgit-1.7.0 → awgit-1.9.0}/awgit/schema.py +0 -0
- {awgit-1.7.0 → awgit-1.9.0}/awgit/stack.py +0 -0
- {awgit-1.7.0 → awgit-1.9.0}/awgit/staging.py +0 -0
- {awgit-1.7.0 → awgit-1.9.0}/awgit/staging_selftest.py +0 -0
- {awgit-1.7.0 → awgit-1.9.0}/awgit/sync.py +0 -0
- {awgit-1.7.0 → awgit-1.9.0}/awgit/tabular.py +0 -0
- {awgit-1.7.0 → awgit-1.9.0}/awgit.egg-info/SOURCES.txt +0 -0
- {awgit-1.7.0 → awgit-1.9.0}/awgit.egg-info/dependency_links.txt +0 -0
- {awgit-1.7.0 → awgit-1.9.0}/awgit.egg-info/entry_points.txt +0 -0
- {awgit-1.7.0 → awgit-1.9.0}/awgit.egg-info/requires.txt +0 -0
- {awgit-1.7.0 → awgit-1.9.0}/awgit.egg-info/top_level.txt +0 -0
- {awgit-1.7.0 → awgit-1.9.0}/tests/test_absorb_routes_by_node.py +0 -0
- {awgit-1.7.0 → awgit-1.9.0}/tests/test_changeid_survives_history_rewrite.py +0 -0
- {awgit-1.7.0 → awgit-1.9.0}/tests/test_documented_commands_run.py +0 -0
- {awgit-1.7.0 → awgit-1.9.0}/tests/test_lazy_clone_is_verified.py +0 -0
- {awgit-1.7.0 → awgit-1.9.0}/tests/test_lease_requests.py +0 -0
- {awgit-1.7.0 → awgit-1.9.0}/tests/test_ls_index_chunks_argv.py +0 -0
- {awgit-1.7.0 → awgit-1.9.0}/tests/test_outcome_tracking.py +0 -0
- {awgit-1.7.0 → awgit-1.9.0}/tests/test_push_is_the_pull_request.py +0 -0
- {awgit-1.7.0 → awgit-1.9.0}/tests/test_restack_repairs_orphans.py +0 -0
- {awgit-1.7.0 → awgit-1.9.0}/tests/test_review_threads_survive_moves.py +0 -0
- {awgit-1.7.0 → awgit-1.9.0}/tests/test_tabular.py +0 -0
- {awgit-1.7.0 → awgit-1.9.0}/tests/test_worktree_zombie_detection.py +0 -0
|
@@ -1,364 +1,349 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: awgit
|
|
3
|
-
Version: 1.
|
|
4
|
-
Summary: Aither World-Graph git — semantic version control on top of git: edit-ops keyed on stable node ids, content-addressed bodies, differential sync.
|
|
5
|
-
License: Apache-2.0
|
|
6
|
-
Project-URL: Homepage, https://github.com/Aitherium/awgit
|
|
7
|
-
Project-URL: Documentation, https://aitherium.github.io/awgit/
|
|
8
|
-
Project-URL: Repository, https://github.com/Aitherium/awgit.git
|
|
9
|
-
Project-URL: Issues, https://github.com/Aitherium/awgit/issues
|
|
10
|
-
Requires-Python: >=3.10
|
|
11
|
-
Description-Content-Type: text/markdown
|
|
12
|
-
License-File: LICENSE
|
|
13
|
-
Requires-Dist: httpx>=0.25.0
|
|
14
|
-
Provides-Extra: multilang
|
|
15
|
-
Requires-Dist: repowise>=0.31.0; extra == "multilang"
|
|
16
|
-
Dynamic: license-file
|
|
17
|
-
|
|
18
|
-
# awgit — the git that knows a function from a line
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
```bash
|
|
41
|
-
|
|
42
|
-
awgit
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
```
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
```bash
|
|
101
|
-
awgit
|
|
102
|
-
awgit
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
sparse
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
awgit
|
|
215
|
-
awgit
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
awgit
|
|
262
|
-
```
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
| |
|
|
289
|
-
|
|
290
|
-
| [
|
|
291
|
-
| [
|
|
292
|
-
| [
|
|
293
|
-
| [
|
|
294
|
-
| [
|
|
295
|
-
|
|
|
296
|
-
| [
|
|
297
|
-
| [
|
|
298
|
-
| [
|
|
299
|
-
| [
|
|
300
|
-
| [
|
|
301
|
-
| [
|
|
302
|
-
| [
|
|
303
|
-
| [
|
|
304
|
-
| [
|
|
305
|
-
| [
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
|
314
|
-
|
|
315
|
-
| [
|
|
316
|
-
| [
|
|
317
|
-
|
|
318
|
-
[
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
|
325
|
-
|
|
326
|
-
| [
|
|
327
|
-
| [
|
|
328
|
-
| [
|
|
329
|
-
| [
|
|
330
|
-
| [
|
|
331
|
-
| [
|
|
332
|
-
|
|
|
333
|
-
| [
|
|
334
|
-
| [
|
|
335
|
-
| [
|
|
336
|
-
| [
|
|
337
|
-
| [
|
|
338
|
-
| [
|
|
339
|
-
| [
|
|
340
|
-
| [
|
|
341
|
-
| [
|
|
342
|
-
| [
|
|
343
|
-
| [
|
|
344
|
-
| [
|
|
345
|
-
| [
|
|
346
|
-
| [
|
|
347
|
-
| [
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
| [aitherkvcache](https://github.com/Aitherium/aitherkvcache) | Near-optimal KV cache quantization for LLM inference — sub-byte compression | [docs](https://aitherium.github.io/aitherkvcache/) |
|
|
351
|
-
| [AitherZero](https://github.com/Aitherium/AitherZero) | PowerShell 7+ automation framework — numbered, self-describing scripts | [docs](https://aitherium.github.io/AitherZero/) |
|
|
352
|
-
| [AitherConnect](https://github.com/Aitherium/AitherConnect) | Browser extension — federated AI search, page context, and the Living OS overlay | [docs](https://aitherium.github.io/AitherConnect/) |
|
|
353
|
-
| [awreason](https://github.com/Aitherium/awreason) | A portable reasoning client — sessions, phases, thoughts, and the chain that produced the answer | [docs](https://aitherium.github.io/awreason/) |
|
|
354
|
-
| [awrecurse](https://github.com/Aitherium/awrecurse) | Answer a question over a context far larger than the window — recursively, with the trace kept | [docs](https://aitherium.github.io/awrecurse/) |
|
|
355
|
-
| [awprism](https://github.com/Aitherium/awprism) | Turn a failure into ranked hypotheses — and say what would confirm each one | [docs](https://aitherium.github.io/awprism/) |
|
|
356
|
-
| [awrepl](https://github.com/Aitherium/awrepl) | A REPL an agent can actually use — state that survives between turns | [docs](https://aitherium.github.io/awrepl/) |
|
|
357
|
-
| [awresearch](https://github.com/Aitherium/awresearch) | Ask a research question, get a cited report you can check | [docs](https://aitherium.github.io/awresearch/) |
|
|
358
|
-
| [awpredict](https://github.com/Aitherium/awpredict) | Predict what your environment does next, and how surprised you were | [docs](https://aitherium.github.io/awpredict/) |
|
|
359
|
-
| [awkno](https://github.com/Aitherium/awkno) | The man page for the Aither World — every brick, stack and law, offline | [docs](https://aitherium.github.io/awkno/) |
|
|
360
|
-
|
|
361
|
-
<div id="aither-constellation" data-self="awgit"></div>
|
|
362
|
-
<script src="aither-constellation.js"></script>
|
|
363
|
-
|
|
364
|
-
<!-- aither-ecosystem:end -->
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: awgit
|
|
3
|
+
Version: 1.9.0
|
|
4
|
+
Summary: Aither World-Graph git — semantic version control on top of git: edit-ops keyed on stable node ids, content-addressed bodies, differential sync.
|
|
5
|
+
License: Apache-2.0
|
|
6
|
+
Project-URL: Homepage, https://github.com/Aitherium/awgit
|
|
7
|
+
Project-URL: Documentation, https://aitherium.github.io/awgit/
|
|
8
|
+
Project-URL: Repository, https://github.com/Aitherium/awgit.git
|
|
9
|
+
Project-URL: Issues, https://github.com/Aitherium/awgit/issues
|
|
10
|
+
Requires-Python: >=3.10
|
|
11
|
+
Description-Content-Type: text/markdown
|
|
12
|
+
License-File: LICENSE
|
|
13
|
+
Requires-Dist: httpx>=0.25.0
|
|
14
|
+
Provides-Extra: multilang
|
|
15
|
+
Requires-Dist: repowise>=0.31.0; extra == "multilang"
|
|
16
|
+
Dynamic: license-file
|
|
17
|
+
|
|
18
|
+
# awgit — the git that knows a function from a line
|
|
19
|
+
|
|
20
|
+
Git has no world model. It knows which lines moved, not what a function is — so
|
|
21
|
+
"which commit owns this edit", "did this change conflict with mine", and "is
|
|
22
|
+
this the same change I pushed before" are all answered by heuristics over text.
|
|
23
|
+
|
|
24
|
+
**awgit rides on top of git** (git stays the byte-truth, the transport, the
|
|
25
|
+
history) and adds the layer above it: a **world model as the database**,
|
|
26
|
+
**semantic edit-ops as transactions**, **stacked commits with one pull request
|
|
27
|
+
each**, **verified identity**, and **leases** so several agents can work in one
|
|
28
|
+
tree without overwriting each other.
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
pip install awgit
|
|
32
|
+
awgit init # verify the actor, install the capture hooks
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
Needs Python 3.10+ and `git`. `gh` (the GitHub CLI) is needed for `push` and
|
|
36
|
+
`pr`, and for the verified identity — everything else works without it.
|
|
37
|
+
|
|
38
|
+
## The model in one screen
|
|
39
|
+
|
|
40
|
+
```bash
|
|
41
|
+
awgit stack # your commits above trunk — one PR each
|
|
42
|
+
awgit commit -m "fix parser" # git commit, lease-checked and captured
|
|
43
|
+
awgit push # one pull request per commit (dry run; --apply)
|
|
44
|
+
awgit absorb # route pending edits into the commits they belong to
|
|
45
|
+
awgit pr wait 42 --for merged
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
There is no `awgit pr create`. **Push is how a pull request is opened**, and
|
|
49
|
+
pushing again after `commit --amend` adds a REVISION to the same PR rather than
|
|
50
|
+
opening a second one.
|
|
51
|
+
|
|
52
|
+
## Stacked commits
|
|
53
|
+
|
|
54
|
+
Work is a stack of commits between trunk and HEAD, each one a reviewable change
|
|
55
|
+
that becomes its own pull request, diffed against the commit below it. A
|
|
56
|
+
reviewer reads one logical change instead of a 900-line branch, and the bottom
|
|
57
|
+
of a stack can land while the top is still being argued about.
|
|
58
|
+
|
|
59
|
+
| | |
|
|
60
|
+
|---|---|
|
|
61
|
+
| `awgit stack` / `awgit sl` | the stack, newest first, with each commit's Change-Id |
|
|
62
|
+
| `awgit prev` / `awgit next` | move down / up the stack |
|
|
63
|
+
| `awgit push` | publish it — one PR per commit |
|
|
64
|
+
| `awgit absorb` | fold pending edits into the commits that own them |
|
|
65
|
+
| `awgit uncommit` | undo the last commit, keep its changes |
|
|
66
|
+
| `awgit restack` / `awgit pull` | rebase onto trunk (`pull` fetches first) |
|
|
67
|
+
| `awgit worktree new` (also `list`, `rm`) | a checkout of your own |
|
|
68
|
+
|
|
69
|
+
### Identity that survives a rewrite
|
|
70
|
+
|
|
71
|
+
Every commit carries an `Awgit-Change-Id` trailer, written once by a
|
|
72
|
+
`prepare-commit-msg` hook. A sha identifies a *snapshot*; the Change-Id
|
|
73
|
+
identifies the *change*, and it survives `--amend`, `rebase` and `cherry-pick` —
|
|
74
|
+
which is what lets `push` find the pull request you already opened instead of
|
|
75
|
+
opening another one.
|
|
76
|
+
|
|
77
|
+
```bash
|
|
78
|
+
awgit change-id show # this commit's change id
|
|
79
|
+
awgit change-id find I3f2a… # every commit carrying it
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
### absorb routes by node, not by line
|
|
83
|
+
|
|
84
|
+
git answers "which commit owns this change" per LINE, so reindenting a function
|
|
85
|
+
makes every line blame the reformat. awgit asks which commit last changed **this
|
|
86
|
+
node**, so the answer survives reindentation and line movement, and a rename
|
|
87
|
+
within a file. (A function moved to a *different* file gets a new node id —
|
|
88
|
+
capture's rename detection is per-file — so absorb sees a delete and an add.)
|
|
89
|
+
|
|
90
|
+
```bash
|
|
91
|
+
awgit absorb # show the routing
|
|
92
|
+
awgit absorb --apply # create the fixups and autosquash
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
Generated and minified files are skipped and reported — they have no node
|
|
96
|
+
identity, and one bundle can stall a parser indefinitely.
|
|
97
|
+
|
|
98
|
+
## Review that survives the code moving
|
|
99
|
+
|
|
100
|
+
```bash
|
|
101
|
+
awgit review show # threads on this change
|
|
102
|
+
awgit review comment --node <id> -b "needs a bound" # a DRAFT
|
|
103
|
+
awgit review submit # publish them all at once
|
|
104
|
+
awgit review resolve <thread>
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
A comment is anchored to a **node**, not to a line. The line number is computed
|
|
108
|
+
each time from where the node is now, so a thread follows the function down the
|
|
109
|
+
file as code is inserted above it, survives a rebase and a reformat, and is
|
|
110
|
+
re-found when the function moves to another file. A thread whose node was
|
|
111
|
+
DELETED is shown as `[orphaned]` with its text intact — "the function you
|
|
112
|
+
objected to is gone" is a review outcome, not a reason to hide the objection.
|
|
113
|
+
|
|
114
|
+
Comments are drafts until `submit`, so you can read a whole diff and publish
|
|
115
|
+
once. **Unresolved threads block `awgit pr merge`**: "merge and follow up" is
|
|
116
|
+
how an objection becomes a TODO nobody files.
|
|
117
|
+
|
|
118
|
+
Node ids come from capture, so comment on a node the diff showed you
|
|
119
|
+
(`awgit diff <a> <b> --json`).
|
|
120
|
+
|
|
121
|
+
## Big repositories
|
|
122
|
+
|
|
123
|
+
```bash
|
|
124
|
+
awgit clone <url> <dest> --paths AitherOS/lib # history now, contents on demand
|
|
125
|
+
awgit sparse add apps/web # materialise more
|
|
126
|
+
awgit sparse status # is this clone ACTUALLY lazy?
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
`awgit clone` uses git's own partial clone (`--filter=blob:none`) with a cone
|
|
130
|
+
sparse-checkout: history and trees arrive immediately, file content is fetched
|
|
131
|
+
the first time something reads it, and the working tree holds only the
|
|
132
|
+
directories you asked for.
|
|
133
|
+
|
|
134
|
+
This is deliberately not a virtual filesystem. A VFS means FUSE on Linux and
|
|
135
|
+
ProjFS on Windows — and Microsoft, who wrote both ProjFS and VFSforGit, retired
|
|
136
|
+
that approach in favour of exactly this pair. Reimplementing what its own author
|
|
137
|
+
walked away from would trade a supported git feature for a kernel-adjacent
|
|
138
|
+
dependency on the platform where it is least reliable.
|
|
139
|
+
|
|
140
|
+
**`sparse status` reads the repository, not the flag you passed.**
|
|
141
|
+
`git clone --filter` succeeds and warns when a server declines to filter — you
|
|
142
|
+
get a full clone and exit 0. awgit reports lazy only when the filter is really
|
|
143
|
+
in the config and a promisor remote really exists to backfill from.
|
|
144
|
+
|
|
145
|
+
## Landing it: evidence, ownership, the queue
|
|
146
|
+
|
|
147
|
+
```bash
|
|
148
|
+
awgit prove # what this change touched, and what checked it
|
|
149
|
+
awgit owners <path> # who owns it — declared AND measured
|
|
150
|
+
awgit code def <symbol> # where it is defined
|
|
151
|
+
awgit queue enqueue 42 # GitHub's merge queue
|
|
152
|
+
awgit ci status
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
**`awgit prove` is proof-carrying review.** A pull request normally arrives as a
|
|
156
|
+
diff and an assertion; "all checks passed" and "no checks ran" render almost
|
|
157
|
+
identically. `prove` attaches the nodes the change touched and what each gate
|
|
158
|
+
actually returned — and it never reports success without evidence: a gate that
|
|
159
|
+
exits 1 is a violation, a gate that exits 2 *could not judge*, and no gates at
|
|
160
|
+
all is **not proved** (exit 2), because "nothing verified this" must not be
|
|
161
|
+
spelled the same way as "verified". `--markdown` renders it as a PR comment.
|
|
162
|
+
|
|
163
|
+
Your gate runner attaches through the plugin seam, so awgit never has to know
|
|
164
|
+
what your checks are:
|
|
165
|
+
|
|
166
|
+
```python
|
|
167
|
+
from awgit import plugins
|
|
168
|
+
plugins.register(plugins.GATES, lambda paths: [{"name": "ruff", "status": "ok"}])
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
**`awgit owners` shows both answers.** CODEOWNERS says who *should* review;
|
|
172
|
+
the op-log knows who actually changed those nodes, weighted so ownership decays
|
|
173
|
+
(someone who last touched a module a year ago is not who you want reviewing it).
|
|
174
|
+
When the two disagree, that is the useful part — usually the file is stale.
|
|
175
|
+
|
|
176
|
+
`awgit queue` drives **GitHub's** merge queue rather than reimplementing one: it
|
|
177
|
+
already rebases, re-tests and lands, and a second implementation would be a
|
|
178
|
+
service that disagrees with it.
|
|
179
|
+
|
|
180
|
+
## Working next to other people (and other agents)
|
|
181
|
+
|
|
182
|
+
A lease says "I am editing this". Take one **before** you edit: the baseline it
|
|
183
|
+
captures is what lets `stage-mine` separate your work from a peer's.
|
|
184
|
+
|
|
185
|
+
```bash
|
|
186
|
+
awgit lease list # who holds what right now
|
|
187
|
+
awgit lease acquire <paths> # claim files, TTL-renewed
|
|
188
|
+
awgit stage-mine <path> # stage only YOUR edits to a shared file
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
History rewrites (`absorb`, `uncommit`, `restack`, `pull`) refuse when another
|
|
192
|
+
actor holds a lease in the same worktree, and point you at `awgit worktree new`.
|
|
193
|
+
A solo checkout has no other actors and rewrites freely; set
|
|
194
|
+
`AWGIT_ALLOW_UNSAFE_REWRITE=1` to override.
|
|
195
|
+
|
|
196
|
+
## The world model
|
|
197
|
+
|
|
198
|
+
Every commit is captured as an `EditOp`: which functions/classes/methods
|
|
199
|
+
changed, their old and new bodies by content address, the actor, the parent
|
|
200
|
+
chain. Ops key on **stable node ids** that survive renames and moves.
|
|
201
|
+
|
|
202
|
+
```bash
|
|
203
|
+
awgit status # op-log status
|
|
204
|
+
awgit diff <sha> <sha> # NODE-level diff (not a text diff — see below)
|
|
205
|
+
awgit graph --format mermaid # the op-log as a graph
|
|
206
|
+
awgit ledger --sha <sha> # who changed what, under a verified identity
|
|
207
|
+
awgit evidence # the measurable claim, from your own op-log
|
|
208
|
+
awgit bodies --get <sha> # read a body from the content-addressed store
|
|
209
|
+
awgit dedupe --scan <trees> # quantify duplication; --reclaim to hard-link
|
|
210
|
+
```
|
|
211
|
+
|
|
212
|
+
- **Merge** at node granularity: disjoint node sets merge clean by
|
|
213
|
+
construction, and a genuine collision escalates naming the exact function
|
|
214
|
+
(`awgit merge-preview`, `awgit merge-conflicts`, `awgit resolve-conflict`).
|
|
215
|
+
- **Differential sync**: `awgit sync export` emits the ops a peer is missing
|
|
216
|
+
plus the bodies they reference; `awgit sync import` applies idempotently.
|
|
217
|
+
|
|
218
|
+
## It speaks git
|
|
219
|
+
|
|
220
|
+
Everyday verbs forward to git untouched — `awgit log`, `awgit add`,
|
|
221
|
+
`awgit show`, `awgit rebase`, and about twenty more — and `awgit git -- <args>`
|
|
222
|
+
runs anything else.
|
|
223
|
+
|
|
224
|
+
**No verb is repurposed.** `awgit diff` has always meant a node-level diff and
|
|
225
|
+
still does; git's own diff is `awgit git diff`. `awgit status` reports the
|
|
226
|
+
op-log. Silently changing what an existing command returns would break callers
|
|
227
|
+
in ways that surface far from the change.
|
|
228
|
+
|
|
229
|
+
## For agents
|
|
230
|
+
|
|
231
|
+
```bash
|
|
232
|
+
awgit commands --json # the entire CLI as JSON: every command, flag and type
|
|
233
|
+
```
|
|
234
|
+
|
|
235
|
+
Read it once instead of scraping `--help`. It is introspected from the live
|
|
236
|
+
parser, so a command cannot be described unless it exists. Every read-only
|
|
237
|
+
command takes `--json`.
|
|
238
|
+
|
|
239
|
+
`awgit pr wait <n> --for merged` exits **0** when the condition holds and
|
|
240
|
+
**124** on timeout, so a loop can tell "it happened" from "I gave up".
|
|
241
|
+
|
|
242
|
+
## Set up
|
|
243
|
+
|
|
244
|
+
```bash
|
|
245
|
+
awgit init # verify the actor, install hooks, report the store
|
|
246
|
+
awgit hooks install # chained hooks — preserves any you already have
|
|
247
|
+
# post-commit -> `awgit capture` (records the op)
|
|
248
|
+
# pre-commit -> `awgit lease-check` (the lease gate)
|
|
249
|
+
# prepare-commit-msg -> stamps the Change-Id
|
|
250
|
+
awgit hooks uninstall # restore them
|
|
251
|
+
awgit version --json
|
|
252
|
+
```
|
|
253
|
+
|
|
254
|
+
The durable store lives **outside** the git tree at `~/.aither/awgit/data`
|
|
255
|
+
(override with `VCS_DATA_ROOT`), so the op-log and body store never pollute your
|
|
256
|
+
repository or your clones.
|
|
257
|
+
|
|
258
|
+
## Tests
|
|
259
|
+
|
|
260
|
+
```bash
|
|
261
|
+
cd awgit && python -m pytest tests/ -q
|
|
262
|
+
```
|
|
263
|
+
|
|
264
|
+
## License
|
|
265
|
+
|
|
266
|
+
Apache-2.0. Built by Aitherium — the git that scales to agents.
|
|
267
|
+
|
|
268
|
+
---
|
|
269
|
+
|
|
270
|
+
<!-- aither-ecosystem:start GENERATED from the ecosystem registry. Edits here are overwritten; change the registry instead. -->
|
|
271
|
+
|
|
272
|
+
## The aw family
|
|
273
|
+
|
|
274
|
+
Standalone tools that share one idea: **replace something you would otherwise have to _trust_ with something you can _check_.**
|
|
275
|
+
|
|
276
|
+
Each installs on its own, works offline, and needs no account.
|
|
277
|
+
|
|
278
|
+
| | instead of trusting | you check |
|
|
279
|
+
|---|---|---|
|
|
280
|
+
| [awdk](https://github.com/Aitherium/awdk) | a framework's idea of how your agents should run | one loop you can read, pointed at a backend you already pay for |
|
|
281
|
+
| [awskills](https://github.com/Aitherium/awskills) | that an agent knows your procedure | the procedure written down, versioned, and loadable by any agent |
|
|
282
|
+
| [awm](https://github.com/Aitherium/awm) | that memory stayed in its lane | tenant:user:project scopes, so a write cannot cross a boundary |
|
|
283
|
+
| [awnode](https://github.com/Aitherium/awnode) | a vendor's cloud with every prompt | a local gateway routing to backends you chose |
|
|
284
|
+
| [awgraph](https://github.com/Aitherium/awgraph) | that grep found everything | an AST + tree-sitter call graph an agent can traverse |
|
|
285
|
+
| **awgit** _(you are here)_ | that no one else is editing this file | a lease, refused at commit time if you do not hold it |
|
|
286
|
+
| [awseal](https://github.com/Aitherium/awseal) | that the artifact came from who you think | an Ed25519 seal — the key that verifies is not the key that forges |
|
|
287
|
+
| [awshare](https://github.com/Aitherium/awshare) | that the download is intact | content-addressed bundles, verified on fetch |
|
|
288
|
+
| [awnest](https://github.com/Aitherium/awnest) | that there is a person on the other end | a verdict with evidence, where "we could not tell" is not "yes" |
|
|
289
|
+
| [awnboard](https://github.com/Aitherium/awnboard) | a share link anyone who sees it can use | an invitation addressed to one person, for one gate, revocable |
|
|
290
|
+
| [awnix](https://github.com/Aitherium/awnix) | that the box is what you left it as | an immutable image you built, with atomic rollback |
|
|
291
|
+
| [awrecover](https://github.com/Aitherium/awrecover) | that the restore worked | a restore that fully lands or does not land at all |
|
|
292
|
+
| [awrelay](https://github.com/Aitherium/awrelay) | a SaaS in the middle of your agents | findings, alerts and coordination over your own transport |
|
|
293
|
+
| [awmail](https://github.com/Aitherium/awmail) | a mailbox somebody else can read | mail your agents send and receive over your own server |
|
|
294
|
+
| [awfind](https://github.com/Aitherium/awfind) | one vendor's idea of the web | results from whichever providers you configured |
|
|
295
|
+
| [awbrowse](https://github.com/Aitherium/awbrowse) | that the page said what you were told | the render, the DOM and the requests it made |
|
|
296
|
+
| [aitherkvcache](https://github.com/Aitherium/aitherkvcache) | a vendor's quantisation defaults | sub-byte KV cache kernels you can benchmark yourself |
|
|
297
|
+
| [AitherZero](https://github.com/Aitherium/AitherZero) | a pile of scripts nobody has numbered | numbered, discoverable automation with declarative playbooks |
|
|
298
|
+
| [AitherConnect](https://github.com/Aitherium/AitherConnect) | what a page tells your browser to do | a federated search and desktop bridge you host |
|
|
299
|
+
| [awreason](https://github.com/Aitherium/awreason) | a confident paragraph | the phases it went through, and every tool call it made to get there |
|
|
300
|
+
| [awrecurse](https://github.com/Aitherium/awrecurse) | that everything you pasted in was actually read | which slices it opened, and what it concluded from each |
|
|
301
|
+
| [awprism](https://github.com/Aitherium/awprism) | the first explanation that fits | the ranked alternatives, and the observation that separates them |
|
|
302
|
+
| [awrepl](https://github.com/Aitherium/awrepl) | what the agent believes the value is | the value, printed from the live session |
|
|
303
|
+
| [awresearch](https://github.com/Aitherium/awresearch) | a summary of pages nobody opened | every claim against the source it came from |
|
|
304
|
+
| [awpredict](https://github.com/Aitherium/awpredict) | a model because it trained without erroring | its prediction against a self-updating lookup, on the rows that are actually novel |
|
|
305
|
+
| [awkno](https://github.com/Aitherium/awkno) | that the docs site is up, or that you remember the family | the whole ecosystem in your terminal, with no network at all |
|
|
306
|
+
|
|
307
|
+
[**awnix**](https://github.com/Aitherium/awnix) is the ground floor — A Linux you can hand to an agent — immutable base, capabilities included.
|
|
308
|
+
|
|
309
|
+
## The Aitherium ecosystem
|
|
310
|
+
|
|
311
|
+
Every repository here is public. Each publishes an `aither-manifest.json` beside its page, so any surface can read every sibling's — the network is browsable from any node in it.
|
|
312
|
+
|
|
313
|
+
| repo | what it is | pages |
|
|
314
|
+
|---|---|---|
|
|
315
|
+
| [awdk](https://github.com/Aitherium/awdk) | Build AI agent fleets — 3 lines, any backend, local or cloud | [docs](https://aitherium.github.io/awdk/) |
|
|
316
|
+
| [awskills](https://github.com/Aitherium/awskills) | Portable agent skills — self-contained procedures an agent loads on demand | [docs](https://aitherium.github.io/awskills/) |
|
|
317
|
+
| [awm](https://github.com/Aitherium/awm) | A portable, scoped agent memory | [docs](https://aitherium.github.io/awm/) |
|
|
318
|
+
| [awnode](https://github.com/Aitherium/awnode) | A lightweight local gateway — bridges your apps to the AI backends you chose | [docs](https://aitherium.github.io/awnode/) |
|
|
319
|
+
| [awrun](https://github.com/Aitherium/awrun) | A priority-aware queue and dispatcher for agentic runs and ad-hoc CI builds | [docs](https://aitherium.github.io/awrun/) |
|
|
320
|
+
| [awgraph](https://github.com/Aitherium/awgraph) | A semantic code graph for agents — AST + tree-sitter, call graphs | [docs](https://aitherium.github.io/awgraph/) |
|
|
321
|
+
| **awgit** _(you are here)_ | Semantic version control on top of git — edit-ops and leases | [docs](https://aitherium.github.io/awgit/) |
|
|
322
|
+
| [awseal](https://github.com/Aitherium/awseal) | Sign an artifact so a stranger can verify it | [docs](https://aitherium.github.io/awseal/) |
|
|
323
|
+
| [awshare](https://github.com/Aitherium/awshare) | Publish an artifact and fetch it back verified | [docs](https://aitherium.github.io/awshare/) |
|
|
324
|
+
| [awdit](https://github.com/Aitherium/awdit) | An append-only audit trail whose gaps are DETECTABLE | [docs](https://aitherium.github.io/awdit/) |
|
|
325
|
+
| [awbac](https://github.com/Aitherium/awbac) | Role-based access control that fails closed and explains itself | [docs](https://aitherium.github.io/awbac/) |
|
|
326
|
+
| [awiam](https://github.com/Aitherium/awiam) | Who is this caller? A directory and session store that fails honestly | [docs](https://aitherium.github.io/awiam/) |
|
|
327
|
+
| [awtunnel](https://github.com/Aitherium/awtunnel) | Reach a service that has no public address | [docs](https://aitherium.github.io/awtunnel/) |
|
|
328
|
+
| [awnest](https://github.com/Aitherium/awnest) | Prove there is a human before you let them into the nest | [docs](https://aitherium.github.io/awnest/) |
|
|
329
|
+
| [awnboard](https://github.com/Aitherium/awnboard) | A front gate you can put in front of anything, and hand someone the key to | [docs](https://aitherium.github.io/awnboard/) |
|
|
330
|
+
| [awnix](https://github.com/Aitherium/awnix) | A Linux you can hand to an agent — immutable base, capabilities included | [docs](https://aitherium.github.io/awnix/) |
|
|
331
|
+
| [awrecover](https://github.com/Aitherium/awrecover) | Labelled snapshots with an all-or-nothing restore | [docs](https://aitherium.github.io/awrecover/) |
|
|
332
|
+
| [awrelay](https://github.com/Aitherium/awrelay) | Portable agent messaging — findings, alerts, coordination | [docs](https://aitherium.github.io/awrelay/) |
|
|
333
|
+
| [awmail](https://github.com/Aitherium/awmail) | Give an agent an email address — send, and actually receive | [docs](https://aitherium.github.io/awmail/) |
|
|
334
|
+
| [awnet](https://github.com/Aitherium/awnet) | The agentic web — agents host a mesh, and agents join one | [docs](https://aitherium.github.io/awnet/) |
|
|
335
|
+
| [awfind](https://github.com/Aitherium/awfind) | A portable search client — query, results, ranking | [docs](https://aitherium.github.io/awfind/) |
|
|
336
|
+
| [awbrowse](https://github.com/Aitherium/awbrowse) | A portable browser client — navigate, console, network, DOM, screenshot | [docs](https://aitherium.github.io/awbrowse/) |
|
|
337
|
+
| [awknowledge](https://github.com/Aitherium/awknowledge) | How to run a coding agent so the result survives — the laws, with evidence | [docs](https://aitherium.github.io/awknowledge/) |
|
|
338
|
+
| [aitherkvcache](https://github.com/Aitherium/aitherkvcache) | Near-optimal KV cache quantization for LLM inference — sub-byte compression | [docs](https://aitherium.github.io/aitherkvcache/) |
|
|
339
|
+
| [AitherZero](https://github.com/Aitherium/AitherZero) | PowerShell 7+ automation framework — numbered, self-describing scripts | [docs](https://aitherium.github.io/AitherZero/) |
|
|
340
|
+
| [AitherConnect](https://github.com/Aitherium/AitherConnect) | Browser extension — federated AI search, page context, and the Living OS overlay | [docs](https://aitherium.github.io/AitherConnect/) |
|
|
341
|
+
| [awreason](https://github.com/Aitherium/awreason) | A portable reasoning client — sessions, phases, thoughts, and the chain that produced the answer | [docs](https://aitherium.github.io/awreason/) |
|
|
342
|
+
| [awrecurse](https://github.com/Aitherium/awrecurse) | Answer a question over a context far larger than the window — recursively, with the trace kept | [docs](https://aitherium.github.io/awrecurse/) |
|
|
343
|
+
| [awprism](https://github.com/Aitherium/awprism) | Turn a failure into ranked hypotheses — and say what would confirm each one | [docs](https://aitherium.github.io/awprism/) |
|
|
344
|
+
| [awrepl](https://github.com/Aitherium/awrepl) | A REPL an agent can actually use — state that survives between turns | [docs](https://aitherium.github.io/awrepl/) |
|
|
345
|
+
| [awresearch](https://github.com/Aitherium/awresearch) | Ask a research question, get a cited report you can check | [docs](https://aitherium.github.io/awresearch/) |
|
|
346
|
+
| [awpredict](https://github.com/Aitherium/awpredict) | Predict what your environment does next, and how surprised you were | [docs](https://aitherium.github.io/awpredict/) |
|
|
347
|
+
| [awkno](https://github.com/Aitherium/awkno) | The man page for the Aither World — every brick, stack and law, offline | [docs](https://aitherium.github.io/awkno/) |
|
|
348
|
+
|
|
349
|
+
<!-- aither-ecosystem:end -->
|