claude-flow-novice 1.5.18 → 1.5.19

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.
@@ -1505,6 +1505,36 @@ class UnifiedPostEditPipeline {
1505
1505
 
1506
1506
  async run(filePath, options = {}) {
1507
1507
  const language = this.detectLanguage(filePath);
1508
+
1509
+ // Bypass non-code files (config/documentation)
1510
+ const bypassExtensions = ['.toml', '.md', '.txt', '.json', '.yaml', '.yml'];
1511
+ const ext = path.extname(filePath).toLowerCase();
1512
+ if (bypassExtensions.includes(ext)) {
1513
+ console.log(`\n⏭️ BYPASSED: ${ext} files don't require validation`);
1514
+ return {
1515
+ file: filePath,
1516
+ language,
1517
+ timestamp: new Date().toISOString(),
1518
+ editId: `edit-${Date.now()}-${Math.random().toString(36).substr(2, 9)}`,
1519
+ agentContext: this.extractAgentContext(options),
1520
+ status: 'BYPASSED',
1521
+ bypassed: true,
1522
+ reason: `${ext} files are configuration/documentation and don't require validation`,
1523
+ summary: {
1524
+ success: true,
1525
+ warnings: [],
1526
+ errors: [],
1527
+ suggestions: []
1528
+ }
1529
+ };
1530
+ }
1531
+
1532
+ // Auto-enable Rust strict mode for .rs files
1533
+ if (language === 'rust' && !this.rustStrict) {
1534
+ this.rustStrict = true;
1535
+ console.log('🦀 Auto-enabled Rust strict mode for .rs file');
1536
+ }
1537
+
1508
1538
  const results = {
1509
1539
  file: filePath,
1510
1540
  language,
package/CHANGELOG.md CHANGED
@@ -7,6 +7,28 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [1.5.19] - 2025-10-01
11
+
12
+ ### ✨ Added
13
+ - **Auto-enable Rust Strict Mode**: Automatically enables `--rust-strict` flag for `.rs` files
14
+ - Detects `.unwrap()`, `.expect()`, `panic!()`, `todo!()`, `unimplemented!()`
15
+ - Provides line numbers, code snippets, and actionable suggestions
16
+ - No manual flag required - activates automatically for all Rust files
17
+ - Populates `rustQuality` JSON field with comprehensive analysis
18
+ - **Bypass Non-Code Files**: Skip validation for config/documentation files
19
+ - Bypassed extensions: `.toml`, `.md`, `.txt`, `.json`, `.yaml`, `.yml`
20
+ - Returns immediate success status without running formatters/linters
21
+ - Improves performance for Cargo.toml, README.md, package.json edits
22
+ - Agent-friendly: no wasted processing on configuration files
23
+
24
+ ### 🔧 Improved
25
+ - **Post-Edit Pipeline**: Smarter file type detection and processing
26
+ - Console shows `🦀 Auto-enabled Rust strict mode` for visibility
27
+ - Bypass message: `⏭️ BYPASSED: .md files don't require validation`
28
+ - Structured JSON includes `bypassed: true` and reason field
29
+
30
+ ## [1.5.18] - Previous Release
31
+
10
32
  ### ✨ Added
11
33
  - **`/fullstack` Slash Command**: Launch coordinated full-stack development team with consensus validation
12
34
  - Automatic team composition (researcher, coder, tester, reviewer, architect)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-flow-novice",
3
- "version": "1.5.18",
3
+ "version": "1.5.19",
4
4
  "description": "Standalone Claude Flow for beginners - AI agent orchestration made easy with enhanced TDD testing pipeline. Enhanced init command creates complete agent system, MCP configuration with 30 essential tools, and automated hooks with single-file testing, real-time coverage analysis, and advanced validation. Fully standalone with zero external dependencies, complete project setup in one command.",
5
5
  "mcpName": "io.github.ruvnet/claude-flow",
6
6
  "main": ".claude-flow-novice/dist/index.js",