Skip to content

Commit fdebd30

Browse files
committed
chore: prepare v1.3.1 release
1 parent 77d60ab commit fdebd30

3 files changed

Lines changed: 69 additions & 13 deletions

File tree

CHANGELOG.md

Lines changed: 31 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,36 @@ 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.3.1] - 2026-04-27
9+
10+
### Added
11+
12+
- Pending journal retention: max 50 entries, 30-day TTL, automatic pruning on save.
13+
- Plugin capability test to catch missing OpenCode hooks before release.
14+
- CI workflow for weekly OpenCode plugin API compatibility testing.
15+
- Indirect prompt-injection filtering for workspace memory candidates.
16+
- Expanded credential redaction for common API key, token, secret, credential, auth, and private-key labels.
17+
18+
### Fixed
19+
20+
- Pending memory journal entries are now bounded and pruned instead of growing indefinitely.
21+
- Adversarial memory candidates that try to override system instructions are rejected before storage.
22+
- Broader credential-like labels are redacted from workspace memory text.
23+
24+
### Changed
25+
26+
- Memory dedupe is now repo-agnostic: project/reference entries use exact canonical text plus generic URL/path identity, while decision/feedback entries no longer use repository-specific topic heuristics.
27+
- OpenCode plugin compatibility is documented and declared as `>=1.2.0 <2.0.0`.
28+
- README limitations now concisely document compatibility, secret handling, semantic-memory scope, plugin ordering, and multi-process write boundaries.
29+
30+
### Known Limitations
31+
32+
- Compatibility is tested against OpenCode plugin API `>=1.2.0 <2.0.0`.
33+
- Credential redaction is best-effort; do not store secrets.
34+
- This is working memory, not semantic search.
35+
- Other prompt or compaction plugins may conflict depending on plugin order.
36+
- Multi-process writes to the same workspace are not fully serialized.
37+
838
## [1.3.0] - 2026-04-27
939

1040
### Added
@@ -16,11 +46,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1646
- Remove absorbed/superseded keys from rejected set to avoid duplicate rejection tracking.
1747
- Memory quality evaluation fixtures covering accepted durable facts and rejected noisy facts.
1848
- Sharper compaction memory extraction prompt with concrete good/bad memory examples.
19-
- Pending journal retention: max 50 entries, 30-day TTL, automatic pruning on save.
20-
- Plugin capability test to catch missing OpenCode hooks before release.
21-
- CI workflow for weekly OpenCode plugin API compatibility testing.
22-
- Indirect prompt-injection filtering for workspace memory candidates.
23-
- Expanded credential redaction for common API key, token, secret, credential, auth, and private-key labels.
2449

2550
### Fixed
2651

@@ -32,18 +57,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3257

3358
### Changed
3459

60+
- Deferred pending journal safety cap implementation (see TODO in `src/pending-journal.ts`).
3561
- Clarified superseded accounting semantics: P0 emits events only, does not archive newly superseded records.
3662
- README structure was streamlined around the automatic memory flow and ongoing memory-quality work.
3763
- Architecture docs now describe `Memory candidates:` as the primary extraction format and XML candidate blocks as legacy.
3864
- Superpowers implementation plans are no longer tracked in git.
3965

40-
### Known Limitations
41-
42-
- Compatibility is tested against OpenCode plugin API `>=1.2.0 <2.0.0`.
43-
- Credential redaction is best-effort; do not store secrets.
44-
- This is working memory, not semantic search.
45-
- Multi-process writes to the same workspace are not fully serialized.
46-
4766
## [1.2.3] - 2026-04-26
4867

4968
### Added

RELEASE_NOTES.md

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

3+
## 1.3.1 (2026-04-27)
4+
5+
### Security and Reliability Patch
6+
7+
This patch release keeps the v1.3 memory-consolidation model intact while tightening storage safety, compatibility checks, and repository-agnostic dedupe behavior.
8+
9+
### What Changed
10+
11+
- **Bounded pending journal**: pending memories are capped at 50 entries and pruned after 30 days.
12+
- **Security hardening**: workspace memory candidates now reject indirect prompt-injection attempts, and redaction covers broader token, secret, credential, auth, and private-key labels.
13+
- **Compatibility coverage**: plugin capability tests and weekly OpenCode plugin API compatibility CI help catch hook drift before release.
14+
- **Repo-agnostic dedupe**: long-term memory dedupe no longer depends on hardcoded project-specific topic rules; project/reference memories use generic URL/path identity plus exact canonical matching.
15+
- **Clearer limitations**: README and changelog now document compatibility, best-effort secret redaction, working-memory scope, plugin ordering, and multi-process write boundaries.
16+
17+
### Thanks
18+
19+
- Thanks @StevenChoo for the security hardening contribution in #3.
20+
21+
### Upgrade Notes
22+
23+
- No user migration is required.
24+
- Existing workspace memory and pending journal files remain compatible.
25+
- The OpenCode config entry stays the same:
26+
27+
```json
28+
{
29+
"plugin": ["opencode-working-memory"]
30+
}
31+
```
32+
33+
### Validation
34+
35+
- `npm test`
36+
- `npm run typecheck`
37+
38+
---
39+
340
## 1.3.0 (2026-04-27)
441

542
### Better Memory Consolidation

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