|
1 | 1 | # Release Notes |
2 | 2 |
|
| 3 | +## 1.4.0 (2026-04-28) |
| 4 | + |
| 5 | +### Memory Quality Cleanup |
| 6 | + |
| 7 | +This minor release automatically improves memory quality for all existing users on upgrade. Low-quality compaction memories are identified and superseded without requiring manual cleanup. |
| 8 | + |
| 9 | +### What Changed |
| 10 | + |
| 11 | +- **Unified quality gate**: All memory types (feedback, decision, project, reference) now share the same quality rules instead of only project entries having a quality check. |
| 12 | +- **Hardened compaction prompt**: The model is explicitly instructed that most compactions should produce zero memories, with clear good/bad examples. |
| 13 | +- **Auto-supersede migration**: On first load after upgrade, existing low-quality `compaction` memories are automatically marked as `superseded` with quality tags. Explicit and manual memories are never affected. |
| 14 | + |
| 15 | +### What Gets Cleaned Up |
| 16 | + |
| 17 | +Low-quality memory patterns that are now rejected/superseded: |
| 18 | + |
| 19 | +- Progress snapshots: "Wave 1 completed successfully", "180 tests passed" |
| 20 | +- Session-internal notes: "The assistant reviewed feedback and updated the plan" |
| 21 | +- Implementation notes: "Implemented X in plugin.ts" |
| 22 | +- Commit/CI references: "Commit a762e86 contains the fix" |
| 23 | +- Raw errors and stack traces |
| 24 | +- Temporary status: "Currently running npm test" |
| 25 | + |
| 26 | +### Migration Behavior |
| 27 | + |
| 28 | +- Runs exactly once per workspace (idempotent, non-destructive) |
| 29 | +- Only affects `source: "compaction"` entries |
| 30 | +- Explicit/manual memories are protected |
| 31 | +- Superseded entries retain `status: "superseded"` and quality tags for audit |
| 32 | +- No user action required |
| 33 | + |
| 34 | +### Upgrade Notes |
| 35 | + |
| 36 | +- No configuration changes required. |
| 37 | +- Existing workspace memory files are automatically cleaned on first load. |
| 38 | +- The OpenCode config entry stays the same: |
| 39 | + |
| 40 | +```json |
| 41 | +{ |
| 42 | + "plugin": ["opencode-working-memory"] |
| 43 | +} |
| 44 | +``` |
| 45 | + |
| 46 | +### Validation |
| 47 | + |
| 48 | +- `npm test` (196 tests) |
| 49 | +- `npm run typecheck` |
| 50 | + |
| 51 | +--- |
| 52 | + |
3 | 53 | ## 1.3.2 (2026-04-27) |
4 | 54 |
|
5 | 55 | ### CI Compatibility Patch |
|
0 commit comments