Sergey
a6491df5a6
refactor(memory): lazy-init embedder + reindex logging ( #100 )
...
* refactor(memory): lazy-init embedder env reads
* feat(memory): reindex log to .rag/reindex.log
* refactor(memory): search handles None embedder
* test(memory): cover None embedder in search and index
* docs(handoff): add handoff and ADR for lazy-init embedder
* docs(handoff): set PR number
* docs(handoff): rename to pr-100 prefix for pipeline detection
* refactor(memory): split run_search to satisfy xenon rank A
* fix(memory): cast search result fields to satisfy mypy
* style(memory): ruff format search.py
---------
Co-authored-by: opencode-agent <agent@opencode.local>
2026-07-27 00:30:16 +03:00
Sergey
25cf10baa6
feat(memory): incremental index with SHA256 + atomic + versioning + flock ( #83 )
...
* feat(memory): add SHA256 incremental index with atomic writes, versioning, flock
* feat(memory): parse Retry-After header and add batch progress logging
* test(memory): add incremental, atomic, versioning, retry, batch tests
* docs(memory): update .env.example with OpenRouter defaults
* docs(handoff): add handoff and ADR-036 for incremental index
* docs(handoff): set PR number
* docs(project-map): update index.py and embedder.py descriptions for PR#83
* fix(ci): skip index rewrite on no-op + versioning first-run
* fix(ci): ruff format index.py
---------
Co-authored-by: opencode-agent <agent@opencode.local>
2026-07-26 19:19:55 +03:00
Sergey
80a4be1d21
refactor(memory): rename to memory, OpenAI env, chunking, batching, dedup ( #75 )
...
* refactor(memory): rename package second-brain to memory
* refactor(memory): use OpenAI env naming and fix trailing slash
* feat(memory): add chunking with env-configurable size and overlap
* feat(memory): dedup search results by source in top-K
* test(memory): add chunking, batching, dedup, live tests
* docs(memory): update README and project map after rename
* docs(handoff): add handoff and ADR-032 for memory refactor
* docs(handoff): set PR number
* fix(ci): reduce index.py complexity to rank A
---------
Co-authored-by: opencode-agent <agent@opencode.local>
2026-07-26 16:13:05 +03:00
Sergey
6005c88203
feat: migrate src/ second-brain + tests + python tooling ( #17 )
...
* feat(src): migrate second-brain RAG CLI + tests
* fix(embedder): strip hardcoded ai.slaid098.dev endpoint
* refactor: rename slaid098/opencode to opencode-config
* docs(handoff): add pr-5 handoff + ADR-001
* fix(docs): rebase handoff/ADR naming to PR number + drop dangling ADR-009 refs
* fix(tests): update script paths + assertions for opencode-config migration
* fix(pyproject): update cov + ruff paths config/scripts -> .opencode/scripts
* docs: update project map + handoff + ADR
---------
Co-authored-by: opencode-agent <agent@slaid098.dev>
2026-07-23 23:17:18 +03:00