Skip to content

This release includes breaking changes for platform teams planning a safe upgrade.

Published 9d MCP Developer Tools
✓ No known CVEs patched
Read the diff → Tool health → What is this tool? →

✓ No known CVEs patched in this version

Summary

AI summary

Adds explicit memory fact CRUD tools, iterative prompt composition with max_iterations, per-stage model routing in compose_prompt, and git/environment context signals.

Changes in this release

Feature Medium

Adds `memory_remember` tool to explicitly insert a fact.

Adds `memory_remember` tool to explicitly insert a fact.

Source: llm_adapter@2026-05-25

Confidence: high

Feature Medium

Adds `memory_forget` tool to soft-delete a fact by ID.

Adds `memory_forget` tool to soft-delete a fact by ID.

Source: llm_adapter@2026-05-25

Confidence: high

Feature Medium

Adds `memory_list_facts` tool to list live facts.

Adds `memory_list_facts` tool to list live facts.

Source: llm_adapter@2026-05-25

Confidence: high

Feature Medium

Introduces `max_iterations` field for `compose_prompt` revise loop (default 1, max 5).

Introduces `max_iterations` field for `compose_prompt` revise loop (default 1, max 5).

Source: llm_adapter@2026-05-25

Confidence: high

Feature Medium

Enables per-stage model routing in `compose_prompt` via `clarify_model`, `optimize_model`, and `critique_model` fields.

Enables per-stage model routing in `compose_prompt` via `clarify_model`, `optimize_model`, and `critique_model` fields.

Source: llm_adapter@2026-05-25

Confidence: high

Feature Medium

Adds `bundle.git` field to ContextBundle providing branch, SHA, dirty flag, and recent commit titles.

Adds `bundle.git` field to ContextBundle providing branch, SHA, dirty flag, and recent commit titles.

Source: llm_adapter@2026-05-25

Confidence: high

Feature Medium

Adds `bundle.environment` field to ContextBundle providing ISO timestamp, weekday, and timezone.

Adds `bundle.environment` field to ContextBundle providing ISO timestamp, weekday, and timezone.

Source: llm_adapter@2026-05-25

Confidence: high

Feature Medium

Increases eval fixture count from 23 to 29 (6 new fixtures).

Increases eval fixture count from 23 to 29 (6 new fixtures).

Source: llm_adapter@2026-05-25

Confidence: high

Feature Medium

Enables automatic CI eval gate against `gpt-4o-mini` on commit.

Enables automatic CI eval gate against `gpt-4o-mini` on commit.

Source: llm_adapter@2026-05-25

Confidence: high

Feature Low

Total MCP tools increase from 20 to 23 (3 new tools).

Total MCP tools increase from 20 to 23 (3 new tools).

Source: llm_adapter@2026-05-25

Confidence: high

Full changelog

Summary

Four targeted additions, one per engine pillar (memory / agentic / models / context). 3 new MCP tools (20 → 23). 6 new eval fixtures (23 → 29). Fully back-compat with 1.5.x.

Memory — explicit fact CRUD

Three new tools complement the existing reflection-on-save_outcome path:

  • memory_remember(subject, predicate, object, scope?, confidence?) — explicitly insert a fact. Source tagged user:explicit, auto-embedded for semantic retrieval.
  • memory_forget(id) — bi-temporal soft-delete by id. Idempotent.
  • memory_list_facts(scope?, predicate?, limit?) — list live facts.

Closes the obvious UX gap where the engine could only learn from outcomes — users can now say "remember I prefer X" directly.

Agentic — compose_prompt revise loop

New max_iterations field (default 1, hard max 5). With auto_revise: true AND post_critique: true, each iteration's improvedPrompt feeds back through optimize+critique until verdict=accept, no improvedPrompt is available, or the cap is reached.

{ "prompt": "...", "post_critique": true, "auto_revise": true, "max_iterations": 3 }

pre_clarify only fires once. Response includes new iterations field.

Models — per-stage routing in compose_prompt

Each stage can target a different model:

{
  "prompt": "...",
  "clarify_model": "qwen2.5-coder:7b-instruct-q4_K_M",
  "optimize_model": "claude-sonnet-4-20250514",
  "critique_model": "gpt-4o-mini"
}

optimization.metadata.model + critique.judgeModel in the response reflect the actual model that ran each stage.

Context — git-state + environment signals

Two new ContextBundle fields:

  • bundle.git — branch, short SHA, dirty flag, last 5 commit titles. Fails soft when cwd isn't a repo.
  • bundle.environmentnowIso / weekday / timezone. Pure JS, never fails.

Both feed the Context Curator as low-utility candidates — they won't dominate budget but surface as grounding sources when relevant.

Eval coverage

29 fixtures total (was 23). Local baseline on qwen2.5-coder:7b: 25 passed / 1 failed / 3 skipped / 97% avg. The lone failure remains the persistent analyzer-creative-media model-class signal.

CI eval gate against gpt-4o-mini will fire automatically on this commit.

Compatibility

  • No env-var surface changes. All new fields are additive.
  • 23 MCP tools, 1 resource. No tools removed; no result-shape changes.
  • Existing memory.db files are fully forward-compat (1.5.2's dimension fix still applies).

Install

npx clarifyprompt-mcp

Full diff: https://github.com/LumabyteCo/clarifyprompt-mcp/compare/v1.5.2...v1.6.0

Weekly OSS security release digest.

The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.

No spam, unsubscribe anytime.

Share this release

Track LumabyteCo/clarifyprompt-mcp

Get notified when new releases ship.

Sign up free

About LumabyteCo/clarifyprompt-mcp

MCP server for AI prompt optimization — transforms vague prompts into platform-optimized prompts for 58+ AI platforms across 7 categories (image, video, voice, music, code, chat, document).

All releases →

Beta — feedback welcome: [email protected]