Context and problem
Turning a high-level project epic into actionable work requires decomposition, estimation, ownership and review. A single opaque model response is hard to trust or recover from when a generation is incomplete or proposes invalid work.
Engineering approach
- Typed proposals. A decomposer, an estimator and an assignee recommender produce structured output rather than free-form text. Generated ownership is checked against the actual project roster.
- Progressive streaming. Server-sent events report completed stages, so the board updates while the workflow runs.
- Recoverable execution. Checkpoints allow resuming after worker failures. Persisted run records give an audit trail of prior proposals.
- Bounded external work. Per-workspace rate limits cap model usage. If the optional Redis dependency is unavailable, the limiter fails open so orchestration continues, and the cost guard is weaker until Redis returns.
- Human decision at the boundary. Proposed issues stay pending until a user accepts or rejects them. Accepted work keeps a reference to its originating run.
Limits
Authentication and multi-region database behavior are outside the prototype's scope.
Stack
- Python, FastAPI, SQLAlchemy and Pydantic
- LangGraph orchestration and asynchronous task processing
- Next.js, TypeScript and TanStack Query
- Distributed SQL, document storage, Redis and Docker Compose
- Server-sent events, structured logging and OpenTelemetry