Skip to content

docs(repo): add architecture ADRs and align documentation with as-built system - #1

Open
gustmrg wants to merge 1 commit into
mainfrom
docs/architecture-adrs-alignment
Open

gustmrg wants to merge 1 commit into
mainfrom
docs/architecture-adrs-alignment

Conversation

@gustmrg

@gustmrg gustmrg commented Nov 25, 2026

Copy link
Copy Markdown
Owner

Summary

Aligns repository documentation with Echo's as-built single-owner SQLite + RabbitMQ + S3 + TypeScript worker architecture and adds Architecture Decision Records (docs/adr/).

Changes

  • Added Architecture Decision Records (docs/adr/):
    • docs/adr/README.md — index of ADRs with status and one-line summaries
    • docs/adr/0001-sqlite-outbox-with-rabbitmq.md — single-owner SQLite + transactional outbox + RabbitMQ rationale, trade-offs, operational constraints, and Postgres migration trigger
    • docs/adr/0002-polyglot-dotnet-api-typescript-worker.md — ASP.NET Core 10 Minimal API vertical slices + stateless Node.js/TypeScript worker trade-offs and extensibility
    • docs/adr/0003-s3-object-storage-with-seaweedfs-dev.md — IFileStorage S3 abstraction, SeaweedFS weed mini dev parity, AWS S3 production, and volume separation
    • docs/adr/0004-idempotency-claim-tokens-and-optimistic-concurrency.md — upload Idempotency-Key + SHA-256 hash, TranscriptRevision concurrency, RefinementRequest replay deduplication, ClaimToken stale-result protection, and ExpectedRetryCount retry guard
    • docs/adr/0005-private-deployment-and-evolution-roadmap.md — explicit private single-user boundaries and sequenced roadmap (auth, playback, title editing, search, custom guidance, blog authoring, local AI providers)
  • Rewrote docs/FEATURES.md: Removed obsolete references (TanStack Start, Better Auth, PostgreSQL, Drizzle ORM, Anthropic Claude) and replaced with an accurate Live vs. Planned Capability Matrix, as-built pipeline documentation, and current SQLite schema overview.
  • Updated plans/current-state-assessment.md: Added a top historical snapshot banner clarifying it was assessed on 2026-08-23 against commit 3f48eb0 and superseded by the current architecture, with links to docs/adr/README.md, docs/JOB-QUEUE.md, and docs/FEATURES.md.
  • Updated README.md: Added an Architecture Decisions section linking to docs/adr/README.md, docs/FEATURES.md, and docs/JOB-QUEUE.md.

Verification

  • Verified all 36 relative markdown links across README.md, docs/, and plans/ resolve to real files in the repository.
  • Verified zero obsolete stack references remain in docs/FEATURES.md.
  • Confirmed via git status and git diff --stat that only documentation files were modified.

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