Merge commit 'ac794a6a7051497ff60b947642d44f0f8c04d6c6' into lsp-server

This commit is contained in:
csh
2026-01-08 15:56:37 +08:00
113 changed files with 254751 additions and 176 deletions
@@ -0,0 +1,48 @@
---
name: verification-before-completion
description:
"Evidence-based verification before claiming completion. Triggers: verify,
verification, run tests, prove, 验证, 跑一下, 确认一下, 自证."
---
# Verification Before Completion(先验证再宣称完成)
## When to Use
- Any task where correctness matters (bug fixes, refactors, releases)
- When the environment is complex or assumptions are likely
## Inputsrequired
- What “done” means (acceptance criteria)
- The smallest verification command(s) that prove it
- Constraints: cannot run tests? no access? limited environment?
## Proceduredefault
1. **Define Success Signals**
- Tests passing, build artifacts produced, commands return 0
- Specific output text or file diffs
2. **Run the Smallest Check**
- Start narrow (changed module tests) then broaden if needed
3. **Record Evidence**
- Capture key output lines, exit codes, and relevant file paths
4. **Handle Gaps**
- If verification cant be run, say why and offer alternatives (manual
checklist, static reasoning, targeted logs)
## Output Contractstable
- What changed
- What was verified (exact commands)
- Evidence (exit codes / key outputs)
- What was not verified (and why)
- Next steps (if any)
## Guardrails
- Dont claim “fixed” without a verification signal
- Prefer repeatable commands over subjective inspection