6/12
Technical Architecture & AI Engineering · 7 min read

Dependency and Task Scheduler With Topological Sort and Cycle Detection

Build a DAG task scheduler in TypeScript using Kahn's topological sort, descriptive cycle-path diagnostics, parallel execution waves, and bounded max-concurrency orchestration.

Editable Markdown Template (Context & Problem Statement -> Technical Architecture -> Failure Mode & Blast Radius Analysis -> Verification & Monitoring Runbook)

Code Design 6 Dependency / Task Scheduler TopoSort Architecture & Runbook

Author a production-ready engineering specification or operational runbook for Code Design 6: Dependency / Task Scheduler (TopoSort), covering architectural trade-offs, failure modes, and monitoring gates.

Your draft auto-saves locally in your browser. Export as Markdown to share in Notion, Confluence, Google Docs, or Slack.