@fluentcommerce/ai-skills 0.1.0 → 0.3.0
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.
Potentially problematic release.
This version of @fluentcommerce/ai-skills might be problematic. Click here for more details.
- package/README.md +866 -622
- package/bin/cli.mjs +2112 -1973
- package/content/cli/agents/fluent-cli/agent.json +149 -149
- package/content/cli/agents/fluent-cli.md +132 -132
- package/content/cli/skills/fluent-bootstrap/SKILL.md +214 -181
- package/content/cli/skills/fluent-cli-index/SKILL.md +1 -1
- package/content/cli/skills/fluent-cli-mcp-cicd/SKILL.md +117 -1
- package/content/cli/skills/fluent-cli-reference/SKILL.md +1040 -1031
- package/content/cli/skills/fluent-cli-retailer/SKILL.md +27 -2
- package/content/cli/skills/fluent-cli-settings/SKILL.md +21 -1
- package/content/cli/skills/fluent-connect/SKILL.md +937 -886
- package/content/cli/skills/fluent-module-deploy/SKILL.md +63 -5
- package/content/cli/skills/fluent-profile/SKILL.md +73 -0
- package/content/cli/skills/fluent-workflow/SKILL.md +360 -310
- package/content/dev/agents/fluent-backend-dev/AGENT.md +58 -0
- package/content/dev/agents/fluent-backend-dev/agent.json +69 -0
- package/content/dev/agents/fluent-backend-dev.md +287 -0
- package/content/dev/agents/fluent-dev/AGENT.md +98 -0
- package/content/dev/agents/fluent-dev/agent.json +14 -2
- package/content/dev/agents/fluent-dev.md +194 -525
- package/content/dev/agents/fluent-frontend-dev/AGENT.md +63 -0
- package/content/dev/agents/fluent-frontend-dev/agent.json +52 -0
- package/content/dev/agents/fluent-frontend-dev.md +323 -0
- package/content/dev/skills/fluent-archive/SKILL.md +234 -0
- package/content/dev/skills/fluent-build/SKILL.md +312 -192
- package/content/dev/skills/fluent-connection-analysis/SKILL.md +422 -386
- package/content/dev/skills/fluent-custom-code/SKILL.md +15 -9
- package/content/dev/skills/fluent-data-module-scaffold/SKILL.md +19 -2
- package/content/dev/skills/fluent-e2e-test/SKILL.md +501 -394
- package/content/dev/skills/fluent-event-api/SKILL.md +962 -945
- package/content/dev/skills/fluent-feature-explain/SKILL.md +680 -603
- package/content/dev/skills/fluent-feature-plan/PLAN_TEMPLATE.md +27 -2
- package/content/dev/skills/fluent-feature-plan/SKILL.md +478 -227
- package/content/dev/skills/fluent-feature-status/SKILL.md +335 -0
- package/content/dev/skills/fluent-feedback/SKILL.md +221 -0
- package/content/dev/skills/fluent-implementation-map/SKILL.md +644 -0
- package/content/dev/skills/fluent-job-batch/SKILL.md +10 -0
- package/content/dev/skills/fluent-module-scaffold/SKILL.md +64 -2
- package/content/dev/skills/fluent-module-validate/SKILL.md +778 -775
- package/content/dev/skills/fluent-mystique-analyze/SKILL.md +817 -0
- package/content/dev/skills/fluent-mystique-builder/COMPONENT_TEMPLATE.md +81 -0
- package/content/dev/skills/fluent-mystique-builder/README.md +63 -0
- package/content/dev/skills/fluent-mystique-builder/SKILL.md +1294 -0
- package/content/dev/skills/fluent-mystique-builder/components/INDEX.md +92 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.accordion.md +48 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.action.field.fulfilmentpack.md +20 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.action.field.multiparcel.md +21 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.action.field.returnitems.md +21 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.action.field.wavepick.md +21 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.action.inline.md +24 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.activity.entity.md +25 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.analytics.viz.md +20 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.attribute.column.md +111 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.attribute.json.md +20 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.attribute.jsoneditor.md +54 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.attribute.locationId.md +51 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.attribute.retailerId.md +52 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.button.bar.md +57 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.button.print.download.md +53 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.button.print.inline.compatibility.md +60 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.button.print.inline.md +53 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.button.print.md +24 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.button.print.pick.md +61 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.buttons.add.reject.md +20 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.card.attribute.md +73 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.card.attributes.grid.md +40 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.card.image.md +37 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.card.map.point.md +24 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.card.multi.md +79 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.card.product.md +27 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.chart.area.md +34 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.chart.area.wrapper.feed.md +98 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.chart.bar.md +52 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.chart.bar.wrapper.source.md +104 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.chart.gauge.md +28 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.chart.gauge.wrapper.threshold.md +118 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.chart.line.md +32 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.conditional.md +62 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.dashboard.threshold.md +65 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.daterange.wrapper.forwarder.md +56 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.drawer.button.md +21 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.event.detail.md +20 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.events.search.md +21 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.field.daterange.md +83 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.field.filterComplex.md +106 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.field.intrange.md +82 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.field.multistring.md +50 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.filterPanel.md +53 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.json.editor.md +22 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.json.viewer.md +21 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.list.customAction.md +79 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.list.md +116 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.list.wrapper.bppmetrics.md +69 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.list.wrapper.feed.md +65 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.list.wrapper.source.md +64 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.modal.button.addItem.md +60 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.modal.button.md +21 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.mutation.inline.md +88 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.mystique.collapsible.attributes.md +83 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.mystique.collapsible.text.md +33 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.mystique.link.md +30 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.order.itemDetails.md +20 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.order.shipmentDetails.md +20 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.page.filter.select.md +87 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.page.md +64 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.page.refresh.md +48 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.page.section.column.md +71 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.page.section.header.md +61 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.page.section.md +59 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.page.wizard.md +45 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.page.wizard.summary.md +56 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.progress.circular.md +20 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.provider.graphql.md +71 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.quantity.list.md +87 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.repeater.md +56 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.reports.ipuipc.md +54 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.return.rowExpansion.md +19 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.scanner.barcode.md +21 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.scanner.barcodeFilter.md +72 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.scanner.camera.md +20 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.settingForm.md +64 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.sourcing.profile.drawer.button.md +19 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.sourcing.profile.modal.button.md +64 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.sourcing.strategy.modal.button.md +20 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.stepper.md +20 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.tab.content.md +56 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.tabs.card.md +64 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.tabs.md +69 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.tile.metric.md +73 -0
- package/content/dev/skills/fluent-mystique-builder/components/fc.workflow.provider.md +77 -0
- package/content/dev/skills/fluent-mystique-builder/validate-docs.ps1 +260 -0
- package/content/dev/skills/fluent-mystique-scaffold/SKILL.md +1830 -0
- package/content/dev/skills/fluent-mystique-validate/SKILL.md +646 -0
- package/content/dev/skills/fluent-pre-deploy-check/SKILL.md +1144 -1108
- package/content/dev/skills/fluent-retailer-config/SKILL.md +1162 -1111
- package/content/dev/skills/fluent-rollback/SKILL.md +387 -0
- package/content/dev/skills/fluent-rule-scaffold/SKILL.md +515 -385
- package/content/dev/skills/fluent-scope-decompose/SKILL.md +1123 -1021
- package/content/dev/skills/fluent-session-audit-export/SKILL.md +880 -632
- package/content/dev/skills/fluent-session-summary/SKILL.md +320 -195
- package/content/dev/skills/fluent-settings/SKILL.md +160 -1
- package/content/dev/skills/fluent-source-onboard/SKILL.md +31 -3
- package/content/dev/skills/fluent-sourcing/SKILL.md +1185 -0
- package/content/dev/skills/fluent-system-monitoring/SKILL.md +771 -767
- package/content/dev/skills/fluent-test-data/SKILL.md +514 -513
- package/content/dev/skills/fluent-trace/SKILL.md +1169 -1143
- package/content/dev/skills/fluent-transition-api/SKILL.md +364 -346
- package/content/dev/skills/fluent-use-case-discover/SKILL.md +593 -0
- package/content/dev/skills/fluent-use-case-discover/SPEC_TEMPLATE.md +281 -0
- package/content/dev/skills/fluent-version-manage/SKILL.md +53 -2
- package/content/dev/skills/fluent-workflow-analyzer/SKILL.md +995 -959
- package/content/dev/skills/fluent-workflow-builder/SKILL.md +668 -319
- package/content/dev/skills/fluent-workflow-deploy/SKILL.md +480 -267
- package/content/dev/skills/fluent-workspace-tree/SKILL.md +281 -0
- package/content/mcp-extn/agents/fluent-mcp.md +133 -69
- package/content/mcp-extn/skills/fluent-mcp-tools/SKILL.md +812 -461
- package/content/mcp-official/agents/fluent-mcp-core.md +91 -91
- package/content/mcp-official/skills/fluent-mcp-core/SKILL.md +94 -94
- package/content/rfl/skills/fluent-rfl-assess/SKILL.md +172 -172
- package/docs/CAPABILITY_MAP.md +106 -77
- package/docs/DEPLOYMENT_PROMOTION_RUNBOOK.md +218 -0
- package/docs/DESIGN-implementation-map.md +698 -0
- package/docs/DEV_WORKFLOW.md +814 -802
- package/docs/FLOW_RUN.md +142 -142
- package/docs/GETTING_STARTED.md +427 -0
- package/docs/USE_CASES.md +909 -52
- package/metadata.json +184 -156
- package/package.json +3 -2
package/docs/FLOW_RUN.md
CHANGED
|
@@ -1,142 +1,142 @@
|
|
|
1
|
-
# flow-run Command Reference
|
|
2
|
-
|
|
3
|
-
`flow-run` provides a structured execution pipeline for Fluent Commerce diagnostics and optional module deployment.
|
|
4
|
-
|
|
5
|
-
It is designed as a practical first step toward autonomous operations:
|
|
6
|
-
|
|
7
|
-
- run deterministic preflight checks
|
|
8
|
-
- validate local config readiness
|
|
9
|
-
- verify Fluent CLI context and environment access
|
|
10
|
-
- optionally deploy a module with explicit confirmation
|
|
11
|
-
- output a JSON report for auditing and automation
|
|
12
|
-
|
|
13
|
-
## Behavior Summary
|
|
14
|
-
|
|
15
|
-
By default, `flow-run` performs **read-only diagnostics**.
|
|
16
|
-
|
|
17
|
-
Write operations occur only when both flags are present:
|
|
18
|
-
|
|
19
|
-
- `--deploy`
|
|
20
|
-
- `--yes`
|
|
21
|
-
|
|
22
|
-
## Prerequisites
|
|
23
|
-
|
|
24
|
-
- Node.js 18+
|
|
25
|
-
- Fluent CLI installed and available on `PATH`
|
|
26
|
-
- active Fluent profile/session configured (or explicit profile provided)
|
|
27
|
-
- optional: `.mcp.json` in the project root if MCP readiness checks are required
|
|
28
|
-
|
|
29
|
-
## Usage
|
|
30
|
-
|
|
31
|
-
```bash
|
|
32
|
-
npx @fluentcommerce/ai-skills flow-run [options]
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
## Options
|
|
36
|
-
|
|
37
|
-
| Option | Description |
|
|
38
|
-
|---|---|
|
|
39
|
-
| `--profile <name>` | Fluent profile used for module/workflow checks |
|
|
40
|
-
| `--retailer <ref>` | Retailer ref used for workflow checks and deploy |
|
|
41
|
-
| `--module <name-or-path>` | Module package path/name for describe/install |
|
|
42
|
-
| `--config <file>` | Config file to scan for unresolved `[[...]]` placeholders |
|
|
43
|
-
| `--deploy` | Enables `fluent module install` step |
|
|
44
|
-
| `--yes` | Mandatory confirmation with `--deploy` |
|
|
45
|
-
| `--exclude-workflows` | Adds `--exclude workflows` to deploy command |
|
|
46
|
-
| `--force` | Adds `--force` to deploy command |
|
|
47
|
-
| `--report <path>` | Custom JSON report output path |
|
|
48
|
-
| `--official-server-name <n>` | MCP official server key in `.mcp.json` (default `fluent-mcp`) |
|
|
49
|
-
| `--extn-server-name <n>` | MCP extension server key in `.mcp.json` (default `fluent-mcp-extn`) |
|
|
50
|
-
| `--skip-mcp-check` | Skip `.mcp.json` validation |
|
|
51
|
-
| `--help` | Show command help |
|
|
52
|
-
|
|
53
|
-
## Examples
|
|
54
|
-
|
|
55
|
-
Diagnostics-only run:
|
|
56
|
-
|
|
57
|
-
```bash
|
|
58
|
-
npx @fluentcommerce/ai-skills flow-run \
|
|
59
|
-
--profile YOUR_PROFILE \
|
|
60
|
-
--retailer YOUR_RETAILER_REF \
|
|
61
|
-
--module dist/your-module.zip \
|
|
62
|
-
--config config/module.config.YOUR_RETAILER_REF.json
|
|
63
|
-
```
|
|
64
|
-
|
|
65
|
-
Deploy run with explicit confirmation:
|
|
66
|
-
|
|
67
|
-
```bash
|
|
68
|
-
npx @fluentcommerce/ai-skills flow-run \
|
|
69
|
-
--profile YOUR_PROFILE \
|
|
70
|
-
--retailer YOUR_RETAILER_REF \
|
|
71
|
-
--module dist/your-module.zip \
|
|
72
|
-
--config config/module.config.YOUR_RETAILER_REF.json \
|
|
73
|
-
--deploy \
|
|
74
|
-
--yes
|
|
75
|
-
```
|
|
76
|
-
|
|
77
|
-
Deploy while protecting workflows:
|
|
78
|
-
|
|
79
|
-
```bash
|
|
80
|
-
npx @fluentcommerce/ai-skills flow-run \
|
|
81
|
-
--profile YOUR_PROFILE \
|
|
82
|
-
--retailer YOUR_RETAILER_REF \
|
|
83
|
-
--module dist/module.zip \
|
|
84
|
-
--deploy \
|
|
85
|
-
--yes \
|
|
86
|
-
--exclude-workflows
|
|
87
|
-
```
|
|
88
|
-
|
|
89
|
-
## What Gets Checked
|
|
90
|
-
|
|
91
|
-
Local checks:
|
|
92
|
-
|
|
93
|
-
- `.mcp.json` presence and server key validation
|
|
94
|
-
- unresolved placeholder detection in MCP env values (`YOUR_*`, `your-*`, `[[...]]`)
|
|
95
|
-
- unresolved placeholder detection in module config (`[[...]]`)
|
|
96
|
-
|
|
97
|
-
Fluent CLI checks:
|
|
98
|
-
|
|
99
|
-
- `fluent --version`
|
|
100
|
-
- `fluent profile active`
|
|
101
|
-
- optional `fluent module describe <module>`
|
|
102
|
-
- optional `fluent module list -p <profile>`
|
|
103
|
-
- optional `fluent workflow list -p <profile> -r <retailer>`
|
|
104
|
-
|
|
105
|
-
Optional deploy checks:
|
|
106
|
-
|
|
107
|
-
- `fluent module install ...`
|
|
108
|
-
- post-deploy module/workflow list verification
|
|
109
|
-
|
|
110
|
-
## Report Output
|
|
111
|
-
|
|
112
|
-
Default report path:
|
|
113
|
-
|
|
114
|
-
```text
|
|
115
|
-
./.fluent-ai-skills/flow-run-report-<timestamp>.json
|
|
116
|
-
```
|
|
117
|
-
|
|
118
|
-
Each report includes:
|
|
119
|
-
|
|
120
|
-
- command metadata (`cwd`, timestamp, package version, options)
|
|
121
|
-
- check-by-check status (`passed`, `warning`, `failed`, `skipped`)
|
|
122
|
-
- command execution details (exit code, duration, sanitized stdout/stderr)
|
|
123
|
-
- summary totals and overall outcome
|
|
124
|
-
- recommendations
|
|
125
|
-
|
|
126
|
-
## Exit Behavior
|
|
127
|
-
|
|
128
|
-
- exits `0` when no failing checks remain
|
|
129
|
-
- exits non-zero when any **failed** checks are present
|
|
130
|
-
- warnings do not fail the process
|
|
131
|
-
|
|
132
|
-
## Current Limits
|
|
133
|
-
|
|
134
|
-
`flow-run` currently orchestrates deterministic CLI and config checks, but it does not yet:
|
|
135
|
-
|
|
136
|
-
- auto-generate/repair workflow JSON or rulesets
|
|
137
|
-
- run MCP GraphQL/event tools directly end-to-end
|
|
138
|
-
- auto-classify root cause from workflowlog/error payloads
|
|
139
|
-
- auto-create version bump commits or publish artifacts
|
|
140
|
-
- execute environment-specific business smoke tests autonomously
|
|
141
|
-
|
|
142
|
-
Use this command as a stable baseline for guarded execution and structured evidence collection.
|
|
1
|
+
# flow-run Command Reference
|
|
2
|
+
|
|
3
|
+
`flow-run` provides a structured execution pipeline for Fluent Commerce diagnostics and optional module deployment.
|
|
4
|
+
|
|
5
|
+
It is designed as a practical first step toward autonomous operations:
|
|
6
|
+
|
|
7
|
+
- run deterministic preflight checks
|
|
8
|
+
- validate local config readiness
|
|
9
|
+
- verify Fluent CLI context and environment access
|
|
10
|
+
- optionally deploy a module with explicit confirmation
|
|
11
|
+
- output a JSON report for auditing and automation
|
|
12
|
+
|
|
13
|
+
## Behavior Summary
|
|
14
|
+
|
|
15
|
+
By default, `flow-run` performs **read-only diagnostics**.
|
|
16
|
+
|
|
17
|
+
Write operations occur only when both flags are present:
|
|
18
|
+
|
|
19
|
+
- `--deploy`
|
|
20
|
+
- `--yes`
|
|
21
|
+
|
|
22
|
+
## Prerequisites
|
|
23
|
+
|
|
24
|
+
- Node.js 18+
|
|
25
|
+
- Fluent CLI installed and available on `PATH`
|
|
26
|
+
- active Fluent profile/session configured (or explicit profile provided)
|
|
27
|
+
- optional: `.mcp.json` in the project root if MCP readiness checks are required
|
|
28
|
+
|
|
29
|
+
## Usage
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
npx @fluentcommerce/ai-skills flow-run [options]
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Options
|
|
36
|
+
|
|
37
|
+
| Option | Description |
|
|
38
|
+
|---|---|
|
|
39
|
+
| `--profile <name>` | Fluent profile used for module/workflow checks |
|
|
40
|
+
| `--retailer <ref>` | Retailer ref used for workflow checks and deploy |
|
|
41
|
+
| `--module <name-or-path>` | Module package path/name for describe/install |
|
|
42
|
+
| `--config <file>` | Config file to scan for unresolved `[[...]]` placeholders |
|
|
43
|
+
| `--deploy` | Enables `fluent module install` step |
|
|
44
|
+
| `--yes` | Mandatory confirmation with `--deploy` |
|
|
45
|
+
| `--exclude-workflows` | Adds `--exclude workflows` to deploy command |
|
|
46
|
+
| `--force` | Adds `--force` to deploy command |
|
|
47
|
+
| `--report <path>` | Custom JSON report output path |
|
|
48
|
+
| `--official-server-name <n>` | MCP official server key in `.mcp.json` (default `fluent-mcp`) |
|
|
49
|
+
| `--extn-server-name <n>` | MCP extension server key in `.mcp.json` (default `fluent-mcp-extn`) |
|
|
50
|
+
| `--skip-mcp-check` | Skip `.mcp.json` validation |
|
|
51
|
+
| `--help` | Show command help |
|
|
52
|
+
|
|
53
|
+
## Examples
|
|
54
|
+
|
|
55
|
+
Diagnostics-only run:
|
|
56
|
+
|
|
57
|
+
```bash
|
|
58
|
+
npx @fluentcommerce/ai-skills flow-run \
|
|
59
|
+
--profile YOUR_PROFILE \
|
|
60
|
+
--retailer YOUR_RETAILER_REF \
|
|
61
|
+
--module dist/your-module.zip \
|
|
62
|
+
--config config/module.config.YOUR_RETAILER_REF.json
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
Deploy run with explicit confirmation:
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
npx @fluentcommerce/ai-skills flow-run \
|
|
69
|
+
--profile YOUR_PROFILE \
|
|
70
|
+
--retailer YOUR_RETAILER_REF \
|
|
71
|
+
--module dist/your-module.zip \
|
|
72
|
+
--config config/module.config.YOUR_RETAILER_REF.json \
|
|
73
|
+
--deploy \
|
|
74
|
+
--yes
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
Deploy while protecting workflows:
|
|
78
|
+
|
|
79
|
+
```bash
|
|
80
|
+
npx @fluentcommerce/ai-skills flow-run \
|
|
81
|
+
--profile YOUR_PROFILE \
|
|
82
|
+
--retailer YOUR_RETAILER_REF \
|
|
83
|
+
--module dist/module.zip \
|
|
84
|
+
--deploy \
|
|
85
|
+
--yes \
|
|
86
|
+
--exclude-workflows
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
## What Gets Checked
|
|
90
|
+
|
|
91
|
+
Local checks:
|
|
92
|
+
|
|
93
|
+
- `.mcp.json` presence and server key validation
|
|
94
|
+
- unresolved placeholder detection in MCP env values (`YOUR_*`, `your-*`, `[[...]]`)
|
|
95
|
+
- unresolved placeholder detection in module config (`[[...]]`)
|
|
96
|
+
|
|
97
|
+
Fluent CLI checks:
|
|
98
|
+
|
|
99
|
+
- `fluent --version`
|
|
100
|
+
- `fluent profile active`
|
|
101
|
+
- optional `fluent module describe <module>`
|
|
102
|
+
- optional `fluent module list -p <profile>`
|
|
103
|
+
- optional `fluent workflow list -p <profile> -r <retailer>`
|
|
104
|
+
|
|
105
|
+
Optional deploy checks:
|
|
106
|
+
|
|
107
|
+
- `fluent module install ...`
|
|
108
|
+
- post-deploy module/workflow list verification
|
|
109
|
+
|
|
110
|
+
## Report Output
|
|
111
|
+
|
|
112
|
+
Default report path:
|
|
113
|
+
|
|
114
|
+
```text
|
|
115
|
+
./.fluent-ai-skills/flow-run-report-<timestamp>.json
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
Each report includes:
|
|
119
|
+
|
|
120
|
+
- command metadata (`cwd`, timestamp, package version, options)
|
|
121
|
+
- check-by-check status (`passed`, `warning`, `failed`, `skipped`)
|
|
122
|
+
- command execution details (exit code, duration, sanitized stdout/stderr)
|
|
123
|
+
- summary totals and overall outcome
|
|
124
|
+
- recommendations
|
|
125
|
+
|
|
126
|
+
## Exit Behavior
|
|
127
|
+
|
|
128
|
+
- exits `0` when no failing checks remain
|
|
129
|
+
- exits non-zero when any **failed** checks are present
|
|
130
|
+
- warnings do not fail the process
|
|
131
|
+
|
|
132
|
+
## Current Limits
|
|
133
|
+
|
|
134
|
+
`flow-run` currently orchestrates deterministic CLI and config checks, but it does not yet:
|
|
135
|
+
|
|
136
|
+
- auto-generate/repair workflow JSON or rulesets
|
|
137
|
+
- run MCP GraphQL/event tools directly end-to-end
|
|
138
|
+
- auto-classify root cause from workflowlog/error payloads
|
|
139
|
+
- auto-create version bump commits or publish artifacts
|
|
140
|
+
- execute environment-specific business smoke tests autonomously
|
|
141
|
+
|
|
142
|
+
Use this command as a stable baseline for guarded execution and structured evidence collection.
|