awrun 0.1.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.
- awrun-0.1.0/LICENSE +202 -0
- awrun-0.1.0/PKG-INFO +182 -0
- awrun-0.1.0/README.md +165 -0
- awrun-0.1.0/awrun/__init__.py +27 -0
- awrun-0.1.0/awrun/_doctor.py +114 -0
- awrun-0.1.0/awrun/authz.py +209 -0
- awrun-0.1.0/awrun/cli.py +444 -0
- awrun-0.1.0/awrun/dispatcher.py +608 -0
- awrun-0.1.0/awrun/runner_groups.py +342 -0
- awrun-0.1.0/awrun/store.py +309 -0
- awrun-0.1.0/awrun.egg-info/PKG-INFO +182 -0
- awrun-0.1.0/awrun.egg-info/SOURCES.txt +17 -0
- awrun-0.1.0/awrun.egg-info/dependency_links.txt +1 -0
- awrun-0.1.0/awrun.egg-info/entry_points.txt +2 -0
- awrun-0.1.0/awrun.egg-info/requires.txt +5 -0
- awrun-0.1.0/awrun.egg-info/top_level.txt +1 -0
- awrun-0.1.0/pyproject.toml +44 -0
- awrun-0.1.0/setup.cfg +4 -0
- awrun-0.1.0/tests/test_store.py +154 -0
awrun-0.1.0/LICENSE
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.
|
awrun-0.1.0/PKG-INFO
ADDED
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: awrun
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: A priority-aware queue and dispatcher for agentic runs and ad-hoc CI builds — real dynamic priority for the class of work we control, instead of GitHub Actions' opaque FIFO.
|
|
5
|
+
License-Expression: Apache-2.0
|
|
6
|
+
Project-URL: Homepage, https://github.com/Aitherium/awrun
|
|
7
|
+
Project-URL: Documentation, https://github.com/Aitherium/awrun#readme
|
|
8
|
+
Project-URL: Repository, https://github.com/Aitherium/awrun.git
|
|
9
|
+
Project-URL: Issues, https://github.com/Aitherium/awrun/issues
|
|
10
|
+
Requires-Python: >=3.10
|
|
11
|
+
Description-Content-Type: text/markdown
|
|
12
|
+
License-File: LICENSE
|
|
13
|
+
Provides-Extra: ci
|
|
14
|
+
Provides-Extra: dev
|
|
15
|
+
Requires-Dist: pytest>=7.0; extra == "dev"
|
|
16
|
+
Dynamic: license-file
|
|
17
|
+
|
|
18
|
+
# awrun — dynamic priority for the runs you actually control
|
|
19
|
+
|
|
20
|
+
GitHub Actions' self-hosted runner queue is FIFO-per-label, opaque, and
|
|
21
|
+
un-reprioritizable — there is no API to say "run this one next." That is a
|
|
22
|
+
hard platform limit, not a bug. What that limit produces in practice is a
|
|
23
|
+
"belt-fed machine gun": everything fires in arrival order, and a low-value
|
|
24
|
+
build queued a minute earlier blocks a high-value one indefinitely, with no
|
|
25
|
+
lever to move it up.
|
|
26
|
+
|
|
27
|
+
`awrun` does not try to reprioritize GitHub's own queue for other people's
|
|
28
|
+
pushes — it can't, and claiming otherwise would be a lie. What it delivers,
|
|
29
|
+
completely and correctly, is dynamic priority over the class of run that
|
|
30
|
+
actually matters most: work submitted *through it* — agentic/ADK runs
|
|
31
|
+
end-to-end (no GitHub Actions involvement at all), and ad-hoc
|
|
32
|
+
`workflow_dispatch` CI builds, so the order in which *we* fire them is
|
|
33
|
+
finally something a human or an agent can steer while it's in flight.
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
pip install -e AitherOS/packages/awrun
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
Python 3.10+. No hard dependencies for the core queue.
|
|
40
|
+
|
|
41
|
+
## What it is
|
|
42
|
+
|
|
43
|
+
A durable, cross-process priority queue (`store.py`) plus a CLI (`cli.py`)
|
|
44
|
+
and a dispatch loop (`dispatcher.py`). Modeled directly on
|
|
45
|
+
`awdk/adk/decisions/store.py` — one JSON file per item, atomic
|
|
46
|
+
`os.replace()` writes — with one deliberate improvement: claiming an item is
|
|
47
|
+
an `os.rename()` between status directories (`queued/` → `claimed/` → ...),
|
|
48
|
+
which is a genuine cross-process mutex with no lock file needed, rather than
|
|
49
|
+
a Python `threading.RLock()` that only protects one process.
|
|
50
|
+
|
|
51
|
+
```bash
|
|
52
|
+
awrun submit --kind agent --task "verify the fix" --priority 5
|
|
53
|
+
awrun submit --kind ci --workflow product-images.yml --ref develop \
|
|
54
|
+
--field images=gargbot --field push=true --priority 8
|
|
55
|
+
awrun queue # highest priority first, oldest breaks ties
|
|
56
|
+
awrun bump r-7f3a9c2e --priority 10 # the literal missing feature
|
|
57
|
+
awrun cancel r-7f3a9c2e
|
|
58
|
+
awrun status r-7f3a9c2e
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
`AITHER_AWRUN_DIR` overrides the store location (default
|
|
62
|
+
`~/.aither/awrun/`) — set it in tests and for per-tenant isolation.
|
|
63
|
+
|
|
64
|
+
## What it is not
|
|
65
|
+
|
|
66
|
+
Not a new daemon. `decisions/store.py` already proves a durable, pollable,
|
|
67
|
+
cross-process queue doesn't need one — `awrun dispatch` (via
|
|
68
|
+
`awrun.dispatcher`) runs as a scheduled task or a one-shot `--once`
|
|
69
|
+
invocation, matching `AitherOS/config/routines/*.yaml`'s existing pattern.
|
|
70
|
+
|
|
71
|
+
Not a replacement for required PR-gate CI, which stays on GitHub Actions'
|
|
72
|
+
native triggers. `awrun` targets ad-hoc dispatches only.
|
|
73
|
+
|
|
74
|
+
## What it dispatches, as shipped
|
|
75
|
+
|
|
76
|
+
All three kinds below are implemented, routed and self-tested. Dispatch is
|
|
77
|
+
priority-first ACROSS kinds, not per-kind — the whole point is one queue an
|
|
78
|
+
urgent item can jump.
|
|
79
|
+
|
|
80
|
+
| kind | what it runs |
|
|
81
|
+
|---|---|
|
|
82
|
+
| `agent` | `adk chat <agent> "<task>"` |
|
|
83
|
+
| `ci` | `gh workflow run <workflow> --ref <ref> -f k=v...` |
|
|
84
|
+
| `comet-deploy` | a POST to AitherComet's `/deploy`, tenant-scoped and cost-gated |
|
|
85
|
+
|
|
86
|
+
> This section used to say `kind=agent` dispatch only, and list `kind=ci` among
|
|
87
|
+
> "the next phases", while ci was implemented, routed and covered by a
|
|
88
|
+
> self-test. That cost a real one: a release sat queued behind a saturated
|
|
89
|
+
> runner pool and nobody reached for awrun, because the README said the feature
|
|
90
|
+
> did not exist yet. **A capability documented as unbuilt is unbuilt in
|
|
91
|
+
> practice** — nobody calls it, so nothing exercises it, so nobody notices it
|
|
92
|
+
> works. A repo-side check now asserts this section against the dispatcher's
|
|
93
|
+
> own routing table, so it cannot drift back.
|
|
94
|
+
|
|
95
|
+
## Verification
|
|
96
|
+
|
|
97
|
+
```bash
|
|
98
|
+
python -m pytest AitherOS/packages/awrun/tests/
|
|
99
|
+
python -m awrun.cli self-test
|
|
100
|
+
python -m awrun.dispatcher --self-test
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
<!-- aither-ecosystem:start GENERATED from the ecosystem registry. Edits here are overwritten; change the registry instead. -->
|
|
104
|
+
|
|
105
|
+
## The aw family
|
|
106
|
+
|
|
107
|
+
Standalone tools that share one idea: **replace something you would otherwise have to _trust_ with something you can _check_.**
|
|
108
|
+
|
|
109
|
+
Each installs on its own, works offline, and needs no account.
|
|
110
|
+
|
|
111
|
+
| | instead of trusting | you check |
|
|
112
|
+
|---|---|---|
|
|
113
|
+
| [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 |
|
|
114
|
+
| [awskills](https://github.com/Aitherium/awskills) | that an agent knows your procedure | the procedure written down, versioned, and loadable by any agent |
|
|
115
|
+
| [awm](https://github.com/Aitherium/awm) | that memory stayed in its lane | tenant:user:project scopes, so a write cannot cross a boundary |
|
|
116
|
+
| [awnode](https://github.com/Aitherium/awnode) | a vendor's cloud with every prompt | a local gateway routing to backends you chose |
|
|
117
|
+
| [awgraph](https://github.com/Aitherium/awgraph) | that grep found everything | an AST + tree-sitter call graph an agent can traverse |
|
|
118
|
+
| [awgit](https://github.com/Aitherium/awgit) | that no one else is editing this file | a lease, refused at commit time if you do not hold it |
|
|
119
|
+
| [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 |
|
|
120
|
+
| [awshare](https://github.com/Aitherium/awshare) | that the download is intact | content-addressed bundles, verified on fetch |
|
|
121
|
+
| [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" |
|
|
122
|
+
| [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 |
|
|
123
|
+
| [awnix](https://github.com/Aitherium/awnix) | that the box is what you left it as | an immutable image you built, with atomic rollback |
|
|
124
|
+
| [awrecover](https://github.com/Aitherium/awrecover) | that the restore worked | a restore that fully lands or does not land at all |
|
|
125
|
+
| [awrelay](https://github.com/Aitherium/awrelay) | a SaaS in the middle of your agents | findings, alerts and coordination over your own transport |
|
|
126
|
+
| [awmail](https://github.com/Aitherium/awmail) | a mailbox somebody else can read | mail your agents send and receive over your own server |
|
|
127
|
+
| [awfind](https://github.com/Aitherium/awfind) | one vendor's idea of the web | results from whichever providers you configured |
|
|
128
|
+
| [awbrowse](https://github.com/Aitherium/awbrowse) | that the page said what you were told | the render, the DOM and the requests it made |
|
|
129
|
+
| [aitherkvcache](https://github.com/Aitherium/aitherkvcache) | a vendor's quantisation defaults | sub-byte KV cache kernels you can benchmark yourself |
|
|
130
|
+
| [AitherZero](https://github.com/Aitherium/AitherZero) | a pile of scripts nobody has numbered | numbered, discoverable automation with declarative playbooks |
|
|
131
|
+
| [AitherConnect](https://github.com/Aitherium/AitherConnect) | what a page tells your browser to do | a federated search and desktop bridge you host |
|
|
132
|
+
| [awreason](https://github.com/Aitherium/awreason) | a confident paragraph | the phases it went through, and every tool call it made to get there |
|
|
133
|
+
| [awrecurse](https://github.com/Aitherium/awrecurse) | that everything you pasted in was actually read | which slices it opened, and what it concluded from each |
|
|
134
|
+
| [awprism](https://github.com/Aitherium/awprism) | the first explanation that fits | the ranked alternatives, and the observation that separates them |
|
|
135
|
+
| [awrepl](https://github.com/Aitherium/awrepl) | what the agent believes the value is | the value, printed from the live session |
|
|
136
|
+
| [awresearch](https://github.com/Aitherium/awresearch) | a summary of pages nobody opened | every claim against the source it came from |
|
|
137
|
+
| [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 |
|
|
138
|
+
| [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 |
|
|
139
|
+
|
|
140
|
+
[**awnix**](https://github.com/Aitherium/awnix) is the ground floor — A Linux you can hand to an agent — immutable base, capabilities included.
|
|
141
|
+
|
|
142
|
+
## The Aitherium ecosystem
|
|
143
|
+
|
|
144
|
+
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.
|
|
145
|
+
|
|
146
|
+
| repo | what it is | pages |
|
|
147
|
+
|---|---|---|
|
|
148
|
+
| [awdk](https://github.com/Aitherium/awdk) | Build AI agent fleets — 3 lines, any backend, local or cloud | [docs](https://aitherium.github.io/awdk/) |
|
|
149
|
+
| [awskills](https://github.com/Aitherium/awskills) | Portable agent skills — self-contained procedures an agent loads on demand | [docs](https://aitherium.github.io/awskills/) |
|
|
150
|
+
| [awm](https://github.com/Aitherium/awm) | A portable, scoped agent memory | [docs](https://aitherium.github.io/awm/) |
|
|
151
|
+
| [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/) |
|
|
152
|
+
| **awrun** _(you are here)_ | A priority-aware queue and dispatcher for agentic runs and ad-hoc CI builds | [docs](https://aitherium.github.io/awrun/) |
|
|
153
|
+
| [awgraph](https://github.com/Aitherium/awgraph) | A semantic code graph for agents — AST + tree-sitter, call graphs | [docs](https://aitherium.github.io/awgraph/) |
|
|
154
|
+
| [awgit](https://github.com/Aitherium/awgit) | Semantic version control on top of git — edit-ops and leases | [docs](https://aitherium.github.io/awgit/) |
|
|
155
|
+
| [awseal](https://github.com/Aitherium/awseal) | Sign an artifact so a stranger can verify it | [docs](https://aitherium.github.io/awseal/) |
|
|
156
|
+
| [awshare](https://github.com/Aitherium/awshare) | Publish an artifact and fetch it back verified | [docs](https://aitherium.github.io/awshare/) |
|
|
157
|
+
| [awdit](https://github.com/Aitherium/awdit) | An append-only audit trail whose gaps are DETECTABLE | [docs](https://aitherium.github.io/awdit/) |
|
|
158
|
+
| [awbac](https://github.com/Aitherium/awbac) | Role-based access control that fails closed and explains itself | [docs](https://aitherium.github.io/awbac/) |
|
|
159
|
+
| [awiam](https://github.com/Aitherium/awiam) | Who is this caller? A directory and session store that fails honestly | [docs](https://aitherium.github.io/awiam/) |
|
|
160
|
+
| [awtunnel](https://github.com/Aitherium/awtunnel) | Reach a service that has no public address | [docs](https://aitherium.github.io/awtunnel/) |
|
|
161
|
+
| [awnest](https://github.com/Aitherium/awnest) | Prove there is a human before you let them into the nest | [docs](https://aitherium.github.io/awnest/) |
|
|
162
|
+
| [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/) |
|
|
163
|
+
| [awnix](https://github.com/Aitherium/awnix) | A Linux you can hand to an agent — immutable base, capabilities included | [docs](https://aitherium.github.io/awnix/) |
|
|
164
|
+
| [awrecover](https://github.com/Aitherium/awrecover) | Labelled snapshots with an all-or-nothing restore | [docs](https://aitherium.github.io/awrecover/) |
|
|
165
|
+
| [awrelay](https://github.com/Aitherium/awrelay) | Portable agent messaging — findings, alerts, coordination | [docs](https://aitherium.github.io/awrelay/) |
|
|
166
|
+
| [awmail](https://github.com/Aitherium/awmail) | Give an agent an email address — send, and actually receive | [docs](https://aitherium.github.io/awmail/) |
|
|
167
|
+
| [awnet](https://github.com/Aitherium/awnet) | The agentic web — agents host a mesh, and agents join one | [docs](https://aitherium.github.io/awnet/) |
|
|
168
|
+
| [awfind](https://github.com/Aitherium/awfind) | A portable search client — query, results, ranking | [docs](https://aitherium.github.io/awfind/) |
|
|
169
|
+
| [awbrowse](https://github.com/Aitherium/awbrowse) | A portable browser client — navigate, console, network, DOM, screenshot | [docs](https://aitherium.github.io/awbrowse/) |
|
|
170
|
+
| [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/) |
|
|
171
|
+
| [aitherkvcache](https://github.com/Aitherium/aitherkvcache) | Near-optimal KV cache quantization for LLM inference — sub-byte compression | [docs](https://aitherium.github.io/aitherkvcache/) |
|
|
172
|
+
| [AitherZero](https://github.com/Aitherium/AitherZero) | PowerShell 7+ automation framework — numbered, self-describing scripts | [docs](https://aitherium.github.io/AitherZero/) |
|
|
173
|
+
| [AitherConnect](https://github.com/Aitherium/AitherConnect) | Browser extension — federated AI search, page context, and the Living OS overlay | [docs](https://aitherium.github.io/AitherConnect/) |
|
|
174
|
+
| [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/) |
|
|
175
|
+
| [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/) |
|
|
176
|
+
| [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/) |
|
|
177
|
+
| [awrepl](https://github.com/Aitherium/awrepl) | A REPL an agent can actually use — state that survives between turns | [docs](https://aitherium.github.io/awrepl/) |
|
|
178
|
+
| [awresearch](https://github.com/Aitherium/awresearch) | Ask a research question, get a cited report you can check | [docs](https://aitherium.github.io/awresearch/) |
|
|
179
|
+
| [awpredict](https://github.com/Aitherium/awpredict) | Predict what your environment does next, and how surprised you were | [docs](https://aitherium.github.io/awpredict/) |
|
|
180
|
+
| [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/) |
|
|
181
|
+
|
|
182
|
+
<!-- aither-ecosystem:end -->
|
awrun-0.1.0/README.md
ADDED
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
# awrun — dynamic priority for the runs you actually control
|
|
2
|
+
|
|
3
|
+
GitHub Actions' self-hosted runner queue is FIFO-per-label, opaque, and
|
|
4
|
+
un-reprioritizable — there is no API to say "run this one next." That is a
|
|
5
|
+
hard platform limit, not a bug. What that limit produces in practice is a
|
|
6
|
+
"belt-fed machine gun": everything fires in arrival order, and a low-value
|
|
7
|
+
build queued a minute earlier blocks a high-value one indefinitely, with no
|
|
8
|
+
lever to move it up.
|
|
9
|
+
|
|
10
|
+
`awrun` does not try to reprioritize GitHub's own queue for other people's
|
|
11
|
+
pushes — it can't, and claiming otherwise would be a lie. What it delivers,
|
|
12
|
+
completely and correctly, is dynamic priority over the class of run that
|
|
13
|
+
actually matters most: work submitted *through it* — agentic/ADK runs
|
|
14
|
+
end-to-end (no GitHub Actions involvement at all), and ad-hoc
|
|
15
|
+
`workflow_dispatch` CI builds, so the order in which *we* fire them is
|
|
16
|
+
finally something a human or an agent can steer while it's in flight.
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
pip install -e AitherOS/packages/awrun
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
Python 3.10+. No hard dependencies for the core queue.
|
|
23
|
+
|
|
24
|
+
## What it is
|
|
25
|
+
|
|
26
|
+
A durable, cross-process priority queue (`store.py`) plus a CLI (`cli.py`)
|
|
27
|
+
and a dispatch loop (`dispatcher.py`). Modeled directly on
|
|
28
|
+
`awdk/adk/decisions/store.py` — one JSON file per item, atomic
|
|
29
|
+
`os.replace()` writes — with one deliberate improvement: claiming an item is
|
|
30
|
+
an `os.rename()` between status directories (`queued/` → `claimed/` → ...),
|
|
31
|
+
which is a genuine cross-process mutex with no lock file needed, rather than
|
|
32
|
+
a Python `threading.RLock()` that only protects one process.
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
awrun submit --kind agent --task "verify the fix" --priority 5
|
|
36
|
+
awrun submit --kind ci --workflow product-images.yml --ref develop \
|
|
37
|
+
--field images=gargbot --field push=true --priority 8
|
|
38
|
+
awrun queue # highest priority first, oldest breaks ties
|
|
39
|
+
awrun bump r-7f3a9c2e --priority 10 # the literal missing feature
|
|
40
|
+
awrun cancel r-7f3a9c2e
|
|
41
|
+
awrun status r-7f3a9c2e
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
`AITHER_AWRUN_DIR` overrides the store location (default
|
|
45
|
+
`~/.aither/awrun/`) — set it in tests and for per-tenant isolation.
|
|
46
|
+
|
|
47
|
+
## What it is not
|
|
48
|
+
|
|
49
|
+
Not a new daemon. `decisions/store.py` already proves a durable, pollable,
|
|
50
|
+
cross-process queue doesn't need one — `awrun dispatch` (via
|
|
51
|
+
`awrun.dispatcher`) runs as a scheduled task or a one-shot `--once`
|
|
52
|
+
invocation, matching `AitherOS/config/routines/*.yaml`'s existing pattern.
|
|
53
|
+
|
|
54
|
+
Not a replacement for required PR-gate CI, which stays on GitHub Actions'
|
|
55
|
+
native triggers. `awrun` targets ad-hoc dispatches only.
|
|
56
|
+
|
|
57
|
+
## What it dispatches, as shipped
|
|
58
|
+
|
|
59
|
+
All three kinds below are implemented, routed and self-tested. Dispatch is
|
|
60
|
+
priority-first ACROSS kinds, not per-kind — the whole point is one queue an
|
|
61
|
+
urgent item can jump.
|
|
62
|
+
|
|
63
|
+
| kind | what it runs |
|
|
64
|
+
|---|---|
|
|
65
|
+
| `agent` | `adk chat <agent> "<task>"` |
|
|
66
|
+
| `ci` | `gh workflow run <workflow> --ref <ref> -f k=v...` |
|
|
67
|
+
| `comet-deploy` | a POST to AitherComet's `/deploy`, tenant-scoped and cost-gated |
|
|
68
|
+
|
|
69
|
+
> This section used to say `kind=agent` dispatch only, and list `kind=ci` among
|
|
70
|
+
> "the next phases", while ci was implemented, routed and covered by a
|
|
71
|
+
> self-test. That cost a real one: a release sat queued behind a saturated
|
|
72
|
+
> runner pool and nobody reached for awrun, because the README said the feature
|
|
73
|
+
> did not exist yet. **A capability documented as unbuilt is unbuilt in
|
|
74
|
+
> practice** — nobody calls it, so nothing exercises it, so nobody notices it
|
|
75
|
+
> works. A repo-side check now asserts this section against the dispatcher's
|
|
76
|
+
> own routing table, so it cannot drift back.
|
|
77
|
+
|
|
78
|
+
## Verification
|
|
79
|
+
|
|
80
|
+
```bash
|
|
81
|
+
python -m pytest AitherOS/packages/awrun/tests/
|
|
82
|
+
python -m awrun.cli self-test
|
|
83
|
+
python -m awrun.dispatcher --self-test
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
<!-- aither-ecosystem:start GENERATED from the ecosystem registry. Edits here are overwritten; change the registry instead. -->
|
|
87
|
+
|
|
88
|
+
## The aw family
|
|
89
|
+
|
|
90
|
+
Standalone tools that share one idea: **replace something you would otherwise have to _trust_ with something you can _check_.**
|
|
91
|
+
|
|
92
|
+
Each installs on its own, works offline, and needs no account.
|
|
93
|
+
|
|
94
|
+
| | instead of trusting | you check |
|
|
95
|
+
|---|---|---|
|
|
96
|
+
| [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 |
|
|
97
|
+
| [awskills](https://github.com/Aitherium/awskills) | that an agent knows your procedure | the procedure written down, versioned, and loadable by any agent |
|
|
98
|
+
| [awm](https://github.com/Aitherium/awm) | that memory stayed in its lane | tenant:user:project scopes, so a write cannot cross a boundary |
|
|
99
|
+
| [awnode](https://github.com/Aitherium/awnode) | a vendor's cloud with every prompt | a local gateway routing to backends you chose |
|
|
100
|
+
| [awgraph](https://github.com/Aitherium/awgraph) | that grep found everything | an AST + tree-sitter call graph an agent can traverse |
|
|
101
|
+
| [awgit](https://github.com/Aitherium/awgit) | that no one else is editing this file | a lease, refused at commit time if you do not hold it |
|
|
102
|
+
| [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 |
|
|
103
|
+
| [awshare](https://github.com/Aitherium/awshare) | that the download is intact | content-addressed bundles, verified on fetch |
|
|
104
|
+
| [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" |
|
|
105
|
+
| [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 |
|
|
106
|
+
| [awnix](https://github.com/Aitherium/awnix) | that the box is what you left it as | an immutable image you built, with atomic rollback |
|
|
107
|
+
| [awrecover](https://github.com/Aitherium/awrecover) | that the restore worked | a restore that fully lands or does not land at all |
|
|
108
|
+
| [awrelay](https://github.com/Aitherium/awrelay) | a SaaS in the middle of your agents | findings, alerts and coordination over your own transport |
|
|
109
|
+
| [awmail](https://github.com/Aitherium/awmail) | a mailbox somebody else can read | mail your agents send and receive over your own server |
|
|
110
|
+
| [awfind](https://github.com/Aitherium/awfind) | one vendor's idea of the web | results from whichever providers you configured |
|
|
111
|
+
| [awbrowse](https://github.com/Aitherium/awbrowse) | that the page said what you were told | the render, the DOM and the requests it made |
|
|
112
|
+
| [aitherkvcache](https://github.com/Aitherium/aitherkvcache) | a vendor's quantisation defaults | sub-byte KV cache kernels you can benchmark yourself |
|
|
113
|
+
| [AitherZero](https://github.com/Aitherium/AitherZero) | a pile of scripts nobody has numbered | numbered, discoverable automation with declarative playbooks |
|
|
114
|
+
| [AitherConnect](https://github.com/Aitherium/AitherConnect) | what a page tells your browser to do | a federated search and desktop bridge you host |
|
|
115
|
+
| [awreason](https://github.com/Aitherium/awreason) | a confident paragraph | the phases it went through, and every tool call it made to get there |
|
|
116
|
+
| [awrecurse](https://github.com/Aitherium/awrecurse) | that everything you pasted in was actually read | which slices it opened, and what it concluded from each |
|
|
117
|
+
| [awprism](https://github.com/Aitherium/awprism) | the first explanation that fits | the ranked alternatives, and the observation that separates them |
|
|
118
|
+
| [awrepl](https://github.com/Aitherium/awrepl) | what the agent believes the value is | the value, printed from the live session |
|
|
119
|
+
| [awresearch](https://github.com/Aitherium/awresearch) | a summary of pages nobody opened | every claim against the source it came from |
|
|
120
|
+
| [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 |
|
|
121
|
+
| [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 |
|
|
122
|
+
|
|
123
|
+
[**awnix**](https://github.com/Aitherium/awnix) is the ground floor — A Linux you can hand to an agent — immutable base, capabilities included.
|
|
124
|
+
|
|
125
|
+
## The Aitherium ecosystem
|
|
126
|
+
|
|
127
|
+
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.
|
|
128
|
+
|
|
129
|
+
| repo | what it is | pages |
|
|
130
|
+
|---|---|---|
|
|
131
|
+
| [awdk](https://github.com/Aitherium/awdk) | Build AI agent fleets — 3 lines, any backend, local or cloud | [docs](https://aitherium.github.io/awdk/) |
|
|
132
|
+
| [awskills](https://github.com/Aitherium/awskills) | Portable agent skills — self-contained procedures an agent loads on demand | [docs](https://aitherium.github.io/awskills/) |
|
|
133
|
+
| [awm](https://github.com/Aitherium/awm) | A portable, scoped agent memory | [docs](https://aitherium.github.io/awm/) |
|
|
134
|
+
| [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/) |
|
|
135
|
+
| **awrun** _(you are here)_ | A priority-aware queue and dispatcher for agentic runs and ad-hoc CI builds | [docs](https://aitherium.github.io/awrun/) |
|
|
136
|
+
| [awgraph](https://github.com/Aitherium/awgraph) | A semantic code graph for agents — AST + tree-sitter, call graphs | [docs](https://aitherium.github.io/awgraph/) |
|
|
137
|
+
| [awgit](https://github.com/Aitherium/awgit) | Semantic version control on top of git — edit-ops and leases | [docs](https://aitherium.github.io/awgit/) |
|
|
138
|
+
| [awseal](https://github.com/Aitherium/awseal) | Sign an artifact so a stranger can verify it | [docs](https://aitherium.github.io/awseal/) |
|
|
139
|
+
| [awshare](https://github.com/Aitherium/awshare) | Publish an artifact and fetch it back verified | [docs](https://aitherium.github.io/awshare/) |
|
|
140
|
+
| [awdit](https://github.com/Aitherium/awdit) | An append-only audit trail whose gaps are DETECTABLE | [docs](https://aitherium.github.io/awdit/) |
|
|
141
|
+
| [awbac](https://github.com/Aitherium/awbac) | Role-based access control that fails closed and explains itself | [docs](https://aitherium.github.io/awbac/) |
|
|
142
|
+
| [awiam](https://github.com/Aitherium/awiam) | Who is this caller? A directory and session store that fails honestly | [docs](https://aitherium.github.io/awiam/) |
|
|
143
|
+
| [awtunnel](https://github.com/Aitherium/awtunnel) | Reach a service that has no public address | [docs](https://aitherium.github.io/awtunnel/) |
|
|
144
|
+
| [awnest](https://github.com/Aitherium/awnest) | Prove there is a human before you let them into the nest | [docs](https://aitherium.github.io/awnest/) |
|
|
145
|
+
| [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/) |
|
|
146
|
+
| [awnix](https://github.com/Aitherium/awnix) | A Linux you can hand to an agent — immutable base, capabilities included | [docs](https://aitherium.github.io/awnix/) |
|
|
147
|
+
| [awrecover](https://github.com/Aitherium/awrecover) | Labelled snapshots with an all-or-nothing restore | [docs](https://aitherium.github.io/awrecover/) |
|
|
148
|
+
| [awrelay](https://github.com/Aitherium/awrelay) | Portable agent messaging — findings, alerts, coordination | [docs](https://aitherium.github.io/awrelay/) |
|
|
149
|
+
| [awmail](https://github.com/Aitherium/awmail) | Give an agent an email address — send, and actually receive | [docs](https://aitherium.github.io/awmail/) |
|
|
150
|
+
| [awnet](https://github.com/Aitherium/awnet) | The agentic web — agents host a mesh, and agents join one | [docs](https://aitherium.github.io/awnet/) |
|
|
151
|
+
| [awfind](https://github.com/Aitherium/awfind) | A portable search client — query, results, ranking | [docs](https://aitherium.github.io/awfind/) |
|
|
152
|
+
| [awbrowse](https://github.com/Aitherium/awbrowse) | A portable browser client — navigate, console, network, DOM, screenshot | [docs](https://aitherium.github.io/awbrowse/) |
|
|
153
|
+
| [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/) |
|
|
154
|
+
| [aitherkvcache](https://github.com/Aitherium/aitherkvcache) | Near-optimal KV cache quantization for LLM inference — sub-byte compression | [docs](https://aitherium.github.io/aitherkvcache/) |
|
|
155
|
+
| [AitherZero](https://github.com/Aitherium/AitherZero) | PowerShell 7+ automation framework — numbered, self-describing scripts | [docs](https://aitherium.github.io/AitherZero/) |
|
|
156
|
+
| [AitherConnect](https://github.com/Aitherium/AitherConnect) | Browser extension — federated AI search, page context, and the Living OS overlay | [docs](https://aitherium.github.io/AitherConnect/) |
|
|
157
|
+
| [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/) |
|
|
158
|
+
| [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/) |
|
|
159
|
+
| [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/) |
|
|
160
|
+
| [awrepl](https://github.com/Aitherium/awrepl) | A REPL an agent can actually use — state that survives between turns | [docs](https://aitherium.github.io/awrepl/) |
|
|
161
|
+
| [awresearch](https://github.com/Aitherium/awresearch) | Ask a research question, get a cited report you can check | [docs](https://aitherium.github.io/awresearch/) |
|
|
162
|
+
| [awpredict](https://github.com/Aitherium/awpredict) | Predict what your environment does next, and how surprised you were | [docs](https://aitherium.github.io/awpredict/) |
|
|
163
|
+
| [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/) |
|
|
164
|
+
|
|
165
|
+
<!-- aither-ecosystem:end -->
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"""awrun — a priority-aware queue and dispatcher for agentic runs and ad-hoc CI builds."""
|
|
2
|
+
|
|
3
|
+
from awrun.store import (
|
|
4
|
+
ALL_STATUSES,
|
|
5
|
+
CLOSED_STATUSES,
|
|
6
|
+
KINDS,
|
|
7
|
+
OPEN_STATUSES,
|
|
8
|
+
RunError,
|
|
9
|
+
RunItem,
|
|
10
|
+
RunStore,
|
|
11
|
+
get_store,
|
|
12
|
+
runs_dir,
|
|
13
|
+
)
|
|
14
|
+
|
|
15
|
+
__all__ = [
|
|
16
|
+
"ALL_STATUSES",
|
|
17
|
+
"CLOSED_STATUSES",
|
|
18
|
+
"KINDS",
|
|
19
|
+
"OPEN_STATUSES",
|
|
20
|
+
"RunError",
|
|
21
|
+
"RunItem",
|
|
22
|
+
"RunStore",
|
|
23
|
+
"get_store",
|
|
24
|
+
"runs_dir",
|
|
25
|
+
]
|
|
26
|
+
|
|
27
|
+
__version__ = "0.1.0"
|