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.
Sample application limits
Section titled “Sample application limits”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.
Available in the repository
Section titled “Available in the repository”matterdata deploy: it applies the changed sources of an installed application to a tenant that a runningserveis serving. The server checks the plan on a copy, pauses only that tenant, and replaces the file. It has the refusals and flags ofmatterdata upgrade, a-previewthat applies nothing, and a pending request that-cancelwithdraws. 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
navgroup 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, andquick_picks:puts a value such asnowinto 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
filecolumn 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. Seefile. - the editable
sheetregion. 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 byrow ->. 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.
retentionon 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
versionedcolumn keeps a version at every save, up to 20 per record by default. Aversionsregion 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
chartregion. 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 andchart. - a
compareregion. It shows two text columns of the page’s record as a line diff, such as a pending revision against the published text. Seecompare. - 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 withmount: /. A table is stored as<application>__<table>, so two applications can both declareevents. 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.
authenticatedadmits 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
rightnames 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. installagainst 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 thetests/*.mtdtestfiles 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.
Important unfinished work
Section titled “Important unfinished work”-
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 ->androw_actionare compile errors on a grouped report. - a condition on a total, which is a
HAVING.filter:andsearch: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
matrixhas no aggregate cell. A grouped report byday(<column>)is a long table, one row per person and day, and its workbook can be pivoted. - a
chartover a computed line or an aggregate column. A chart reads a stored column.
- a link from a group to a row page.
-
seed data for a table with an
unguessablefield, versioned columns, animgorfilefield, or the links of amulti.seed/*.csvrefuses 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 readsMTD_LOGIN_PASSWORDor a line of standard input, and the terminal shows a typed line. -
install -loginfor the applications that-also-appadds 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.deploystores.tshook modules as they are. It refuses a module that cannot be turned into JavaScript, and a type error thattscfinds on your computer. See Deploy a changed app to a running server. -
matterdata validate <dir>compiles an application and prints its diagnostics.installrefuses an application that is already installed. Change an installed application withmatterdata devon your computer (Change an app while it runs), withmatterdata deployon a server that is serving, or withmatterdata upgradeon a stopped node. -
an audit record for a rollback. A deploy and an upgrade record
model.installed, and a destructive step recordsmigration.destructive. Everything else the audit log covers is recorded, including reads and writes ofsensitivecolumns — 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,1hand7dare literals of the language, and a form field’ssuggest:is the one place an expression takes one — see Regions. In acheck, awhere:, avalue:or avar, a duration is a compile error that says so and namessuggest:. Adding a duration to adateor adatetimeis not expressible anywhere. -
parts of the
chartregion. These are not built:- a
sensitivecolumn in a chart. The compiler refuses it inx,y,by,weight:andwhere:, because a chart is an aggregate that no grant is consulted for. - a
yover a computed column or an aggregate column. A storeddecimalis charted. - an export of a chart’s table.
- a chart that follows the search and filters of a
reporton the same page. A chart reads the rows its ownwhere: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.mdin the repository.
- a
-
translated applications. An application can list
locales: [en, de]and carry a translation ini18n/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 orAccept-Language, and the page is drawn in it. A public page has one address for each language (/de/...) withhreflanglinks. A hook refuses with a declared, translated message (messages { }andctx.error("name", { … })).matterdata i18n syncandcheckwrite and count the translation file, and-strictturns a missing, stale ortodotranslation 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
arorhecatalogue, 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
ISPARTAis not found byısparta,IĞDIRdoes not findığdır, and a sort placesıafter the words withi(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
.poexport for translation tools. - a move of a key that shifts its position.
matterdata i18n syncfollows a key that was renamed or removed. When acheck, abuttonor 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 language for each recipient of an invitation mail, a job or a
-
a third level of navigation. A
navblock can hold agroupof pages, and a group cannot hold a group. See Navigation. -
a picture column in a
sheet. Animgcolumn incolumns:compiles and is refused when the tenant is opened. Edit a picture in aformon the row’s own page. The compiler refuses afilecolumn incolumns:. -
more of the
filecolumn. Office documents (docx,xlsx,pptx,odt,ods,odp), asensitivefile column with grants, a scan for viruses, a preview of a PDF in the page, afilein a form for visitors without a login, aversionedfile column, and aretentionrule 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
sheetover 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 ajobas 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 amarkdowncolumn 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
markdowncolumn has noid, so a link cannot point at#a-headinginside 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 anidof its own. -
install -profilefor 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 sdkwrites the types, andvalidate,devanddeployruntscon your computer when it is installed. The check needsnode. 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
.mtdsource binds a script to a point, so the declaration does not know it: you choose<Table>Draftor<Table>RowandBeforeContextorAfterContextyourself.ctx.hookis astring. -
a sitemap and a search index. When they exist, they must leave out rows in a
gonestate as listings do, and a sitemap must list each language of a public page with itshreflangaddress. The engine adds thehreflanglinks 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
sensitiveorimgcolumn 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 everydatetimein 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
refdropdown. Arefdropdown 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’shelp: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 therow ->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 withrow { … }, and put one pane beside its content withaside "Label" { … }. Not built: a pane the reader can close and open, a second pane width, andwidth:in theappblock 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.
Workflow tests
Section titled “Workflow tests”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 buttonandrun row_actionare 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 regionfor asheetstep. 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 wordunavailable, and any other 5xx cannot be expected. - a public page in another language. An
openof a public page in a suite with anotherlocale: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 afterfromis 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, becauseopenwrites no prefix.downloadand the window of rows of asheetfollow the language redirect once and send no headers of a click. - sessions beyond
sign out.sign outends 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. Theclock:of a suite is fixed, so a session does not expire during a test. - the dialog that creates a
refrow. A test does not drive it. - the headers of a download, and a file or a removal in a cell of a
sheet. Afillcan choose a file withfile "…"and remove the stored one withremove file, anddownloadcan request a file.downloaddoes not read the headers or the bytes of the response. Asheethas 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_assignmentshows theattachmentfield 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 suiteschool/tests/attachments.mtdtestrecords this in a test with the nameGAP. The engine is not changed yet. - new rows and removals in a
sheetstep.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 adelete { access: … }block that refuses a whole save cannot be sent yet. - a stale stamp in a
sheetstep. 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 butexpectreplaces the page, so no step can change a row between a page and the save that reads it. The runner reads the stamps when thesheetstep 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. Writesheet <table> anyway { … }andexpect 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 runsheetsteps. - the value of a control.
expect showsreads the text of the page, so it reads a long text control and no one-line control, a checkbox or a select. Afteropen <page>.new copying <name>, a test shows what the copy carried by saving it and asserting the stored row. - links of a
multi.expect rowcannot assert them, because they are rows of a table that the engine owns. The options that a page draws for amultiare text, andexpect showscan read them. - page assertions on other representations.
expect shows,expect hidesandexpect rowsread the text of the page. They do not read a CSV, calendar feed or workbook export, the grid of asheet, or the drawing of achart. - 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 notest_id, so a test cannot name one of them. - the page of a 503 by region, and the cause of a 503.
expect unavailableholds 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, intests/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
datetimefills 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, or01:30on 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 anew_route:with a scope parameter, so the reference shows its syntax and not an excerpt of a running suite. - a plain-HTTP run.
dev: trueturns on development mode and relaxes the cookie shape in the same step; the default runs over TLS.
What the examples prove
Section titled “What the examples prove”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.