task: serialization-duplication
created: 2026-01-31
completed: 2026-01-31
phase: COMPLETE
before_count: 9
current_count: 0
summary: |
  Created canonical stemedb_core::serde module with generic serialize/deserialize.
  Replaced all 9 production instances of raw AllocSerializer across 6 files:
    - stemedb-ingest/src/worker.rs (3 serialize + 3 deserialize)
    - stemedb-storage/src/vote_store.rs (1 serialize + 1 deserialize)
    - stemedb-storage/src/index_store.rs (1 serialize + 1 deserialize)
    - stemedb-storage/src/trust_rank_store.rs (1 serialize + 1 deserialize)
    - stemedb-query/src/engine.rs (1 deserialize)
    - stemedb-lens/src/vote_aware_consensus.rs (1 serialize)
    - stemedb-sim/src/main.rs (1 serialize + 1 deserialize)
  Added CLAUDE.md enforcement rule.
  All 123 workspace tests pass, clippy clean, fmt clean.
