yakherder 0.1.79__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.
- yakherder-0.1.79/LICENSE +201 -0
- yakherder-0.1.79/PKG-INFO +289 -0
- yakherder-0.1.79/README.md +266 -0
- yakherder-0.1.79/pyproject.toml +71 -0
- yakherder-0.1.79/scripts/tui.py +1203 -0
- yakherder-0.1.79/scripts/yak.py +46 -0
- yakherder-0.1.79/scripts/yakherder.egg-info/PKG-INFO +289 -0
- yakherder-0.1.79/scripts/yakherder.egg-info/SOURCES.txt +45 -0
- yakherder-0.1.79/scripts/yakherder.egg-info/dependency_links.txt +1 -0
- yakherder-0.1.79/scripts/yakherder.egg-info/entry_points.txt +3 -0
- yakherder-0.1.79/scripts/yakherder.egg-info/requires.txt +2 -0
- yakherder-0.1.79/scripts/yakherder.egg-info/top_level.txt +4 -0
- yakherder-0.1.79/scripts/yaklib/__init__.py +1 -0
- yakherder-0.1.79/scripts/yaklib/artifacts.py +37 -0
- yakherder-0.1.79/scripts/yaklib/cli.py +26 -0
- yakherder-0.1.79/scripts/yaklib/clipboard.py +52 -0
- yakherder-0.1.79/scripts/yaklib/commands.py +845 -0
- yakherder-0.1.79/scripts/yaklib/deps.py +99 -0
- yakherder-0.1.79/scripts/yaklib/filter.py +126 -0
- yakherder-0.1.79/scripts/yaklib/format.py +76 -0
- yakherder-0.1.79/scripts/yaklib/links.py +61 -0
- yakherder-0.1.79/scripts/yaklib/model.py +363 -0
- yakherder-0.1.79/scripts/yaklib/parser.py +141 -0
- yakherder-0.1.79/scripts/yaklib/reparent.py +180 -0
- yakherder-0.1.79/scripts/yaklib/rollup.py +108 -0
- yakherder-0.1.79/scripts/yaktui/__init__.py +1 -0
- yakherder-0.1.79/scripts/yaktui/colors.py +70 -0
- yakherder-0.1.79/scripts/yaktui/detail.py +178 -0
- yakherder-0.1.79/scripts/yaktui/dialogs.py +272 -0
- yakherder-0.1.79/scripts/yaktui/editor.py +97 -0
- yakherder-0.1.79/scripts/yaktui/keys_detail.py +228 -0
- yakherder-0.1.79/scripts/yaktui/keys_list.py +140 -0
- yakherder-0.1.79/scripts/yaktui/mutate.py +628 -0
- yakherder-0.1.79/scripts/yaktui/render.py +734 -0
- yakherder-0.1.79/scripts/yaktui/task_form.py +589 -0
- yakherder-0.1.79/scripts/yaktui/tree.py +187 -0
- yakherder-0.1.79/scripts/yaktui/vim_edit.py +253 -0
- yakherder-0.1.79/setup.cfg +4 -0
- yakherder-0.1.79/tests/test_cli_artifacts.py +75 -0
- yakherder-0.1.79/tests/test_cli_basics.py +142 -0
- yakherder-0.1.79/tests/test_cli_workflow.py +115 -0
- yakherder-0.1.79/tests/test_deps.py +78 -0
- yakherder-0.1.79/tests/test_filter.py +158 -0
- yakherder-0.1.79/tests/test_reparent.py +198 -0
- yakherder-0.1.79/tests/test_rollup.py +113 -0
- yakherder-0.1.79/tests/test_tui_pure.py +404 -0
- yakherder-0.1.79/tests/test_vim_edit.py +170 -0
yakherder-0.1.79/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.
|
|
@@ -0,0 +1,289 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: yakherder
|
|
3
|
+
Version: 0.1.79
|
|
4
|
+
Summary: Filesystem-native task tracker for humans and AI agents
|
|
5
|
+
Author: Joel
|
|
6
|
+
License-Expression: Apache-2.0
|
|
7
|
+
Project-URL: Homepage, https://github.com/joelgwebber/yaks
|
|
8
|
+
Project-URL: Repository, https://github.com/joelgwebber/yaks
|
|
9
|
+
Project-URL: Issues, https://github.com/joelgwebber/yaks/issues
|
|
10
|
+
Keywords: task-tracker,cli,tui,agents,productivity
|
|
11
|
+
Classifier: Development Status :: 4 - Beta
|
|
12
|
+
Classifier: Environment :: Console
|
|
13
|
+
Classifier: Intended Audience :: Developers
|
|
14
|
+
Classifier: Programming Language :: Python :: 3
|
|
15
|
+
Classifier: Topic :: Software Development
|
|
16
|
+
Classifier: Topic :: Utilities
|
|
17
|
+
Requires-Python: >=3.10
|
|
18
|
+
Description-Content-Type: text/markdown
|
|
19
|
+
License-File: LICENSE
|
|
20
|
+
Requires-Dist: prompt-toolkit>=3.0.52
|
|
21
|
+
Requires-Dist: pyyaml>=6.0
|
|
22
|
+
Dynamic: license-file
|
|
23
|
+
|
|
24
|
+
# Yaks
|
|
25
|
+
|
|
26
|
+
[](https://skills.sh/joelgwebber/yaks)
|
|
27
|
+
|
|
28
|
+
Filesystem-native task tracker for AI coding agents. Markdown files with YAML frontmatter, no database, no daemon.
|
|
29
|
+
|
|
30
|
+
Yaks gives your AI coding assistant persistent task tracking across sessions. Tasks are stored as markdown files (with YAML frontmatter for metadata) in a `.yaks/` directory within your project — readable, diffable, and friendly to version control. Use it two ways: **commit `.yaks/`** to share a tracker with your team, or **gitignore it** to keep a private, local-only scratchpad. It ships as a plugin for Claude Code and OpenAI Codex, as an installable skill for Zed, and as a standalone CLI for any other agent.
|
|
31
|
+
|
|
32
|
+
## Install
|
|
33
|
+
|
|
34
|
+
### Claude Code
|
|
35
|
+
|
|
36
|
+
```
|
|
37
|
+
claude plugin add --from /path/to/yaks
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
The plugin bundles the `yak` and `yak-tracker` skills, which activate automatically when `.yaks/` exists in a project. The skills teach the agent to drive the `yaks` CLI directly (see [CLI tool](#cli-tool-any-agent) below to install it).
|
|
41
|
+
|
|
42
|
+
### OpenAI Codex
|
|
43
|
+
|
|
44
|
+
Yaks ships a `.codex-plugin/plugin.json` manifest. Install it from the Codex plugin browser, or point Codex at a local clone:
|
|
45
|
+
|
|
46
|
+
```bash
|
|
47
|
+
codex plugin marketplace add ./path/to/yaks
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
The `.claude-plugin/marketplace.json` legacy path also works if Codex picks it up automatically from a project root.
|
|
51
|
+
|
|
52
|
+
### Zed
|
|
53
|
+
|
|
54
|
+
Yaks ships a `skills/yak/` skill directory that follows the [Agent Skills spec](https://zed.dev/docs/ai/skills). Install via [skills.sh](https://skills.sh/joelgwebber/yaks):
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
# Global (available in all projects)
|
|
58
|
+
npx skills add joelgwebber/yaks
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
Or copy manually from a local clone:
|
|
62
|
+
|
|
63
|
+
```bash
|
|
64
|
+
# Global
|
|
65
|
+
cp -r /path/to/yaks/skills/yak ~/.agents/skills/yak
|
|
66
|
+
cp -r /path/to/yaks/skills/yak-tracker ~/.agents/skills/yak-tracker
|
|
67
|
+
|
|
68
|
+
# Project-local (inside your project, requires trusted worktree)
|
|
69
|
+
cp -r /path/to/yaks/skills/yak .agents/skills/yak
|
|
70
|
+
cp -r /path/to/yaks/skills/yak-tracker .agents/skills/yak-tracker
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
Once installed, the `yak` skill appears in Zed's skill catalog and activates automatically when the agent detects a `.yaks/` directory. You can also invoke it with `/yak` in the message editor. The `yak-tracker` skill relates yaks to external issue trackers as a one-way projection (rollup, import-once, outbound draft).
|
|
74
|
+
|
|
75
|
+
The skills instruct Zed's agent to use the `yaks` CLI, so install that too (see [CLI tool](#cli-tool-any-agent) below).
|
|
76
|
+
|
|
77
|
+
### CLI tool (any agent)
|
|
78
|
+
|
|
79
|
+
The distribution is published on PyPI as **`yakherder`**; the command it installs is **`yaks`** (the name `yaks` was already taken on PyPI):
|
|
80
|
+
|
|
81
|
+
```bash
|
|
82
|
+
# From PyPI (recommended) — puts `yaks` on your $PATH
|
|
83
|
+
uv tool install yakherder
|
|
84
|
+
|
|
85
|
+
# Or straight from GitHub / a local clone
|
|
86
|
+
uv tool install git+https://github.com/joelgwebber/yaks
|
|
87
|
+
uv tool install /path/to/yaks
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
All subcommands work: `yaks list`, `yaks create`, `yaks tui`, etc. Upgrade with `uv tool upgrade yakherder`.
|
|
91
|
+
|
|
92
|
+
Prefer not to install anything? Run it zero-install in an isolated environment:
|
|
93
|
+
|
|
94
|
+
```bash
|
|
95
|
+
uvx yakherder tui # or any subcommand: uvx yakherder list, uvx yakherder next, ...
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
For agents that don't have a Yaks plugin (Cursor, GitHub Copilot, Gemini CLI, Windsurf, Aider, etc.), the CLI is the integration point — see [Configuring your AI assistant](#configuring-your-ai-assistant-to-use-yaks) below.
|
|
99
|
+
|
|
100
|
+
## Quick start
|
|
101
|
+
|
|
102
|
+
Initialize task tracking in any project, from a terminal or via your agent:
|
|
103
|
+
|
|
104
|
+
```bash
|
|
105
|
+
yaks init
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
This creates a `.yaks/` directory with `hairy/`, `shaving/`, and `shorn/` subdirectories, plus a `config.yaml`. It also appends a workflow mandate to `CLAUDE.md` or `AGENTS.md` (defaults to `AGENTS.md`; use `--agents` to force it even when a `CLAUDE.md` exists).
|
|
109
|
+
|
|
110
|
+
From there your coding assistant creates and manages tasks by calling the `yaks` CLI:
|
|
111
|
+
|
|
112
|
+
```bash
|
|
113
|
+
yaks create --title "Add retry logic to API client" --type feature --priority 1
|
|
114
|
+
yaks list
|
|
115
|
+
yaks next
|
|
116
|
+
yaks shave yak-a1b2
|
|
117
|
+
yaks shorn yak-a1b2
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
Agents drive these through shell/Bash tool access — there are no editor-specific slash commands to learn.
|
|
121
|
+
|
|
122
|
+
## How it works
|
|
123
|
+
|
|
124
|
+
- **Status is a directory.** A task in `.yaks/hairy/` needs shaving. Move it to `.yaks/shaving/` and it's in progress. Move it to `.yaks/shorn/` and it's done. No status field in the YAML — the filesystem is the source of truth.
|
|
125
|
+
- **Tasks are markdown with frontmatter.** Every task is a single `.md` file. Structured metadata (ID, title, type, priority, timestamps, dependencies, labels) lives in YAML frontmatter. The markdown body is the description.
|
|
126
|
+
- **Parent/child tasks.** Create subtasks with `--parent TASK_ID`. Children get dot-suffixed IDs (`yak-a1b2.1`, `yak-a1b2.2`). The relationship is implicit from the ID — no extra YAML field. `show` displays the hierarchy automatically.
|
|
127
|
+
- **Dependencies are first-class.** Tasks can depend on other tasks. `yaks next` shows only tasks whose dependencies are all shorn. `yaks tangled` shows what's stuck.
|
|
128
|
+
- **Artifacts.** Attach files or clipboard images to tasks with `attach`. They're stored in `.yaks/artifacts/{task-id}/` and linked from the task body.
|
|
129
|
+
- **Git-friendly.** Task files are small, human-readable, and merge cleanly. Git history is your audit log.
|
|
130
|
+
- **Local or team.** Commit `.yaks/` to share tasks with collaborators (team mode), or gitignore it for a private local-only scratchpad. In local-only mode, keep yak files — and their IDs — out of commits, PRs, and external trackers; the skill spells out the distinction so your agent doesn't leak private planning notes.
|
|
131
|
+
|
|
132
|
+
## Commands
|
|
133
|
+
|
|
134
|
+
| Command | Description |
|
|
135
|
+
|---------|-------------|
|
|
136
|
+
| `yaks init` | Initialize `.yaks/` in the current project |
|
|
137
|
+
| `yaks create` | Create a new task |
|
|
138
|
+
| `yaks list` | List tasks with optional filters |
|
|
139
|
+
| `yaks show` | Show full details of a task |
|
|
140
|
+
| `yaks update` | Update a task's fields |
|
|
141
|
+
| `yaks shave` | Start shaving a yak |
|
|
142
|
+
| `yaks shorn` | Mark a yak as shorn |
|
|
143
|
+
| `yaks regrow` | Regrow a shorn yak |
|
|
144
|
+
| `yaks slaughter` | Slaughter a yak (move to hidden `dead/` state) |
|
|
145
|
+
| `yaks revive` | Revive a dead yak back to hairy |
|
|
146
|
+
| `yaks next` | Show yaks ready to shave (all deps met) |
|
|
147
|
+
| `yaks tangled` | Show tangled yaks (unshorn dependencies) |
|
|
148
|
+
| `yaks search` | Search tasks by keyword |
|
|
149
|
+
| `yaks dep` | Add or remove dependencies between tasks |
|
|
150
|
+
| `yaks reparent` | Move a task to a new parent or promote to top-level |
|
|
151
|
+
| `yaks stats` | Show task statistics |
|
|
152
|
+
| `yaks attach` / `yaks detach` | Attach or remove file/image artifacts on a task |
|
|
153
|
+
| `yaks import-beads` | Import tasks from a beads JSONL export |
|
|
154
|
+
|
|
155
|
+
Every command accepts `--json` where applicable for machine-readable output.
|
|
156
|
+
|
|
157
|
+
## Filtering
|
|
158
|
+
|
|
159
|
+
All query commands (`list`, `search`, `next`, `tangled`) share the same filter flags. Filters AND across dimensions; within a repeatable flag, values are OR'd:
|
|
160
|
+
|
|
161
|
+
- `--status S` — filter by status (repeatable): `hairy`, `shaving`, `shorn`, `dead`
|
|
162
|
+
- `--type T` — filter by type (repeatable): `bug`, `feature`, `task`, `idea`
|
|
163
|
+
- `--priority P` — filter by priority (repeatable): `1`, `2`, `3`
|
|
164
|
+
- `--label L` — match any listed label (repeatable)
|
|
165
|
+
- `--search Q` — substring match on title, description, or id
|
|
166
|
+
- `--ready` — only tasks whose dependencies are all resolved
|
|
167
|
+
- `--tangled` — only tasks with at least one unresolved dependency
|
|
168
|
+
- `--parent-of ID` — only descendants of a given task
|
|
169
|
+
|
|
170
|
+
Examples:
|
|
171
|
+
|
|
172
|
+
```bash
|
|
173
|
+
yaks list --type bug --type feature --priority 1
|
|
174
|
+
yaks list --label auth --search retry
|
|
175
|
+
yaks next --type bug
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
## TUI
|
|
179
|
+
|
|
180
|
+
Yaks includes a curses-based terminal UI for interactive task management:
|
|
181
|
+
|
|
182
|
+
```
|
|
183
|
+
yaks tui
|
|
184
|
+
```
|
|
185
|
+
|
|
186
|
+
The TUI provides:
|
|
187
|
+
|
|
188
|
+
- **Tab-based status views** — switch between hairy, shaving, and shorn tabs
|
|
189
|
+
- **Tree display** — parent/child tasks rendered as a collapsible tree
|
|
190
|
+
- **Detail pane** — full task view with rendered markdown, metadata, dependencies, and artifacts
|
|
191
|
+
- **Inline mutations** — change status, priority, type, title, labels, and dependencies without leaving the TUI
|
|
192
|
+
- **Filter drawer** — drop-down filter panel (press `/` for search, `f` for full filter) with live preview as you type
|
|
193
|
+
- **Help overlay** — press `?` for a full keybinding reference
|
|
194
|
+
- **Vim-style editing** — optional vim keybindings in all text inputs (see Configuration below)
|
|
195
|
+
|
|
196
|
+
## Task format
|
|
197
|
+
|
|
198
|
+
Tasks are `.md` files with YAML frontmatter for metadata. The markdown body is the description.
|
|
199
|
+
|
|
200
|
+
```markdown
|
|
201
|
+
---
|
|
202
|
+
id: yak-a1b2
|
|
203
|
+
title: Fix the login crash
|
|
204
|
+
type: bug
|
|
205
|
+
priority: 2
|
|
206
|
+
created: "2026-02-16T10:00:00Z"
|
|
207
|
+
updated: "2026-02-16T10:30:00Z"
|
|
208
|
+
depends_on:
|
|
209
|
+
- yak-c3d4
|
|
210
|
+
labels:
|
|
211
|
+
- auth
|
|
212
|
+
source: https://jira.example.com/browse/PROJ-123
|
|
213
|
+
---
|
|
214
|
+
|
|
215
|
+
Users see a crash on the login screen when
|
|
216
|
+
submitting with an empty password field.
|
|
217
|
+
```
|
|
218
|
+
|
|
219
|
+
Frontmatter fields:
|
|
220
|
+
|
|
221
|
+
- **id** — Auto-generated as `{prefix}-{4 hex chars}` (prefix from config), or `{parent-id}.N` for child tasks
|
|
222
|
+
- **title** — Short description of the task
|
|
223
|
+
- **type** — `bug`, `feature`, `task`, or `idea`
|
|
224
|
+
- **priority** — `1` (highest) through `3` (lowest)
|
|
225
|
+
- **created** / **updated** — ISO 8601 timestamps
|
|
226
|
+
- **depends_on** — Optional list of task IDs that must be shorn first
|
|
227
|
+
- **labels** — Optional list of string tags
|
|
228
|
+
- **source** — Optional URL linking to an external issue (Jira, GitHub Issues, Linear, etc.). Many yaks can roll up to one external issue; `yaks rollup` groups them, and a yak with no `source:` inherits its nearest ancestor's.
|
|
229
|
+
|
|
230
|
+
## Configuration
|
|
231
|
+
|
|
232
|
+
Yaks reads configuration from two levels, with per-project values overriding user-global ones:
|
|
233
|
+
|
|
234
|
+
1. **User-global** — `~/.config/yaks/config.yaml` (created by `yaks init` if it doesn't exist)
|
|
235
|
+
2. **Per-project** — `.yaks/config.yaml`
|
|
236
|
+
|
|
237
|
+
Available settings:
|
|
238
|
+
|
|
239
|
+
| Key | Default | Description |
|
|
240
|
+
|-----|---------|-------------|
|
|
241
|
+
| `prefix` | directory name | ID prefix for new tasks (e.g., `api` → `api-f3a1`) |
|
|
242
|
+
| `vim_mode` | `false` | Vim-style insert/normal mode editing in TUI text inputs |
|
|
243
|
+
|
|
244
|
+
## Configuring your AI assistant to use Yaks
|
|
245
|
+
|
|
246
|
+
`yaks init` automatically appends a workflow mandate to your project's `AGENTS.md` (or an existing `CLAUDE.md`). Use `--agents` to force writing to `AGENTS.md` even when a `CLAUDE.md` is present.
|
|
247
|
+
|
|
248
|
+
`AGENTS.md` is the most portable choice — it's recognized by Claude Code, OpenAI Codex, GitHub Copilot, Gemini CLI, Zed, Cursor, Windsurf, and Aider without any extra configuration.
|
|
249
|
+
|
|
250
|
+
If you already have `.yaks/` set up and want to add the mandate manually, add this block to your context file:
|
|
251
|
+
|
|
252
|
+
```markdown
|
|
253
|
+
## Task tracking
|
|
254
|
+
|
|
255
|
+
This project uses Yaks. The Yaks skill has the full workflow.
|
|
256
|
+
|
|
257
|
+
1. Never start coding without a shaving yak. No exceptions.
|
|
258
|
+
2. Shear a yak as soon as its work is done. If the project commits its yaks (`.yaks/` is tracked by git), commit the shorn yak alongside the code that completed it; if `.yaks/` is gitignored, keep yak files — and their IDs — out of commits, PRs, and anything external.
|
|
259
|
+
3. Check existing yaks before creating new ones.
|
|
260
|
+
4. Append progress notes to yak descriptions as you work.
|
|
261
|
+
5. When unsure what's next, run `yaks next` — don't freelance.
|
|
262
|
+
```
|
|
263
|
+
|
|
264
|
+
### Platform-specific context files
|
|
265
|
+
|
|
266
|
+
For agents that have their own context file convention, you can also create platform-specific files. Each file should contain the mandate above plus a note that the `yaks` CLI is available:
|
|
267
|
+
|
|
268
|
+
| Platform | File | Notes |
|
|
269
|
+
|----------|------|-------|
|
|
270
|
+
| Claude Code | `CLAUDE.md` | Plugin handles skill injection automatically |
|
|
271
|
+
| OpenAI Codex | `AGENTS.md` | Plugin handles skill injection automatically |
|
|
272
|
+
| GitHub Copilot | `.github/copilot-instructions.md` | Highest-priority slot for Copilot |
|
|
273
|
+
| Gemini CLI | `GEMINI.md` | Also read by Zed as a fallback |
|
|
274
|
+
| Cursor | `.cursor/rules/yaks.mdc` | Use `alwaysApply: true` in frontmatter |
|
|
275
|
+
| Windsurf | `.windsurfrules` | |
|
|
276
|
+
| Zed | `AGENTS.md` or install the skill | Skill gives richer activation; see [Install](#install) |
|
|
277
|
+
|
|
278
|
+
For Claude Code and Codex, the skill activates automatically when `.yaks/` exists and carries the full workflow details, command reference, and task format documentation. The mandate block above is what ensures your assistant actually follows the workflow.
|
|
279
|
+
|
|
280
|
+
## Requirements
|
|
281
|
+
|
|
282
|
+
- Python 3.10+
|
|
283
|
+
- PyYAML (`pyyaml>=6.0`) and prompt-toolkit (`prompt-toolkit>=3.0.52`, for the TUI)
|
|
284
|
+
|
|
285
|
+
Installing via `uv tool install yakherder` (or running `uvx yakherder`) pulls these in automatically into an isolated environment — nothing is added to your system or project Python.
|
|
286
|
+
|
|
287
|
+
## License
|
|
288
|
+
|
|
289
|
+
Apache 2.0
|