| feat(pgdirect): SQL-backed storage backend replacing AGFS
Direct PostgreSQL storage implementation:
- SQLContextFS: full ContextFS implementation with RLS tenant isolation
- SQLOutboxStore: listen-notify based async indexing
- SQLRelationStore, SQLArchiveStore: relation and session persistence
- SQLControlPlaneStore: multi-instance auth state sharing
- Shared connection pool (PoolAdapterMixin) with health checks
- Atomic write+outbox in single transaction
- Archive chain support (soft delete + outbox event)
- Owner-level ACL with visible_owner_spaces
- PostgreSQL schema with idempotent ensure_schema()
- Updated docs/setup scripts to replace AGFS with PostgreSQL
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
| 26 天前 |
| Merge remote-tracking branch 'dawnbreaker28/pgdirect-clean' into verify/pr75-pgdirect
# Conflicts:
# README.md
| 26 天前 |
| refactor: dead code removal and embedding model migration to bge-m3
Remove unused code across the codebase and migrate embedding model
from bge-large-en-v1.5 (dim 1536) to bge-m3 (dim 1024).
Dead code removed:
- lifecycle/aging_job.py (entire module)
- OwnerScope enum, unused VectorIndex methods
- _flush_session, poll_task/TaskStatus, _normalize_path
- GPT-3.5 constants, get_st_embedder, UserInfo dataclass
Cleanup: unused imports, datetime.utc modernization, import sorting.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
| 1 个月前 |
| feat: add BM25 hybrid retrieval, dream lifecycle, and extraction improvements
- Add BM25 keyword index with Vector-Anchored Fusion for hybrid seed retrieval
- Add DreamService lifecycle subsystem with RecallTracker, SQLRecallStore, and LightDreaming phase
- Merge dual-run extraction results by (category, routing_key) to reduce duplicates
- Raise extraction confidence threshold from 0.5 to 0.6
- Remove L1 (overview) level from index records, enrich metadata with when/who/where
- Add list_archives_since to SQLSessionArchiveStore for dream recall queries
- Integrate recall tracking into RetrievalPipeline and MemoryService
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
| 21 天前 |
| feat(pgdirect): SQL-backed storage backend replacing AGFS
Direct PostgreSQL storage implementation:
- SQLContextFS: full ContextFS implementation with RLS tenant isolation
- SQLOutboxStore: listen-notify based async indexing
- SQLRelationStore, SQLArchiveStore: relation and session persistence
- SQLControlPlaneStore: multi-instance auth state sharing
- Shared connection pool (PoolAdapterMixin) with health checks
- Atomic write+outbox in single transaction
- Archive chain support (soft delete + outbox event)
- Owner-level ACL with visible_owner_spaces
- PostgreSQL schema with idempotent ensure_schema()
- Updated docs/setup scripts to replace AGFS with PostgreSQL
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
| 26 天前 |
| refactor: dead code removal and embedding model migration to bge-m3
Remove unused code across the codebase and migrate embedding model
from bge-large-en-v1.5 (dim 1536) to bge-m3 (dim 1024).
Dead code removed:
- lifecycle/aging_job.py (entire module)
- OwnerScope enum, unused VectorIndex methods
- _flush_session, poll_task/TaskStatus, _normalize_path
- GPT-3.5 constants, get_st_embedder, UserInfo dataclass
Cleanup: unused imports, datetime.utc modernization, import sorting.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
| 1 个月前 |
| 增加outbox调度器和索引失败的避退延迟处理
| 2 个月前 |
| feat(pgdirect): SQL-backed storage backend replacing AGFS
Direct PostgreSQL storage implementation:
- SQLContextFS: full ContextFS implementation with RLS tenant isolation
- SQLOutboxStore: listen-notify based async indexing
- SQLRelationStore, SQLArchiveStore: relation and session persistence
- SQLControlPlaneStore: multi-instance auth state sharing
- Shared connection pool (PoolAdapterMixin) with health checks
- Atomic write+outbox in single transaction
- Archive chain support (soft delete + outbox event)
- Owner-level ACL with visible_owner_spaces
- PostgreSQL schema with idempotent ensure_schema()
- Updated docs/setup scripts to replace AGFS with PostgreSQL
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
| 26 天前 |