mirror of
https://github.com/bitbaum/loki.git
synced 2026-12-04 11:48:24 +01:00
* feat(loki): a sticky note you can talk to — walk-mode tasks land on /today
The walk workflow: talk to Loki on the phone; anything that is a task for
YOU (not an agent) must land somewhere you will see again. Captures were
write-only — a quick-capture button and API with no surface that ever
rendered the list.
- src/lib/loki/sticky-note.ts: conservative deterministic parser for
'add X to my list' / 'note that X' / 'remind me to X' / 'what's on my
list', + reply copy. False positives would steal a dispatch, so
project-shaped phrases ('add dark mode to the settings page') fall
through — covered by scripts/test/sticky-note.ts (30 assertions).
- messages route: sticky-note fast path before the resolver; adds write
captures, reads list them back with honest totals.
- /today: StickyNoteCard (first actionable card) renders the open list
with one-tap check-off and inline add; replaces the modal-only
QuickCaptureButton.
- cleanup: delete dead AtlasView + AgentsCockpit (zero references).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* fix(test): fence the agent-work-watch fixture into its temp dir
The husky pre-push hook exports GIT_DIR, which hands every git call in
this suite the REAL repo — GIT_CEILING_DIRECTORIES cannot constrain an
explicit GIT_DIR. Observed today: pushing this branch aborted after the
suite's 'seed' commit landed on the operator's branch and emptied its
tree (recovered; nothing reached the remote).
deploy-ref-gate and not-behind-gate were hardened after the 2026-08-15
incident; this sibling suite never sourced the shared isolation env.
Now it does. Proven by mutation: with the source line stripped and
GIT_DIR exported, the suite fails and a fixture commit lands on the real
branch; with it, green and clean.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
---------
Co-authored-by: t <t@t.t>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>