Skip to content
quarry View Ticket
Login

View Ticket

2026-09-24
00:53 • Ticket [4cf35e2e73] Mirrors accept local writes: pushes, tickets, wiki and forum land on a tracking store and fork it by accident status still Fixed with 1 other change artifact: 0c2d6a50e4 user: zeitgeist
2026-08-21
19:52 • Fixed ticket [4cf35e2e73]. artifact: 8c9b894c6b user: ai-local
18:35 • Review ticket [4cf35e2e73]. artifact: f29377dfa7 user: ai-local
18:09 • New ticket [4cf35e2e73]. artifact: f5bec4f9ba user: ai-local

Mirrors accept local writes: pushes, tickets, wiki and forum land on a tracking store and fork it by accident

Fixed4cf35e2e7370cac2f9adaa88e305141fabaa2405Created 101.2 days agoUpdated 68.0 days ago
Description2026-08-21 18:09:51
`/xfer` push gating is by role and lease only; `ticket.new`, wiki edits and forum posts never check `MirrorFor`. A write-role user can push into a mirrored store, and the next scheduled pull merges upstream on top of local divergence — a fork nobody decided to make.

- Refuse pushes to a repo with an enabled mirror: `not authorized to write: this store mirrors <url>`. Same refusal in ticket/wiki/forum/technote ops. - Per-mirror `accept_local_writes` (default off) makes the fork-with-upstream posture explicit and visible in the admin table. - In the web UI, redirect rather than hide: on a mirror, "New ticket" / "Edit" / "New post" become "… on upstream →" links to the corresponding Fossil pages (`/tktnew`, `/wikiedit?name=`, `/forumnew`) when the upstream is a Fossil server.

Depends on the repo-posture ticket.

2026-08-21 18:35:02

Implemented on branch mirror-posture (d980bf4d, 9689ddd0, 074cb807). Checklist on wiki page 'Audit after change' §5.

2026-08-21 19:52:44

Merged to trunk in e61bc36d (mirror-posture).