Spell items carry an optional Follow-ups list (Adam, 2026-10-28): each entry names one or more Soter
people and says what they should do. Every (entry, person) becomes one task in Notion's [DB] Tasks,
under the project Sky Eco: Spell Cycle Follow-ups, created by the platform. Nothing in the process
waits on the list: an empty list is nothing to do.
spell:manage), the tech coordinator (spell:manage-tech) and admins (production's
soter-admin role carries spell:manage). BA Labs and Primes cannot write.processes:read_all, processes:audit, spell:manage,
spell:manage-tech): Soter, Sky Core, BA Labs. Never the Prime: the server's read projection withholds
the list, its entries and its audit entries from every API read a Prime can make. The seat tests
(applications/main/src/local/spell-seat-api.test.ts) and the acceptance journey assert this on the
server response, not only on the screen.GET /api/process/{id}/follow-ups/followUps/assignees)
offers exactly those; a write naming anyone else is refused (400).Declared in the template's presentation beside notes (permissions reference):
no template version, any step, finished items included.
PROCESS_FOLLOW_UPS_CONFIG (inline JSON) turns the feature on. Absent, the declaration is ignored: no
card, no reads, no writes (the API answers 404). Set on every service (web and worker: the web hosts read
and write entries, the worker syncs them).
{
"assigneeGroups": ["soter"],
"notion": {
"databaseId": "2abd79b5-de38-806a-acbd-cd6d016dec2f",
"projectPageId": "407d79b5-de38-810d-9d57-d1fca8b2d0f0",
"context": "Service"
},
"reconcileMinutes": 60,
"retryMinutes": 15
}
assigneeGroups: directory group keys (PROCESS_ACCESS_CONFIG → directory.groups) whose members may be named.notion (optional): the Tasks database and the project page every task relates to. Without it the feature
runs dark: entries are saved and shown, every task stays Queued, nothing is sent anywhere. This is how it
ships; set notion when the integration is confirmed (below).reconcileMinutes (default 360): how often a linked task's Notion status is re-read while the item runs and the
task is not Done, Cancelled or Archived (Notion is master for status; the app shows the link and the last status
it read). Each read is a sync run, so a short interval grows the run store quickly. retryMinutes (default
15): the wait after a refused sync attempt.The Notion credential is NOTION_API_KEY on the step runner (the integration "Process-Wizard"; the key was
rotated 2026-10-27). The web services never call Notion. The credential policy allows GET, POST and
PATCH under https://api.notion.com/v1/.
NOTION_API_KEY, and that the integration is shared with
[DB] Tasks and the project page (a relation to a page the integration cannot see is refused).
The integration needs the "read user information including email" capability for Assigned To.PROCESS_FOLLOW_UPS_CONFIG with notion on every service and redeploy.To Do. Check the task in Notion: Status To Do, Assigned To the person, Project the follow-ups
project, Context Service, the body's ## Context with a From: line naming the item and the author.Every task operation is its own run of the Follow-up task sync template (follow-up-task-sync),
started by the ProcessOS account with its one grant for it (processes:sync-follow-ups: it starts only
templates naming that permission; no person can start one) and executed by the step runner under the
protected-credential model. The runner (@processos/runtime/follow-up-sync) ticks every minute from the
step runner's scheduler:
GET /v1/users), create the page (Name = the
first line of the text, Status To Do, Assigned To, Project, Context; body = the text, ## Context,
From: <item> (<link>) — <author>, <date>). If Notion has no user for the email the task is still
created, unassigned, and the app says so.reconcileMinutes → the status is re-read.Idempotency: a run's id is derived from (item, entry, person, operation, entry version, attempt), so a
second tick or a second runner reaches the same id and the store refuses the duplicate. The run is recorded
on the task before it starts; the page id is recorded as soon as a run returns it and is never replaced,
so a task is never created twice. A run Notion refused (a non-2xx answer: nothing was written) records
its error on the task (Not synced yet) and is retried after retryMinutes as a new run. A create that
ended any other way — an answer that could not be read, a run that failed or did not finish in six hours — is
not retried by the platform, because the task may exist in Notion: the badge says so ("check Notion for this
task before editing the follow-up, which retries"); a person looks in Notion (every task body ends with a
Task: <entry id>/<email> line to find it by) and, if there is no task, edits the entry, which is the retry. A
held run that is still alive is kept: if it is reconciled later and answers, the page is linked and the hold
lifted. Updates, cancels and status reads repeat safely and are always retried. An edit made while a run is
in flight is not lost: the run records what it sent, and the edit becomes an update.
The same person on two entries is two tasks; removing them from one entry cancels only that one.
Sync runs are ordinary processes of the deployment's default application (readable by its members with
processes:read_all); their request holds the item's title, link, the follow-up text and the person's
email, so they are internal.
Every operation is a process in the run store, never deleted: creates, updates and cancels are one each; status
reads recur every reconcileMinutes per linked task while the item runs. Expect a few runs per follow-up over an
item's life, plus the status reads; a pruning sweep of settled runs is a follow-up if the store grows.
Every add, edit and remove is a field-audit entry under @followUps, attributed to the person who made it
(the record is who acted in the system). Notion's Created by is the integration, so the task body's
From: line names the item and the author. Sync state (page id, status, failures) is machine state and is
not audited as a person's write.
Due dates (Next Action stays empty), Slack pings, BA Labs or Prime assignees, marking a task done in the
app (Notion is master), vote-level roll-ups, Related Docs and Public Mirror.