Skip to content

Commit 6295798

Browse files
committed
Update constitution [ci fast]
Signed-off-by: Paolo Di Tommaso <paolo.ditommaso@gmail.com>
1 parent 1f5a3f8 commit 6295798

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

.specify/memory/constitution.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,17 @@ Testing MUST be comprehensive and multi-layered before any code is merged:
5454

5555
### III. Dataflow Programming Model
5656

57-
Nextflow's core abstraction MUST adhere to the dataflow programming model:
57+
Nextflow's core abstraction MUST adhere to following principles and guidelines:
5858

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.
6466

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.
6668

6769
### IV. Apache 2.0 License Compliance
6870

0 commit comments

Comments
 (0)