Page:
ADRs
Pages
0001 deepen classification safety auditor
0002 deepen rules registry
0003 prune legacy script shims
0004 decouple rfc codecs from mailbox gateway
0005 collapse workflow into mailbox pipeline
0006 decouple gateway orchestration into pipeline
0007 incremental scan cache and progress feedback
0008 port mailsweep to synchronous rust
0009 retire python baseline and complete rust cutover
0010 automated multi platform forgejo release workflow
ADR 0001 deepen classification safety auditor
ADR 0002 deepen rules registry
ADR 0003 prune legacy script shims
ADR 0004 decouple rfc codecs from mailbox gateway
ADR 0005 collapse workflow into mailbox pipeline
ADR 0006 decouple gateway orchestration into pipeline
ADR 0007 incremental scan cache and progress feedback
ADR 0008 port mailsweep to synchronous rust
ADR 0009 retire python baseline and complete rust cutover
ADR 0010 automated multi platform forgejo release workflow
ADRs
CLI Reference
Domain Context
FAQ
Home
Internals
Python API
Rules Schema
Rust API
No results
6
ADRs
MailSweep Doc Bot edited this page 2026-08-30 17:03:42 +00:00
Table of Contents
Architecture Decision Records (ADRs)
This page lists the historical and active Architecture Decision Records for the MailSweep codebase.
Index of Decisions
- ADR-0001: Deepen Classification Safety Auditor - Consolidated disparate audit logic behind
SafetyAuditorandSafetyAuditReport. - ADR-0002: Deepen Rules Registry - Encapsulated schema validation, language coverage tests, and transport sync behind
RulesRegistry. - ADR-0003: Prune Legacy Script Shims - Removed root-level script wrappers in favor of unified
mailsweepCLI sub-commands. - ADR-0004: Decouple RFC Codecs from Mailbox Gateway - Extracted pure MIME and Modified UTF-7 codecs into side-effect free
codecs.py. - ADR-0005: Collapse Workflow into Mailbox Pipeline - Created
MailboxPipelinedeep module providing a single-point atomic sweep coordinator. - ADR-0006: Decouple Gateway Orchestration into Pipeline - Separated pure IMAP wire protocol mechanics (
MailboxGateway) from multi-step workflow logic (MailboxPipeline). - ADR-0007: Incremental Scan Cache and Progress Feedback - Implemented incremental local UID metadata caching, RFC 6154 virtual folder exclusions, and real-time terminal progress indicators.
- ADR-0008: Port MailSweep to Synchronous Rust - Re-engineered entire IMAP engine, 13-language classifier, ZIP archiver, and CLI in synchronous Rust.
- ADR-0009: Retire Python Baseline and Complete Rust Cutover - Removed legacy Python source tree, tests, packaging, and scripts following 100% verified Rust parity.
- ADR-0010: Automated Multi-Platform Forgejo Release Workflow - Cross-compiled Linux x86_64, Linux ARM64, and Windows x86_64 binaries in Forgejo Actions.