ADR 0018 — Assets are subjects, not places
Status: accepted · 2026-09-30 · rule 4 amended 2026-10-14 (RFC 0037)
Context. The owner's boat, aircraft and car move, and they move without the owner. A yacht on a delivery passage, an aircraft flown by a partner, a car lent to a friend: each has a position at every instant, and the owner's phone is somewhere else. The record so far has one track, the owner's (location/v1, RFC 0001), and the tempting shortcut is to treat the boat as a place the owner is sometimes at, the way a house or an office is. That is wrong twice. A place does not move, so a visit to it can be derived from the owner's track alone; a boat's position is a second observation, made by a second instrument (an AIS or ADS-B receiver), that the owner's track cannot supply. And the interesting fact, the owner was aboard, is a relation between two tracks, not a property of either: the same boat position means one thing when the owner's phone is on deck and another when the owner is at home and the boat is out with the yard's skipper.
Decision.
- An asset is a subject with its own track. A boat, an aircraft or a car is registered once in the record, in
<root>/assets.json, as{id, kind, name, mmsi?, icao24?, registration?}withkindone ofyacht,aircraft,car. Its positions arelocation/v1lines like the owner's, withsubjectset to the asset's id (RFC 0001, amended). The owner is never a subject: absent means the owner, and there is no id for them. - A position of an asset is written as observed, by the instrument that observed it.
logbook sync aisasks aisstream.io for the position reports of every registered MMSI;logbook sync adsbasks the OpenSky Network for the state of every registered icao24. Each report is one line,sourceaisoradsb,trackeraisstreamoropensky,raw_idfrom the instrument, the identifier and the fix time (aisstream:<mmsi>:<unix seconds>,opensky:<icao24>:<unix seconds>), so a report seen twice is one line (ADR 0017), and each asset carries its own watermark instate/<source>.json. What the receiver reports beyond the position (speed, course, navigational status, callsign, altitude) is kept as RFC 0001 says. - "Aboard" is derived, never written. Whether the owner was on the boat is a downstream judgement (ADR 0011, ADR 0013): an engine pass that compares the owner's track with the asset's over a window and decides, by distance and duration, that they moved together. No adapter writes it, no location line carries it, and a change of mind about the threshold changes no line in the record. The same holds for who was aboard: a guest's phone is not in the record, and the record does not guess.
- The registry is a setting, not the chain.
assets.jsonis read by the sync commands and by readers that want to name an asset; it is edited bylogbook assets addand by hand; it is not hashed. A line whosesubjectthe registry no longer names is still valid and still shown, under the id it carries. Renaming an asset is editing the registry; the lines keep the id. Amended 2026-10-14 (RFC 0037): an entry is never deleted to say an asset is gone. Astatus/v1line says it —soldorlet-go,logbook status asset ID sold— and closes the entry withuntil, the line's local day, written into the entry beside its other keys. The line is the statement anduntilits copy: a reader of the lines (status list asset) takes the day from the standing line, never from the file, so a retracted status line closes nothing there. A place ofplaces.jsonlet go (a berth given up) is closed the same way. The sync commands still ask for every identifier an entry names, closed or not, until the identifier is taken out of the entry.
Amendment to rule 4 (2026-10-14, RFC 0037, a draft). The registry is a setting, not the chain, and its entries are never deleted. An asset the owner sold or let go stays in assets.json; one status/v1 line (RFC 0037 §10), sold or let-go, tier 2 and with no money on it, closes the entry with until, the last local day the asset was the owner's, and the owner writes it (logbook status asset NAME sold --until YYYY-MM-DD). From the day after until the entry is closed: readers still name the asset by it, sync ais and sync adsb ask for no position of it, and a position line that reaches the record anyway (an import, another machine's sync) is still valid and still shown, as is every line whose subject the registry names or no longer names, under the id it carries. Retracting the status line (RFC 0003) reopens the entry. Renaming an asset is still editing the registry, and the lines keep the id. Where the consequences below say the owner decides "by registering or removing the asset", read "by registering or closing it". The same holds for a place in places.json, closed by a let-go line (RFC 0037 §10.3).
Consequences.
- One profile, two tracks. show collapses runs of points by source and subject, so a day at sea reads as two rows (the phone's points and the boat's), and an engine that derives days, trips and places reads the owner's track by filtering subject absent, as before; nothing already written changes meaning.
- Every asset the owner tracks is one entry and two environment variables at most; a new instrument (a GPS tracker in the car, a satellite messenger) is a new adapter that writes the same lines with subject set, never a new profile.
- Identity stays with the mapping (ADR 0017 rule 3): re-running sync ais after a network failure, or running it from two machines, appends nothing twice.
- The record can hold an asset's history from before the owner had it or after they sold it (the receiver does not know who owns the hull). Whether such lines belong is the owner's call at sync time, by registering or removing the asset; the record records what was asked for.