Repository navigation
docs: surface bounded embedding activation - #1533
Conversation
Problem: semantic embedding status exposed configuration and backlog state, but did not tell the operator the next safe bounded command. That left live activation and first catch-up steps implicit even after bounded preflight/backfill support landed. What changed: embed status now prints bounded preflight/backfill next actions, distinguishing daemon-enabled catch-up from the disabled pre-enable path. Search docs now describe the bounded activation and catch-up workflow, including why max-messages uses live counts. Verification: pytest -q tests/unit/cli/test_embed_status_fast.py --tb=short; ruff format --check polylogue/cli/shared/embed_stats.py tests/unit/cli/test_embed_status_fast.py; ruff check polylogue/cli/shared/embed_stats.py tests/unit/cli/test_embed_status_fast.py; python -m mypy polylogue/cli/shared/embed_stats.py tests/unit/cli/test_embed_status_fast.py; POLYLOGUE_FORCE_PLAIN=1 timeout 20 polylogue embed status
|
Warning Review limit reached
Your plan includes 1 review of capacity. Refill in 25 minutes and 52 seconds. Your organization has run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After more review capacity refills, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than trial, open-source, and free plans. In all cases, review capacity refills continuously over time. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (3)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
polylogue embed statusnow prints explicit bounded next actions for semantic-search activation and first catch-up.docs/search.mddocuments the same activation flow, including the distinction between fast conversation-count windows and hard live-count message windows.Problem
After #1531/#1532, the mechanics for bounded embedding catch-up and daemon progress existed, but the operator still had to infer the safe first commands from status fields and docs spread across search/architecture. On the live archive this matters: embeddings are disabled, the key is present, and there are 7,951 pending conversations, so the next step must be obvious and bounded.
Solution
Embedding status now prints:
Search docs now include the activation/catch-up sequence and explicitly state that
--max-messagesuses live counts because it is a hard cap, while--max-conversationsmay use materialized stats for speed.Verification
pytest -q tests/unit/cli/test_embed_status_fast.py --tb=short— 8 passed.ruff format --check polylogue/cli/shared/embed_stats.py tests/unit/cli/test_embed_status_fast.py— passed.ruff check polylogue/cli/shared/embed_stats.py tests/unit/cli/test_embed_status_fast.py— passed.python -m mypy polylogue/cli/shared/embed_stats.py tests/unit/cli/test_embed_status_fast.py— passed.POLYLOGUE_FORCE_PLAIN=1 timeout 20 polylogue embed status— live read-only smoke showed the new activation/preflight/backfill lines against the real archive.devtools render-all --check— passed after refreshing the docs site cache.devtools verify --quick— passed.Ref #1503