Repository navigation
Releases
InkKit v1.0.0
InkKit v1.0.0
InkKit was formerly named XTEINK SD Migrator. The v1.0.0 source archives retain
the original startup name and xteink_sd_migrate.py entry point; this release-page
rename does not change the tagged code or backup format.
The first stable release of the dependency-free macOS CLI for replacing a
CrossInk-compatible XTEINK microSD card. Python 3.9+ is required.
Included
- Stable
xteink_sd_migrate.pyentry point, with 1.0.0 at startup and through--version. - Verified ZIP/manifest/checksum backups, guarded target formatting/restoration,
full SHA-256 and directory readback, and safe eject. - Read-only backup verification and target preflight, plus journal-bound no-format
inspection/resume for eligible interrupted jobs. - Valid legacy
xteink-x3-migrate-v1backup compatibility, historical backup names
and the private Git-ignoredxteink-x3-backup/directory beside the script. - ZIP64 resource-limit and root-dot path protections, and narrowly confirmed
internal Apple Fabric APFS storage detection when macOS reports an unknown
physical label. Source/protected-storage checks and both erase confirmations remain. - Documented v1 compatibility commitments for the CLI, valid legacy backups and
standard-library operation.
Validation
Release commit: ef927dc8b62f662e60f99e40280bfae4392cd608.
Exact-commit macOS CI
passed on Python 3.9 and 3.12: 166 synthetic tests per job, compilation, CLI
smoke checks and source-publication audits. Final local validation also passed
166 tests. The GitHub-generated source ZIP contains exactly the 32 reviewed public
source files, byte-matching this commit, and runs --version/--help in isolation.
Tests and CI do not format real cards.
The reviewed X3 report
covers a 32 GB to 16 GB FAT32/MBR migration on runtime revision 505c1c5:
backup verification, restore, 227 SHA-256 matches, 37 directory checks and safe
eject completed. The owner then confirmed the reader-use checklist was fully working.
The final release differs in runtime sources only by version/module metadata;
it was not separately physically retested. Exact firmware build, OS/Python
versions and reader make/model were not recorded.
Scope and limitations
X3 is the only full physical acceptance requirement for v1.0.0. X4, Classic,
Pro and other compatible shared-layout models retain file-level implementation
support but remain physically unvalidated. exFAT and real-card interruption/resume
were not physically validated in this session; recovery fault coverage is synthetic.
macOS only. Conservative disk checks may reject legitimate readers. Hotplug races
and hardware durability cannot be eliminated. There is no cross-model/firmware
settings conversion, firmware flashing or validated destructive USB Drive mode.
Normal migration and new restore erase the entire selected target. Preserve the
original card and verified backups. Backups can contain credentials and are not
encrypted; protect them and never upload them. Download and extract the complete
GitHub-generated source ZIP or tar.gz so all runtime helpers stay together.
No extra binary, backup or private-data assets are attached to this release.
0.1.0-beta.3 — Backup verification and restore recovery
0.1.0-beta.3 — Backup verification and restore recovery
This prerelease adds independent backup verification, read-only target preflight
and journal-bound recovery for interrupted restores. Runtime remains macOS,
Python 3.9+ and the standard library, with the stable xteink_sd_migrate.py entry point.
Changes since beta.2
--verify-backup BACKUP.zipchecks the legacy manifest, whole ZIP SHA-256,
archive entries and every file hash without querying an SD card.--restore BACKUP.zip --dry-runpreviews identity, protected storage, capacity
and filesystem limits without formatting, copying, creating backup/journal/lock
files or ejecting.--check-restore BACKUP.zipand--resume BACKUP.zip --dry-runinspect a
journal-bound interrupted target without writes.- Confirmed
--resume BACKUP.zipnever formats. It preserves verified complete
files, creates missing files and appends only to the recorded partial file after
checking every existing byte against the backup. Conflicts or unexpected data
stop recovery. Full file/tree verification and eject precede journal cleanup. - Private recovery journals/locks are ignored by Git and excluded from source
exports. Tests cover root/nested files and forced staging. - Add journal persistence, ENOSPC, sync-error, Ctrl-C, completion-checkpoint and
cleanup-failure tests with verified retries. Update recovery and release guides.
Compatibility and privacy
The xteink-x3-migrate-v1 schema, v1.6 backups, historical backup names and
xteink-x3-backup/ beside the script remain compatible. The workflow is model-neutral
for compatible CrossInk XTEINK layouts, including X3 and X4-family devices.
Normal restores retain the guarded erase entry point, both erase confirmations,
source-card protection, protected-storage and mount checks. Backups and journals
stay local and are not encrypted. This release contains reviewed Git source only;
there are no attached backups, reader data, logs or private owner instructions.
Validation
- Merged-main macOS CI
passed on Python 3.9 and 3.12 for commit74087bf42c6c123639a00ccd610443b1999d736d.
Each job passed 153 synthetic tests, publication audits, compilation and CLI checks. - Local Python 3.12.2: 153 full tests, Python 3.9 grammar, version/help and 44 local
documentation targets passed. An audited 30-file source export matched Git and
passed isolated CLI checks; its tree equals the merged release candidate. - No real backup was inspected or real SD card formatted during development/testing.
Known limits
Automatic resume requires the new matching journal and recorded target UUID. Older
interrupted jobs, interruptions during format or before journal creation, conflicting
bytes and damaged filesystems cannot be automatically recovered. A directory-sync
failure after journal rename can leave a newer journal visible; normal recovery
reloads and validates it before writing.
Dry-run cannot establish actual post-format free space. Hotplug races and cloned
UUID ambiguity cannot be eliminated. Physical evidence remains the historical X3
migration with the internal v1.6 predecessor. The new public workflow and other
device/card/reader combinations still need hardware validation.
Keep the original card and verified backup until the replacement works in the reader.
0.1.0-beta.2 — CrossInk XTEINK device support
Model-neutral CrossInk-compatible XTEINK card migration and an expanded open-source project setup.
- X3, X4, X4 Classic, X4 Pro and other CrossInk-compatible XTEINK devices share the same file-level workflow. CLI prompts and replacement volume labels are model-neutral.
- The compatibility guide cites upstream firmware/layout documentation and separates implementation scope from physical migration evidence. X4 and other physical combinations remain unvalidated; the historical hardware report is one X3 migration with internal v1.6.
- Legacy
xteink-x3backup names andxteink-x3-migrate-v1manifests remain compatible. Existing backups stay local and are not part of the release. - README refreshed with original SVG artwork, badges, quick start, workflow diagram, technology and documentation maps.
- Added security policy, contributor/agent guidance, PR template, changelog, source-only publication guard, and local pre-commit/pre-push hooks.
- CI uses pinned Actions, non-persistent checkout credentials, and full worktree/index/reachable-history privacy audits.
Validation: all 99 synthetic tests passed locally and in macOS CI on Python 3.9 and 3.12; compilation, CLI version/help, documentation links and GitHub README rendering passed. No real SD cards were formatted. Runtime remains dependency-free. Model support is not hardware certification; all existing disk-safety checks still apply.
0.1.0-beta.1
Initial public beta for file-level CrossInk/CrossPoint XTEINK X3 microSD backup and migration on macOS. Python 3.9+, standard library only.
- Stable
xteink_sd_migrate.pyentry point with startup version and--version. - Verified ZIP backup, legacy v1 manifest compatibility, hidden reader data and byte progress preserved.
- New backups stay in the ignored
xteink-x3-backup/folder beside the script. - Guarded erase policy protects source data, backup/program/system storage, and checks target identity and physical mount ownership.
- Strict ZIP/manifest validation and directory-descriptor restore protect against unsafe extraction and stale mount paths.
Validation: 83 synthetic tests passed locally on Python 3.12 and in macOS CI on Python 3.9 and 3.12; compilation and CLI smoke checks passed. No real cards were formatted during validation. Live local diagnostics were unavailable in the restricted execution session.
Experimental: hardware evidence remains one successful migration using the internal v1.6 predecessor. Other models, firmware and readers remain unverified. Some devices are intentionally rejected when identity/removability cannot be confirmed. The selected target is permanently erased. Read README.md and docs/safety.md before use; preserve the original card and private backup. No backup files or user data are attached to this release.