Genesis

Features

Everything Genesis does, from features.ts.

169 features
Live
Live
Live
Building
Live
Building
Building
Building
Live
Live
Live
Building
Live
Live
Building
Beta
Building
Building
Building
Building
Building
Building
Building
Building
Building
Showing 1–25 of 169
Rows:
1 / 7

Roadmap

What's coming, in order. No dates.
Now37
Connect an outside accountBuilding@marktiderman/genesis-connect: encrypted secrets with key versioning (AES-256-GCM, HKDF per purpose, row-bound associated data, a keyring with needsRotation and reseal, legacy v1 still opening) and an OAuth connector kit on Web Request and Response (authorization code with PKCE, a signed short-lived state, the verifier in an HttpOnly cookie, a pinned callback origin with a safe return on a shared domain, the granted-scope check, the refresh token sealed and handed to the app's store, cached access tokens, revoke, a shared grant so instances refresh one at a time from the current token with the access token shared sealed), Google and Todoist built in (Todoist's rotating refresh tokens, comma scopes, RFC 7009 revoke with Basic auth) and any provider as a plain object; verifyWebhookSignature checks a delivery's HMAC on its raw body in constant time.mark · server · developer
Calendar read layerBuilding@marktiderman/genesis-calendar: what is on these people's calendars, merged. CalendarEvent (core/dates' EventOccurrence plus its source); syncGoogleCalendar (a full read of a window with Google expanding series, then incremental with the sync token, changes outside the window and cancellations reported as removed, 410 read in full again, typed errors); readIcs (RRULE through core/dates' expandRecurrence, EXDATE, RDATE, RECURRENCE-ID moved and cancelled, IANA, Windows and vendor-prefixed TZIDs, byte, event and occurrence caps reported as truncated, rules core/dates refuses shown as their first occurrence) and writeIcs (escaped, folded at 75 octets); mergeEvents (one event per UID and normalised start across people's copies, details decided per viewer from only the copies they may see); marks (star, hide, hide a series); toCalendarEvent for EventCalendar; fetchFeed on /fetch through genesis-media's guarded fetch (an optional peer). No storage, no OAuth, no React.mark · web, server · developer
Task sync layerBuilding@marktiderman/genesis-tasks: a person's tasks kept equal with an outside list, both ways. TaskFields (title, notes, due day, done; priority, labels, due times and recurrence stay the list's); mergeTask (three-way, field by field, against the last agreed state; a field both sides changed goes to the later change or prefer; labels as a set and priority when asked for); matchesScope (lists, labels any/all, assignee); Todoist's adapter: syncTodoist (full, then incremental with the sync token, fixed due times on their zone's clock), getTodoistTask, todoistCommand builders and runTodoistCommands (100 per request, uuids Todoist runs once, temp ids mapped across batches, a result per command, repeating tasks' dates left to Todoist), readTodoistWebhook (HMAC on the raw body), typed errors with retryability. No storage, no OAuth (genesis-connect's todoistProvider), no React.mark · server · developer
Agent rules of engagementBuildingHow agent sessions and the owner work together: who owns what, how work is claimed, verified, reviewed and shipped through staging batches, each rule marked agreed, reported, practice or proposed (docs/agents/RULES.md); the ones a script can check run as genesis agents --rules.mark · cli · developer
Content packsBuildingdefineContentPack declares versioned data that fills installed blocks: sections keyed by block id, each checked by the validator its block registers (contributes.contentSection), plus labels; Genesis checks the shape, stable keys and the blocks it needs, and contentPackProblems also refuses a pack whose blocks aren't installed. The older typed sections still work, deprecated. Zod-free, in /blocks. An app's installer copies a pack into a tenant's editable rows with its source.mark · web, native, server · developer
Feature gateBuildingOne answer to "is this feature on here?": featureOn(registry, context, id) checks status, platform, the tenant's switch, release flags and last entitlement, in that order, and returns { on, reason, unlock }. The same function runs in browsers, phones, Node and edge functions (/gate, no zod); React reads a server-made snapshot through FeatureGateProvider, useFeature and FeatureGate (/gate/react); server code refuses with requireFeature and FeatureOff.mark · web, native, server · developer, agent
SettingsBuildingTyped settings for every Genesis package: defineSettings(namespace, keys) declares each key (type, a default per preset, scope, build or runtime, requires, bounds, the secret it needs by name), settingsCatalogue merges them, and resolveSettings(catalogue, layers) resolves default → preset → genesis.config.json → the app's genesis_settings table → tenant → person, a lock stopping every later layer, with where each value came from and what was wrong. Tenant admins set their tenant's values and each person their own, in the app's database; watchAppSettings re-resolves over Realtime when any layer changes. Switches feed the feature gate (withSettings); genesis.config.json gets preset and settings, checked by the doctor.mark · web, native, server, cli · developer, admin, agent
Registry in the app's databaseBuildingA Genesis migration copies features.ts and flags.json into the app's own database on every deploy (features, feature_flags, sync_feature_registry; never backwards), adds feature_entitlements and per-tenant flag values, SQL feature_on() for row security (status and entitlement), and one call that returns a tenant's switches, entitlements and flag values for the gate's snapshot.mark · server, cli · developer
Blocks (defineBlock)BuildingdefineBlock declares a block by its FeatureId with what it requires and contributes (nav entries, Settings rows, routes, slot fills, migrations, skills, privacy), and resolveBlocks checks requirements and cycles with the registry's own checks, refuses two blocks contributing the same thing, and merges the enabled blocks' contributions for the shell, the nav tree and Settings. GenesisNativeApp takes blocks; the updates and account blocks are declared with it.mark · web, native, server · developer, agent
Sign in with Apple token revocationBuildingThe server step App Review requires when an app offers Sign in with Apple and in-app account deletion: the genesis-apple-revoke Edge Function exchanges the sign-in's authorizationCode for Apple's refresh token and keeps it in a private table only its service-role functions reach; deleting the login (any way) queues the token in the same transaction, and the function revokes it at Apple's /auth/revoke, retrying with backoff. Deletion never waits for Apple.mark · native, web · developer
One config filePlannedOne genesis.config.json per app: the Genesis version, targets (web, native, supabase), deep-link hosts and paths, the features registry and doctor settings, edited by commands rather than by hand.mark · cli · developer, agent
ChatBuilding@marktiderman/genesis-chat, in the app's own Supabase (the genesis_chat schema): conversations of kinds the app registers (direct, group, its own such as a cohort or a support ticket) with start and observer checks the app writes, members with roles and read state (last_read_seq), messages numbered per conversation with an idempotent client id, replies, one level of threads, topics, mentions, reactions, edits, tombstoned deletes and internal notes for observers; photos, files, voice notes with waveforms and videos in a private bucket; live hints on private Realtime topics with typing and recording signals; pins, saved messages and reports; an outbox (push, transcripts, storage cleanup) worked by a server runner. A headless core, React hooks, and web and native renderers on Genesis UI.mark · web, native · developer, end user
Chat dockBuildingConversations that stay open while you move around the app, in genesis-chat/web: up to three windows bottom-right on a wide screen (each a full thread and composer, minimized to a bar with its unread count, or closed; a fourth replaces the one used longest ago), one side sheet with a switcher and an unread bubble on a narrow one, and expand to the zone's Messages page. Apps open anything else in it (a help desk messenger) as a panel. ChatDockProvider, useChatDock and ChatDock, mounted in AppShell's dock slot.mark · web · developer, end user
Push and notification preferencesBuildingThe native push block, a defineBlock block for GenesisNativeApp's blocks (a Settings row for notification settings; no boot step: the permission is first read once the app is up, never behind the splash): it registers this device's Expo push token for whoever signs in (once permission is granted) and forgets it on sign-out, account switch and deletion, makes the Android channels (one per category, private on the lock screen), decides what shows while the app is open, routes a tap (the one that launched the app too) through the deep-link normalizer and the held link, and keeps the badge. Permission is asked only through a soft pre-prompt the app offers at a moment of value, never at launch, with a cooldown after Not now. NotificationSettings (on SettingsPage) edits per-category switches, quiet hours with a time zone, and privacy previews; each part is a slot and a hook.mark · native · developer, end user
NotificationsBuilding@marktiderman/genesis-notifications: one notifier for every domain. A domain says who and what (notify() over the security-definer genesis_notify, with an idempotency key per recipient, thread and collapse keys, a badge and a tenant); the notifier decides channel and timing: the in-app feed (which is also the outbox), Expo push and email, preferences by category and channel with tenant defaults and critical types always on, quiet hours across daylight saving, delay-then-skip-if-read for email, dedupe, retries on one shared runner (claim with SKIP LOCKED, jittered backoff, deferrals), receipts and dead-token pruning, erasure of people with or without a login, and a short delivery log. defineNotifications registers the types, the device action categories (Reply, Mark as read) and the Android channels. Hooks for React and React Native, a web bell, feed, preferences matrix and admin views (delivery log, suppression list, send a test) on genesis-ui, a native feed on genesis-ui-native's NotificationsPage. Push ownership moves here from migration 0005, which it adopts in place.mark · web, native, server · developer, end user, admin
Notification emailBuildingThe notifier's email channel on Resend: one app key, a sender identity per tenant (the shared domain with the tenant's name and reply-to, or its own domain once verified: an ownership TXT record with the tenant's own token, SPF, DKIM and DMARC, one tenant per domain, never the app's shared domain), transactional and other mail from separate domains, React Email templates on a brand layout, each email rendered once at first claim and stored so retries are byte-identical under one idempotency key (a 409 invalid_idempotent_request fails loudly), requests paced under Resend's rate limit, RFC 8058 one-click unsubscribe for the sending tenant on everything that isn't transactional, secret links built at send time with resolveSecretLink, and bounce and complaint webhooks feeding a suppression list kept by hash.mark · server · developer, admin
ConsentPlannedCookie and tracking consent, terms acceptance and privacy choices, remembered per user; starts small with consent per AI vendor, which the AI core checks first (App Store 5.1.2(i)).mark · web, native · end user
Person days and time zonesBuilding@marktiderman/genesis-core/dates: calendar days on the right clock. personDay(person) is today in the person's saved zone, else the device's, else UTC; dayIn, wallClock, startOfDayIn and dayRangeIn (23- and 25-hour days, skipped midnights) for server code; addDays, daysBetween, startOfWeek and isDay for YYYY-MM-DD arithmetic; month, quarter and 1-4 week ranges (monthRange, weeksRange, monthGridRange, rangeIn) for calendars; expandRecurrence for RRULE series (RFC 5545 subset, wall time kept across daylight saving). No dependencies.mark · web, native, server · developer
Background jobsBuildinggenesis_jobs in genesis-supabase: one queue for background work (enqueue with an idempotency key, claim with SKIP LOCKED and leases, retry with jittered backoff, redeliveries, lease_expired) and named schedules that call the app's one job route through pg_cron and pg_net with the URL and bearer secret read from Vault; runJobs, enqueueJob and createJobsHandler (constant-time secret check with rotation) on the server.mark · server · developer
Continue on the webBuildingA native app opens a page of the web app signed in as the same person: the server mints a single-use, 60-second link for the bearer's own account (digest stored, token in the fragment); the page claims it for a 30-second continue nonce and asks before signing in unless that browser is already them; Supabase Auth's magic-link token is minted only on Continue; Cancel signs anyone else out; the app's sign-out ends exactly the web sessions it handed off.mark · web, native, server · person
Tenant feature switchesBuildingtenant_features in genesis-supabase: a tenant's admins turn a shipped feature off or back on for their tenant with a reason, every change kept (who, when, why); members read the ids that are off and hide them; private.tenant_feature_on gates SQL. Who is an admin or a member is the app's hook, never a table this package names. Exposure only, never authorization.mark · web, native, server · developer
Entitlements and paywallPlannedPaid access per feature: a useEntitlement gate, a paywall sheet and store or Stripe purchases behind a seam.mark · web, native, server · developer, end user
Observability in corePlannedcore/errors.ts grows into a platform-neutral observability contract (errors, breadcrumbs, typed events, timings and spans, scrubbing) with web and server sinks; native keeps its React wiring (PACKAGE-STRATEGY M1).mark · web, native, server · developer
AI coreBuildinggenesis-ai: one server-side pipeline for every AI call (consent, feature gate, budget, server-side loading, safety routing, guardrails, model call, usage row, trace), with model aliases, versioned tasks and wrapped processors; design in docs/AI.md (P0 spike, P1 core).mark · server · developer
genesis addBuildingAdds a block to an app from what its Genesis package declares (package.json genesis.blocks, or ./blocks defineBlock declarations): installs its packages at the pinned release, copies its migrations in as new timestamped files with a checksum header, and its pgTAP tests, Edge Functions, skills and AGENTS.md fragment; writes Expo Router stubs for missing routes, adds its registry entry (or prints it), runs features build and prints the manual steps. Never overwrites a file the app has; --dry-run and --yes.mark · cli · developer, agent
Local packagesBuildingAn app's own workspace packages, listed in genesis.config.json localPackages, treated like Genesis packages: they declare blocks and migrations that genesis add and genesis migrate copy, every doctor rule scans them, and the packages pack holds each to a package's standard (no app imports, declared dependencies, tested and never-edited migrations, registered in features.ts, and a changeset or version bump with every change).mark · cli · developer, agent
App overlaysBuildingA consumer app's marked local copy of a published Genesis package (a local package under the package's own name, with a genesis.overlay marker naming the upstream release, the day, an owner and a reason), so the app changes and ships it the same day and promotes the change upstream. The doctor validates the marker, errors on an unmarked copy, warns as it ages, and treats a marked overlay as the package it shadows.mark · cli · developer, agent
genesis migrateBuildingCompares the migrations an app's blocks ship with its copies: copies new ones in as new files timestamped after every existing migration, reports a copy edited in the app or a package migration changed upstream (checksum drift) and never rewrites either; --forward writes a forward migration stub instead.mark · cli · developer, agent
genesis fixBuildingEvery doctor finding declares its fix: automatic, guided or manual. genesis fix plans one (the files with the hash of the text each expects, the allowlisted commands, the secrets by name, what is left to a person, and a hash of the whole plan), applies it with --yes (or --expect <hash>: a stale plan is refused, and a file that changed since it was planned stops every write), then re-runs the doctor for its rules. The first fixes wrap the codemods, genesis agents, introspect, migrate and upgrade (a pull request, never merged); packages add their own with genesis.doctor.fixes. The genesis-behind rule reports how far the installed release is behind and any advisory on it, cached for a day and never failing offline.mark · cli · developer, agent
genesis mcpBuildingThe doctor, the settings and fix plans as MCP tools over stdio for any agent session in the app. The agent reads findings, rule explanations, the settings catalogue and values (secrets by name as set, missing or unknown), the upgrade status and the catalog, and plans fixes and settings changes as hashed plans that write nothing. The one write tool, fix_apply, refuses a stale hash and applies only after the person accepts an MCP elicitation showing the plan; without elicitation it returns the genesis fix command, and a fix that needs a secret is left to the person (genesis setup --step <id> when it has a step, else genesis fix <id>); setup_steps lists the guided steps. genesis agents --mcp writes the .mcp.json entry.mark · cli · developer, agent
genesis setupBuildingThe setup wizard on localhost, on the doctor's engine: genesis setup opens the app's findings with their fixes, its settings, secrets by name and upgrades (the shared Settings screen) plus its guided setup steps; genesis init with no name makes a new app from App, Preset, Packages and Review. Every write is a fix plan the person reads and applies with its hash; a secret is typed into the page, sent once to the developer's signed-in CLI on stdin, and never shown, logged or kept. The server binds 127.0.0.1 only, checks Host and Origin, and its session token never appears in a URL or a command line (the link carries a one-time launch code). --yes runs it headless: every automatic fix, and the dormant checklist; without --yes and without a terminal it only prints the plans.mark · cli · developer
genesis upgradeBuildingMoves every @marktiderman/genesis* dependency to one release's versions.json with the genesis-upgrade workflow's own bump code, runs codemods only for a package crossing a declared breaking version, refreshes the files Genesis owns in the app (templates, functions, skills, tests) with a three-way decision recorded in genesis.lock.json, replaces AGENTS.md fragments, reports new package migrations, runs the doctor, and with --pr opens a pull request.mark · cli · developer, agent
genesis init --template nativeBuildingA new Expo app from the Genesis RN starter outside the monorepo: the files an app owns, renamed (name, slug, scheme, bundle id), workspace: deps pinned to the published release, plain Metro config and the pnpm settings Metro needs, the eas, maestro and ci templates, and a genesis.lock.json recording its blocks and owned files.mark · cli, native · developer, agent
Support over emailBuildingEmail is a support ticket channel (ADR 0011): mail to a support address or a ticket's reply address opens or continues the ticket, staff replies (in the app or support-chat) go back threaded through Resend, and one thread holds app and email. Reply by email: support's notification emails carry each recipient's own signed Reply-To, and the inbound route posts the stripped reply as that login (support_email_reply, migration 0027).mark · web, server · person, admin
Inbound emailBuildingReceiving email through Resend: one signed webhook, the full message fetched, and routes that take it in order (support tickets, an agent's inbox, onboarding, forwarding); SMS will route the same way.mark · server · developer
Product eventsBuildingThe app's own product events in Postgres (ADR 0010): genesis_track_events for a signed-in person in their own tenants, server tracking, feature usage per tenant and retention, with createEventTracker on web and server and createEventsSink on native.mark · web, native, server · developer, admin
Integrations on the siteBuildingThe site's /integrations page: every outside service Genesis works with (available or planned), grouped, each linked to the feature that holds its code; Genesis owns the contract and vendors plug in behind it.mark · web · developer
Next12
Sheet mode for listsBuildingResourceView's `type="sheet"` (or `sheet` among a view's types): a view's rows as a spreadsheet on SheetGrid, the grid Genesis Data's sheet uses. Only the view's writable fields are editable; each row goes through the view's guards and the screen's can, and a refused cell is read-only with the reason on it. Every change goes through the resource's own update, row by row, so the provider's rules and a versioned resource's check apply; a cell that failed is marked with its reason. Arrows, Tab, Enter and Escape move and edit, a paste fills a block and skips read-only cells, and the last change can be undone. Big pastes, imports and exports as jobs are still to come.mark · web · developer
App environments and on-demand previewsPlannedAn environments block in genesis.config.json (production, previews: on-demand | every-pr | off, the preview label and branch prefix) and genesis previews should-build, which Vercel's ignore-build script, EAS and Supabase branching read, replacing today's GENESIS_PREVIEW* environment variables with the same names and defaults.mark · cli · developer
Blocks drive the web shellPlannedOn the web, as on native: resolveBlocks filtered by the gate's snapshot builds AppShell's navigation, the Settings page and a route guard, so turning a feature off removes it everywhere at once.mark · web · developer
Status from evidenceBuildingA feature's status follows evidence (merged PRs and changesets tagged with it, flag rollout): check warns when tagged work shipped but the feature is still planned, and later a bot proposes status changes as PRs.mark · cli · developer, agent
Deep linksPlannedOne list of link hosts and paths that generates the web association files and the native path map, with unknown paths falling back home and links held until sign-in.mark · web, native · developer
Copy catalog and translationsPlannedDefault strings for every Genesis pattern in one catalog both platforms read, ready for translation and right-to-left layouts.mark · web, native · developer
Commands from navigationPlannedActions declared once next to navigation destinations (ADR 0003's defineNavigation) and read by the command palette, shortcuts, menus and later AI tools.mark · web, native · developer
Audit logPlannedA general, retention-aware audit log of who changed what, generalised from Genesis Data's audit trail.mark · server, web · developer, admin
InvitesPlannedInvite links, join codes and a waitlist or gated beta, checked on the server.mark · web, native, server · developer, end user
View as userPlannedAn admin views the app as one user, verified on the server, with a banner and an audit entry.mark · web, native, server · developer
AI control planePlannedgenesis-ai/admin: usage and cost by tenant, task and model, budgets, kill switches, model rollouts by flag with rollback, tenant guidance, BYOK keys and consent records (AI.md P2).mark · web · developer, admin
Seed dataPlannedGenerated demo and test data for an app's tables, for local stacks and preview branches.mark · cli, server · developer
Later11
Feature hierarchyPlannedEpics and sub-features, and a rollup of several repos' registries.mark · cli, web · developer
Flow stepsPlannedMore kinds of step in a form: content screens (message, media, summary), timed experiences (a breathing exercise), host steps that render any app screen inside a flow, and a paged layout for several questions per screen.mark · web, native · developer
Percentage rollouts for flagsPlannedFlags gain stable percentage bucketing per tenant and person, for gradual releases and AI model rollouts.mark · web, native, server · developer
One rate limiterPlannedForms' rate limiter moved to a shared module that chat, AI budgets and any endpoint reuse.mark · server · developer
SearchPlannedChat's permission-aware full-text search generalised to any resource, then semantic search through Supabase automatic embeddings.mark · web, native, server · developer, end user
AI drafts for coachesPlannedCoaching track C1: check-in review, reply, pre-session brief and session-summary drafts in a coach review queue; nothing reaches a client unreviewed.mark · web, native, server · developer, end user
Progress that stacksPlannedCoaching track C2: a weekly review over goals, tasks, metrics and check-ins that proposes next week's changes as drafts, with next agendas carrying open items and weekly roll-ups.mark · web, native, server · developer, end user
Person memoryPlannedCoaching track C2: what the AI knows about a person as an explicit record they can see, edit, export and turn off, with review states, provenance, supersession and nightly consolidation.mark · web, native, server · developer, end user
AI guidance for clientsPlannedCoaching track C3: a bounded daily or weekly brief and an ask over the client's own data, with mandatory safety routing, health-claims rules and conversation summaries to the coach; waits for a legal read.mark · web, native, server · end user
Proactive check-insPlannedCoaching track C4: event-triggered messages (missed sessions, an adherence drop, a goal date approaching), capped per client with quiet hours, through notifications.mark · server, native · end user
Agent-operable appsPlannedTools, commands, search and an MCP server generated from the resource descriptions, actions and navigation an app already declares, run as the person under RLS; the AI north star in docs/AI.md.mark · server · developer, agent

On the README

Design tokens and brands
Bring your brand once; every component follows it.
ResourcePage
A working list, detail and edit page from a few lines of config.
Genesis Data
A spreadsheet over your own database, as the signed-in user.
Forms engine
Forms as data: logic, validation and a server check that can't be tampered with.

Design system

UI elements
Accessible, themeable components you don't have to hand-roll.
Page layouts
Pages that look consistent without a designer on every screen.
AppShell navigation
One navigation tree drives the sidebar, mobile nav and command palette.
React Native components
The same components on iOS and Android.
Optional native modulesBeta
Native lists, images, motion, glass and symbols when the app has them.

Data

Data views
Tables, cards, boards and filters that share one set of conventions.
DataProvider and hooks
One data contract for every backend, with hooks for lists, records and forms.
Supabase provider
Supabase under row-level security, with honest write results.
Query keysBeta
Invalidation that never misses, and no data across people.
Switchboard
Move a resource between backends without a rewrite.

Forms

Form renderer
Beautiful, accessible forms, one question at a time or all at once.
Form builder
Build forms visually, with logic, and see problems as you go.
Form destinations
Send every response to email, Google Sheets or your own webhook.
Forms on nativeBeta
The same forms, one question at a time, native on iOS and Android.

Tooling

genesis doctor
Your app stays on the design system, checked on every build.
Chrome extension kit
Chrome extensions with the same components and tests as your app.