erosolar-cli 1.7.152 → 1.7.153

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/README.md CHANGED
@@ -151,7 +151,7 @@ Erosolar CLI is actively being developed to achieve production readiness. Curren
151
151
 
152
152
  ### Development Tools
153
153
 
154
- The CLI now includes enhanced development tooling:
154
+ The CLI includes comprehensive development tooling:
155
155
 
156
156
  - **TypeScript Type Checking**: Multiple type checking scripts (`type-check`, `type-check:strict`, `type-check:watch`)
157
157
  - **Development Health Check**: Comprehensive environment validation (`npm run dev-health-check`)
@@ -148,6 +148,11 @@
148
148
  "summary": "CRITICAL: Use Edit tool for modifications, not Write. Never rewrite an entire file with Write when Edit can make targeted changes. Multiple Write calls to the same file is a red flag - use Edit for incremental changes.",
149
149
  "severity": "critical"
150
150
  },
151
+ {
152
+ "id": "guardrail.batch_edits",
153
+ "summary": "CRITICAL: Make LARGE batch edits, not line-by-line. Include ALL related changes in a SINGLE Edit call. BAD: Edit line 5, then Edit line 6, then Edit line 7. GOOD: Edit lines 5-7 together with multi-line old_string/new_string. When modifying a table, function, or block, edit the ENTIRE block at once. One Edit with 10 changed lines is better than 10 Edits with 1 changed line each.",
154
+ "severity": "critical"
155
+ },
151
156
  {
152
157
  "id": "guardrail.edit_not_bash",
153
158
  "summary": "CRITICAL: NEVER use bash commands (sed, awk, cat, echo, printf) for file editing. ALWAYS use the Edit tool. The Edit tool is faster, safer, shows diffs, and prevents accidental file corruption. Bash should only be used for: git, npm, node, running scripts, system commands.",
@@ -301,6 +306,11 @@
301
306
  "summary": "Edit one concern at a time; avoid sweeping refactors unless explicitly requested.",
302
307
  "severity": "required"
303
308
  },
309
+ {
310
+ "id": "rule.implementation.batch_changes",
311
+ "summary": "CRITICAL: Batch all related line changes into ONE Edit call. If modifying lines 5-15, use one Edit with multi-line old_string spanning all lines. NEVER edit one line, then the next line, then the next. Plan your changes, construct the full old_string and new_string, make ONE Edit.",
312
+ "severity": "critical"
313
+ },
304
314
  {
305
315
  "id": "rule.implementation.confirm",
306
316
  "summary": "Re-open edited files or rerun explain tools to confirm the change matches the plan.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "erosolar-cli",
3
- "version": "1.7.152",
3
+ "version": "1.7.153",
4
4
  "description": "Unified AI agent framework for the command line - Multi-provider support with schema-driven tools, code intelligence, and transparent reasoning",
5
5
  "main": "dist/bin/erosolar.js",
6
6
  "type": "module",