# Building PaperBridge: An Offline-First Optical UI Skeleton for Elder Care with Kiro

> Source: <https://dev.to/meena_n/building-paperbridge-an-offline-first-optical-ui-skeleton-for-elder-care-with-kiro-1h76>
> Published: 2026-11-22 09:37:43+00:00

**Recommendation:** When digitizing safety-critical paper records, keep extraction deterministic and local, flag unclear marks for human confirmation, and reserve LLM reasoning for downstream tasks like drafting summaries.
More in the playbook "Verifying model output": <https://wpnews.pro/playbooks/output-verification>

*This post was written as part of the Kiroween 2026 hackathon.*

Most health-tech tools assume the person taking the medication has a smartphone, an account and the patience to tap through an app every morning and evening. In real life, that breaks down fast in elder care. Parents and grandparents do far better with a printed sheet on the fridge and a pen.

On the other hand, snapping a photo of a paper chart and sending it to a Vision LLM creates a worse problem: it is slow, sends private medical data to external servers and risks hallucinating faint or messy pen marks. In medication tracking, guessing a missed dose as "taken" is a safety hazard.

For the **Kiroween 2026 hackathon**, I built **PaperBridge**: an open-source, offline-first optical skeleton that turns plain printed paper into a fast, deterministic digital interface, powered by Kiro's full developer workflow.

PaperBridge separates optical reading from AI reasoning:

`src/core/`):` unclear` and the caregiver can click the bubble to verify it as Filled or Blank. The raw optical scan stays immutable, while a `"Manually verified (N)"` audit badge is stamped on the result.`src/apps/elder-care/`):
While Elder Care Bridge is the flagship workflow, PaperBridge is architected as a reusable optical skeleton (`src/core/` + `src/shell/`). Any developer can run `npm run create-app <slug> "<Display Name>"` to scaffold a brand-new paper-based application (such as clinic intake forms or field checklists) with a valid card layout, pure interpreter, `<ScanWorkbench>` UI and passing property tests in under a minute.

Instead of using Kiro just for one-off code generation, I used all five pillars of the Kiro workflow:

`.kiro/specs/paperbridge/`):` fast-check` property-based tests that verify decoding guarantees.`.kiro/steering/`):` src/apps/` so new features never weaken optical thresholds or mutate raw scan results.`.kiro/hooks/`):` mcp/` + `.kiro/settings/mcp.json`):` validate_card_layout` and `list_registered_apps` so Kiro validates card geometry deterministically before printing.`PaperBridge Care`):`"Manually verified"` audit trail). Pasting it into `care-auditor` agent with the `adherence-analysis` skill to draft a warm, accurate caregiver check-in.
The biggest takeaway from building PaperBridge for Kiroween 2026 was knowing where *not* to use an LLM. Keeping the optical layer 100% deterministic, local and property-tested made the elder care workflow trustworthy, while using Kiro's specs, MCP validation and Kiro Crew agents turned a single-scan prototype into a complete, extensible platform.

Try the live offline demo at [paperbridge-acvw.onrender.com](https://paperbridge-acvw.onrender.com/) or fork the repo to build your own paper-based app!
