Skip to content

feat(backend): auto-create idx:agent_memory vector index on startup (#2645)#2940

Merged
mrveiss merged 1 commit intoDev_new_guifrom
issue-2645
Mar 30, 2026
Merged

feat(backend): auto-create idx:agent_memory vector index on startup (#2645)#2940
mrveiss merged 1 commit intoDev_new_guifrom
issue-2645

Conversation

@mrveiss
Copy link
Copy Markdown
Owner

@mrveiss mrveiss commented Mar 30, 2026

Summary

  • Adds _ensure_agent_memory_index() to background init phase
  • Calls existing handle_redis_vector_create_index utility
  • Idempotent: skips if index already exists
  • Non-critical: warnings only on failure

Closes #2645

Test Plan

  • Start backend with empty Redis — verify index is created
  • Restart backend — verify idempotent behavior
  • Verify index: FT.INFO idx:agent_memory

🤖 Generated with Claude Code

…2645)

Adds _ensure_agent_memory_index() to background initialization phase.
Creates the RediSearch vector index idempotently using existing
handle_redis_vector_create_index utility.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@mrveiss mrveiss merged commit 46785f1 into Dev_new_gui Mar 30, 2026
2 of 4 checks passed
@mrveiss mrveiss deleted the issue-2645 branch March 30, 2026 18:08
@github-actions
Copy link
Copy Markdown

⚠️ SSOT Configuration Compliance: Violations Found

Metric Count
Total Violations 4
SSOT Violations (high priority) 3
Other Violations 1

⚠️ 3 values have SSOT config equivalents!

These should be replaced with SSOT config imports:

Python:

from src.config.ssot_config import config
# Use: config.vm.main, config.port.backend, config.backend_url

TypeScript:

import config from '@/config/ssot-config'
// Use: config.vm.main, config.port.backend, config.backendUrl

📖 See SSOT_CONFIG_GUIDE.md for documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant