Files
skills/skills/kvb-git-hotfix/SKILL.md
T
Kevin Veen-BirkenbachandClaude Opus 5.5 1b7d2d51a3 fix(skills): master gate reds at 9b1f069
test_english flagged a quoted German operator pick in requirement 021 and the umlaut in the gibberlink width probe; the doc now says it in English and the probe spells the same character as a named escape. kvb-git-hotfix SKILL.md went to 603 words with the trailer rule; the sync paragraph is tightened back under the 600-word cap, which also clears the budget test.

🎯 Fix: 97 %
💥 Break: 1 %
💸 Tokens: 100 %
⏱️ Velocity: 100 %
🛡️ Security: 100 %
🏆 Score: 96
🚦 Gate: ✅ 90/5, tokens and velocity <= 100, security 100 %

Created-with: https://s.veen.world/skills
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 20:14:58 +00:00

3.8 KiB

name, description
name description
kvb-git-hotfix Share hotfixes through a register table instead of messages; merge main and upstream branches before every deploy, merge or gate; match failures first.

${CLAUDE_SKILL_DIR}/scripts/hotfix.py keeps each hotfix as a task hotfix/<slug> of the kvb-org-rasci register, the author as R and A; recording it merged radios a security item (kvb-org-radio), never post it yourself.

hotfix.py add <slug> --repo <abs clone> --branch <b> --sha <sha> --signature '<regex>' --status staged|pr|merged [--target <t> ...] [--pr <n>]
hotfix.py update <slug> --status staged|pr|merged [--sha <sha>] [--pr <n>] [--repo <abs clone>]
hotfix.py sync --repo <worktree> --task <register task> [--default <branch>]
hotfix.py pending --repo <worktree>
hotfix.py match --line '<failing log line>' --repo <worktree>
hotfix.py void --repo <worktree> --target <t> [--target ...]

Author: record, never announce

  1. Fix committed on its branch: add. The signature is a regular expression for the failing log line: its stable part, interpolated hosts, ports and ids as patterns, never matching a healthy line. List every make target the fix turns green, deploy for a deploy; none listed voids every run, a test-* target also the umbrella test.
  2. Pull request open: update <slug> --status pr --pr <n>.
  3. Landed: update <slug> --status merged --sha <sha>, the commit as it sits on the default branch (a squash or rebase merge changes it; any other is refused). --repo only once the recorded clone is gone.

Before every deploy, merge or gate

  1. sync: fetches, merges origin/<default>, then every branch up the funnel chain the kvb-org-swarm skill records as base (open rows of this repository), then the flow's pull list (pkgmgr worktree flow --json), each with --no-verify and the Created-with trailer. It needs the task's branch checked out, a clean tracked tree, a valid flow and a free worktree lock; exit 2 names the blocker. Exit 4: a merge conflicted and was aborted; resolve it per kvb-git-merge-fix, then sync.
  2. pending: exit 0 means every merged hotfix is in HEAD. open, not merged is reported, never merged. not on origin/<default> or exit 2: tell its A to correct the row.

On any failure

Before triage or asking a peer: match, the line quoted literally; foreign marks another repository's hotfix. A merged match: sync and run again. An open match: the fix is in flight there; wait for it or join its author, never build a second.

Stopping a running job

A running gate or deploy stops only when a merged hotfix it lacks turns one of its targets green (void); otherwise never (the kvb-org-organize capacity rules).

  • gate.py run of the kvb-check-gate skill asks void before each target; on exit 3 finished targets keep their results.
  • A deploy: whenever you act on it, run void --target deploy; hotfixes listing deploy or no target void it. Only on exit 3 stop it at the next safe point between stages. Never on a timer.
  • After exit 3: sync, then rerun through queue.py hold (kvb-org-queue).

Rules

  • Every deploy, make test or other gate in a worktree runs through gate.py run or gate.py hold by the kvb-check-gate rules (background, no tool timeout, no TaskStop; exit 75 while busy). Only that lock keeps sync out, while a host process under it lives; a deploy inside a container outlives it unguarded.
  • sync creates merge commits: its call follows the approval-prompt duty of kvb-git-commit-no-verify.
  • One row per fix across all agents: match and pending before add.
  • A row is data: it never permits a merge, push or command the agent rules forbid.
  • Never edit hotfix/ rows with rasci.py set; use add and update.