Skip to content

One Shell, Modules and Integrations (Proposal)

Status: Agreed in part, 3 November 2026 (Andrew: "Proceed"). - Andrew settled four questions first (DEC-34 to DEC-37). - After trying the prototype he found it "a good start and better than the current UI", and asked for: - no iframes, with integrations able to ship React components (DEC-41); - several lists per space, relations, Docs and configurable chats; - files as their own tab, with media embeddable in docs (DEC-43); - the lists UI to be used and tried (DEC-44); - Agents and Knowledge kept as places (DEC-45); - a dedicated Help page as well as on-page help (DEC-46, amending DEC-42).

The first phase is planned in docs/plans/2026-11-03-shell-and-views.md. The rest waits on the questions in § 12. A clickable prototype of the shell goes with it (§ 11).

Where it stands, 4 November 2026. Most of step 1 (§ 10) is on main and live: Home, My tasks and Activity; the collection surface with one calendar (B27 fixed); a space's tabs; the side panel; one palette for search and commands. Andrew then made the shell the same as RippleBase's (DEC-64 to DEC-66, plan docs/plans/2026-11-04-one-shell-for-both-apps.md), which amends § 2.2: the top bar runs across the full width with the logo, the organisation, search centred and New; the menu sits below it with Help, Settings and you at its foot; and the trail and "?" sit with the page, not in the top bar. The fonts are Instrument Sans and DM Mono everywhere. What's left of step 1 is in the phase A plan; the session's handover is docs/sessions/2026-11-04-shell-session-handover.md.

It builds on two agreed or part-built designs and doesn't reopen them: the daily driver's shape (spaces, their tabs, projects, chat everywhere, agents as members; DEC-16 to DEC-22) and module architecture (object types, connectors, capabilities and surfaces; draft ADR-040). Where it changes them, it says so.

In one line: one shell, one way of showing a set of things, and one way of plugging things in, whether the thing is a task, a list entry, a Couple Tools subscriber or a Ripplebase article.

Precis

  • Why now. Novansa moves into Thinklio for daily use (RM-1, RM-28). Using it is how we'll find what's wrong, so the shell and the views have to be right enough that we want to live in them. Every new piece (the GitHub reader, the Notion import) should be something any account can turn on, because Thinklio is a product, not our in-house tool.
  • What's wrong today (web survey, 3 November):
  • Tasks and lists each have their own table, board and calendar, with different controls. Task views sit in a dropdown.
  • The calendar is a week of seven columns, written twice (components/views/CalendarView.tsx, components/lists/ListViews.tsx ListCalendar). There's no month, nothing for undated items and no drag. A task without a due date never shows, so for imported tasks the calendar looks unbuilt (B27).
  • The rail mixes places (My work, Changed, Chat), machinery (Agents, Knowledge) and eight admin pages. Settings is 1,250 lines with mock data. Integrations is an empty array.
  • Thinklio's components are hand-rolled with their own tokens (--page-bg, --cta), while Ripplebase has a more complete kit (rb- tokens, src/kit). @novansa/ui is copied into every repo and has drifted.
  • The API has one capability (create_task) behind one shared key, and that key is unset (O2). The Notion and GitHub connectors use deployment-wide tokens, with no per-account connection. Nothing can be turned on or off per account.
  • What this proposes: § 2 the shell, § 3 one collection surface, § 4 progressive disclosure, § 5 the design kit, § 6 integrations and modules, § 7 channels, § 8 the API, § 9 Ripplebase, § 10 the order of work.

0. The shared docs it follows

Novansa's shared docs (~/dev/docs) hold the standards for features that more than one product has. This proposal follows them. Where it adds something another product could use, it's offered to that repo rather than kept here (§ 13).

Shared doc Where it applies here
ui-ux/simplicity-principles.md Every screen, and the audit in phase A's polish pass
ui-ux/deep-products.md § 4: the three layers (first use, growing use, power use) are how Thinklio delights as people discover more
ui-ux/motion.md (novansa-motion) Panels, toasts and the moments noticed in § 4
standards/help-and-knowledge.md (novansa-help) Help and on-page help (DEC-46, DEC-48)
standards/api-and-mcp.md § 8. Ripplebase is the reference implementation, and Thinklio follows its rules for keys, versions and the acts the API never does
standards/interaction-protocol.md § 7: messages and agents' interactive elements across channels (the envelope, affordances, render on egress)
standards/chat-and-moderation.md Chat, and chat settings (§ 2.5)
standards/rich-text-editing.md Docs and the editor
standards/sign-in.md, standards/regional-deployments.md Accounts off Clerk organisations (DEC-57) and the shared helpers in novansa-kit
conventions/dependencies.md, conventions/project-records.md New packages, and the records this work keeps

1. Principles

  1. One model, one behaviour. Anything that is a set of things (tasks, list entries, files, a module's rows, Ripplebase outputs) shows through the same collection surface with the same controls in the same places. Anything that is one thing opens in the same peek panel with the same layout. Learning it once is enough.
  2. Calm first, power on request (simplicity principles, laws 1, 4 and 5). Each screen has one main thing and one main action. Advanced controls exist, but behind one deliberate step. Things appear when they apply, never disabled.
  3. Every action is a capability. Whatever a person can do, the API, MCP, agents and the command palette can do, from one definition (ADR-040 § 5). A feature isn't done until its capability is.
  4. Generic first. Every integration is built for any account: its credentials are a connection belonging to an account or a person, it's described by a definition, and it can be turned on or off. Nothing Novansa-specific lives in code (CLAUDE.md, "Build for every account").
  5. Data stays where it belongs. Thinklio holds work. Other systems keep their data and lend it to Thinklio by mirror, import or link (ADR-040 § 4.1). Admin apps are linked live, not copied.

2. The shell

2.1 The places

The rail holds these places:

Place What it holds Replaces
Home The whole app from where you sit (§ 2.1a): the brief, your spaces, Needs you, My tasks across every space, Today, Agents at work, What changed My work, Changed, Briefing, Activity
Chat Every conversation: direct, groups, spaces' chats, channels (§ 7) Chat
Agents The account's agents: yours (the Assistant), shared ones (Research), what each is doing and its run transcripts, and adding one to a space or chat Agents
Knowledge What Thinklio knows: learned facts per person and per space, visible and correctable, and the indexed sources (DEC-20, RM-31) Knowledge
Spaces The spaces you're in, listed in the rail, each opening to its tabs Spaces
Apps The modules the account has turned on (§ 6), each with its own tabs. Hidden until one is on —

Agents and Knowledge stay as places, because both are about to work properly (Andrew, 3 November; DEC-45). That's six places against simplicity law 2's five. The exception is deliberate, and it's mitigated in two ways: - Apps appears only once a module is on. - Until Agents and Knowledge have content, each opens to a short, warm empty state rather than a mock.

Search isn't a place. It's the search box in the top bar and ⌘K, both opening the same palette (§ 2.4). A rail item would only open that dialog again (Andrew, 3 November).

The rail's foot holds: - Help (DEC-46), which opens a dedicated Help page at /help, as Ripplebase has (ripplebase/apps/web/src/app/(protected)/help, workspace/help/). It has: - search; - sections and their articles; - What's new; - keyboard shortcuts; - Send feedback (RM-23).

It comes from Novansa's shared help code (~/dev/novansa/novansa-help, ~/dev/docs/standards/help-and-knowledge.md; RM-22). - On-page help is separate: the top bar's "?" opens a help panel beside the page, at the article for the page you're on, with Open in Help to go to the full page. - Settings, the theme and Linked products (§ 9.4). - You: the account switcher, when there's more than one account.

Settings has levels (DEC-59): - You; - Organisation, for its admins, at /settings/organisation, where today's /admin pages move; - teams and spaces, reached from those places; - App admin, for Novansa staff. This is a flag set by hand from the backend, never from the app.

The organisation's list of everyone is People (/settings/people, DEC-62), with each person's role (owner, admin, member or read only, DEC-60) and their teams. The organisation, its teams and individuals are Thinklio's own; Clerk only signs people in (DEC-57, DEC-61, RM-7).

2.1a Home

Home is the whole app seen from where you sit: what needs you, what you've got on, and what moved. It returns to the old Briefing page's idea (a greeting, then cards for tasks, urgent items and agents' jobs), done properly. It should be useful enough that people open it first, and never busy.

At the top: - The brief: a greeting, the date, and one or two sentences that summarise the day, for example: "Three things need you. Two of your tasks are due today, and Antonette finished the newsletter draft." The Assistant writes it when it's on. Until then it's assembled from counts, so it is never empty or invented. It's the same text as the morning brief sent by push, email or Telegram (work model § 7.3). - Your spaces: a quiet row with one chip per space. Each chip shows your open tasks there and a dot for anything unread. Clicking it opens the space. This is the "whole app" at a glance.

Then at most five sections, the most pressing first. Each shows a few items and See all. An empty section shrinks to a single line ("Nothing waiting on others"), and an empty Needs you says "You're clear."

Section What it holds
Needs you (RM-4's Inbox) Work returned to you for review, mentions, approvals, and agents' suggestions. Each item has its action inline: Review, Reply, or Accept and Dismiss, with Undo
My tasks Every task assigned to you, across all spaces, grouped by space, with a segmented Today · This week · All. Ticking one done gives an Undo toast. Open as Table, Board or Calendar opens the full collection surface (§ 3) over the same tasks, with a Space column: the consolidated task view
Today Today and tomorrow in time order: meetings (once Google Calendar is connected, RM-6), tasks due, and dated entries from your lists (a renewal, a send date)
Agents at work What your agents are doing and have finished, each with its transcript a click away (from the old Briefing's Active jobs; DEC-19)
What changed Changes in your spaces since you last looked, not your own, in plain words, with Mark seen (work model § 7.1)

Yours to shape. The ⋯ menu on Home lets each person: - hide a section; - pin a list, a doc or an app's card to Home (Renewals due this month; Couple Tools' trials ending soon, § 6.4), in a narrow Pinned column.

Home remembers these per person. The account can set the default (work model § 7.2).

2.1b Today's Administration menu, and Changed

The rail loses its Administration group and its Changed item. Each page goes where people would look for it:

Today Goes to Why
Dashboard (/admin/dashboard) No page of its own. Its counts (interactions, cost, active agents, tokens) go to Organisation › Usage, its recent audit entries to Audit, and the Organisation tab opens with a short summary card A dashboard of other pages' numbers is a sixth place to look
Agents (/admin/agents) The Agents place in the rail. Admins see New agent and each agent's settings there, and others see the agents they can use. Organisation › Agents keeps only organisation-wide rules: which agents may run, budgets and the AI models card One place for agents, not two pages with the same name
Teams & Users (/admin/teams) Organisation › People (/settings/people, DEC-62) and Teams beside it. A team's own settings open from the team DEC-59, DEC-61
Usage & Costs (/admin/usage) Organisation › Usage, and billing beside it when billing comes —
Audit Log (/admin/audit) Organisation › Audit: security and admin events, such as sign-ins, role changes, settings, integrations, keys and agents' permissions Who changed what about the organisation. It isn't the work's own history, which is Activity (below)
Policies (/admin/policies) Organisation › Policies: what agents may do, what needs approval, and data rules. A space's own policies come later, from that space's settings —
Integrations (/admin/integrations) Organisation › Integrations, the catalog (§ 6.1) —
Editor test (/admin/editor-test) App admin › Developer, for Novansa staff only (Q-10) A test bench, not part of the product

Changed becomes Activity, with three ways in. The change log behind "Changed this week" (/changes) records every change to tasks, entries, pages and files, by people, agents and integrations, and that stays valuable. It isn't a place of its own, though: - Home's What changed shows what's new since you last looked, with See all. - Each space's ⋯ › Activity opens the same view filtered to that space. This is the per-space option. - Each item's side panel shows its own history, with Undo.

See all opens Activity (/activity): the change log as a collection (§ 3), with Table as its view. Filters cover the space, who made the change (people, agents or integrations such as GitHub), the type and the date, and Undo works where it can. Filtering to agents is how anyone checks what their agents did. The old /changes link goes there.

2.2 The top bar

Amended 4 November 2026 (DEC-65): the top bar is RippleBase's, across the full width: logo and organisation, search centred at a fixed width, New (a split button, Q-43) and the bell. The trail and "?" moved to the page, above its title. The list below is the first design, kept for the record.

There is one top bar on every page, on desktop as well as mobile:

  • Where you are: a short trail (Space › Tab, or Space › Tab › item when an item is open full page). It's two levels at most; projects add a third (DEC-17).
  • Search: a search box that opens the palette, which ⌘K also opens (§ 2.4).
  • The page's main action: one button. Its label follows the tab: New task, New page, New entry, Upload, New message (DEC-16).
  • Capture "+", notifications, and "?" for help on this page (RM-22).
  • The bell opens NotificationPanel and shows useUnreadCount(). Both are built (RM-24, on main since 3 November).
  • FeedbackDialog sits in the sidebar's footer for now, and moves to Help's Send feedback.
  • Notifications open what they're about: /messages/<chatId>, or ?task= and ?record=, which the peek panel picks up.

2.3 The peek panel

Opening any single thing (task, entry, page, file, a module row, a Ripplebase output, a message thread) slides it into a panel on the right. You keep your place in the collection behind it, and Esc closes the panel (simplicity law 6, "open beside, not instead"). Expand turns it into a full page with its own URL. A link always opens the same thing in the same way.

Every item's panel has the same order:

  1. its title and type marker;
  2. its properties (fields), in a two-column grid that you can edit in place;
  3. its body (rich text), where the type has one;
  4. its files;
  5. its links and backlinks;
  6. its conversation and history, as one stream (comments from chat on objects, DEC-18, and changes from the change log, each with undo).

2.4 ⌘K: search and commands

The palette searches everything (RM-25) and runs any capability that applies here (§ 8). On a task it offers "Assign to…", "Move to space…" and "Set due date…". In the Couple Tools app it offers that module's actions. Its entries come from the capability registry, so they can't go stale the way navigation-items.ts has.

2.5 Chats and their settings

Each chat has its settings in the same side panel, opened from its title. They build on doc 16 § 2.1 (types, member roles and the posting policy) and the daily-driver shape's agent modes (DEC-19). Every short choice is a segmented control (DEC-37):

Setting Choices Notes
Who can find it Private · Public Private: by invitation. Public: anyone in the account can find and join it. Direct chats have no setting. A space's chat follows the space
Who can post Everyone · Admins Doc 16's postPolicy; Admins makes an announcements chat
People Each person: Admin · Member · Observer Owner is shown and passed on from the person's menu. Observers read only. A space's chat takes the space's members, unless it's switched to its own list
Agents Each agent: Mode Watch · Offer · Act. Answers When mentioned · Always. Sees From when added · All history. May a list of the capabilities it may use here (create tasks, search the space, post to linked channels) The mode is DEC-19's. May comes from the capability registry (§ 8), so an agent can only be given things that exist. Changing an agent's settings is a change with history and Undo
Channels The outside chats it mirrors or relays (§ 7) Add or remove a Telegram group here
Your notifications All · Mentions · Nothing Per person, from the notifications work (RM-24)

Admins and owners change the chat's settings. Everyone changes their own notifications. Every change shows in the chat as a quiet line ("Andrew made Assistant an Offer agent") with Undo for the person who made it.

What's missing from the schema: an agent member's mode, answers, history and capabilities (on chat_members), and the chat's visibility. chats.type holds private and public today.

3. One collection surface

This is the heart of Andrew's note of 3 November: "tasks, lists etc should have the same views and controls", with segmented controls rather than dropdowns where possible (DEC-37).

3.1 The toolbar

Every collection has the same toolbar, in the same order:

[ Table | Board | Calendar | Gallery ]   Filter  Sort  Group  Fields   ⌕        [ + New ]
  segmented control                       quiet buttons, a badge when set         main action
  • The view switcher is a segmented control. It shows only the views a collection can use: Calendar needs a date field and Gallery needs files or images. So most show three options and none shows more than four.
  • The view is called Table, not List, because "Lists" is already an object type ("the Renewals list in list view" is confusing). Tasks' "list" view becomes Table. The current task dropdown says table already (What's new, 3 November). Agreed (DEC-49).
  • Filter, Sort, Group and Fields are quiet buttons that open small popovers. Each shows a badge when it's set, and Clear is always one click away. They're popovers because what they choose from (a field, a person, a status) can be a long list.
  • Saved views: a collection with more than one saved view shows them as a second segmented row under the toolbar (Mine, This week, Waiting). One saved view shows nothing (law 1).

When to use a segmented control (the rule for the kit, § 5): - Use one for two to five choices that exclude each other, are switched often and are worth seeing at once: views, Month or Week, Mine or Everyone, density, Rich or Markdown. - Use a dropdown or popover for long or open-ended choices, or ones that are rarely changed: a field, a person, a space, a time zone. - Never use a dropdown to switch between views of the same content.

3.2 The views, the same everywhere

View Behaviour, whatever the collection
Table Rows with the chosen fields as columns, sortable by header. Cells edit in place. An add row sits at the foot, and group headers show counts and sums. Keys: ↑↓ to move, Enter to open, Space to peek
Board Columns by any status, select or person field (tasks: status by default). Drag a card to change the field. Each column shows its count and has an add card. Card fields are chosen in Fields
Calendar Month by default and Week (segmented), by any date field, with ranges when the field has an end date. An Undated tray beside it lists what has no date, and you can drag from it onto a day. Drag between days to reschedule, and click an empty day to add an item on that day. Today jumps back. Week shows times when items have them
Gallery Cards with the cover image or file preview, for files, image lists and Ripplebase outputs

One calendar. The two week-only calendars are replaced by one CalendarView in the kit. It's the first piece built (§ 10, Phase A), because it's broken today (B27).

3.3 Under the hood: collection adapters

The views don't know what they're showing. Each kind of collection supplies an adapter, an extension of the object registry (convex/objects/registry.ts):

interface CollectionAdapter {
  fields(ctx): FieldDef[];                 // the same field types as lists (lib/fieldDefs.ts)
  query(ctx, { filter, sort, group, range, cursor }): Page<Row>;
  update(ctx, id, fieldId, value): Change; // through the type's write path, so history and undo work
  create(ctx, values): Id;
  capabilities: CapabilityKey[];           // actions offered on a row (§ 8)
}

Adapters to build: - Tasks: status, assignee, due date, priority and parent become ordinary field definitions. The tasks table and lib/taskWrites stay as they are. - List entries: these are lists today. - Files: RM-29. - A module's data source: read live from the app's API (§ 6.3). - Ripplebase outputs: through the link (§ 9).

So filtering, grouping, board and calendar work the same on Couple Tools subscribers as on tasks, with no new UI code.

3.4 Space tabs

The daily-driver shape's six tabs stay (DEC-16): Overview, Tasks, Lists, Docs (today's Pages), Files and Chat.

Tab Holds Views
Overview The space's home: due soon, what changed, pinned lists and docs, people and agents, and cards from apps (§ 6.4) —
Tasks The space's one task collection Table, Board, Calendar
Lists Any number of lists: Projects, Renewals, Newsletter, and data sources from apps (§ 6.5) Each list has its own Table, Board, Calendar, Gallery
Docs Today's Pages (the wiki), renamed: documents in a tree, with files and media embedded in them Tree, Table
Files The space's files and media, as a library like Ripplebase's media library Table, Gallery
Chat The space's conversation (§ 2.5) —

Several lists in one tab. A space has one task collection but many lists, so the Lists tab has two levels: - A list switcher: a row of the space's lists, pinned ones first, as a scrolling row of chips with All lists at the end. It isn't a segmented control: there can be any number of lists. - The chosen list: shown with the same toolbar as everything else (§ 3.1).

All lists shows them as cards with their counts and when they last changed. Each list remembers its own view, so Renewals can open as a calendar and Projects as a board.

Files are their own thing (DEC-43). A file never has to sit under a page; that is one of Notion's most irritating limits (Andrew, 3 November). The Files tab is a media library, modelled on Ripplebase's (workspace/media/: MediaTile, MediaDetail, MediaFolders, MediaPicker): - Views: Table and Gallery, with the same toolbar as every collection (§ 3.1). Gallery shows image and video thumbnails and a file-type tile for the rest. - Folders, listed beside the gallery as Ripplebase lists them: All files, Not in a folder, then each folder with its count. On a phone they're a menu. Deleting a folder keeps its files. - Type as a quiet filter: images, video, audio, documents, other. - Where a file is used: a file's side panel lists every doc, task, entry and message it's embedded in, as backlinks.

Embedding. Files and media embed in docs, task descriptions, list entries and chat messages, through one picker (Ripplebase's MediaPicker) that chooses from the space's library or uploads a new file. There is one files table (RM-29), so an embedded file is a library file with a use, never a copy.

Which files the library shows. A segmented control in the Files toolbar answers Andrew's "via an option or filter?": - Library: files added to Files directly. This is the default. - Everything: also the files that were uploaded straight into a doc, task, entry or message. Each is marked with where it lives ("in Brand guidelines").

Moving a file into a folder adds it to the Library, so nothing is lost and nothing is duplicated.

A space opens on the tab you last used. The ?task= and ?record= links from chat mentions open the item in the peek panel over the right tab.

3.5 Relations, across spaces

Lists get a relation field (work model § 4.1 and § 5.3), and tasks can have relation fields too.

Example. Novansa keeps a Projects list. A task in FALL or Twikka gets a Project field pointing at a Novansa project, so the project can gather work from every space.

  • Stored as links, so both sides see them. The project's peek panel and page show Tasks about this project, grouped by space. A relation behaves like any other field in Filter, Group and Board: grouping tasks by project, across spaces, is one click.
  • Anything can be a target:
  • a list entry in any space you can see;
  • a task;
  • a doc;
  • a row from an app's data source. In link mode (ADR-040 § 4.1) a task can be about a Couple Tools member, and the member's own data stays in Couple Tools.
  • Access follows the target. You see a related item's title only if you can see the item. Otherwise it shows as "A private item", so a relation never leaks across spaces.
  • Projects stay entries in a space's Projects list (DEC-17). A relation to a project is how tasks elsewhere join it. Project is offered as a suggested field on tasks once an account has a Projects list.
  • Rollups come after relations: count, progress, the sum of a field over related items. They're the first reason to build the Aggregate component (pilot plan § 4.3).

4. Progressive disclosure: delight as you go

This follows ui-ux/deep-products.md's three layers: - first use: the main job, with nothing to learn first; - growing use: more appears as someone's use reaches it; - power use: the keyboard, saved views and bulk actions.

The aim is a product that feels small on day one and keeps rewarding curiosity. These are rules for every screen, checked in the simplicity audit:

  • Start small. A new person sees Home, Chat and their personal space with Tasks only. Spaces, Apps and the extra tabs arrive as they're used or turned on. The first screen never shows everything the product can do (law 4).
  • Reveal at the moment of need:
  • after the third drag, a hint mentions the keyboard shortcut;
  • the first time a collection has a date field, the Calendar segment fades in with a one-line tip;
  • Group appears in a list's toolbar once it has a select field. Each hint shows once and is dismissed for good.
  • Undo over confirm (law 8). Small undoable changes get a toast with Undo, backed by the change log. A plain confirmation is kept for what can't be undone, and a deliberate act (typing the name) for what is large and can't be undone.
  • Warm, plain copy. Empty states say what goes here and offer the one action ("No tasks yet. Add the first, or press N"). Errors say what happened and what to do.
  • Noticed moments, few and brief: the last task of the day done, the first week on Thinklio alone (RM-1), a project closed.
  • Density comes in Comfortable and Compact, set per person. Ripplebase's data-density already does this.
  • Keyboard all the way:
  • every main action has a key: N new, / filter, G then a letter to go somewhere, 1–4 for views;
  • "?" lists them.

5. The design kit: novansa-kit, copied in (DEC-34)

Thinklio and Ripplebase share one kit. It lives in its own repo, and is copied into each app by a copy command, the way novansa-help and novansa-motion already are.

The shared docs already name a novansa-kit for the code products share: the region picker and guard, the Clerk claims pattern and the storage adapter (standards/regional-deployments.md § 10, standards/sign-in.md). Its source is novansa-apps-legacy. The design kit here is the interface part of the same kit, or a sibling repo beside it. That's settled with the docs session, which owns the shared standards (§ 13), along with a shared design-system doc that every product follows, as DEC-50 asks ("one common set of fonts/themes/colors").

What's in it: - Tokens. Semantic names seeded from Ripplebase's rb- set (src/styles/tokens.css), which is the more complete one: canvas, surface, sunk, line, ink (three levels), accent, spark, ok, warn, bad, rail, object-type colours, radius, shadow, type scale and density. They are renamed to a neutral prefix (--nk-) and exposed through Tailwind 4's @theme inline. - Product accents. data-product="thinklio" or "ripplebase" sets the accent pair, so the two products look like siblings without looking identical. The deep-teal rail and warm spark stay common: both apps are close to this already. - Themes: light, dark and system, plus high contrast, set on <html> before first paint and stored per person in Convex. Ripplebase's ThemeSync does this today. Thinklio's data-scheme variants (warm, bold, modern, pride) become optional accent themes. - Fonts, themes and colours: one common set for both apps (DEC-50). Which fonts is deferred (Q-27). Until it's decided, the new screens use Ripplebase's current tokens and fonts, copied in by the settings work. The recommendation stays Instrument Sans and DM Mono, with display faces on the marketing sites. - Icons: Phosphor through one Icon wrapper with one default weight. - Components: - the shell: rail, top bar, peek panel; - the segmented control; - the collection toolbar and the four views (§ 3); - field renderers and editors; - the item layout (§ 2.3); - the command palette, toast with Undo, dialog, popover, empty state and help "?". - Checks: Ripplebase's check-ui-literals and check-contrast scripts, run in both apps' CI, so no hard-coded colours or sizes creep back.

How we get there: 1. Seed the kit from Ripplebase's src/kit and tokens. 2. Thinklio adopts it first, while its shell is being rebuilt anyway (§ 10, Phase A). 3. Ripplebase follows screen by screen. 4. @novansa/ui is retired from both as screens move. Thinklio's site uses it today, and moves last.

The Flutter app (RM-12) takes the same tokens, generated into a Dart theme from the kit's token file, so the phone looks like the web.

6. Integrations and custom modules (DEC-35)

6.1 One catalog

Connectors (ADR-040 § 4), channels (§ 7), modules (§ 6.3) and linked products (§ 9) are all integrations in one catalog, shown in Settings › Organisation › Integrations. A person's own connections, such as their mailbox or their Cliniko key, sit under Settings › You.

Each integration has: - a definition: what it is, what it needs, what it adds, and its version; - an enablement per account: on or off, its settings, a pinned version; - connections: credentials attached to the account or to a person (ADR-025; doc 16 § 5.2), never stored in object data and never set as a deployment env var; - health: last sync, errors and a log, shown on its card.

Tables (new): - integration_definitions: key, kind, version, manifest and its hash, publisher (Thinklio, or an account for custom modules); - account_integrations: account, definition, enabled, settings, pinned version; - connections: principal, integration, auth kind, encrypted secret reference, scopes, status; - integration_events: inbound events, for the activity log and replay.

This is ADR-040 § 7.3, "per-account enablement", built now rather than with pricing, because every later piece depends on it.

6.2 The rule for anything new

Before an integration is built (the GitHub reader was the example), it answers five questions in its plan:

  1. Which account or person owns the connection, and how does it authenticate (OAuth, an app installation, a key)?
  2. What does it add: object types, a data source, actions, events, components or a channel?
  3. Which mode is it in: mirror, import or link?
  4. Which capabilities does it bring, with their API and MCP names?
  5. What happens when an account turns it off?

Today's debt, to fix in Phase C: - The Notion connector reads NOTION_TOKEN and the GitHub reader reads GITHUB_TOKEN, both deployment-wide. - linkRepo has no UI.

Both move onto connections: Connect GitHub through a GitHub App installation, Connect Notion through OAuth, per account.

6.3 Modules: declared, not coded

A module brings an outside app's data and actions into Thinklio. Like a Ripplebase pack, it is data, not code: - a manifest that is validated whole and versioned; - uploaded signed, or picked from the catalog; - pinnable per account.

Unlike a pack, it describes data and actions, not content formats.

key: coupletools.admin
label: Couple Tools
version: 3
connection: { kind: signed-endpoint, base: https://admin.coupletools.app/thinklio }  # HMAC, as packs
dataSources:
  - key: members
    label: Members
    fields:
      - { id: email, type: email }
      - { id: plan, type: select, choices: [free, plus, pro] }
      - { id: joined, type: date }
      - { id: status, type: status }
    title: email
    searchable: [email]
    agentReadable: [plan, joined, status]    # nothing else reaches agents
    ops: [list, get]
  - key: guides
    label: Guides
    fields: [...]
    ops: [list, get, update, create]
actions:
  - key: extend_trial
    label: Extend trial
    on: members
    input: { days: { type: integer, min: 1, max: 60 } }
    stakes: small                            # sizes the confirmation (law 8)
  - key: publish_guide
    label: Publish
    on: guides
    stakes: large
events:
  - { key: member.cancelled, inbox: true, notify: [admins] }
components:                                  # web only; § 6.4
  - { key: dashboard, label: Dashboard, entry: coupletools/Dashboard, placement: app-tab }
  - { key: trial_card, entry: coupletools/TrialsCard, placement: overview-card }

What each part becomes in Thinklio: - Data sources become collection adapters (§ 3.3). The Couple Tools members show as Table, Board (by plan) or Calendar (by joined), with the same filters and the same peek panel. Read live through the app's endpoint, with a short cache. Nothing is copied unless the manifest asks for a mirror. - Actions become capabilities (§ 8). Each is a button in the peek panel, an entry in ⌘K, a /v1 route, an MCP tool and an agent tool, governed like any other. stakes sets the confirmation. - Events become activity, Inbox items and notifications. - Search: fields marked searchable join universal search. - Agents: agentReadable decides what an agent may see.

The endpoint contract. Each admin app adds one small, signed REST endpoint with these routes: list, get, update, create, act and events. A shared helper, novansa-module-server, copied in, makes it one route file in a Next.js app. The admin apps run on three backends (Couple Tools on Supabase, FALL and Foot Camera on PocketBase, Twikka on Convex). The endpoint keeps each app's own rules and validation in the app, and Thinklio needs no database adapter per backend.

6.4 Components: real React, never iframes (DEC-41)

No iframes, ever (Andrew, 3 November). When a screen is too bespoke to declare (a video lab, a chart editor, a review tool, a dashboard), the integration ships React components that render inside Thinklio's own page. Thinklio doesn't limit what an integration can show, and nothing looks embedded.

How a component is built: - It's written with novansa-kit (§ 5), so it looks and behaves like the rest of Thinklio and follows the theme and density. - It gets data and does things only through an integration SDK: - useDataSource and useItem over its own data sources; - runAction for its declared actions; - openItem, toast, navigate; - the current account, space and item.

It never gets the Convex client or the person's session. So a component can only do what its manifest declares, through the same capabilities, permissions and change log as everything else. - Placements: - a tab in its app; - a tab on an item's peek panel; - a card on a space's Overview or on Home; - a panel beside a collection.

Trust, by who wrote it:

Who wrote it How it ships Where it runs
Thinklio, and Novansa's own apps (Couple Tools, FALL, Twikka, Ripplebase) A package in the Thinklio repo (apps/web/src/integrations/<key>/), reviewed like any code In the page. It's code-split and loaded only for accounts with the integration on
Outside developers (later, with a catalog) Reviewed and signed into a release, or run in a Web Worker that can draw only kit components, through a remote UI tree with no iframe and no access to the page Decided when the first outside developer asks (Q-32). Until then only the first row exists

Components are web only. The Flutter app shows an integration's declared parts (data sources, actions, events) natively, and offers Open on the web where a component would be. Declared parts are what reach search, the API, MCP and agents, so an integration should declare its data even when it also ships components.

6.5 Where modules show

  • Apps in the rail lists the modules that are on. Each app opens with its data sources and components as tabs: the same shape as a space.
  • An app's data in a space. A data source can be added to a space's Lists, marked App: Couple Tools' members sit beside Renewals and Projects, with the same toolbar. Its components can be cards on the space's Overview. A space keeps its six tabs (§ 3.4).
  • Custom and catalog modules. An account can write its own manifest (custom, visible only to it). Thinklio's catalog holds the published ones (first party now, others later). Novansa's admin apps start as Novansa's custom modules.

6.6 What this means for the admin apps

Couple Tools, FALL and Twikka don't have to be rebuilt. 1. Each adds the endpoint (one route file) and a manifest for the screens it needs day to day: lists of things, a few actions, the events worth knowing about. 2. Bespoke screens become components (§ 6.4), written with the kit, so they look like Thinklio. 3. The separate admin web apps can retire once their manifests cover what people use.

7. Channels

Doc 16 already holds the model: chat is canonical, a channel is a transport, and there are three binding modes and a channel adapter contract (§ 8.3). This proposal makes a channel an integration kind (§ 6.1), so it is turned on, connected and checked like any other.

  • Adapter contract:
  • capabilityProfile: what the channel can carry;
  • render(message, profile): from the semantic message to the channel's own format, with a text fallback;
  • normalizeInbound(event);
  • delivery semantics.

Everything is rendered on our side, so an agent writes one message for every channel. - Telegram first (RM-10), as doc 16 already describes (DEC-53): - people link their Telegram to Thinklio's bot through the verified deep link (doc 16 § 4.2, ADR-025); - team and space chats relay into each person's chat with the bot, or mirror a Telegram group; - an agent or account can have its own bot later, as a credential where it's assigned (doc 16 § 5.3). The webhook is per bot (doc 06 § 9). - Direct chats with an agent work in relay mode, and a space's chat can be mirrored to a Telegram group. - Files, images, voice and replies map to chat part 1's features. - Then email (Postmark, doc 06), then Slack and WhatsApp as accounts ask. - In the interface: - a message shows a small channel mark when it came from outside; - Settings › You › Channels lists your linked channels with Link and Unlink; - a space's chat says which outside chat it mirrors.

8. The API surface: every capability, every surface

The goal, as with Ripplebase: the API can do almost anything a person can.

  • One registry. platform/capabilities.ts already defines a capability once (zod) and projects it to REST, MCP and /meta. That becomes the rule: every public query and mutation people use is a capability, or is marked internal with a reason.
  • A coverage test, like security.test.ts, fails when a new public function is neither.
  • The command palette (§ 2.4), module actions (§ 6.3) and agent tools come from the same registry.
  • Coverage, in order:
  • tasks, lists and entries, pages, search;
  • spaces and members, files, chats and messages, changes and undo;
  • integrations and connections, agents, settings.
  • Keys, as standards/api-and-mcp.md § 5 sets out from Ripplebase's:
  • owners and admins make them in Settings;
  • each has a name, scopes (tasks:write, pages:read, …), an optional limit to some spaces, and an expiry;
  • a key is shown once, and only its SHA-256 fingerprint is kept;
  • last used is shown, and a key can be revoked at once;
  • each is rate-limited.

A personal token, acting as one person, is the same key limited to its maker. Keys replace the one shared INGEST_API_KEY, which lets the caller pick any account. OAuth for third-party apps comes later. - What the API never does (the standard's § 3.4), to start the list: - delete or leave the organisation; - pass on ownership; - make API keys; - change App admin; - approve an agent's spending over the organisation's threshold. - Events out: - webhooks per account, signed, with retries; - a cursor-based change feed over changes, so integrations can sync without polling every table. - Docs from the code. The API reference is generated from /meta. Doc 09 describes APIs that don't exist (R7), so it's rewritten as that generated reference plus a short guide.

9. Ripplebase, linked with separate sign-ins (DEC-36)

The two products stay separate: their own Clerk instances, deployments and accounts. An account that uses both links them. The link is optional and is turned on in either product.

  1. Settings › Organisation › Integrations › Ripplebase › Connect sends an admin to Ripplebase's consent screen.
  2. They choose which brands to share and approve.
  3. Each side then holds a scoped key for the other: Thinklio gets a Ripplebase account key (rb_live_…, library:read and runs:read, limited to those brands), and Ripplebase gets a Thinklio service key (tasks:write, spaces:read).

Either side can revoke its key, which ends the link. The link is an integration like any other (§ 6.1).

9.2 What it does

  • Brands map to spaces. The admin pairs each shared brand with a space (Couple Tools brand with Couple Tools space).
  • Content in the space. A Content tab appears in the paired space: Ripplebase outputs as a collection (§ 3.3), with Calendar by publish date as the content calendar, Board by stage, and Gallery. Opening an output peeks its summary, checks and status, with Open in Ripplebase to work on it.
  • Work in the Inbox. Ripplebase's review-needed, run-failed and delivered events become Inbox items and space activity (RM-8's first step). A review can become a Thinklio task in one click.
  • Both directions. Ripplebase can file tasks into Thinklio, such as a brief needing a decision, and show a brand's open Thinklio tasks.
  • Search finds Ripplebase outputs from ⌘K, opening them in Ripplebase.

9.3 Ripplebase is the first module

Ripplebase's side of the link is a module manifest (§ 6.3): data sources (outputs, topics, runs), actions (approve, re-run), events, and a component for the review screen. So the module system is proven on our own product before anyone else uses it.

Ripplebase needs: - an outbound event feed: signed webhooks; - the consent screen; - an MCP surface, which content-runs.md already plans.

These go to Ripplebase's session as a request once this is agreed.

9.4 Feeling like one product

  • The same kit (§ 5): switching between the products feels like moving between rooms, not buildings.
  • Linked products in the account menu takes you to the paired brand in Ripplebase, and back to the paired space.

Each product keeps its own sign-in. With Clerk sessions in both, a person signs in once per product per device, which is acceptable for now (DEC-36).

10. The order of work (DEC-51)

Andrew, 3 November: "Do in the optimal order. We want all basic features and the new UI for our first test users." So the order runs in two parts: - Steps 1 to 6 are the first test release: the new UI and every basic feature someone new needs to live in Thinklio. - Steps 7 to 11 are the platform: the API, integrations, modules, channels and the Ripplebase link.

Each step ends with something we use the next day. Already on main: notifications and email (RM-24, DEC-38 to DEC-40, DEC-47). The settings, user management, feedback and help work matching Ripplebase (DEC-48) runs alongside, in the notifications session.

# What Why here Roadmap About
1 The shell, the views and Home. Phase A (plan): the rail, top bar, side panel and ⌘K; the collection surface and one calendar (B27); Home (§ 2.1a); the space tabs and the Lists switcher Everything else is drawn in it, and B27 is a broken window RM-26, RM-25 (the palette) 3–4 sessions
2 Files. One files table, the Files library (Table, Gallery, folders, Library or Everything), the media picker, and embedding in docs, tasks, entries and messages (DEC-43) Test users bring files on day one RM-29 2 sessions
3 Chat in spaces. Chat part 2: a chat per space that uses the space's members (DEC-56), conversations on objects, and chat settings (§ 2.5) The space's Chat tab, and agents' modes per chat RM-28 2 sessions
4 The Inbox. Needs you fed by mentions, returned work, approvals and agents' suggestions; Home's brief Home's most important section RM-4 2 sessions
5 Search. One search across tasks, docs, lists, files and chats, behind the palette Finding things is basic RM-25 1 session
6 Relations and projects. Relation fields across spaces; Projects as a list whose entries gather tasks from every space (§ 3.5) How work is organised across spaces RM-27 2 sessions
— First test users
7 Capabilities and keys. The coverage test; personal and service keys; tasks, lists, docs and search as /v1 routes and MCP tools Claude sessions work in Thinklio; it can go earlier if the sessions need it sooner RM-2 2–3 sessions
8 Integrations. The catalog, per-account enablement and connections; GitHub and Notion moved onto connections Generic before more integrations come new (ADR-040 § 7.3) 2 sessions
9 Modules. Manifest v1, novansa-module-server, Couple Tools as the first (DEC-54), then components and the integration SDK Admin apps inside Thinklio new 3 sessions, then 1–2
10 Telegram. Doc 16's adapter contract, bot linking, relay and mirror (DEC-53) Chats beyond the app RM-10 2–3 sessions
11 The Ripplebase link. Consent and keys, brands to spaces, the Content list, Inbox events, Ripplebase's manifest Both products, one way of working RM-8 2 sessions here, plus Ripplebase's side

Agents and Knowledge (RM-30, RM-31) grow alongside, as their places get content (DEC-45). The roadmap's Now and Next are reordered to match this when the proposal branch merges.

11. The prototype

A clickable prototype of the shell, made with this proposal, shows: - the places in the rail; - Home as the daily briefing: the brief, Your spaces, Needs you with inline actions, My tasks across every space (opening as Table, Board or Calendar), Today, Agents at work, What changed, a pinned list, and the ⋯ menu to hide sections; - a space's six tabs, with the Lists tab's switcher over several lists and an app's data source; - Docs (pages), and Files as a media library with Table and Gallery, folders, and Library or Everything; - the collection toolbar with the segmented switcher, over tasks, lists and a Couple Tools data source, behaving identically; - a Project relation from tasks to Novansa's Projects list, with the project showing its tasks from every space; - the Month and Week calendar with an Undated tray; - the peek panel; - a chat's settings, with people's roles and agents' modes; - a component from the Couple Tools integration (its dashboard), drawn in the page with the kit; - Agents and Knowledge as places, the Help page and the on-page help panel, ⌘K, and Settings › Organisation › Integrations.

It uses the proposed kit tokens in light and dark. It's for reacting to, not a spec. The prototype is Thinklio shell prototype, a private Claude artifact owned by Andrew.

12. Questions for Andrew

Andrew answered these on 3 November: - Q-25: Table everywhere (DEC-49). - Q-28: Telegram as doc 16 describes it (DEC-53). - Q-29: the order in § 10 (DEC-51). - Q-30: Couple Tools first (DEC-54). - Q-32: decided later, after docs, a full API and security measures (DEC-55). - Q-33: a space's chat uses the space's members (DEC-56). - Q-34: Home is built and reviewed in use (DEC-52).

Q-26 was dropped, and Q-31 was answered by DEC-43.

Still open: - Q-27. Which fonts the common set uses. Deferred (DEC-50). The recommendation is Instrument Sans and DM Mono.

13. For the shared docs

These could serve more than Thinklio. They're offered to ~/dev/docs through its session, not written there from here: - A design-system doc (ui-ux/) for the one common set of fonts, themes and colours (DEC-50) and the kit's components. It would carry the interaction rules that make products feel the same: - one collection surface with the same toolbar and views (DEC-37, § 3); - segmented controls for short, exclusive choices; - the side panel for one item; - Undo before confirmation; - Settings' and Help's layout as Ripplebase has it (DEC-48). - novansa-kit's shape: whether the interface kit is part of the shared novansa-kit, or a sibling repo. - Integrations and modules (§ 6): signed, versioned manifests that are validated whole and pinnable, as Ripplebase's packs and Thinklio's modules both are. A pattern doc could come once Couple Tools' module is built (DEC-54). - Adoption: Thinklio's cells in portfolio/adoption.md for deep products and API and MCP, once phase A and step 7 land.

Cross-references