Stand up and use an estate vault
Keep unredacted environment history, validation snapshots, and runbooks in your own private companion repo while keeping public repos strictly free of tenant data.
More
This walkthrough connects avd-current-state and avd-second-brain using self-contained Azure Cloud Shell (PowerShell) blocks (working from Cloud Shell).
1. Create a private companion repo ($0)
Create one private GitHub repository that you own to hold your estate vault and unredacted run records.
More
Follow your private companion repo to create avd-private once with gh repo create --private. Never store secrets in it, and never push vault files to a public repo.
2. Initialize the estate vault ($0)
Clone avd-second-brain and initialize your private vault directory with -Init, which seeds the folder layout and copies any shared runbooks from knowledge/runbooks/.
More
Existing files in your vault are never overwritten by -Init.
if (-not (Test-Path ~/avd-second-brain/.git)) { git clone https://github.com/avd-ops/avd-second-brain.git ~/avd-second-brain }
Set-Location ~/avd-second-brain; git checkout -q main; git pull -q --ff-only
./vault/avd_second_brain.ps1 -BrainPath ~/avd-private/vault -Init
3. Ingest avd-current-state evidence ($0)
Feed collector or validator evidence packages into the vault so findings link automatically to matching runbooks via resolves-checks.
More
Run avd-current-state first, then pass its output folder or ZIP archive to -PackagePath.
if (-not (Test-Path ~/avd-second-brain/.git)) { git clone https://github.com/avd-ops/avd-second-brain.git ~/avd-second-brain }
Set-Location ~/avd-second-brain; git checkout -q main; git pull -q --ff-only
./vault/avd_second_brain.ps1 -BrainPath ~/avd-private/vault -PackagePath ~/avd-current-state/output
4. Search knowledge and propose generalized harvests ($0)
Query the shared knowledge base alongside your private vault, and inspect what can be generalized back to avd-second-brain without leaking tenant data.
More
Get-VaultHarvest.ps1 writes nothing and flags lines that look like tenant-specific data so a person can strip them before opening a PR.
if (-not (Test-Path ~/avd-second-brain/.git)) { git clone https://github.com/avd-ops/avd-second-brain.git ~/avd-second-brain }
Set-Location ~/avd-second-brain; git checkout -q main; git pull -q --ff-only
./scripts/Find-BrainKnowledge.ps1 -Query "registration token" -VaultPath ~/avd-private/vault
./scripts/Get-VaultHarvest.ps1 -VaultPath ~/avd-private/vault