22 lines
1.3 KiB
Markdown
22 lines
1.3 KiB
Markdown
# Work: Matrix-Native MusicLink Routing
|
|
|
|
## The Checklist
|
|
- [x] **W001**: Add Matrix-native configuration fields (matrix enabled/server/access token/user id/rooms/state store path) and load them in config parsing.
|
|
- *Verification*: `go test ./...`
|
|
- [x] **W002**: Introduce Matrix client module with sync loop, room allowlist filtering, and bot self-message filtering.
|
|
- *Verification*: `go test ./...`
|
|
- [x] **W003**: Implement thread-aware reply posting (m.in_reply_to + thread rel when applicable) and link parsing integration.
|
|
- *Verification*: `go test ./...`
|
|
- [x] **W004**: Add SQLite-backed state store for sync token and processed event IDs with TTL cleanup.
|
|
- *Verification*: `go test ./...`
|
|
- [x] **W005**: Implement outbound queue with retry/backoff honoring Matrix rate-limit responses.
|
|
- *Verification*: `go test ./...`
|
|
- [x] **W006**: Add shadow mode logging and metrics/health reporting for sync status and send failures.
|
|
- *Verification*: `go test ./...`
|
|
- [x] **W007**: Document Matrix-native mode in README/config examples (including non-E2EE constraint and allowlist behavior).
|
|
- *Verification*: `go test ./...`
|
|
|
|
## The Audit Trail
|
|
* [2026-01-21] Work plan created.
|
|
* [2026-01-21] W001-W007 completed. Verified with `go test ./...`.
|