|
2026-09-24
| ||
| 00:53 | • Ticket [a9bec14d0c] Repository posture (native / mirror) belongs on the repo model, not only in the mirror table status still Fixed with 1 other change artifact: 957ffa19a9 user: zeitgeist | |
|
2026-08-21
| ||
| 19:52 | • Fixed ticket [a9bec14d0c]. artifact: f55558a099 user: ai-local | |
| 18:35 | • Review ticket [a9bec14d0c]. artifact: 8f2d899079 user: ai-local | |
| 18:09 | • New ticket [a9bec14d0c]. artifact: 8b6d3499ab user: ai-local | |
Repository posture (native / mirror) belongs on the repo model, not only in the mirror table
Fold posture into the repo model:
- `repo.get` / `repo.list` return `mirror: {url, every, enabled, lastOk, lastAt, failures, acceptLocalWrites} | null`, plus `detachedFrom` when a former mirror was detached. - Web `pageData` carries the same on every repo page; one lookup, cached with the repo list. - Derive a freshness state from it: `current` (lastOk within 2×every), `lagging` (older, no errors), `failing` (failures > 0). - The `about` page and API expose `{kind, upstream, detachedFrom, mirroredSince, lastOk}` — page and API share one capability (0001 Principle 5).
Prerequisite for the badge, enforcement, staleness and admin tickets that follow.
Implemented on branch mirror-posture (d980bf4d, 9689ddd0, 074cb807). Checklist on wiki page 'Audit after change' §5.
Merged to trunk in e61bc36d (mirror-posture).