taskill 0.1.1__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.
- taskill-0.1.1/.gitignore +242 -0
- taskill-0.1.1/CHANGELOG.md +51 -0
- taskill-0.1.1/LICENSE +201 -0
- taskill-0.1.1/PKG-INFO +194 -0
- taskill-0.1.1/README.md +160 -0
- taskill-0.1.1/ROADMAP.md +143 -0
- taskill-0.1.1/SUMD.md +79 -0
- taskill-0.1.1/TODO.md +3 -0
- taskill-0.1.1/VERSION +1 -0
- taskill-0.1.1/examples/ansible-playbook.yml +52 -0
- taskill-0.1.1/examples/github-action.yml +51 -0
- taskill-0.1.1/examples/gitlab-ci.yml +46 -0
- taskill-0.1.1/examples/systemd-timer/taskill.service +17 -0
- taskill-0.1.1/examples/systemd-timer/taskill.timer +11 -0
- taskill-0.1.1/goal.yaml +512 -0
- taskill-0.1.1/project.sh +47 -0
- taskill-0.1.1/pyproject.toml +87 -0
- taskill-0.1.1/src/taskill/__init__.py +20 -0
- taskill-0.1.1/src/taskill/cli.py +253 -0
- taskill-0.1.1/src/taskill/config.py +170 -0
- taskill-0.1.1/src/taskill/core.py +211 -0
- taskill-0.1.1/src/taskill/git_state.py +147 -0
- taskill-0.1.1/src/taskill/providers/__init__.py +37 -0
- taskill-0.1.1/src/taskill/providers/algorithmic.py +155 -0
- taskill-0.1.1/src/taskill/providers/base.py +105 -0
- taskill-0.1.1/src/taskill/providers/openrouter.py +114 -0
- taskill-0.1.1/src/taskill/providers/windsurf_mcp.py +135 -0
- taskill-0.1.1/src/taskill/state.py +42 -0
- taskill-0.1.1/src/taskill/triggers.py +94 -0
- taskill-0.1.1/src/taskill/updaters/__init__.py +6 -0
- taskill-0.1.1/src/taskill/updaters/changelog.py +92 -0
- taskill-0.1.1/src/taskill/updaters/readme.py +74 -0
- taskill-0.1.1/src/taskill/updaters/todo.py +77 -0
- taskill-0.1.1/taskill.yaml +57 -0
- taskill-0.1.1/tests/__init__.py +0 -0
- taskill-0.1.1/tests/test_algorithmic.py +93 -0
- taskill-0.1.1/tests/test_config.py +60 -0
- taskill-0.1.1/tests/test_triggers.py +118 -0
- taskill-0.1.1/tests/test_updaters.py +151 -0
- taskill-0.1.1/tree.sh +1 -0
taskill-0.1.1/.gitignore
ADDED
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
.env.example
|
|
2
|
+
examples/.env.example
|
|
3
|
+
vscode-extension/.env.example
|
|
4
|
+
.idea
|
|
5
|
+
litellm_config.yaml
|
|
6
|
+
litellm-config.yaml
|
|
7
|
+
.code2llm_cache
|
|
8
|
+
.llm
|
|
9
|
+
managed_components
|
|
10
|
+
.gui-agent.pid
|
|
11
|
+
.gui-server.pid
|
|
12
|
+
.gui-server.log
|
|
13
|
+
gui-server/app_old.py
|
|
14
|
+
gui-server/app.py.bak
|
|
15
|
+
gui-server/index_old.html
|
|
16
|
+
gui-server/index.html.bak
|
|
17
|
+
gui-server/logs/
|
|
18
|
+
gui-agent/logs/
|
|
19
|
+
logs/
|
|
20
|
+
# Byte-compiled / optimized / DLL files
|
|
21
|
+
__pycache__/
|
|
22
|
+
*.py[codz]
|
|
23
|
+
*$py.class
|
|
24
|
+
|
|
25
|
+
# C extensions
|
|
26
|
+
*.so
|
|
27
|
+
|
|
28
|
+
# Distribution / packaging
|
|
29
|
+
.Python
|
|
30
|
+
build/
|
|
31
|
+
develop-eggs/
|
|
32
|
+
dist/
|
|
33
|
+
downloads/
|
|
34
|
+
eggs/
|
|
35
|
+
.eggs/
|
|
36
|
+
lib/
|
|
37
|
+
lib64/
|
|
38
|
+
parts/
|
|
39
|
+
sdist/
|
|
40
|
+
var/
|
|
41
|
+
wheels/
|
|
42
|
+
share/python-wheels/
|
|
43
|
+
*.egg-info/
|
|
44
|
+
.installed.cfg
|
|
45
|
+
*.egg
|
|
46
|
+
MANIFEST
|
|
47
|
+
|
|
48
|
+
# PyInstaller
|
|
49
|
+
# Usually these files are written by a python script from a template
|
|
50
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
51
|
+
*.manifest
|
|
52
|
+
*.spec
|
|
53
|
+
|
|
54
|
+
# Installer logs
|
|
55
|
+
pip-log.txt
|
|
56
|
+
pip-delete-this-directory.txt
|
|
57
|
+
|
|
58
|
+
# Unit test / coverage reports
|
|
59
|
+
htmlcov/
|
|
60
|
+
.tox/
|
|
61
|
+
.nox/
|
|
62
|
+
.coverage
|
|
63
|
+
.coverage.*
|
|
64
|
+
.cache
|
|
65
|
+
nosetests.xml
|
|
66
|
+
coverage.xml
|
|
67
|
+
*.cover
|
|
68
|
+
*.py.cover
|
|
69
|
+
.hypothesis/
|
|
70
|
+
.pytest_cache/
|
|
71
|
+
cover/
|
|
72
|
+
|
|
73
|
+
# Translations
|
|
74
|
+
*.mo
|
|
75
|
+
*.pot
|
|
76
|
+
|
|
77
|
+
# Django stuff:
|
|
78
|
+
*.log
|
|
79
|
+
local_settings.py
|
|
80
|
+
db.sqlite3
|
|
81
|
+
db.sqlite3-journal
|
|
82
|
+
|
|
83
|
+
# Flask stuff:
|
|
84
|
+
instance/
|
|
85
|
+
.webassets-cache
|
|
86
|
+
|
|
87
|
+
# Scrapy stuff:
|
|
88
|
+
.scrapy
|
|
89
|
+
|
|
90
|
+
# Sphinx documentation
|
|
91
|
+
docs/_build/
|
|
92
|
+
|
|
93
|
+
# PyBuilder
|
|
94
|
+
.pybuilder/
|
|
95
|
+
target/
|
|
96
|
+
|
|
97
|
+
# Jupyter Notebook
|
|
98
|
+
.ipynb_checkpoints
|
|
99
|
+
|
|
100
|
+
# IPython
|
|
101
|
+
profile_default/
|
|
102
|
+
ipython_config.py
|
|
103
|
+
|
|
104
|
+
# pyenv
|
|
105
|
+
# For a library or package, you might want to ignore these files since the code is
|
|
106
|
+
# intended to run in multiple environments; otherwise, check them in:
|
|
107
|
+
# .python-version
|
|
108
|
+
|
|
109
|
+
# pipenv
|
|
110
|
+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
|
111
|
+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
|
112
|
+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
|
113
|
+
# install all needed dependencies.
|
|
114
|
+
#Pipfile.lock
|
|
115
|
+
|
|
116
|
+
# UV
|
|
117
|
+
# Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
|
|
118
|
+
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
|
119
|
+
# commonly ignored for libraries.
|
|
120
|
+
#uv.lock
|
|
121
|
+
|
|
122
|
+
# poetry
|
|
123
|
+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
|
|
124
|
+
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
|
125
|
+
# commonly ignored for libraries.
|
|
126
|
+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
|
|
127
|
+
#poetry.lock
|
|
128
|
+
#poetry.toml
|
|
129
|
+
|
|
130
|
+
# pdm
|
|
131
|
+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
|
|
132
|
+
# pdm recommends including project-wide configuration in pdm.toml, but excluding .pdm-python.
|
|
133
|
+
# https://pdm-project.org/en/latest/usage/project/#working-with-version-control
|
|
134
|
+
#pdm.lock
|
|
135
|
+
#pdm.toml
|
|
136
|
+
.pdm-python
|
|
137
|
+
.pdm-build/
|
|
138
|
+
|
|
139
|
+
# pixi
|
|
140
|
+
# Similar to Pipfile.lock, it is generally recommended to include pixi.lock in version control.
|
|
141
|
+
#pixi.lock
|
|
142
|
+
# Pixi creates a virtual environment in the .pixi directory, just like venv module creates one
|
|
143
|
+
# in the .venv directory. It is recommended not to include this directory in version control.
|
|
144
|
+
.pixi
|
|
145
|
+
|
|
146
|
+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
|
|
147
|
+
__pypackages__/
|
|
148
|
+
|
|
149
|
+
# Celery stuff
|
|
150
|
+
celerybeat-schedule
|
|
151
|
+
celerybeat.pid
|
|
152
|
+
|
|
153
|
+
# SageMath parsed files
|
|
154
|
+
*.sage.py
|
|
155
|
+
|
|
156
|
+
# Environments
|
|
157
|
+
.env
|
|
158
|
+
.envrc
|
|
159
|
+
.venv
|
|
160
|
+
env/
|
|
161
|
+
venv/
|
|
162
|
+
ENV/
|
|
163
|
+
env.bak/
|
|
164
|
+
venv.bak/
|
|
165
|
+
test_env/
|
|
166
|
+
|
|
167
|
+
# Spyder project settings
|
|
168
|
+
.spyderproject
|
|
169
|
+
.spyproject
|
|
170
|
+
|
|
171
|
+
# Rope project settings
|
|
172
|
+
.ropeproject
|
|
173
|
+
|
|
174
|
+
# mkdocs documentation
|
|
175
|
+
/site
|
|
176
|
+
|
|
177
|
+
# mypy
|
|
178
|
+
.mypy_cache/
|
|
179
|
+
.dmypy.json
|
|
180
|
+
dmypy.json
|
|
181
|
+
|
|
182
|
+
# Pyre type checker
|
|
183
|
+
.pyre/
|
|
184
|
+
|
|
185
|
+
# pytype static type analyzer
|
|
186
|
+
.pytype/
|
|
187
|
+
|
|
188
|
+
# Cython debug symbols
|
|
189
|
+
cython_debug/
|
|
190
|
+
|
|
191
|
+
# PyCharm
|
|
192
|
+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
|
|
193
|
+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
|
|
194
|
+
# and can be added to the global gitignore or merged into this file. For a more nuclear
|
|
195
|
+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
|
196
|
+
#.idea/
|
|
197
|
+
|
|
198
|
+
# Abstra
|
|
199
|
+
# Abstra is an AI-powered process automation framework.
|
|
200
|
+
# Ignore directories containing user credentials, local state, and settings.
|
|
201
|
+
# Learn more at https://abstra.io/docs
|
|
202
|
+
.abstra/
|
|
203
|
+
|
|
204
|
+
# Visual Studio Code
|
|
205
|
+
# Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore
|
|
206
|
+
# that can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
|
|
207
|
+
# and can be added to the global gitignore or merged into this file. However, if you prefer,
|
|
208
|
+
# you could uncomment the following to ignore the entire vscode folder
|
|
209
|
+
# .vscode/
|
|
210
|
+
|
|
211
|
+
# Ruff stuff:
|
|
212
|
+
.ruff_cache/
|
|
213
|
+
|
|
214
|
+
# PyPI configuration file
|
|
215
|
+
.pypirc
|
|
216
|
+
|
|
217
|
+
# Cursor
|
|
218
|
+
# Cursor is an AI-powered code editor. `.cursorignore` specifies files/directories to
|
|
219
|
+
# exclude from AI features like autocomplete and code analysis. Recommended for sensitive data
|
|
220
|
+
# refer to https://docs.cursor.com/context/ignore-files
|
|
221
|
+
.cursorignore
|
|
222
|
+
.cursorindexingignore
|
|
223
|
+
|
|
224
|
+
# Marimo
|
|
225
|
+
marimo/_static/
|
|
226
|
+
marimo/_lsp/
|
|
227
|
+
__marimo__/
|
|
228
|
+
.aider*
|
|
229
|
+
htmlcov/
|
|
230
|
+
|
|
231
|
+
# Large generated files and analysis outputs
|
|
232
|
+
*.yaml.bak
|
|
233
|
+
*analysis_summary.json
|
|
234
|
+
.planfile_analysis/
|
|
235
|
+
**/.planfile_analysis/
|
|
236
|
+
planfile-from-files.yaml
|
|
237
|
+
examples/*/generated.yaml
|
|
238
|
+
examples/*/external*.yaml
|
|
239
|
+
examples/*/full-analysis.yaml
|
|
240
|
+
examples/quick-start/quick-start.yaml
|
|
241
|
+
.redsl/
|
|
242
|
+
*.bak
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
## [Unreleased]
|
|
9
|
+
|
|
10
|
+
## [0.1.1] - 2026-04-25
|
|
11
|
+
|
|
12
|
+
### Docs
|
|
13
|
+
- Update CHANGELOG.md
|
|
14
|
+
- Update README.md
|
|
15
|
+
- Update ROADMAP.md
|
|
16
|
+
- Update SUMD.md
|
|
17
|
+
- Update TODO.md
|
|
18
|
+
|
|
19
|
+
### Test
|
|
20
|
+
- Update tests/__init__.py
|
|
21
|
+
- Update tests/test_algorithmic.py
|
|
22
|
+
- Update tests/test_config.py
|
|
23
|
+
- Update tests/test_triggers.py
|
|
24
|
+
- Update tests/test_updaters.py
|
|
25
|
+
|
|
26
|
+
### Other
|
|
27
|
+
- Update .env.example
|
|
28
|
+
- Update .gitignore
|
|
29
|
+
- Update PKG-INFO
|
|
30
|
+
- Update examples/ansible-playbook.yml
|
|
31
|
+
- Update examples/github-action.yml
|
|
32
|
+
- Update examples/gitlab-ci.yml
|
|
33
|
+
- Update examples/systemd-timer/taskill.service
|
|
34
|
+
- Update examples/systemd-timer/taskill.timer
|
|
35
|
+
- Update project.sh
|
|
36
|
+
- Update taskill.yaml
|
|
37
|
+
- ... and 1 more files
|
|
38
|
+
|
|
39
|
+
## [0.1.0] - 2026-04-25
|
|
40
|
+
|
|
41
|
+
### Added
|
|
42
|
+
|
|
43
|
+
- Initial working version
|
|
44
|
+
- Provider chain: Windsurf MCP → OpenRouter → algorithmic fallback
|
|
45
|
+
- Trigger system with state persistence in `.taskill/state.json`
|
|
46
|
+
- CHANGELOG / TODO / README updaters (idempotent, marker-bounded)
|
|
47
|
+
- CLI: `taskill init / status / run / release / clean-todo`
|
|
48
|
+
- `.env` loading via `python-dotenv`; auto-strips `openrouter/` prefix from `LLM_MODEL`
|
|
49
|
+
- Conventional Commits parser for the algorithmic provider
|
|
50
|
+
- Loose-coupling integration with `pyqual` (subprocess + JSON report)
|
|
51
|
+
- Example configs for GitHub Actions, GitLab CI, Ansible
|
taskill-0.1.1/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.
|
taskill-0.1.1/PKG-INFO
ADDED
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: taskill
|
|
3
|
+
Version: 0.1.1
|
|
4
|
+
Summary: Daily project hygiene: keep README / CHANGELOG / TODO in sync with reality. LLM-first, algorithmic fallback.
|
|
5
|
+
Project-URL: Homepage, https://github.com/oqlos/taskill
|
|
6
|
+
Project-URL: Issues, https://github.com/oqlos/taskill/issues
|
|
7
|
+
Author: Tom Sapletta
|
|
8
|
+
Author-email: Tom Sapletta <tom@sapletta.com>
|
|
9
|
+
License-Expression: Apache-2.0
|
|
10
|
+
License-File: LICENSE
|
|
11
|
+
Keywords: automation,changelog,ci-cd,llm,mcp,openrouter,readme,todo
|
|
12
|
+
Requires-Python: >=3.10
|
|
13
|
+
Requires-Dist: click>=8.1
|
|
14
|
+
Requires-Dist: costs>=0.1.20
|
|
15
|
+
Requires-Dist: goal>=2.1.0
|
|
16
|
+
Requires-Dist: httpx>=0.27
|
|
17
|
+
Requires-Dist: pfix>=0.1.60
|
|
18
|
+
Requires-Dist: python-dotenv>=1.0
|
|
19
|
+
Requires-Dist: pyyaml>=6.0
|
|
20
|
+
Requires-Dist: rich>=13.7
|
|
21
|
+
Provides-Extra: dev
|
|
22
|
+
Requires-Dist: costs>=0.1.20; extra == 'dev'
|
|
23
|
+
Requires-Dist: goal>=2.1.0; extra == 'dev'
|
|
24
|
+
Requires-Dist: mypy>=1.5; extra == 'dev'
|
|
25
|
+
Requires-Dist: pfix>=0.1.60; extra == 'dev'
|
|
26
|
+
Requires-Dist: pytest-asyncio>=0.21; extra == 'dev'
|
|
27
|
+
Requires-Dist: pytest>=7.0; extra == 'dev'
|
|
28
|
+
Requires-Dist: ruff>=0.1; extra == 'dev'
|
|
29
|
+
Provides-Extra: mcp
|
|
30
|
+
Requires-Dist: mcp>=1.0; extra == 'mcp'
|
|
31
|
+
Provides-Extra: schedule
|
|
32
|
+
Requires-Dist: apscheduler>=3.10; extra == 'schedule'
|
|
33
|
+
Description-Content-Type: text/markdown
|
|
34
|
+
|
|
35
|
+
# taskill
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
## AI Cost Tracking
|
|
39
|
+
|
|
40
|
+
   
|
|
41
|
+
  
|
|
42
|
+
|
|
43
|
+
- 🤖 **LLM usage:** $0.1500 (1 commits)
|
|
44
|
+
- 👤 **Human dev:** ~$100 (1.0h @ $100/h, 30min dedup)
|
|
45
|
+
|
|
46
|
+
Generated on 2026-04-25 using [openrouter/qwen/qwen3-coder-next](https://openrouter.ai/qwen/qwen3-coder-next)
|
|
47
|
+
|
|
48
|
+
---
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
> Daily project hygiene: keep `README.md` / `CHANGELOG.md` / `TODO.md` in sync with reality.
|
|
53
|
+
> LLM-first, algorithmic fallback. Works standalone, in CI, or via Ansible.
|
|
54
|
+
|
|
55
|
+
`taskill` is the small daemon you stop forgetting to run. Once a day (or whenever metrics drift), it reads your git log, your `SUMD.md` / `SUMR.md`, your coverage report, and updates the three documentation files everyone tells themselves they'll keep current and never do.
|
|
56
|
+
|
|
57
|
+
It uses an LLM where one is available — Windsurf MCP first (because you're probably already running it in JetBrains), OpenRouter second — and falls back to a deterministic Conventional Commits parser when no LLM is reachable. The fallback is always available and always runs offline.
|
|
58
|
+
|
|
59
|
+
`taskill` deliberately doesn't replace `pyqual`, `llx`, or `prefact`. It calls them as subprocesses when configured, picks up their reports, and stays out of the way otherwise.
|
|
60
|
+
|
|
61
|
+
## Install
|
|
62
|
+
|
|
63
|
+
```bash
|
|
64
|
+
pip install taskill # core
|
|
65
|
+
pip install "taskill[mcp]" # with Windsurf MCP support
|
|
66
|
+
pip install "taskill[mcp,schedule]" # with built-in scheduler
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
## Quickstart
|
|
70
|
+
|
|
71
|
+
```bash
|
|
72
|
+
cd your-project/
|
|
73
|
+
taskill init # writes taskill.yaml + .env.example
|
|
74
|
+
cp .env.example .env # add OPENROUTER_API_KEY
|
|
75
|
+
taskill status # preview without running
|
|
76
|
+
taskill run --dry-run # see what would change
|
|
77
|
+
taskill run # do it
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
## What it does
|
|
81
|
+
|
|
82
|
+
Every run produces three (idempotent) edits:
|
|
83
|
+
|
|
84
|
+
1. **`CHANGELOG.md`** — appends new entries under `## [Unreleased]`, grouped by Conventional Commit type (`### Added`, `### Fixed`, `### Performance`, etc.). Uses [Keep a Changelog](https://keepachangelog.com/) layout. Existing entries are deduplicated.
|
|
85
|
+
2. **`TODO.md`** — moves completed items to a `## Done (moved to CHANGELOG)` section, and appends `TODO:` / `FIXME:` markers found in new commit bodies under `## Discovered`.
|
|
86
|
+
3. **`README.md`** — refreshes only the block between `<!-- taskill:status:start -->` and `<!-- taskill:status:end -->` markers (HEAD, coverage, failing tests, summary). Never touches the rest of the file.
|
|
87
|
+
|
|
88
|
+
## Provider chain
|
|
89
|
+
|
|
90
|
+
The chain runs top-to-bottom. First provider that's available *and* succeeds wins.
|
|
91
|
+
|
|
92
|
+
| Order | Provider | Used when |
|
|
93
|
+
|---|---|---|
|
|
94
|
+
| 1 | `windsurf_mcp` | `mcp` package installed and a Windsurf endpoint resolves |
|
|
95
|
+
| 2 | `openrouter` | `OPENROUTER_API_KEY` is set |
|
|
96
|
+
| 3 | `algorithmic` | always — pure git-log + Conventional Commits parser |
|
|
97
|
+
|
|
98
|
+
You can reorder, disable, or pass options via `taskill.yaml`:
|
|
99
|
+
|
|
100
|
+
```yaml
|
|
101
|
+
providers:
|
|
102
|
+
- name: openrouter # skip windsurf, go straight to OpenRouter
|
|
103
|
+
enabled: true
|
|
104
|
+
- name: algorithmic
|
|
105
|
+
enabled: true
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
## Triggers
|
|
109
|
+
|
|
110
|
+
`taskill run` is a no-op unless one of the configured thresholds is crossed. State lives in `.taskill/state.json` so cron, GitHub Actions, and Ansible all share the same delta logic.
|
|
111
|
+
|
|
112
|
+
```yaml
|
|
113
|
+
triggers:
|
|
114
|
+
min_hours_since_last_run: 24
|
|
115
|
+
min_commits_since_last_run: 1
|
|
116
|
+
changed_files_threshold: 1
|
|
117
|
+
coverage_change_pct: 2.0 # absolute pp; null to disable
|
|
118
|
+
failed_tests_changed: true
|
|
119
|
+
watch_files: [SUMD.md, SUMR.md]
|
|
120
|
+
require_all: false # OR by default; set true for AND
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
`taskill run --force` ignores triggers entirely.
|
|
124
|
+
|
|
125
|
+
## Running it
|
|
126
|
+
|
|
127
|
+
### Cron / systemd timer
|
|
128
|
+
|
|
129
|
+
```cron
|
|
130
|
+
0 6 * * * cd /path/to/project && /usr/local/bin/taskill run >> ~/.taskill.log 2>&1
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
### GitHub Actions
|
|
134
|
+
|
|
135
|
+
See `examples/github-action.yml`. Triggers on `push` to main, runs `taskill run`, opens a PR if files changed.
|
|
136
|
+
|
|
137
|
+
### GitLab CI
|
|
138
|
+
|
|
139
|
+
See `examples/gitlab-ci.yml`. Same idea, with merge-request creation via the GitLab API.
|
|
140
|
+
|
|
141
|
+
### Ansible
|
|
142
|
+
|
|
143
|
+
See `examples/ansible-playbook.yml`. Useful for fleet-wide hygiene across many self-hosted repos.
|
|
144
|
+
|
|
145
|
+
## CLI
|
|
146
|
+
|
|
147
|
+
```
|
|
148
|
+
taskill init # generate taskill.yaml + .env.example
|
|
149
|
+
taskill status # show what would happen, no writes
|
|
150
|
+
taskill run # execute (respects triggers)
|
|
151
|
+
taskill run --force # ignore triggers
|
|
152
|
+
taskill run --dry-run # don't write files or state
|
|
153
|
+
taskill run --json # machine-readable output
|
|
154
|
+
taskill release X.Y.Z # promote [Unreleased] → versioned heading
|
|
155
|
+
taskill clean-todo # wipe TODO.md (after a release)
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
## Configuration reference
|
|
159
|
+
|
|
160
|
+
See [`taskill.yaml`](./taskill.yaml) at the repo root for the annotated default config.
|
|
161
|
+
|
|
162
|
+
## Reusing existing tools
|
|
163
|
+
|
|
164
|
+
`taskill` doesn't try to absorb `pyqual` / `llx` / `prefact`. It calls them by `subprocess` when toggled in `reuse:` and feeds their JSON output to the LLM as extra context:
|
|
165
|
+
|
|
166
|
+
```yaml
|
|
167
|
+
reuse:
|
|
168
|
+
pyqual: true # taskill will run `pyqual report --json`
|
|
169
|
+
llx: false # ...add llx context (planned for v0.2)
|
|
170
|
+
prefact: false # ...add prefact suggestions (planned for v0.2)
|
|
171
|
+
```
|
|
172
|
+
|
|
173
|
+
If a tool isn't on `PATH`, `taskill` skips it silently — no hard dependency.
|
|
174
|
+
|
|
175
|
+
## How it relates to the wider stack
|
|
176
|
+
|
|
177
|
+
```
|
|
178
|
+
SUMD (description) ─┐
|
|
179
|
+
├─→ taskill ──→ README.md
|
|
180
|
+
git log ────────────┤ CHANGELOG.md
|
|
181
|
+
pyqual report ──────┤ TODO.md
|
|
182
|
+
SUMR (state) ───────┘
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
`taskill` reads, never generates code. That's what `prefact` / `llx` / `pyqual` are for.
|
|
186
|
+
|
|
187
|
+
## License
|
|
188
|
+
|
|
189
|
+
Licensed under Apache-2.0.
|
|
190
|
+
## Status
|
|
191
|
+
|
|
192
|
+
<!-- taskill:status:start -->
|
|
193
|
+
_Bootstrapped — no live project status yet. Will populate after first `taskill run`._
|
|
194
|
+
<!-- taskill:status:end -->
|