Bootstrap project and safe work-item workflow

This commit is contained in:
2026-07-13 13:51:41 +02:00
commit 80447092e9
90 changed files with 10562 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
# US04-03 — Apply and Verify Guarded Renames
Epic: [E04](../E04-guarded-renaming.md)
As a user, I want confirmed plans applied without overwrites so reorganizing the
library preserves identity and bytes.
## Acceptance criteria
- Apply requires current plan/version confirmation and an exclusive mutation lease.
- Preconditions are rechecked immediately before each mutation; unexpected targets
are never overwritten.
- Case-only and cross-filesystem operations use safe staged procedures.
- Postconditions verify bytes and paths, update occurrences, and reconcile stable IDs.
## Automated tests
- Filesystem integration tests cover normal, case-only, collision, cross-filesystem,
stale source, and repeated apply.
- Tests assert byte preservation and database/path consistency after restart.
## Dependencies
- US04-02