Skip to content

Prevent functional battery from overwriting staged user exports - #60

Merged
cloudcell merged 4 commits into
masterfrom
fix/export-selftest-isolated-staging
Oct 15, 2026
Merged

cloudcell merged 4 commits into
masterfrom
fix/export-selftest-isolated-staging

Conversation

@cloudcell

Copy link
Copy Markdown
Owner

The first rc-26 extraction unexpectedly contained only exchange/.exp-probe because the functional battery runs a regular path-mode labloop-export and replaces the user's staged manifest/tarball. Add labloop-export --self-test <exchange-file> with a private mktemp staging area under the already owner-restricted export directory, shared serialization lock, archive/hash/manifest verification, and cleanup on exit. Switch battery to self-test; document why default extraction prefers a staged user path-mode snapshot and how to explicitly request --all. Tests ensure battery cannot overwrite normal staging. This addresses the confirmed data-lifecycle defect, not historical LightDM/OpenCode warnings.

@cloudcell
cloudcell merged commit 77e30b5 into master Oct 15, 2026
7 checks passed
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