Failed attempts inform next attempts ↗
Capture exact failure mode, classification, and ruled-out premises after every error or falsified experiment so follow-up steps change strategy instead of looping.
FeedAkış
Open, portable, evidence-driven resources for AI agents. Inspect the source, check the verification level, and adopt only what earns its place.
Yapay zekâ ajanları için açık, taşınabilir ve kanıt odaklı kaynaklar. Kaynağı incele, doğrulama seviyesini gör ve yalnızca işine yarayanı kullan.
Diagnostic loop workflow (`CAPTURE_SYMPTOM -> FORM_COMPETING_HYPOTHESES -> DISCRIMINATING_CHECK -> EVALUATE_EVIDENCE -> MINIMAL_FIX -> VERIFY_FULL_RECOVERY`) that loops cleanly on falsification.
Family: Workflow
Disclosure class: PUBLIC-PRACTICE
Maturity: Draft
Use this workflow to diagnose bugs, regressions, and system failures systematically — looping back cleanly when a hypothesis is falsified instead of patching blindly.
CAPTURE_SYMPTOM -> FORM_COMPETING_HYPOTHESES -> DISCRIMINATING_CHECK -> EVALUATE_EVIDENCE
^ |
+--------- (falsified / inconclusive) ----------+
|
(confirmed cause) v
MINIMAL_FIX -> VERIFY_FULL_RECOVERY
Record the exact observable failure signature, target version/environment, recent changes, and protected invariants. Classify the failure category (connectivity, permission, conflict, schema, stale state, implementation defect) before retrying anything.
List at least two plausible explanations (unless the root cause is already directly proven by a deterministic trace). Explicitly separate:
Choose the smallest bounded, read-only (or explicitly authorized) observation or experiment where competing hypotheses predict different results. Note any probe side effects and respect permission limits.
Compare observed output against predictions:
Apply the smallest coherent root-cause fix without suppressing errors, weakening tests, or altering unrelated files.
Verify more than "symptom disappeared":
Stop and report the current evidence state when discriminating requires unauthorized production access, destructive probes, or an unavailable dependency.
# Hypothesis to evidence
**Family:** Workflow
**Disclosure class:** `PUBLIC-PRACTICE`
**Maturity:** Draft
Use this workflow to diagnose bugs, regressions, and system failures systematically — looping back cleanly when a hypothesis is falsified instead of patching blindly.
## Flow
```text
CAPTURE_SYMPTOM -> FORM_COMPETING_HYPOTHESES -> DISCRIMINATING_CHECK -> EVALUATE_EVIDENCE
^ |
+--------- (falsified / inconclusive) ----------+
|
(confirmed cause) v
MINIMAL_FIX -> VERIFY_FULL_RECOVERY
```
## 1. CAPTURE_SYMPTOM
Record the exact observable failure signature, target version/environment, recent changes, and protected invariants. Classify the failure category (`connectivity`, `permission`, `conflict`, `schema`, `stale state`, `implementation defect`) before retrying anything.
## 2. FORM_COMPETING_HYPOTHESES
List at least two plausible explanations (unless the root cause is already directly proven by a deterministic trace). Explicitly separate:
- independent co-occurring faults;
- shared common-cause root dependencies;
- proven causal cascades.
## 3. DISCRIMINATING_CHECK
Choose the smallest bounded, read-only (or explicitly authorized) observation or experiment where competing hypotheses predict **different** results. Note any probe side effects and respect permission limits.
## 4. EVALUATE_EVIDENCE
Compare observed output against predictions:
- **Falsified:** Record what the failed hypothesis rules out (negative knowledge) and loop back with updated hypotheses.
- **Inconclusive:** Note measurement resolution or confounders and refine the check rather than guessing.
- **Confirmed:** Proceed to minimal fix while keeping any unexplained residuals visible.
## 5. MINIMAL_FIX
Apply the smallest coherent root-cause fix without suppressing errors, weakening tests, or altering unrelated files.
## 6. VERIFY_FULL_RECOVERY
Verify more than "symptom disappeared":
- failing trigger now passes;
- negative and boundary cases still fail closed;
- protected pre-existing invariants did not regress;
- downstream stale state is reconciled and any temporary workaround (recovery debt) is removed or explicitly tracked.
## Stop conditions
Stop and report the current evidence state when discriminating requires unauthorized production access, destructive probes, or an unavailable dependency.
Export blinded scenarios without descriptive IDs or expected answers, then compare your assistant without vs. with this artifact loaded:
Açıklayıcı kimlikler ve beklenen cevaplar gizlenmiş kör senaryoları dışa aktarıp kendi asistanında bu kaynak olmadan ve bu kaynakla karşılaştırma yap:
python -B scripts/eval_review.py --blind hypothesis-to-evidenceDiagnostic loop workflow (CAPTURE_SYMPTOM -> FORM_COMPETING_HYPOTHESES -> DISCRIMINATING_CHECK -> EVALUATE_EVIDENCE -> MINIMAL_FIX -> VERIFY_FULL_RECOVERY) that loops cleanly on falsification.
Best for: Systematic debugging of regressions, failing deployments, network errors, and flaky integration failures. When not to use: Skip the multi-hypothesis loop when a deterministic compiler error already pinpoints a single-line typo. Status: Catalog release (releaseEligible: true; declarative L1/L2 contract verified; host runtime enforcement remains separate).
passing (Level 1–2 structural and executable contract verification via tests/test_strategic_revision_verification.py; runtime enforcement or behavioral compliance remains separate)Debugging dual worker/frontend failures identifies one shared expired TLS cert as common root cause via a targeted handshake check, fixes cert rotation cleanly, and verifies negative HTTP failure paths.
Procedure only; stops safely when discriminating probes require unavailable access or destructive production changes.
Anchoring on the first plausible guess routinely leads to masking symptoms or breaking unrelated paths while the real cause stays active.
Verifying negative boundaries still fail closed, cleaning up temporary workaround flags (recovery debt), and reconciling stale caches/queues.
No runtime-specific compatibility evidence is declared. Treat this artifact as a declarative specification whose enforcement depends on the consuming runtime.
Çalışma ortamına özgü uyumluluk kanıtı beyan edilmemiş. Bu kaynağı, uygulaması kullanan çalışma ortamına bağlı bir deklaratif sözleşme olarak değerlendirin.
Original clean-room public engineering practice re-authored from general software methodology and verification principles; no private implementation source is embedded.