What Is Africa Is Watching?
WP/2026/01 — What Is Africa Is Watching? The platform technical whitepaper: architecture, analysis pipeline, scoring and operations. Michael Omare, AWARE Labs.
Technical whitepaper: architecture, analysis pipeline, scoring and operations.
Michael Omare · Founder, AWARE Labs & Africa Is Watching · v1.0 · August 2026
ESExecutive Summary
Africa Is Watching is a platform that monitors African news coverage with automated analysis and publishes the results for public inspection. The system tracks more than 895 sources across 69 countries and regions. Each published story carries a score, a source-by-source critique and an account of the headline rhetoric used. A named chief editor answers for every verdict the platform issues.[1]
The engineering problem breaks into four parts: collection, analysis, scoring and publication. Collection gathers five to ten sources for each news event. Analysis runs a nine-agent pipeline over the collected articles. Scoring reduces the findings to three public metrics on a shared zero-to-ten scale. Publication records everything in a database whose schema this paper documents.[2]
The paper serves as the entry point to the series. Later volumes examine the audit protocol in detail (WP/2026/03), the media-watchdog institution that the platform operationalises (WP/2026/10), the platform’s methodology and governance (WP/2026/13) and the company prospectus (WP/2026/14). As later sections show, every component described here was built from documented, off-the-shelf parts.
1The Problem and the Approach
Coverage of African affairs varies widely in depth across regions. False and misleading material circulates alongside verified reporting. Bias is hard to detect and harder to quantify, and readers lack transparent measures for judging a news source. Ordinary readers also have few channels through which their assessments could matter.
The platform responds with a layered design. Automated analysis runs through the AWARE engine, short for Advanced Watchdog Analysis Rating Engine. Community participation runs through a microblogging space where members evaluate and flag stories. Transparent scoring publishes standardised metrics, and monitoring runs continuously against the registered source list.
2System Architecture
The platform separates presentation, application logic and data access. Table 1 sets out the layers and their components.
| Layer | Components | Responsibility |
|---|---|---|
| Presentation | Next.js 16 (App Router); mobile applications via Capacitor; REST and GraphQL endpoints[1] | Server-rendered pages, static generation, application programming interfaces |
| Application | Content-management engine; Feed Hub microblog; user management with authentication and role-based access control | Editorial administration, member participation, accounts and permissions |
| Business logic | AWARE analysis engine; pipeline orchestrator; recommendation service (Gorse)[7] | Multi-agent analysis, batch scheduling, personalised feeds |
| Data access | Drizzle ORM; Neon PostgreSQL; Cloudflare R2 object storage[2][5] | Type-safe queries and migrations; serverless database; media assets |
2.1 Technology Stack
| Area | Selections |
|---|---|
| Frontend and core framework | Next.js 16 with the App Router; React 19; TypeScript in strict mode; Tailwind CSS v4; Shadcn UI components[1][3][4] |
| Backend and database | Drizzle ORM for typed queries and migrations; Neon serverless PostgreSQL; Redis planned for caching and sessions; GraphQL planned for mobile clients[2][5] |
| Analysis engine | Python 3; the multi-agent AWARE system; large language model integration covering GPT-4, Claude and custom fine-tuned models; spaCy and NLTK for linguistic processing |
| Infrastructure and operations | Vercel for serverless deployment and edge functions; Cloudflare R2 for object storage; Docker for development environments; GitHub Actions for continuous integration and delivery[6] |
3The AWARE Analysis Engine
AWARE operates as a swarm of nine specialised agents. Each agent performs one task and hands its output to the next stage. Table 3 lists the agents and their functions.
| Agent | Function |
|---|---|
| Trend Discovery | Scans AllAfrica feeds and Google News inside 48-hour and 7-day windows; ranks candidate stories by regional relevance |
| Source Scraper | Gathers five to ten sources per story under the diversity rules described in Section 5 |
| Content Extractor | Pulls full article text through the Jina Reader interface |
| Headline Analyzer | Classifies each headline against the 22-style rhetoric taxonomy of Section 6.2 |
| Bias Detector | Marks slanting devices, framing choices and omitted context |
| Fact Checker | Tests checkable claims against reference material |
| Chief Editor | Synthesises the agent findings into a single verdict |
| Scoring Engine | Computes the weighted metrics defined in Section 6.1 |
| Narration Generator | Produces a narration text prepared for text-to-speech delivery |
3.1 Workflow
Analysis proceeds in five phases. Trend discovery identifies candidate topics and selects fifty diverse stories for a run. Source collection assembles the required articles and validates each outlet against its historical score. Content analysis extracts the text and applies entity recognition, sentiment analysis and rhetoric detection. Scoring produces a story-level grade and per-source critiques. Synthesis merges the record into the published story package.
4Data Model
Persistence uses a twelve-table PostgreSQL schema managed by Drizzle migrations. Four tables carry the core load. The users table holds accounts with a role field for access control. The sources table registers every monitored outlet; each record carries a structured identifier of the form A_NG_2026_EN_P_001, together with domain, headquarters, ownership type, language, coverage group and a rolling source score. The stories table stores each analysed event with slug, category, country, region, overall score, truth rating and the chief editor verdict. The story_sources junction table links stories to outlets and stores the per-source headline, summary, bias explanation and score.[2]
The remaining tables cover information cards, country records, member notes and evaluations. Indexes exist on publication date, country, category and both foreign keys of the junction table, which keeps the feed query and the source-profile query fast at the current volume.
5Operational Pipeline
The standard production run processes fifty stories without human intervention up to publication. A discovery phase takes about ten minutes and selects the story set. Processing then runs in ten batches of five stories; a sixty-second pause separates stories inside a batch, and a hundred-and-twenty-second pause separates batches. A publication phase writes results to the database, updates the pipeline monitor and generates verification links back to the original articles.
5.1 Quality Gates
| Gate | Requirement |
|---|---|
| Media diversity | At least one mainstream and one African source per story |
| Geographic balance | No more than two stories per country within one category |
| Content sufficiency | Minimum article length and minimum source count met |
| Score validity | All computed scores fall inside the 0.0–10.0 range |
| Rhetoric completion | Headline rhetoric classification finished for every source |
Members participate after publication. A reader can share a story to a personal hub, add an evaluation, rate the credibility of a source or flag suspected misinformation. Contributions earn reputation, and reputation feeds into the community layer of the platform’s scoring. WP/2026/11 describes the wider set of practices available to citizens.
6Scoring System
6.1 Metrics
| Metric | Definition and calculation |
|---|---|
| Story Score | Credibility grade for one article from one source, on a 0.0–10.0 scale; the band 0.0–1.0 is reserved for disinformation and propaganda. Weighted inputs: source credibility 30%, content accuracy 25%, bias detection 20%, headline rhetoric 15%, fact verification 10% |
| Average Story Score | Mean of all Story Scores recorded for one news event; gives the consensus view of that event |
| Source Score | Publisher’s historical average, computed as an exponential moving average with a decay factor, so recent work counts more than old work |
6.2 Headline Rhetoric Taxonomy
Every headline is classified against twenty-two named styles. The taxonomy turns an impression of manipulation into a checkable label.
| Styles 1–11 | Styles 12–22 |
|---|---|
| 1. Clickbait — deliberate curiosity gaps 2. Rage bait — provocation for engagement 3. Gaslighting — negative events reframed as positive 4. Curiosity-driven — key information withheld 5. Listicle — numbered-list promises 6. Emotional — fear, outrage or joy triggers 7. Direct and informative — plain factual delivery; the standard 8. Authority or how-to — projected expert guidance 9. Challenging beliefs — counterintuitive claims 10. Question headlines — rumours repeated as questions 11. Fear-mongering — anxiety cultivated deliberately |
12. Reframe — moral high ground claimed 13. Data-driven — statistics cited 14. Testimonial — social proof deployed 15. Urgency and FOMO — loss aversion exploited 16. Mystery framing — wordplay and veiled hints 17. Identity calling — demographic targeting 18. PAS — problem–agitation–solution pattern 19. Colon splice — hook plus explanatory tail 20. Passive voice — responsibility obscured 21. Speculative warning — hypothetical catastrophes 22. Anonymous sources — unverified insider claims |
7Security and Compliance
Authentication uses NextAuth v5 with email-and-password credentials and OAuth providers for Google and GitHub. Sessions travel as signed tokens stored in httpOnly cookies. Authorisation follows four roles — user, editor, admin and super admin — checked at both page and endpoint level.
| Control | Implementation |
|---|---|
| Rate limiting | One hundred requests per minute per address |
| Input validation | Zod schema validation on every input |
| Origin policy | Strict cross-origin resource sharing checks |
| Request forgery | Double-submit cookie pattern |
| Injected content | DOMPurify sanitisation of member-generated material; encoded output and a content-security policy against script injection; parameterised queries against injection into the database |
Data protection follows the General Data Protection Regulation. Consent is managed before tracking storage, collection is limited to necessary fields, members can demand erasure, and an export function provides data portability.
8Performance, Scaling and Deployment
Front-end optimisations include route-level code splitting, image delivery in modern formats through the framework image component, automatic font subsetting and incremental static regeneration for stable pages.[1] On the back end, strategic indexes serve the frequent queries, connection pooling manages the serverless database, and edge runtime functions answer low-latency requests.[5][6]
| Capacity parameter | Value |
|---|---|
| Demonstrated concurrent users | 10,000 |
| Design target | 100,000 |
| Scaling triggers | Processor use above 70%, memory above 80%, or response time above 500 milliseconds |
Deployment moves through three environments. Development runs local containers against a branched database with hot module replacement. Staging receives automatic preview deployments, where the test suite, performance benchmarks and security scans run before release. Production serves the public site from the deployment platform with production database and storage clusters, together with monitoring and alerting. The delivery pipeline compiles types, enforces lint rules, runs unit and integration tests, audits dependencies, and requires manual approval before production release.[6]
9Roadmap
| Horizon | Commitments |
|---|---|
| Six to twelve months | Completion of the admin control centre; launch of iOS and Android applications; integration of the Gorse recommendation service and of product analytics for behaviour measurement[7][8] |
| One to two years | Fine-tuned models adapted to African contexts; live collaborative editing over socket connections; tamper-evident fact-check records; a marketplace for third-party access to AWARE analyses |
| Three to five years | Coverage of all 54 African states; support for more than twenty African languages; research partnerships with universities; data support for media-policy work |
10Conclusion
To summarise: Africa Is Watching is working infrastructure, assembled from documented components, that monitors close to a thousand sources and attaches named, scored, editable judgements to African news coverage. The architecture favours replaceable parts; the scoring system publishes its weights; the pipeline gates its own output before release. What the platform measures, how it measures it, and who answers for the result are stated in this paper, on the record.
The remaining papers in this series supply the research foundation and the institutional argument. WP/2026/02 presents the underlying study of Western coverage of Africa, and WP/2026/13 sets out the methodology and governance behind the metrics used here.
ΣReferences
- Next.js Documentation. (2026). nextjs.org/docs
- Drizzle ORM Documentation. (2026). orm.drizzle.team
- Tailwind CSS Documentation. (2026). tailwindcss.com/docs
- Shadcn UI Components. (2026). ui.shadcn.com
- Neon PostgreSQL Documentation. (2026). neon.tech/docs
- Vercel Deployment Platform. (2026). vercel.com/docs
- Gorse Recommendation Engine. (2026). gorse.io
- PostHog Analytics Platform. (2026). posthog.com/docs
Public endpoints: listing and filtering of stories, individual story retrieval by slug, the source directory with filters, and country pages with aggregate statistics.
Administrative endpoints (authenticated): creation, update and removal of stories and sources.
Internal analysis endpoints: triggering an AWARE run, retrieving analysis results by identifier, and recomputing scores on demand.
AWARE Advanced Watchdog Analysis Rating Engine · RBAC role-based access control · ISR incremental static regeneration · ORM object-relational mapping · JWT JSON Web Token · CSP content-security policy · GDPR General Data Protection Regulation · Feed Hub public discussion space · My Hub personal curation space · Pipeline Monitor live status of a fifty-story run · Media Diversity Gate minimum source-diversity requirement · Headline Rhetoric the 22-style classification of Section 6.2