Primitives, Methodologies, Practice: Inside the Productivities Three-Layer Architecture.
Why Productivities refuses to bake a single productivity philosophy into its database, separating durable native objects, optional methodology plugins, and personal user practice behind clear architectural boundaries.
On this page
Productivity tools have a habit of pulling people in one of two directions as they grow. Some give you a completely blank sheet of generic blocks and tables, which sounds wonderfully flexible until you realise you're building task completion, recurrence, and calendar scheduling from scratch (and spending your Sunday evenings maintaining templates instead of getting anything done). Others do the opposite and hardcode a particular doctrine like GTD, Kanban, PARA, or Zettelkasten straight into their database. That feels effortless while your week happens to match the author’s habits, yet turns surprisingly awkward the moment your routine shifts or a colleague works a different way.
When we designed Productivities at Hably, we wanted solid, dependable building blocks underneath without forcing everyone into somebody else’s rulebook. That led us to a three-layer architecture built around one clear rule of thumb:
That isn't just a tidy line for the homepage; it shapes how we design every module, how plugins talk to the app, and what our automated tests block before code ever ships. Here’s how the three layers fit together.
1. The Three Layers & the Placement Test
Whenever a shiny new feature idea comes up for Productivities, it’s tempting to spin up another top-level tool and database table just because the concept has a familiar name. So when someone pitches one, how do we decide where it actually belongs? We run it through a quick placement check.
First, we ask whether the thing is durable and meaningful in its own right, and whether several unrelated workflows might rely on it having a stable identity, search entry, permissions, and lifecycle rules. If the answer’s yes, it earns a place in Layer 1 (Native Primitives). If it’s instead a particular method for coordinating objects you already have, such as sprint planning, decision logs, or priority scoring, we build it in Layer 2 (Methodology Extensions) as an optional plugin.
Everything reflecting personal preference, such as how you arrange Space layouts (Spaces being the project or life-area containers inside a Workspace), schedules, Routines, or Automation triggers, stays customisable in Layer 3 (User Practice) rather than hardening into fixed product structure. And if an idea turns out to be just another way of slicing existing data, it stays a native view rather than becoming a brand-new object type.
What this test leaves out matters every bit as much as what gets in. You won't find a monolithic “Study Suite” or rigid “Project Management Mode” baked into Productivities, because studying, researching, and shipping client projects are human habits you assemble out of reliable pieces rather than locked-in silos.
2. Layer 1: Native Primitives & Sole Mutation Authority
At Layer 1, Productivities defines its core building blocks: Tasks, Spaces, Notes, Pins, Tables, Canvases, Forms, People, Highlights, Feeds, Routines, Automations, and Calendar Events. That overlap with Layer 3 is deliberate: Layer 1 owns the durable schemas, permissions, and lifecycle rules for Spaces, Routines, Automations, and Calendar Events, while Layer 3 is how each person or team arranges, schedules, and wires those primitives day to day.
Keeping these primitives native doesn't mean leaving them bare or underpowered. Each one takes proper care of its own job while staying open about how you wire it up to anything else. Tasks handle status changes, subtasks, dependencies, and Kanban columns, while Notes look after local Markdown files alongside versioned Cloud revisions. In much the same way, Pins manage saved links, quick notes, metadata enrichment, and scheduled reading, People look after contacts and logged conversations, and Highlights keep quoted passages from articles, PDFs, EPUBs, and Notes linked back to their source.
Enforcing Sole Mutation Authority
A layered architecture only works if its fences are real. The moment a plugin service, an automation rule, or an AI agent can write straight into another feature’s database tables, business rules start drifting and breaking in subtle ways. To stop that happening, our domain ownership manifest assigns one clear owner to every group of tables across both Local SQLite and Cloud PostgreSQL, and automated static architecture checks verify that manifest on every test run.
Those checks inspect module imports and database queries across the codebase to enforce two common-sense rules: writes to a domain’s tables have to stay inside that domain’s own service boundary, and outside consumers can only talk to its public interface rather than importing internal storage helpers. They also guarantee the Plugin Capability Broker (covered in Section 4) never touches Task, Note, or Space tables directly, routing every read and update through the proper owner and stamping its plugin origin onto Workspace events.
3. Composition Over Inheritance: The Productivity Object Protocols
When more than a dozen object types need to play nicely across Search, Tags, Task links, Canvas cards, Object Menus, Plugins, workspace AI chat, and scoped agents, there’s always a temptation to invent one giant parent class backed by one catch-all database table.
Why did we steer well clear of that? Because a single parent class forces every feature to carry awkward generic baggage that muddies its real rules, while one shared table blurs who’s actually in charge of the data. Instead, Productivities uses a lightweight protocol family made up of five focused contracts:
| Protocol Piece | What It Carries | Architectural Rule |
|---|---|---|
| Object Reference | Canonical object type paired with a Workspace-scoped UUIDv7 public identity | Never exposes internal numeric database IDs, file paths, or external provider IDs. Cross-workspace contributions carry an explicit Workspace reference beside the object, and identity never substitutes for live authorisation. |
| Object Descriptor | Read-only summary with owning tool, Space placement, display title, lifecycle state, and permitted capabilities | Allows shared UI and consumers to display an object and its currently allowed actions without learning every domain’s internal schema. |
| Semantic Capabilities | Namespaced capabilities distinguishing an object’s primary Space assignment from membership across additional Spaces, and trashing from restoring or archiving | Declares what an object genuinely supports rather than flattening distinct operations into generic update or delete flags. |
| Target Anchors | Nested anchors for Note blocks, Canvas nodes and edges, Table columns, rows and cells, Form fields, and Feed items | Nested items stay anchored inside a root object so they don’t clutter top-level inventories, while Subtasks remain full Tasks with their own public identity. |
| Lifecycle Facets | Shared facets covering trash, archive, completion, and activation | Normalises common state checks, such as ensuring a trashed item only advertises restore, without hiding domain rules. |
Explicit Surface Participation
Having a tidy public contract doesn't automatically drop an object onto every screen in the app. Productivities keeps protocol readiness separate from surface participation across Search, AI discovery, Task and Canvas link targets, Object Menus, Tags, and Space Agent cards (covered in Section 5). Each domain opts into the surfaces it genuinely supports, so we can keep protocol contracts clean for release-gated types without accidentally showing half-baked entries in Search or Task links.
4. Layer 2: Methodology Extensions & Real Plugin Composition
Layer 2 is where particular ways of working live. In Productivities, methodology extensions ship as sandboxed WebAssembly plugins built against a versioned Plugin SDK and checked by the host’s Plugin Capability Broker.
Looking at five bundled plugins already in the product shows how Layer 2 stays neatly separated from Layer 1 without getting in anyone’s way:
- Sprint Planner requests read-only access to Tasks, adds a host-rendered Space Tab and a sprint panel on Tasks, and keeps sprint dates and task assignments inside its own Space-scoped storage without altering native Task records.
- Task Prioritisation also reads Tasks without modifying them, maintaining a shared priority ranking inside Space-scoped storage so a team can order active work without touching the underlying Task objects.
- Decision Log needs no Layer 1 domain permissions at all, declaring a structured table view (covering decisions, stakeholders, options weighed, and implications) inside its own plugin-scoped storage that the host validates, indexes for Space search, and renders natively.
- Log Interaction asks to read People and record interactions, adding a global Quick Action and a Person context-menu item that gather details in a host modal and delegate straight to the People domain to log the interaction and update the last-contacted date.
- New Note From Template asks to create Notes, checks at runtime whether that capability is available so it degrades gracefully if restricted, delegates template creation to the Notes domain, and asks the host to confirm and open the new Note.
Hard Guardrails Against Shadow Copies
So what stops a third-party plugin from quietly turning into a shadow database, stashing duplicate copies of your Tasks or Notes whenever an SDK endpoint doesn't quite do what it wants? We block that failure mode with both policy and hard runtime limits: host calls per run and stored value sizes are tightly capped, host-reserved storage namespaces stay locked against arbitrary writes, and plugin manifests have to declare up front whether their own state syncs optionally or stays strictly local.
Just as importantly, the Plugin SDK exposes focused domain actions rather than raw database tables. Because your Tasks, Notes, People, and Spaces belong to Layer 1, switching off or uninstalling an overlay plugin such as Sprint Planner or Task Prioritisation is completely reversible: you strip away the sprint overlay or priority list while every piece of your underlying Layer 1 work stays right where you left it. Even for standalone structured views like Decision Log, keeping their data boxed inside host-validated plugin storage ensures extensions never mutate or fragment your core records.
If you’re curious how those WebAssembly Components are signed, boxed off in utility processes, and kept away from your credentials, see Zero Ambient Authority: How We Secured the Productivities Plugin Ecosystem.
5. Layer 3: User Practice & Connective Intelligence
Layer 3 belongs completely to the person or team doing the work. Two colleagues can install the exact same plugins and rely on the exact same building blocks while shaping wildly different habits, and you can build a fast, calm setup in Productivities without installing a single Layer 2 plugin if you don't want one.
Around the app, Layer 3 shows up as personal arrangement over Layers 1 and 2. Inside Spaces, you group related work together and assemble custom 12-column dashboards (mixing briefs, metrics, charts, and Note excerpts) alongside whichever Space Tab plugins you've switched on. Across the rest of your week, you choose what lands on your Planner and Calendar, which recurring checks belong in Routines, and which Automations wire triggers like Task or Routine completion to actions elsewhere in the workspace.
Putting It Together: Why “Client Delivery” Isn’t a Single Tool
A relatable way to see all three layers pull together is to picture how Productivities handles everyday client work:
- At Layer 1, every durable record stays with its natural owner: People keeps your client contacts and logged calls, Notes holds meeting briefs and proposals, Tasks tracks deliverables and due dates, Tables captures structured project logs, and a client Space pulls all of it into one tidy home.
- At Layer 2, helpful workflows such as a Decision Log, Task Prioritisation, or a custom client overview Space Tab sit inside optional plugins that bring cross-object structure into the Space without altering your underlying records.
- At Layer 3, your real working rhythm is how you arrange those pieces from week to week: pinning key project metrics and Note excerpts onto the Space dashboard, setting weekly check-ins inside Routines, triggering follow-up Tasks with Automations, and bouncing ideas off a scoped Space Agent grounded in that single client project.
Where Connective AI Fits Across All Three Layers
Productivities keeps broad workspace chat distinct from focused agent work: the built-in Personal Agent answers workspace-wide questions, while named, scoped Space Agents stay inside clear boundaries such as chosen Spaces or project folders. Both act as connective intelligence across all three layers rather than inventing a fourth database underneath. They call the exact same Layer 1 domain services, understand active Layer 2 plugin tools, and help you tune your Layer 3 practice through previewable, approval-gated edits. We unpack the durable run kernel, multi-agent delegation, and memory boundaries behind that runtime in Deterministic at the Edges: Inside the Productivities Multi-Agent Architecture.
Closing Takeaways
Keeping Productivities calm on the surface while juggling Tasks, Notes, Pins, Tables, Canvases, Feeds, People, Automations, Plugins, and Agents underneath comes down to four grounded habits:
- Keep durable user material in Layer 1 rather than inside extensions, so removing a plugin never costs anyone a single Note or Task.
- Share lightweight contracts, descriptors, nested anchors, and explicit surface opt-ins rather than squeezing every feature into one catch-all table.
- Police domain ownership mechanically with automated architecture checks that catch cross-domain writes and sneaky private imports early.
- Keep methodologies optional and daily practice personal, letting plugins offer helpful structure while you decide how much ceremony your week actually needs.
That balance between dependable primitives underneath, reversible methods in the middle, and unforced personal habits on top lets Productivities grow in capability without ever boxing people into somebody else’s workflow.