FTS indexes built with with_position=True crash lance's optimize/compaction on lancedb >= 0.32 when merging an unindexed tail (Max offset exceeds length of values; upstream lance-format/lance#7653). The crash aborts optimize() including version cleanup, so the index dir grows unbounded until the disk fills. everos recall is OR-mode BM25 and never does phrase queries, so positions are never read -- disabling is lossless. - base: default with_position=False - infra: migrate_fts_indexes() rebuilds pre-fix indexes once at startup + reclaims orphans - cascade worker: count consecutive optimize failures, escalate warning->error Fixes #335. Co-authored-by: zhanghui <zhanghui@shanda.com> Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
everos package
Source layout for the everos Python package. This README is a quick
orientation; full architectural detail lives elsewhere.
Layout
everos/
├── entrypoints/ Presentation: cli + api
├── service/ Application: use case orchestration
├── memory/ Domain: extract + search + cascade + prompt_slots + models
├── infra/ Infrastructure: persistence/{markdown, sqlite, lancedb}
├── component/ Cross-cutting providers: llm / embedding / config / utils
├── core/ Runtime base: observability / lifespan / context
└── config/ Data: Settings + default.toml + prompt_slots templates
Each subpackage has a top-level __init__.py describing its responsibility
and public API.
Dependency rule
entrypoints → service → memory → infra
↓
component / core / config
Single-direction; enforced by import-linter in CI.
Further reading
- Architecture: ../../docs/architecture.md
- Coding rules (auto-loaded by Claude Code): ../../.claude/rules/