vestige/crates/vestige-core/src
Sam Valladares b3bcf5d216 fix(audit): error-propagation, races, dedup, decay bugs (swarm, moderate tier 2)
All verified against real code:
- github fetch_updated: propagate fetch_comments errors instead of
  unwrap_or_default() (silent failure stored a comment-less record with a
  corrupted hash AND advanced the cursor past it = permanent gap)
- relationships load_relationships: advance next_id past loaded rel-N ids so
  new_id() can't collide with persisted ids
- speculative store_pending_predictions: merge instead of clear (two predict()
  calls without an intervening record_usage() wiped the first batch's accounting)
- embeddings/code is_comment_only: stop treating leading '#'/'*' as comments
  (was deleting #include, #define, *ptr, CSS '*', multiplication)
- importance_signals: reconcile total_count to the surviving pattern sum after
  decay/prune (was inflated, driving novelty toward zero over time)
- importance on_retrieved_with_context: set context in the SAME critical section
  as the event push via record_retrieval() (two-lock approach raced; last_mut()
  could land on a concurrently-pushed event)

core 535/0, clippy clean.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-28 14:50:38 -05:00
..
advanced fix(audit): error-propagation, races, dedup, decay bugs (swarm, moderate tier 2) 2026-06-28 14:50:38 -05:00
codebase fix(audit): error-propagation, races, dedup, decay bugs (swarm, moderate tier 2) 2026-06-28 14:50:38 -05:00
connectors fix(audit): error-propagation, races, dedup, decay bugs (swarm, moderate tier 2) 2026-06-28 14:50:38 -05:00
consolidation feat(connectors): external-source connector layer + GitHub Issues (#57) 2026-06-19 01:21:59 -05:00
embedder Make fastembed smoke tests tolerate unavailable model 2026-06-18 20:29:02 -05:00
embeddings fix(audit): error-propagation, races, dedup, decay bugs (swarm, moderate tier 2) 2026-06-28 14:50:38 -05:00
fsrs feat(v2.0.5): Intentional Amnesia — active forgetting via top-down inhibitory control 2026-04-14 17:30:30 -05:00
memory fix(audit): data-loss, SSRF, off-by-one, dedup bugs (swarm, moderate tier 1) 2026-06-28 14:50:38 -05:00
neuroscience fix(audit): error-propagation, races, dedup, decay bugs (swarm, moderate tier 2) 2026-06-28 14:50:38 -05:00
search feat(v2.0.5): Intentional Amnesia — active forgetting via top-down inhibitory control 2026-04-14 17:30:30 -05:00
storage feat(connectors): add Redmine and source filters (#57) 2026-06-19 02:21:25 -05:00
config.rs fix: make windows release build and add manual rerun path 2026-06-18 23:39:38 -05:00
fts.rs v2.1.2 Honest Memory 2026-05-06 02:22:24 -05:00
lib.rs feat(connectors): external-source connector layer + GitHub Issues (#57) 2026-06-19 01:21:59 -05:00