Last modified by Robert Schaub on 2026/02/08 21:23

Hide last authors
Robert Schaub 1.1 1 = AKEL — AI Knowledge Extraction Layer =
Robert Schaub 1.2 2
Robert Schaub 1.1 3 AKEL is FactHarbor's automated intelligence subsystem.
4 Its purpose is to reduce human workload, enhance consistency, and enable scalable knowledge processing — **without ever replacing human judgment**.
5 AKEL outputs are marked with **AuthorType = AI** and published according to risk-based review policies (see Publication Modes below).
6 AKEL operates in two modes:
Robert Schaub 1.2 7
Robert Schaub 1.1 8 * **Single-node mode** (POC & Beta 0)
9 * **Federated multi-node mode** (Release 1.0+)
Robert Schaub 1.2 10
Robert Schaub 1.1 11 == 1. Purpose and Role ==
Robert Schaub 1.2 12
Robert Schaub 1.1 13 AKEL transforms unstructured inputs into structured, publication-ready content.
14 Core responsibilities:
Robert Schaub 1.2 15
Robert Schaub 1.1 16 * Claim extraction from arbitrary text
17 * Claim classification (domain, type, evaluability, safety, **risk tier**)
18 * Scenario generation (definitions, boundaries, assumptions, methodology)
19 * Evidence summarization and metadata extraction
20 * **Contradiction detection and counter-evidence search**
21 * **Reservation and limitation identification**
22 * **Bubble detection** (echo chambers, conspiracy theories, isolated sources)
23 * Re-evaluation proposal generation
24 * Cross-node embedding exchange (Release 1.0+)
Robert Schaub 1.2 25
Robert Schaub 1.1 26 == 2. Components ==
Robert Schaub 1.2 27
Robert Schaub 1.1 28 * **AKEL Orchestrator** – central coordinator
29 * **Claim Extractor**
30 * **Claim Classifier** (with risk tier assignment)
31 * **Scenario Generator**
32 * **Evidence Summarizer**
33 * **Contradiction Detector** (enhanced with counter-evidence search)
34 * **Quality Gate Validator**
35 * **Audit Sampling Scheduler**
36 * **Embedding Handler** (Release 1.0+)
37 * **Federation Sync Adapter** (Release 1.0+)
Robert Schaub 1.2 38
Robert Schaub 1.1 39 == 3. Inputs and Outputs ==
Robert Schaub 1.2 40
Robert Schaub 1.1 41 === 3.1 Inputs ===
Robert Schaub 1.2 42
Robert Schaub 1.1 43 * User-submitted claims or evidence
44 * Uploaded documents
45 * URLs or citations
46 * External LLM API (optional)
47 * Embeddings (from local or federated peers)
Robert Schaub 1.2 48
Robert Schaub 1.1 49 === 3.2 Outputs (publication mode varies by risk tier) ===
Robert Schaub 1.2 50
Robert Schaub 1.1 51 * ClaimVersion (draft or AI-generated)
52 * ScenarioVersion (draft or AI-generated)
53 * EvidenceVersion (summary + metadata, draft or AI-generated)
54 * VerdictVersion (draft, AI-generated, or human-reviewed)
55 * Contradiction alerts
56 * Reservation and limitation notices
57 * Re-evaluation proposals
58 * Updated embeddings
Robert Schaub 1.2 59
Robert Schaub 1.1 60 == 4. Publication Modes ==
Robert Schaub 1.2 61
Robert Schaub 1.1 62 AKEL content is published according to three modes:
Robert Schaub 1.2 63
Robert Schaub 1.1 64 === 4.1 Mode 1: Draft-Only (Never Public) ===
Robert Schaub 1.2 65
Robert Schaub 1.1 66 **Used for:**
Robert Schaub 1.2 67
Robert Schaub 1.1 68 * Failed quality gate checks
69 * Sensitive topics flagged for expert review
70 * Unclear scope or missing critical sources
71 * High reputational risk content
72 **Visibility:** Internal review queue only
Robert Schaub 1.2 73
Robert Schaub 1.1 74 === 4.2 Mode 2: Published as AI-Generated (No Prior Human Review) ===
Robert Schaub 1.2 75
Robert Schaub 1.1 76 **Requirements:**
Robert Schaub 1.2 77
Robert Schaub 1.1 78 * All automated quality gates passed (see below)
79 * Risk tier permits AI-draft publication (Tier B or C)
80 * Contradiction search completed successfully
81 * Clear labeling as "AI-Generated, AKEL-Generated"
82 **Label shown to users:**
83 ```
84 [AI-Generated] This content was produced by AI and has not yet been human-reviewed.
85 Source: AI | Review Status: Pending | Risk Tier: [B/C]
86 Contradiction Search: Completed | Last Updated: [timestamp]
87 ```
88 **User actions:**
89 * Browse and read content
90 * Request human review (escalates to review queue)
91 * Flag for expert attention
Robert Schaub 1.2 92
Robert Schaub 1.1 93 == 5. Risk tiers ==
Robert Schaub 1.2 94
Robert Schaub 1.1 95 AKEL assigns risk tiers to all content to determine appropriate review requirements:
Robert Schaub 1.2 96
Robert Schaub 1.1 97 === 5.1 Tier A — High Risk / High Impact ===
Robert Schaub 1.2 98
Robert Schaub 1.1 99 **Domains:** Medical, legal, elections, safety/security, major reputational harm
100 **Publication policy:**
Robert Schaub 1.2 101
Robert Schaub 1.1 102 * Human review REQUIRED before "AKEL-Generated" status
103 * AI-generated content MAY be published but:
Robert Schaub 1.2 104 ** Clearly flagged as AI-draft with prominent disclaimer
105 ** May have limited visibility
106 ** Auto-escalated to expert review queue
107 ** User warnings displayed
Robert Schaub 1.1 108 **Audit rate:** Recommendation: 30-50% of published AI-drafts sampled in first 6 months
Robert Schaub 1.2 109
Robert Schaub 1.1 110 === 5.2 Tier B — Medium Risk ===
Robert Schaub 1.2 111
Robert Schaub 1.1 112 **Domains:** Contested public policy, complex science, causality claims, significant financial impact
113 **Publication policy:**
Robert Schaub 1.2 114
Robert Schaub 1.1 115 * AI-draft CAN publish immediately with clear labeling
116 * Sampling audits conducted (see Audit System below)
117 * High-engagement items auto-escalated to expert review
118 * Users can report issue for moderator review
119 **Audit rate:** Recommendation: 10-20% of published AI-drafts sampled
Robert Schaub 1.2 120
Robert Schaub 1.1 121 === 5.3 Tier C — Low Risk ===
Robert Schaub 1.2 122
Robert Schaub 1.1 123 **Domains:** Definitions, simple factual lookups with strong primary sources, historical facts, established scientific consensus
124 **Publication policy:**
Robert Schaub 1.2 125
Robert Schaub 1.1 126 * AI-draft default publication mode
127 * Sampling audits sufficient
128 * Community flagging available
129 * Human review on request
130 **Audit rate:** Recommendation: 5-10% of published AI-drafts sampled
Robert Schaub 1.2 131
Robert Schaub 1.1 132 == 6. Quality Gates (Mandatory Before AI-Draft Publication) ==
Robert Schaub 1.2 133
Robert Schaub 1.1 134 All AI-generated content must pass these automated checks before Mode 2 publication:
Robert Schaub 1.2 135
Robert Schaub 1.1 136 === 6.1 Gate 1: Source Quality ===
Robert Schaub 1.2 137
Robert Schaub 1.1 138 * Primary sources identified and accessible
139 * Source reliability scored against whitelist
140 * Citation completeness verified
141 * Publication dates checked
142 * Author credentials validated (where applicable)
Robert Schaub 1.2 143
Robert Schaub 1.1 144 === 6.2 Gate 2: Contradiction Search (MANDATORY) ===
Robert Schaub 1.2 145
Robert Schaub 1.1 146 **The system MUST actively search for:**
Robert Schaub 1.2 147
Robert Schaub 1.1 148 * **Counter-evidence** – Rebuttals, conflicting results, contradictory studies
149 * **Reservations** – Caveats, limitations, boundary conditions, applicability constraints
150 * **Alternative interpretations** – Different framings, definitions, contextual variations
151 * **Bubble detection** – Conspiracy theories, echo chambers, ideologically isolated sources
152 **Search coverage requirements:**
153 * Academic literature (BOTH supporting AND opposing views)
154 * Reputable media across diverse political/ideological perspectives
155 * Official contradictions (retractions, corrections, updates, amendments)
156 * Domain-specific skeptics, critics, and alternative expert opinions
157 * Cross-cultural and international perspectives
158 **Search must actively avoid algorithmic bubbles:**
159 * Deliberately seek opposing viewpoints
160 * Check for echo chamber patterns in source clusters
161 * Identify tribal or ideological source clustering
162 * Flag when search space appears artificially constrained
163 * Verify diversity of perspectives represented
164 **Outcomes:**
165 * **Strong counter-evidence found** → Auto-escalate to Tier B or draft-only mode
166 * **Significant uncertainty detected** → Require uncertainty disclosure in verdict
167 * **Bubble indicators present** → Flag for expert review and human validation
168 * **Limited perspective diversity** → Expand search or flag for human review
Robert Schaub 1.2 169
Robert Schaub 1.1 170 === 6.3 Gate 3: Uncertainty Quantification ===
Robert Schaub 1.2 171
Robert Schaub 1.1 172 * Confidence scores calculated for all claims and verdicts
173 * Limitations explicitly stated
174 * Data gaps identified and disclosed
175 * Strength of evidence assessed
176 * Alternative scenarios considered
Robert Schaub 1.2 177
Robert Schaub 1.1 178 === 6.4 Gate 4: Structural Integrity ===
Robert Schaub 1.2 179
Robert Schaub 1.1 180 * No hallucinations detected (fact-checking against sources)
181 * Logic chain valid and traceable
182 * References accessible and verifiable
183 * No circular reasoning
184 * Premises clearly stated
185 **If any gate fails:**
186 * Content remains in draft-only mode
187 * Failure reason logged
188 * Human review required before publication
189 * Failure patterns analyzed for system improvement
Robert Schaub 1.2 190
Robert Schaub 1.1 191 == 7. Audit System (Sampling-Based Quality Assurance) ==
Robert Schaub 1.2 192
Robert Schaub 1.1 193 Instead of reviewing ALL AI output, FactHarbor implements stratified sampling audits:
Robert Schaub 1.2 194
Robert Schaub 1.1 195 === 7.1 Sampling Strategy ===
Robert Schaub 1.2 196
Robert Schaub 1.1 197 Audits prioritize:
Robert Schaub 1.2 198
Robert Schaub 1.1 199 * **Risk tier** (higher tiers get more frequent audits)
200 * **AI confidence score** (low confidence → higher sampling rate)
201 * **Traffic and engagement** (high-visibility content audited more)
202 * **Novelty** (new claim types, new domains, emerging topics)
203 * **Disagreement signals** (user flags, contradiction alerts, community reports)
Robert Schaub 1.2 204
Robert Schaub 1.1 205 === 7.2 Audit Process ===
Robert Schaub 1.2 206
Robert Schaub 1.1 207 1. System selects content for audit based on sampling strategy
208 2. Human auditor reviews AI-generated content against quality standards
209 3. Moderator validates or corrects:
Robert Schaub 1.2 210
211 * Claim extraction accuracy
212 * Scenario appropriateness
213 * Evidence relevance and interpretation
214 * Verdict reasoning
215 * Contradiction search completeness
Robert Schaub 1.1 216 4. Audit outcome recorded (pass/fail + detailed feedback)
217 5. Failed audits trigger immediate content review
218 6. Audit results feed back into system improvement
Robert Schaub 1.2 219
Robert Schaub 1.1 220 === 7.3 Feedback Loop (Continuous Improvement) ===
Robert Schaub 1.2 221
Robert Schaub 1.1 222 Audit outcomes systematically improve:
Robert Schaub 1.2 223
Robert Schaub 1.1 224 * **Query templates** – Refined based on missed evidence patterns
225 * **Retrieval source weights** – Adjusted for accuracy and reliability
226 * **Contradiction detection heuristics** – Enhanced to catch missed counter-evidence
227 * **Model prompts and extraction rules** – Tuned for better claim extraction
228 * **Risk tier assignments** – Recalibrated based on error patterns
229 * **Bubble detection algorithms** – Improved to identify echo chambers
Robert Schaub 1.2 230
Robert Schaub 1.1 231 === 7.4 Audit Transparency ===
Robert Schaub 1.2 232
Robert Schaub 1.1 233 * Audit statistics published regularly
234 * Accuracy rates by risk tier tracked and reported
235 * System improvements documented
236 * Community can view aggregate audit performance
Robert Schaub 1.2 237
Robert Schaub 1.1 238 == 8. Architecture Overview ==
Robert Schaub 1.2 239
Robert Schaub 1.11 240 {{include reference="Archive.FactHarbor 2026\.01\.20.Specification.Diagrams.AKEL Architecture.WebHome"/}}
Robert Schaub 1.2 241
Robert Schaub 1.1 242 == 9. AKEL and Federation ==
Robert Schaub 1.2 243
Robert Schaub 1.1 244 In Release 1.0+, AKEL participates in cross-node knowledge alignment:
Robert Schaub 1.2 245
Robert Schaub 1.1 246 * Shares embeddings
247 * Exchanges canonicalized claim forms
248 * Exchanges scenario templates
249 * Sends + receives contradiction alerts
250 * Shares audit findings (with privacy controls)
251 * Never shares model weights
252 * Never overrides local governance
253 Nodes may choose trust levels for AKEL-related data:
254 * Trusted nodes: auto-merge embeddings + templates
255 * Neutral nodes: require additional verification
256 * Untrusted nodes: fully manual import
Robert Schaub 1.2 257
Robert Schaub 1.1 258 == 10. Human Review Workflow (Mode 3 Publication) ==
Robert Schaub 1.2 259
Robert Schaub 1.1 260 For content requiring human validation before "AKEL-Generated" status:
Robert Schaub 1.2 261
Robert Schaub 1.1 262 1. AKEL generates content and publishes as AI-draft (Mode 2) or keeps as draft (Mode 1)
263 2. Contributors inspect content in review queue
264 3. Contributors validate quality gates were correctly applied
265 4. Trusted Contributors validate high-risk (Tier A) or domain-specific outputs
266 5. Moderators finalize "AKEL-Generated" publication
267 6. Version numbers increment, full history preserved
268 **Note:** Most AI-generated content (Tier B and C) can remain in Mode 2 (AI-Generated) indefinitely. Human review is optional for these tiers unless users or audits flag issues.
Robert Schaub 1.2 269
Robert Schaub 1.1 270 == 11. POC v1 Behavior ==
Robert Schaub 1.2 271
Robert Schaub 1.1 272 The POC explicitly demonstrates AI-generated content publication:
Robert Schaub 1.2 273
Robert Schaub 1.1 274 * Produces public AI-generated output (Mode 2)
275 * No human data sources required
276 * No human approval gate
277 * Clear "AI-Generated - POC/Demo" labeling
278 * All quality gates active (including contradiction search)
279 * Users understand this demonstrates AI reasoning capabilities
280 * Risk tier classification shown (demo purposes)
Robert Schaub 1.2 281
Robert Schaub 1.1 282 == 12. Related Pages ==
Robert Schaub 1.2 283
Robert Schaub 1.10 284 * [[Automation>>Archive.FactHarbor 2026\.01\.20.Specification.Automation.WebHome]]
Robert Schaub 1.12 285 * [[Requirements (Roles)>>Archive.FactHarbor 2026\.01\.20.Specification.Requirements.WebHome]]
Robert Schaub 1.13 286 * [[Workflows>>Archive.FactHarbor 2026\.01\.20.Specification.Workflows.WebHome]]
Robert Schaub 1.15 287 * [[Governance>>Archive.FactHarbor.Organisation.Governance.WebHome]]