Workflows
Workflows
This chapter defines the core workflows used across the FactHarbor system.
Each workflow describes:
- Purpose
- Participants
- Steps
- Automation vs. manual work
1. Claim Workflow
Purpose: Transform raw text or input material into a normalized, classified, deduplicated, and versioned claim.
Participants:
- Contributor
- AKEL
- Reviewer
Steps:
- Ingestion: User submits text/URL; AKEL extracts claims.
- Normalization: Standardize wording, reduce ambiguity.
- Classification: Domain, Evaluability, Safety (AKEL draft → Human confirm).
- Duplicate Detection: Check embeddings for existing claims.
- Version Creation: Store new ClaimVersion.
- Cluster Assignment: Assign to Claim Cluster.
- Scenario Linking: Connect to existing or draft new scenarios.
- Publication: Make visible.
Flow: Ingest → Normalize → Classify → Deduplicate → Cluster → Version → Publish
2. Scenario Workflow
Purpose: Define the specific analytic contexts needed to evaluate each claim.
Steps:
- Scenario Proposal: Drafted by contributor or AKEL.
- Required Fields: Definitions, Assumptions, ContextBoundary, EvaluationMethod, SafetyClass.
- Safety Interception: AKEL flags non-falsifiable or unsafe content.
- Conflict Check: Merge similar scenarios, flag contradictions.
- Reviewer Validation: Ensure clarity and validity.
- Expert Approval: Mandatory for high-risk domains.
- Version Storage: Save ScenarioVersion.
Flow: Draft → Validate → Safety Check → Review → Expert → Version → Activate
3. Evidence Workflow
Purpose: Structure, classify, validate, version, and link evidence to scenarios.
Steps:
- Submission: File, URL, or text.
- Metadata Extraction: Type, Category, Provenance, ReliabilityHints.
- Relevance Check: Verify applicability to scenario.
- Reliability Assessment: Score reliability (Reviewer + Expert).
- Link Creation: Create ScenarioEvidenceLink with relevance score.
- Versioning: Update EvidenceVersion.
Flow: Submit → Extract → Relevance → Reliability → Link → Version
4. Verdict Workflow
Purpose: Generate likelihood estimates per scenario based on evidence.
Steps:
- Aggregation: Collect linked evidence for a specific scenario.
- Draft Verdict: AKEL proposes likelihood and uncertainty for that scenario.
- Reasoning: AKEL drafts explanation chain.
- Validation: Reviewer checks logic and hallucinations.
- Expert Review: Required for sensitive topics.
- Storage: Save VerdictVersion.
Flow: Aggregate → Draft → Reasoning → Review → Expert → Version
5. Re-evaluation Workflow
Purpose: Keep verdicts current when inputs change.
Steps:
- Trigger: Evidence update, Scenario change, or Contradiction.
- Impact Analysis: Identify affected nodes.
- Re-calculation: AKEL proposes new likelihoods.
- Validation: Human review.
- Storage: New version.
Flow: Trigger → Analyze → Recompute → Review → Version
6. Federation Synchronization Workflow
Purpose: Exchange structured data between nodes.
Steps:
- Detect Version Changes.
- Build Signed Bundle (Merkle tree).
- Push/Pull to Peers.
- Validate Signatures & Lineage.
- Resolve Conflicts (Merge/Fork).
- Trigger Re-evaluation.
7. User Role & Review Workflow
Purpose: Ensure correctness and safety.
Steps:
- Submission.
- Auto-check (AKEL).
- Reviewer Validation.
- Expert Validation (if needed).
- Moderator Oversight (if flagged).
8. AKEL Workflow
Stages:
- Input Understanding
- Scenario Drafting
- Evidence Processing
- Verdict Drafting
- Safety & Integrity
- Human Approval
9. Global Trigger Flow (Cascade)
Sources: Claim/Scenario/Evidence change, Verdict contradiction, Federation update.
Flow: Trigger → Dependency Graph → Re-evaluation → Updated Verdicts