tasks(using-yt-tools): close install + hermes-mapping [🟢🟢]

- using-yt-tools-install: ffmpeg 8.1.1 on PATH, venv populated,
  yt-tools 0.1.0 editable, 4 CLIs respond, 67/67 unit tests pass
  on this Windows host.
- using-yt-tools-hermes-mapping: registered as `pending` with
  intended:{mode:auto, category:research}; build-hermes.py emits
  26 skills (1 pending) and SKIPPED.md lists the entry. Promotion
  to `auto` gated on using-yt-tools-test-trigger 🟢.

NB: triggers/url_pattern from the task block's yaml sketch don't
match the mapping schema — they live in SKILL.md description and
Hermes picks them up automatically. Build script only consumes
mode/category/reason/intended/replace-rules.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-20 10:53:19 +03:00
parent f04f51ac05
commit 396ebc1c9c
3 changed files with 22 additions and 28 deletions

View File

@@ -1,5 +1,5 @@
# Task Board # Task Board
_Updated: 2026-05-20 (promoted using-yt-tools v0.1.0 → 4 tasks: install/hermes-mapping/test-trigger ⚪ ready + review 🔵 blocked-by-impl)_ _Updated: 2026-05-20 (using-yt-tools impl: install + hermes-mapping 🟢; test-trigger 🔴 active, CLI e2e in progress)_
<!-- <!--
Canonical layout. One block per task. Per-task deep context lives in Canonical layout. One block per task. Per-task deep context lives in
@@ -14,7 +14,7 @@ _Updated: 2026-05-20 (promoted using-yt-tools v0.1.0 → 4 tasks: install/hermes
🔵 Blocked — waiting on external input 🔵 Blocked — waiting on external input
--> -->
## [using-yt-tools-install] — Install env deps (ffmpeg + python venv + 3 pip libs) for using-yt-tools on agent machine. ## 🟢 [using-yt-tools-install] — Install env deps (ffmpeg + python venv + 3 pip libs) for using-yt-tools on agent machine.
**Этапы:** **Этапы:**
1. **Сейчас** — system-level: `ffmpeg` через OS-пакетник (`winget install Gyan.FFmpeg` / `brew install ffmpeg` / `apt install ffmpeg`); python venv в `~/projects/.common/lib/yt-tools/.venv`; `pip install youtube-transcript-api pyscenedetect yt-dlp`. 1. **Сейчас** — system-level: `ffmpeg` через OS-пакетник (`winget install Gyan.FFmpeg` / `brew install ffmpeg` / `apt install ffmpeg`); python venv в `~/projects/.common/lib/yt-tools/.venv`; `pip install youtube-transcript-api pyscenedetect yt-dlp`.
@@ -24,15 +24,16 @@ Cross-platform: повторить на каждой агент-машине (Wi
**Источник дизайна:** `.workshop/.archive/2026-05-20-yt-tools.md` (разделы «Зависимости» и «Упаковка»). **Источник дизайна:** `.workshop/.archive/2026-05-20-yt-tools.md` (разделы «Зависимости» и «Упаковка»).
**Status:** ready **Status:** done (2026-05-20, vitya@DESKTOP-NSEF0UK / Windows)
**Where I stopped:** (not started) **Where I stopped:** done — both stages green
**Next action:** Этап 1 сейчас (см. выше); Этап 2 после того как `.common/lib/yt-tools/` существует. Проверка: `yt-dlp --version`, `ffmpeg -version`, `python -c "import youtube_transcript_api, scenedetect"`. **Closed by:** ffmpeg 8.1.1 (Gyan.FFmpeg) on user PATH; yt-dlp 2026.3.17; venv at `~/projects/.common/lib/yt-tools/.venv` with youtube-transcript-api 1.2.4, yt-dlp 2026.3.17, scenedetect[opencv] 0.7, opencv-python 4.13.0.92; `pip install -e` of yt-tools (v0.1.0) already in place; all 4 CLI entry-points (`yt-transcript/yt-frames/yt-watch/yt-tools`) print help; 67/67 unit tests pass (`python -m pytest tests/ -q`).
**Branch:** n/a **Branch:** n/a
<!-- created-by: vitya@DESKTOP-NSEF0UK / from: OpeItcLoc03/workshop / 2026-05-20T06:31:09.000Z / via: local-file (gitea-down) --> <!-- created-by: vitya@DESKTOP-NSEF0UK / from: OpeItcLoc03/workshop / 2026-05-20T06:31:09.000Z / via: local-file (gitea-down) -->
<!-- closed-by: vitya@DESKTOP-NSEF0UK / 2026-05-20 / Windows host done; Linux/macOS hosts pending separate sessions -->
--- ---
## [using-yt-tools-hermes-mapping] — Register `using-yt-tools` in `~/projects/claude-skills/hermes/mapping.yaml` (mode: pending). ## 🟢 [using-yt-tools-hermes-mapping] — Register `using-yt-tools` in `~/projects/claude-skills/hermes/mapping.yaml` (mode: pending).
Mode: **`pending`** — скил вызывает внешние CLI (yt-dlp/ffmpeg) и пишет файлы в `./yt-cache/`. Требует ручного аудита перед переходом на `auto`. Mode: **`pending`** — скил вызывает внешние CLI (yt-dlp/ffmpeg) и пишет файлы в `./yt-cache/`. Требует ручного аудита перед переходом на `auto`.
@@ -43,32 +44,16 @@ Mode: **`pending`** — скил вызывает внешние CLI (yt-dlp/ffm
**Источник дизайна:** `.workshop/.archive/2026-05-20-yt-tools.md` (раздел «Triggers для skill»). **Источник дизайна:** `.workshop/.archive/2026-05-20-yt-tools.md` (раздел «Triggers для skill»).
**Status:** ready **Status:** done (2026-05-20)
**Where I stopped:** (not started) **Where I stopped:** done — entry added, build green
**Next action:** В `hermes/mapping.yaml` добавить блок (формат — посмотреть `using-synology-ops` рядом): **Closed by:** `hermes/mapping.yaml` got a new pending entry `using-yt-tools` with `intended: { mode: auto, category: research }` and audit reason. `python scripts/build-hermes.py` outputs 26 skills (14 auto / 2 manual / 9 skip / 1 pending); SKIPPED.md lists the entry under Pending with the intended block. NB: triggers/url_pattern from the task sketch don't fit the mapping schema (build script reads only mode/category/reason/intended/replace-rules); triggers live in SKILL.md frontmatter description and are picked up automatically by Hermes. Promotion to `auto` after `using-yt-tools-test-trigger` 🟢.
```
- skill: using-yt-tools
mode: pending
triggers:
- "транскрипт видео"
- "расшифровка YouTube"
- "что в этом ролике"
- "о чём ролик"
- "покажи кадр на"
- "посмотри момент"
- "что показано в видео на"
- "watch this video"
- "video summary"
- "youtube transcript"
url_pattern: "youtube\\.com|youtu\\.be"
```
Прогнать `python hermes/build-hermes.py`. После аудита поведения (см. `using-yt-tools-test-trigger`) — рассмотреть переход на `mode: auto`.
**Branch:** n/a **Branch:** n/a
<!-- created-by: vitya@DESKTOP-NSEF0UK / from: OpeItcLoc03/workshop / 2026-05-20T06:31:09.000Z / via: local-file (gitea-down) --> <!-- created-by: vitya@DESKTOP-NSEF0UK / from: OpeItcLoc03/workshop / 2026-05-20T06:31:09.000Z / via: local-file (gitea-down) -->
<!-- closed-by: vitya@DESKTOP-NSEF0UK / 2026-05-20 -->
--- ---
## [using-yt-tools-test-trigger] — Behavioral smoke-test using-yt-tools on a clean session + e2e CLI pipeline on a test YouTube URL. ## 🔴 [using-yt-tools-test-trigger] — Behavioral smoke-test using-yt-tools on a clean session + e2e CLI pipeline on a test YouTube URL.
**Что проверяется:** **Что проверяется:**

View File

@@ -17,4 +17,4 @@ Do not edit by hand — edit the mapping and re-run the build.
## Pending (deferred to follow-up tasks) ## Pending (deferred to follow-up tasks)
(none) - **using-yt-tools** — Shells out to yt-dlp + ffmpeg and writes ./yt-cache/ in cwd. Behavioral audit via using-yt-tools-test-trigger required before promotion to auto. → intended: `mode: auto, category: research`

View File

@@ -141,3 +141,12 @@ skills:
update-claude-skills: update-claude-skills:
mode: skip mode: skip
reason: "Claude-Code-only orchestrator — Hermes uses hermes-installer-skill instead." reason: "Claude-Code-only orchestrator — Hermes uses hermes-installer-skill instead."
# ─── pending (1 — behavioral audit required) ─────────────────────────
using-yt-tools:
mode: pending
intended:
mode: auto
category: research
reason: "Shells out to yt-dlp + ffmpeg and writes ./yt-cache/ in cwd. Behavioral audit via using-yt-tools-test-trigger required before promotion to auto."