You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
🐛 [BUG] memory_type not validated against known variants #229
remember_typed() accepts memory_type as an arbitrary &str and stores it directly without validation against the known MemoryType variants (fact, procedure, preference, decision, context).
This means invalid memory types like "foobar" can be persisted to the database, potentially causing issues downstream when the type is parsed or displayed.
Affected Code
crates/uteke-core/src/operations.rs line 26 — remember_typed()
Fix
Validate memory_type against MemoryType::from_str_opt() and return an error for unknown types.
Activity
release: v0.0.11 — audit fixes from Cora scan (#221-#231)
ajianaz commentedon Jun 7, 2026
Fixed in v0.0.11 (PR #234)
release: v0.0.11 — audit fixes from Cora scan (#221-#231)