chore: consolidate new foundation and archive v1 (#1495)
This commit is contained in:
@@ -0,0 +1,95 @@
|
||||
# Repository conversion #1495 — local completion record
|
||||
|
||||
Owner instruction: "Nothing is working in the repo now. Get the conversion completed."
|
||||
Tracking: https://git.mosaicstack.dev/mosaicstack/stack/issues/1495.
|
||||
Coordinator: darkwing. Date: 2026-09-07 UTC.
|
||||
|
||||
## One authoritative checkout
|
||||
|
||||
- Canonical root: `/mnt/storage/src/mosaic-stack`.
|
||||
- New Mosaic Stack foundation: root-level source, scripts, contracts and docs.
|
||||
- Legacy Mosaic Stack: `v1/`, retained as archival source, not an active deployment.
|
||||
- Working branch: `refactor`.
|
||||
- Origin: `https://git.mosaicstack.dev/mosaicstack/stack`.
|
||||
- `/home/jwoltje/src/mosaic-stack-dev-test` is a compatibility symlink to the
|
||||
canonical root. It is not a second working tree.
|
||||
- Exactly one top-level `.git`; no nested `v1/.git`.
|
||||
|
||||
The original v2 repository is retained as the `stack-v2-archive` fetch remote;
|
||||
its push URL is deliberately disabled. No remote repository was deleted or pushed.
|
||||
The canonical branch has no automatically configured push/upstream authority.
|
||||
|
||||
## Git and pending-work preservation
|
||||
|
||||
Original heads:
|
||||
- v1: `5d2770002612a09ae0cadc129b4ea30619133e8a` (`next`).
|
||||
- v2: `9a5fbdbda74b16adf488fe28138b2ba69ea5e669` (`main`).
|
||||
|
||||
The local conversion merge preserves both histories. Its first parent is the v2
|
||||
head, its second parent is the v1 head. The selected root tree is v2; the exact
|
||||
tracked v1 tree is imported under `v1/`. This is not a merge into `next` or `main`.
|
||||
All v1 refs are additionally preserved below `refs/archive/v1/`; original v2 refs
|
||||
remain available. Accepted source/review SHA citations still resolve.
|
||||
|
||||
Only the 3,507 already-tracked v1 paths and these four conversion documentation
|
||||
paths belong to the conversion commit:
|
||||
- `AGENTS.md`
|
||||
- `README.md`
|
||||
- this completion record
|
||||
- `docs/plans/reviews/2026-09-07_repository-conversion-verification.json`
|
||||
|
||||
All earlier v2 tracked modifications, untracked inspector/source/reviews, ignored
|
||||
files and generated/dependency state were copied without bulk staging. They remain
|
||||
pending work, not silently committed or approved. Legacy ignored/local files were
|
||||
preserved on disk but were not automatically added to Git. No source implementation
|
||||
bytes, role authority or immutable inspector inputs were changed by the conversion.
|
||||
|
||||
## Verification
|
||||
|
||||
Full pre-cutover snapshots and staged copies matched file hashes, types, permissions,
|
||||
UID/GID, symlink targets and regular-file mtimes. Both sources were checked again
|
||||
for drift immediately before cutover. Post-cutover payload checks matched as well.
|
||||
Inventories: 4,149 v1 entries including Git metadata; 15,734 v2 entries including Git
|
||||
metadata/dependencies; 4,105 legacy payload entries excluding `.git`.
|
||||
|
||||
From the canonical checkout with synthetic HOME/TMPDIR and no provider credentials:
|
||||
- Inspector Node tests: 80 passed.
|
||||
- Inspector selftests: 43 passed.
|
||||
- Schema oracle: zero disagreements, 1,568 records.
|
||||
- Foundation checker: passed, with its existing synthetic/runtime limitations.
|
||||
- Config/auth/conductor tests: 24/15/17 passed.
|
||||
- Network/engine command guards were not invoked.
|
||||
- All 382 approved r6 inspector file identities and every pinned input were unchanged
|
||||
before and after the tests.
|
||||
|
||||
Command/log receipts: `docs/plans/reviews/2026-09-07_repository-conversion-verification.json`.
|
||||
Git object integrity and exact archival tree/parent relationships are checked before
|
||||
and after the local commit. No v1 build, service, native runtime or deployment test
|
||||
was run. Task/release suites remain NOT RUN / DEFERRED; the previous offline-demo
|
||||
ruling is not expanded into deployment acceptance by this conversion.
|
||||
|
||||
## Rollback material — outside the repository
|
||||
|
||||
Verified copies and private inventories:
|
||||
`/mnt/storage/src/.mosaic-stack-conversion-20260907T172430Z/`
|
||||
|
||||
This contains `before-v1/`, `before-v2/`, `retired-v1-original/`, inventory JSON,
|
||||
conversion state and verification logs. The original v2 directory is also retained:
|
||||
`/home/jwoltje/src/.mosaic-stack-dev-test.pre-conversion-20260907T172430Z`.
|
||||
|
||||
These are retired rollback copies, not alternative development roots. Do not edit
|
||||
or launch from them. Before any rollback, stop writers and preserve any new work.
|
||||
A rollback must move the converted checkout aside, verify/remove only the old-v2
|
||||
compatibility symlink, and restore the two original directories to their original
|
||||
paths. Never overwrite/delete newer work or use blanket recursive deletion.
|
||||
|
||||
## Remaining boundaries
|
||||
|
||||
No push, PR merge, live service/config/data migration, package install or history
|
||||
rewrite occurred. The old absolute v2 path remains usable through the explicit
|
||||
compatibility link; historical evidence was not bulk rewritten to claim new paths.
|
||||
Future work should use the canonical path above. Reopen sessions there when convenient.
|
||||
|
||||
The inspector is independently code-approved for the bounded offline demo; Jason's
|
||||
A9 demo acceptance remains pending. Neither that acceptance nor future runtime
|
||||
permissions are granted by the repository conversion.
|
||||
@@ -0,0 +1,88 @@
|
||||
{
|
||||
"timestamp": "2026-09-07T17:28:52.068419+00:00",
|
||||
"canonical": "/mnt/storage/src/mosaic-stack",
|
||||
"approvedInspectorManifest": "a4a4493000aff5905337a643886ca36e7c5377d52deed77b8aeab7174ca73dcf",
|
||||
"inspectorFiles": 382,
|
||||
"identitiesAndPinsUnchangedBeforeAfter": true,
|
||||
"forbiddenGuardsInvoked": false,
|
||||
"receipts": [
|
||||
{
|
||||
"name": "inspector-node",
|
||||
"command": [
|
||||
"node",
|
||||
"--test",
|
||||
"scripts/foundation/"
|
||||
],
|
||||
"exit": 0,
|
||||
"log": "/mnt/storage/src/.mosaic-stack-conversion-20260907T172430Z/verification/inspector-node.log",
|
||||
"sha256": "b2a2b23002de082c23353e3529889276cabbb60b00177ee26eb538702e87c526"
|
||||
},
|
||||
{
|
||||
"name": "inspector-selftests",
|
||||
"command": [
|
||||
"bash",
|
||||
"scripts/test-foundation.sh"
|
||||
],
|
||||
"exit": 0,
|
||||
"log": "/mnt/storage/src/.mosaic-stack-conversion-20260907T172430Z/verification/inspector-selftests.log",
|
||||
"sha256": "e856f3fd68bcca7442f809e7a53af4aa674fd6483486120d429917688c4216a2"
|
||||
},
|
||||
{
|
||||
"name": "schema-oracle",
|
||||
"command": [
|
||||
"python3",
|
||||
"scripts/foundation/verify-schema.py"
|
||||
],
|
||||
"exit": 0,
|
||||
"log": "/mnt/storage/src/.mosaic-stack-conversion-20260907T172430Z/verification/schema-oracle.log",
|
||||
"sha256": "40e7311b1aed62c12aaba4ad4dd9eca3d43b46b2785f1abc4263be9d85e93653"
|
||||
},
|
||||
{
|
||||
"name": "foundation-checker",
|
||||
"command": [
|
||||
"python3",
|
||||
"docs/plans/foundation-v1-candidate/check.py"
|
||||
],
|
||||
"exit": 0,
|
||||
"log": "/mnt/storage/src/.mosaic-stack-conversion-20260907T172430Z/verification/foundation-checker.log",
|
||||
"sha256": "42ddd578b4f2be0c0b7b5b78a95de3a94e7d372661f634eb6f5209aa55e0c60a"
|
||||
},
|
||||
{
|
||||
"name": "test-config",
|
||||
"command": [
|
||||
"bash",
|
||||
"scripts/test-config.sh"
|
||||
],
|
||||
"exit": 0,
|
||||
"log": "/mnt/storage/src/.mosaic-stack-conversion-20260907T172430Z/verification/test-config.log",
|
||||
"sha256": "52d211444489ea729dafc3c9745d4474d9dfd50f41055cbad792424197f04073"
|
||||
},
|
||||
{
|
||||
"name": "test-auth",
|
||||
"command": [
|
||||
"bash",
|
||||
"scripts/test-auth.sh"
|
||||
],
|
||||
"exit": 0,
|
||||
"log": "/mnt/storage/src/.mosaic-stack-conversion-20260907T172430Z/verification/test-auth.log",
|
||||
"sha256": "f91fc95a173339137f981e24fbf630acfde957e32c3cd71e28304532083c6a77"
|
||||
},
|
||||
{
|
||||
"name": "test-conductor",
|
||||
"command": [
|
||||
"bash",
|
||||
"scripts/test-conductor.sh"
|
||||
],
|
||||
"exit": 0,
|
||||
"log": "/mnt/storage/src/.mosaic-stack-conversion-20260907T172430Z/verification/test-conductor.log",
|
||||
"sha256": "e1206366f07f3d9029530dcdcb55c0282d3f052adc60fc7fd51642d5d4ec3600"
|
||||
}
|
||||
],
|
||||
"notRun": [
|
||||
"test-task.sh",
|
||||
"test-release.sh",
|
||||
"v1 build/tests",
|
||||
"live/native/provider/deployment checks"
|
||||
],
|
||||
"deferralBoundary": "Prior owner offline-demo deferral retained, not widened into deployment acceptance. This conversion changes filesystem/Git layout and documentation, not executable source."
|
||||
}
|
||||
Reference in New Issue
Block a user