Skip to content

Remove the DW_VAULT model: per-demo artifact downloads from the named distribution repos (4.0.0)#42

Merged
Justinvolved merged 4 commits into
v2from
fold/vault-removal
Jul 3, 2026
Merged

Remove the DW_VAULT model: per-demo artifact downloads from the named distribution repos (4.0.0)#42
Justinvolved merged 4 commits into
v2from
fold/vault-removal

Conversation

@Justinvolved

Copy link
Copy Markdown
Collaborator

Completes the distribution migration #39 started: the shared machine-wide vault ($env:DW_VAULT + five slots) is removed from the corpus entirely and replaced by the per-demo download model.

  • dw-demo-base: new "Versions prompt + per-demo artifact download" section — setup-checks asks the demo's DW10 + Swift versions (recorded in CUSTOMISATIONS.md), then artifacts download per-demo into <demo-root>\baselines\: serialized baselines from https://github.com/justdynamics/Truvio.Commerce.Serializer.Baselines, themes/style assets from https://github.com/justdynamics/Truvio.Commerce.DemoThemes, feature packs from https://github.com/justdynamics/Truvio.Commerce.FeaturePacks (gh release download; $env:DW_BASELINE_REPO/$env:DW_PACKS_REPO remain as per-machine overrides). Vault-layout section removed; setup-checks probes gh CLI + baselines-folder writability instead of vault slots.
  • Retired: references/compare-vault.md, assets/INDEX.md.template.
  • Sister sweeps: dw-demo-swift (styles-assets → DemoThemes releases; deserialize/pack snippets default to the named URLs), dw-demo-pim, dw-demo-erp, dw-integration-bc, foundational source citations (dw10source slot → per-machine local DW10 source clone, ask/discover, never hardcode).
  • Validator: check_no_truvio purge check removed — the ecosystem repo URLs are now deliberately named (maintainer policy change). All other sanitization rules unchanged.
  • git grep -i dw_vault -- skills/ → 0 hits. Validator 0 errors / 0 warnings; manifest up to date. Breaking distribution-model change → 4.0.0.

STACKING NOTE: stacks on #41 (fold/pr39-review-fixes). Merge #41 first, then this PR's diff against v2 is clean.

…base

Drop the shared machine-wide vault (:DW_VAULT, five slots, INDEX.md) from
the foundation skill. Add a versions prompt (DW10 + Swift version, recorded in
CUSTOMISATIONS.md) and a per-demo artifact-download model: baselines, themes, and
feature packs download into <demo-root>\baselines\ from the named ecosystem repos.
setup-checks now probes gh CLI + writable baselines\ + versions instead of the
DW_VAULT env var and slot inventory. Repoint every dw10source citation to a local
clone of the DW10 source (location per machine, ask/discover). DB fast-restore
becomes a per-machine local-artifact note.
Repoint the Swift style assets at the DemoThemes release (downloaded per-demo into
baselines\themes\), default DW_BASELINE_REPO / DW_PACKS_REPO to the named ecosystem
repos (justdynamics/Truvio.Commerce.Serializer.Baselines and .FeaturePacks), and
name the DemoThemes repo directly. Drop the $env:DW_VAULT path-resolution rows,
'vault resolution' / 'vault resolved' wording, and the no-resolved-DW_VAULT sibling
clauses from the swift/pim/erp/bc skills. Repoint dw10source citations to a local
clone of the DW10 source.
Both encode the shared-vault model that no longer exists: compare-vault.md detected
cross-machine vault drift and INDEX.md.template was the five-slot vault index. All
links and cross-refs to both were already removed in the preceding commits.
The truvio scrub is lifted for the ecosystem repo URLs (operator policy), so the
validator's check_no_truvio purge check and its now-unused TEXT_SUFFIXES constant
are removed; the rest of the validator is intact. Bump marketplace.json to 4.0.0
(breaking distribution-model change; avoids the 3.9.0 collision held by an open PR)
and record the DW_VAULT removal + per-demo download model in the changelog. Update
the vault-model wording in README and CLAUDE.
@Justinvolved Justinvolved merged commit 3c63ae4 into v2 Jul 3, 2026
1 check passed
@Justinvolved Justinvolved deleted the fold/vault-removal branch July 3, 2026 17:45
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