Skip to content

Hybrid Circular Dependency Implementation

This page summarizes the current implementation shape for circular dependency handling in hybrid execution and phased synthesis.

Current Model

netherframe no longer relies on a separate standalone legacy execution track in the docs. The current implementation centers on:

  • nf.core.phases.* for cycle analysis and phase planning
  • nf.core.constructs.stack_synthesis for phased synthesis output
  • nf.core.synthesis.phased_artifacts for generated phase directories and scripts
  • nf.core.orchestration.unified_orchestrator for execution-time dependency planning

What Happens

  1. the app and stack graph is analyzed for resource and stack cycles
  2. the phase planner chooses a strategy for breaking those cycles
  3. synthesis emits phased artifacts when needed
  4. hybrid execution uses the app configuration and orchestration stack to execute with cycle awareness

Important Constraint

Cycles are supported within a single App. Cross-app circular references are still outside the supported model.

Why This Page Exists

Older versions of the docs described modules and flows that no longer match the current codebase exactly. Treat this page as the compatibility bridge and use the docs below for the current behavior.