maludb-os-integration
A Claude Code plugin with three skills — os-integration, os-adopt and os-install — for preparing an application to be
installed beside the MaluDB Business OS on a tenant's server — as one of the applications we
provide, at its own DNS name, reachable by people through the kernel's single sign-on and by the
kernel's AI agents through MCP.
The Business OS is a kernel (decided 2026-09-22): it manages the agents, the super-admins
who administer them, the company's structure and estate, and sign-on — and runs no business
application. Every business application (HR first) is a separate application on this stack,
built with htmx-php-builder and fitted to the kernel with this plugin. The design the plugin
implements is Business OS — Kernel and Integration Design (2026-09-22), kept as
docs/business-os-integration.md in the platform repository.
It answers five questions for Claude Code while it works on such an application:
- How are memories expected to be stored? Record memory in the application's own
PostgreSQL 17 database behind
mcp_* visibility views; activity memory as an append-only
activity_log written through one log_activity() funnel and shipped to the tenant's one
MaluDB memory as activity episodes. → skills/os-integration/references/memory.md
- How must MCP servers and APIs cover the application? A records server and an activity
server the application runs; one named tool per recurring question plus one guarded search;
an action manifest for every button, executed by the platform's actions server against the
application's JSON-mode handlers; a token API for outside systems.
→
references/mcp-and-api.md
- How does a person get in, and how does the app know who exists? No password and no login
form: a 60-second single-use hand-off token from the kernel's launcher opens the app's own
session; the app mirrors the kernel's directory with the kernel's ids and keeps it fresh from
a change feed; HR alone changes the directory, through the directory API, as the acting
person; the command bar runs the app's expert in the kernel. →
references/sign-on-and-directory.md
- How do the kernel's agents expect to interface? The tenant's run token honoured with
shared keys, tool grants that fail closed, approvals that pause for agents, the prompt ledger,
skills assigned at application scope, the shipped agents (the expert first), and the
maludb-os.json registration the installation agent reads. → references/agents.md, references/registration.md
- Which tables does it use? (0.7.0, 2026-10-05) The estate's. Every application has its own database, but the
estate has one data model: before any
CREATE TABLE the sibling applications' schemas are surveyed; data another
application owns is read through the kernel, never copied; a shared concept (attachments, notes, notifications,
billing documents, …) takes the canonical definition verbatim, extended only by appending; a new table is the last
resort and becomes canonical. The definition always lives in the application's own migrations, so the installer
creates it whichever applications that installation holds. → references/shared-schema.md (with the catalogue)
The references are written from the platform's code as of 2026-09-21, revised to the kernel
design of 2026-09-22, and say plainly which kernel-side pieces are still owed (build-plan
phase 7) so an application is built to the contract and nothing is faked in the meantime.
The three skills (0.4.0, 2026-09-27)