Mb Red Verify 标志

Mb Red Verify

社区
mrvladd-d
mb-red-verify

Adversarial semantic verification for one TASK-* so teams can catch solutions that pass process checks but are still wrong in substance.

Add to TypingMind

概览

发布者mrvladd-d
代码仓库memobank
技能名称mb-red-verify
星标数
56
复刻数
11
附带文件
1
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 1 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 mrvladd-d 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Mb Red Verify AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/mrvladd-d/memobank/tree/main/skills/mb-red-verify
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/mrvladd-d/memobank.git /tmp/memobank
mkdir -p .claude/skills
cp -r /tmp/memobank/skills/mb-red-verify .claude/skills/mb-red-verify
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Mb Red Verify,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Mb Red Verify。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Mb Red Verify 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

mb-red-verify — Adversarial semantic verification

  • What it does: pressure-tests one completed TASK-* for semantic correctness, hidden failure modes, and systemic harm.
  • Use it when: a task may be locally correct yet still wrong in product/domain/architectural/operational reality.
  • Input: TASK_ID, task intent, actual change surface, tests/evidence, and only then relevant spec reconciliation.
  • Output: red-verification.md, a concise semantic-risk report, and follow-up bugs/tasks when concerns are serious.

Goal

Catch changes that are "disciplined but wrong":

  • pass acceptance criteria but solve the wrong problem
  • work locally but damage system integrity
  • overfit to the task record and ignore neighboring constraints
  • introduce architectural drift, state inconsistency, or hidden maintenance cost
  • create false confidence because the evidence surface is too narrow

This is intentionally different from existing commands

  • mb-verify checks acceptance criteria and evidence-backed task completion.
  • mb-review reviews Memory Bank quality, planning, and discipline in fresh context.
  • mb-red-verify asks: "Is this solution actually right in substance?"

Status Transition Modes

Status transitions have two modes.

Scheduler mode:

  • /autopilot and /autonomous own task status transitions.
  • Scheduler decides closure/failure/blocking eligibility.
  • /execute returns scoped implementation handoff; it does not close tasks.
  • /verify gives functional verdict/evidence; in scheduler mode it does not close/fail/block/promote.
  • /red-verify gives semantic verdict for T2/T3; in scheduler mode it does not close/fail/block/promote.
  • Scheduler must write the closure/failure/blocking decision, final task status, and evidence links to the authoritative indexed .memory-bank/tasks/TASK-*.task.json record before /mb-sync.
  • /mb-sync records/reconciles already-written task state. It does not decide closure/failure/blocking/promotion and must not sync a decision that exists only in scheduler context.
  • T0/T1 scheduler closure may use compact evidence / functional PASS according to tier policy.
  • T2/T3 scheduler closure requires VERDICT: PASS plus SEMANTIC_VERDICT: semantic-pass before scheduler marks done.
  • T3 scheduler closure also requires exact markers HUMAN_CHECKPOINT: done and ROLLBACK_RECOVERY_NOTE: present.

Manual mode:

  • Expected T0/T1 simple flow: /execute -> /verify for one TASK.
  • Manual closure is allowed only when an explicit closure owner exists.
  • explicit standalone owner means either the user directly asked the current top-level agent to close the task, or the top-level agent/orchestrator explicitly runs a manual workflow for one TASK and records that it owns closure. Subagents/worker prompts do not silently become closure owners.
  • /verify PASS may mark T0 / T1 status: done only when explicit closure ownership is present and completed evidence has been written to the task record verify field and the compact/full protocol required by tier.
  • If explicit closure owner is absent, /verify records VERDICT: PASS, evidence, and a closure recommendation, leaves status unchanged, and tells the scheduler/owner to close.
  • T2 / T3 manual closure requires /verify PASS plus /red-verify / mb-red-verify SEMANTIC_VERDICT: semantic-pass before status: done or /mb-sync; if semantic-pass is absent, leave closure pending or blocked, not done.
  • semantic-concern in manual mode means do not trust the existing done state without human review / follow-up.
  • Do not mix scheduler mode and manual mode inside one task run.
  • No persisted mode field is used.

Preconditions

  • Implementation exists.
  • Quality gates were already run (or failures were recorded).
  • For non-trivial tasks, mb-verify should usually run first.
  • The indexed task record contains tier. Authoritative red-verification routing is only task.tier; the old risk / risk.level model is invalid.
  • For T2 / T3, linked SDD specs are present in task richer fields, feature spec_design_links, or spec-index.md; if absent, stop and route back to /spec-improve or /spec-auto.
  • In scheduler mode, T2 / T3 require this pass before scheduler marks done.
  • In manual mode, this pass is required for T2 / T3 after mb-verify PASS and before final closure//mb-sync; T0 / T1 usually skip it unless their real scope grew beyond the recorded tier.
  • T0 / T1 usually skip it unless scope has grown and the tier is updated first.

Required outputs

Create or update:

  • .protocols/<TASK_ID>/red-verification.md

Store a concise report in:

  • .tasks/<TASK_ID>/<TASK_ID>-S-RED-VERIFY-final-report-docs-01.md

If concerns are material:

  • .memory-bank/bugs/BUG-<short>.md
  • follow-up .task.json records indexed in .memory-bank/tasks/index.json
  • recommended task/dependent status for the active scheduler or explicit standalone owner

Use:

  • ./references/shared-protocols-red-verification-template.md
  • ./agents/red-verifier.md

Input priority

Do not start by over-trusting the same full spec context the implementer used.

Prime in this order:

  1. task intent and expected real-world outcome
  2. actual code changes / diff / touched runtime behavior
  3. tests, logs, screenshots, traces, and other evidence
  4. linked SDD specs and neighboring constraints (contracts/*, states/*, domains/*, runbooks/*, invariants)
  5. broader spec reconciliation

This keeps the verifier from merely confirming the workflow surface.

When to use it

Use mb-red-verify when:

  • task.tier is T2 or T3
  • contracts, states, migrations, or data behavior changed
  • the task crosses boundaries between modules/features
  • runtime or API behavior changed
  • business rules or domain semantics matter heavily
  • acceptance criteria can be satisfied in a narrow but misleading way
  • the change is risky, architectural, or likely to create hidden future cost

When not to use it

Usually skip it for:

  • typo-only edits
  • formatting-only changes
  • isolated mechanical refactors with no behavioral impact

Process

1) Start from task intent and reality, not paperwork

Read only what you need:

  • .protocols/<TASK_ID>/plan.md
  • .protocols/<TASK_ID>/progress.md
  • .protocols/<TASK_ID>/verification.md if it exists
  • linked task record, feature, and requirement docs for intent
  • the real diff / changed files / tests / runtime artifacts

2) Build a hostile hypothesis list

Challenge the solution from multiple angles:

  • wrong problem solved
  • local optimization with systemic harm
  • hidden assumptions
  • cross-boundary regression risk
  • architectural drift
  • state/data inconsistency
  • operational weakness
  • future maintenance burden

3) Reconcile with specs only after forming independent concerns

Then inspect the smallest sufficient spec subset:

  • .memory-bank/spec-index.md and linked SDD specs for T2 / T3
  • relevant contracts/*
  • domains/*
  • states/*
  • runbooks/*
  • requirements.md
  • invariants.md
  • related feature/epic docs

If code and specs disagree, record the drift explicitly rather than silently choosing one side.

4) Produce a hard-to-game report

The output must be concise and high-signal. Include:

  • semantic verdict
  • top substance risks
  • hidden assumptions
  • cross-boundary impact
  • architectural concerns
  • state/data consistency concerns
  • operational concerns
  • future maintenance cost
  • how the change could still be wrong
  • counterproposal or escalation path

For T3, also cover critical/security/runtime/recovery concerns and confirm exact marker lines HUMAN_CHECKPOINT: done and ROLLBACK_RECOVERY_NOTE: present are present before closure.

5) Take action from the verdict

  • semantic-pass: no substantive concerns found; scheduler closure-eligible when mb-verify also has PASS; manual T2 / T3 closure is eligible when mb-verify also has PASS
  • semantic-concern: not proven wrong, but blocked or human-review-required; in manual mode, do not trust existing done without human review / follow-up
  • semantic-fail: substantively wrong, systemically harmful, or too risky to accept; recommend or apply task status: failed according to active workflow ownership and explicit closure ownership

When invoked by /autopilot or /autonomous, mb-red-verify must not independently close the task, write done, write failed, block dependents, or promote dependents. It writes the semantic verdict and returns the recommended status/dependent action to the scheduler.

For semantic-concern, recommend blocking task/dependents, reopening from done, or leaving the task pending human review. If human review accepts the concern, record owner/reason and repeat mb-red-verify; scheduler normal done requires semantic-pass. For semantic-fail, file or recommend a bug, recommend follow-up tasks, recommend or apply status: failed according to active workflow ownership and explicit closure ownership, and stop downstream progression through the scheduler/explicit standalone owner.

Definition of done

  • red-verification.md exists and is substance-focused.
  • The report is concise, skeptical, and not just a rephrased /verify.
  • Serious concerns result in explicit bugs/tasks/escalation.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Mb Red Verify AI 技能有什么作用?

Adversarial semantic verification for one TASK-* so teams can catch solutions that pass process checks but are still wrong in substance.

为什么在 TypingMind 中使用 Mb Red Verify?

因为您只需安装一次,就能搭配任何模型使用。Mb Red Verify 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Mb Red Verify?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/mrvladd-d/memobank/tree/main/skills/mb-red-verify。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Mb Red Verify?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Mb Red Verify 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Mb Red Verify 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Mb Red Verify AI 技能免费吗?

是的。mrvladd-d 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇