Ward Project Technology Assessment

Claude Code·Opus 5.5·Unknown author·22h ago·1min·1 Checkpoint·6.6K tokens

in ward project, with progress so far, tell me whats the best of use of technology so far. Also according to previously planned, which are the technologies we are using, and which one yet to touch, give me a tabular data with rating

22h ago·1m

I read Ward's plan documents (PLAN.md, PHASES.md, ROADMAP.md), the latest scorecard from 2026-10-31, and the code itself to check each technology. Ratings are my judgement of how much each one has delivered so far, out of 10.

Best use of technology so far: Ward Lite

The original plan was to run Gemma 3 1B on phones through wllama (Gemma compiled to WebAssembly). In testing it called real insults harmless, so the plan changed. Instead:

  • Gemma 4 E4B acted as the teacher. It wrote and labelled synthetic kid-style chats in English, Roman Urdu, Hinglish and Bangla, including friendly banter as examples that should not be flagged.
  • multilingual-e5-small was trained on that data plus public datasets to give two scores per message: hurtful and danger. It was then trimmed to the words these languages use and shrunk to a 37.7 MB int8 ONNX file.
  • It runs inside the app through ONNX Runtime Web, offline, in about 8 ms per message, on every build: web, desktop, Android and the Discord bot.
  • It can only raise a warning, never clear one. That keeps a small model from hiding real danger.
  • Training data is checked against the test sets. A leak check stops any message the scorecard or the red-team set (the hand-written tricky messages) tests on from getting into training.

What it changed on a phone with no big model:

LanguageWord lists aloneWord lists + Ward Lite
English10% of abuse caught85%
Roman Urdu59%83%
Bangla10%46%

On Roman Urdu, a phone now comes close to Gemma 4 E4B on a laptop (86%). This piece answers the brief's "works where resources are scarcest" most directly: the cheapest phone gets most of the protection.

Runners-up: Gemma built into the desktop app (via node-llama-cpp, a SHA-256-checked download, no Ollama needed), and moving reports to a counsellor as a loop of QR codes with no network at all.

Planned technologies: what's in use

TechnologyPlanned forStatusRating
Ward Lite (e5-small → int8 ONNX, ONNX Runtime Web)Phase 1 (replaced the wllama plan)✅ Shipped on every build10
Gemma 4 E4B via OllamaDesktop reader, screenshot reading, teacher for the training data✅ In use, 86% on Roman Urdu9
WebCrypto vault (AES-GCM + PBKDF2 PIN + SHA-256 per message)Evidence vault✅ Shipped; also seals safety plans and case notes9
QR-code report transferCounsellor mode✅ Shipped, with tests that decode every frame9
llama.cpp (node-llama-cpp) inside ElectronOne-click desktop✅ Shipped, CI-tested on 4 platforms. It can't read screenshots yet8
Electron desktopDesktop shell✅ Shipped, with lab mode and installers built in CI8
Capacitor AndroidAndroid shell✅ Shipped: share target, FLAG_SECURE (keeps Ward out of the recent-apps preview), APK sharing phone to phone8
React + Vite + TypeScriptThe UI✅ In use, full Urdu right-to-left8
GitHub ActionsBuilds and launch tests✅ Android emulator, desktop and test runs8
Hugging Face (datasets, models, GGUF)Eval and training✅ In use8
Caseworker viewer (single offline HTML file)Phase 4✅ Shipped; checks report digests and flags tampering8
OllamaDesktop inference✅ First choice of reader on desktop8
discord.jsNot in the original plan✅ Built: personal mode, plus an opt-in server mode7
EntireAuditable session checkpoints✅ Enabled (commit 7f8553f)7
PDF reportVault export🟡 Done as a print view plus a JSON report, not a real PDF7
Gemma 4 E2B via LiteRT-LM (GemmaPhonePlugin.kt)Phone reader🟡 Built, but it scored 33%, so it only writes messages now. Not yet measured on a real phone6
ElevenLabsRead-aloud🟡 107 English clips shipped; Urdu blocked at 0 credits6
Device speech (speechSynthesis)Urdu read-aloud fallback🟡 Working; voice input is still listed as to-do5
ShieldGemma 2BHarassment classifier🟡 Kept only as a comparison baseline (14–19% caught)4
RenderStatic demo, viewer and docs🟡 Only a render.yaml for the Discord worker; nothing hosted3

Not touched yet

Here the rating is how much each would help Ward now, out of 10.

TechnologyPlanned forStatusValue now
Release signing + GitHub ReleaseFirst downloadable build❌ No tagged release yet; ROADMAP.md puts this first10
Render static demoTry-in-browser demo for judges❌ The config exists but isn't used for this8
DigitalOcean GPU dropletTraining data at scale, scorecard reruns❌ Planned7 (Bangla is the weak spot)
Browserbase + SerpApiWeekly check that platform report/block steps haven't changed❌ Planned6
Play Store / F-DroidDistribution❌ Not started6
Tiger DataScorecard history across releases❌ Later4
TemporalTraining pipeline that can resume❌ Later3
Auth0 for AI AgentsLogins for Ward Annotate volunteers❌ Later (Ward Annotate isn't built)2
Phase 6 keyboardPause before a hurtful message is sent❌ Waits on the safeguarding review—

Dropped on purpose: wllama with Gemma 3 1B (cleared real insults), and Tinker (credits ran out, so training happens on the laptop instead).

The biggest gap is distribution, not technology: nothing can be downloaded yet. After that, the weakest points are Bangla (46% caught on a phone) and confirming Gemma 4 E2B and Ward Lite on a real low-end phone.