Skip to content

Commit d86146a

Browse files
authored
Merge pull request #16 from PV-Bhat/f5zjaa-codex/finalize-vibe-check-mcp-server-overhaul-for-v2.1
Finalize VibeCheck v2.1 cleanup
2 parents c6c2d79 + 9eebff3 commit d86146a

16 files changed

+105
-135
lines changed

.github/workflows/ci.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: CI
2+
on:
3+
push:
4+
branches: [ main ]
5+
pull_request:
6+
branches: [ main ]
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v4
12+
- uses: actions/setup-node@v4
13+
with:
14+
node-version: '20'
15+
- run: npm ci
16+
- run: npm run build
17+
- run: npm run test:coverage
18+
- name: Report Vitest Coverage
19+
uses: davelosert/vitest-coverage-report-action@v2

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ tmp/
3737
temp/
3838

3939
# Local configuration
40-
.npmrc
40+
.npmrc

README.md

Lines changed: 24 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
1-
# 🧠 Vibe Check MCP
1+
# 🧠 Vibe Check MCP v2.1: Adaptive Meta-Mentor for AI Agents
22

33
<img src="https://github.com/PV-Bhat/vibe-check-mcp-server/blob/main/Attachments/vibelogov2.png" alt="Logo" width="300"/>
44

55
## The Most Widely-Deployed Feedback Layer in the MCP Ecosystem
66

7-
> Used in 1,000+ real workflows.
8-
> Featured across 10+ orchestration platforms.
7+
> Used in 1,000+ real workflows.
8+
> Featured across 10+ orchestration platforms.
99
> 6.5K+ developers already trust it to prevent agentic cascade errors.
1010
1111

12-
[![Version](https://img.shields.io/badge/version-1.1-blue)](https://github.com/PV-Bhat/vibe-check-mcp-server)
12+
[![Version](https://img.shields.io/badge/version-2.1-blue)](https://github.com/PV-Bhat/vibe-check-mcp-server)
1313
[![License](https://img.shields.io/badge/license-MIT-green)](LICENSE)
1414
[![smithery badge](https://smithery.ai/badge/@PV-Bhat/vibe-check-mcp-server)](https://smithery.ai/server/@PV-Bhat/vibe-check-mcp-server)
1515
[![Verified on MseeP](https://mseep.ai/badge.svg)](https://mseep.ai/app/a2954e62-a3f8-45b8-9a03-33add8b92599)
1616

1717
## What is Vibe Check?
1818

19-
Vibe Check is a metacognitive layer that keeps AI coding agents honest. It
20-
pauses the agent at key moments, challenges shaky assumptions and records what
21-
worked (or failed) so the next run is smarter. Think of it as the agent's inner
22-
rubber duck—always nudging the conversation back to the user's actual needs.
19+
Vibe Check acts as a supportive meta-mentor for AI coding agents. It gently
20+
interrupts tunnel vision, asks clarifying questions and records what worked so
21+
the next run is smarter. Think of it as an adaptive debugging partner rather
22+
than a strict referee.
2323

24-
**TL;DR**: Vibe Check makes AI coding agents more resilient and aligned by
25-
enforcing moments of reflection.
24+
**TL;DR**: Vibe Check keeps agents on track through short reflective pauses and
25+
optionally builds a learning history for deeper analysis.
2626

2727
## The Problem: Pattern Inertia
2828

@@ -33,9 +33,18 @@ misalignment, overengineering and wasted cycles.
3333

3434
## Key Features
3535

36-
- **vibe_check** – A metacognitive tool that asks probing questions to challenge an AI agent's plan, helping it spot assumptions and stay aligned with the user's goal.
37-
- **vibe_learn** – An optional tool for logging mistakes, preferences, and successes. This helps track the agent's behavior over time, allowing for manual analysis and improvement.
38-
- **Large context awareness** – The system can be configured to use a summary of the learning log in its prompts, allowing it to spot recurring patterns and reinforce successful approaches.
36+
- **vibe_check** – Lightweight meta-mentor step that questions plans and keeps the agent oriented to the original goal.
37+
- **vibe_learn** – Optional logging tool that builds a history of mistakes and fixes for later review.
38+
- **History continuity** – Previous vibe_check responses are fed back in by default for a sense of memory.
39+
- **Multi-LLM flexibility** – Works with Gemini, OpenAI or OpenRouter via simple overrides.
40+
41+
## What's New in v2.1
42+
43+
- Refined meta-mentor prompt for kinder, methodology-focused feedback
44+
- History continuity is on by default for richer conversations
45+
- Supports Gemini, OpenAI and OpenRouter with easy overrides
46+
- vibe_learn is now optional and can be disabled entirely
47+
- Project restructured for stability and online deployment
3948

4049

4150

@@ -66,7 +75,7 @@ Start the server:
6675
npm start
6776
```
6877

69-
See [TESTING.md](./TESTING.md) for instructions on how to run tests.
78+
See [docs/TESTING.md](./docs/TESTING.md) for instructions on how to run tests.
7079

7180
### Docker
7281

@@ -143,6 +152,7 @@ As an autonomous agent you will:
143152
- [Automatic Docker Setup](./docs/docker-automation.md)
144153
- [Philosophy](./docs/philosophy.md)
145154
- [Case Studies](./docs/case-studies.md)
155+
- [Changelog](./docs/changelog.md)
146156

147157
## To-do List
148158

File renamed without changes.
File renamed without changes.

docs/advanced-integration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Advanced Integration Techniques
22

3-
For optimal metacognitive oversight, these advanced integration strategies leverage the full power of Vibe Check as a pattern interrupt system, recalibration mechanism, and self-improving feedback loop.
3+
For optimal metacognitive oversight, these advanced integration strategies leverage the full power of Vibe Check as a pattern interrupt system, recalibration mechanism, and self-improving feedback loop. Starting with v2.1, previous vibe_check output is automatically summarized and fed back into subsequent calls, so a `sessionId` is recommended for continuity.
44

55
## Progressive Confidence Levels
66

docs/agent-prompting.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Agent Prompting Strategies
22

3-
Effective agent-oversight relationships require careful prompting to ensure that AI agents properly respect and integrate feedback from Vibe Check. Our research has identified several key principles for maximizing the effectiveness of metacognitive pattern interrupts.
3+
Effective agent-oversight relationships require careful prompting to ensure that AI agents properly respect and integrate feedback from Vibe Check. In v2.1 the tool acts more like a collaborative debugger than a strict critic. Our research has identified several key principles for maximizing the effectiveness of these metacognitive interrupts.
44

55
## The "Hold on... this ain't it" Challenge
66

@@ -42,7 +42,7 @@ As an autonomous agent, you will:
4242
```
4343
When using Vibe Check tools:
4444
45-
1. Treat vibe_check as a "Hold on... this ain't it" intervention that helps overcome pattern inertia
45+
1. Treat vibe_check as a collaborative debugging step that interrupts pattern inertia
4646
2. Always include the complete user prompt with each vibe_check call
4747
3. Specify your current phase (planning/implementation/review)
4848
4. Consider vibe_check feedback as a high-priority pattern interrupt, not just another tool output

docs/changelog.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Changelog
2+
3+
## v2.1.0 - 2025-07-22
4+
- Complete overhaul to adaptive meta-mentor system
5+
- History continuity enabled by default
6+
- Multi-provider support for Gemini, OpenAI and OpenRouter
7+
- Optional learning log can be disabled
8+
- Repository cleanup and CI via GitHub Actions

docs/philosophy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
## Beyond the Vibe: Serious AI Alignment Principles
66

7-
While Vibe Check presents itself with a developer-friendly interface, it addresses fundamental challenges in AI alignment and agent oversight. This document explores the deeper principles that make Vibe Check more than just a developer tool.
7+
While Vibe Check presents itself with a developer-friendly interface, it addresses fundamental challenges in AI alignment and agent oversight. The new meta-mentor approach mixes gentle tone with concrete methodology debugging to keep agents focused without heavy-handed rules.
88

99
## The Metacognitive Gap
1010

docs/technical-reference.md

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,14 @@ The metacognitive questioning tool that identifies assumptions and breaks tunnel
1010

1111
| Parameter | Type | Required | Description |
1212
|-----------|------|----------|-------------|
13+
| goal | string | Yes | High level objective for the current step |
1314
| plan | string | Yes | Current plan or thinking |
14-
| userRequest | string | Yes | Original user request (critical for alignment) |
15-
| thinkingLog | string | No | Raw sequential thinking transcript |
16-
| availableTools | string[] | No | List of available MCP tools |
17-
| focusAreas | string[] | No | Optional specific focus areas |
18-
| sessionId | string | No | Session ID for state management |
19-
| previousAdvice | string | No | Previous feedback to avoid repetition |
20-
| phase | string | No | Current project phase ("planning", "implementation", "review") |
21-
| confidence | number | No | Agent's confidence level (0-1) |
15+
| userPrompt | string | No | Original user request (critical for alignment) |
16+
| progress | string | No | Description of progress so far |
17+
| uncertainties | string[] | No | Explicit uncertainties to focus on |
18+
| taskContext | string | No | Any additional task context |
19+
| modelOverride | object | No | `{ provider, model }` to override default LLM |
20+
| sessionId | string | No | Session ID for history continuity |
2221

2322
### Response Format
2423

@@ -100,6 +99,11 @@ CONTEXT:
10099
[Current Plan/Thinking]: I'll create a complex object-oriented architecture with...
101100
```
102101

102+
Other providers such as OpenAI and OpenRouter can be selected by passing
103+
`modelOverride: { provider: 'openai', model: 'gpt-4o' }` or the appropriate
104+
OpenRouter model. LLM clients are lazily initialized the first time they are
105+
used so that listing tools does not require API keys.
106+
103107
### Storage System
104108

105109
The pattern recognition system stores learning entries (mistakes, preferences and successes) in a JSON-based storage file located in the user's home directory (`~/.vibe-check/vibe-log.json`). This allows for persistent tracking of patterns across sessions and enables the self-improving feedback loop that becomes more effective over time.

0 commit comments

Comments
 (0)