Implement E2E core design#320
Merged
Merged
Conversation
… docs Switch the file-hashing algorithm from BLAKE3 to SHA-256 (sha2 + hex crates) across capsule-core, capsule-api entity/upload/migration, and all sidecar/DB column references (hash_blake3 → hash_sha256). A new DB migration is added; existing hash values are incompatible and will be invalidated on upgrade. Also correct residual "pixles-*" / "Pixles" references in GitHub issue templates, AGENTS.md, and SECURITY.md to their Capsule equivalents, and expand AGENTS.md with the full code-style guide.
Replace the autogenerated Design sidebar with an explicit ordered hierarchy (Foundations → Cryptography → Identity & Access → Storage → Import/Sync → Sharing → Clients → Threat Model) so navigation follows logical reading order rather than directory order. Substantially expand ai.md, authentication.md, and authorization.md: add Validation sections with unit/smoke test checklists per contract-driven methodology, a canonical model-inventory table (v1-committed slots + post-v1 candidates), Embedding Provenance invariants (model_id/version tuple, stale-flag, platform-partition E2EE fallback), algorithm implementations (Video-as-Sparse-Photos, Re-ID, HNSW search), and update all cross-references to the new per-page URL structure from earlier design-doc splits. Sync the Self-validation code-style bullet from CLAUDE.md into AGENTS.md so agent and human instructions stay in step.
cd6498e to
fdde854
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.