§
Sovereign.Software
↓ .MD

Escape Hatches

Sovereignty is only real if you can leave. Practical, verifiable migration runbooks for moving essential records and workflows out of proprietary cloud silos into durable, user-controlled substrates.

Authority over software is tested most sharply at the moment of departure. A service that allows you to create work easily but traps your history, relationships, or ongoing capability when you try to leave violates Principle I (Sovereignty) and fails the framework’s minimum eligibility requirements (E1 Independent access, E2 Practicable exit, E3 Independent recovery, and E4 Continuing authority over already-created work).

This page provides practical Escape Hatch runbooks across the framework’s software domains. Each runbook pairs open command-line extraction and verification tools with the rules of the Sovereign Software Evaluation Methodology:

  1. An export button (E1) is not a practicable exit (E2): Downloading a ZIP file does not prove you can leave. A real exit requires verifying that essential records, structural relationships, units, and metadata defined in the domain preservation profile (Section 1 of the methodology) survive into an independent tool.
  2. A raw data dump is not independent recovery (E3): Preserving bytes without the schema, context, and tooling needed to interpret them leaves work unusable once the original service disappears.
  3. Synchronization is not a backup (T2, T5): Mirroring a cloud mailbox or folder locally replicates deletions and corruption unless paired with versioned, user-controlled snapshots (Git, restic, or BorgBackup).
  4. No migration is promised to be lossless: Every runbook states explicitly what survives, what must be verified, and what convenience layers or proprietary structures are lost during transition.

The four-stage exit and verification protocol

Before closing an account or canceling a subscription, execute the same verification sequence used in Stage 2 and Stage 4 of our laboratory evaluation protocol:

StageActionFramework requirement & testWhat to verify before proceeding
1. Pre-withdrawal extractionExport all records, attachments, schemas, and history while your account and credentials are still active.E1 (Independent access)
T1 (Ownership and exit)
Never assume a provider will grant a special export after a subscription lapses or a service shuts down.
2. Fixity and baseline preservationStore an untouched, read-only copy of the raw export archive and record its cryptographic checksums (sha256sum).E3 (Independent recovery)
T2 (Preservation and recovery)
Keep the original archive alongside your converted files so you can re-run conversions if a script drops metadata.
3. Domain profile auditImport or convert the records into an independent tool and compare against the relevant Domain Preservation Profile.E2 (Practicable exit)
T6 (Interoperability)
Check record counts, internal links, dates, units, balances, and attachments - not just whether a file opens without crashing.
4. Isolated offline verificationDisconnect network access (or use a clean machine without vendor credentials) and perform routine work on the migrated dataset.E4 (Continuing authority)
T3 (Offline independence)
Confirm that reading, searching, editing, and building work locally without calling back to the former provider.

1. Knowledge Bases, Notes & Personal Wikis (knowledge_notes profile)

Extraction and verification commands

# 1. Preserve a read-only checksummed baseline of the vendor export archive
sha256sum notion_workspace_export.zip > notion_workspace_export.zip.sha256

# 2. Convert HTML or DOCX exports into clean CommonMark with YAML front matter
pandoc input_export.html -f html -t commonmark_x --wrap=none --standalone -o note.md

# 3. Verify record counts, embedded media paths, and broken wikilinks across the vault
rg --files ~/Vault | wc -l
rg "\!\[\[.*\]\]|\[.*\]\((?!https?:\/\/)([^)]+)\)" ~/Vault

Alignment with the four principles and E1–E5

Migration caveats and acceptable vs. unacceptable loss


2. Financial Ledgers & Task Management (finance_tasks profile)

Extraction and verification commands

# 1. Validate double-entry accounting integrity and balance assertions offline
bean-check personal_ledger.beancount
bean-query personal_ledger.beancount "SELECT account, sum(position) GROUP BY account ORDER BY account;"

# 2. Equivalent verification and balance sheet check using hledger
hledger -f personal_ledger.journal check --strict
hledger -f personal_ledger.journal balancesheet

Alignment with the four principles and E1–E5

Migration caveats and acceptable vs. unacceptable loss


3. Research, Citations & Scientific Computing (research_bibliographic profile)

Extraction and verification commands

# 1. Verify item and attachment counts directly in a local Zotero SQLite database
sqlite3 ~/Zotero/zotero.sqlite "SELECT COUNT(*) FROM items WHERE itemTypeID NOT IN (1, 14);"

# 2. Validate exported BibTeX syntax and check for missing DOIs or duplicate citation keys
bibtool -s -d references.bib -o references_checked.bib

# 3. Verify that all linked PDF attachments exist on local disk and record hashes
find ~/Zotero/storage -type f -name "*.pdf" -exec sha256sum {} + > pdf_attachments.sha256

Alignment with the four principles and E1–E5

Migration caveats and acceptable vs. unacceptable loss


4. Engineering, CAD & Parametric Design (cad_engineering profile)

Extraction and verification commands

# 1. Inspect the XML feature tree inside a local FreeCAD project archive (.FCStd)
unzip -p assembly.FCStd Document.xml | head -n 40

# 2. Rebuild a parametric code-CAD model deterministically offline from command line
openscad -o enclosure_rev2.stl --export-format binstl -D 'wall_thickness=2.4' enclosure.scad

# 3. Run KiCad Design Rule Check (DRC) and export Gerber fabrication files offline
kicad-cli pcb drc --output drc_report.json board.kicad_pcb
kicad-cli pcb export gerbers --output ./gerbers/ board.kicad_pcb

Alignment with the four principles and E1–E5

Migration caveats and acceptable vs. unacceptable loss


5. Version Control & Core Infrastructure (vcs_core profile)

Extraction and verification commands

# 1. Clone a complete bare mirror (all branches, tags, pull-request refs, and notes)
git clone --mirror https://example.com/org/project.git project.mirror.git

# 2. Fetch all Git LFS binary objects locally so no external object store is required
git -C project.mirror.git lfs fetch --all

# 3. Package the entire repository into a single offline-verifiable archival file
git -C project.mirror.git bundle create ../project_complete.bundle --all
git bundle verify ../project_complete.bundle

Alignment with the four principles and E1–E5

Migration caveats and acceptable vs. unacceptable loss


6. Communications, Mailboxes & Credential Custody (T5 Security & Continuity)

Extraction and verification commands

# 1. Synchronize remote IMAP folders into local Maildir files and index for offline search
mbsync -a && notmuch new
notmuch count "date:2020..2026"

# 2. Verify integrity and exportability of a local KeePassXC (.kdbx) vault using user-held keys
keepassxc-cli db-info ~/Vaults/credentials.kdbx

# 3. Create an encrypted, deduplicated, versioned snapshot of local Maildir and vaults
restic -r /backup/restic-repo backup ~/Maildir ~/Vaults && restic -r /backup/restic-repo check

Alignment with the four principles and E1–E5

Migration caveats and acceptable vs. unacceptable loss


Summary matrix: What survives and what to audit across domains

Domain profileSource siloTarget sovereign substrateEssential records that must survive (E1–E3)Primary migration risk to audit (T1, T2)
knowledge_notesNotion, Evernote, RoamLocal Markdown / Org directory + GitProse, headings, internal links/backlinks, attachments, front matterRelational database views, inline comments, broken relative link paths
finance_tasksYNAB, Cloud AccountingBeancount, hledger, GnuCash, ActualDouble-entry postings, commodities, dates, reconciliation states, balancesFlattened split transactions, missing opening balances, rounding drift
research_bibliographicMendeley, EndNote WebZotero (SQLite + CSL JSON / BibTeX), JabRefBibliographic metadata, DOIs, collections, PDFs, annotations, citation keysBroken word-processor citation links if re-imported via export rather than DB copy
cad_engineeringFusion 360, OnshapeFreeCAD, OpenSCAD, CadQuery, KiCadExact 3D/2D geometry, units, tolerances, schematics, PCB layoutsLoss of parametric feature tree and sketch constraints when exporting only STEP/STL
vcs_coreGitHub, GitLab SaaSGit bundle, Forgejo, Fossil, JujutsuFull commit DAG, branches, tags, cryptographic hashes, authorshipUnfetched Git LFS objects, external issue trackers, PR review comments
Communications & CustodyWebmail, Cloud VaultsLocal Maildir (mbsync/notmuch), KeePassXC, PassRFC 5322 messages, attachments, credentials, TOTP seeds, custom fieldsSyncing deletions without versioned backup (restic/Borg); unshredded temp CSVs