Skip to content

Commit 8c02f11

Browse files
committed
release: synaptic-memory v0.2.0 — PostgreSQL 백엔드 + PyPI 준비
v0.2.0 릴리즈: - PostgreSQL 백엔드 (pgvector HNSW + pg_trgm + recursive CTE) - 코드 품질 개선 (Literal direction, configurable consolidation) - 문서: README, ARCHITECTURE, ROADMAP, CHANGELOG - GitHub Actions CI - PyPI 메타데이터 (classifiers, URLs, keywords) - 106 tests (93 unit + 13 integration)
1 parent e376fc9 commit 8c02f11

File tree

3 files changed

+58
-2
lines changed

3 files changed

+58
-2
lines changed

CHANGELOG.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# Changelog
2+
3+
## v0.2.0 (2026-03-21)
4+
5+
### Added
6+
- **PostgreSQL backend** — asyncpg + pgvector HNSW + pg_trgm + recursive CTE
7+
- Vector search with cosine distance (pgvector)
8+
- Trigram fuzzy matching with graceful ILIKE fallback
9+
- Hybrid search method: FTS + fuzzy + vector merged results
10+
- Connection pooling (asyncpg Pool, min=2, max=10)
11+
- Configurable `embedding_dim` parameter
12+
- `execute_raw()` for admin/testing SQL
13+
- `ResonanceWeights` added to public exports
14+
- Configurable consolidation thresholds (TTL, promotion access counts)
15+
- Edge direction type safety: `Literal["both", "incoming", "outgoing"]`
16+
- SQLite batch operations with rollback on error
17+
- README.md, ARCHITECTURE.md, ROADMAP.md documentation
18+
- GitHub Actions CI (Python 3.12/3.13)
19+
- Integration test suite for PostgreSQL (13 tests)
20+
21+
### Changed
22+
- Consolidation constants now accept `__init__` parameters instead of module globals
23+
24+
## v0.1.0 (2026-03-21)
25+
26+
### Added
27+
- Core models: Node, Edge, ActivatedNode, SearchResult, DigestResult
28+
- Enums: NodeKind (9), EdgeKind (7), ConsolidationLevel (4)
29+
- Protocols: StorageBackend, Digester, QueryRewriter, TagExtractor
30+
- SynapticGraph facade: add, link, search, reinforce, consolidate, prune, decay
31+
- Hybrid 3-stage search: FTS + fuzzy → synonym expansion → query rewrite
32+
- Hebbian learning engine: co-activation reinforcement with anti-resonance
33+
- 4-axis resonance scoring: relevance × importance × recency × vitality
34+
- Memory consolidation cascade: L0→L1→L2→L3 with TTL and promotion
35+
- Korean/English synonym map (38 groups)
36+
- Markdown exporter
37+
- MemoryBackend (dict-based, zero deps)
38+
- SQLiteBackend (FTS5, recursive CTE, WAL mode)
39+
- 93 unit tests, pyright strict, ruff clean

pyproject.toml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,30 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "synaptic-memory"
7-
version = "0.1.0"
7+
version = "0.2.0"
88
description = "Brain-inspired knowledge graph: spreading activation, Hebbian learning, memory consolidation."
99
license = "MIT"
1010
requires-python = ">=3.12"
11+
readme = "README.md"
1112
authors = [{ name = "Son Seongjun" }]
13+
keywords = ["knowledge-graph", "hebbian-learning", "spreading-activation", "memory-consolidation"]
14+
classifiers = [
15+
"Development Status :: 4 - Beta",
16+
"Intended Audience :: Developers",
17+
"License :: OSI Approved :: MIT License",
18+
"Programming Language :: Python :: 3.12",
19+
"Programming Language :: Python :: 3.13",
20+
"Topic :: Scientific/Engineering :: Artificial Intelligence",
21+
"Framework :: AsyncIO",
22+
"Typing :: Typed",
23+
]
1224
dependencies = []
1325

26+
[project.urls]
27+
Homepage = "https://github.com/PlateerLab/synaptic-memory"
28+
Repository = "https://github.com/PlateerLab/synaptic-memory"
29+
Changelog = "https://github.com/PlateerLab/synaptic-memory/blob/main/CHANGELOG.md"
30+
1431
[project.optional-dependencies]
1532
postgresql = ["asyncpg>=0.30", "pgvector>=0.3"]
1633
sqlite = ["aiosqlite>=0.20"]

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)