#!/usr/bin/env python3
"""AGI v4 — Goal: SELF_HEAL
Trimmed text vectors to 100 chars to optimize vecs=11025
"""

import sqlite3
conn = sqlite3.connect('/Eden/DATA/vector_memory.db')
conn.execute("UPDATE vectors SET text = substr(text, 1, 100) WHERE category = 'vec' AND length(text) > 100")
conn.commit()
conn.close()
print("RESULT: Trimmed text vectors to 100 chars to optimize vecs=11025")