feat: personal notes, each person's standing instructions for how Jarvis answers them

A personalNotes tool (add, list, delete the asker's own notes) offered only
with a notes backend. The app keeps the notes in config/notes.json and sends
the asker's with every voice, chat and task reply; the reply engine puts them
in a <person_notes> fence as that person's preferences, which never permit an
action or a tool. The worker's schedule bridge becomes a shared app bridge
for schedule_action and note_action. A 사람별 지침 screen edits and deletes
any note; features.notes turns the tool and the notes off.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
javis-bot
2026-11-14 17:10:53 +09:00
parent e4b6327cf9
commit a5bd25b86f
32 changed files with 901 additions and 91 deletions

View File

@@ -25,6 +25,9 @@ chat : Optional[object]
schedule : Optional[object]
v2: the asker's reminders and scheduled tasks for this turn (schedule.spec.md). None means the
schedule tool is not offered (v1, evals, and scheduled tasks themselves).
notes : Optional[object]
v2: the asker's standing instructions backend (personal_notes.spec.md). None means the
personalNotes tool is not offered.
"""
from __future__ import annotations
@@ -42,6 +45,15 @@ def reset() -> None:
_state.user = None
_state.chat = None
_state.schedule = None
_state.notes = None
def set_notes(backend) -> None:
_state.notes = backend
def get_notes():
return getattr(_state, "notes", None)
def set_schedule(backend) -> None: