Add circuit history commands

This commit is contained in:
2026-07-23 22:18:36 +02:00
parent bd5f4f925f
commit ca13efbfcb
16 changed files with 1402 additions and 85 deletions
+9 -7
View File
@@ -23,13 +23,15 @@ concurrency checks.
- executes the eligible inverse or forward command as a new auditable
revision
The public dispatcher currently supports `circuit.update`,
`circuit-device-row.update`, `circuit-device-row.insert` and
`circuit-device-row.delete`, all with schema version `1`. Other command types
are rejected. Insert commands contain the complete row with its stable id;
delete commands identify the row and its expected circuit. This makes deletion
undoable without generating a replacement identity. The editor does not
consume these endpoints yet.
The public dispatcher currently supports `circuit.update`, `circuit.insert`,
`circuit.delete`, `circuit-device-row.update`,
`circuit-device-row.insert` and `circuit-device-row.delete`, all with schema
version `1`. Other command types are rejected. Insert commands contain the
complete entity or circuit block with stable ids; delete commands include the
expected parent identity. Circuit snapshots contain zero, one or multiple
complete device rows. This makes deletion undoable without generating
replacement identities or renumbering circuits. The editor does not consume
these endpoints yet.
Example: