Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

DuckWalk: a rubber duck that won't talk to you until you go outside

说明与用途

DuckWalk 是一个本地 AI 伴侣,检测开发者卡住时,强制外出散步,并在离开屏幕时引导问题解决,减少屏幕时间。

问题

Developers skip breaks to avoid losing mental context, leading to burnout and reduced productivity.

结果

DuckWalk achieved zero failures over 23 walk sessions in a 2‑hour run, handled multiple failure drills (Ollama down, phone offline, worker restart, malformed input) gracefully, and improved a 4B model’s rubric score from 68% to 98% via fine‑tuning.

工作流

  • Detect stuck state using TabPFN on 5‑minute windows of signals
  • Score window and compare to threshold
  • If threshold crossed, capture breadcrumb (branch, diff, last error)
  • Compress breadcrumb into 60‑word note with Gemma
  • Push note to phone via self‑hosted push server
  • User taps "Walk"; screen turns black with stop button
  • Duck speaks one question at a time via fine‑tuned Qwen3.5‑4B voice
  • User walks and answers questions aloud
  • Duck records audio, transcribes with whisper.cpp
  • Duck continues dialogue until walk ends
  • After walk, display brief summary of insights and next steps

证据

DuckWalk watches for when you're stuck, writes down exactly where you are so there's nothing to lose by leaving, and pings your phone with one line.

来源

A laptop daemon watches signals like time since your last break, failed test runs, how many times you've touched the same file, and undo ratio, and scores each 5‑minute window with TabPFN.

来源

Cross a threshold, and it grabs a breadcrumb (your branch, diff, last terminal error) and compresses it into a 60-word note with Gemma.

来源

The rule I held myself to the whole build: minimize time looking at a screen.

来源

For reliability: a 2-hour run, 23 walk sessions back to back across 5 bug scenarios and 3 scripted conversations, zero failures and no manual intervention.

来源

All four failure drills pass. Ollama going down makes the nudge and brief fall back to canned text instead of killing the walk.

来源

  • 记录日期: 2026-10-12T03:41:07.941Z