Repository navigation
Releases
Releases · codesphere-u/cortex-mcp
Cortex-MCP v1.1.0 — Semantic & Polarity Contradiction Auditor & TruthGate Citation Exporter
Cortex-MCP v1.1.0 Release Notes
New Features
- Semantic & Polarity Contradiction Auditor (
src/cortex_mcp/contradictions.py):- Scans active facts in
BiTemporalMemoryGraphto detect unresolved logical contradictions:- Negation polarity inversions (
allows_mtlsvsdisallows_mtls/does_not_*). - Opposing technical antonym objects (
enabledvsdisabled,encryptedvsplaintext,statefulvsstateless,synchronousvsasynchronous). - Predicate alias collisions (
uses_token_formatvstoken_formatvsauth_token). - Unsuperseded multi-value drift.
- Negation polarity inversions (
- Emits a structured
ContradictionAuditReportwith severity ratings and supportsauto_resolve=Trueto deterministically supersede older or lower-confidence conflicting facts.
- Scans active facts in
- Grounded Citation Bundle Exporter for
truthgate(src/cortex_mcp/grounding_export.py):- Exports compiled context packets or active graph items as a
codesphere-u/truthgate-compatibleSourceDocumentJSON bundle (source_id = fact_id,title,content,metadatawith temporal provenance and SHA-256 Merkle rootgraph_merkle_digest) for zero stale-fact leakage verification.
- Exports compiled context packets or active graph items as a
- CLI & MCP Server Extensions (
cli.py,server.py,mcp_server.py):- CLI:
cortex-mcp audit-contradictions [--auto-resolve] [--json]andcortex-mcp export-sources [--query ...] [--output sources.json]. - MCP Tool: Added
cortex_audit_contradictionstoCortexMCPServer.
- CLI:
- Expanded Test Suite:
- 84 passing
pytesttests across Python 3.10, 3.11, and 3.12 (up from 67 inv1.0.0).
- 84 passing
v1.0.0 — Initial Flagship Release
Initial stable release of cortex-mcp: Local-First Bi-Temporal Knowledge Graph, Cross-Agent Persistent Memory & Token-Budgeted Context Compiler MCP Server for AI Coding Agents.
Highlights
- Bi-Temporal Knowledge Graph (
BiTemporalMemoryGraph): Automatic conflict detection and temporal supersession (valid_from,valid_until,superseded_by), K-hop ego-graph traversal, point-in-time historical queries, and SHA-256 Merkle integrity verification. - Hybrid BM25 + 2-Hop Graph Spreading Activation (
ContextCompiler): Strict token-budgeted context packing with 100% stale-fact suppression. - Standards-Compliant JSON-RPC 2.0 MCP Server (
CortexMCPServer): Fullstdioand in-memory transport with 6 tools, 3 resources, and 2 prompt templates. - 67 Passing Pytest Tests across Python 3.10, 3.11, and 3.12.