docs(spec): record split delivered + backup deleted

Marks the split spec DELIVERED with the outcome: both repos verified, the
pre-split combined repo deleted, and the kept-@sims/kept-env decisions recorded.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
feat/client-detail-redesign
Thomas Joise 5 days ago
parent 715b8c5f8c
commit c03fddc699

@ -1,7 +1,30 @@
# Split SiMS into two independent projects: HQ and Store
**Date:** 2026-07-16
**Status:** Approved, pending implementation plan
**Status:** DELIVERED 2026-07-16 (executed directly, no separate implementation plan)
## Delivered — outcome
Both repos exist, are independently buildable/testable/runnable, and were red-teamed.
- **`C:/SiMS/hq`** — this repo. Inherited the full history. Apps `hq`, `hq-web`; trimmed
forks of `@sims/domain`, `@sims/auth`, `@sims/billing-engine`, `@sims/ui`. Typecheck
clean, **177 tests pass**. Server boots on :5182 against the real `data/hq.db` (225 KB)
**when launched from the repo root** (the DB path resolves against cwd — see README).
- **`C:/SiMS/store`** — apps `pos`, `store-server`, `backoffice`; full package set.
**Fresh single-commit history with zero HQ bytes** (rebuilt after an audit caught HQ
material in the first init). Typecheck clean, **205 tests pass**. Server boots on :5181.
Its copied dev DB is SQLCipher-encrypted — needs the correct `SIMS_DB_KEY` to open, else
start fresh.
- **`C:/SiMS/Store Software`** — the pre-split combined repo. **Deleted 2026-07-16**: all
contents removed; the empty folder shell could not be unlinked from within the session
that is rooted in it, to be removed by the user after reopening elsewhere.
Decisions held: shared code forked (not shared) so each repo is self-contained and free to
diverge; the `@sims/*` scope and `SIMS_*` env prefix are deliberately kept in both — they
resolve per-repo/per-process and never collide, so renaming them was declined as pure churn.
Transfer completeness verified: all 273 original tracked files land in one repo or the other
(zero orphans); every shared source module is byte-identical across the two.
## Why

Loading…
Cancel
Save