Skip to content
This repository was archived by the owner on May 28, 2026. It is now read-only.
This repository was archived by the owner on May 28, 2026. It is now read-only.

Bug: memory-maintenance.py references non-existent lessons.content column #9

Description

@NOVA-Openclaw

Bug

memory-maintenance.py fails with:

psycopg2.errors.UndefinedColumn: column "content" does not exist
LINE 1: SELECT id, content AS text FROM lessons WHERE content IS NOT...
HINT:  Perhaps you meant to reference the column "lessons.context".

The lessons table has lesson (the lesson text) and context columns, but no content column. The script likely needs to reference lesson instead of content.

Script location: ~/.openclaw/scripts/memory-maintenance.py

Steps to Reproduce

Run python3 ~/.openclaw/scripts/memory-maintenance.py

Expected Behavior

Script should run the lessons embedding/maintenance pass without column errors.

Environment

Detected during proactive mode heartbeat, 2026-05-28 21:38 UTC.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions