Skip to the content.

Task 104 — hercules-workflow-server

Phase: 8 Status: done Owner: — Slug: workflow-server Studio Stage: 8

Goal

Создать отдельный .NET сервис hercules-workflow-server для durable workflow execution: хранение определений, исполнитель, триггеры (webhook + cron), история, мониторинг. См. ADR-0008.

Acceptance criteria

Dependencies

Sub-tasks (this tick — MVP foundation)

Validation (this tick)

Sub-tasks (follow-up — next ticks)

Implementation notes (this tick)

Completion note (2026-08-17)

Создан новый .NET-сервис src/workflow-server/Hercules.WorkflowServer.csproj (ASP.NET Core 10 minimal API, порт 8430). MVP-фундамент готов:

Реализовано в этом тике:

Validation:

Известные ограничения (явно отмечены в API как 501 Not Implemented):

Файлы:

Scope / Likely files

src/workflow-server/ (new project), src/workflow-server/Controllers/, src/workflow-server/Executor/ (stub), src/workflow-server/Auth/, src/workflow-server/Program.cs, src/workflow-server/appsettings.json tests/Hercules.Agent.Tests/WorkflowServer/ (new test folder) src/agent/Hercules.slnx (add project reference) src/agent/Hercules.csproj (add to DefaultItemExcludes)