Repository navigation
ShellGuard v0.0.1.8
π¦ ShellGuard β Release v0.0.1.8
Canonical Compliance & Full Documentation Bridge Parity β Official Privacy Policy, Mobile Companion Portal, and Ground-Truth Architecture
βββββββββββ ββββββββββββββ βββ βββββββ βββ βββ ββββββ βββββββ βββββββ
βββββββββββ ββββββββββββββ βββ βββββββ βββ βββ ββββββββ ββββββββ ββββββββ
ββββββββββββββββββββββ βββ βββ βββ ββββ βββ βββ ββββββββ ββββββββ βββ βββ
ββββββββββββββββββββββ βββ βββ βββ βββ βββ βββ ββββββββ ββββββββ βββ βββ
βββββββββββ βββββββββββββββββββββββββββ βββββββββββββββββ βββ βββ βββ βββ ββββββββ
βββββββββββ βββββββββββββββββββββββββββ βββββββ βββββββ βββ βββ βββ βββ βββββββ
~ **ClawStack Mobile StudiosΒ©β’** ~
π The Core Summary
Welcome to v0.0.1.8 of ShellGuard! This release establishes the official, canonical Privacy Policy required for Google Play Store compliance, introduces a dedicated ShellGuard-TOTP Native Companion Documentation Portal, and achieves 100% two-sided bridge parity between our runtime codebase and user documentation.
We resolved documentation drift across database schemas, published missing top-level index portals (/vault-features/, /deployment/, /reference/), documented Bitwarden-style custom fields, Native LAN TLS (TLS_ENABLED=true), and .sgtotp.bak Android backup decryption, and aligned the 3-Step Rapid Onboarding lifecycle (Configure & Generate Keys β Start & Verify Container β Launch Vault & Molt Identity) across all documentation entry points.
π Key Themes & Highlights
βοΈ 1. Official Privacy Policy & Google Play Store Compliance
- Canonical Hosting at
/privacy: Published the official privacy policy in the permanent VitePress portal (docs/privacy.md), publicly accessible via GitHub Pages for mobile app store review guidelines. - Dedicated ShellGuard-TOTP Specification (Section 5): Added deep-link anchor
{#shellguard-totp-android-companion}with a Google Play Data Safety Fast-Card table confirming zero data collection, zero analytics, zero trackers, and zero third-party sharing. - Hardware Permission Disclosures: Detailed explicit technical scopes for
android.permission.CAMERA(ephemeral in-memory frame analysis; zero frames saved to disk or cache), Biometrics (hardware enclave isolation via Android KeyStore with zero biometric credential leakage), and Storage Access Framework (scoped user-initiated.sgtotp.bakbackup export/import without broad media permissions). - Display Shielding: Documented
FLAG_SECUREwindow protection blocking screen captures, screen sharing, and task-switcher previews.
π± 2. ShellGuard-TOTP Native Mobile Companion Documentation Suite
-
System Topology & Mirror Sync (
docs/companion/index.md): Formalized the One-Way Mirror Sync architecture distinguishing sovereign local tokens from read-only mirrored vault credentials with interactive Mermaid dataflow diagrams. -
Hardware Security & KeyStore Enclaves (
docs/companion/security.md): Deep-dived into TEE and StrongBox Keymaster AES-GCM-256 key wrapping,BiometricPromptzero-knowledge biometric isolation, memory zeroization, and auto-lock lifecycles. -
Encrypted Backups Wire Format (
docs/companion/sync-and-backups.md): Specified theshellguard-totp-backup-v1envelope, HKDF-SHA256 derivation, AES-GCM-256 authenticated encryption with AAD (totp_backup:{ownerUuid}), and SHA-256 integrity verification. -
RFC 6238 TOTP Engine (
docs/companion/totp-engine.md): Detailed the mathematical time-step algorithm ($T = \lfloor (t - T_0)/X \rfloor$ ), dynamic truncation, HMAC-SHA1/256/512 support, RFC 4648 Base32 sanitization,otpauth://URI parameter decoding, and CameraX + ML Kit barcode analysis.
π 3. Two-Sided Bridge Parity & Documentation Hubs
- Top-Level Index Hubs: Built missing portals for
docs/vault-features/index.md,docs/deployment/index.md, anddocs/reference/index.mdto eliminate navbar 404s and provide clear<CardGrid>navigation. - Database Schema Ground Truth: Reconciled
docs/reference/blueprint-schema.mdwith runtime reality (lobsterstable name,agent_keystable name,idprimary keys,custom_fieldscolumn, andaudit_logsinaudit.sqlite). - Bitwarden-Style Custom Fields: Documented
Text,Hidden,Checkbox, andLinkedfield types with client-side ShellCryption AAD namespaces indocs/vault-features/the-grotto.md. - Native LAN TLS & WebCrypto Fallback: Documented
TLS_ENABLED=true(self-signed 10-year EC P-256 certificate generation with dynamic LAN SANs) and pure TypeScriptwebCryptoFallback.tsfor non-secure HTTP LAN contexts. - Onboarding Alignment: Realigned the 3-Step Rapid Onboarding lifecycle (Configure & Generate Keys β Start & Verify β Launch Vault & Molt Identity) across
docs/index.md,docs/getting-started/quickstart.md, anddocs/deployment/docker.md.
π§ͺ 4. Full Verification Loop & Test Stabilization
- Sequential Test Isolation: Configured
fileParallelism: falseinvitest.config.ts, eliminating port collisions and SQLite migration lock contention across full-suite test runs. - 100% Green Test Oracle: 202 unit and integration tests passing across all 13 suites (0 failures, 1 skipped).
- Zero-Warning Production Documentation: VitePress build passes 100% clean with zero broken links and zero syntax warnings (
npm run docs:buildin 37.3s). - Strict TypeScript Type Safety: Clean compilation with zero errors (
tsc --noEmit).
ποΈ Architectural Topology Map
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β π₯οΈ ShellGuard Web Vault (:6464) β
β β’ Sovereign zero-knowledge vault for logins, notes, SSH keys, attachments β
β β’ Client ShellCryption (hu- master key) + Bitwarden-style Custom Fields β
β β’ Client-side sgtotp.bak format sniffing & HKDF/AES-GCM decryption engine β
ββββββββββββββββββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββββ
β
One-Way Mirror Sync β (GET /api/vault read-only cache)
and .sgtotp.bak export β
βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β π± ShellGuard-TOTP Android Companion β
β β’ Hardware KeyStore (TEE / StrongBox AES-GCM-256) β
β β’ BiometricPrompt unlock + FLAG_SECURE window screenshot suppression β
β β’ RFC 6238 TOTP Engine (HMAC-SHA1/256/512) + CameraX in-memory scanner β
β β’ Sovereign Local Codes exported to encrypted .sgtotp.bak archives β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
π¦ Changes by Layer
| Component | Files | Description |
|---|---|---|
| Compliance & Privacy | docs/privacy.md |
Canonical Privacy Policy with Section 5 ShellGuard-TOTP Android store disclosures. |
| Mobile Companion Docs | docs/companion/*.md |
4 comprehensive guides: Index/Topology, Security, Sync & Backups, and RFC 6238 Engine. |
| Index Portals | docs/{vault-features,deployment,reference}/index.md |
3 new top-level documentation hubs with <CardGrid> navigation. |
| Technical Reference | docs/reference/blueprint-schema.md, design-system.md, glossary.md |
Ground-truth database schemas, design tokens, 6 theme palettes, and lexicon glossary. |
| Deployment & Ops | docs/deployment/docker.md, reverse-proxy.md, unraid.md |
Complete Docker Compose guide, Native LAN TLS, and Unraid setup. |
| Onboarding | docs/index.md, docs/getting-started/quickstart.md |
Realigned 3-Step Rapid Onboarding lifecycle (Configure β Start β Launch). |
| Navigation & Theme | docs/.vitepress/config.ts |
Added Mobile Companion nav, sidebar entries, and index routing. |
| Test Stability | vitest.config.ts |
Configured fileParallelism: false for zero-contention test execution. |
π Commit Ledger (Since v0.0.1.7)
ddc35f5β docs: add official privacy policy and ShellGuard-TOTP store disclosures124e4abβ docs: document privacy policy in CHANGELOG.md80babe5β merge: add official privacy policy and ShellGuard-TOTP store disclosuresacab2abβ docs: add ShellGuard-TOTP native companion documentation suite700c18cβ merge: add ShellGuard-TOTP native companion documentation suite1244c5fβ docs: achieve two-sided bridge parity across documentation and runtime architecturee61675bβ merge: achieve two-sided bridge parity across documentation and runtime architecture
π Upgrade & Verification Instructions
Upgrading via Docker / Unraid
docker pull ghcr.io/clawstackstudios/shellguard:v0.0.1.8
docker restart shellguardUpgrading from Source
git fetch --tags
git checkout v0.0.1.8
npm install
npm run build
npm run scuttle:prod