every libs/*.py and hooks/*.py now starts with a one-line module docstring; every bin/* script starts with a `# purpose:` header. discovery-by-`ls`-and-read instead of by index. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
7 lines
221 B
Python
Executable file
7 lines
221 B
Python
Executable file
#!/usr/bin/env python3
|
|
# purpose: starter template for new operator scripts under bin/.
|
|
|
|
from bundlewrap.repo import Repository
|
|
from os.path import realpath, dirname
|
|
|
|
bw = Repository(dirname(dirname(realpath(__file__))))
|