Skip to main content
Back to Prompt Library
Algorithms & DSAGraph Algorithms + Python/TSCoding & Engineering/python

Topological DAG Workflow Scheduler with Cycle Detection

Executes dependent build/CI jobs with bounded concurrency, Kahn's algorithm cycle reporting, and critical-path latency calculation.

Ready-to-Run Prompt Template

Mode: deep-think
Write a complete DAG Task Orchestrator that resolves job dependencies using topological sorting, detects and reports exact dependency cycles, calculates the critical execution path, and runs independent tasks concurrently with a configurable worker pool. Include runnable tests.
Recommended Model
Fusta Think
Studio Mode
deep-think
Access
Free in Browser

Recommended Fusta Skills for This Prompt

Coding Exercise & DSA Solver

Structures algorithm challenges, debugging drills, and coding exercises with optimal intuition, Big-O complexity, and tests.

Agentic Coding Engineer

Follows a Plan -> Implement -> Edge-Case Test workflow and produces complete runnable modules with zero stubs.

More Ready-to-Run Templates