Skip to content

Commit f7139f0

Browse files
committed
chore: prepare v1.4.0 release
1 parent 465edfa commit f7139f0

3 files changed

Lines changed: 72 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,27 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [1.4.0] - 2026-04-28
9+
10+
### Added
11+
12+
- Unified memory quality gate in `src/memory-quality.ts` as the single source of truth for all memory quality rules.
13+
- CRITICAL MEMORY RULES in compaction prompt with explicit good/bad examples.
14+
- Auto-supersede migration `2026-04-28-quality-cleanup` that marks low-quality compaction memories as superseded on first load.
15+
16+
### Changed
17+
18+
- Memory quality rules now apply to all memory types, not just project entries.
19+
- Compaction prompt explicitly instructs model that most compactions should produce zero memories.
20+
- Low-quality compaction memories (progress snapshots, implementation notes, session-internal notes) are automatically superseded during workspace memory normalization.
21+
22+
### Migration Notes
23+
24+
- Existing low-quality `source: "compaction"` entries will be marked as `superseded` once on first load after upgrade.
25+
- Explicit and manual memories are never affected by quality cleanup.
26+
- Superseded entries are retained on disk with `quality_cleanup` tags for audit purposes.
27+
- Migration is idempotent and runs exactly once per workspace.
28+
829
## [1.3.3] - 2026-04-28
930

1031
### Fixed

RELEASE_NOTES.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,55 @@
11
# Release Notes
22

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+
353
## 1.3.2 (2026-04-27)
454

555
### CI Compatibility Patch

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "opencode-working-memory",
3-
"version": "1.3.3",
3+
"version": "1.4.0",
44
"description": "Three-layer memory architecture for OpenCode with workspace memory and hot session state",
55
"type": "module",
66
"main": "index.ts",

0 commit comments

Comments
 (0)