CtrlK
BlogDocsLog inGet started
Tessl Logo

jbaruch/coding-policy

General-purpose coding policy for Baruch's AI agents

74

Quality

93%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Medium

Suggest reviewing before use

Overview
Quality
Evals
Security
Files

diagnostics.pyskills/herdr-foreman/foreman/

"""The one place diagnostics go.

stdout carries the command's JSON document and nothing else, so every warning
foreman emits goes to stderr. Modules take an injected `warn` callable that
defaults to `stderr_warn`, which is what lets tests capture warnings instead
of printing them.
"""

import sys

#: Prefix on every line, so a warning is attributable when it lands in a log
#: interleaved with herdr's own output.
PREFIX = "foreman: "


def stderr_warn(message):
    """Write one diagnostic line to stderr."""
    print("{}{}".format(PREFIX, message), file=sys.stderr)

skills

herdr-foreman

bounded-run.sh

compose-briefs.sh

config.example.json

foreman-tier-check.py

foreman.sh

label-workspaces.sh

provision-worktree.sh

prune-remote-branches.sh

prune-report-caches.py

prune-worktrees.sh

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