{title}
Presenter or owner: {owner}
Details and desired decision: {details}
# Standalone agenda editor. Install in an empty example space. # Commands are application behavior, not a permission boundary. # Create identity is content-derived from fields and event time; do not assume atomic allocation. concept!: &agenda-item with: title: {description: "Agenda item", the: xyz.tonk.examples.agenda/title, as: text, cardinality: one} owner: {description: "Presenter or owner", the: xyz.tonk.examples.agenda/owner, as: text, cardinality: one} details: {description: "Details and desired decision", the: xyz.tonk.examples.agenda/details, as: text, cardinality: one} agenda-item!: this: urn:example:agenda:first title: "Choose the pilot topic" owner: "Unassigned" details: "Agree on one small question to explore together." command!: &create-agenda with: create: {description: "Create action", the: dom.event.current-target.dataset/create-agenda, as: text} nonce: {description: "Event time", the: dom.event/time-stamp, as: float} title: {description: "Agenda item", the: dom.event.current-target.form.elements.title/value, as: text} owner: {description: "Presenter or owner", the: dom.event.current-target.form.elements.owner/value, as: text} details: {description: "Details and desired decision", the: dom.event.current-target.form.elements.details/value, as: text} rule!: assert!: agenda-item when: - assert: create-agenda where: {this: ?this, title: ?title, owner: ?owner, details: ?details} command!: &update-agenda with: subject: {description: "Existing item", the: dom.event.current-target.form.dataset/edit-agenda, as: entity} title: {description: "Agenda item", the: dom.event.current-target.form.elements.title/value, as: text} owner: {description: "Presenter or owner", the: dom.event.current-target.form.elements.owner/value, as: text} details: {description: "Details and desired decision", the: dom.event.current-target.form.elements.details/value, as: text} rule!: assert!: agenda-item when: - assert: update-agenda where: {subject: ?this, title: ?title, owner: ?owner, details: ?details} view!: this: agenda-item show: ui: "
" summary: "Presenter or owner: {owner}
Details and desired decision: {details}
Sample agenda. Add an item or edit an existing one, then check the saved list. Agree who owns each item before simultaneous edits.