LittleKnown — Portfolio Project by Muhammad Daffa Ashdaqfillah

An iPhone prototype that turns voice or text into reviewable, person-scoped memories and reminders, with on-device interpretation and recall.

LittleKnown — Portfolio Project by Muhammad Daffa Ashdaqfillah

Published on November 29, 2026

Project Details

LittleKnown’s project poster showing voice capture, review, and the Things prototype. The audited benchmark is documented below.
LittleKnown’s project poster showing voice capture, review, and the Things prototype. The audited benchmark is documented below.

I built LittleKnown for the details that come up in conversation and are easy to forget. A single note might say that someone likes a certain artist and ask to set a reminder for their birthday. The app separates those requests, shows what it plans to keep, and waits for approval before saving anything.

Early interface mockups for listening and simple factual recall.
Early interface mockups for listening and simple factual recall.

One capture, several possible actions

Text from the app, in-app speech, and App Intents all enter the same persisted session pipeline. The session resolves one person for the input. If a transcript has no known name or the reference is ambiguous, the user can select an existing person, create a profile, or proceed without one. A manual choice overrides the name heard in the recording.

LittleKnown uses the device's default Apple Foundation Model through SystemLanguageModel.default. Swift @Generable schemas define structured outputs for clause boundaries, categories, and evidence selection. Straightforward input can be routed in code. The model handles ambiguous categories and reminder details. General information, named items, explicit reminders, and questions can each produce their own result. Factual questions can return saved evidence without making a new record.

For unpunctuated speech, the model proposes clause boundaries. The app checks the word and number sequence, rejects incomplete fragments, and builds the clauses from the original transcript slices. Invalid boundaries get one corrective attempt before the parser continues with the original text. A draft keeps the exact source slice even when its editable text is formatted differently.

Review before write

A capture becomes a draft the user reviews and confirms before LittleKnown writes a record.
A capture becomes a draft the user reviews and confirms before LittleKnown writes a record.

The app generates a draft with the original text, the resolved person, and the proposed records. Confirmation rechecks the active draft revision before committing to SwiftData in a local App Group with CloudKit disabled. Reminders go through a separate execution step after the local write. Stable record IDs and a saved execution state help prevent duplicate reminders if the app is interrupted.

I first explored a custom Dynamic Island flow, then moved the system entry point to App Intents and interactive snippets. The app persists which panel was reviewed and validates the revision and action token on each step. This allows a paused Siri or Action Button session to resume without treating an old panel as approval to save new text. The legacy shortcut identifier still routes to the newer session flow. In-app speech requests on-device recognition. System dictation follows the user's iOS settings.

Recall uses records the user approved

Factual recall searches the selected person's saved records and displays those records as evidence. If a user asks about favorite music, the search can include positive likes and preferences while still displaying the original wording. Media kind and stance remain part of the filter, which keeps someone else's records, disliked items, and casual listening history out of that answer.

Advice asks the model to generate a suggestion from relevant saved notes. I tried selecting context in one batch and using the model to review its own answer. The batch approach missed restrictions attached to individual notes, and self-review rejected valid answers. The final evaluated candidate returned to per-note relevance checks and used a separate human review for advice.

The automatic check missed 12 advice failures

I evaluated five candidates on an arm64 Mac running macOS 27. The runtime identified itself as AFM 3 Core Advanced with an 8,192-token context window. The evaluation harness used its own store and skipped EventKit writes. The 265 synthetic cases covered 65 original inputs, 100 complex inputs, and 100 consistency checks. I manually reviewed all 25 generative answers in the final batch.

CandidateAutomatic passesPasses after reviewAdditional requirement cases
Round 1, macOS 27 baseline253/265249/265—
Round 2, initial pipeline fixes264/265252/26524/24
Round 3, batch context selection256/265249/26524/24
Round 4, broader recall and self-review248/265243/26524/24
Round 5, final evaluated candidate265/265253/265 (95.47%)24/24

Review found unsupported details, type errors such as calling an album a book, and suggestions that widened a user's restriction. The 95.47% figure applies to this synthetic corpus and predates the later transcript-normalization patch. The patch passed SwiftPM validation and a generic iOS build. The subsequent system-session implementation also passed 34 focused tests and installed on a physical iPhone, with Siri dialogue and visual acceptance still open in the recorded device checks.