claude-flow-novice 2.18.25 → 2.18.26

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.
@@ -12,6 +12,45 @@
12
12
  * - Actionable recommendations engine
13
13
  *
14
14
  * Usage: node config/hooks/post-edit-pipeline.js <file_path> [--memory-key <key>] [--agent-id <id>]
15
+ *
16
+ * ============================================================================
17
+ * TYPESCRIPT ERROR DETECTION - WHAT'S CAUGHT vs NOT CAUGHT
18
+ * ============================================================================
19
+ *
20
+ * This pipeline runs: `npx tsc --noEmit --skipLibCheck ${filePath}`
21
+ * It checks the EDITED FILE + its IMPORTS (transitively), but NOT files that
22
+ * import the edited file.
23
+ *
24
+ * ✅ CAUGHT (Blocks Edit):
25
+ * ┌────────────────────┬─────────────┬─────────────────────────────────────────┐
26
+ * │ Error Type │ Code │ Example │
27
+ * ├────────────────────┼─────────────┼─────────────────────────────────────────┤
28
+ * │ Missing module │ TS2307 │ import { x } from './nonexistent' │
29
+ * │ Missing export │ TS2305 │ import { nonExistent } from './exists' │
30
+ * │ Typo in export │ TS2724 │ import { Uzer } from './user' │
31
+ * │ Syntax errors │ TS1005,1128 │ Missing ), unexpected token │
32
+ * │ Unused imports │ TS6133,6196 │ import { unused } from... │
33
+ * │ Type mismatches │ TS2322,2345 │ Wrong type assignment │
34
+ * │ Missing properties │ TS2339,2353 │ obj.nonExistentProp │
35
+ * └────────────────────┴─────────────┴─────────────────────────────────────────┘
36
+ *
37
+ * ❌ NOT CAUGHT (Single-File Limitation):
38
+ * ┌─────────────────────────────────┬────────────────────────────────────────────┐
39
+ * │ Scenario │ Why │
40
+ * ├─────────────────────────────────┼────────────────────────────────────────────┤
41
+ * │ Cross-file type changes │ Editing types.ts won't catch breaks in │
42
+ * │ │ other.ts that imports it │
43
+ * │ Deleted exports used elsewhere │ Consumers aren't checked until edited │
44
+ * │ Renamed functions/types │ Same - callers won't be validated │
45
+ * └─────────────────────────────────┴────────────────────────────────────────────┘
46
+ *
47
+ * Example of NOT CAUGHT:
48
+ * You edit: src/types.ts (remove UserType export)
49
+ * Pipeline: ✅ passes (types.ts is valid)
50
+ * Reality: src/user.ts imports UserType → BROKEN but not checked
51
+ *
52
+ * To catch everything: Run `npx tsc --noEmit` project-wide periodically.
53
+ * ============================================================================
15
54
  */
16
55
 
17
56
  import { spawnSync } from 'child_process';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-flow-novice",
3
- "version": "2.18.25",
3
+ "version": "2.18.26",
4
4
  "description": "Claude Flow Novice - Advanced orchestration platform for multi-agent AI workflows with CFN Loop architecture\n\nIncludes Local RuVector Accelerator and all CFN skills for complete functionality.",
5
5
  "main": "index.js",
6
6
  "type": "module",