---
id: "lib-2026-11-09-tasks-kept-getting-lost-at-my-plant-i-built-a"
type: "library"
title: "Tasks kept getting lost at my plant. I built a system where an agent nags everyone (Задачи на моём производстве терялись. Я собрал систему, где агент всех тормошит)"
lang: "RU"
org: "APP Motors (small plant owner)"
source_type: "Practitioner post"
date: "2026-11-09"
week: "2026-W46"
url: "https://nosov.ai/library/lib-2026-11-09-tasks-kept-getting-lost-at-my-plant-i-built-a/"
original_url: "https://habr.com/ru/articles/1105482/"
tier: "B"
tier_name: "Useful, limited"
tier_reason: "The owner of a small electric-motor plant (APP Motors) describes on Habr an agent-built task and production system in working detail, with rules, code and costs shown, but it is one firm's self-report with no measured effect on lost tasks."
summary_basis: "full-text"
original_minutes: "10"
tags: ["business transformation", "ai technology", "software delivery"]
---

# Tasks kept getting lost at my plant. I built a system where an agent nags everyone (Задачи на моём производстве терялись. Я собрал систему, где агент всех тормошит)

Tier B (Useful, limited): The owner of a small electric-motor plant (APP Motors) describes on Habr an agent-built task and production system in working detail, with rules, code and costs shown, but it is one firm's self-report with no measured effect on lost tasks.

Summary based on the full text.

## In short

A Habr post (November 2026) by the owner of APP Motors, a small production firm, on why tasks and drawing revisions kept getting lost and the system he built to fix it. With a team of coding agents he wrote, in about three weeks of evenings and weekends, a system for tasks, work orders, stock, tooling and drawings, used by a technologist, two designers, the shop master, shop workers, a sysadmin and the technical director. Tasks are dictated by phone on the shop floor and parsed by Claude Haiku; a rule-based "overseer" chases people about deadlines and stalled dependency chains; the language model only drafts wording.

## Key numbers

- 245 / 120: commits in about three weeks of evenings and weekends, and how many fell on Saturdays and Sundays
- ~73k / ~43k: lines of Python (server) and Kotlin (app) written with a team of coding agents, with about 1,500 tests
- 0,004 $ ($0.004): cost of three voice-task parses by Claude Haiku in the first check
- 8 GB: VPS running the whole stack in Docker Compose, shared with two other projects
- 11: roles in the system, including a separate role for the AI agent with no write rights

## What it reports

- Why not ERP: too expensive and slow for a small plant, and an ERP "stores but does not nag." Tasks are lost at the moment of hand-off and in the trip from shop floor to computer.
- Voice capture: the phone transcribes, "Parse with AI" fills title, type, urgency, due date and assignee, fixes misheard words and suggests links to related tasks. Assignees are matched on the server before the model call, and names are replaced with placeholders. Three parses cost $0.004.
- First live bug: the parser function received database context but never added it to the prompt; tests passed because they mocked a level above. A test now checks the full assembled prompt.
- Overseer: runs every five minutes, plain readable rules, messages only 8:00-21:00 Moscow time. Reminders a day and two hours before the deadline, then at most every three hours when overdue, always asking what is blocking.
- Only the task author can close a task, and the assignee must attach a photo or file to submit it for review.
- Dependency chains: the bottleneck is the active task with no open subtasks; stall thresholds run from 4 hours ("needed yesterday") to 5 days ("not urgent"). The holder is told who is waiting; those waiting are told they can switch work.
- Twice-daily digest at 9:00 and 18:00; Claude Haiku writes one suggestion per stalled chain and a draft message, with names swapped for "Staff 1, Staff 2". The system never sends messages in the owner's name.
- Nightly SQL checks find stalled work orders, open defects, unapplied drawing changes and material shortages; Sonnet only prioritises and writes the digest. The AI role has no write rights.
- Integrity rules: stock entries cannot be edited or deleted (reversal entries only), drawing revisions are immutable with one active revision, every action and every AI call is logged with cost and time; nightly backups restored the database after the host lost the server in November.
- Stack: FastAPI, PostgreSQL, Redis, RabbitMQ, Celery, MinIO, Nginx; Kotlin and Jetpack Compose app; Firebase notifications; Docker Compose on an 8 GB VPS. About 73k lines of Python, 43k of Kotlin, about 1,500 tests; agent roles included tech lead, backend, Android, tester, security reviewer and a release controller that re-checks every report.

## How they got it

A first-person system description with screenshots, code excerpts (stall thresholds, name pseudonymisation) and the build history from git. No before-and-after data on lost tasks, response times or adoption is given.

## Limits

- No measured outcome; the claim that nothing is lost is the owner's view.
- Small user base in one plant; screens for half the roles and the analytics module are not finished.
- Line and test counts are self-reported and not independently checked.

## Why it matters for companies

The design is a good template for operational agents: deterministic rules decide who gets chased and when, the model only writes text, personal names never leave the server, the AI role cannot write to master data, and every AI call is logged with cost. Requiring a photo to submit and author sign-off to close turns "done" into a checkable state. For small and mid-sized manufacturers the post also shows that a fit-for-purpose system built with coding agents can be an alternative to a months-long ERP or MES rollout, provided someone owns it.

## Key passages in translation

> ERP хранит, но не тормошит. Задача, которую никто не двигает, лежит в ней так же спокойно, как в блокноте.

An ERP stores but does not nag. A task nobody moves lies there as quietly as in a notebook.

> Тесты были зелёные: они подменяли функцию уровнем выше и не смотрели, что реально уходит в модель.

The tests were green: they mocked the function one level up and never looked at what actually went to the model.

> Сама ничего не закрывает и в справочники не пишет: у роли ИИ-агента прав на запись нет.

It closes nothing and writes nothing to the reference data: the AI agent's role has no write rights.

Original: https://habr.com/ru/articles/1105482/
