task · diff

v1.0.0 to git:20261003.a2d662f

51 added, 38 removed. Audit A to A.

---
name: task
- description: "Лента делегирования «04 TASKS» — Антон делегирует задачу [коллега]/[коллега]/себе, а её Клод разворачивает короткую КОДОВУЮ ФРАЗУ («задача НАТ-1») в полный сид… Trigger on “/task“, “задача НАТ-<n>“, “задача РУСЛ-<n>“, “задача ANT-<n>“, “мои задачи“, “задачи для меня“, “что мне делегировано“, “делегируй [коллега]/[коллега] <задачу>“, “это задача для [коллега]“, “передай [коллега] задачу“, “my delegated tasks“"
- version: 1.0.0
+ description: >-
+ Delegate work over a shared task chat: a task is assigned by a short code phrase, and the
+ assignee's agent expands it into a full seed and starts immediately, with state tracking so no
+ delegated task dies silently. Triggers: "/task", "task <ID>", "my delegated tasks", "delegate
+ <task> to <person>".
+ license: MIT
---
- # /task — делегирование задач людям с сидом для их Клода
+ # /task — delegating tasks to people, with a seed for THEIR Claude
- > Антон: «эту задачу лучше разбирается [коллега]» → задача уезжает ей: сообщение в 04 TASKS
- > (короткое, человеческое) + сид-файл в волте (полный, для её Клода). Она говорит своему
- > Клоду кодовую фразу — тот разворачивает сид и сразу начинает.
+ > The operator says "N understands this one better" → the task goes to them: a message in the
+ > delegation chat (short, human) + a seed file in the vault (full, for their Claude). They say a
+ > code phrase to their Claude, which unpacks the seed and starts immediately.
- ## Константы
- - Движок: `python ~/.claude/scripts/_shared/delegate.py` (env `DELEGATE_VAULT` для тестов)
- - Сиды: `$OBSIDIAN_VAULT/10-Tasks\_seeds\<ID>.md` (Syncthing довозит на все машины; Mac путь свой)
- - TG-чат «04 TASKS»: id смотри в памяти [[delegation-chat-04-tasks]]; постим со СВОЕГО аккаунта машины
- - Люди: `nat`=[коллега] · `rusl`=[коллега] · `ant`=Антон. ID = НАТ-1/RUSL-2/ANT-3, регистр не важен
+ ## Constants
+ - Engine: `python ~/.claude/scripts/_shared/delegate.py` (env `DELEGATE_VAULT` for tests)
+ - Seeds: `$OBSIDIAN_VAULT/10-Tasks\_seeds\<ID>.md` (Syncthing carries them to every machine; the Mac path differs)
+ - The delegation TG chat: id in memory [[delegation-chat-04-tasks]]; post from THIS machine's own account
+ - People: `nat` · `rusl` · `ant`. IDs = NAT-1 / RUSL-2 / ANT-3, case-insensitive
- ## A. ДЕЛЕГИРОВАТЬ (обычно хаб, по слову Антона)
- 1. Напиши СИД (самодостаточный, по канону decompose: Outcome · Контекст+пути · Scope ·
- Deliverable · DoD · не-цели · как отчитаться). Голос обычный, без секретов ([[credential-store]]).
- 📛 **И блок STOP-DUP в КАЖДЫЙ сид** (сводный вердикт 07.08, «+» Антона 14.08): `cat $OBSIDIAN_VAULT/08-Templates/seed-stop-dup-block.md` → вставь блок ЦЕЛИКОМ и ДОСЛОВНО (на 30.08 там 6 строк: 📛 ON AIR · 👤 консолидатор · 🔁 RECALL ЛЕТЯЩЕЙ · 🪫 бак · 🔍 улика · ⏳ премисса с ранним выходом; число строк смотри В ФАЙЛЕ, не здесь — счётчик в пяти местах расходится). Один источник — правится только тот файл, копий здесь нет.
- 2. `delegate.py new --to nat --title "<коротко>" --seed-file <f>` → печатает ID + готовый TG-текст.
- 3. Отправь TG-текст в чат 04 TASKS (Telegram MCP). ⚠️ Fallback (замер 17.08: MCP отвечал -32602
- на всё при живой Telethon-сессии): бот-рельса `tg_bot_send.py --to <04>` в 04 не участник, и
- inline-send из shell режет public_tg_shell_gate → шли строку через `bus_send.py ALL` в 03 с
- пометкой «дубль из 04, MCP клинит» + заведи задачу «продублировать в 04 после починки MCP».
- Кодовая фраза в 03 работает: сид уже в волте, их Клоды видят 03. Формат уже в выводе движка:
- «📌 [коллега] [аккаунт] · <титул> · от Антона / Кодовая фраза: «задача НАТ-1»».
- ⭐ @упоминание ОБЯЗАТЕЛЬНО (anton 14.07): без @username у человека нет уведомления, сообщение
- тонет. [коллега]=[аккаунт] · [коллега]=[аккаунт] · Антон=@[рабочий аккаунт]. То же в перепингах.
- 4. Connect: ты передал = ты владеешь до результата. Нет ACK ~сутки → перепинг в 04; молчание
- дальше → доска висячих + Антону.
+ ## A. DELEGATE (usually on the hub, on the operator's word)
+ 1. Write the SEED (self-contained, per the decompose canon: Outcome · Context + paths · Scope ·
+ Deliverable · DoD · non-goals · how to report back). Normal voice, no secrets ([[credential-store]]).
+ 2. `delegate.py new --to nat --title "<short>" --seed-file <f>` → prints the ID + a ready TG text.
+ 3. Send that TG text to the delegation chat (Telegram MCP). The format is already in the engine output:
+ "📌 <name> @teammate_n · <title> · from the operator / Code phrase: 'task NAT-1'".
+ ⭐ The @mention is MANDATORY (2026-07-14): without a @username the person gets no notification and
+ the message drowns. The same applies to every re-ping.
+ 4. Connect: you handed it over, so you own it until the result. No ACK within ~a day → re-ping in the
+ delegation chat; continued silence → the hanging-tasks board + escalate to the operator.
- ## B. РАЗВЕРНУТЬ (машина исполнителя, по кодовой фразе)
- 1. Услышал «задача НАТ-1» / «мои задачи»: `delegate.py list --for nat` / `delegate.py get НАТ-1`.
- 2. Сида нет на диске (Syncthing lag) → скажи честно «файл ещё едет», не выдумывай задачу.
- 3. `delegate.py ack НАТ-1 --by "<машина>-<человек>"` + ACK в 04: «✅ приняла НАТ-1, начинаю».
- 4. Работай по сиду как по обычному заданию (Tier-2 и Библия в силе).
- 5. Готово: `delegate.py done НАТ-1 --note "<итог>"` + отчёт в 04 одной строкой + артефакты по DoD.
+ ## B. UNPACK (the assignee's machine, on the code phrase)
+ 1. You hear "task NAT-1" / "my tasks": `delegate.py list --for nat` / `delegate.py get NAT-1`.
+ 2. The seed is not on disk yet (Syncthing lag) → say honestly "the file is still in transit", do not invent the task.
+ 3. `delegate.py ack NAT-1 --by "<machine>-<person>"` + an ACK in the chat: "✅ took NAT-1, starting".
+ 4. Work from the seed like any other assignment (Tier-2 and the Bible still apply).
+ 5. Done: `delegate.py done NAT-1 --note "<outcome>"` + a one-line report in the chat + the artifacts per the DoD.
- ## Границы
- - 04 TASKS = только делегирование и ACK/итоги. Вопросы Антону → 02 POLICE ([[remote-approval-qqq]]);
- живая координация акторов → 03. Не превращать 04 в чат общения.
- - Сид в чат НЕ вставлять (длина/теряется) — только кодовая фраза; сид живёт файлом.
- - Владелец задачи — человек ([[task-assignment-by-machine]]); его Клод — руки.
- - Регистр ID любой ([[commands-case-insensitive]]).
+ ## Boundaries
+ - The delegation chat is for delegation and ACKs/outcomes only. Questions to the owner → the approval
+ channel ([[remote-approval-qqq]]); live coordination between actors → the fleet log chat. Do not turn
+ the delegation chat into a conversation.
+ - Do NOT paste the seed into the chat (too long, it gets lost) — only the code phrase; the seed lives as a file.
+ - The task owner is a person ([[task-assignment-by-machine]]); their Claude is the hands.
+ - ID case does not matter ([[commands-case-insensitive]]).
+
+
+ <!--kit-footer-->
+
+ ---
+
+ **Like this skill?** It is one of 100 in [second-brain-starter-kit](https://github.com/tonydzi/second-brain-starter-kit): the second brain we built for ourselves and run every day at Palo Alto AI Research Lab. Install the whole set with `npx skills add tonydzi/second-brain-starter-kit`. Everything is open source and free, so take what you need.
+
+ Flagships worth a look on their own: [secondop-panel](https://github.com/tonydzi/secondop-panel) (a second opinion from a panel of external models), [claude-memory-tidy](https://github.com/tonydzi/claude-memory-tidy) (stop your agent's memory from rotting), [telegram-mcp-kit](https://github.com/tonydzi/telegram-mcp-kit) (your own Telegram over MCP in about 15 minutes).
+
+ Author: **Anton Dziatkovskii**, Palo Alto AI Research Lab. Telegram [@tonydzi](https://t.me/tonydzi) - WhatsApp [+1 341 222 9178](https://wa.me/13412229178) - X [@Tony_Stef_](https://x.com/Tony_Stef_)
+
+ **Engineers: want to test-drive this setup?** Message me. I hand out free starter seeds to engineers who test and report back, and custom skill requests are welcome.