Skip to content

Mentions and comment notifications

Type @ for a person or # for a record, anywhere rich text or a comment accepts input. Both open a picker; picking one inserts a chip.

In a comment, @ lists the agents you can read as well as people, under the people and marked with the agent mark so one is never mistaken for a person. Picking an agent inserts a chip that renders as an agent. A comment is the one place a mention of an agent can start a run: see the mention wake source in agent runs. A description or document does not offer agents, because a chip there would do nothing.

An agent a mention cannot wake is still listed, greyed out and not pickable, with the reason beside its name: Switched off, Runs without an AI, or Not on your own AI (an agent on StoryOS AI is not woken by a mention). If you cannot read an agent, it is not listed for you. The picker shows at most four agents at a time, so type more of the name to narrow it.

A mention chip stores the id, not just the name you saw when you picked it — a label snapshot rides along only as a fallback. That means:

  • Renaming the person or record updates every mention of them, everywhere, automatically.
  • Deleting the mentioned thing degrades the chip to a tombstone rather than leaving a stale, wrong name behind.
  • Clicking a #record mention opens it in the split panel, the same as clicking a relation chip.

Mentions written by an agent over the API/MCP use the same markdown shape as the editor — a link-style @Name whose target is user:<id> — so a mention an agent writes and one you type render identically and point at the same id.

Mentioning a person on a comment notifies them — the same in-app notification and email path other activity uses. If the workspace has a Slack connection, the comment is also mirrored to the workspace’s default channel (not a per-user DM yet), reusing the exact same rendered text as the in-app and email copies rather than a second, differently-worded version. This is best-effort: if Slack isn’t connected, or the send fails, the comment itself is unaffected — a comment must never fail because Slack is down.

Seeing who mentioned this record: “Mentioned in”

Section titled “Seeing who mentioned this record: “Mentioned in””

A record’s panel shows a Mentioned in section — every other record whose comments or rich text #-mention this one, with the true total in the heading (“Mentioned in (101)”, not just however many have loaded).

  • Grouped by source database, each group headed by its own name and count — “Sprint Tasks (12)”, “Client Requests (4)”. A group’s count is only ever how many of the loaded rows are in it, not a second source of truth; the heading’s overall total is still the one true count from the server. Groups appear in whatever order their database is first encountered, not alphabetically or re-sorted.
  • Loads past the first page. Early on this silently capped at 100 with no signal a 101st existed; it now pages with a Load more button, and the heading’s total comes from the server, not from counting what’s rendered.
  • Guest-scoped like everything else. A mention from a record in a database you cannot read never appears — not on the first page, not on any later one. If none of the mentions are visible to you, the section doesn’t render at all rather than showing an empty heading.
  • Zero mentions also renders nothing — no heading reading “(0)”.

A feed across many records: comments and references over time

Section titled “A feed across many records: comments and references over time”

“Mentioned in” above answers a structural question — what points at this one record, right now. A different question is temporal: what’s happened — every comment and every new #record reference — across a whole database, or a whole hierarchy, in order. That’s a feed, API/MCP only today (no web page yet):

  • GET /workspaces/{ws}/databases/{db}/activity/comments (list_database_comments) — every comment and reference across every record in one database, newest first, cursor-paginated. “What’s been said across this database recently” without opening each record.
  • GET /workspaces/{ws}/databases/{db}/records/{rec}/activity/hierarchy?relation_field_ids=a,b,c (list_hierarchy_activity) — the same feed, but rooted at one record and walked down a chain of relation fields you name, one per level — a different field each time, since each level lives on a different database (an Epic’s own “Stories” field, then a Story’s own “Tasks” field). Up to 5 levels. Answers “everything that happened under this Epic, across every Story and Task under it” in one call, instead of one per database.

Both read the exact same two event kinds, so an entry looks and behaves identically either way:

  • comment.created — which record, who/what wrote it, and a snippet of the comment.
  • reference.created — which record now carries a new #-mention, and which record it points at. Only genuinely new mentions produce an entry: resaving content that still contains the same mention it already had doesn’t re-emit one, since a mention is stored as a replace-the-whole-set write under the hood, not an append.

Every entry carries source (human / agent / automation / mcp / null if never recorded) — the same attribution record history uses, never defaulted to human just because most things are.

A deleted comment, or a reference whose target record is gone, is left out of the feed — an activity_events row is an append-only log with no foreign key back to the comment or record it describes, so a row can outlive the thing it points at; the feed skips rather than render a dangling entry.

The hierarchy walk only ever traverses what you can see. A record the caller cannot access is excluded from the walked set before the activity query runs, not fetched and then filtered out — so its mere presence never leaks through a count or a timing difference. The root record being invisible to you 404s the whole call, the same “don’t confirm it exists” posture a personal view already uses. A relation field that’s missing, wrong-typed, or renamed simply ends the walk at that level — you still get everything gathered up to there, not a rejected call. A diamond (two different paths reaching the same descendant record) is deduped: that record’s activity counts once, not twice.

Mentions aren’t the only thing that notifies. Watching a record gets you an email (and an in-app notification) whenever any of its fields change — not just when someone mentions or comments on it.

There’s a Watch toggle in the record’s header (and in the About tab’s Watchers list, which shows who else is watching). It subscribes the calling identity only — you can’t watch a record on someone else’s behalf. watch_record, unwatch_record and list_watchers do the same over MCP and the API, so an agent can watch for you too.

When a watched record changes, the notification’s body is a compact summary of exactly what changed — Status: To Do → In Progress · Owner: (empty) → Lena — capped at five fields, with “· +N more” appended if more than five changed in one save. Select and workflow fields show the option’s label in that summary, not its id. The email links straight to the record.

To keep a bulk edit from fanning out thousands of emails at once, email delivery is capped at 50 recipients per change — the in-app notification isn’t capped, only the email side. A rule’s automation actions can reference this same summary via a {changesSummary} token, for something like posting “Status: To Do → In Progress” into a Slack message when a record moves.

This respects the same notification preferences as everything else on this page — turning off Record changes in Settings → Notifications stops the emails, the same as the other four event types (assigned, mentions, comments, status changes) on that page. It defaults on.

Notifications follow your current access. A notification about a record you can no longer read (your grant was revoked, or the database or space became restricted) is hidden from your Inbox, shows no title, snippet or database name, and isn’t counted in the unread badge. If the access comes back, so do the notifications. Emails to watchers and to mentioned people are only sent to people who can read the record at send time, and the Slack mirror of a mention is never posted for a record in a restricted database or space, because the channel’s membership isn’t known. A notification an automation’s send email action sends is chosen by the automation’s author and isn’t filtered.

My Work is the one place that answers “what is mine right now”. The page, the MCP get_my_work tool and the email below all read from the same server code, so they cannot disagree about what is open. There are four lists:

List What is in it
Assigned Records with you in a person field.
Created Records you created.
Assigned by me Records you assigned to someone else that are still open. The record is yours to chase while the last change to its person field was yours; a later reassignment by anyone else ends it.
Waiting Things that need an answer from you: approvals you can decide (pending and not expired, where you are the named approver or a workspace admin) and mentions you have not answered.

A mention counts as unanswered when someone else mentioned you in a comment, you have not commented on that record since, and you have not read the mention’s notification since. Each record appears once, with its newest unanswered mention. Records in a personal space never appear in Waiting. An approval names its record only if you can open that record.

How the lists behave:

  • Finished work is dropped. A record in a completed or canceled state is not returned by the API, the MCP or the email. The My Work page itself asks for finished rows too and gathers them under one Done · N group at the bottom of Assigned and Created, closed until you open it (it is closed again each time you switch tab). When the server cut a list short, the group reads Done · 3+, a lower bound, never a made-up total.
  • A shared database name gets its space. A row names its database (#4 · Tasks). When two databases on the page share a name, both rows read Team / Tasks and Client Work / Tasks instead, so you can tell them apart.
  • Assigned by says Not recorded when StoryOS has no record of who set you on a record, for example because it was created or imported with you already in the field. Hover it for the reason.
  • An approval says which rule asked. A held automation action in Waiting names the rule, the same way the Inbox does; see how the Inbox names a rule’s request.
  • Ordered by urgency. Within each database: overdue first, then due within the next seven days, then In Progress, then the rest, newest change first in each group. The due date is the date field named Due, Deadline, Due date or Target date; a database without one has no due dates here.
  • Every total is exact. Each list returns at most 50 rows per database (50 per kind for Waiting), and says so with truncated, alongside a total counted by the server over the same rules. A count is never the number of rows that happened to load.
  • You only see what you can open. A guest sees only the rows they have access to.

Over the API, GET /api/v1/workspaces/{ws}/my-work?tab= takes assigned (the default), created, assigned_by_me or waiting; include_finished=true keeps finished rows. In MCP, get_my_work takes the same four as kind, plus recent and favorites.

Settings → Notifications says where each event goes. Every event on that page lands in your Inbox, in the app. Two of them are also emailed: Mentions and Record changes. Those two rows carry an Also by email tag, and the page names the address they go to (the one on your Profile) and the sender they come from. Turning a switch off stops both the Inbox item and the email. If the server has no email sender configured, the page says Email isn’t set up on this StoryOS server. Ask your admin., with a setup link for admins, and no row is tagged. The sender is set by MAIL_FROM; see configuration.

A daily or weekly email of what waits on you. It is off by default, it goes by email only (it never appears in your Inbox), and the setting belongs to you, not to a workspace.

The setting has five parts:

Setting Values
How often Off, Daily or Weekly. Daily means Monday to Friday.
Day Weekly only: the weekday it arrives.
Time Local clock time, 24 hours, such as 08:00.
Time zone A named zone such as Europe/Madrid. With none set the time is read in UTC, never the server’s zone. A name that is not a real zone is rejected.
Include what I assigned to others Adds the You assigned to others section. Off by default.

In the app the five parts sit in one box titled Email me my work. Day appears only for Weekly, and Time and Include what I assigned to others only once How often is not Off. The box shows the time zone it will use, and saving a change there writes this browser’s time zone.

Over the API, PATCH /api/v1/users/me/preferences with a myWorkEmail object (frequency, weekday as 0 for Sunday to 6, time, timezone, include_assigned_by_me) changes only the keys you send.

Turn it on in Settings → Notifications.

Once you have five or more open records assigned to you and the setting is Off, the Inbox shows a one-time card asking Get your open work by email? Email me daily turns on the Monday to Friday digest. The close button and Not now both dismiss it. Whichever you pick is final: the answer is saved for you in that workspace and the card does not come back.

Like every email StoryOS sends, it opens with a header card: Quill’s avatar and the line Quill from StoryOS (the avatar switches to a dark version in mail apps in dark mode, and a mail app that blocks images shows the word Quill). Emails are built to fit a 375 pixel wide phone screen without sideways scrolling; long text wraps.

You get one email per workspace you are an active member of, with up to three sections in this order:

  1. Waiting on you: approvals and unanswered mentions.
  2. Assigned to you: open records, in the urgency order above.
  3. You assigned to others: only if you turned that on.

Each section shows its first 15 rows and then and N more, linking to My Work, where N comes from the exact total. The subject reads like Your work in Acme: 3 waiting, 12 open. A section with nothing in it is left out, and if every section is empty no email is sent at all. No AI writes any part of it. The email is built for your own access, so it never shows a row you cannot open or anything from your personal space.

The server checks every minute. A digest is sent at your chosen time, and a missed time is made up for only within the next 30 minutes. So switching the setting on at 15:00 does not send that morning’s 08:00 digest late. Each person, workspace and time is claimed once before sending, so a restart or a second server never sends two. The cost of that guarantee is that a crash between claiming and sending loses one digest rather than doubling it.

Every email ends with Stop these emails. It is a signed link that turns off only your own digest:

  • It needs no sign-in, because you are clicking in your mail app.
  • It opens a redirect to Settings → Notifications in the workspace the email came from, so turning it back on is one click.
  • Mail apps that offer their own Unsubscribe button use the same link through the one-click List-Unsubscribe standard.
  • It does not expire, so an old email’s link still works.
  • A link that was not signed by the server returns a plain 404.

The footer also has Customize these emails, which opens Settings → Notifications.

GET .../records/{id}/backlinks returns {data, total, has_more, next_cursor} — the same keyset-cursor shape query_records uses. The MCP list_backlinks tool mirrors it. Guest visibility is enforced on every page, including the count, not only the first one.