knowledge(methods): add epistemic self-audit checklist and source attribution
Brain Structural Validation / Validate Markdown Structure & Links (push) Successful in 8s

This commit is contained in:
kiskaadee committed 2026-09-21 23:32:39 -05:00
1 parent 85f3c1fa41
commit 288e89edeb
1 file changed
+25 -3
@@ -98,6 +98,12 @@ Scale investigative depth to the actual learning value of the incident:
* For subtle protocol discrepancies, serialization bugs, race conditions, or cryptographic failures, provide full deep-dive rigor. * For subtle protocol discrepancies, serialization bugs, race conditions, or cryptographic failures, provide full deep-dive rigor.
* Never manufacture artificial hypotheses or boilerplate purely to satisfy a template. * Never manufacture artificial hypotheses or boilerplate purely to satisfy a template.
### F. Source Attribution for Protocol Contracts
Never rely on remembered behavior for protocol specifications, container entrypoints, or framework internals. Explicitly cite the canonical source (e.g. *"According to Gitea's webhook implementation..."*, *"Per RFC 2104 (HMAC)..."*).
### G. Safe Credential Verification Without Secret Leakage
When verifying whether two endpoints possess matching credentials, never log raw or truncated secrets. Instead, document cryptographic proof (e.g., comparing SHA-256 digests of the credentials in memory) or safe boolean assertions.
--- ---
## 3. Modular Investigation Structure ## 3. Modular Investigation Structure
@@ -106,7 +112,7 @@ When authoring an incident journal (`Brain/records/journal/YYYY-MM-DD-<slug>.md`
### 1. System Context & Fundamentals ### 1. System Context & Fundamentals
* Establish the specific role of the affected subsystem. * Establish the specific role of the affected subsystem.
* Diagram component boundaries, data flow, and security/protocol contracts. * Diagram component boundaries, data flow, and security/protocol contracts with source citations.
* Reference canonical documentation (avoid copying static architectural overviews). * Reference canonical documentation (avoid copying static architectural overviews).
### 2. Problem & Observations ### 2. Problem & Observations
@@ -115,7 +121,7 @@ When authoring an incident journal (`Brain/records/journal/YYYY-MM-DD-<slug>.md`
* Clearly isolate raw facts before offering any interpretations. * Clearly isolate raw facts before offering any interpretations.
### 3. Diagnostic Inquiries ### 3. Diagnostic Inquiries
* List the guiding questions that an operator must ask to partition the problem space (e.g., *Did the event reach the boundary? Was it authenticated? Were the payload bytes altered?*). * Formulate the evolving questions that organize the investigation.
### 4. Investigation & Hypothesis Testing ### 4. Investigation & Hypothesis Testing
* Walk through each meaningful investigative inquiry: * Walk through each meaningful investigative inquiry:
@@ -128,6 +134,7 @@ When authoring an incident journal (`Brain/records/journal/YYYY-MM-DD-<slug>.md`
### 5. Findings & Root Cause Analysis ### 5. Findings & Root Cause Analysis
* Synthesize the validated evidence. * Synthesize the validated evidence.
* Detail the exact physical or logical causal chain (e.g. how data structures, memory, networks, or serializers behaved under the hood). * Detail the exact physical or logical causal chain (e.g. how data structures, memory, networks, or serializers behaved under the hood).
* Explicitly distinguish between evidence proven during triage and insights discovered via retrospective analysis.
### 6. Declarative Remediation & Local Validation ### 6. Declarative Remediation & Local Validation
* Present the minimal declarative configuration change. * Present the minimal declarative configuration change.
@@ -135,12 +142,27 @@ When authoring an incident journal (`Brain/records/journal/YYYY-MM-DD-<slug>.md`
### 7. Deployment & Recovery Runbook ### 7. Deployment & Recovery Runbook
* Document production deployment steps. * Document production deployment steps.
* If deployment requires privileged human execution (such as `nixos-rebuild`), explicitly label it as a **Human Deployment Procedure**.
* Provide concrete post-deployment verification proving that the service recovered under real operating conditions. * Provide concrete post-deployment verification proving that the service recovered under real operating conditions.
### 8. Discussion & Generalization ### 8. Discussion & Generalization
* **Architectural Takeaways**: Design flaws or implicit assumptions exposed by the incident. * **Architectural Takeaways**: Design flaws or implicit assumptions exposed by the incident.
* **Transferable Diagnostic Rules**: General heuristics that apply to future troubleshooting across other domains. * **Transferable Diagnostic Rules**: General heuristics that apply to future troubleshooting across other domains (avoiding overgeneralization).
* **Preventative Measures**: Systemic hardening or monitoring improvements. * **Preventative Measures**: Systemic hardening or monitoring improvements.
### 9. References ### 9. References
* Code pointers, forge commit links, external RFCs, and upstream issue trackers. * Code pointers, forge commit links, external RFCs, and upstream issue trackers.
---
## 4. Epistemic & Evidence Self-Audit Checklist
Before finalizing an incident journal, execute the following 7-point audit:
1. **Epistemic Classification**: Is every substantive statement clearly categorized as an *observation*, *inference*, *hypothesis*, or *conclusion*?
2. **Evidence Demonstration**: Does the journal *demonstrate* the causal mechanism with concrete evidence rather than merely asserting it?
3. **Auditability**: Is the supporting evidence actually shown in the record rather than assumed?
4. **Chronological Integrity**: Is historical investigation reasoning distinguished from retrospective reconstruction?
5. **Proportional Claims**: Does the conclusion claim only what the evidence strictly establishes without overreaching?
6. **Sound Generalization**: Are local lessons generalized safely (avoiding absolute claims like *"it is always X"* when other failure modes exist)?
7. **Transferability**: Could an unfamiliar engineer apply the diagnostic reasoning to a dissimilar problem without already knowing the solution?