Skip to content

Personal assistant across projects (setup, mail read-only first, drafts, phone, texting look) #879

Open

Description

@scuttletoby

What: one personal assistant thread that works across all projects. It can start and steer project orchestrators, read provider data and transcripts, and later read mail and write drafts when the owner asks. It feels like texting: a small character with a bit of personality, message bubbles, later images and buttons. The backend stays this fork.

Why the owner wants it: the owner wants one place to talk to besides the project orchestrators, on desktop and on the phone.

Owner decisions (all answered): #153-#158. The yes answers stand; do not ask them again. Email and calendar are later integrations, meant to be simple tools the assistant can use. Drafts only when the owner asks; sending always needs the owner. Learn from the owner's other mail project before building mail.

Already built: nothing specific yet. It builds on MCP profiles, calm sidebar roles, handoff and #808.

Left (checklist, design has 18 PRs):

  • 1 Profile field builtinTools: "none" (the assistant gets no shell)
  • 2 Assistant setup: settings block, built-in assistant profile, "Make assistant", docs
  • 3 The assistant finds the orchestrators (role pointers); launches say "sent by the assistant"
  • 4-10 Mail, read-only first: settings with secret fields, owner-only mail store, IMAP reader, a no-tools reader model, mail_status / mail_digest / mail_ask tools, a card in the owner's session, mailbox settings
  • 11 Drafts on request (Edit, Save to Drafts, Discard)
  • 12 New-mail poller and sender rules
  • 13 Send button: per account, exact bytes, once only, owner presses it
  • 14 Outlook sign-in
  • 15-16 Phone app card and badge; a fork phone build (Android first)
  • 17-18 Texting look on web and phone
  • Later: calendar as a simple tool

Done when: the owner can talk to one assistant from desktop or phone, it reports on and starts work in every project, and mail features work read-only first with no send without the owner.

🤖 Generated with Claude Code

Activity

  1. scuttletoby commented on Nov 22, 2026

    @scuttletoby
    OwnerAuthor

    Open owner question on the order and size of this plan (chat first, mail later as simple tools): #898

    🤖 Generated with Claude Code

  2. scuttletoby commented on Nov 28, 2026

    @scuttletoby
    OwnerAuthor

    Working on item 3, part 1: the assistant finds the orchestrators. A read-only T3 tool t3_thread_roles (fork waits toolkit, in the narrow read group so the assistant profile keeps it) lists the role pointers from threadRoles: the assistant thread and each project's orchestrator, with the project and thread titles, and marks a pointer whose thread is gone, archived, not top-level or in another project as no role (the calm sidebar's reader rule). "Launches say sent by the assistant" is part 2. One fork PR.

    🤖 Generated with Claude Code

  3. scuttletoby commented on Nov 28, 2026

    @scuttletoby
    OwnerAuthor

    Working on item 3, part 2 ("launches say sent by the assistant"), step 1: announce its seam lines. A thread the assistant launches or messages (t3_thread_launch, create_threads, t3_thread_send already carry the sender's thread id) reads "the user's assistant (the agent in T3 thread X) sent this message, not the user" instead of the plain agent note, when X is the threadRoles.assistant thread on this machine. Two lines in packages/contracts/src/orchestrationV2.ts (an import and one line in withMessageSenderNote, after upstream's slash-command check), the rest in fork files. One list-only fork PR; the wiring follows in step 2.

    🤖 Generated with Claude Code

  4. added
    area:ui
    size:big
    type:feature
    on Nov 29, 2026
  5. scuttletoby commented on Nov 29, 2026

    @scuttletoby
    OwnerAuthor

    Working on item 17, the texting look on web, step 1: announce its seam lines. The thread that holds threadRoles.assistant is drawn as texting: the assistant's replies and its send_to_user text as bubbles on the left with a small face (a circle with eyes), the user's own messages keep upstream's bubbles on the right. A device client setting assistantChatView (on) turns it off. Three lines in apps/web/src/components/chat/MessagesTimeline.tsx (an import, one hook call, one data-fork-look attribute on the timeline's viewport); the look is CSS scoped to that attribute in components/fork/assistantLook/, so no upstream row changes. One list-only fork PR; the wiring (setting, CSS, Settings row, docs, tests) follows in step 2. Cards as bubbles and quick-reply buttons are later parts.

    🤖 Generated with Claude Code

  6. added a commit that references this issue on Nov 29, 2026
  7. scuttletoby commented on Nov 29, 2026

    @scuttletoby
    OwnerAuthor

    Working on item 18, the texting look on the phone, step 1: announce its seam lines. As on the web (item 17), the thread that holds threadRoles.assistant is drawn as texting: the assistant's replies and its send_to_user text as bubbles on the left with a small face, the user's own messages keep upstream's bubbles on the right; a per-device switch in the phone's Appearance settings (on by default) turns it off. Lines in apps/mobile/src/features/threads/ThreadFeed.tsx (an import, one hook call, one prop through renderFeedEntry, a style and a face element on the assistant and sent-message rows) and in SettingsAppearanceRouteScreen.tsx (the switch's section); the rest in apps/mobile/src/fork/assistantLook/. One list-only fork PR; the wiring follows in step 2.

    🤖 Generated with Claude Code

  8. 8 remaining items

  9. scuttletoby commented on Nov 30, 2026

    @scuttletoby
    OwnerAuthor

    Working on item 15 (phone app card and badge), part 1: the card. In the phone's calm view, the assistant's role row on top is drawn as a card: the assistant's small face, "Assistant", and a badge when its latest reply is unread ("New reply") or it waits on you ("Waiting on you"); upstream's row stays inside the card, so tap, swipe and the menu work as before. It follows this device's "Assistant chat view" switch. Fork files only (fork/calmSidebar, fork/assistantLook), no seam lines. The app-icon badge (needs App.tsx seam lines) is part 2. One fork PR.

    🤖 Generated with Claude Code

  10. scuttletoby commented on Nov 30, 2026

    @scuttletoby
    OwnerAuthor

    Working on item 15, part 2 (left by #1450): the app-icon badge. The phone app's icon shows a count of 1 while the assistant thread has a new reply or waits on you (the same badge rule as the card in #1450), and clears when neither holds; it follows this device's "Assistant chat view" switch and needs the notification permission. Step 1: announce its seam lines in apps/mobile/src/App.tsx (list-only PR). Step 2 (after #1450) adds the fork code.

    🤖 Generated with Claude Code

  11. scuttletoby commented on Nov 30, 2026

    @scuttletoby
    OwnerAuthor

    Working on item 17's later part, cards as bubbles (web): in the assistant's texting look, the cards the assistant shows (an html_render visual, an MCP app, a proposed plan, and an open secret, link or feedback card) sit in the assistant's column with its face, as its replies do; settled request lines and tool rows stay as they are. CSS in components/fork/assistantLook/ only, no seam lines. Quick-reply buttons stay a later part. One fork PR.

    🤖 Generated with Claude Code

  12. scuttletoby commented on Nov 30, 2026

    @scuttletoby
    OwnerAuthor

    Working on item 18's later part, cards as bubbles on the phone (as #1454 does on web): in the assistant's texting look, the cards the assistant shows in the phone's thread feed (an html_render visual, an MCP app, and an open secret, link or feedback card) sit in the assistant's column with its face, as its replies do. Step 1: announce its seam lines in apps/mobile/src/features/threads/ThreadFeed.tsx (list-only PR); step 2 adds the fork code under apps/mobile/src/fork/assistantLook.

    🤖 Generated with Claude Code

  13. scuttletoby commented on Nov 30, 2026

    @scuttletoby
    OwnerAuthor

    Working on item 17's last part, quick-reply buttons (web): in the assistant's texting look, a replies fence at the end of an assistant reply (one short reply per line) is drawn as buttons under the bubble; pressing one sends it as the owner's message when the composer is empty, else adds it to the end of the draft (a draft is never thrown away). Buttons are off while a turn runs; outside the assistant thread, or with the look off, the fence stays a plain code block. The assistant's rule text names the fence. Step 1: announce the seam lines in ChatView.tsx (a provider around the timeline) and ChatMarkdown.tsx (one line in the fence renderer), list-only PR; step 2 adds the fork code under components/fork/assistantLook/.

    🤖 Generated with Claude Code

  14. scuttletoby commented on Nov 30, 2026

    @scuttletoby
    OwnerAuthor

    Inventory of what is merged on main (11-30), item by item:

    The assistant settings block is in packages/contracts/src/assistant.ts. The server's role follower is apps/server/src/fork/assistantSenderRole.ts.

    🤖 Generated with Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:uisize:bigtype:feature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions