Skip to content

Shared platform

The shared platform is what Connect and Time and Attendance both run on. It covers how events leave, how packages run, where configuration lives and how you reach the API. Learn it once and it applies to both engines (architecture).

PartWhat it doesPage
Outbox and sinksEvents are stored first. Then they are sent to each sink in stored order, at least once. They go as signed webhooks, or to a receiver in the same program.Sinks and webhooks
External idsA person’s ids in other systems. Each sink carries the one its receiver knows.External ids
Packages and LuaOne sandboxed Luau runtime runs protocol packages and policy packages. Scenarios work as tests.Packages and Lua
Settings and policiesConfiguration is kept in the database and applied on every instance. Policies are set per person.Settings and policies
EnvironmentsVars, secrets, and moving the setup between clusters.Environments, vars and secrets
StorePostgres, shared by every instance. It is the only service an instance needs.Operations
Admin APIAuthentication, API tokens and the audit trail.Admin API
Running itOne server program, hourd. You deploy it as containers, a systemd service or a Windows service.Deploy, operations

Time and Attendance keeps its store in the same database as Connect. It receives punches through an in-process sink. It sends its own events out the same way Connect does.