refactor(skills)!: rename every skill to kvb-<category>-<name>
All 38 first-party skills move to kvb-<category>-<name> with the categories think, create, code, ci, git, check, org and skills; kvb-cleanup and kvb-help are the only uncategorized names. tests/test_naming.py pins the schema, the Agent Skills name rules and the README organigram. enable-plugins.js repoints hook commands of renamed skills in settings.local.json so a stale script path cannot block tools. BREAKING CHANGE: the old skill names and slash commands (/commit-next, /dream, /autotune, ...) are gone; use their kvb- successors listed in the README organigram. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
64403cefca
commit
624baccfc4
59 files changed
+504
-312
No files matched your search
@@ -0,0 +1,60 @@
|
||||
---
|
||||
name: kvb-ci-observe
|
||||
description: >
|
||||
Watch a named target (CI run, pipeline, build, log) on a cadence and triage
|
||||
new failures as they appear. Trigger on /kvb-ci-observe <target> or when the
|
||||
operator asks to keep monitoring and fix regressions.
|
||||
---
|
||||
|
||||
Keep a target under continuous watch and act only when it degrades. The loop is
|
||||
the watcher; triage is the response. Do not re-investigate failures already
|
||||
resolved this session, and do not idle-poll work the harness will notify you
|
||||
about.
|
||||
|
||||
## Before you start: fix the target
|
||||
|
||||
The operator names one concrete target: a CI run id or url, a pipeline, a
|
||||
branch's checks, a build, or a log file. Restate it in one line and record the
|
||||
current failure set as the baseline (the failures already known or already
|
||||
fixed this session). Everything the watch reports is diffed against that
|
||||
baseline, so a stale baseline re-triages solved failures.
|
||||
|
||||
## The loop
|
||||
|
||||
Drive this with `/loop` in dynamic mode (no fixed interval unless the operator
|
||||
gave one): after each observation, schedule the next wake-up yourself and pass
|
||||
the same `/kvb-ci-observe` prompt back so the next firing repeats the watch.
|
||||
|
||||
1. **Poll the target.** Pull its current state (job list, check conclusions, the
|
||||
log's tail); for a GitHub Actions run, the kvb-ci-artifacts skill's
|
||||
`ci_failures.py <run>`. Enumerate the failures exactly as the `kvb-ci-triage` skill's step 1
|
||||
does: failure, cancelled, timed-out; a downstream aggregate that fails only
|
||||
because an upstream did is not its own failure.
|
||||
2. **Diff against the baseline.** A failure is *new* only if it is not in the
|
||||
baseline and was not already triaged this session. If nothing is new, log one
|
||||
short line ("still green" / "N known failures, no change") and reschedule.
|
||||
3. **Triage each new failure.** Invoke the `kvb-ci-triage` skill on the new set only —
|
||||
which applies `kvb-think-dialectic` per failing job to a ~99% root cause and a real
|
||||
fix. Never mask (no retry-until-pass, no disabled check, no soft-skip). Fold
|
||||
each newly fixed failure into the baseline so it is not re-triaged.
|
||||
4. **Reschedule.** Pick the next delay from what you are waiting on: an active
|
||||
run that changes every few minutes gets a check matched to its cadence; a
|
||||
quiet or long-running target gets a long fallback (1200s+). Keep watching
|
||||
until the target reaches a terminal state (run completed, pipeline finished)
|
||||
AND every failure it produced has a verified fix, then stop the loop.
|
||||
|
||||
## Rules
|
||||
|
||||
- The loop is a fallback timer, not a busy-wait: if the harness will notify you
|
||||
when tracked work finishes (a background task, a spawned agent), wait for that
|
||||
notification instead of polling for it; reserve the timed wake-up for external
|
||||
state the harness cannot see (a remote CI run, a deploy queue).
|
||||
- Executed evidence beats reasoning: read the actual failing log line and the
|
||||
artifact, not the job title — kvb-ci-triage and kvb-think-dialectic carry this through.
|
||||
- One baseline, updated in place: dedup every observation against all failures
|
||||
seen so far, or a flaky-then-fixed failure reappears every cycle and the watch
|
||||
never converges.
|
||||
- Report only on change: a new failure and its triage verdict, or a terminal
|
||||
"target is green, watch closed". Silence between changes is correct.
|
||||
- Never invent results for a run still in progress; report what the poll
|
||||
actually returned.
|
||||
Reference in new issue
Block a user