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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "frameworkVersion": "1.0.20",
3
- "bundledAt": "2026-03-15T16:09:11.089Z",
4
- "bundledFrom": "4f7e6fe"
2
+ "frameworkVersion": "1.0.21",
3
+ "bundledAt": "2026-03-15T16:24:08.378Z",
4
+ "bundledFrom": "db1bf04"
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.20",
2
+ "version": "1.0.21",
3
3
  "skills": {
4
4
  "prizm-kit": {
5
5
  "description": "Full-lifecycle dev toolkit. Covers spec-driven development, Prizm context docs, code quality, debugging, deployment, and knowledge management.",
@@ -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 identify source directories, test directories, config files
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 module index
46
- - Generate L1 docs for all discovered modules
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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "prizmkit",
3
- "version": "1.0.20",
3
+ "version": "1.0.21",
4
4
  "description": "Create a new PrizmKit-powered project with clean initialization — no framework dev files, just what you need.",
5
5
  "type": "module",
6
6
  "bin": {