mirror of
https://github.com/semantica-agi/semantica.git
synced 2026-08-29 04:26:20 +00:00
fix(agent_memory): implement MemoryItem.to_dict() / from_dict() for safe JSON persistence — timestamps serialised via isoformat(), embeddings dropped (not JSON-safe, regenerated on demand); save() and load() now round-trip correctly without TypeError or AttributeError (Bug #1) fix(sparql): add asyncio.Semaphore(_SPARQL_MAX_CONCURRENT=4) around graph.query so timed-out threads cannot exhaust the default ThreadPoolExecutor; add `truncated: bool` field to SparqlResponse so callers know when the 5 000-row cap was hit (Bug #2) fix(export_import): trim _ALLOWED_IMPORT_EXTENSIONS to {.json, .csv} — the only formats the handler actually parses; removes .graphml/.gexf/.ttl/.rdf that passed the allowlist check but hit a hard 422 inside the handler (Bug #3) fix(codeql): remove blanket rule-ID auto-dismiss job; replace with a commented template for pinning specific alert numbers — prevents future real alerts of the same rule being silently suppressed (Bug #4) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>