Skip to content

Add retention diagnostics and delivery audit export - #99

Merged
crypt0rr merged 1 commit into
mainfrom
codex/v0.45.0
Aug 15, 2026
Merged

Add retention diagnostics and delivery audit export#99
crypt0rr merged 1 commit into
mainfrom
codex/v0.45.0

Conversation

@crypt0rr

Copy link
Copy Markdown
Owner

What changed

  • Add an administrator-only machine-readable diagnostics endpoint at /admin/diagnostics.json.
  • Add a paginated delivery-audit CSV export at /admin/retention/export.
  • Keep exports formula-safe and exclude encrypted destination URLs, credentials, and sensitive provider details.
  • Add regression coverage for authorization, diagnostics redaction, and CSV export.
  • Document the v0.45.0 retention/diagnostics workflow.
  • Align local lint and vulnerability checks with the pinned Docker Go toolchain.

Why

This provides safe operational visibility and a practical audit export while keeping retention non-destructive and preserving the existing encrypted database backup as the authoritative recovery artifact.

Validation

  • gofmt, go vet, normal tests, and race tests
  • golangci-lint v2.12.2
  • govulncheck v1.6.0
  • 80.3% total coverage
  • Docker test/runtime builds
  • container smoke test covering setup, login, follow, manual sync, readiness, persistence, and graceful shutdown

@crypt0rr
crypt0rr marked this pull request as ready for review August 15, 2026 14:16
@crypt0rr
crypt0rr merged commit f23ab55 into main Aug 15, 2026
3 checks passed
@crypt0rr
crypt0rr deleted the codex/v0.45.0 branch August 15, 2026 14: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