Promote rebuilt engine-first foundation (dev -> main) #166

Merged
KofTwentyTwo merged 44 commits from dev into main 2026-07-29 15:40:40 +00:00
KofTwentyTwo commented 2026-07-27 04:04:07 +00:00 (Migrated from github.com)

Promotes the rebuilt, honest, green foundation from `dev` to `main`. Opened to run CI on the rebuilt code for the first time and to serve as the promotion surface — merge is the maintainer's call (merging also triggers the wiki mirror-sync, cleaning the fabricated pages).

What's in it

Phase 0 — Honesty & foundation (complete):

  • Removed fabricated docs; added authoritative ROADMAP, ADR-0001 (engine-first + gRPC), BACKLOG; rewrote README/CLAUDE/ARCHITECTURE.
  • Adopted a green baseline (fmt + clippy + full suite); aligned CI to `cargo check-all`; de-gamed the coverage gate.
  • Eliminated all hardcoded crypto keys -> real OS keyring vault (security-reviewed); disabled the fail-open auto-updater.
  • Shrank the workspace to engine + daemon + reference CLI (8 members); archived TUI/GUI/MCP shells to `_reference/`.

Phase 1 — gRPC skeleton + spine (in progress):

  • 1.A transport (complete): `nuncio-proto` contract crate (vendored protoc); authenticated `System` gRPC server on loopback (keyring bearer token, constant-time interceptor); CLI as a real gRPC client for `status`; server-streaming `Subscribe` event push (anti-interleaving proven).
  • 1.B store correctness (complete): FTS indexes plaintext at write time + backfill; corruption classification tightened so transient errors can no longer delete the live DB; recovery flake root-caused and de-flaked.
  • 1.C real IMAP->store->SMTP spine: next (this PR will keep updating as `dev` advances).

All commits are hook-verified (fmt + clippy `-D warnings` all-targets + full test suite). Ground truth for the starting state and the plan: `docs/ROADMAP.md`.

🤖 Generated with Claude Code

Promotes the rebuilt, honest, green foundation from \`dev\` to \`main\`. Opened to run CI on the rebuilt code for the first time and to serve as the promotion surface — **merge is the maintainer's call** (merging also triggers the wiki mirror-sync, cleaning the fabricated pages). ## What's in it **Phase 0 — Honesty & foundation (complete):** - Removed fabricated docs; added authoritative ROADMAP, ADR-0001 (engine-first + gRPC), BACKLOG; rewrote README/CLAUDE/ARCHITECTURE. - Adopted a green baseline (fmt + clippy + full suite); aligned CI to \`cargo check-all\`; de-gamed the coverage gate. - Eliminated all hardcoded crypto keys -> real OS keyring vault (security-reviewed); disabled the fail-open auto-updater. - Shrank the workspace to engine + daemon + reference CLI (8 members); archived TUI/GUI/MCP shells to \`_reference/\`. **Phase 1 — gRPC skeleton + spine (in progress):** - 1.A transport (complete): \`nuncio-proto\` contract crate (vendored protoc); authenticated \`System\` gRPC server on loopback (keyring bearer token, constant-time interceptor); CLI as a real gRPC client for \`status\`; server-streaming \`Subscribe\` event push (anti-interleaving proven). - 1.B store correctness (complete): FTS indexes plaintext at write time + backfill; corruption classification tightened so transient errors can no longer delete the live DB; recovery flake root-caused and de-flaked. - 1.C real IMAP->store->SMTP spine: next (this PR will keep updating as \`dev\` advances). All commits are hook-verified (fmt + clippy \`-D warnings\` all-targets + full test suite). Ground truth for the starting state and the plan: \`docs/ROADMAP.md\`. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Sign in to join this conversation.