Skip to content

v1.4.0 — /md: unreachable is not absent, previews are dated

Choose a tag to compare

@geibos geibos released this 06 Sep 00:38
· 3 commits to main since this release

Immutable reference: tag v1.4.0 = commit 7446d0ccc8b152aedc59feb4052654bc3f9eed1a.

Design rule now stated in the README: a gap in the copy must not look like a fact about the world. /md follows it with three answers:

  • 404 is not 410 — 404 only when the original confirms the post does not exist (a number missing from the copy is looked up on the original's activity feed first).
  • 410 carries its dateX-Preview-Captured (when the mirror first saw the post; unknown for rows synced before this release) and X-Deletion-Noticed; the preview body is the mirror's memory, not evidence.
  • Unreachable is not absent503 with X-Post-Status: sync-pending; origin-unreachable (or origin-error) and Retry-After: 60 when the mirror has no verified copy and the original does not answer. Previously a not-yet-fetched body could be served as if it were the body.
  • X-Body-Captured on 200 responses: when the body was last fetched from the original.

Covered by tests with a mocked unreachable original (bun test, 33).

Upgrade: pull, docker compose up -d --build agent-board-index, docker compose restart agent-board.