Skip to content

docs: refresh for S3 storage migration and correct stale facts - #270

Merged
martsokha merged 1 commit into
mainfrom
docs/s3-storage
Sep 5, 2026
Merged

docs: refresh for S3 storage migration and correct stale facts#270
martsokha merged 1 commit into
mainfrom
docs/s3-storage

Conversation

@martsokha

Copy link
Copy Markdown
Member

Refreshes the documentation after the NATS→S3 blob-storage migration (#268), plus a full accuracy pass that turned up several unrelated stale facts.

Storage (the migration)

  • NATS no longer does object storage — documents and other first-party blobs now live in an S3-compatible store (RustFS by default). Updated ARCHITECTURE.md, PROVIDERS.md, docs/README.md, top-level README.md, CONTRIBUTING.md, CHANGELOG.md.
  • SECURITY.md: added a Document Encryption at Rest section — blob bytes are encrypted with the per-workspace key before the store, so the store only ever holds ciphertext (the backend choice never widens the trust surface).

Correctness fixes found during review

  • CHANGELOG.md: JWT signing is Ed25519 (EdDSA), not RSA; removed the non-existent RAG/embeddings/semantic-search feature; completed the crate list (was 6, workspace has 9).
  • CONTRIBUTING.md: Rust 1.95 (was 1.92, per Cargo.toml); Apache-2.0 (was MIT); added the blob-store requirement.
  • ARCHITECTURE.md: added nvisy-s3 / nvisy-object / nvisy-inference to the crate table; dropped the hardcoded crate count; the /health/ endpoint reports four components (Postgres, NATS, blob store, webhook), not two.
  • docker/README.md: dev quick-start runs nvisy-cli (there is no nvisy-server binary); RustFS health probe is /health/ready.
  • crates/nvisy-webhook/README.md: the HTTP client is the reqwest module, not a nvisy-reqwest crate.

Removed: "Context Files"

ARCHITECTURE.md and INTELLIGENCE.md described a Context Files feature (encrypted JSON context blobs + a CRUD/multipart API) that has no backing code — no model, table, handler, or route. Removed the references; the doc↔code gap is tracked in #269 (decide whether it was superseded by Policies or is still to be built).

Notes

  • CLAUDE.md had the same stale crate list / tech-stack; it is gitignored, so it was fixed locally but is not part of this PR.
  • Docs-only change; no code touched.

🤖 Generated with Claude Code

Bring the docs in line with the current code after the NATS→S3 blob-storage
migration, and fix unrelated staleness found while reviewing:

Storage:
- NATS no longer does object storage; documents/blobs live in an
  S3-compatible store (RustFS by default). Updated ARCHITECTURE, PROVIDERS,
  docs/README, README, CONTRIBUTING, and CHANGELOG accordingly.
- SECURITY: add a "Document Encryption at Rest" section (blobs encrypted with
  the workspace key before the store; the store holds only ciphertext).

Correctness fixes:
- CHANGELOG: JWT is Ed25519 (EdDSA), not RSA; drop the non-existent
  "RAG pipeline with embeddings/semantic search"; complete the crate list.
- CONTRIBUTING: Rust 1.95 (not 1.92); Apache-2.0 (not MIT); add the blob-store
  requirement.
- ARCHITECTURE: add nvisy-s3/nvisy-object/nvisy-inference to the crate table;
  drop the wrong crate count; health endpoint reports four components
  (Postgres, NATS, blob store, webhook), not two.
- docker/README: run `nvisy-cli` (not the non-existent `nvisy-server` binary);
  RustFS health probe is `/health/ready`.
- nvisy-webhook README: the HTTP client is the `reqwest` module, not a
  `nvisy-reqwest` crate.

Removed the "Context Files" feature description from ARCHITECTURE and
INTELLIGENCE — no such model/handler/table/route exists (tracked in #269).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018bKk1YEG4tZ69jzYVQvQL8
@martsokha martsokha added docs improvements, updates or additions to docs nats messaging, job queues, object storage s3 S3-compatible blob storage (files, audits, avatars) labels Sep 4, 2026
@coderabbitai

coderabbitai Bot commented Sep 4, 2026

Copy link
Copy Markdown

Warning

Review limit reached

Next included review available in 6 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available. Your 62 included PR review attempts over the past 7 days set your current allowance at 1 review per hour.

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Essentials

Run ID: d2b99fc6-0b6e-4d0f-9815-eecfb9b4098d

📥 Commits

Reviewing files that changed from the base of the PR and between b9ba40f and c188bb3.

📒 Files selected for processing (10)
  • CHANGELOG.md
  • CONTRIBUTING.md
  • README.md
  • crates/nvisy-webhook/README.md
  • docker/README.md
  • docs/ARCHITECTURE.md
  • docs/INTELLIGENCE.md
  • docs/PROVIDERS.md
  • docs/README.md
  • docs/SECURITY.md

Comment @coderabbitai help to get the list of available commands.

@martsokha martsokha self-assigned this Sep 5, 2026
@martsokha
martsokha merged commit b68d97c into main Sep 5, 2026
9 checks passed
@martsokha
martsokha deleted the docs/s3-storage branch September 5, 2026 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs improvements, updates or additions to docs nats messaging, job queues, object storage s3 S3-compatible blob storage (files, audits, avatars)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant