erosolar-cli 1.6.29 → 1.6.31

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.
@@ -79,8 +79,13 @@
79
79
  "severity": "required"
80
80
  },
81
81
  {
82
- "id": "guardrail.git_safety",
83
- "summary": "Only create git commits when explicitly requested. Never update config, run destructive commands, skip hooks, or force push to main without explicit request. Always check authorship before amending.",
82
+ "id": "guardrail.git_efficiency",
83
+ "summary": "Do NOT run redundant git commands. Use single combined commands like 'git add -A && git commit -m msg && git push' instead of separate status/add/status/commit/push calls. Never run git status multiple times.",
84
+ "severity": "critical"
85
+ },
86
+ {
87
+ "id": "guardrail.npm_publish",
88
+ "summary": "When publishing to npm, use single command chain: 'npm version patch && npm run build && npm publish && git push'. Do NOT check version separately, do NOT run dry-run unless asked.",
84
89
  "severity": "critical"
85
90
  },
86
91
  {
@@ -47,6 +47,16 @@
47
47
  { "label": "package.json", "file": "package.json" }
48
48
  ]
49
49
  },
50
+ {
51
+ "id": "guardrail.git_efficiency",
52
+ "summary": "Do NOT run redundant git commands. Use single combined commands like 'git add -A && git commit -m msg && git push' instead of separate status/add/status/commit/push calls.",
53
+ "severity": "critical"
54
+ },
55
+ {
56
+ "id": "guardrail.npm_publish",
57
+ "summary": "When publishing to npm, use single command chain: 'npm version patch && npm run build && npm publish && git push'. Do NOT check version separately.",
58
+ "severity": "critical"
59
+ },
50
60
  {
51
61
  "id": "guardrail.sophisticated_solutions",
52
62
  "summary": "ALWAYS seek the most sophisticated, complete, and production-ready solution. Never settle for quick hacks, partial implementations, or minimal viable fixes.",
@@ -1 +1 @@
1
- {"version":3,"file":"systemPrompt.d.ts","sourceRoot":"","sources":["../../src/shell/systemPrompt.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAE/D,wBAAgB,4BAA4B,CAC1C,UAAU,EAAE,MAAM,EAClB,YAAY,EAAE,MAAM,EACpB,KAAK,EAAE,sBAAsB,EAAE,GAC9B,MAAM,CAiDR"}
1
+ {"version":3,"file":"systemPrompt.d.ts","sourceRoot":"","sources":["../../src/shell/systemPrompt.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAE/D,wBAAgB,4BAA4B,CAC1C,UAAU,EAAE,MAAM,EAClB,YAAY,EAAE,MAAM,EACpB,KAAK,EAAE,sBAAsB,EAAE,GAC9B,MAAM,CA2CR"}
@@ -10,21 +10,15 @@ export function buildInteractiveSystemPrompt(basePrompt, profileLabel, tools) {
10
10
  '✓ Tool usage is narrated to the operator in real time',
11
11
  ];
12
12
  const behaviorGuidelines = [
13
- 'INTERPRETATION: Unless the user specifies exact details, always use the BROADEST reasonable interpretation of their request—anticipate related needs, cover more use cases, and provide comprehensive solutions rather than minimal literal implementations',
14
- 'ALWAYS seek the most sophisticated, complete, and production-ready solution—never settle for quick hacks or partial implementations',
15
- 'Execute continuously until the task is fully complete: analyze → plan → implement → report, without stopping for confirmation unless blocked',
16
- 'Narrate intent before using tools',
17
- 'Follow rulebook guardrails; cite rule IDs when referencing',
13
+ 'INTERPRETATION: Unless the user specifies exact details, always use the BROADEST reasonable interpretation of their request',
14
+ 'Execute continuously until complete: analyze plan implement report',
15
+ 'Narrate intent before using tools; keep responses concise',
18
16
  'Use README, package.json, and workspace context as evidence',
19
17
  'Read before editing; re-read after to confirm',
20
- 'Keep responses concise; reference actual commands/files',
21
- 'Request missing info explicitly only when genuinely blocked—otherwise make informed decisions and proceed',
22
- 'For self-improvement tasks: make changes, commit frequently, and push when complete',
23
- 'When multiple approaches exist, choose the most robust, maintainable, and architecturally sound option',
24
- 'VALIDATION: Do NOT run type-check, build, test, or health-check after each tool call. Complete ALL edits first, then run a SINGLE validation at the very end if the task indicates success',
25
- 'EDGE CASE: For destructive operations (delete, overwrite, force-push), pause for confirmation unless explicitly pre-authorized',
26
- 'EDGE CASE: If circular dependencies or infinite loops are detected, break the cycle and report the issue',
27
- 'EDGE CASE: When validation is impossible (missing deps, no test suite), document the gap and suggest manual verification steps',
18
+ 'VALIDATION: Do NOT run type-check, build, test, health-check, lint, or quality-gate after each tool. Complete ALL edits first, run ONE validation at the end only if needed',
19
+ 'GIT EFFICIENCY: Do NOT run redundant git commands. Use single combined commands: "git add -A && git commit -m msg && git push" instead of separate status/add/status/commit/push calls',
20
+ 'NPM PUBLISH: When user says "push update npm" or similar, run: npm version patch && npm run build && npm publish && git push (single command chain)',
21
+ 'EDGE CASE: For destructive operations, pause for confirmation unless pre-authorized',
28
22
  ];
29
23
  const behaviorSection = behaviorGuidelines
30
24
  .map((line, index) => `${index + 1}. ${line}`)
@@ -1 +1 @@
1
- {"version":3,"file":"systemPrompt.js","sourceRoot":"","sources":["../../src/shell/systemPrompt.ts"],"names":[],"mappings":"AAEA,MAAM,UAAU,4BAA4B,CAC1C,UAAkB,EAClB,YAAoB,EACpB,KAA+B;IAE/B,MAAM,IAAI,GAAG,YAAY,IAAI,cAAc,CAAC;IAC5C,MAAM,WAAW,GAAG,iBAAiB,CAAC,KAAK,EAAE,EAAE,oBAAoB,EAAE,EAAE,EAAE,CAAC,CAAC;IAE3E,MAAM,eAAe,GAAG;QACtB,sCAAsC;QACtC,mDAAmD;QACnD,sEAAsE;QACtE,qCAAqC;QACrC,kDAAkD;QAClD,uDAAuD;KACxD,CAAC;IAEF,MAAM,kBAAkB,GAAG;QACzB,6PAA6P;QAC7P,qIAAqI;QACrI,8IAA8I;QAC9I,mCAAmC;QACnC,4DAA4D;QAC5D,6DAA6D;QAC7D,+CAA+C;QAC/C,yDAAyD;QACzD,2GAA2G;QAC3G,qFAAqF;QACrF,wGAAwG;QACxG,4LAA4L;QAC5L,gIAAgI;QAChI,0GAA0G;QAC1G,gIAAgI;KACjI,CAAC;IAEF,MAAM,eAAe,GAAG,kBAAkB;SACvC,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,GAAG,KAAK,GAA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A0B,CAAC;QACzG,MAAM,OAAO,GAAG,QAAQ,CAAC,WAAW,EAAE,OAAO,CAAC,oBAAoB,CAAC,CAAC;QACpE,OAAO,KAAK,IAAI,CAAC,IAAI,KAAK,OAAO,EAAE,CAAC;IACtC,CAAC,CAAC;SACD,IAAI,CAAC,IAAI,CAAC,CAAC;AAChB,CAAC;AAED,SAAS,kBAAkB,CAAC,KAAa;IACvC,OAAO,KAAK,CAAC,OAAO,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC;AAC3C,CAAC;AAED,SAAS,QAAQ,CAAC,KAAa,EAAE,SAAkB;IACjD,IAAI,CAAC,SAAS,IAAI,KAAK,CAAC,MAAM,IAAI,SAAS,EAAE,CAAC;QAC5C,OAAO,KAAK,CAAC;IACf,CAAC;IACD,MAAM,UAAU,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,SAAS,GAAG,CAAC,CAAC,CAAC;IAC9C,OAAO,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC,EAAE,UAAU,CAAC,CAAC,OAAO,EAAE,KAAK,CAAC;AACtD,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "erosolar-cli",
3
- "version": "1.6.29",
3
+ "version": "1.6.31",
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-optimized.js",
6
6
  "type": "module",