Top-level constructs
4.1 @core — Core Declaration#
The root container. One per project entry point.
scaicore
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | |
Instance modes:
| Mode | Declaration | Memory | Routing |
|---|---|---|---|
| Stateless | instance = :stateless (default) |
Per-Core (one partition) | Any worker |
| Entity | instance = :entity(key = "field") |
Per-entity (exclusive) | By key extraction |
| Singleton | instance = :singleton |
Per-instance (one exists) | Always to the one |
4.2 @flow — Behavioral Unit#
The primary unit of execution. In :entity Cores, entry-point flows
must include the entity key parameter. Internal flows can omit it.
scaicore
1 2 3 4 5 6 7 8 9 10 11 12 | |
4.3 @transformer — Pure Content Transformation#
Takes input, produces output. No side effects. Can bind to a specific LLM.
scaicore
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | |
4.4 @evaluator — Assessment Without Mutation#
Returns a score or assessment. Never transforms the input.
scaicore
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | |
4.5 @pipeline — Named Composition#
Chains transformers and evaluators using pipeline operators.
scaicore
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | |
4.6 @types — Type Definitions#
scaicore
1 2 3 4 5 6 | |
4.7 @plugin_interface — External Service Contract#
scaicore
1 2 3 4 5 6 7 8 9 10 11 | |
4.8 @core_interface — Public Core Contract#
Declares what other Cores can call and what events this Core emits.
scaicore
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | |
4.9 @test — Test Flows#
scaicore
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | |