@evolith/smart-cli 1.1.1 → 1.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +22 -13
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -19,15 +19,22 @@ satellite repository
|
|
|
19
19
|
|
|
20
20
|
## Supported Architectures
|
|
21
21
|
|
|
22
|
-
|
|
22
|
+
Evolith Core defines **8 architecture topologies** across complementary dimensions. Any command that accepts `--topology` references them by their canonical id:
|
|
23
23
|
|
|
24
|
-
|
|
|
25
|
-
|
|
26
|
-
|
|
|
27
|
-
|
|
|
28
|
-
|
|
|
24
|
+
| Topology (id) | Name | Dimension |
|
|
25
|
+
|---------------|------|-----------|
|
|
26
|
+
| `modular-monolith` | Modular Monolith | progressive-axis |
|
|
27
|
+
| `distributed-modules` | Distributed Modules | progressive-axis |
|
|
28
|
+
| `microservices` | Microservices | progressive-axis |
|
|
29
|
+
| `serverless` | Serverless | execution |
|
|
30
|
+
| `edge-computing` | Edge Computing | execution |
|
|
31
|
+
| `event-driven` | Event-Driven | integration |
|
|
32
|
+
| `data-mesh` | Data Mesh | data |
|
|
33
|
+
| `agentic-ai` | Agentic AI | ai |
|
|
29
34
|
|
|
30
|
-
|
|
35
|
+
The **progressive axis** (`modular-monolith → distributed-modules → microservices`) is a linear maturity progression managed by the `upgrade` command. The other dimensions (execution, integration, data, ai) are complementary and chosen per project needs.
|
|
36
|
+
|
|
37
|
+
> **Legacy `F1/F2/F3`:** earlier versions used `--arch F1|F2|F3` mapping to the progressive axis (`F1 = modular-monolith`, `F2 = distributed-modules`, `F3 = microservices`). These flags are **deprecated** — use `--topology <id>` with the canonical ids above. (The old "Microfrontend / Distributed Microfrontend" labels are obsolete and no longer reflect the corpus.)
|
|
31
38
|
|
|
32
39
|
## Installation
|
|
33
40
|
|
|
@@ -175,7 +182,9 @@ Options:
|
|
|
175
182
|
-o, --output <file> Write output to file
|
|
176
183
|
-r, --ruleset <id> Validate a specific ruleset (see table below)
|
|
177
184
|
-e, --engine <engine> Validation engine: native (default) or opa
|
|
178
|
-
-t, --topology <id> Topology to validate
|
|
185
|
+
-t, --topology <id> Topology to validate by canonical id, e.g. modular-monolith,
|
|
186
|
+
microservices, serverless, event-driven, agentic-ai (repeatable).
|
|
187
|
+
Legacy F1/F2/F3 aliases still map to the progressive axis.
|
|
179
188
|
-m, --manifest <path> SatelliteManifest JSON for end-to-end evaluation (GT-281 pipeline)
|
|
180
189
|
-p, --phase <phase> SDLC phase to evaluate: f1, f2, f3, f4, f5 (activates GT-281 pipeline)
|
|
181
190
|
--adr <id> Validate against a specific ADR rule set
|
|
@@ -220,11 +229,11 @@ smart-cli validate
|
|
|
220
229
|
# JSON output for CI
|
|
221
230
|
smart-cli validate --format json --output report.json
|
|
222
231
|
|
|
223
|
-
# Validate
|
|
224
|
-
smart-cli validate --topology
|
|
232
|
+
# Validate a single topology
|
|
233
|
+
smart-cli validate --topology microservices
|
|
225
234
|
|
|
226
235
|
# Validate multiple topologies
|
|
227
|
-
smart-cli validate --topology
|
|
236
|
+
smart-cli validate --topology modular-monolith --topology event-driven
|
|
228
237
|
|
|
229
238
|
# Validate a specific ruleset
|
|
230
239
|
smart-cli validate --ruleset evidence
|
|
@@ -364,7 +373,7 @@ smart-cli agents --remove minimal
|
|
|
364
373
|
|
|
365
374
|
### scaffold
|
|
366
375
|
|
|
367
|
-
Scaffolds the Evolith architecture in the current workspace
|
|
376
|
+
Scaffolds the Evolith architecture in the current workspace **along the progressive axis** — phase 1 (`modular-monolith`), phase 2 (`distributed-modules`) and phase 3 (`microservices`). Phases 2–3 are generated as a Module Federation host + remotes (microfrontends), with configurable frontend frameworks, ORMs, and domain names. (`F1/F2/F3` remain accepted as legacy aliases for phases 1/2/3.)
|
|
368
377
|
|
|
369
378
|
```bash
|
|
370
379
|
smart-cli scaffold [options]
|
|
@@ -1120,7 +1129,7 @@ smart-cli mcp serve --no-confirm
|
|
|
1120
1129
|
```
|
|
1121
1130
|
|
|
1122
1131
|
**Unknown topology in scaffold or drift:**
|
|
1123
|
-
Ensure your `evolith.yaml` has a valid `product.topology` field
|
|
1132
|
+
Ensure your `evolith.yaml` has a valid `product.topology` field using a canonical topology id — `modular-monolith`, `distributed-modules`, `microservices`, `serverless`, `edge-computing`, `event-driven`, `data-mesh` or `agentic-ai` (per `reference/config/evolith.config.schema.json`). Legacy `F1/F2/F3` are accepted only as deprecated CLI flags, not as manifest values.
|
|
1124
1133
|
|
|
1125
1134
|
---
|
|
1126
1135
|
|
package/package.json
CHANGED