runboth 0.1.0__py3-none-any.whl
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.
- runboth/__init__.py +30 -0
- runboth/adjudicate.py +841 -0
- runboth/agent_hook.py +180 -0
- runboth/blast.py +241 -0
- runboth/cli.py +337 -0
- runboth/control_constructors.py +49 -0
- runboth/control_dotted_imports.py +43 -0
- runboth/control_overblock.py +69 -0
- runboth/determinism.py +302 -0
- runboth/engine.py +593 -0
- runboth/fixtures.py +326 -0
- runboth/hook.py +153 -0
- runboth/install_agent.py +97 -0
- runboth/install_hook.py +217 -0
- runboth/interagent.py +229 -0
- runboth/isolate.py +181 -0
- runboth/mcp_server.py +181 -0
- runboth/mergecheck.py +224 -0
- runboth/methods.py +445 -0
- runboth/pr_report.py +262 -0
- runboth/precommit.py +591 -0
- runboth/sandbox.py +1246 -0
- runboth/versions.py +220 -0
- runboth-0.1.0.dist-info/METADATA +163 -0
- runboth-0.1.0.dist-info/RECORD +29 -0
- runboth-0.1.0.dist-info/WHEEL +5 -0
- runboth-0.1.0.dist-info/entry_points.txt +2 -0
- runboth-0.1.0.dist-info/licenses/LICENSE.md +93 -0
- runboth-0.1.0.dist-info/top_level.txt +1 -0
runboth/__init__.py
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"""runboth: behaviour adjudication for AI-written code.
|
|
2
|
+
|
|
3
|
+
This directory is a flat set of modules that import one another by bare name. When it is
|
|
4
|
+
installed as the `runboth` package, this file puts the package directory itself on sys.path so
|
|
5
|
+
those imports resolve to the installed copies. It is the same thing `cli.py` already does when
|
|
6
|
+
run from a checkout, made unconditional so `from runboth.cli import main` works too.
|
|
7
|
+
"""
|
|
8
|
+
import sys as _sys
|
|
9
|
+
from pathlib import Path as _Path
|
|
10
|
+
|
|
11
|
+
_here = str(_Path(__file__).resolve().parent)
|
|
12
|
+
if _here not in _sys.path:
|
|
13
|
+
_sys.path.insert(0, _here)
|
|
14
|
+
|
|
15
|
+
__all__ = ["main", "engine_dir"]
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
def engine_dir():
|
|
19
|
+
"""Where the engine modules live, wherever this package was installed or checked out.
|
|
20
|
+
|
|
21
|
+
The git hook uses this to locate `precommit.py` at RUN time instead of having an absolute
|
|
22
|
+
path baked into it at INSTALL time. Moving the project used to silently break every hook
|
|
23
|
+
already installed, which is exactly the class of failure this tool exists to catch.
|
|
24
|
+
"""
|
|
25
|
+
return _here
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
def main():
|
|
29
|
+
from cli import main as _main
|
|
30
|
+
return _main()
|