Skip to content

feat(mcp-configs): add deja-vu as an opt-in session history server - #3836

Merged
haelyra merged 1 commit into
affaan-m:mainfrom
vshulcz:add-deja-vu-mcp
Nov 16, 2026
Merged

haelyra merged 1 commit into
affaan-m:mainfrom
vshulcz:add-deja-vu-mcp

Conversation

@vshulcz

@vshulcz vshulcz commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

Adds an opt-in deja-vu entry next to longhand in mcp-configs/mcp-servers.json. deja-vu reads the coding-session transcripts already on disk from Claude Code, Codex, Cursor, OpenCode, Gemini CLI, and 39 other agents and serves them through a single MCP tool (deja) with no LLM, embeddings, or API key.

Security & Harness Verification

  • Local-only & offline: deja mcp makes zero network calls, requires no API keys or credentials, and reads only local transcript files under the user's home directory, writing its index to ~/.cache/deja.
  • Secret redaction & prompt-injection framing: Every recalled snippet passes through built-in secret/token redaction and untrusted-transcript framing (<deja-recall> with marker neutralization) before reaching the model; covered by docs/SECURITY-MODEL.md and regression suites (go test ./internal/redact/... ./cmd/deja/...).
  • Opt-in configuration: Added strictly as an opt-in MCP server config matching adjacent catalog entries (longhand, memory), with no changes to default enabled hooks or installer manifests.

@vshulcz
vshulcz requested a review from affaan-m as a code owner November 1, 2026 15:23
@ecc-tools

ecc-tools Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

ECC Tools / Security Evidence

Commit: 4aa0e62a4fce1f8972f4327ff19a3821f7717238

Security scanner evidence required (action_required)

Detected 1 security-sensitive predictive risk signal(s) without scanner evidence.

Mode: enforce

Findings:

  • Security-sensitive changes may ship without scanner evidence: The PR touches billing, secrets, auth, webhooks, agent, or CI-sensitive surfaces without adding obvious security scanner, code scanning, or security-focused validation evidence. (1 security-sensitive paths changed; 0 security scanner or security-focused validation artifacts changed)

Touched security-sensitive paths:

  • mcp-configs/mcp-servers.json

Expected evidence:

  • Security scanner, code scanning, secret scanning, dependency/security review, or focused security regression output.
  • SARIF/code-scanning upload or equivalent pass/fail gate for the changed surface.

Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission.

@ecc-tools

ecc-tools Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

ECC Tools / PR Risk Taxonomy

Commit: 4aa0e62a4fce1f8972f4327ff19a3821f7717238

PR taxonomy review recommended (neutral)

Detected 4 PR taxonomy bucket(s): Security Evidence, Harness Drift, Install Manifest Integrity, Agent Config Review.

Scanned 1 changed file(s).

Roadmap taxonomy buckets:

Security Evidence

Security-sensitive changes should carry explicit scanner, code-scanning, or focused regression evidence.

Signals:

  • Security-sensitive changes may ship without scanner evidence
  • 0 security-sensitive path(s) changed

Paths:

  • mcp-configs/mcp-servers.json

Harness Drift

Harness-facing changes can drift across Claude Code, Codex, OpenCode, and shared adapter surfaces.

Signals:

  • Harness config changes may ship without compatibility evidence
  • 1 harness-facing path(s) changed

Paths:

  • mcp-configs/mcp-servers.json

Install Manifest Integrity

Install manifests, plugin metadata, and shipped skills should stay synchronized with user-facing setup guidance.

Signals:

  • Install or operator docs may drift from the shipped surface
  • 0 install or manifest path(s) changed

Paths:

  • mcp-configs/mcp-servers.json

Agent Config Review

Agent, command, skill, MCP, and local instruction changes should be reviewed as executable agent configuration.

Signals:

  • 1 agent-config path(s) changed

Paths:

  • mcp-configs/mcp-servers.json

Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission.

@ecc-tools

ecc-tools Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

ECC Tools / Reference Set Readiness

Commit: 4aa0e62a4fce1f8972f4327ff19a3821f7717238

Reference set readiness gaps detected (neutral)

Reference evidence present for 0/7 areas (0%) across 1 changed file(s).

This check is based on files changed in this PR. Repository-level readiness is still reported by /ecc-tools analyze comments and generated manifests.

Area Status Evidence / Next Step
Deep analyzer corpus Missing Add analyzer fixture, golden, benchmark, or reference-set files that can catch analyzer regressions.
RAG/evaluator comparison Missing Add retrieval or evaluator reference-set comparison fixtures with expected ranking behavior.
PR salvage/review corpus Missing Add stale-PR, review-thread, reopen-flow, or salvage reference cases for queue cleanup automation.
Discussion triage corpus Missing Add public discussion triage fixtures, golden cases, or reference sets for informational, answered, and no-response classifications.
Harness compatibility Missing Add cross-harness, adapter-compliance, or harness-audit evidence for Claude, Codex, OpenCode, Zed, dmux, and agent surfaces.
Security evidence Missing Attach security evidence such as SBOMs, SARIF, audit reports, or AgentShield evidence packs.
CI failure-mode evidence Missing Add captured CI failure logs, dry-run fixtures, or troubleshooting docs for common workflow failure modes.

Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission.

@ecc-tools

ecc-tools Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

ECC Tools / Hosted Promotion Readiness

Commit: 4aa0e62a4fce1f8972f4327ff19a3821f7717238

Hosted promotion readiness passed (success)

No hosted promotion evidence gaps detected across 1 changed file(s); 0 corpus scenarios had matching evidence.

This check compares PR file changes against the evaluator/RAG promotion corpus in src/analyzers/fixtures/evaluator-rag-corpus.ts.
Hosted output scoring inspected 0 completed cached hosted job results.

No evaluator corpus scenarios matched this PR.

Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission.

@coderabbitai

coderabbitai Bot commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
  • Source mode: Auto
  • Repository: affaan-m/ECC
  • Branch: main
  • File: .coderabbit.yaml
  • Commit: b38be6a
  • Layers: Repository YAML
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: c2246eac-ee89-4aad-ae03-c2346400fa93
Commits

Reviewing files that changed from the base of the PR and between b38be6a and 4aa0e62.

Files selected for processing: 1
  • mcp-configs/mcp-servers.json

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.

Recent review details
Context from checks skipped due to timeout: 2
  • GitHub Check: CodeRabbit
  • GitHub Check: Greptile Review
Additional context used
Code guidelines: 5
.cursor/rules/common-patterns.md — auto-discovered
.cursor/rules/kotlin-testing.md — auto-discovered
.cursor/rules/python-coding-style.md — auto-discovered
.cursor/rules/swift-patterns.md — auto-discovered
.cursor/rules/common-testing.md — auto-discovered
Path-based instructions: 5
Source excerpt: Encapsulate data access behind a consistent interface: Define standard operations: findAll, findById, create, update, delete Concrete implementations handle storage details (database, API, file, etc.) Business logic depends...

CodeRabbit inference engine (.cursor/rules/common-patterns.md)

Files:

  • mcp-configs/mcp-servers.json
Source excerpt: Use **Kotest** with spec styles (StringSpec, FunSpec, BehaviorSpec) and **MockK** for mocking.

CodeRabbit inference engine (.cursor/rules/kotlin-testing.md)

Files:

  • mcp-configs/mcp-servers.json
Source excerpt: Follow **PEP 8** conventions Source excerpt: Use **type annotations** on all function signatures Source excerpt: Prefer immutable data structures: Source excerpt: **black** for code formatting Source excerpt: **isort** for i...

CodeRabbit inference engine (.cursor/rules/python-coding-style.md)

Files:

  • mcp-configs/mcp-servers.json
Source excerpt: Define small, focused protocols.

CodeRabbit inference engine (.cursor/rules/swift-patterns.md)

Files:

  • mcp-configs/mcp-servers.json
Source excerpt: Test Types (ALL required): **Unit Tests** - Individual functions, utilities, components **Integration Tests** - API endpoints, database operations **E2E Tests** - Critical user flows (framework chosen per language)

CodeRabbit inference engine (.cursor/rules/common-testing.md)

Files:

  • mcp-configs/mcp-servers.json
Additional comments: 1
mcp-configs/mcp-servers.json: 1

66-69: LGTM!

Summary

Summary by CodeRabbit

  • New Features
    • Added an optional local transcript-recall integration, allowing supported agent clients to retrieve relevant details from previous conversations. It works locally and does not require an API key.

The MCP server catalog adds deja-vu, launched through npx with @vshulcz/deja-vu mcp. Its description identifies it as an opt-in local transcript recall server that requires no LLM, embeddings, or API key.

Changes: MCP server catalog

Layer / File(s) Summary
Add deja-vu server entry
mcp-configs/mcp-servers.json
The catalog adds a deja-vu entry that launches @vshulcz/deja-vu mcp through npx. Its description specifies opt-in local transcript recall and no LLM, embeddings, or API key.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Feature

Possibly related PRs

  • affaan-m/ECC#3709: Adds another opt-in MCP server entry to the same catalog.
  • affaan-m/ECC#3757: Adds conversion of MCP server catalog definitions for Continue CLI.
  • affaan-m/ECC#3587: Changes installation and state handling for disabled MCP catalog entries.
Merge Risk: Minimal · up to 4aa0e

No actionable merge-blocking risk was identified in this opt-in catalog addition.

Pre-merge checks: Passed 4
Check name Status Explanation
Title check Passed The title names the main change: adding the deja-vu MCP server to mcp-configs as an opt-in session history server. The raw summary and PR objectives both confirm this change, and the title matches the…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description check Passed The description directly explains the addition of the opt-in deja-vu MCP server configuration and its local transcript-recall behavior. It matches the changeset.
Full details: Title check

Explanation

The title names the main change: adding the deja-vu MCP server to mcp-configs as an opt-in session history server. The raw summary and PR objectives both confirm this change, and the title matches them. The title is a single, specific sentence.

Finishing Touches
Generate unit tests (beta)
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@greptile-apps

greptile-apps Bot commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] Safe to merge within the reviewed configuration scope: the launcher exposes the advertised MCP tool, and the default connector selection is unchanged.

Summary

Adds deja-vu beside longhand as an opt-in MCP server using npx -y @vshulcz/deja-vu mcp for recall over existing local session transcripts. The default connector selection remains unchanged; Codex sync still selects only chrome-devtools.

The configured launcher successfully initialized with a fresh isolated npm cache and no API keys. It exposed one deja tool with the advertised recall, fix, blame, and context modes. Existing MCP configuration tests passed 3/3. Transcript recall itself was not exercised.

No actionable issues were found. This change is safe to merge within the reviewed scope.

  • Users can opt in to recall existing agent session transcripts through an MCP tool.

Reviews (1) · Last reviewed commit: "feat(mcp-configs): add deja-vu as an opt..." · Reviewed by Greptile

@haelyra
haelyra merged commit f34f5b5 into affaan-m:main Nov 16, 2026
4 checks passed
@haelyra

haelyra commented Nov 16, 2026

Copy link
Copy Markdown
Collaborator

Thank you for contributing feat(mcp-configs): add deja-vu as an opt-in session history server. Your complete reviewed head is preserved with attribution in maintainer integration #3945.

The delivered main commit now passes CI, CodeQL and a fresh Supply-Chain Watch after the focused coverage-report and dependency recovery in #3947. We appreciate your patience and your help improving ECC.

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.

2 participants