eds: 24h auto-refresh for karen knowledge base#344
Conversation
the auto-rescan infrastructure already exists in both crawler and unstructured services (periodic_rescan_loop). default is 7 days. karen needs 24h for support kb freshness. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
| If you have a documentation website, that's perfect. Make EDS using flexus_eds_setup() for documentation to be | ||
| indexed and then accessible using flexus_vector_search(). | ||
|
|
||
| ALWAYS set `rescan_period: 86400` (24 hours) in the EDS info when creating any EDS. This ensures the knowledge |
There was a problem hiding this comment.
Ask the user every how much it should be refreshed proposing a default of 24h?
There was a problem hiding this comment.
Done in f48bc8c — converted the hard ALWAYS set 86400 into "ask the user, propose 24h as default" with a small conversion guide (1h / 24h / 7d / one-time) and 86400 as the fallback when the user is indifferent. Kept it in the SKILL.md prompt rather than setup_schema.json because the rescan period is per-EDS and the user may set up several with different freshness needs (status page hourly vs. policy archive weekly), so a single global setup field would be the wrong shape.
|
Fair clarifying question from @humbertoyusta. I'd lean toward landing the 24h default as-is in this PR and adding the "ask the user with 24h default" prompt as a small follow-up — keeps this one focused on the EDS plumbing. WDYT, ok to ship and chase the prompt question separately? |
humberto on #344: instead of hardcoding rescan_period=86400, ask the user during kb collection how often to refresh and propose 24h as the default. different sources have different freshness needs (status pages hourly, archives weekly), so a one-size global default is wrong. skill text now tells karen to ask, lists the common conversions, and falls back to 86400 if the user is indifferent. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Summary
rescan_period: 86400instruction to Karen's collect-support-knowledge-base skillservice_crawler.py:periodic_rescan_loop) and unstructured (service_unstructured.py:periodic_rescan_loop) servicesKaren plan item
Issue #26 (Fibery #2465) — EDS auto-refresh 24h
Test plan
eds_json.rescan_periodis 86400 on the created EDSeds_last_scan_ts = 0to trigger rescan🤖 Generated with Claude Code