CtrlK
BlogDocsLog inGet started
Tessl Logo
PluginPublic

jbaruch/herdr-policy

Herdr team coordination policy for AI coding agents

72

Quality

90%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

Overview
Quality
Evals
Security
Files

runnable.pyskills/herdr-foreman/foreman/

"""The runnable form of this package's commands (#532).

No installed plugin puts a `foreman` executable on `PATH`: the package runs
through the skill's `foreman.sh` launcher, and a Tessl install strips its
execute bit. A hint that names a bare `foreman measure`, or a bare
`supervision-bind`, does not run as written. Every error, help and resume hint
that tells the reader to run a subcommand renders it through `command()`.

Contract: `launcher()` returns the absolute path of the `foreman.sh` beside
this package; `command(tail)` returns `bash <quoted launcher> <tail>`. The
tail is inserted verbatim, so a caller quotes any value it interpolates and
may keep placeholders such as `FILE` or `<path>` for the reader to fill in.
"""

import shlex
from pathlib import Path


def launcher():
    """The installed launcher that runs this package's commands."""
    return str(Path(__file__).resolve().parents[1] / "foreman.sh")


def command(tail):
    """The runnable command line for one subcommand and its arguments."""
    return "bash {} {}".format(shlex.quote(launcher()), tail)

skills

herdr-foreman

compose-briefs.sh

config.example.json

foreman-tier-check.py

foreman.sh

label-workspaces.sh

native-hook.sh

policy-paths.py

provision-worktree.sh

prune-report-caches.py

resolve-gates.sh

resolve-policy-paths.sh

review-package.sh

roster.sh

round-preflight.sh

SKILL.md

start-judge-worker.sh

state-schema.md

sweep-worktrees.sh

verify-authority.sh

wait-report.sh

README.md

tile.json