principles-disciple 1.65.0 → 1.66.0

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.
@@ -2,7 +2,7 @@
2
2
  "id": "principles-disciple",
3
3
  "name": "Principles Disciple",
4
4
  "description": "Evolutionary programming agent framework with strategic guardrails and reflection loops.",
5
- "version": "1.65.0",
5
+ "version": "1.66.0",
6
6
  "skills": [
7
7
  "./skills"
8
8
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "principles-disciple",
3
- "version": "1.65.0",
3
+ "version": "1.66.0",
4
4
  "description": "Native OpenClaw plugin for Principles Disciple",
5
5
  "type": "module",
6
6
  "main": "./dist/bundle.js",
@@ -416,12 +416,10 @@ export class EventLog {
416
416
  }
417
417
  } else if (Object.prototype.hasOwnProperty.call(raw, 'success')) {
418
418
  // Legacy format: { success: boolean }
419
- // Apply agreed default semantics: treat as 'success' if true, 'missing_json' if false
420
- if (raw['success']) {
421
- stats.evolution.diagnosticianReportsWritten++;
422
- }
423
- // Note: legacy 'false' entries are not counted in any sub-counter since
424
- // the old system had no such breakdown; they are invisible in sub-stats.
419
+ // Agreed fix: count ALL legacy events in diagnosticianReportsWritten (+1 for both true and false).
420
+ // Sub-counters (reportsMissingJson/reportsIncompleteFields) stay untouched because
421
+ // legacy events lack enough information to distinguish sub-category — preserve total, don't fake breakdown.
422
+ stats.evolution.diagnosticianReportsWritten++;
425
423
  }
426
424
  } else if (entry.type === 'principle_candidate') {
427
425
  stats.evolution.principleCandidatesCreated++;