Skip to content

Add durable native capture outbox - #41

Merged
Clearner1 merged 2 commits into
codexfrom
feature/native-capture-outbox
Aug 28, 2026
Merged

Add durable native capture outbox#41
Clearner1 merged 2 commits into
codexfrom
feature/native-capture-outbox

Conversation

@Clearner1

Copy link
Copy Markdown
Owner

Summary

  • add an internal /api/captures durable SQLite outbox on the existing API process
  • return 202 after SQLite commit and process native memo/Q&A asynchronously into Anki
  • add UUID idempotency, atomic worker claims, retry/unknown-write states, and restart recovery
  • distinguish Anki transport errors from action/configuration errors

Checks

  • Vitest: 19 server tests + 4 AnkiConnect tests
  • ESLint
  • strict TypeScript source check
  • Node strip-types startup smoke test

The Caddy/mTLS route is intentionally not part of this PR and will be configured only after review.

@Clearner1
Clearner1 merged commit 8159a1a into codex Aug 28, 2026
1 check passed
@Clearner1
Clearner1 deleted the feature/native-capture-outbox branch August 28, 2026 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant