@atlashub/smartstack-cli 4.54.0 → 4.55.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.
package/package.json
CHANGED
|
@@ -49,6 +49,8 @@ Generate the interactive HTML document of the business analysis from the JSON an
|
|
|
49
49
|
- **NEVER** call `.join()` on arrays without checking element types — object elements produce `[object Object]`
|
|
50
50
|
- **Final file** MUST be > 100KB
|
|
51
51
|
- **Final file** MUST NOT contain the string `[object Object]`
|
|
52
|
+
- **NEVER** reuse a build script (`_build-html.js`, `generate-html.js`) from a previous session — always re-execute steps 01→02→03→04 from scratch. Build scripts are throwaway artifacts that bypass the skill's normalization logic.
|
|
53
|
+
- **With `--force`:** delete any existing build script before proceeding
|
|
52
54
|
|
|
53
55
|
## References
|
|
54
56
|
|
|
@@ -13,6 +13,23 @@ Inject FEATURE_DATA and EMBEDDED_ARTIFACTS into the HTML template and write the
|
|
|
13
13
|
|
|
14
14
|
---
|
|
15
15
|
|
|
16
|
+
## PRE-RENDER CLEANUP (MANDATORY)
|
|
17
|
+
|
|
18
|
+
> **NEVER reuse a build script from a previous session.**
|
|
19
|
+
> Build scripts (`_build-html.js`, `generate-html.js`) are throwaway artifacts that bypass
|
|
20
|
+
> the skill's normalization logic (normalizeKpi, normalizeColumn, Format B-CANONICAL).
|
|
21
|
+
> Reusing them causes stale data and missed fixes.
|
|
22
|
+
|
|
23
|
+
```
|
|
24
|
+
Delete any existing build scripts in the project directory:
|
|
25
|
+
rm -f _build-html.js generate-html.js build-html.js
|
|
26
|
+
|
|
27
|
+
This ensures the HTML is always generated from the current step-02 output,
|
|
28
|
+
not from a cached script that may use outdated mapping logic.
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
|
|
16
33
|
## EXECUTION SEQUENCE
|
|
17
34
|
|
|
18
35
|
### 1. Locate Template
|