@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.
Files changed (2) hide show
  1. package/README.md +22 -13
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -19,15 +19,22 @@ satellite repository
19
19
 
20
20
  ## Supported Architectures
21
21
 
22
- SmartCLI operates on three progressive architecture topologies. All commands that accept a `--topology` or `--phase` flag reference these levels:
22
+ Evolith Core defines **8 architecture topologies** across complementary dimensions. Any command that accepts `--topology` references them by their canonical id:
23
23
 
24
- | Level | Name | Description |
25
- |-------|------|-------------|
26
- | F1 | Monolithic Modular | Single deployable with clean hexagonal layers |
27
- | F2 | Microfrontend | Module Federation with a host app and remote modules |
28
- | F3 | Distributed Microfrontend | Independent deployment of each remote with its own CI/CD |
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
- Progression is linear: F1F2F3. The `upgrade` command manages topology transitions.
35
+ The **progressive axis** (`modular-monolithdistributed-modulesmicroservices`) 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: F1, F2, F3, ALL (repeatable)
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 F2 topology
224
- smart-cli validate --topology F2
232
+ # Validate a single topology
233
+ smart-cli validate --topology microservices
225
234
 
226
235
  # Validate multiple topologies
227
- smart-cli validate --topology F1 --topology F2
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. Supports all three topology phases (F1, F2, F3) with configurable frontend frameworks, ORMs, and domain names.
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: `F1`, `F2`, or `F3`.
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evolith/smart-cli",
3
- "version": "1.1.1",
3
+ "version": "1.1.3",
4
4
  "description": "Evolith Smart CLI - Governance, standards validation, and AI agent integration for satellite repositories",
5
5
  "main": "dist/main.js",
6
6
  "bin": {