Conversation
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.
Adds a compact trusted-loopback notebook that embeds short titled notes on CPU with a pinned all-MiniLM-L6-v2 revision, stores text/vector atomically, and retrieves original excerpts with exact cosine search. Revisioned row-locked saves reject stale edits, including slower old inference; a database trigger enforces the 100-note bound.
Includes explicit Cloud bootstrap/CA verification/restricted roles, offline model-cache startup, fixed full collection metadata, bounded cancellable worker admission, native fixed-Origin protection, useful server-rendered forms, exact dependency pins and a scoped CI workflow. The shared runtime DB role is trusted; there is no application authentication, generated-answer claim or approximate-search benchmark.
Validation on Ubuntu 24.04 ARM64, PostgreSQL 18.6 / pgvector 0.8.6: clean locked install and offline real-model preflight, fresh migrations up/down/up, 5 unit cases, 10 full Cloud cases plus 1 added HTTP input-boundary case, real browser add/edit/search/stale-form checks, and process replacement 5523→5990 preserving complete notes, vector bytes and exact search results. Competing HTTP updates observed actual Cloud row-lock waits and yielded 200/409; commit-time failure rolled back text/vector/revision. Negative CA and hostname controls reached certificate-specific failures. Python Playwright 1.56.0 is pinned. Raw failed helper attempts and corrected results are preserved privately; fixtures are not counted as additional tests.
Companion article and raw evidence remain local for review. The owned Cloud fixture was authorized for deletion after independent review; no Cloud credentials or model cache are committed.