Skip to content

Harden installer, add CHANGELOG for v0.1.0 - #4

Merged
ankamteja merged 2 commits into
mainfrom
feat/rag-web
Aug 20, 2026
Merged

Harden installer, add CHANGELOG for v0.1.0#4
ankamteja merged 2 commits into
mainfrom
feat/rag-web

Conversation

@ankamteja

Copy link
Copy Markdown
Owner

Installer now pulls the Vulkan GPU packages and the RAG pipeline, mints the key with python (Termux has no openssl), runs a preflight, and is idempotent. fetch-model.sh pins and verifies the model SHA256 (verified against the device). Adds CHANGELOG.md for the v0.1.0 release. Shellcheck clean, 60 tests passing.

The installer had two real defects. It minted the API key with `openssl rand`,
which Termux does not ship, so a fresh setup failed at the key step; it now uses
python's secrets module, which is always present. And it installed only the CPU
build, so a fresh phone silently ran everything on the CPU at a quarter of the
speed; it now pulls the Vulkan backend and Mesa's turnip driver that put prompt
processing on the Adreno GPU.

It also installs the RAG pipeline (ragcore plus the three entry points) and the
python runtime, runs a preflight (Termux present, aarch64, enough free space)
that fails early with a clear message, prints a GPU-detected line when Vulkan
comes up, and is idempotent — an existing key is never overwritten.

fetch-model.sh now pins and verifies the model's SHA256: it skips the download
when the file is already present and correct, and fails loudly on a mismatch
instead of leaving a corrupt model in place. Verified against the model on the
device — the pinned hash matches and a re-run exits without re-downloading.
@ankamteja
ankamteja merged commit fc2b655 into main Aug 20, 2026
4 of 6 checks passed
@coderabbitai

coderabbitai Bot commented Aug 20, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 5640e517-1b1b-46ab-a1c5-70903613d054


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

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