Skip to content

Project status

Status as of September 2026: MatterData is an engine MVP under active development. It can compile and serve substantial fixture applications, but it is not ready for production tenants.

The six examples below run in the engine’s route and role tests, including anonymous readers. The tests also follow their rendered row links. They demonstrate the listed journeys; they are not production application templates.

Example directory in dsl/examples/ Demonstrated journey Remaining limit
hall-booking Staff and board retire rooms and equipment, open the archive, and restore them. The overlap refusal is one message above the form, not under the start time or the room. See the unfinished work.
treasurer The Members menu reaches the member form, where a treasurer can edit bank details. Dues move to Paid through a button; recording payments does not move that state automatically.
shift-roster Open shifts count confirmed assignments; waitlisted and cancelled assignments do not fill places. The capacity refusal is one message above the form, not under the status. See the unfinished work.
repair-tracker The team opens tickets and their history; an owner reads a ticket through its pickup link. The CSV seed loader refuses versioned tables. Its deterministic test tickets include initial history versions.
district-club Members see teams on the dashboard; managers open the Teams listing and its New team button. Club and gazette keep separate tables.
district-gazette One login holds club manager and gazette editor roles in a shared session. Published articles are public. The CSV seed loader derives the article addresses, but this example ships no seed: its tests write their own articles.

Hall booking, treasury, shift roster and district club ship seed/*.csv files. Load them with install -seed. Repair tracker and district gazette have deterministic engine test fixtures instead. Their pickup tokens and article addresses are demonstration data. Hall booking refuses a confirmed booking that overlaps another confirmed booking of the same room or equipment. Shift roster refuses a confirmed assignment when the shift has the volunteers it needs. Both are table check rules that read other rows, so they hold for every writer. See Read the other rows of a key.

  • matterdata deploy: it applies the changed sources of an installed application to a tenant that a running serve is serving. The server checks the plan on a copy, pauses only that tenant, and replaces the file. It has the refusals and flags of matterdata upgrade, a -preview that applies nothing, and a pending request that -cancel withdraws. See Deploy a changed app to a running server.
  • production parser, semantic checks, canonical model, and generated JSON Schema.
  • generated SQLite DDL, schema introspection, migration differ, and destructive-change guard.
  • tenant resolution, authentication, sessions, lockout, and default-deny authorization.
  • server-rendered navigation, reports, lists, details, forms, statistics, notes, Markdown, and read-only matrices. A menu of five links or fewer is one row; a larger one is a menu per nav group that opens on pointer or keyboard, and a full-screen menu below 48rem. Neither needs JavaScript. See Navigation.
  • typed validation, transactional insert, update, delete, and lifecycle transitions.
  • form fields that the browser improves and that work without JavaScript: show_when: hides a field, suggest: offers an end time, add_via: creates a missing option in a dialog, and quick_picks: puts a value such as now into a field with one press. See Regions.
  • app-wide scopes and scoped routes with up to three row parameters.
  • sandboxed before/after and form-save hooks.
  • re-encoded image uploads with authorized blob delivery and per-tenant quota accounting.
  • the file column for PDFs and photographs of documents. The engine reads the type from the bytes, stores a PDF as it arrived, re-encodes a photograph, and serves every file as a download only. See file.
  • the editable sheet region. With JavaScript it is an editing grid: range selection, copy and paste against Excel, undo, fill, and one save that changes, removes, and creates rows in one transaction (actions: save, add, delete). Without JavaScript, and on a phone, it is a read-only list whose rows link to the form named by row ->. See Regions.
  • icons on menu entries, buttons, row actions and transitions, from a closed set of 98. The sheet’s toolbar draws its own. See Icons.
  • CSV export and recurring ICS calendar subscriptions.
  • the organization’s administration page at /matterdata: create a login, disable and enable one, set a new password, end every session, and give its application roles and the engine’s administration roles (administrator, login_manager, auditor). Each tab shows only for a login whose engine roles open it.
  • groups at /matterdata/groups: a group holds roles in several applications and engine roles, and its members hold them on their next request. Groups do not nest.
  • the job log at /matterdata/jobs, which shows every scheduled occurrence and marks one due. The page executes nothing itself.
  • the usage page at /matterdata/usage: records per table, the database file’s size, the bytes of the images records still hold against the storage quota, replaced images that the nightly job has not yet removed, live sessions, the last sign-in, and how many audit records of each class the organization holds. The quota is shown and not changed there.
  • the audit log at /matterdata/audit: every recorded event, filtered by class, login, and date. Opening the page is itself a recorded event, because the log names who read which records and an administrator who could browse it invisibly would be the one person whose reading leaves no trace.
  • the application list at /matterdata/apps: the name, the address, the version, the model schema, the checksum, and when each one was installed. It also names an application whose stored model the engine could not read, with the reason. The page is read-only; installing and rolling back belong to the deploy command.
  • an organization keeps serving when one of its applications cannot be read. The other applications answer as usual, and so do the login page and the administration page. The broken one answers 503 at its own addresses, and only a login with an engine role that opens the Apps tab is told why, because the reason names tables. An organization with no application at all opens too, which is what one looks like before its first application is installed.
  • retention on a table, enforced nightly in batches of 1,000 records, with the removal of images that no record refers to any more.
  • versioned columns. A versioned column keeps a version at every save, up to 20 per record by default. A versions region lists them, compares two of them line by line, and restores one through the page’s own form. See Keep the history of a column.
  • a chart region. It draws one total per group of a table’s rows as columns, bars or a line, as SVG made on the server, with the same numbers in a table behind it. A page holds up to 4 charts. See Show a chart on a dashboard and chart.
  • a compare region. It shows two text columns of the page’s record as a line diff, such as a pending revision against the published text. See compare.
  • the nightly reset of a demonstration organization to a stored template, from the administration page or from install -reset-nightly.
  • per-application and per-page time zones, with a reader-selected time zone for a page that declares timezone: user.
  • several applications in one organization. Each one is served under its own first path segment, which mount: declares and which defaults to the application’s name. One application can take the organization’s root with mount: /. A table is stored as <application>__<table>, so two applications can both declare events. See App mount.
  • one login with roles per application. A login can hold several roles in one application, and is admitted wherever one of them is. authenticated admits a login that holds at least one role in this application. A login with no role here is anonymous here, and is still named in the audit trail. See An organization, its applications and one login.
  • rights. A right names a set of access rules once, and a page, region, note or transition names the right beside roles. The compiler writes the rules out where the right is named. The administration does not show rights yet. See Access rules and rights.
  • install against an organization that already exists adds an application to it, and can give an existing login a role in the new application. See Add a second application to an organization.
  • the list of applications at the organization’s root, which redirects when there is only one.
  • workflow tests. matterdata test <app-dir> runs the tests/*.mtdtest files of an application as its users, through the engine’s own handler, against a fresh tenant for each test, and checks the stored rows. Eleven of the thirteen example applications carry suites. See Workflow tests and Test a workflow of your app.
  • four compiling fixture apps: club, newspaper, school, and calendar.

Administrators can assign several roles per application with checkboxes and create copyable invitation links. Recipients choose their own password through a single-use link valid for 7 days. See Manage logins.

  • parts of the grouped report. A grouped report is one row per group, with a totals row and date buckets; see Grouped report. These are not built:

    • a link from a group to a row page. row -> and row_action are compile errors on a grouped report.
    • a condition on a total, which is a HAVING. filter: and search: name columns of the table and select rows before they are grouped.
    • an hours-per-day grid, with one row per person and one column per day. A matrix has no aggregate cell. A grouped report by day(<column>) is a long table, one row per person and day, and its workbook can be pivoted.
    • a chart over a computed line or an aggregate column. A chart reads a stored column.
  • seed data for a table with an unguessable field, versioned columns, an img or file field, or the links of a multi. seed/*.csv refuses them by name. A seed does not run hooks, and it loads into empty tables only. See Load demo data and bind logins to records.

  • a list of rows to choose from when a tenant administrator binds a login to a record. The page asks for the row number, because the administration page shows no data of the applications.

  • a hidden password prompt for install -login. The command reads MTD_LOGIN_PASSWORD or a line of standard input, and the terminal shows a typed line.

  • install -login for the applications that -also-app adds to a new organization, and for an application added to an organization that exists. Create those logins, and bind their records, on the administration page.

  • a rollback command for matterdata deploy. A deploy keeps one earlier copy of the tenant file as <tenant>.db.pre-deploy. To go back, deploy the earlier sources, or stop the server and move that file back, which loses the writes made since the deploy. deploy stores .ts hook modules as they are. It refuses a module that cannot be turned into JavaScript, and a type error that tsc finds on your computer. See Deploy a changed app to a running server.

  • matterdata validate <dir> compiles an application and prints its diagnostics. install refuses an application that is already installed. Change an installed application with matterdata dev on your computer (Change an app while it runs), with matterdata deploy on a server that is serving, or with matterdata upgrade on a stopped node.

  • an audit record for a rollback. A deploy and an upgrade record model.installed, and a destructive step records migration.destructive. Everything else the audit log covers is recorded, including reads and writes of sensitive columns — see Security model for the classes and their retentions. A hook’s own reads are outside the log.

  • a duration in any expression but suggest:. 30min, 1h and 7d are literals of the language, and a form field’s suggest: is the one place an expression takes one — see Regions. In a check, a where:, a value: or a var, a duration is a compile error that says so and names suggest:. Adding a duration to a date or a datetime is not expressible anywhere.

  • parts of the chart region. These are not built:

    • a sensitive column in a chart. The compiler refuses it in x, y, by, weight: and where:, because a chart is an aggregate that no grant is consulted for.
    • a y over a computed column or an aggregate column. A stored decimal is charted.
    • an export of a chart’s table.
    • a chart that follows the search and filters of a report on the same page. A chart reads the rows its own where: and access rule select.
    • more than 4 series. A chart draws at most 4 series.
    • a measured query time on the reference machine. One chart over 100,000 rows (3 series, 12 monthly buckets, no index) took 65.2 ms as the median of 50 runs (fastest 64.4 ms; the whole page took 67.2 ms), through the engine’s driver on an Apple M3 Pro. The design budget is 50 ms. This is over the budget, and the figure was not measured on a CAX21, which has slower cores. A page with 4 charts runs 4 such queries on every view. The measurement is in docs/measurements/2026-09-28-chart-query.md in the repository.
  • translated applications. An application can list locales: [en, de] and carry a translation in i18n/de.mtd. The compiler checks it and stores it in the compiled model, and the engine builds one view of the application for each listed language when it opens the tenant. A reader chooses a language with the selector, a cookie or Accept-Language, and the page is drawn in it. A public page has one address for each language (/de/...) with hreflang links. A hook refuses with a declared, translated message (messages { } and ctx.error("name", { … })). matterdata i18n sync and check write and count the translation file, and -strict turns a missing, stale or todo translation into an error. These parts are not built:

    • a language for each recipient of an invitation mail, a job or a SendMail. They use the language of the sender or of the application.
    • right-to-left languages. The engine has no ar or he catalogue, and the stylesheet does not use logical properties.
    • Turkish letter rules in search and sort. Search folds case and sort follows the German alphabet for every language, so ISPARTA is not found by ısparta, IĞDIR does not find ığdır, and a sort places ı after the words with i (see Set the language).
    • plural forms. A text that changes with a count needs two keys today. No text of an application takes a count.
    • translated row data, such as a blog post in two languages. A translation covers the text the author wrote, and not the rows in the database.
    • a sitemap with each language of a public page (see below), and a .po export for translation tools.
    • a move of a key that shifts its position. matterdata i18n sync follows a key that was renamed or removed. When a check, a button or a second region of the same kind is added or removed before other ones, the keys after it change their number. Its report lists the stale entries, and the translator moves them by hand.

    See Translate an app, Set the language and i18n.

  • a third level of navigation. A nav block can hold a group of pages, and a group cannot hold a group. See Navigation.

  • a picture column in a sheet. An img column in columns: compiles and is refused when the tenant is opened. Edit a picture in a form on the row’s own page. The compiler refuses a file column in columns:.

  • more of the file column. Office documents (docx, xlsx, pptx, odt, ods, odp), a sensitive file column with grants, a scan for viruses, a preview of a PDF in the page, a file in a form for visitors without a login, a versioned file column, and a retention rule that empties a file column are not built. The engine does not scan files for viruses. A file column holds one document; use a table of documents for several.

  • a sheet over rows that do not exist yet. A sheet edits and creates rows of one table. The school’s grade screen needs rows that come from the enrolments, and a save that inserts on a key. Neither is built.

  • the script of an application’s own job. The declaration compiles, the engine gives it a schedule and a clock, and the job appears in the job log. Nothing runs the script: the runtime has no executor for an application-declared job. Every occurrence is claimed, recorded as a failure naming the missing half, and its clock advances. Do not ship a job as work that happens.

  • two parts of the administration page at /matterdata:

    • pausing a job. It needs a decision on whether a paused job accumulates occurrences. Today a job either has a schedule or does not.
    • deleting a login. Disabling one is the act that exists. A disabled login cannot sign in, and its live sessions are rejected on their next request.
  • moving between applications inside the page. The page frame draws no switcher. A person reaches another application through the organization’s root or through a bookmark. An organization that has a root application and other applications has no engine page that lists the others at all; the engine logs that when it opens the organization.

  • a root-relative link in Markdown stays root-relative. [Members](/members) written in a markdown column is served unchanged, so in an application under a mount it leaves that application. Write the link relative to the current page instead.

  • heading anchors in Markdown. A heading in a markdown column has no id, so a link cannot point at #a-heading inside an article. No application needs a deep link to a heading yet. The ids must be generated by the engine and namespaced, because content may not write an id of its own.

  • install -profile for an application added to an organization that exists. It is refused. Bind the existing login to a row of the new application on the administration page instead.

  • a confirmation mail to a visitor. A hook on a write by a visitor with no login may mail only the organization’s own logins, because the visitor’s address is whatever they typed. Confirming that address needs double opt-in, and double opt-in needs mail delivery. See Add logic.

  • a password reset that a person performs for themselves. This build has no SMTP, so an administrator sets a new password and hands it over.

  • production provisioning, backup and restore automation, monitoring, and restore drills.

  • a type check inside the binary. The binary removes types and does not check them, so a hook with a wrong type runs. matterdata sdk writes the types, and validate, dev and deploy run tsc on your computer when it is installed. The check needs node. See Write a hook in TypeScript with types.

  • a type for the hook point of a script, and for the values of a mail template. The .mtd source binds a script to a point, so the declaration does not know it: you choose <Table>Draft or <Table>Row and BeforeContext or AfterContext yourself. ctx.hook is a string.

  • a sitemap and a search index. When they exist, they must leave out rows in a gone state as listings do, and a sitemap must list each language of a public page with its hreflang address. The engine adds the hreflang links to each public page now; it does not generate a sitemap.

  • four parts of versioned columns: a word-level comparison, a restore in one press, a sensitive or img column in a history, and a history that survives deleting its record. A hook cannot read a history either.

  • a timezone: on a single column. A time zone is a property of the application and of the page today, so one page draws every datetime in one time zone.

  • a recurring calendar series that keeps a time zone of its own, separate from the application’s.

  • screen-reader evidence for the sheet’s grid. No device has been measured. NVDA with Firefox, VoiceOver with Safari, a keyboard layout other than German, and a coarse-pointer layout are all still owed. The keyboard focus is on a hidden text field beside the grid, not on the grid cells, and that choice is part of what the measurement must judge. Do not treat the grid as accessibility-tested. Until the evidence exists, the grid is shown on the demo and showcase applications and is not turned on for a customer organization. A reader who cannot use the grid edits one row at a time through the sheet’s row -> link.

  • frozen columns in a sheet. The grid can keep columns in place while the reader scrolls sideways, but no declaration says which columns. A sheet freezes no column today.

  • a search in a sheet’s ref dropdown. A ref dropdown in the grid offers at most 200 rows of the target table, the same limit as a form’s dropdown. A row past that limit cannot be chosen or pasted.

  • a column’s help: in a list. A report does not show a column’s help: text, and a sheet read without JavaScript is a report, so it does not show it either. The sheet’s grid and the form on the row -> page show it.

  • a manual accessibility audit. An automated scan (axe-core, WCAG 2.1 levels A and AA) checks every page of the two test applications in Chromium and WebKit, in the light and the dark scheme. On 2026-09-23 it found no violation on 62 pages. The scan finds missing labels, bad ARIA and low contrast. It cannot tell if a page is usable with a screen reader.

  • more page layout. A page can set the width of its content column with width:, put two or three regions beside each other with row { … }, and put one pane beside its content with aside "Label" { … }. Not built: a pane the reader can close and open, a second pane width, and width: in the app block as the default for every page. A free grid, column spans and tabs are not planned.

  • the remaining form enhancement work.

  • pilots and the outstanding Phase 0 validation with real organizations and outside DSL readers.

A workflow test file can drive most pages and forms of an application. These parts are not built:

  • mail, jobs and other buttons. expect mail, run job, run button and run row_action are reserved words that the validator refuses with a message that says so. A test cannot assert a mail that the application queued or run a scheduled job.
  • in region for a sheet step. A page holds one sheet, so the table names it.
  • an outcome word for an answer that no word names. A save sent to a form that a region’s access: withholds, a delete that a form does not have, and a request that the engine answers 408, 413 or 429 have no word. The test writes the status: expect 400. Only a 4xx other than 403, 404 and 410 may be written. A 503 has the word unavailable, and any other 5xx cannot be expected.
  • a public page in another language. An open of a public page in a suite with another locale: is sent to the language prefix, and the runner follows that one redirect and notes it. The outcome is the answer of the prefixed page. open <page> from <page> makes the request of a click on a link of the site, which the engine serves without a redirect. When the page after from is on the screen, the runner checks that the page draws a link to the address. When another page or no page is on the screen, the step sends the headers of a click to the address that you name and reads no link. A click on a link that a page of another language writes under its language prefix cannot be written, because open writes no prefix. download and the window of rows of a sheet follow the language redirect once and send no headers of a click.
  • sessions beyond sign out. sign out ends the session of the user who acts. A test cannot keep two sessions of one user alive at the same time, and it cannot sign out the session of another user. The clock: of a suite is fixed, so a session does not expire during a test.
  • the dialog that creates a ref row. A test does not drive it.
  • the headers of a download, and a file or a removal in a cell of a sheet. A fill can choose a file with file "…" and remove the stored one with remove file, and download can request a file. download does not read the headers or the bytes of the response. A sheet has no cell for a file.
  • the files of a hand-in on the school example are readable by every student that has the address. The start form of my_assignment shows the attachment field and has no row condition, so the engine reads it as a place where any row’s file may be shown, and another student’s request for the address of a file is answered 200. The address holds the id of the row and the digest of the file. The example suite school/tests/attachments.mtdtest records this in a test with the name GAP. The engine is not changed yet.
  • new rows and removals in a sheet step. sheet <table> { row <name> { … } } saves cells of rows that exist. The grid can also add rows (actions: add) and mark rows for removal (actions: delete), and the step has no spelling for either. A new row has no bound name, and the 403 of a delete { access: … } block that refuses a whole save cannot be sent yet.
  • a stale stamp in a sheet step. The engine refuses a save whose row changed after the page was drawn. A test acts as one user at a time, and each step but expect replaces the page, so no step can change a row between a page and the save that reads it. The runner reads the stamps when the sheet step runs.
  • a sheet that a region’s access: withholds. The page draws no grid for the user, and the engine answers a save sent there with 400. Write sheet <table> anyway { … } and expect 400. The runner sends the page’s token and language, the region’s number, and a stamp of no row, and reads no column of a grid that is not there.
  • the school example. It has no sheet: the grade screen needs rows that do not exist yet. Only the shift roster and the showcase run sheet steps.
  • the value of a control. expect shows reads the text of the page, so it reads a long text control and no one-line control, a checkbox or a select. After open <page>.new copying <name>, a test shows what the copy carried by saving it and asserting the stored row.
  • links of a multi. expect row cannot assert them, because they are rows of a table that the engine owns. The options that a page draws for a multi are text, and expect shows can read them.
  • page assertions on other representations. expect shows, expect hides and expect rows read the text of the page. They do not read a CSV, calendar feed or workbook export, the grid of a sheet, or the drawing of a chart.
  • a test id on something that is not a region. in region <test_id> names a region. A field, a button and a row have no test_id, so a test cannot name one of them.
  • the page of a 503 by region, and the cause of a 503. expect unavailable holds for a 503 and reads the text of the page of the engine. That page has no region of your page. The word does not tell a scoped app with no scope row from a busy password check or a broken app, which also answer 503. The text of the page does. The showcase suite leaves the state out, because it has no page that creates a season. The school example runs it, in tests/first-run.mtdtest.
  • the order of texts across regions. expect rows in <region> in order … reads one region. A test cannot compare the position of a text in one region with a text in another region, and the order is read from the text of the region, not from the stored values of a column.
  • a sheet cell for a time with seconds or in the hour that a clock goes back. A bound datetime fills a cell as the grid draws it, on the wall clock of the page, without seconds. The step fails for a time that this text cannot give back (16:30:45, or 01:30 on the night that a clock goes back), and it chooses no moment. A form control is not affected: it takes the stored UTC time.
  • a create page beneath a scope in an example application. open <page>.new(<row>) works, and the engine’s own tests run it, but no example application has a new_route: with a scope parameter, so the reference shows its syntax and not an excerpt of a running suite.
  • a plain-HTTP run. dev: true turns on development mode and relaxes the cookie shape in the same step; the default runs over TLS.

The fixtures are more than syntax samples: the test suite compiles them and exercises their pages, writes, permissions, and exports. They demonstrate that the current model can express meaningful applications. They do not establish operational readiness, product-market fit, or long-term sandbox isolation.

Follow the repository’s ACTION-PLAN.md for the detailed engineering plan. Internal decision records explain the trade-offs behind the implementation; this public site will gradually turn stable parts of that material into task-oriented reference documentation.

Website privacy policy