You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .specify/memory/constitution.md
+9-7Lines changed: 9 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,15 +54,17 @@ Testing MUST be comprehensive and multi-layered before any code is merged:
54
54
55
55
### III. Dataflow Programming Model
56
56
57
-
Nextflow's core abstraction MUST adhere to the dataflow programming model:
57
+
Nextflow's core abstraction MUST adhere to following principles and guidelines:
58
58
59
-
- Workflows are defined as dataflow graphs where data flows between processes
60
-
- Processes MUST be stateless, side-effect-free transformations that communicate via channels
61
-
- The DSL MUST prioritize expressiveness for concurrent and parallel pipeline definition
62
-
- Changes to the language parser (ANTLR grammars in `nf-lang`) MUST preserve backward compatibility with existing pipelines unless explicitly versioned (DSL1 vs DSL2)
63
-
- Concurrency primitives (GPars actors/dataflow) MUST be used correctly to maintain the dataflow semantics
59
+
- The dataflow programming model is the fundamental abstraction in the Nextflow programming model.
60
+
- Workflows are defined as dataflow graphs where data flows between processes.
61
+
- Processes MUST be stateless, side-effect-free transformations that communicate via channels.
62
+
- Workflows should be defined in a platform agnostic manner to enable portability across clusters and clouds.
63
+
- The DSL MUST prioritize expressiveness for concurrent and parallel pipeline definition.
64
+
- Changes to the language parser (ANTLR grammars in `nf-lang`) MUST preserve backward compatibility with existing pipelines unless explicitly versioned (DSL1 vs DSL2).
65
+
- Concurrency primitives (GPars actors/dataflow) MUST be used correctly to maintain the dataflow semantics.
64
66
65
-
**Rationale**: The dataflow paradigm is Nextflow's fundamental programming model, enabling automatic parallelization and distribution. Preserving this model ensures existing scientific pipelines continue to work and users can reason about workflow behavior.
67
+
**Rationale**: The dataflow model is Nextflow's fundamental abstraction, enabling automatic parallelization and distribution. Preserving this model ensures existing scientific pipelines continue to work and users can reason about workflow behavior.
0 commit comments