Skip to content
edgesync Check-in [aa902c6e06]
Login

Check-in [aa902c6e06]

Overview
Comment:feat(leaf/agent): CommitOpts.Tags — symmetric to hub.CommitOpts.Tags (#150)

Adds Tags []TagSpec to agent.CommitOpts (mirroring hub.CommitOpts from v0.0.15) and plumbs it straight through to libfossil.CommitOpts.Tags. Synthetic agent slots (bones ADR 0050) commit through the leaf path, so the hub-only change in #148 didn't reach them. With this, callers can land commits on agent/<id> branches via the propagating fossil branch tag pair.

Closes #149.

Timelines: family | ancestors | descendants | both | trunk | leaf/v0.0.11
Files: files | file ages | folders
SHA3-256: aa902c6e06bd020fe5c03f7ec90f01a6085576936a4283fa2fe5cdb9bcccbca0
User & Date: [email protected] on 2026-05-06 21:15:39.000
Other Links: manifest | tags
Context
2026-05-06
21:17
chore: bump submodule pins (leaf/v0.0.11) check-in: 8871efad56 user: 41898282+github-actions[bot]@users.noreply.github.com tags: trunk, v0.0.16
21:15
feat(leaf/agent): CommitOpts.Tags — symmetric to hub.CommitOpts.Tags (#150)

Adds Tags []TagSpec to agent.CommitOpts (mirroring hub.CommitOpts from v0.0.15) and plumbs it straight through to libfossil.CommitOpts.Tags. Synthetic agent slots (bones ADR 0050) commit through the leaf path, so the hub-only change in #148 didn't reach them. With this, callers can land commits on agent/<id> branches via the propagating fossil branch tag pair.

Closes #149. check-in: aa902c6e06 user: [email protected] tags: trunk, leaf/v0.0.11

20:40
feat(hub): CommitOpts.Tags — attach tags at commit time (incl. branch=) (#148)

Plumbs libfossil's `Tags []TagSpec` primitive through `hub.CommitOpts` so callers can land a checkin on a non-current branch (or attach any other tag) without going around the EdgeSync API to libfossil.

Fossil branches are propagating tags: `branch=<name>` + `sym-<name>=*` together place a checkin on a branch. Exposing `Tags` rather than a git-flavored `Branch string` keeps the API fossil-native and is strictly more expressive — any tag (closed, release, custom) can be attached at commit time, not just branch creators.

Empty `Tags` preserves the existing trunk-default behavior; current callsites compile and run unchanged.

Closes #147 check-in: 7536beb856 user: [email protected] tags: trunk, v0.0.15

Changes