|
| 1 | +# Generated by specsmith migrate m001 |
| 2 | +# Edit this file; original MD kept as view. |
| 3 | + |
| 4 | +content: '# Epistemic Axioms — specsmith |
| 5 | +
|
| 6 | +
|
| 7 | + specsmith is built on Applied Epistemic Engineering (AEE) principles. This document |
| 8 | +
|
| 9 | + defines the five axioms as they apply to specsmith''s own development. |
| 10 | +
|
| 11 | +
|
| 12 | + See the full AEE primer: https://specsmith.readthedocs.io/en/stable/aee-primer/ |
| 13 | +
|
| 14 | +
|
| 15 | + --- |
| 16 | +
|
| 17 | +
|
| 18 | + ## Axiom 1: Observability |
| 19 | +
|
| 20 | +
|
| 21 | + Every requirement in `docs/REQUIREMENTS.md` must be fully inspectable. Hidden assumptions |
| 22 | +
|
| 23 | + are a stop condition (H13). |
| 24 | +
|
| 25 | +
|
| 26 | + **In practice:** |
| 27 | +
|
| 28 | + - All REQ-XXX entries must have `**Platform:**` or `**Boundary:**` fields |
| 29 | +
|
| 30 | + - Technology decisions in architecture.md must declare alternatives considered |
| 31 | +
|
| 32 | + - AGENTS.md proposals must include `Assumptions:` field |
| 33 | +
|
| 34 | +
|
| 35 | + --- |
| 36 | +
|
| 37 | +
|
| 38 | + ## Axiom 2: Falsifiability |
| 39 | +
|
| 40 | +
|
| 41 | + Every accepted requirement must have a corresponding test. Unchallenged claims are |
| 42 | + not |
| 43 | +
|
| 44 | + engineering artifacts. |
| 45 | +
|
| 46 | +
|
| 47 | + **In practice:** |
| 48 | +
|
| 49 | + - Every REQ-XXX with status ACCEPTED must have TEST-XXX in TESTS.md with `Covers:` |
| 50 | + reference |
| 51 | +
|
| 52 | + - `specsmith audit` enforces REQ↔TEST consistency |
| 53 | +
|
| 54 | + - `specsmith epistemic-audit` detects accepted requirements without test coverage |
| 55 | +
|
| 56 | +
|
| 57 | + --- |
| 58 | +
|
| 59 | +
|
| 60 | + ## Axiom 3: Irreducibility |
| 61 | +
|
| 62 | +
|
| 63 | + Requirements must be decomposed to atomic, independently verifiable primitives. |
| 64 | +
|
| 65 | +
|
| 66 | + **In practice:** |
| 67 | +
|
| 68 | + - Requirements with more than one core claim should be split |
| 69 | +
|
| 70 | + - `specsmith stress-test` flags compound claim patterns |
| 71 | +
|
| 72 | + - Each REQ-XXX should be independently testable |
| 73 | +
|
| 74 | +
|
| 75 | + --- |
| 76 | +
|
| 77 | +
|
| 78 | + ## Axiom 4: Reconstructability |
| 79 | +
|
| 80 | +
|
| 81 | + Every failed requirement can be reconstructed. Failure modes are recovery opportunities. |
| 82 | +
|
| 83 | +
|
| 84 | + **In practice:** |
| 85 | +
|
| 86 | + - `specsmith epistemic-audit` emits `RecoveryProposal` objects for all failure modes |
| 87 | +
|
| 88 | + - Recovery proposals require human approval before applying (H2) |
| 89 | +
|
| 90 | + - DEPRECATED requirements are kept in the ledger — never deleted |
| 91 | +
|
| 92 | +
|
| 93 | + --- |
| 94 | +
|
| 95 | +
|
| 96 | + ## Axiom 5: Convergence |
| 97 | +
|
| 98 | +
|
| 99 | + Systematic application of stress-test (S) and recovery (R) will converge to equilibrium. |
| 100 | +
|
| 101 | +
|
| 102 | + **In practice:** |
| 103 | +
|
| 104 | + - Run `specsmith stress-test` after every batch of new requirements |
| 105 | +
|
| 106 | + - A passing `specsmith epistemic-audit` with `Equilibrium: YES` is the milestone |
| 107 | + gate |
| 108 | +
|
| 109 | + - CI can gate on `specsmith epistemic-audit --threshold 0.6` |
| 110 | +
|
| 111 | +
|
| 112 | + --- |
| 113 | +
|
| 114 | +
|
| 115 | + ## Current Epistemic Status |
| 116 | +
|
| 117 | +
|
| 118 | + Run `specsmith epistemic-audit --project-dir .` to check current status: |
| 119 | +
|
| 120 | + - Equilibrium: [run to check] |
| 121 | +
|
| 122 | + - Overall certainty: [run to check] |
| 123 | +
|
| 124 | + - Logic knots: [run to check] |
| 125 | +
|
| 126 | +
|
| 127 | + --- |
| 128 | +
|
| 129 | +
|
| 130 | + ## Certainty Threshold |
| 131 | +
|
| 132 | +
|
| 133 | + specsmith''s epistemic threshold: **0.7** (configured in `scaffold.yml`) |
| 134 | +
|
| 135 | +
|
| 136 | + P1 requirements with confidence below MEDIUM are a stop condition per H13. |
| 137 | +
|
| 138 | +
|
| 139 | + --- |
| 140 | +
|
| 141 | +
|
| 142 | + ## External Validation: OEA Recursive Generative Stability |
| 143 | +
|
| 144 | +
|
| 145 | + The five AEE axioms above describe the engineering properties that a governed AI |
| 146 | + system |
| 147 | +
|
| 148 | + must have. The question of *why* these axioms specifically prevent hallucination |
| 149 | + and drift |
| 150 | +
|
| 151 | + was answered empirically by the study: |
| 152 | +
|
| 153 | +
|
| 154 | + > *"Ontology-Epistemic-Agentic (OEA) Recursive Generative Stability: A Unified Framework |
| 155 | +
|
| 156 | + > for Preventing Hallucination and Drift in Large Language Models"* |
| 157 | +
|
| 158 | + > — BitConcepts Research, 2026 |
| 159 | +
|
| 160 | +
|
| 161 | + The OEA study ran controlled ablation experiments across several LLM families and |
| 162 | +
|
| 163 | + identified the following correspondences between AEE axioms and measurable hallucination |
| 164 | +
|
| 165 | + control mechanisms: |
| 166 | +
|
| 167 | +
|
| 168 | + | AEE Axiom | OEA Control Mechanism | Hard Rule | |
| 169 | +
|
| 170 | + |---|---|---| |
| 171 | +
|
| 172 | + | Axiom 1 — Observability | Epistemic scope bounding (H15) | H15 | |
| 173 | +
|
| 174 | + | Axiom 2 — Falsifiability | Calibration direction (H17); Falsifiability required |
| 175 | + (H20) | H17, H20 | |
| 176 | +
|
| 177 | + | Axiom 3 — Irreducibility | No undisclosed model assumptions (H21) | H21 | |
| 178 | +
|
| 179 | + | Axiom 4 — Reconstructability | Anti-drift recursion guard (H16) | H16 | |
| 180 | +
|
| 181 | + | Axiom 5 — Convergence | RAG retrieval filtering (H18); Synthetic contamination |
| 182 | + prevention (H19) | H18, H19 | |
| 183 | +
|
| 184 | +
|
| 185 | + H22 (cross-platform CI enforcement) addresses the infrastructure dimension of the |
| 186 | + OEA |
| 187 | +
|
| 188 | + cross-platform validity requirement. |
| 189 | +
|
| 190 | +
|
| 191 | + In concrete terms: a system that enforces H15–H22 operationalises the OEA framework. |
| 192 | +
|
| 193 | + Specsmith''s governance layer is the first open-source AEE toolkit to encode these |
| 194 | +
|
| 195 | + findings as machine-enforceable rules via `specsmith validate`. |
| 196 | +
|
| 197 | + ' |
| 198 | +generated_by: specsmith migrate (m001) |
| 199 | +kind: axioms |
| 200 | +source_md: docs/governance/EPISTEMIC-AXIOMS.md |
0 commit comments