Skip to the content.

Hercules — Roadmap Backlog

Это рабочий backlog по ROADMAP-EN.md / ROADMAP-RU.md. Каждой initiative соответствует отдельный task_NNN.md в tasks/.

Использование: выбираем следующую pending задачу, переводим в in_progress, декомпозируем в sub-tasks, выполняем, переводим в done. См. раздел Workflow.

Содержание

Initiative — номер инициативы в ROADMAP-EN.md / ROADMAP-RU.md. — означает, что задача — деталь реализации существующей инициативы (sub-task), без собственного номера в roadmap.


Phase 1 — Single autonomous unit (now → Q3 2026)

# Initiative Task Slug Status
1 1 Базовый цикл агента core-agent-loop done
2 2 Жизненный цикл навыков skill-lifecycle done
3 3 Гибридное хранилище hybrid-storage done
4 4 Мульти-провайдер LLM multi-provider-llm done
5 5 Интерфейсы interfaces done
6 6 Тесты и бенчмарки tests-and-benchmarks done
7 — Типизированные контракты агента typed-contracts done
8 — Ограниченный цикл исполнения bounded-execution done
9 — Граница инструментов и policy engine tool-boundary-policy done
10 — Гейты подтверждения approval-gates done
11 — Слоистая память layered-memory done
12 — Бюджеты и guardrails budget-guardrails done
13 — Фундамент OpenTelemetry opentelemetry done
14 — Аудит и приватность audit-privacy done
15 — Секреты и конфигурация secrets-config done
16 — Оценка навыков (eval harness) eval-harness done
17 — Безопасное самоулучшение safe-self-improvement done
18 — Устойчивый жизненный цикл задач durable-task-lifecycle done

Phase 2 — Composable skills and tool use (Q4 2026)

# Initiative Task Slug Status
19 7 Формат пакета навыка skill-package-format done
20 — Манифест навыка и совместимость skill-manifest done
21 8 Маркетплейс навыков skill-marketplace done
22 9 Семантическая маршрутизация semantic-routing done
23 — Детерминированный fallback маршрутизатора deterministic-router done
24 10 Реестр инструментов tool-registry done
25 — MCP-адаптер mcp-adapter done
26 — Least-privilege grants least-privilege-grants done
27 — Сборка и сжатие контекста context-assembly done
28 — Кэширование caching done
29 — Score качества навыка skill-quality-score done
30 11 Шаблоны агентов agent-templates done
31 — Симуляция шаблонов template-simulation done

Phase 3 — Inter-agent protocol (Q1 2027)

# Initiative Task Slug Status
32 12 Манифест агента agent-manifest done
33 — A2A Agent Card совместимость a2a-agent-card done
34 13 Capability registry capability-registry done
35 14 Формат inter-agent сообщений delegation-envelope done
36 — Протокол жизненного цикла задач task-lifecycle-protocol done
37 15 Опции транспорта transports done
38 16 Механизмы discovery discovery done
39 — Идентичность и делегация identity-delegation done
40 — Trust и admission policy trust-admission done
41 — Inter-agent audit trail inter-agent-audit done
42 — Контрактные и chaos тесты protocol-tests done

Phase 4 — Mesh orchestration (Q2 2027)

# Initiative Task Slug Status
43 17 Mesh router mesh-router done
44 17 Сложность и стоимость complexity-router done
45 18 Fan-out / fan-in fan-out-in done
46 22 Verification pipeline verification-pipeline done
47 19 Retry, timeout, circuit breaker retry-timeout-breaker done
48 23 Границы делегации delegation-boundaries done
49 24 Human-in-the-loop эскалация human-escalation done
50 20 Distributed reflection distributed-reflection done
51 21 Shared memory sync shared-memory-sync done
52 31 Mesh evaluation suite mesh-eval-suite done
65 25 Mesh observability mesh-observability done
66 26 Абстракция mesh-бэкендов mesh-backends-abstraction done
67 27 Redis/Valkey coordination backend redis-coordination-backend done
68 28 NATS / JetStream transport option nats-jetstream-transport done
69 29 PostgreSQL shared state backend postgres-shared-state done
70 30 Backend-профили и деградация backend-profiles-degradation done

Phase 5 — Performance and high availability hardening (Q4 2027)

# Initiative Task Slug Status
71 45 SQLite thread-safety and sync-over-async removal sqlite-thread-safety done (deferrals to task_073/075/077 tracked in the file)
72 45 QuotaService cleanup fix and distributed quotas quota-cleanup-fix done
73 45 Outbox synced-state and bounded-queue prune fix outbox-synced-fix done
74 45 NATS JetStream ack/fail implementation nats-jetstream-ack done (live-NATS integration test skipped by design)
75 46 DI lifetime fixes: captive dependency and AgentCore singleton di-lifetime-fixes done
76 46 ResilientLLMClient per-call provider/model resilient-llm-per-call-provider done
77 46 Sync-over-async sweep: ToolPolicyEngine, SloService, Redis/Postgres timers, RolloutController sync-over-async-sweep done
78 46 IHttpClientFactory adoption and standard resilience handlers httpclient-factory-adoption done
79 46 Real health checks infrastructure health-checks-infrastructure done
80 46 Graceful shutdown and drain graceful-shutdown-drain done
81 46 Kestrel tuning, framework rate limiter, compression, output cache kestrel-rate-limiter-compression done
82 46 RouterHealthTracker, Redis CAS, Postgres reconnect, BuildServiceProvider router-redis-postgres-di-fixes done
83 47 CacheService stampede, eviction, and sliding expiration cache-stampede-eviction done (multi-node IDistributedCache layer deferred)
84 47 ProposalStore caching, async I/O, and hot-path allocations proposal-store-hotpath-alloc done
85 47 OpenTelemetry polish: console gating, process instrumentation, histogram buckets, async logging otel-logging-polish done (Console.WriteLine→ILogger deferred to a follow-up)
86 47 Backpressure, bounded channels, and DLQ/requeue fixes backpressure-bounded-channels-dlq done
87 47 Misc hardening: DelegationBoundary TTL, ResilientTransport trim, CORS, backup passphrase, SLO real metrics misc-hardening done (four follow-ups tracked in the file)

Phase 6 — IoT/edge fleet and mesh operations (Q3 2027)

# Initiative Task Slug Status
53 32 Mesh dashboard mesh-dashboard done
54 33 Централизованные логи и трейсы centralized-observability done
55 40 Security operations security-ops done
56 35 Rate limits и квоты rate-limits-quotas done
57 36 Управление жизненным циклом lifecycle-management done
58 41 Configuration и policy rollout config-policy-rollout done
59 37 Edge provisioning edge-provisioning done
60 38 Offline resilience offline-resilience done
61 42 Local-first degradation local-degradation done
62 39 Fleet templates fleet-templates done
63 43 Backup и recovery backup-recovery done
64 44 Операционные SLO operational-slos done

Phase 7 — Web UI follow-ups (cross-cutting)

Инициатива 48 — доведение src/hercules-web (Astro 6.4) до полного покрытия уже готового backend API. Все backend-задачи, к которым эти web-задачи привязаны, должны быть в done до старта соответствующего web-таска.

# Initiative Task Slug Status
88 48 A2A Agent Card panel web-a2a-card-panel done
89 48 Capability registry panel web-capability-registry-panel done
90 48 Discovery panel web-discovery-panel done
91 48 Trust admission policy panel web-trust-admission-panel done
92 48 Mesh profiles & backend health web-mesh-profiles-health partial — config + backend health exist, the profile UI does not; the task file still has 9 unticked boxes
93 48 Mesh observability & centralized logs web-mesh-observability done
94 48 Backup & SLO panel web-backup-slo-panel done
95 48 Security, quotas & rollout panel web-security-quotas-rollout done

Phase 8 — Hercules Studio backend prerequisites

Доработки Hercules.WebApi и новых сервисов, необходимые для Hercules Studio Epic. Каждая задача должна быть в done до старта соответствующего Studio stage.

# Studio Stage Task Slug Status
96 1 (pre-PR) Port migration 5000 → 8421 port-migration-8421 done
97 1 Dual API keys (contribute + system) dual-api-keys done
98 1 CheckIn/CheckOut protocol checkin-checkout-protocol done
99 6 System restart protocol system-restart-protocol done
100 6 MCP hot-reload (IConfigReload) mcp-hot-reload done
101 6 SkillSdk (Hercules.SkillSdk NuGet) skill-sdk done
102 6 Context distillation context-distillation done
103 6 PostgreSQL session store postgres-session-store pending
104 8 hercules-workflow-server workflow-server done (MVP; unchecked boxes in the file are checklist parent headings)
105 8 Workflow graph model + executor workflow-graph-executor pending
106 8 DelegatedTask persistence delegated-task-persistence done
107 8 Parent/child task relationships parent-child-tasks pending
108 8 DurableTask checkpoint persistence checkpoint-persistence pending
109 0 (pre-req) AddOpenApi() в Program.cs add-openapi-producer done — the file’s boxes predate task_111, which actually produced the OpenAPI document
110 0 (pre-req) WithTags на все контроллеры withtags-all-controllers done
111 0 (pre-req) Produces<T>() + DTO рефакторинг produces-dto-refactor pending
112 0 (pre-req) WithName на Marketplace + Template withname-marketplace-template pending
113 0 (Studio) Studio: openapi-typescript + Orval setup studio-openapi-codegen-setup pending
114 0-2 (Studio) Studio: migrate stores to Vue Query studio-migrate-vue-query pending
115 0 (Web-UI) Web-UI: openapi-typescript + Orval setup webui-openapi-codegen-setup pending
116 0 (Web-UI) Web-UI: migrate api.ts to Vue Query webui-migrate-vue-query pending
117 0 (pre-req) Spectral lint для OpenAPI документа spectral-openapi-lint pending

Workflow

  1. Выбор следующей задачи: из pending берём с наименьшим N, у которой выполнены зависимости.
  2. Декомпозиция: открываем соответствующий tasks/task_NNN.md, заполняем раздел Acceptance criteria конкретными sub-tasks.
  3. Status flip: в tasks/task_NNN.md правим Status: pending → Status: in_progress (commit).
  4. Работа: реализуем, обновляем Acceptance criteria по мере выполнения (чекбоксы).
  5. Готово: Status: done + ссылка на PR/commit + краткое описание реализованного поведения в конце файла.
  6. Блокер: если застряли — Status: blocked + описание блокера в разделе Notes.

Правила:

Roadmap cron

См. scripts/roadmap-cron.md — ежедневный self-reminder, который:

Создаётся через mavis cron create (см. секцию Setup ниже).

Setup

# Из корня репозитория
mavis cron create --name roadmap-driver --schedule "0 9 * * *" --prompt "Roadmap tick: просканируй docs/roadmap/tasks/, выбери первую pending задачу с выполненными зависимостями, переведи её в in_progress, декомпозируй в sub-tasks и приступай. Если все done — выведи отчёт и попроси удалить cron. Ссылка: docs/roadmap/backlog.md" --timezone "Europe/Berlin"