# SecureContext
> **SecureContext is the persistent memory, delivery, and security layer for Claude Code.** It gives coding agents project memory that survives every restart, a program/phase layer for delivering long-running projects with orchestrator handoff, a cryptographic audit trail for every tool call, and an HMAC-verified admission gate for Anthropic-style filesystem skills. Runs 100% locally on PostgreSQL + Ollama β no cloud sync, no subscription, MIT-licensed.
[](package.json)
[](src)
[](security-tests)
[](https://github.com/iampantherr/SecureContext/actions)
[](LICENSE)
[](package.json)
---
## What is SecureContext?
If you use Claude Code on real projects, you have hit these walls:
1. **Every session starts cold.** You re-paste the same files, re-explain the same decisions, re-discover the same gotchas β and pay tokens for the same orientation work over and over.
2. **Long projects have no delivery state.** When an orchestrating agent dies mid-feature (crash, closed window, exhausted context), its replacement starts blind. People co
*(truncated)*
π Trend Scout: iampantherr/SecureContext
π What problem it solves
Persistent memory + security layer for Claude Code (MCP plugin). Agents remember your project across sessions (~87% fewer context tokens), every tool call lands in a tamper-evident HMAC audit chain, and skills are AST-scanned + HMAC-verified before they run. 100% local: PostgreSQL + Ollama, no cloud, MIT.
π Timeline
β Strengths
π‘ What this repo can learn
claude-adapter.py's JSONL parsing β e.g., handling new session event types or extracting richer metadata from Claude Code tool-use blocksbriefing.pysurface related decisions and mistakes by topic proximity β e.g., linking amistake:authrecord topattern:jwtacross separate session files without requiring identical keywordslearn.pyandwatch-sessions.pyhandle concurrent writes from multiple simultaneous Copilot / Claude sessionsknowledge.dbworkflows never require external API calls even when semantic search is enabledsync-knowledge.pyfor more robust Windows β WSL knowledge mergingREADME excerpt
Scouted on 2026-07-24 Β· View on GitHub