Coding policy for Viktor Gamov's AI agents: language-agnostic quality rules, autonomous shipping discipline, and stack defaults for JVM, Swift, TypeScript, and Python
93%
Does it follow best practices?
Impact
99%
1.47xAverage score across 10 eval scenarios
Low
Low-risk findings worth noting
Process steps in order. Do not skip ahead.
Before any finish with enrolled work, reconcile the whole fleet under
skills/herdr-teamlead/references/supervision.md. Continue observation or persist an authorized pause
or handoff covering every active assignment. Keep user attention visible under
skills/herdr-teamlead/references/attention.md.
Every step runs under the whole team contract. Read its core, every section above Team Composition, before Step 1:
skills/herdr-teamlead/references/team-operation.md Reading This ContractEach step lists its step reference and contract sections to read before acting on it.
Each command resolves CP to the local or home plugin. Repeat its resolver in
every call. Prose skills/... paths are relative to that root.
For catch-up or saved attention, follow the attention reference. For lesson curation, saved lead context, or a lead handoff, follow the working-memory reference and the contract's Working Memory:
skills/herdr-teamlead/references/attention.md
skills/herdr-teamlead/references/working-memory.md
skills/herdr-teamlead/references/team-operation.md Working MemoryUse the recorded state override or default; these commands need no live Herdr. Finish here after the requested operation. They grant no new task authority.
CP=.tessl/plugins/gamussa/coding-policy; [ -d "$CP" ] || CP="$HOME/$CP"
bash "$CP/skills/herdr-teamlead/teamlead.sh" catch-up [--state <state-file>]CP=.tessl/plugins/gamussa/coding-policy; [ -d "$CP" ] || CP="$HOME/$CP"
bash "$CP/skills/herdr-teamlead/teamlead.sh" memory-show [--state <state-file>] [--id <stow-id>]Read all attention pages before claiming completeness. Use the referenced owner commands for recording, resolution, lessons, and a new stow. Non-zero requires reporting its diagnostic; never fabricate missing history.
For saved retrospective requests, use the recorded state override or default. Read saved notes; report their date, coverage, conclusions, and path. Finish here.
CP=.tessl/plugins/gamussa/coding-policy; [ -d "$CP" ] || CP="$HOME/$CP"
bash "$CP/skills/herdr-teamlead/teamlead.sh" retro-list [--state <state-file>] [--task <task-id>] [--since <ISO-time>]CP=.tessl/plugins/gamussa/coding-policy; [ -d "$CP" ] || CP="$HOME/$CP"
bash "$CP/skills/herdr-teamlead/teamlead.sh" retro-show [--state <state-file>] [--id <retro-id>] [--task <task-id>]Both emit JSON; non-zero requires reporting the diagnostic. retro-show defaults
to latest. For other requests, read HERDR_ENV before running scripts.
For an explicit retrospective request, complete a new retrospective and finish here:
skills/herdr-teamlead/references/retrospectives.md
skills/herdr-teamlead/references/team-operation.md RetrospectivesOtherwise run the preflight on every round start, resume, and return from a
later step, route its verdict, and record authority, ledger and staffing. Read
first:
skills/herdr-teamlead/references/round-setup.md Step 2
skills/herdr-teamlead/references/team-operation.md Task Ledger
skills/herdr-teamlead/references/team-operation.md RetrospectivesStaff the fired triggers, validate any review partition, and plan the roles. Read first:
skills/herdr-teamlead/references/round-setup.md Step 3
skills/herdr-teamlead/references/team-operation.md Team Composition
skills/herdr-teamlead/references/team-operation.md Round Tiers
skills/herdr-teamlead/references/team-operation.md Review Before PRA planned consultation also reads Specialist Consultations; a fix round also reads Fix Loops:
skills/herdr-teamlead/references/team-operation.md Specialist Consultations
skills/herdr-teamlead/references/team-operation.md Fix LoopsReviewer and tester briefs need a review package bound to the recorded base and pushed head. Read first:
skills/herdr-teamlead/references/round-setup.md Step 4Resolve policy paths, write the values file, and compose. Read first:
skills/herdr-teamlead/references/round-setup.md Step 5
skills/herdr-teamlead/references/team-operation.md Assignment Reasoning
skills/herdr-teamlead/references/team-operation.md Working MemoryPrune every round, then provision every worktree a brief names. Read first:
skills/herdr-teamlead/references/round-setup.md Step 6
skills/herdr-teamlead/references/team-operation.md Writers and CheckoutsOptional, once per team; skip an already named sidebar. Read first:
skills/herdr-teamlead/references/round-setup.md Step 7Send the planned briefs through apply. Read first:
skills/herdr-teamlead/references/round-dispatch.md Step 8
skills/herdr-teamlead/references/team-operation.md Dispatch Safety
skills/herdr-teamlead/references/team-operation.md Worker Launch ModeCP=.tessl/plugins/gamussa/coding-policy; [ -d "$CP" ] || CP="$HOME/$CP"
bash "$CP/skills/herdr-teamlead/teamlead.sh" apply [--config <config-file>] \
--assignments <plan-file> \
--brief <role>=<path> [--brief <role>=<path>]... \
--report <role>=<report> [--report <role>=<report>]... \
--common <path-to-COMMON.md> --task <task-id> \
[--fix-round <N>] [--retain-context | --retain-specialist | --no-clear] \
[--correction-plan <id> --work <work.json>] [--dispatch-id <stable-id>]Watch every enrolled assignment, then confirm each report's delivery. Read first:
skills/herdr-teamlead/references/round-dispatch.md Step 9A wait that ends in a stall also reads Stalled Workers:
skills/herdr-teamlead/references/team-operation.md Stalled WorkersCP=.tessl/plugins/gamussa/coding-policy; [ -d "$CP" ] || CP="$HOME/$CP"
bash "$CP/skills/herdr-teamlead/teamlead.sh" supervision-watch [--state <state-file>]CP=.tessl/plugins/gamussa/coding-policy; [ -d "$CP" ] || CP="$HOME/$CP"
bash "$CP/skills/herdr-teamlead/wait-report.sh" --once \
[--worktree <worker-checkout>] [--base <dispatch-base>] \
[--since <dispatch-sent-at>] <agent-name> <report-path>Read every report in full, classify findings, and route the task to Step 2, Step 11, Step 19 or Step 20. Read first:
skills/herdr-teamlead/references/round-dispatch.md Step 10Any blocking finding also reads Fix Loops:
skills/herdr-teamlead/references/team-operation.md Fix LoopsOptional. No judge trigger — proceed to Step 18. A dispute or an exhausted allowance needs a judge; read these before Steps 11–15 and 17:
skills/herdr-teamlead/references/judge-round.md
skills/herdr-teamlead/references/team-operation.md Judge SeatRun measure alone, not the preflight; the step reference routes the result:
skills/herdr-teamlead/references/judge-round.md Step 12CP=.tessl/plugins/gamussa/coding-policy; [ -d "$CP" ] || CP="$HOME/$CP"
bash "$CP/skills/herdr-teamlead/teamlead.sh" measurePlan the pinned judge against Step 12's snapshot under:
skills/herdr-teamlead/references/judge-round.md Step 13An existing judge worker goes to Step 15. An empty shell pane starts under:
skills/herdr-teamlead/references/judge-round.md Step 14CP=.tessl/plugins/gamussa/coding-policy; [ -d "$CP" ] || CP="$HOME/$CP"
bash "$CP/skills/herdr-teamlead/start-judge-worker.sh" \
<step-13-plan-file> <pane> [claude|codex|grok] --task <task-id> \
[--config <config-file>] [--state <state-file>]Dispatch the judge with Step 8's apply under:
skills/herdr-teamlead/references/judge-round.md Step 15Run Step 9's fleet observation loop, including the judge named by Step 13. Proceed immediately to Step 17 once its report lands; keep other enrollments under observation.
Route the ruling or remedy under:
skills/herdr-teamlead/references/judge-round.md Step 17Dispatch the release as a fresh release assignment and verify it. Read first:
skills/herdr-teamlead/references/round-completion.md Step 18Fast-forward the shared checkout, remove the worktree, and delete the branch
per rules/agent-worktree-isolation.md, then run Step 6's prune script again
for the round's other worktrees. Proceed immediately to Step 20.
Finalize the ledger, save progress and the lead's handoff, reconcile supervision, and report. Read first, then finish here:
skills/herdr-teamlead/references/round-completion.md Step 20For the daily standup, use
Skill(skill: "herdr-standup").
.tessl-plugin
hooks
rules
skills
herdr-standup
herdr-teamlead
references
teamlead
templates
tests
onboard-repo
release
tests