agent-runbooks 1.4.4__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.
@@ -0,0 +1,5 @@
1
+ __pycache__/
2
+ *.pyc
3
+ .agent-runbooks/
4
+ .venv/
5
+ dist/
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Maksim Zemskov
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,23 @@
1
+ Metadata-Version: 2.5
2
+ Name: agent-runbooks
3
+ Version: 1.4.4
4
+ Summary: The engine behind a runbook's flow.py
5
+ Project-URL: Source, https://github.com/agent-runbooks/skills/tree/main/skills/agent-runbook-authoring
6
+ Project-URL: Changelog, https://github.com/agent-runbooks/skills/blob/main/skills/agent-runbook-authoring/CHANGELOG.md
7
+ License-File: LICENSE
8
+ Requires-Python: >=3.9
9
+ Description-Content-Type: text/markdown
10
+
11
+ # agent-runbook-authoring
12
+
13
+ A skill that writes [runbooks](../../README.md) with you: ask the session for one, and it designs the steps, writes the prompts, `flow.py` and the execution rules, and has a fresh subagent read the result cold. A complete sample is [`references/runbook-review-loop`](references/runbook-review-loop).
14
+
15
+ ## Contents
16
+
17
+ - [`SKILL.md`](SKILL.md): how to write a runbook, for the agent
18
+ - [`references/template.md`](references/template.md): the shape of a runbook and the sections copied into it
19
+ - [`references/flow-language.md`](references/flow-language.md): the `flow.py` API
20
+ - [`references/review-checklist.md`](references/review-checklist.md): cold read, checklist, run review
21
+ - [`references/runbook.py`](references/runbook.py): the engine, Python 3.9+, no dependencies; also on PyPI as `agent-runbooks`
22
+ - [`references/runbook-review-loop`](references/runbook-review-loop): a complete sample runbook, implement and review in a loop with a human step, on the harness's own subagents
23
+ - [`CHANGELOG.md`](CHANGELOG.md): engine versions
@@ -0,0 +1,67 @@
1
+ # The engine's PyPI package and the dev tooling. The skills ship without this file and run on the standard library.
2
+
3
+ [build-system]
4
+ requires = ["hatchling>=1.27"]
5
+ build-backend = "hatchling.build"
6
+
7
+ [project]
8
+ name = "agent-runbooks"
9
+ dynamic = ["version"]
10
+ description = "The engine behind a runbook's flow.py"
11
+ readme = "skills/agent-runbook-authoring/README.md"
12
+ requires-python = ">=3.9"
13
+ license-files = ["LICENSE"]
14
+
15
+ [project.urls]
16
+ Source = "https://github.com/agent-runbooks/skills/tree/main/skills/agent-runbook-authoring"
17
+ Changelog = "https://github.com/agent-runbooks/skills/blob/main/skills/agent-runbook-authoring/CHANGELOG.md"
18
+
19
+ [dependency-groups]
20
+ dev = [
21
+ "pyright==1.1.414",
22
+ "ruff==0.16.10",
23
+ ]
24
+
25
+ # uv sync leaves the package out: the dev environment needs only the tools.
26
+ [tool.uv]
27
+ package = false
28
+
29
+ [tool.hatch.version]
30
+ path = "skills/agent-runbook-authoring/references/runbook.py"
31
+
32
+ # The wheel is the engine alone, renamed so it never shadows or is shadowed by a runbook's own runbook.py.
33
+ [tool.hatch.build.targets.wheel]
34
+ bypass-selection = true
35
+
36
+ [tool.hatch.build.targets.wheel.force-include]
37
+ "skills/agent-runbook-authoring/references/runbook.py" = "agent_runbooks.py"
38
+
39
+ [tool.hatch.build.targets.sdist]
40
+ only-include = ["skills/agent-runbook-authoring/references/runbook.py", "skills/agent-runbook-authoring/README.md", "LICENSE"]
41
+
42
+ [tool.ruff]
43
+ line-length = 120
44
+ # A byte-for-byte copy of references/runbook.py; CI compares the two.
45
+ extend-exclude = ["skills/agent-runbook-authoring/references/runbook-review-loop/runbook.py"]
46
+
47
+ [tool.ruff.lint]
48
+ select = ["E", "F", "W", "I", "B", "UP", "SIM", "RUF"]
49
+ # E501: the formatter owns line length; what it leaves long is string literals.
50
+ # SIM117: a merged `with` this long needs parentheses, which Python 3.9 lacks.
51
+ # UP036: the engine and the viewer check the interpreter version on purpose, they run on whatever python3 the machine has.
52
+ ignore = ["E501", "SIM117", "UP036"]
53
+
54
+ [tool.ruff.lint.per-file-ignores]
55
+ # A flow.py names its next/skip helpers with lambdas, as flow-language.md teaches.
56
+ "**/flow.py" = ["E731"]
57
+
58
+ [tool.ruff.format]
59
+ quote-style = "single"
60
+ # Code samples in the docs keep their hand layout.
61
+ exclude = ["*.md"]
62
+
63
+ [tool.pyright]
64
+ include = ["skills"]
65
+ exclude = ["skills/agent-runbook-authoring/references/runbook-review-loop/runbook.py"]
66
+ pythonVersion = "3.9"
67
+ typeCheckingMode = "standard"
@@ -0,0 +1,13 @@
1
+ # agent-runbook-authoring
2
+
3
+ A skill that writes [runbooks](../../README.md) with you: ask the session for one, and it designs the steps, writes the prompts, `flow.py` and the execution rules, and has a fresh subagent read the result cold. A complete sample is [`references/runbook-review-loop`](references/runbook-review-loop).
4
+
5
+ ## Contents
6
+
7
+ - [`SKILL.md`](SKILL.md): how to write a runbook, for the agent
8
+ - [`references/template.md`](references/template.md): the shape of a runbook and the sections copied into it
9
+ - [`references/flow-language.md`](references/flow-language.md): the `flow.py` API
10
+ - [`references/review-checklist.md`](references/review-checklist.md): cold read, checklist, run review
11
+ - [`references/runbook.py`](references/runbook.py): the engine, Python 3.9+, no dependencies; also on PyPI as `agent-runbooks`
12
+ - [`references/runbook-review-loop`](references/runbook-review-loop): a complete sample runbook, implement and review in a loop with a human step, on the harness's own subagents
13
+ - [`CHANGELOG.md`](CHANGELOG.md): engine versions