Previous CI run 14880 failed all jobs immediately (0-1 seconds) due to
a CI infrastructure issue, not a code problem. The same failure pattern
is observed on the master branch (run 14932), confirming this is a
transient infrastructure outage.
All quality gates pass locally:
- lint ✓ (ruff check: all checks passed)
- format ✓ (ruff format --check: 1974 files already formatted)
- typecheck ✓ (pyright: 0 errors, 3 warnings — pre-existing optional deps)
Refs: #10455
Apply ruff auto-formatting to fix CI lint gate failures. Two files had
formatting issues detected by ruff format --check:
- features/steps/tdd_memory_service_entity_persistence_steps.py
- src/cleveragents/application/services/memory_service.py
Changes are purely cosmetic: line wrapping adjustments, parenthesization
style, and string formatting alignment per ruff rules.
Refs: #10455
Implemented EntityStore._load_from_persistence() to load entities from a
SQLite database on initialization using SQLAlchemy. Implemented
EntityStore._persist_if_needed() to write dirty entities to the database
using SQLAlchemy. Both methods raise RuntimeError on persistence failures
instead of silently failing, eliminating the silent data-loss bug.
Added import json to support entity serialization/deserialization.
Added TDD Behave feature file with 4 scenarios verifying entity round-trip
through persistence. All 4 TDD scenarios pass, all existing tests continue
to pass. Coverage at 97.1%.
ISSUES CLOSED: #10455