Vault ecosystem auto-setup on first activate (personal + public vault, mounts.toml) (#312) - #313
Draft
aarontrowbridge wants to merge 1 commit into
Conversation
6 tasks
… vault, mounts.toml) (#312) - vault_setup.ts: ensureVaultEcosystem() — idempotent, never throws: ensureArmoniaDataDirs, ensurePersonalVault, ensurePublicVault (shallow clone vault-public, 10s cap, offline placeholder), ensureMountsToml (absent-only, personal rw first, public ro second) - extension.ts: call ensureVaultEcosystem() before first prepareOpencodeProject so mount stack is correct on boot; remove now-redundant ensureDefaultPersonalVault - trees.ts: update Armonia placeholder to reflect auto-provision - tools/bootstrap-armonia.sh: mirror same three vault steps as idempotent block (CLI/extension order agnostic), curl-able - tools/migrate-to-armonia.sh: three-bucket repos routing (packages/, demos/, flat), bucket-converging on re-run - skills/amico-vault/SKILL.md: vault-* naming in kinds table, new First-run lifecycle subsection for vault-public (kind=public, ro)
aarontrowbridge
force-pushed
the
312-vault-ecosystem-auto-setup-on-first-activate-personal-+-public-vault-mountstoml
branch
from
August 20, 2026 08:48
661778a to
904ab25
Compare
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #312.
Follow-up to #307 (armonia workspace). New Marketplace users get a working vault ecosystem with zero commands.
ensureVaultEcosystem()— idempotent, never throws:ensureArmoniaDataDirs+ensurePersonalVault(no-op if exists) +ensurePublicVault(shallow cloneharmoniqs/vault-publicwith 10s cap, placeholder if offline/no-git) +ensureMountsToml(absent-only, personal rw first, public ro second).prepareOpencodeProjectso the mount stack is correct on boot; remove now-redundantensureDefaultPersonalVault.Verification:
rm -rf ~/.amico ~/armonia && install + open→ personal + public present, mounts.toml written, second activate no-op, offline degrades to placeholder.