Documentation contents
Public technical disclosure
Comparing revisions across independent workspaces
A radio producer issues a longer cut of an episode. Two stations want to see how the change affects their own schedules. This public interface design lets each station inspect both cuts, recover the basis of an earlier result and apply its own airtime limit. A spreadsheet sidebar, a web page or a local document reader can implement the comparison.
On this page
Identify the work and its revisions
The accompanying example.json identifies one episode, a common unit and two versions of its timing data. Each revision has a distinct id and an explicit previous value. A null previous identifies the root in this example. A non-null value refers to a revision of the same episode. A separate list describes each receiving station and the duration of its slot. All names and timings in the example are fictional.
Two selectors, revision and station, identify a view. For any selected revision, the feature and introduction durations explain how its total is derived. The previous field explains which cut preceded it. A sheet can expose the components in cells and the predecessor as a link. A graph can show the same relationships as separately labelled edges. A text reader can list the inputs and name the previous cut. Array order alone is insufficient to establish a predecessor.
Evaluate the local rule
Read the selected revision. For nonnegative durations in the stated unit, add feature and intro. Compare that total with the selected station's slot using an inclusive upper bound. A cut exactly as long as the slot fits. The difference slot minus total gives spare time when positive and the magnitude of the overrun when negative.
Changing stations reevaluates the local rule against the same cut. Changing revisions selects a different pair of source durations. Both operations preserve the original timing records. A bookmark can encode the pair in query parameters so that reopening it restores both selections. A timing comparison alone gives no instruction to put an episode on air.
Worked comparison
In r1 the feature runs for 15 minutes and the introduction for 3. Its 18 minutes fit both Pine Radio's 20-minute slot and Lake Radio's 24-minute slot. In r2 the feature grows to 19 minutes and the introduction stays at 3. Its 22 minutes run 2 over at Pine and leave 2 spare at Lake. The first cut still runs for 18 minutes. A reader inspecting r2 can follow its predecessor to r1 while retaining the selected station.
Conformance cases and incomplete data
For the supplied fixture a reader should show r1/Pine = 18 with 2 minutes spare, r2/Pine = 22 with a 2-minute overrun, r1/Lake = 18 with 6 minutes spare, and r2/Lake = 22 with 2 minutes spare. Reorder the two records and r2's predecessor remains r1. Supply a negative duration and the schedule comparison is invalid.
Remove r1 while retaining r2. The reader can still compute 22 from r2, but must describe its predecessor as unavailable and omit the change in duration. Duplicate identifiers make the affected selection ambiguous. An unknown selector must never silently acquire another revision's or station's label. A reader must withhold the affected calculation if a duration, unit or local slot is missing or incompatible.
Scope and citation
This profile describes a read-only review surface. The complete example.json gives a single-file conformance case. The companion episode.json publishes just the episode, unit and revision records. A reader can retrieve that file from a second origin and supply its own station limits locally. A bundled copy can preserve access during an outage if the view identifies which source it used. Software implementing the view can choose its own storage, transport, authentication and authorization.
Cite Myceta Labs, Comparing revisions across independent workspaces, MYCETA-NOTE-VIEWS-01, edition 1.0, 29 November 2026 UTC. The edition and its fixture are available at https://myceta.dev/specs/revision-comparison/1.0/