Skip to main content

horo-teamkit

繁體中文

Run a team of horo-next (Hermes) profiles on one kanban board — and make the harness, not the model, decide when work is done.

Agents may explain a failure. They may not explain it away. The system must notice when the current approach has stopped working.

horo-teamkit is a horo-next plugin (horo-next 0.23.x only). It sets up roles, routes reviews, escalates stuck work to an owner, and adds deterministic controls that a model cannot talk its way past:

  • Completion gate — kanban_request_review and kanban_complete run your checks (lint, types, tests) in the card's workspace first. A failing check blocks the call and hands back the output plus a failure fingerprint.
  • Anti-silencing — relative to a recorded base commit, new # noqa / type: ignore / pytest.mark.skip markers, edits to check config files, or fewer test functions are blocked unless the owner waives that card.
  • Strategy checkpoint — when the same command failure (same fingerprint) repeats 3 times on one card or session, the agent is told to change hypothesis or stop and report, and the owner gets a card. At 6, terminal is paused for that card until it is blocked or the owner decides. Works in kanban workers and in hermes -z oneshot sessions.
  • teamkit audit — a read-only replay: did every done card pass the gate before completion, has the check list changed since, does it still pass now?

What it does not do, and what we could and could not measure, is in BENCHMARK.md. Short version: on our local-model benchmark the baseline team did not make the mistakes these controls target, so we have no before/after evidence that teamkit improves outcomes — only tests showing the controls fire.

Install

pip install horo-teamkit            # same environment as horo-next; no dependencies, does not touch horo-next
hermes plugins enable teamkit       # enable in the default home so `hermes teamkit` appears
hermes teamkit init --board dev --preset trio --prefix dev- --workdir ~/proj \
  --check "ruff check ." --check "python3 -m pytest -q"          # prints the plan
hermes teamkit init ... --yes                                     # applies it
  • Do not install with pip install -e or from ~/Documents, ~/Desktop, ~/Downloads on macOS: a launchd gateway cannot read those folders and the plugin silently fails to load (No module named 'hermes_teamkit' in the log).
  • Restart the gateway after installing or upgrading. Workers — and hermes -z sessions, which run inside the gateway — keep the plugin version the gateway loaded at startup.

init only prints a plan unless you pass --yes. It creates the board, one profile per role with a SOUL.md (existing SOULs are kept unless --force-soul), sets each profile's agent.max_turns=250, approvals.single_query_mode=deny, memory on, teamkit enabled, enables teamkit in the default home (skip with --no-default-home), and writes the board's teamkit.yaml. Every overwritten file is backed up as *.bak-teamkit-<time>. Re-running init only fills in what is missing.

Then:

  1. Give each profile its own model, fallback_providers and .env (profiles do not read the default home's .env).
  2. hermes teamkit doctor --board dev and fix every FAIL.
  3. Run hermes teamkit tick --board dev periodically (e.g. cron every 5 minutes); idle wake-ups and crash escalation depend on it.
  4. Restart the gateway.

Presets

preset owner reviewer other roles
dev orchestrator reviewer architect, developer, qa, ops
research pi critic analyst, engineer, explorer, replicator
trio planner verifier coder

Add roles with hermes teamkit add-role --board dev --name dev-coder-b --like coder --yes (--creator lets the role open cards; there is exactly one owner per board).

Enforced rules

Only in processes where teamkit is enabled.

Rule How
Reviews go to the reviewer kanban_request_review without a reviewer gets teamkit.yaml's reviewer
Only the owner and card_creators open cards others' kanban_create is blocked; they propose cards in metadata.proposed_cards
Cards use the template with require_template: true, kanban_create is blocked in favour of teamkit_open_card
No direct commits to protected branches git commit in a terminal command on a branch in protected_branches is blocked
Blocked cards escalate to the owner kanban_task_blocked opens (or comments on) an owner card
Crashed workers escalate tick opens an owner card for cards stopped after crashed / gave_up / timed_out
Idle boards wake the owner tick opens one owner card per idle period longer than idle_seconds
Completion passes the gate with checks set, review and complete run them first
Checks cannot be loosened with gate_base set, silencing markers, check-config edits and test removal are blocked; owner waives via gate_waivers
The same failure is not retried forever checkpoint_repeats (default 3): notice + owner card; at twice that, terminal pauses

Gate and audit

hermes teamkit init --board dev --check "ruff check ." --check "python3 -m pytest -q" --workdir ~/proj --yes
hermes teamkit audit --board dev            # exit 1 if anything is off; --no-rerun to only read records
  • Checks run in order (put fast ones first) via the shell in HERMES_KANBAN_WORKSPACE — only list commands you trust. With a git --workdir, the current HEAD is recorded as gate_base.
  • Every decision is appended to the board's teamkit-events.jsonl (gate_pass, gate_fail, gate_silenced, command_fail, checkpoint).
  • The gate guarantees evidence exists, not that it is sufficient: code that passes its own tests but breaks the spec still passes. That still needs a reviewer reading the spec.

Tools, UI, review

  • teamkit_open_card (five-section cards), teamkit_ledger_add / teamkit_ledger_query (research ledger with sha256-pinned evidence; the replicator may not be the author), teamkit_status.
  • hermes teamkit ui --board dev serves a local dashboard (team overview, SOUL editor, 360° review). hermes teamkit review start|show|apply runs a review cycle where every comment must cite a card, objective numbers flag inconsistencies, and SOUL edits are proposed line by line, never applied automatically.

Skills

Read with skill_view("teamkit:<name>"): card-writing, owner-ops, research-gates. Optional, off by default, adapted from obra/superpowers (MIT): verify-before-done and card-plans — hermes teamkit superpowers on --board dev --yes.

Limits

  • Rules apply only inside processes with teamkit enabled; humans and other profiles are not constrained. doctor lists profiles without it.
  • Commit detection only sees git commit in terminal commands.
  • The strategy checkpoint fingerprints the last lines of a failing command with digits masked. A different command hitting the same wall counts separately, and a different bad idea that fails differently is not caught.
  • A Hermes bug can leave a card stuck in review after rate limiting; status lists such cards, fix with reassign <id> none then reassign <id> <reviewer>.

Development

pip install -e . pytest      # outside the macOS-protected folders above if a gateway must load it
python -m pytest

Benchmark kit and protocol: benchmark/. Release process and trust model: SECURITY.md and README.zh-TW.md.

Metadata

Release files for horo-teamkit 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for horo-teamkit 0.2.1
File Size Uploaded Provenance Actions
horo_teamkit-0.2.1.tar.gz 68.6 kB With provenance Details for horo_teamkit-0.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for horo-teamkit 0.2.1
File Interpreter ABI Platform Actions
horo_teamkit-0.2.1-py3-none-any.whl Python 3 none any Details for horo_teamkit-0.2.1-py3-none-any.whl

Total release size: 138.0 kB

Release files / horo_teamkit-0.2.1.tar.gz

Download URL horo_teamkit-0.2.1.tar.gz
Size 68.6 kB
Tags Source
SHA-256 checksum
How to use checksums
a4ba45dfdc64ea41a95dad1ed91e3d1b2ecd2251ad22f0bfd49c288d9657ad4c
BLAKE2b-256 checksum
How to use checksums
5c1327324391ef9ed3ee2a51815ba228a2db303a674c31a2cefc2c8754de1e7f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

Release files / horo_teamkit-0.2.1-py3-none-any.whl

Download URL horo_teamkit-0.2.1-py3-none-any.whl
Size 69.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0f357599cfdd4e1af3cf7ded402c6cf07959250d4614bc3c545a986f7bee5b28
BLAKE2b-256 checksum
How to use checksums
1bb546ba8666c32538675e0547939a2faf3aa8aad9c658f2deecdf6302797f52
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

Security for horo-teamkit 0.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for horo_teamkit-0.2.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page