Skip to content

Phase 4: Local Disk-Backed LRU Sentinel Failover & Reproducible Token Compaction Benchmark - #20

Merged
divyanshujethi merged 1 commit into
mainfrom
feat/phase4-sentinel-fallback-benchmarks
Nov 18, 2026
Merged

divyanshujethi merged 1 commit into
mainfrom
feat/phase4-sentinel-fallback-benchmarks

Conversation

@divyanshujethi

Copy link
Copy Markdown
Collaborator

Summary

  • Upgraded RedisSentinelRoutingClient (src/redis-sentinel.ts) with bounded local LRU + TTL + optional local disk persistence (local-sqlite-lru / local-memory-lru) so tool calls continue seamlessly with zero errors when Redis Sentinel is stopped or unreachable.
  • Added reproducible �enchmarks/token-compaction.ts comparing Raw Tool Schemas vs. Native OpenAI Prompt Caching vs. Native Anthropic Prompt Caching vs. SkillPrism JIT Receipts vs. Stacked FinOps (98.12% token reduction on 50-tool 5-turn workload).
  • Added ests/phase4-resilience-and-benchmarks.test.ts; 110/110 tests passing, Biome lint clean, sup build clean.

@github-actions

Copy link
Copy Markdown

👋 Thanks for opening this Pull Request, @divyanshujethi!

Thank you for contributing to SkillPrism! 🚀

Here is what happens next:

  1. 🧪 Automated CI Tests: Our workflow is verifying code compilation, Biome formatting, and token benchmarks.
  2. 🔍 Code Review: A maintainer from @RitualDev-Lab will review your changes shortly.
  3. 🌟 Contributor Recognition: Once merged, you'll be featured on our contributors list!

💡 Tip: Make sure your commits follow Conventional Commits and tests pass locally (pnpm test).

@divyanshujethi
divyanshujethi merged commit 3382fdd into main Nov 18, 2026
9 checks passed
@divyanshujethi
divyanshujethi deleted the feat/phase4-sentinel-fallback-benchmarks branch November 18, 2026 02:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant