zenofharness 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- zenofharness-0.1.0/LICENSE +21 -0
- zenofharness-0.1.0/PKG-INFO +141 -0
- zenofharness-0.1.0/README.md +121 -0
- zenofharness-0.1.0/pyproject.toml +34 -0
- zenofharness-0.1.0/setup.cfg +4 -0
- zenofharness-0.1.0/tests/test_zenofharness.py +109 -0
- zenofharness-0.1.0/zenofharness/__init__.py +32 -0
- zenofharness-0.1.0/zenofharness/__main__.py +48 -0
- zenofharness-0.1.0/zenofharness/principles.py +138 -0
- zenofharness-0.1.0/zenofharness/render.py +53 -0
- zenofharness-0.1.0/zenofharness/verbose.py +10 -0
- zenofharness-0.1.0/zenofharness.egg-info/PKG-INFO +141 -0
- zenofharness-0.1.0/zenofharness.egg-info/SOURCES.txt +14 -0
- zenofharness-0.1.0/zenofharness.egg-info/dependency_links.txt +1 -0
- zenofharness-0.1.0/zenofharness.egg-info/entry_points.txt +2 -0
- zenofharness-0.1.0/zenofharness.egg-info/top_level.txt +1 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Anuj Sadani
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: zenofharness
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: The Zen of Harness: principles for the code around a model: the loop, tool execution, permissions, memory and tracing. Printed on import.
|
|
5
|
+
Author-email: Anuj Sadani <anuj.sadani3@gmail.com>
|
|
6
|
+
License-Expression: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/asadani/zenofharness
|
|
8
|
+
Project-URL: Issues, https://github.com/asadani/zenofharness/issues
|
|
9
|
+
Project-URL: Changelog, https://github.com/asadani/zenofharness/blob/main/CHANGELOG.md
|
|
10
|
+
Keywords: agent harness,AI agents,LLM,observability,sandboxing,Zen
|
|
11
|
+
Classifier: Development Status :: 4 - Beta
|
|
12
|
+
Classifier: Intended Audience :: Developers
|
|
13
|
+
Classifier: Programming Language :: Python :: 3
|
|
14
|
+
Classifier: Operating System :: OS Independent
|
|
15
|
+
Classifier: Topic :: Software Development
|
|
16
|
+
Requires-Python: >=3.10
|
|
17
|
+
Description-Content-Type: text/markdown
|
|
18
|
+
License-File: LICENSE
|
|
19
|
+
Dynamic: license-file
|
|
20
|
+
|
|
21
|
+
# zenofharness
|
|
22
|
+
|
|
23
|
+
[](https://github.com/asadani/zenofharness/actions/workflows/ci.yml)
|
|
24
|
+
[](https://pypi.org/project/zenofharness/)
|
|
25
|
+
|
|
26
|
+
### The Zen of Harness: principles for the code around a model: the loop, tool execution, permissions, memory and tracing.
|
|
27
|
+
|
|
28
|
+
Many agent failures are harness failures. These principles cover the code that runs the agent loop, executes tools, enforces limits and records what happened.
|
|
29
|
+
|
|
30
|
+
`import this` gave Python a shared mindset. `import zenofharness` does the same for this corner of AI engineering: 14 short principles you can remember, cite by number and argue about.
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
pip install zenofharness # or: uv pip install zenofharness / uv add zenofharness
|
|
34
|
+
uvx zenofharness --random # run the CLI without installing (uv)
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
```python
|
|
38
|
+
>>> import zenofharness
|
|
39
|
+
The Zen of Harness, by Anuj Sadani
|
|
40
|
+
|
|
41
|
+
1. The model proposes; the harness verifies.
|
|
42
|
+
2. Every loop needs an exit.
|
|
43
|
+
...
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
---
|
|
47
|
+
|
|
48
|
+
## The principles
|
|
49
|
+
|
|
50
|
+
Numbers are stable across releases, so "see principle 3" in a review always means the same thing.
|
|
51
|
+
|
|
52
|
+
### Loop
|
|
53
|
+
1. The model proposes; the harness verifies.
|
|
54
|
+
2. Every loop needs an exit.
|
|
55
|
+
3. Real errors are better than polite summaries.
|
|
56
|
+
4. A retry should never repeat a side effect.
|
|
57
|
+
|
|
58
|
+
### Equip
|
|
59
|
+
5. Every call should be able to time out.
|
|
60
|
+
6. Done means checked.
|
|
61
|
+
7. Memory is designed, not accumulated.
|
|
62
|
+
|
|
63
|
+
### Contain
|
|
64
|
+
8. Permissions belong in code, not in prompts.
|
|
65
|
+
9. Grant nothing the task doesn't need.
|
|
66
|
+
10. Secrets belong in tools, never in context or logs.
|
|
67
|
+
11. One user's context is never another's.
|
|
68
|
+
|
|
69
|
+
### Observe
|
|
70
|
+
12. If it isn't traced, it can't be debugged.
|
|
71
|
+
13. Resuming is better than restarting.
|
|
72
|
+
14. Models change; the harness should outlast them.
|
|
73
|
+
|
|
74
|
+
Every principle comes with an explanation and a concrete do/don't example: `zenofharness --examples`.
|
|
75
|
+
|
|
76
|
+
---
|
|
77
|
+
|
|
78
|
+
## Usage
|
|
79
|
+
|
|
80
|
+
### On import
|
|
81
|
+
|
|
82
|
+
```python
|
|
83
|
+
import zenofharness # prints the principles
|
|
84
|
+
from zenofharness import verbose # prints them with explanations
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
Set `ZENOFHARNESS_QUIET=1` to import without printing.
|
|
88
|
+
|
|
89
|
+
### Command line
|
|
90
|
+
|
|
91
|
+
```bash
|
|
92
|
+
zenofharness # the principles
|
|
93
|
+
zenofharness --verbose # with explanations
|
|
94
|
+
zenofharness --examples # with a do/don't example for each
|
|
95
|
+
zenofharness --themes # grouped by theme
|
|
96
|
+
zenofharness -n 3 # one principle in full
|
|
97
|
+
zenofharness --random # one at random: a daily reminder for your shell profile
|
|
98
|
+
zenofharness --checklist # Markdown checklist for PRs and agent instructions
|
|
99
|
+
zenofharness --json # machine-readable
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
`python -m zenofharness` works the same way.
|
|
103
|
+
|
|
104
|
+
### As data
|
|
105
|
+
|
|
106
|
+
```python
|
|
107
|
+
import os; os.environ["ZENOFHARNESS_QUIET"] = "1"
|
|
108
|
+
import zenofharness
|
|
109
|
+
|
|
110
|
+
zenofharness.get(3).text # "Real errors are better than polite summaries."
|
|
111
|
+
zenofharness.by_theme("loop") # list of Principle objects
|
|
112
|
+
[p.text for p in zenofharness.PRINCIPLES]
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
---
|
|
116
|
+
|
|
117
|
+
## Putting it into your workflow
|
|
118
|
+
|
|
119
|
+
A slogan is not a process. The principles help most where decisions are made:
|
|
120
|
+
|
|
121
|
+
- **Pull requests.** Paste `zenofharness --checklist` into `.github/pull_request_template.md`. Reviewers can then point to a principle by number.
|
|
122
|
+
- **Coding agents.** Add the checklist (or `zenofharness --themes`) to `AGENTS.md`, `CLAUDE.md` or your editor's rules file, so your agent works by the same standard you review by.
|
|
123
|
+
- **Onboarding.** `zenofharness --examples` is a short read for anyone new to the team's approach.
|
|
124
|
+
|
|
125
|
+
---
|
|
126
|
+
|
|
127
|
+
## What this is, and isn't
|
|
128
|
+
|
|
129
|
+
- It **is** a compact, opinionated philosophy and a shared vocabulary for teams.
|
|
130
|
+
- It **isn't** a linter, a framework or a replacement for engineering judgment.
|
|
131
|
+
- It's **vendor-neutral**: no principle depends on a particular model, framework or vendor.
|
|
132
|
+
|
|
133
|
+
---
|
|
134
|
+
|
|
135
|
+
## Contributing
|
|
136
|
+
|
|
137
|
+
The principles should evolve through discussion, not by decree. Propose a new principle, a rewording or a better example by opening an issue. See [CONTRIBUTING.md](CONTRIBUTING.md).
|
|
138
|
+
|
|
139
|
+
## License
|
|
140
|
+
|
|
141
|
+
[MIT](LICENSE)
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
# zenofharness
|
|
2
|
+
|
|
3
|
+
[](https://github.com/asadani/zenofharness/actions/workflows/ci.yml)
|
|
4
|
+
[](https://pypi.org/project/zenofharness/)
|
|
5
|
+
|
|
6
|
+
### The Zen of Harness: principles for the code around a model: the loop, tool execution, permissions, memory and tracing.
|
|
7
|
+
|
|
8
|
+
Many agent failures are harness failures. These principles cover the code that runs the agent loop, executes tools, enforces limits and records what happened.
|
|
9
|
+
|
|
10
|
+
`import this` gave Python a shared mindset. `import zenofharness` does the same for this corner of AI engineering: 14 short principles you can remember, cite by number and argue about.
|
|
11
|
+
|
|
12
|
+
```bash
|
|
13
|
+
pip install zenofharness # or: uv pip install zenofharness / uv add zenofharness
|
|
14
|
+
uvx zenofharness --random # run the CLI without installing (uv)
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
```python
|
|
18
|
+
>>> import zenofharness
|
|
19
|
+
The Zen of Harness, by Anuj Sadani
|
|
20
|
+
|
|
21
|
+
1. The model proposes; the harness verifies.
|
|
22
|
+
2. Every loop needs an exit.
|
|
23
|
+
...
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
## The principles
|
|
29
|
+
|
|
30
|
+
Numbers are stable across releases, so "see principle 3" in a review always means the same thing.
|
|
31
|
+
|
|
32
|
+
### Loop
|
|
33
|
+
1. The model proposes; the harness verifies.
|
|
34
|
+
2. Every loop needs an exit.
|
|
35
|
+
3. Real errors are better than polite summaries.
|
|
36
|
+
4. A retry should never repeat a side effect.
|
|
37
|
+
|
|
38
|
+
### Equip
|
|
39
|
+
5. Every call should be able to time out.
|
|
40
|
+
6. Done means checked.
|
|
41
|
+
7. Memory is designed, not accumulated.
|
|
42
|
+
|
|
43
|
+
### Contain
|
|
44
|
+
8. Permissions belong in code, not in prompts.
|
|
45
|
+
9. Grant nothing the task doesn't need.
|
|
46
|
+
10. Secrets belong in tools, never in context or logs.
|
|
47
|
+
11. One user's context is never another's.
|
|
48
|
+
|
|
49
|
+
### Observe
|
|
50
|
+
12. If it isn't traced, it can't be debugged.
|
|
51
|
+
13. Resuming is better than restarting.
|
|
52
|
+
14. Models change; the harness should outlast them.
|
|
53
|
+
|
|
54
|
+
Every principle comes with an explanation and a concrete do/don't example: `zenofharness --examples`.
|
|
55
|
+
|
|
56
|
+
---
|
|
57
|
+
|
|
58
|
+
## Usage
|
|
59
|
+
|
|
60
|
+
### On import
|
|
61
|
+
|
|
62
|
+
```python
|
|
63
|
+
import zenofharness # prints the principles
|
|
64
|
+
from zenofharness import verbose # prints them with explanations
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
Set `ZENOFHARNESS_QUIET=1` to import without printing.
|
|
68
|
+
|
|
69
|
+
### Command line
|
|
70
|
+
|
|
71
|
+
```bash
|
|
72
|
+
zenofharness # the principles
|
|
73
|
+
zenofharness --verbose # with explanations
|
|
74
|
+
zenofharness --examples # with a do/don't example for each
|
|
75
|
+
zenofharness --themes # grouped by theme
|
|
76
|
+
zenofharness -n 3 # one principle in full
|
|
77
|
+
zenofharness --random # one at random: a daily reminder for your shell profile
|
|
78
|
+
zenofharness --checklist # Markdown checklist for PRs and agent instructions
|
|
79
|
+
zenofharness --json # machine-readable
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
`python -m zenofharness` works the same way.
|
|
83
|
+
|
|
84
|
+
### As data
|
|
85
|
+
|
|
86
|
+
```python
|
|
87
|
+
import os; os.environ["ZENOFHARNESS_QUIET"] = "1"
|
|
88
|
+
import zenofharness
|
|
89
|
+
|
|
90
|
+
zenofharness.get(3).text # "Real errors are better than polite summaries."
|
|
91
|
+
zenofharness.by_theme("loop") # list of Principle objects
|
|
92
|
+
[p.text for p in zenofharness.PRINCIPLES]
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
---
|
|
96
|
+
|
|
97
|
+
## Putting it into your workflow
|
|
98
|
+
|
|
99
|
+
A slogan is not a process. The principles help most where decisions are made:
|
|
100
|
+
|
|
101
|
+
- **Pull requests.** Paste `zenofharness --checklist` into `.github/pull_request_template.md`. Reviewers can then point to a principle by number.
|
|
102
|
+
- **Coding agents.** Add the checklist (or `zenofharness --themes`) to `AGENTS.md`, `CLAUDE.md` or your editor's rules file, so your agent works by the same standard you review by.
|
|
103
|
+
- **Onboarding.** `zenofharness --examples` is a short read for anyone new to the team's approach.
|
|
104
|
+
|
|
105
|
+
---
|
|
106
|
+
|
|
107
|
+
## What this is, and isn't
|
|
108
|
+
|
|
109
|
+
- It **is** a compact, opinionated philosophy and a shared vocabulary for teams.
|
|
110
|
+
- It **isn't** a linter, a framework or a replacement for engineering judgment.
|
|
111
|
+
- It's **vendor-neutral**: no principle depends on a particular model, framework or vendor.
|
|
112
|
+
|
|
113
|
+
---
|
|
114
|
+
|
|
115
|
+
## Contributing
|
|
116
|
+
|
|
117
|
+
The principles should evolve through discussion, not by decree. Propose a new principle, a rewording or a better example by opening an issue. See [CONTRIBUTING.md](CONTRIBUTING.md).
|
|
118
|
+
|
|
119
|
+
## License
|
|
120
|
+
|
|
121
|
+
[MIT](LICENSE)
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=77", "wheel"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "zenofharness"
|
|
7
|
+
version = "0.1.0"
|
|
8
|
+
authors = [
|
|
9
|
+
{name = "Anuj Sadani", email = "anuj.sadani3@gmail.com"}
|
|
10
|
+
]
|
|
11
|
+
description = "The Zen of Harness: principles for the code around a model: the loop, tool execution, permissions, memory and tracing. Printed on import."
|
|
12
|
+
readme = "README.md"
|
|
13
|
+
license = "MIT"
|
|
14
|
+
license-files = ["LICENSE"]
|
|
15
|
+
requires-python = ">=3.10"
|
|
16
|
+
keywords = ["agent harness", "AI agents", "LLM", "observability", "sandboxing", "Zen"]
|
|
17
|
+
classifiers = [
|
|
18
|
+
"Development Status :: 4 - Beta",
|
|
19
|
+
"Intended Audience :: Developers",
|
|
20
|
+
"Programming Language :: Python :: 3",
|
|
21
|
+
"Operating System :: OS Independent",
|
|
22
|
+
"Topic :: Software Development",
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
[project.urls]
|
|
26
|
+
Homepage = "https://github.com/asadani/zenofharness"
|
|
27
|
+
Issues = "https://github.com/asadani/zenofharness/issues"
|
|
28
|
+
Changelog = "https://github.com/asadani/zenofharness/blob/main/CHANGELOG.md"
|
|
29
|
+
|
|
30
|
+
[project.scripts]
|
|
31
|
+
zenofharness = "zenofharness.__main__:main"
|
|
32
|
+
|
|
33
|
+
[tool.setuptools]
|
|
34
|
+
packages = ["zenofharness"]
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import contextlib
|
|
2
|
+
import importlib
|
|
3
|
+
import io
|
|
4
|
+
import json
|
|
5
|
+
import os
|
|
6
|
+
import subprocess
|
|
7
|
+
import sys
|
|
8
|
+
import unittest
|
|
9
|
+
|
|
10
|
+
os.environ["ZENOFHARNESS_QUIET"] = "1"
|
|
11
|
+
|
|
12
|
+
import zenofharness # noqa: E402
|
|
13
|
+
from zenofharness import render # noqa: E402
|
|
14
|
+
from zenofharness.__main__ import main # noqa: E402
|
|
15
|
+
|
|
16
|
+
ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
|
17
|
+
N = len(zenofharness.PRINCIPLES)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
def run_cli(*args):
|
|
21
|
+
buf = io.StringIO()
|
|
22
|
+
with contextlib.redirect_stdout(buf):
|
|
23
|
+
main(list(args))
|
|
24
|
+
return buf.getvalue()
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
def run_py(args, quiet):
|
|
28
|
+
env = dict(os.environ)
|
|
29
|
+
env.pop("ZENOFHARNESS_QUIET", None)
|
|
30
|
+
if quiet:
|
|
31
|
+
env["ZENOFHARNESS_QUIET"] = "1"
|
|
32
|
+
return subprocess.run(
|
|
33
|
+
[sys.executable] + args, cwd=ROOT, env=env,
|
|
34
|
+
capture_output=True, text=True, encoding="utf-8", check=True,
|
|
35
|
+
).stdout
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
class TestData(unittest.TestCase):
|
|
39
|
+
def test_stable_numbers(self):
|
|
40
|
+
self.assertEqual([p.number for p in zenofharness.PRINCIPLES], list(range(1, N + 1)))
|
|
41
|
+
|
|
42
|
+
def test_every_principle_complete_and_themed(self):
|
|
43
|
+
for p in zenofharness.PRINCIPLES:
|
|
44
|
+
self.assertIn(p.theme, zenofharness.THEMES)
|
|
45
|
+
for field in (p.text, p.explanation, p.do, p.dont):
|
|
46
|
+
self.assertTrue(field.strip(), p.number)
|
|
47
|
+
|
|
48
|
+
def test_every_theme_used(self):
|
|
49
|
+
for theme in zenofharness.THEMES:
|
|
50
|
+
self.assertTrue(zenofharness.by_theme(theme))
|
|
51
|
+
|
|
52
|
+
def test_texts_are_unique(self):
|
|
53
|
+
texts = [p.text for p in zenofharness.PRINCIPLES]
|
|
54
|
+
self.assertEqual(len(texts), len(set(texts)))
|
|
55
|
+
|
|
56
|
+
def test_lookup(self):
|
|
57
|
+
self.assertEqual(zenofharness.get(1).number, 1)
|
|
58
|
+
with self.assertRaises(KeyError):
|
|
59
|
+
zenofharness.get(N + 1)
|
|
60
|
+
with self.assertRaises(ValueError):
|
|
61
|
+
zenofharness.by_theme("vibes")
|
|
62
|
+
|
|
63
|
+
def test_version_matches_pyproject(self):
|
|
64
|
+
with open(os.path.join(ROOT, "pyproject.toml"), encoding="utf-8") as f:
|
|
65
|
+
self.assertIn('version = "%s"' % zenofharness.__version__, f.read())
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
class TestImportSideEffect(unittest.TestCase):
|
|
69
|
+
def test_import_prints_like_import_this(self):
|
|
70
|
+
self.assertIn("1. " + zenofharness.PRINCIPLES[0].text, run_py(["-c", "import zenofharness"], quiet=False))
|
|
71
|
+
|
|
72
|
+
def test_quiet_env_silences_import(self):
|
|
73
|
+
self.assertEqual(run_py(["-c", "import zenofharness"], quiet=True), "")
|
|
74
|
+
|
|
75
|
+
def test_python_dash_m_prints_once(self):
|
|
76
|
+
out = run_py(["-m", "zenofharness", "--themes"], quiet=False)
|
|
77
|
+
self.assertIn("by theme", out)
|
|
78
|
+
self.assertNotIn("\n1. " + zenofharness.PRINCIPLES[0].text, out)
|
|
79
|
+
|
|
80
|
+
def test_verbose_module(self):
|
|
81
|
+
mod = importlib.import_module("zenofharness.verbose")
|
|
82
|
+
self.assertIn("Verbose Edition", mod.VERBOSE_ZEN)
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
class TestCLI(unittest.TestCase):
|
|
86
|
+
def test_default_is_concise(self):
|
|
87
|
+
self.assertEqual(run_cli().rstrip("\n"), render.concise().rstrip("\n"))
|
|
88
|
+
|
|
89
|
+
def test_examples_include_do_and_dont(self):
|
|
90
|
+
out = run_cli("--examples")
|
|
91
|
+
self.assertEqual(out.count("Do:"), N)
|
|
92
|
+
self.assertEqual(out.count("Don't:"), N)
|
|
93
|
+
|
|
94
|
+
def test_checklist_is_markdown(self):
|
|
95
|
+
self.assertEqual(run_cli("--checklist").count("- [ ]"), N)
|
|
96
|
+
|
|
97
|
+
def test_json_round_trips(self):
|
|
98
|
+
self.assertEqual(len(json.loads(run_cli("--json"))["principles"]), N)
|
|
99
|
+
|
|
100
|
+
def test_single_principle(self):
|
|
101
|
+
self.assertTrue(run_cli("-n", "1").startswith("1. "))
|
|
102
|
+
|
|
103
|
+
def test_bad_number_exits(self):
|
|
104
|
+
with self.assertRaises(SystemExit), contextlib.redirect_stderr(io.StringIO()):
|
|
105
|
+
run_cli("-n", str(N + 50))
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
if __name__ == "__main__":
|
|
109
|
+
unittest.main()
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"""The Zen of Harness. Like ``import this``, importing prints the principles.
|
|
2
|
+
|
|
3
|
+
Set the environment variable ZENOFHARNESS_QUIET=1 to import without printing,
|
|
4
|
+
e.g. when using ``zenofharness.PRINCIPLES`` as data.
|
|
5
|
+
"""
|
|
6
|
+
|
|
7
|
+
import os
|
|
8
|
+
import sys
|
|
9
|
+
|
|
10
|
+
from .principles import PRINCIPLES, THEMES, Principle, by_theme, get
|
|
11
|
+
from .render import concise as _concise
|
|
12
|
+
|
|
13
|
+
__version__ = "0.1.0"
|
|
14
|
+
__author__ = "Anuj Sadani"
|
|
15
|
+
__all__ = ["PRINCIPLES", "THEMES", "Principle", "by_theme", "get", "ZEN_CONCISE"]
|
|
16
|
+
|
|
17
|
+
ZEN_CONCISE = _concise()
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
def _running_cli() -> bool:
|
|
21
|
+
# `zenofharness ...` console script, or `python -m zenofharness ...`: the CLI prints instead.
|
|
22
|
+
if os.path.basename(sys.argv[0] or "").split(".")[0] == "zenofharness":
|
|
23
|
+
return True
|
|
24
|
+
orig = sys.orig_argv
|
|
25
|
+
if "-m" in orig:
|
|
26
|
+
i = orig.index("-m")
|
|
27
|
+
return i + 1 < len(orig) and orig[i + 1] == "zenofharness"
|
|
28
|
+
return False
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
if not os.environ.get("ZENOFHARNESS_QUIET") and not _running_cli():
|
|
32
|
+
print(ZEN_CONCISE)
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"""Command line: ``zenofharness`` or ``python -m zenofharness``."""
|
|
2
|
+
|
|
3
|
+
import argparse
|
|
4
|
+
import random
|
|
5
|
+
import sys
|
|
6
|
+
|
|
7
|
+
from . import __version__
|
|
8
|
+
from . import render
|
|
9
|
+
from .principles import PRINCIPLES, get
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
def main(argv=None) -> int:
|
|
13
|
+
parser = argparse.ArgumentParser(prog="zenofharness", description="The Zen of Harness.")
|
|
14
|
+
mode = parser.add_mutually_exclusive_group()
|
|
15
|
+
mode.add_argument("-v", "--verbose", action="store_true", help="principles with explanations")
|
|
16
|
+
mode.add_argument("-e", "--examples", action="store_true", help="verbose, plus a do/don't example for each")
|
|
17
|
+
mode.add_argument("-t", "--themes", action="store_true", help="grouped by theme: loop, equip, contain, observe")
|
|
18
|
+
mode.add_argument("-n", "--number", type=int, metavar="N", help="show one principle in full (1-%d)" % len(PRINCIPLES))
|
|
19
|
+
mode.add_argument("-r", "--random", action="store_true", help="one random principle, e.g. for a daily reminder")
|
|
20
|
+
mode.add_argument("--checklist", action="store_true", help="Markdown checklist for PR templates or AGENTS.md")
|
|
21
|
+
mode.add_argument("--json", action="store_true", help="machine-readable output")
|
|
22
|
+
parser.add_argument("--version", action="version", version="zenofharness " + __version__)
|
|
23
|
+
args = parser.parse_args(argv)
|
|
24
|
+
|
|
25
|
+
if args.verbose:
|
|
26
|
+
out = render.verbose()
|
|
27
|
+
elif args.examples:
|
|
28
|
+
out = render.verbose(examples=True)
|
|
29
|
+
elif args.themes:
|
|
30
|
+
out = render.themed()
|
|
31
|
+
elif args.checklist:
|
|
32
|
+
out = render.checklist()
|
|
33
|
+
elif args.json:
|
|
34
|
+
out = render.as_json()
|
|
35
|
+
elif args.number is not None or args.random:
|
|
36
|
+
try:
|
|
37
|
+
p = random.choice(PRINCIPLES) if args.random else get(args.number)
|
|
38
|
+
except KeyError:
|
|
39
|
+
parser.error("principle number must be 1-%d" % len(PRINCIPLES))
|
|
40
|
+
out = "%d. %s\n %s\n Do: %s\n Don't: %s" % (p.number, p.text, p.explanation, p.do, p.dont)
|
|
41
|
+
else:
|
|
42
|
+
out = render.concise()
|
|
43
|
+
print(out)
|
|
44
|
+
return 0
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
if __name__ == "__main__":
|
|
48
|
+
sys.exit(main())
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
"""The principles as structured data."""
|
|
2
|
+
|
|
3
|
+
from dataclasses import dataclass
|
|
4
|
+
from typing import Dict, List, Tuple
|
|
5
|
+
|
|
6
|
+
THEMES: Dict[str, str] = {
|
|
7
|
+
'loop': 'Loop',
|
|
8
|
+
'equip': 'Equip',
|
|
9
|
+
'contain': 'Contain',
|
|
10
|
+
'observe': 'Observe',
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
@dataclass(frozen=True)
|
|
15
|
+
class Principle:
|
|
16
|
+
number: int
|
|
17
|
+
text: str
|
|
18
|
+
explanation: str
|
|
19
|
+
theme: str
|
|
20
|
+
do: str
|
|
21
|
+
dont: str
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
PRINCIPLES: Tuple[Principle, ...] = (
|
|
25
|
+
Principle(
|
|
26
|
+
1, 'The model proposes; the harness verifies.',
|
|
27
|
+
"The model suggests actions; the harness checks them against permissions, schemas and limits before anything happens. Nothing with a side effect should run on the model's word alone.",
|
|
28
|
+
'loop',
|
|
29
|
+
do='Validate tool arguments and permissions before executing a call.',
|
|
30
|
+
dont='Pipe model output straight into a shell.',
|
|
31
|
+
),
|
|
32
|
+
Principle(
|
|
33
|
+
2, 'Every loop needs an exit.',
|
|
34
|
+
"Agent loops can spin forever on a problem they can't solve. Enforce limits on steps, time, tokens and spend, and stop cleanly when one is hit.",
|
|
35
|
+
'loop',
|
|
36
|
+
do='Cap a run at 50 steps and $5, then report what was done.',
|
|
37
|
+
dont="Run until the model decides it's finished.",
|
|
38
|
+
),
|
|
39
|
+
Principle(
|
|
40
|
+
3, 'Real errors are better than polite summaries.',
|
|
41
|
+
'Feed the model the real result or error—trimmed and redacted, but not paraphrased. Swallowed or reworded errors leave it debugging blind.',
|
|
42
|
+
'loop',
|
|
43
|
+
do='Return the exit code, stderr and the failing line.',
|
|
44
|
+
dont='Replace a stack trace with "the command failed".',
|
|
45
|
+
),
|
|
46
|
+
Principle(
|
|
47
|
+
4, 'A retry should never repeat a side effect.',
|
|
48
|
+
"When the harness retries a failed step, it must know whether the first attempt already took effect. Track side effects so a retry doesn't send the email twice.",
|
|
49
|
+
'loop',
|
|
50
|
+
do='Record each completed action, and check the record before retrying.',
|
|
51
|
+
dont='Blindly re-run a timed-out "send payment" step.',
|
|
52
|
+
),
|
|
53
|
+
Principle(
|
|
54
|
+
5, 'Every call should be able to time out.',
|
|
55
|
+
'Tools hang, networks stall and processes deadlock. Give every tool call a timeout, cancel it where the tool allows, and tell the model clearly—remembering that a timed-out operation may still finish.',
|
|
56
|
+
'equip',
|
|
57
|
+
do='Set a timeout per tool and tell the model "timed out after 60s".',
|
|
58
|
+
dont='Let one hung command freeze the whole agent.',
|
|
59
|
+
),
|
|
60
|
+
Principle(
|
|
61
|
+
6, 'Done means checked.',
|
|
62
|
+
'An agent saying it finished is a claim, not a fact. The harness runs the checks—tests, linters, type checkers—before reporting completion, and feeds failures back into the loop.',
|
|
63
|
+
'equip',
|
|
64
|
+
do='Run the test suite after the last edit and loop on failures.',
|
|
65
|
+
dont='Report success because the model said "all tests pass".',
|
|
66
|
+
),
|
|
67
|
+
Principle(
|
|
68
|
+
7, 'Memory is designed, not accumulated.',
|
|
69
|
+
"Decide what memory stores, how it's retrieved and when it expires. Memory that only grows becomes slow, noisy and full of outdated facts.",
|
|
70
|
+
'equip',
|
|
71
|
+
do='Store decisions and preferences with dates, and expire them.',
|
|
72
|
+
dont='Append every conversation to a file and load it all each time.',
|
|
73
|
+
),
|
|
74
|
+
Principle(
|
|
75
|
+
8, 'Permissions belong in code, not in prompts.',
|
|
76
|
+
'"Never delete files" in a prompt is a request; a permission check in the harness is a rule. Enforce limits where the model can\'t talk its way around them.',
|
|
77
|
+
'contain',
|
|
78
|
+
do='Block writes outside the project directory in the tool layer.',
|
|
79
|
+
dont='Rely on a line in the system prompt to keep the agent out of production.',
|
|
80
|
+
),
|
|
81
|
+
Principle(
|
|
82
|
+
9, "Grant nothing the task doesn't need.",
|
|
83
|
+
'Give the agent—and every tool or skill it loads—the minimum permissions for the job. Start closed and open deliberately.',
|
|
84
|
+
'contain',
|
|
85
|
+
do='Run read-only until a task needs to write.',
|
|
86
|
+
dont='Give every agent full shell, network and credential access by default.',
|
|
87
|
+
),
|
|
88
|
+
Principle(
|
|
89
|
+
10, 'Secrets belong in tools, never in context or logs.',
|
|
90
|
+
"Credentials should be used inside tools, out of the model's sight, and redacted from traces and logs. Anything in the context window can end up in an output.",
|
|
91
|
+
'contain',
|
|
92
|
+
do='Let the tool attach the API key and show the model only the result.',
|
|
93
|
+
dont='Paste a database password into the prompt.',
|
|
94
|
+
),
|
|
95
|
+
Principle(
|
|
96
|
+
11, "One user's context is never another's.",
|
|
97
|
+
'Context, memory, files and traces must be isolated per user or tenant. A leak between users is a breach, even when a model caused it.',
|
|
98
|
+
'contain',
|
|
99
|
+
do='Scope memory and caches by user and test the boundary.',
|
|
100
|
+
dont='Share one vector store across customers without filtering.',
|
|
101
|
+
),
|
|
102
|
+
Principle(
|
|
103
|
+
12, "If it isn't traced, it can't be debugged.",
|
|
104
|
+
'Record each model call, tool call and result, so you can reconstruct what happened—including runs that "succeeded" but did the wrong thing. Redact sensitive data before storing.',
|
|
105
|
+
'observe',
|
|
106
|
+
do='Trace every step under a run ID you can replay.',
|
|
107
|
+
dont='Keep only the final answer.',
|
|
108
|
+
),
|
|
109
|
+
Principle(
|
|
110
|
+
13, 'Resuming is better than restarting.',
|
|
111
|
+
"Long tasks fail midway. Persist enough progress to resume from the last good state instead of starting over and repeating side effects. Decide who owns that state—the harness, the tool server behind a handle, or both—so it isn't silently nobody's.",
|
|
112
|
+
'observe',
|
|
113
|
+
do='Save state after each completed step.',
|
|
114
|
+
dont='Restart a multi-step migration from step one after a crash, repeating completed writes.',
|
|
115
|
+
),
|
|
116
|
+
Principle(
|
|
117
|
+
14, 'Models change; the harness should outlast them.',
|
|
118
|
+
'Models are replaced every few months. Keep model-specific details behind one interface, so swapping models changes configuration, not architecture.',
|
|
119
|
+
'observe',
|
|
120
|
+
do='Route all model calls through one adapter, and re-run evals on a swap.',
|
|
121
|
+
dont="Scatter one vendor's API calls and prompt quirks through the codebase.",
|
|
122
|
+
),
|
|
123
|
+
)
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
def by_theme(theme: str) -> List[Principle]:
|
|
127
|
+
"""Return the principles in one theme (loop, equip, contain, observe)."""
|
|
128
|
+
if theme not in THEMES:
|
|
129
|
+
raise ValueError("unknown theme %r; choose from %s" % (theme, ", ".join(THEMES)))
|
|
130
|
+
return [p for p in PRINCIPLES if p.theme == theme]
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
def get(number: int) -> Principle:
|
|
134
|
+
"""Return a principle by its stable number."""
|
|
135
|
+
for p in PRINCIPLES:
|
|
136
|
+
if p.number == number:
|
|
137
|
+
return p
|
|
138
|
+
raise KeyError(number)
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"""Turn the principles into text: concise, verbose, by theme, checklist, JSON."""
|
|
2
|
+
|
|
3
|
+
import json
|
|
4
|
+
from dataclasses import asdict
|
|
5
|
+
|
|
6
|
+
from .principles import PRINCIPLES, THEMES, by_theme
|
|
7
|
+
|
|
8
|
+
TITLE = "The Zen of Harness, by Anuj Sadani"
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
def concise() -> str:
|
|
12
|
+
lines = [TITLE, ""]
|
|
13
|
+
lines += ["%d. %s" % (p.number, p.text) for p in PRINCIPLES]
|
|
14
|
+
return "\n".join(lines) + "\n"
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
def verbose(examples: bool = False) -> str:
|
|
18
|
+
lines = ["The Zen of Harness (Verbose Edition)", "by Anuj Sadani", ""]
|
|
19
|
+
for p in PRINCIPLES:
|
|
20
|
+
pad = " " * (len(str(p.number)) + 2)
|
|
21
|
+
lines.append("%d. %s" % (p.number, p.text))
|
|
22
|
+
lines.append("%s— %s" % (pad, p.explanation))
|
|
23
|
+
if examples:
|
|
24
|
+
lines.append("%sDo: %s" % (pad, p.do))
|
|
25
|
+
lines.append("%sDon't: %s" % (pad, p.dont))
|
|
26
|
+
lines.append("")
|
|
27
|
+
return "\n".join(lines)
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
def themed() -> str:
|
|
31
|
+
lines = [TITLE + " — by theme", ""]
|
|
32
|
+
for key, name in THEMES.items():
|
|
33
|
+
lines.append(name)
|
|
34
|
+
lines += [" %d. %s" % (p.number, p.text) for p in by_theme(key)]
|
|
35
|
+
lines.append("")
|
|
36
|
+
return "\n".join(lines)
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
def checklist() -> str:
|
|
40
|
+
"""Markdown checklist for PR templates, AGENTS.md or CLAUDE.md."""
|
|
41
|
+
lines = ["## Agent harness review checklist (Zen of Harness)", ""]
|
|
42
|
+
for key, name in THEMES.items():
|
|
43
|
+
lines.append("### " + name)
|
|
44
|
+
lines += ["- [ ] %s _(#%d)_" % (p.do, p.number) for p in by_theme(key)]
|
|
45
|
+
lines.append("")
|
|
46
|
+
return "\n".join(lines)
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
def as_json() -> str:
|
|
50
|
+
return json.dumps(
|
|
51
|
+
{"themes": THEMES, "principles": [asdict(p) for p in PRINCIPLES]},
|
|
52
|
+
ensure_ascii=False, indent=2,
|
|
53
|
+
)
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: zenofharness
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: The Zen of Harness: principles for the code around a model: the loop, tool execution, permissions, memory and tracing. Printed on import.
|
|
5
|
+
Author-email: Anuj Sadani <anuj.sadani3@gmail.com>
|
|
6
|
+
License-Expression: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/asadani/zenofharness
|
|
8
|
+
Project-URL: Issues, https://github.com/asadani/zenofharness/issues
|
|
9
|
+
Project-URL: Changelog, https://github.com/asadani/zenofharness/blob/main/CHANGELOG.md
|
|
10
|
+
Keywords: agent harness,AI agents,LLM,observability,sandboxing,Zen
|
|
11
|
+
Classifier: Development Status :: 4 - Beta
|
|
12
|
+
Classifier: Intended Audience :: Developers
|
|
13
|
+
Classifier: Programming Language :: Python :: 3
|
|
14
|
+
Classifier: Operating System :: OS Independent
|
|
15
|
+
Classifier: Topic :: Software Development
|
|
16
|
+
Requires-Python: >=3.10
|
|
17
|
+
Description-Content-Type: text/markdown
|
|
18
|
+
License-File: LICENSE
|
|
19
|
+
Dynamic: license-file
|
|
20
|
+
|
|
21
|
+
# zenofharness
|
|
22
|
+
|
|
23
|
+
[](https://github.com/asadani/zenofharness/actions/workflows/ci.yml)
|
|
24
|
+
[](https://pypi.org/project/zenofharness/)
|
|
25
|
+
|
|
26
|
+
### The Zen of Harness: principles for the code around a model: the loop, tool execution, permissions, memory and tracing.
|
|
27
|
+
|
|
28
|
+
Many agent failures are harness failures. These principles cover the code that runs the agent loop, executes tools, enforces limits and records what happened.
|
|
29
|
+
|
|
30
|
+
`import this` gave Python a shared mindset. `import zenofharness` does the same for this corner of AI engineering: 14 short principles you can remember, cite by number and argue about.
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
pip install zenofharness # or: uv pip install zenofharness / uv add zenofharness
|
|
34
|
+
uvx zenofharness --random # run the CLI without installing (uv)
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
```python
|
|
38
|
+
>>> import zenofharness
|
|
39
|
+
The Zen of Harness, by Anuj Sadani
|
|
40
|
+
|
|
41
|
+
1. The model proposes; the harness verifies.
|
|
42
|
+
2. Every loop needs an exit.
|
|
43
|
+
...
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
---
|
|
47
|
+
|
|
48
|
+
## The principles
|
|
49
|
+
|
|
50
|
+
Numbers are stable across releases, so "see principle 3" in a review always means the same thing.
|
|
51
|
+
|
|
52
|
+
### Loop
|
|
53
|
+
1. The model proposes; the harness verifies.
|
|
54
|
+
2. Every loop needs an exit.
|
|
55
|
+
3. Real errors are better than polite summaries.
|
|
56
|
+
4. A retry should never repeat a side effect.
|
|
57
|
+
|
|
58
|
+
### Equip
|
|
59
|
+
5. Every call should be able to time out.
|
|
60
|
+
6. Done means checked.
|
|
61
|
+
7. Memory is designed, not accumulated.
|
|
62
|
+
|
|
63
|
+
### Contain
|
|
64
|
+
8. Permissions belong in code, not in prompts.
|
|
65
|
+
9. Grant nothing the task doesn't need.
|
|
66
|
+
10. Secrets belong in tools, never in context or logs.
|
|
67
|
+
11. One user's context is never another's.
|
|
68
|
+
|
|
69
|
+
### Observe
|
|
70
|
+
12. If it isn't traced, it can't be debugged.
|
|
71
|
+
13. Resuming is better than restarting.
|
|
72
|
+
14. Models change; the harness should outlast them.
|
|
73
|
+
|
|
74
|
+
Every principle comes with an explanation and a concrete do/don't example: `zenofharness --examples`.
|
|
75
|
+
|
|
76
|
+
---
|
|
77
|
+
|
|
78
|
+
## Usage
|
|
79
|
+
|
|
80
|
+
### On import
|
|
81
|
+
|
|
82
|
+
```python
|
|
83
|
+
import zenofharness # prints the principles
|
|
84
|
+
from zenofharness import verbose # prints them with explanations
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
Set `ZENOFHARNESS_QUIET=1` to import without printing.
|
|
88
|
+
|
|
89
|
+
### Command line
|
|
90
|
+
|
|
91
|
+
```bash
|
|
92
|
+
zenofharness # the principles
|
|
93
|
+
zenofharness --verbose # with explanations
|
|
94
|
+
zenofharness --examples # with a do/don't example for each
|
|
95
|
+
zenofharness --themes # grouped by theme
|
|
96
|
+
zenofharness -n 3 # one principle in full
|
|
97
|
+
zenofharness --random # one at random: a daily reminder for your shell profile
|
|
98
|
+
zenofharness --checklist # Markdown checklist for PRs and agent instructions
|
|
99
|
+
zenofharness --json # machine-readable
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
`python -m zenofharness` works the same way.
|
|
103
|
+
|
|
104
|
+
### As data
|
|
105
|
+
|
|
106
|
+
```python
|
|
107
|
+
import os; os.environ["ZENOFHARNESS_QUIET"] = "1"
|
|
108
|
+
import zenofharness
|
|
109
|
+
|
|
110
|
+
zenofharness.get(3).text # "Real errors are better than polite summaries."
|
|
111
|
+
zenofharness.by_theme("loop") # list of Principle objects
|
|
112
|
+
[p.text for p in zenofharness.PRINCIPLES]
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
---
|
|
116
|
+
|
|
117
|
+
## Putting it into your workflow
|
|
118
|
+
|
|
119
|
+
A slogan is not a process. The principles help most where decisions are made:
|
|
120
|
+
|
|
121
|
+
- **Pull requests.** Paste `zenofharness --checklist` into `.github/pull_request_template.md`. Reviewers can then point to a principle by number.
|
|
122
|
+
- **Coding agents.** Add the checklist (or `zenofharness --themes`) to `AGENTS.md`, `CLAUDE.md` or your editor's rules file, so your agent works by the same standard you review by.
|
|
123
|
+
- **Onboarding.** `zenofharness --examples` is a short read for anyone new to the team's approach.
|
|
124
|
+
|
|
125
|
+
---
|
|
126
|
+
|
|
127
|
+
## What this is, and isn't
|
|
128
|
+
|
|
129
|
+
- It **is** a compact, opinionated philosophy and a shared vocabulary for teams.
|
|
130
|
+
- It **isn't** a linter, a framework or a replacement for engineering judgment.
|
|
131
|
+
- It's **vendor-neutral**: no principle depends on a particular model, framework or vendor.
|
|
132
|
+
|
|
133
|
+
---
|
|
134
|
+
|
|
135
|
+
## Contributing
|
|
136
|
+
|
|
137
|
+
The principles should evolve through discussion, not by decree. Propose a new principle, a rewording or a better example by opening an issue. See [CONTRIBUTING.md](CONTRIBUTING.md).
|
|
138
|
+
|
|
139
|
+
## License
|
|
140
|
+
|
|
141
|
+
[MIT](LICENSE)
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
LICENSE
|
|
2
|
+
README.md
|
|
3
|
+
pyproject.toml
|
|
4
|
+
tests/test_zenofharness.py
|
|
5
|
+
zenofharness/__init__.py
|
|
6
|
+
zenofharness/__main__.py
|
|
7
|
+
zenofharness/principles.py
|
|
8
|
+
zenofharness/render.py
|
|
9
|
+
zenofharness/verbose.py
|
|
10
|
+
zenofharness.egg-info/PKG-INFO
|
|
11
|
+
zenofharness.egg-info/SOURCES.txt
|
|
12
|
+
zenofharness.egg-info/dependency_links.txt
|
|
13
|
+
zenofharness.egg-info/entry_points.txt
|
|
14
|
+
zenofharness.egg-info/top_level.txt
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
zenofharness
|