Skip to content

Commit 2dbfb50

Browse files
committed
chore(release): prepare v1.5.1
1 parent d569297 commit 2dbfb50

3 files changed

Lines changed: 51 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,21 @@ 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.5.1] - 2026-04-30
9+
10+
### Added
11+
12+
- Per-workspace evidence log for extraction, promotion, reinforcement, render, storage, and hook lifecycle events.
13+
- `memory-diag health --json` for machine-readable diagnostics.
14+
- `memory-diag explain` for per-memory render status, strength, reasons, and evidence event IDs.
15+
- `memory-diag trace --memory <id>` for memory lifecycle history.
16+
- UTC calendar-day reinforcement gate so repeated matches cannot inflate a memory multiple times in the same day.
17+
18+
### Changed
19+
20+
- Retention constants and calculations moved to `src/retention.ts`.
21+
- `safetyCritical` is now fully inert: no retention multiplier and no type-cap bypass, while remaining JSON-compatible.
22+
823
## [1.5.0] - 2026-04-29
924

1025
### Added

RELEASE_NOTES.md

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

3+
## 1.5.1 (2026-04-30)
4+
5+
### Evidence Loop and Explainability
6+
7+
This release adds an evidence-based audit trail for memory lifecycle events and user-facing diagnostics for understanding why memories are rendered, promoted, or rejected.
8+
9+
> **Evidence before sublimation.** Every memory decision can be traced.
10+
11+
### What Changed
12+
13+
- **Evidence log**: extraction, promotion, reinforcement, render, and storage events are now recorded in a per-workspace `events.jsonl` with 90-day retention and 5000-event cap.
14+
- **User explainability**: `memory-diag explain` shows per-memory render status with strength, reasons, and evidence. `memory-diag trace --memory <id>` shows the full lifecycle history.
15+
- **Machine-readable diagnostics**: `memory-diag health --json` outputs structured `MemoryDiagJSON` for scripting.
16+
- **Calendar-day reinforcement gate**: reinforcement now requires distinct UTC calendar days, preventing repetitive-task gaming that could inflate a memory's strength within a single day.
17+
- **SafetyCritical deprecation complete**: the `safetyCritical` field no longer affects retention strength or type-cap bypass. All memories fade by the same rules.
18+
- **Retention module extraction**: retention constants and calculations moved to `src/retention.ts` for cleaner separation.
19+
20+
### Privacy
21+
22+
- Evidence text previews are credential-redacted. Memory content is stored as truncated hashes, never in full.
23+
- Diagnostics default to redacted output. `--raw` is available for maintainers.
24+
25+
### Upgrade Notes
26+
27+
- No configuration changes required.
28+
- Existing workspace memory files remain compatible.
29+
- Evidence logs are created automatically; no migration needed.
30+
31+
### Validation
32+
33+
- `npm run typecheck`
34+
- `npm test` — 271 tests passing
35+
36+
---
37+
338
## 1.5.0 (2026-04-29)
439

540
### Retention Decay Model

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.5.0",
3+
"version": "1.5.1",
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)