Fix xovi checksum validation and harden extension lifecycle#8
Merged
Conversation
Root cause: QMD files lack .gitattributes protection, so Windows core.autocrlf=true converts LF→CRLF, breaking all SHA-512 checksums. Fixes: - Add .gitattributes to enforce LF line endings for QMD and shell files - Normalize line endings before hashing (defense-in-depth) in manifest generation, validation script, and runtime verification - Add runtime checksum verification before deploying to device - Check vellum reenable status before xovi deploy (was only on install) - Clean orphaned QMD files before vellum removal - Persist rebuild_hashtable warnings in done event (was ephemeral) - Show supported firmware version range in UI when firmware unsupported - Add structured error details and operation names to ErrorDetails - Parse vellum errors into actionable user hints (6 categories) Tests: 13 new integration tests (full xovi lifecycle via mock SSH), 12 unit tests (normalizeLF, sha512Normalized, verifyQmdChecksum), 9 tests for parseVellumErrorHint. All 1027 tests passing. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…um troubleshooting - Add "Updating to a new version" section in quickstart with clear git pull + docker compose up workflow - Add one-liner upgrade note to README Quick Start - Fix cd path typo (remarkable_templates → RemarkableCustomTemplates) in both README and quickstart - Add checksum validation troubleshooting entry in xovi docs pointing to PR #8 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.
Summary
.gitattributesto enforce LF line endings on QMD files — Windowscore.autocrlf=truewas converting LF→CRLF, breaking all SHA-512 checksums during xovi validationTest plan
normalizeLF,sha512Normalized,verifyQmdChecksum(including tamper detection and full manifest sweep)parseVellumErrorHint(checksum, reenable, network, missing package, disk space, integrity, generic)🤖 Generated with Claude Code