atsys 0.2.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.
- atsys-0.2.0/LICENSE +201 -0
- atsys-0.2.0/MANIFEST.in +5 -0
- atsys-0.2.0/PKG-INFO +51 -0
- atsys-0.2.0/README.md +131 -0
- atsys-0.2.0/pyproject.toml +35 -0
- atsys-0.2.0/python/README.md +33 -0
- atsys-0.2.0/python/atsys/__init__.py +2 -0
- atsys-0.2.0/python/atsys/__main__.py +2 -0
- atsys-0.2.0/python/atsys/_runtime/THIRD_PARTY_NOTICES.txt +10696 -0
- atsys-0.2.0/python/atsys/_runtime/attempt-runner.mjs +348 -0
- atsys-0.2.0/python/atsys/_runtime/build.json +10 -0
- atsys-0.2.0/python/atsys/_runtime/chunk-DRPP3MCL.mjs +326 -0
- atsys-0.2.0/python/atsys/_runtime/chunk-GDR7PSDX.mjs +749 -0
- atsys-0.2.0/python/atsys/_runtime/chunk-LC26AKXE.mjs +20341 -0
- atsys-0.2.0/python/atsys/_runtime/chunk-P7AIJUJZ.mjs +80 -0
- atsys-0.2.0/python/atsys/_runtime/chunk-YV43XJE5.mjs +124 -0
- atsys-0.2.0/python/atsys/_runtime/cli.mjs +509 -0
- atsys-0.2.0/python/atsys/_runtime/daemon.mjs +51 -0
- atsys-0.2.0/python/atsys/_runtime/dist/assets/charts-WoDB_C6u.js +59 -0
- atsys-0.2.0/python/atsys/_runtime/dist/assets/dm-sans-latin-400-normal-BwCSEQnW.woff +0 -0
- atsys-0.2.0/python/atsys/_runtime/dist/assets/dm-sans-latin-400-normal-CW0RaeGs.woff2 +0 -0
- atsys-0.2.0/python/atsys/_runtime/dist/assets/dm-sans-latin-500-normal-B9HHJjqV.woff2 +0 -0
- atsys-0.2.0/python/atsys/_runtime/dist/assets/dm-sans-latin-500-normal-Dr3UlScf.woff +0 -0
- atsys-0.2.0/python/atsys/_runtime/dist/assets/dm-sans-latin-600-normal-Aqo67rzb.woff2 +0 -0
- atsys-0.2.0/python/atsys/_runtime/dist/assets/dm-sans-latin-600-normal-BmdmIIQ2.woff +0 -0
- atsys-0.2.0/python/atsys/_runtime/dist/assets/dm-sans-latin-700-normal-CUSSCpQX.woff +0 -0
- atsys-0.2.0/python/atsys/_runtime/dist/assets/dm-sans-latin-700-normal-DvUfVpUG.woff2 +0 -0
- atsys-0.2.0/python/atsys/_runtime/dist/assets/ibm-plex-mono-latin-400-normal-CvHOgSBP.woff +0 -0
- atsys-0.2.0/python/atsys/_runtime/dist/assets/ibm-plex-mono-latin-400-normal-DMJ8VG8y.woff2 +0 -0
- atsys-0.2.0/python/atsys/_runtime/dist/assets/index-C3BGQM6K.js +13 -0
- atsys-0.2.0/python/atsys/_runtime/dist/assets/index-Dskhf42I.css +1 -0
- atsys-0.2.0/python/atsys/_runtime/dist/assets/mui-D_BOS8um.js +188 -0
- atsys-0.2.0/python/atsys/_runtime/dist/favicon.svg +1 -0
- atsys-0.2.0/python/atsys/_runtime/dist/index.html +21 -0
- atsys-0.2.0/python/atsys/_runtime/dist/licenses/dm-sans-OFL.txt +93 -0
- atsys-0.2.0/python/atsys/_runtime/dist/licenses/headlamp-LICENSE.txt +202 -0
- atsys-0.2.0/python/atsys/_runtime/dist/licenses/headlamp-NOTICE.txt +42 -0
- atsys-0.2.0/python/atsys/_runtime/dist/licenses/ibm-plex-mono-OFL.txt +93 -0
- atsys-0.2.0/python/atsys/_runtime/examples/checkpoint-task.mjs +24 -0
- atsys-0.2.0/python/atsys/_runtime/index.mjs +24328 -0
- atsys-0.2.0/python/atsys/_runtime/index.mjs.LEGAL.txt +289 -0
- atsys-0.2.0/python/atsys/cli.py +288 -0
- atsys-0.2.0/python/atsys/resources/codex-skill/SKILL.md +19 -0
- atsys-0.2.0/python/atsys/resources/codex-skill/references/task-config.md +21 -0
- atsys-0.2.0/python/atsys/resources/coding-task.json +26 -0
- atsys-0.2.0/python/atsys/resources/task-defaults.json +31 -0
- atsys-0.2.0/python/atsys/resources/task-schema.json +205 -0
- atsys-0.2.0/python/atsys.egg-info/PKG-INFO +51 -0
- atsys-0.2.0/python/atsys.egg-info/SOURCES.txt +53 -0
- atsys-0.2.0/python/atsys.egg-info/dependency_links.txt +1 -0
- atsys-0.2.0/python/atsys.egg-info/entry_points.txt +2 -0
- atsys-0.2.0/python/atsys.egg-info/requires.txt +1 -0
- atsys-0.2.0/python/atsys.egg-info/top_level.txt +1 -0
- atsys-0.2.0/setup.cfg +4 -0
- atsys-0.2.0/setup.py +14 -0
atsys-0.2.0/LICENSE
ADDED
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright [yyyy] [name of copyright owner]
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
atsys-0.2.0/MANIFEST.in
ADDED
atsys-0.2.0/PKG-INFO
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: atsys
|
|
3
|
+
Version: 0.2.0
|
|
4
|
+
Summary: Durable coding-task supervision with Codex integration and a local web dashboard
|
|
5
|
+
License-Expression: Apache-2.0
|
|
6
|
+
Project-URL: Homepage, https://github.com/aetna000/atsys
|
|
7
|
+
Project-URL: Repository, https://github.com/aetna000/atsys
|
|
8
|
+
Project-URL: Issues, https://github.com/aetna000/atsys/issues
|
|
9
|
+
Classifier: Programming Language :: Python :: 3
|
|
10
|
+
Classifier: Operating System :: MacOS
|
|
11
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
12
|
+
Classifier: Topic :: Software Development
|
|
13
|
+
Requires-Python: >=3.10
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
License-File: LICENSE
|
|
16
|
+
Requires-Dist: nodejs-wheel-binaries<25,>=24
|
|
17
|
+
Dynamic: license-file
|
|
18
|
+
|
|
19
|
+
# AtSys
|
|
20
|
+
|
|
21
|
+
Installable supervision for general coding work: features, bug fixes, refactors, tests, builds, migrations and scripts.
|
|
22
|
+
|
|
23
|
+
```sh
|
|
24
|
+
pip install atsys
|
|
25
|
+
cd /path/to/your/project
|
|
26
|
+
atsys init
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
Then open a Codex session in that repository and ask:
|
|
30
|
+
|
|
31
|
+
```text
|
|
32
|
+
$atsys Implement my feature, with tests, under automatic supervision.
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
The bundled skill teaches Codex to inspect the repository, prepare the task objective/plan and acceptance checks, configure bounded supervision/recovery, submit the task, and report a verified handoff. `atsys init` installs the repository skill, attaches the project, installs the macOS watchdog service, and starts the local dashboard. Existing source, AGENTS.md, Git hooks and provider credentials are preserved. Codex CLI and its native login must already be available for model-backed work.
|
|
36
|
+
|
|
37
|
+
```sh
|
|
38
|
+
atsys ui
|
|
39
|
+
atsys task list
|
|
40
|
+
atsys task show TASK_ID
|
|
41
|
+
atsys task stop TASK_ID
|
|
42
|
+
atsys service status
|
|
43
|
+
atsys task template --objective "My coding objective" --output .atsys/tasks/task.json
|
|
44
|
+
atsys task submit --config .atsys/tasks/task.json
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
The wheel contains the compiled backend and web assets. A Python dependency supplies Node 24; no npm install, development server, or source checkout is needed. State defaults to `~/.local/share/atsys`, overridable with `ATSYS_DATA_DIR`. Runtime state is never written into the installed package.
|
|
48
|
+
|
|
49
|
+
Tasks run independently of the terminal and dashboard. Codex diagnosis is read-only; separately authorized repair uses workspace-write. Completion requires the configured validator. Telegram is opt-in through the dashboard. Local sleep/power loss suspends work; generic commands run as the local user. Built-in OS service installation currently targets macOS; Linux requires a separately configured service manager. Windows process supervision is unsupported.
|
|
50
|
+
|
|
51
|
+
Use `atsys init --no-service --no-dashboard` for integration-only setup, `atsys integrate` to install just the Codex skill, and `atsys integrate --remove` to remove the unmodified managed skill. Reopen the Codex session if it was started before the skill was installed.
|
atsys-0.2.0/README.md
ADDED
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
# AtSys
|
|
2
|
+
|
|
3
|
+
A local control plane for **any coding work you delegate**: implementing features, fixing bugs, refactoring, testing, building, migrating, reviewing, or running scripts. AtSys keeps the task, automation, observation, recovery policy, and escalation visible after the originating Codex conversation or terminal closes.
|
|
4
|
+
|
|
5
|
+
The benchmark failure motivated this project; benchmarks are not its domain model.
|
|
6
|
+
|
|
7
|
+

|
|
8
|
+
|
|
9
|
+
## Start
|
|
10
|
+
|
|
11
|
+
Install the locally built Python release (Python 3.10+):
|
|
12
|
+
|
|
13
|
+
```sh
|
|
14
|
+
pip install /path/to/atsys/release/atsys-0.2.0-py3-none-any.whl
|
|
15
|
+
cd /path/to/your/project
|
|
16
|
+
atsys init
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
Then open Codex in that repository and say:
|
|
20
|
+
|
|
21
|
+
```text
|
|
22
|
+
$atsys Implement [my objective], preserving unrelated changes and verifying [acceptance criteria].
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
The packaged skill handles repository inspection, planning, task configuration, independent validation, two bounded retries, supervisor/repair policy, watchdog checks and verified handoff to a separate worker. You provide the objective and constraints. No pasted setup prompt or absolute AtSys checkout path is needed. Reopen Codex if it was already running when the skill was installed.
|
|
26
|
+
|
|
27
|
+
`atsys init` installs the project skill, starts the macOS watchdog service and launches the bundled dashboard. `atsys ui` opens it again; `atsys task list` shows managed work. The dashboard starts at **http://127.0.0.1:4310**, choosing another free port if a different instance is there. Always use the reported URL. Installed state lives in `~/.local/share/atsys`, independent of the package and repository. `ATSYS_DATA_DIR` overrides it.
|
|
28
|
+
|
|
29
|
+
The wheel includes the backend and dashboard; its Python dependency supplies Node 24. No npm or source checkout is required at runtime. Codex CLI and its existing login are needed for Codex workers, supervisors and repairs. The 0.2.0 artifacts are built locally; this change has **not** been published to PyPI. After publication the installation command becomes `pip install atsys`. See [packaging, verification and release instructions](docs/PACKAGING.md).
|
|
30
|
+
|
|
31
|
+
## Develop AtSys from source
|
|
32
|
+
|
|
33
|
+
Node 22.16+ and npm are required for development.
|
|
34
|
+
|
|
35
|
+
```sh
|
|
36
|
+
npm install
|
|
37
|
+
npm run dev
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
Open **http://127.0.0.1:5173**. For a built application, run `npm run build` then `npm start` and open **http://127.0.0.1:4310**. `ATSYS_PORT` and `ATSYS_DATA_DIR` override the local API port and private data directory.
|
|
41
|
+
|
|
42
|
+
The primary **Managed tasks** page runs real workloads. The older resource-console screens are explicitly grouped as samples. No Docker, Kubernetes, AtMem, or AtFlows is required.
|
|
43
|
+
|
|
44
|
+
## Delegate work
|
|
45
|
+
|
|
46
|
+
Use **New managed task** to configure:
|
|
47
|
+
|
|
48
|
+
- Objective, project directory, execution plan and constraints.
|
|
49
|
+
- A Codex coding worker (model and reasoning effort), or explicit command arguments.
|
|
50
|
+
- An independent acceptance command: tests, builds, lint, custom assertions, or any executable check. Required artifact paths are optional and their contents are hashed.
|
|
51
|
+
- Attempt deadlines, total task lifetime, runner heartbeat deadline, output inactivity window, and optional application progress file.
|
|
52
|
+
- Notify-only, bounded restart, or automatic Codex supervision. Optional repair permission launches a separate bounded Codex worker with workspace-write access.
|
|
53
|
+
- Retry delay/limits, supervisor model/effort/call limit/deadline, and repair deadline.
|
|
54
|
+
|
|
55
|
+
AtSys launches the worker, checks it, and runs the independent validator. Failed execution or validation opens an incident. The supervisor diagnoses read-only and proposes restart, repair, or human escalation. Deterministic policy decides whether the action is permitted. A repair never bypasses the configured acceptance command.
|
|
56
|
+
|
|
57
|
+
**Run recovery drill** exercises a harmless local task that deliberately fails once, saves progress, resumes, and validates its result. It does not invoke a paid model or touch other projects.
|
|
58
|
+
|
|
59
|
+
## CLI from Codex or your terminal
|
|
60
|
+
|
|
61
|
+
```sh
|
|
62
|
+
# Submit a coding task and immediately return to the caller.
|
|
63
|
+
npm run atsys -- run --project /absolute/repo --worker codex \
|
|
64
|
+
--objective "Implement the requested feature, preserving unrelated changes" \
|
|
65
|
+
--validation '["npm","test"]'
|
|
66
|
+
|
|
67
|
+
# Supervise an existing command.
|
|
68
|
+
npm run atsys -- run --project /absolute/repo --name "Build and check" \
|
|
69
|
+
--recovery restart --timeout 1800 -- npm run build
|
|
70
|
+
|
|
71
|
+
# Full configuration (missing fields receive documented defaults).
|
|
72
|
+
npm run atsys -- task submit --config examples/coding-task.json
|
|
73
|
+
npm run atsys -- task list
|
|
74
|
+
npm run atsys -- task show task-ID
|
|
75
|
+
npm run atsys -- task stop task-ID
|
|
76
|
+
npm run atsys -- task retry task-ID
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
Update the example's working directory and objective before submitting it. JSON argv is passed directly with `shell:false`; use an explicit shell executable only when your task requires one. Generic commands run as your local user. Exit-code validation is available when sufficient; a custom independent acceptance command is preferred for coding changes. Benchmark JSON remains an optional specialized validator.
|
|
80
|
+
|
|
81
|
+
`run` and `task submit` persist work and exit. `run --attached` retains the original terminal-owned executor for compatibility. `status`/`stop run-ID` refer to the older sample/basic-run store; `task list`/`task stop task-ID` refer to managed work.
|
|
82
|
+
|
|
83
|
+
## Make the watchdog durable
|
|
84
|
+
|
|
85
|
+
```sh
|
|
86
|
+
npm run atsys -- service install
|
|
87
|
+
npm run atsys -- service status
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
On macOS, this installs a **current-user LaunchAgent** with KeepAlive and login startup. You can also manage it from **Service & Telegram**. The dashboard/API and CLI are not execution owners. Detached runners survive their closure; the OS service restarts a dead watchdog and reconciles existing attempts.
|
|
91
|
+
|
|
92
|
+
```sh
|
|
93
|
+
npm run atsys -- service uninstall
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
Removal disables OS restart protection and leaves a detached watchdog for existing work. Stop individual tasks explicitly before removing their execution environment. Other POSIX platforms can run `node --import tsx server/operations/daemon.ts /absolute/data-directory` under their own service manager; built-in installation currently targets macOS.
|
|
97
|
+
|
|
98
|
+
A sleeping or powered-off computer cannot execute tasks or send alerts. Use an always-on host for continuous operation; remote access itself is not implemented.
|
|
99
|
+
|
|
100
|
+
## Telegram
|
|
101
|
+
|
|
102
|
+
Open **Service & Telegram**, enter a bot token and chat ID, enable the desired event types, save, and explicitly send a test notification. Start a conversation with the bot first. Notifications use a persistent outbox with bounded retries and visible delivery outcomes.
|
|
103
|
+
|
|
104
|
+
The token is stored separately in a mode-0600 private file and is never returned by the API. Telegram is outbound notification only; it cannot authorize recovery. Delivery is at-least-once: a crash after Telegram accepted a message but before the receipt is saved can produce a duplicate. No notifications are sent until configured and enabled.
|
|
105
|
+
|
|
106
|
+
## What is durable, and what is bounded
|
|
107
|
+
|
|
108
|
+
Operational state lives in the data directory's `operations.sqlite` (`~/.local/share/atsys` for pip installs; `.atsys` for source development), with transactional task/attempt/event/outbox changes. Each attempt has a configuration snapshot and process identity. Watchdog ownership is fenced by a durable lease. Runner heartbeats and application progress are distinct. Output inactivity is an optional heuristic, not proof of task progress. Attempts keep up to 32 KB of redacted output; tasks keep the latest 500 events. Full retention/export is future work.
|
|
109
|
+
|
|
110
|
+
Completion requires the declared check, not an agent's claim. Generic artifact checks prove presence and record content digests; they do not by themselves prove semantic correctness or freshness. The optional benchmark adapter also checks freshness and its result schema. Application checkpoint recovery uses declared resume arguments; arbitrary side effects and native Codex session resume are not automatically reconstructed. Retry-safe commands/checkpoints remain part of task configuration.
|
|
111
|
+
|
|
112
|
+
Codex uses the installed CLI and native login. No provider authentication files are read by AtSys. Model costs are currently unknown and dollar budgets are not enforced for managed tasks; attempt, call, and time limits are enforced. Generic commands are trusted code. This is a single-user loopback application, not an authenticated team server or sandbox for hostile workloads.
|
|
113
|
+
|
|
114
|
+
## Verify and review
|
|
115
|
+
|
|
116
|
+
```sh
|
|
117
|
+
npm test
|
|
118
|
+
npm run typecheck
|
|
119
|
+
npm run build
|
|
120
|
+
npx playwright install chromium
|
|
121
|
+
npm run test:e2e
|
|
122
|
+
npm run format:check
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
- [Active packaging specification](specs/003-python-package/spec.md), [plan](specs/003-python-package/plan.md), [tasks](specs/003-python-package/tasks.md)
|
|
126
|
+
- [Durable supervision specification](specs/002-durable-task-supervision/spec.md), [plan](specs/002-durable-task-supervision/plan.md), [tasks](specs/002-durable-task-supervision/tasks.md)
|
|
127
|
+
- [Constitution](.specify/memory/constitution.md), [original console specification](specs/001-supervision-console/spec.md)
|
|
128
|
+
- [Architecture](docs/ARCHITECTURE.md), [verification report](docs/IMPLEMENTATION.md), [remaining work](docs/ROADMAP.md)
|
|
129
|
+
- [Build versus reuse assessment](docs/BUILD-VS-REUSE.md)
|
|
130
|
+
|
|
131
|
+
GitHub Spec Kit is initialized with the Codex integration. The UI reuses Headlamp's adapted StatusLabel and resource-console patterns, with upstream [license](src/vendor/headlamp/LICENSE), [NOTICE](src/vendor/headlamp/NOTICE), and [attribution](docs/headlamp-research.md) retained. Local fonts include their licenses. The original project brief and existing environment file are preserved; credentials and runtime state are excluded from Git.
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=77", "wheel"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "atsys"
|
|
7
|
+
version = "0.2.0"
|
|
8
|
+
description = "Durable coding-task supervision with Codex integration and a local web dashboard"
|
|
9
|
+
readme = "python/README.md"
|
|
10
|
+
requires-python = ">=3.10"
|
|
11
|
+
license = "Apache-2.0"
|
|
12
|
+
license-files = ["LICENSE"]
|
|
13
|
+
dependencies = ["nodejs-wheel-binaries>=24,<25"]
|
|
14
|
+
classifiers = [
|
|
15
|
+
"Programming Language :: Python :: 3",
|
|
16
|
+
"Operating System :: MacOS",
|
|
17
|
+
"Operating System :: POSIX :: Linux",
|
|
18
|
+
"Topic :: Software Development",
|
|
19
|
+
]
|
|
20
|
+
|
|
21
|
+
[project.scripts]
|
|
22
|
+
atsys = "atsys.cli:main"
|
|
23
|
+
|
|
24
|
+
[project.urls]
|
|
25
|
+
Homepage = "https://github.com/aetna000/atsys"
|
|
26
|
+
Repository = "https://github.com/aetna000/atsys"
|
|
27
|
+
Issues = "https://github.com/aetna000/atsys/issues"
|
|
28
|
+
|
|
29
|
+
[tool.setuptools]
|
|
30
|
+
package-dir = {"" = "python"}
|
|
31
|
+
include-package-data = true
|
|
32
|
+
|
|
33
|
+
[tool.setuptools.packages.find]
|
|
34
|
+
where = ["python"]
|
|
35
|
+
include = ["atsys*"]
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# AtSys
|
|
2
|
+
|
|
3
|
+
Installable supervision for general coding work: features, bug fixes, refactors, tests, builds, migrations and scripts.
|
|
4
|
+
|
|
5
|
+
```sh
|
|
6
|
+
pip install atsys
|
|
7
|
+
cd /path/to/your/project
|
|
8
|
+
atsys init
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
Then open a Codex session in that repository and ask:
|
|
12
|
+
|
|
13
|
+
```text
|
|
14
|
+
$atsys Implement my feature, with tests, under automatic supervision.
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
The bundled skill teaches Codex to inspect the repository, prepare the task objective/plan and acceptance checks, configure bounded supervision/recovery, submit the task, and report a verified handoff. `atsys init` installs the repository skill, attaches the project, installs the macOS watchdog service, and starts the local dashboard. Existing source, AGENTS.md, Git hooks and provider credentials are preserved. Codex CLI and its native login must already be available for model-backed work.
|
|
18
|
+
|
|
19
|
+
```sh
|
|
20
|
+
atsys ui
|
|
21
|
+
atsys task list
|
|
22
|
+
atsys task show TASK_ID
|
|
23
|
+
atsys task stop TASK_ID
|
|
24
|
+
atsys service status
|
|
25
|
+
atsys task template --objective "My coding objective" --output .atsys/tasks/task.json
|
|
26
|
+
atsys task submit --config .atsys/tasks/task.json
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
The wheel contains the compiled backend and web assets. A Python dependency supplies Node 24; no npm install, development server, or source checkout is needed. State defaults to `~/.local/share/atsys`, overridable with `ATSYS_DATA_DIR`. Runtime state is never written into the installed package.
|
|
30
|
+
|
|
31
|
+
Tasks run independently of the terminal and dashboard. Codex diagnosis is read-only; separately authorized repair uses workspace-write. Completion requires the configured validator. Telegram is opt-in through the dashboard. Local sleep/power loss suspends work; generic commands run as the local user. Built-in OS service installation currently targets macOS; Linux requires a separately configured service manager. Windows process supervision is unsupported.
|
|
32
|
+
|
|
33
|
+
Use `atsys init --no-service --no-dashboard` for integration-only setup, `atsys integrate` to install just the Codex skill, and `atsys integrate --remove` to remove the unmodified managed skill. Reopen the Codex session if it was started before the skill was installed.
|