Development changelog

What has changed on this site, in its database and in the scripts behind it, newest first. Older history is being filled in as it is reconstructed, and each entry says whether it was recorded at the time or rebuilt later.

Showing entries for file asset_events.php. Show everything

Event assertions can be exported as a batch

Nov 7, 2026
added Nov 7, 2026

When the event assertions list is narrowed to one asset or entity, each row has a checkbox and the ticked rows export as one JSON batch, shown with a Copy button or downloaded as a file, ready to paste into the Bulk tab on another system.

Rows where the chosen asset or entity is the subject start ticked; untick any to leave it out. A row where it is only the counterparty starts unticked and is marked, because it belongs in its subject's batch. Each exported block is the same standard JSON the record view shows, with no database row ids, in date order. Exporting reads only; nothing is written.

Event assertions can be entered in batches

Nov 7, 2026
added Nov 7, 2026

A Bulk tab on the event assertions page: pick one subject, paste a research file or a JSON list of form, network and provenance blocks, and validate them together. Each row is checked exactly as a single entry is, and the whole batch is written in one step or not at all.

Every JSON block in the paste whose schema is an assertion contract becomes a row; any other block, and the prose around it, is listed as skipped. The subject is picked once, and each block's expected symbol and name still check that pick. Validation shows one line per block with its status: new, already on file, repeated within the paste, or error, with its warnings. Network rows get a counterparty picker in their row; a counterparty suggested from the block's expected symbol must be confirmed by validating again before anything can be written. Confirm rebuilds the batch from what was posted and refuses if anything changed since validation, then writes every new row in one transaction, rolling the whole batch back on any failure. Rows already on file are skipped, so the same batch can be pasted again safely. A Bulk button sits beside Add event, and the single-entry card links to it.

Event assertions can be created from the events page, and attaching them checks the fit

Nov 1, 2026
changed Nov 1, 2026

On a new event assertion, the JSON box starts empty with the sample shown in gray, so a prepared block pastes straight in. A copied record's values show as the sample, and a button fills them into the box when they are wanted as JSON.

changed Nov 1, 2026

Choosing the subject or counterparty of an event assertion is now a search: type a ticker, a former ticker, part of a name or an id, and pick from the matches.

The id box stays visible and editable, with a line naming what the id refers to. The list follows the chosen type, asset or entity.

added Nov 1, 2026

The events page can add a new event assertion, by form or by pasting JSON, with a preview before anything is saved. A record can be copied as a new one, and an event's record offers a button to add its provenance with the subject, date and source filled in.

The new card uses the same validator as editing. Preview checks for an identical existing row. New rows start with no ledger links; ledger rows are attached from the ledger's event page.

Change assertions can be opened, read and corrected

Oct 22, 2026
changed Oct 22, 2026

The event assertion list was wider than the screen. It is now seven narrow columns, with sources and notes moved into the record view, and it shows each assertion's code and how many ledger rows are linked to it.

The open record's row is highlighted in the list below it, and the list's filters are kept when a record is opened or closed. The list's query, filters and date order are unchanged.

added Oct 22, 2026

Each event assertion now opens as its own record, with Fields and JSON views and an Edit button. Edits can be made on a form or by pasting JSON, and both go through the same checks before a preview shows each changed field beside its current value.

Editing follows the identity pages' rules. A field left out of pasted JSON keeps its current value and an explicit null clears it. Changing what an assertion is about, or whether it records a change at all, needs an extra confirmation. An edit that would make the row identical to another is refused and names that row. If the record changes between preview and save, nothing is written. An assertion cannot be moved to a different table by an edit. The JSON view is the portable copy of the record: it carries no local row numbers, and its expected-subject fields let another system check that the right subject was picked. Linked ledger rows are listed by number only and open on the page that checks account access.