prizmkit 1.0.20 → 1.0.21
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/bundled/VERSION.json
CHANGED
|
@@ -34,16 +34,20 @@ BROWNFIELD WORKFLOW (existing project):
|
|
|
34
34
|
|
|
35
35
|
**Step 1: Project Scanning**
|
|
36
36
|
1. Detect tech stack from build files (`package.json`, `requirements.txt`, `go.mod`, `pom.xml`, `Cargo.toml`, etc.)
|
|
37
|
-
2. Map directory structure
|
|
37
|
+
2. Map directory structure using a TWO-TIER model — do NOT flatten:
|
|
38
|
+
- TOP-LEVEL modules: directories directly under project root that contain source files or sub-directories with source files (e.g. `dev-pipeline/`, `src/`, `internal/`)
|
|
39
|
+
- SUB-MODULES: directories INSIDE a top-level module (e.g. `dev-pipeline/scripts/`, `dev-pipeline/lib/`)
|
|
40
|
+
- A sub-module is NEVER treated as a top-level module, even if it has many files
|
|
41
|
+
- Exclude: `.git/`, `node_modules/`, `vendor/`, `build/`, `dist/`, `__pycache__/`, `.claude/`, `.codebuddy/`, `.prizmkit/`, `.prizm-docs/`
|
|
38
42
|
3. Identify entry points by language convention
|
|
39
43
|
4. Catalog dependencies (external packages)
|
|
40
44
|
5. Count source files per directory
|
|
41
45
|
|
|
42
46
|
**Step 2: Prizm Documentation Generation**
|
|
43
|
-
2a. Invoke prizmkit-prizm-docs `prizmkit.doc.init` algorithm:
|
|
44
|
-
- Create `.prizm-docs/` directory structure
|
|
45
|
-
- Generate `root.prizm` (L0) with project meta and
|
|
46
|
-
- Generate L1 docs for
|
|
47
|
+
2a. Invoke prizmkit-prizm-docs `prizmkit.doc.init` algorithm, passing the two-tier module structure from Step 1:
|
|
48
|
+
- Create `.prizm-docs/` directory structure mirroring the source tree (sub-module dirs become subdirectories under `.prizm-docs/<top-level>/`)
|
|
49
|
+
- Generate `root.prizm` (L0) with project meta and MODULE_INDEX listing ONLY top-level modules
|
|
50
|
+
- Generate L1 docs for top-level modules at `.prizm-docs/<M>.prizm` and for sub-modules at `.prizm-docs/<M>/<S>.prizm`
|
|
47
51
|
- Create `changelog.prizm`
|
|
48
52
|
- Skip L2 (lazy generation)
|
|
49
53
|
|