diff-blind-test-synth
暂无简介
- License 许可
- MIT
- 最近更新
- 2026-11-02
- Stars
- ★ 0
- Forks
- 0
03 SKILL.md 正文
Diff-Blind Adversarial Test Synthesis
The fixing agent authored the patch AND (usually) the tests that prove it — so "tests pass" only proves the patch is self-consistent, not that it meets the requirement. The one signal the author cannot fabricate is a test written by someone who never saw the diff. This skill produces that signal: a fresh Opus, given only the spec and the public API surface, writes executable tests; their PASS/FAIL pattern across the pre-patch and post-patch trees is an external oracle on whether the patch does what the spec asked.
Grounded in UTBoost (arXiv 2506.09289): LLM-synthesized, ground-truth-blind tests materially raise the bug-detection power of a patch benchmark by catching patches that pass the shipped suite yet miss the actual fix.
When to run
- Reviewing a fleet/Codex/subagent patch or PR where the author wrote both code and tests.
- A bugfix task where you want proof the fix addresses the REQUIREMENT, not just the author's chosen test.
- Before adopting a "green-tested" change you did not write, when the spec is concrete enough to author tests from.
- NOT for: pure refactors with no behavioral spec; changes whose spec is only visible in the diff itself.
What makes this distinct (do not conflate)
- vs A3 fail-first / red-proof gate: that gate takes the AUTHOR's changed tests and proves they fail on the merge-base. Here the tests are authored blind to the diff by a fresh context — it catches the case where the author's own tests are tautological or under-specify the requirement.
Diff-blindness is the whole point — enforce the isolation
Protocol
SHADOW mode (per council C5 — always ship observe-only)
Anti-flake / anti-overfit guards
Inline runner (shadow-mode, write on demand — no separate skill file)
$BASE = merge-base, $TESTFILE = diff-blind synthesized test, $PKG = importable package
04 同仓库更多 Skills
clarify-requirements
Resolve genuine pre-execution ambiguity by scanning repo context, generating 1-6 grounded options, and asking 1-3 focused questions via AskUserQuestion. NOT for mid-task use (injection risk); NOT when the goal is already unambiguous; use to disambiguate vague prompts before any file edits.
openmm-md
Run FREE, open-source, Windows-native GPU molecular dynamics via the openmm-md MCP (OpenMM + CUDA on the local NVIDIA GPU). Use for protein / protein-ligand MD when you want a free stack or are on Windows without a Schrodinger license. Covers the full workflow (prepare, solvate, minimize, equilibrate, production, analyze, mmgbsa) AND an honest decision guide vs Schrodinger Desmond, including how to run Desmond legitimately on Linux or a cloud GPU with a real license. This is a deliberately LESSER free alternative and does NOT replace the schrodinger MCP tools. Do NOT use it to pick a free tool when a validated FEP+, WaterMap, IFD-MD, or Prime MM-GBSA result is actually required.
visual-review
Take screenshots of web pages and UI using Playwright for visual review and iteration
status
Diagnostic status report — shows metaswarm installation state, project setup, and potential issues
start
Use when starting work on any task, when the user mentions metaswarm, or when the user wants to begin tracked development work
setup
Interactive project setup — detects your project, configures metaswarm, writes project-local files