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.
- package/openclaw.plugin.json +1 -1
- package/package.json +1 -1
- package/src/core/event-log.ts +4 -6
package/openclaw.plugin.json
CHANGED
package/package.json
CHANGED
package/src/core/event-log.ts
CHANGED
|
@@ -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
|
-
//
|
|
420
|
-
|
|
421
|
-
|
|
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++;
|