Gates
Diagnosis and the confidence gate
The v3.3 loop is still a gate in v4. The point is a verifiable finish, not a louder insult.
Diagnosis first
- Tool:
puax_check_diagnosis - The block is
[PUAX-DIAGNOSIS], with where the evidence came from activate_with_contextandget_role_with_methodologyinject that protocol
Six-step confidence gate
puax_confidence_check:
- List the claims
- Find the hole
- Fix it or disclose it
- Run the evidence
- Loop until it closes
- State only facts that have evidence
Saying "done" before the gate is a governance failure. Pair it with
puax_verify_completion.Code sample
# 改代码前 puax_check_diagnosis(text=agent_output) # 期望:存在合法 [PUAX-DIAGNOSIS] 块 # 交付前 puax_confidence_check( claims=["登录接口 200ms 内返回", "覆盖 refresh token 路径"], evidence=["pytest tests/auth -q", "curl 压测结果"] )