mode: auto Is a Claim About Reality, Not an Intention
Описание и применение
Автоматизированные процессы, объявленные как «auto», могут не соответствовать реальности, что приводит к скрытым сбоям. Добавление проверки фактической публикации и устранение дублирования источников правды выявило два скрытых дефекта: канал, объявленный автоматическим, не публиковал контент, и устаревший список платформ продолжал генерировать черновики.
Задача
Scheduled automations declared as "auto" can diverge from reality, leading to silent failures in content distribution.
Результат
Adding runtime verification of automation claims and eliminating duplicate source‑of‑truth references uncovered two silent failures: an automated channel that never published and a hard‑coded platform list that caused drafts for a retired platform to be written.
Рабочий процесс
- 1. Run scheduled automation against declared config.
- 2. Write drafts for each platform per config.
- 3. Publish drafts via adapters.
- 4. Record published items in a ledger.
- 5. Verify automation claim by comparing drafts written vs. items published per channel over a trailing window.
- 6. Ensure instructions reference a single source of truth and do not restate values.
Доказательства
The check this needed: don’t trust mode: auto as a fact. Compute it — drafts written vs. items actually published, per channel, over a trailing window.
The instruction said "read the target list from config," and then — a few lines later — named a fixed list of platforms as if for clarity. The fixed list won.
We eventually pulled this whole pattern — the config contract, the adapters, the daily plays that write drafts, and the verifier that checks claims against the publish ledger instead of trusting the config — into a standalone kit (Distribution Autopilot).
- Дата записи: 2026-10-15T10:41:21.045Z