After #184, another common need that is written as form-free comments in today's lattice files is a "changelog" of a lattice file.
Today, it is common to write a file top comment that documents changes/the history of a file. While not replacing version control, we could provide a more stringent form for this in an optional field changelog, e.g.,:
PALS:
version: null # PALS schema version (not yet defined)
authors: # optional but recommended for provenance
- name: last, first
- name: last2, first2
# ...
changelog:
- date: 2026-02-25
authors: [1] # reference above list, 1-indexed, optional
change: "Upgraded the magnets to include fringe fields effects."
- date: 2026-01-10
authors: [1, 2]
change: "Added the booster."
# ...
facility:
- ... # lattice elements, beamlines, lattices, parameter set commands, etc.
After #184, another common need that is written as form-free comments in today's lattice files is a "changelog" of a lattice file.
Today, it is common to write a file top comment that documents changes/the history of a file. While not replacing version control, we could provide a more stringent form for this in an optional field
changelog, e.g.,: