avd-opsDeploy quietly
Community research project. Use at your own risk. No warranty.Use at your own risk
  • Built on my own time for research and learning. Not affiliated with, endorsed by or supported by my employer or Microsoft.
  • Don't run any of it in production or against tenants that matter. Test in a dedicated lab subscription and tenant first.
  • Provided "as is", without warranty of any kind, under each repo's license. You use it at your own risk and own the Azure charges it incurs.
  • Contributions and forks are welcome and encouraged. See Contribute.

Run a bounded RSI loop on a lab estate

Use a private companion repo and estate vault to measure your lab AVD estate, approve Ring 0 improvements, verify outcomes, and harvest generalized lessons.

More

Everything here is a personal research project: not for production, provided as is, and not affiliated with the author's employer or Microsoft. Follow decision 0030 and the C35 fitness contract in a dedicated throwaway lab subscription.

1. Sense and ingest a baseline ($0)

Collect read-only C11/C21 facts with avd-current-state and ingest them into your private estate vault to establish your preFitness baseline.

More

Make sure your private companion repo (~/avd-private/vault) is initialized per the estate vault walkthrough.

if (-not (Test-Path ~/avd-current-state/.git)) { git clone https://github.com/avd-ops/avd-current-state.git ~/avd-current-state }
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

2. Diagnose and draft a Ring 0 delta ($0)

Launch avd-remediate locally against your vault to correlate host probes and export a single-variable Ring 0 C24 or avd-swarm C9 plan with a rollback snapshot.

More

In Azure Cloud Shell, open Web preview on port 8787 after starting the server, as described in remediate-and-swarm.

if (-not (Test-Path ~/avd-remediate/.git)) { git clone https://github.com/avd-ops/avd-remediate.git ~/avd-remediate }
Set-Location ~/avd-remediate; git checkout -q main; git pull -q --ff-only
node ./scripts/server.mjs --vault ~/avd-private/vault --port 8787

3. Approve via Change-Gate and verify post-change fitness

Approve and run the C9 plan on Ring 0 only, then re-run avd-current-state and avd-remediate probes to record postFitness.

More

Gate execution via interactive CLI confirmation, your ITSM / Power Platform Change-Gate, or an optional GitHub Environment. Never run avd-swarm write actions from a public repo. If postFitness shows regressed, apply the pre-attached rollback plan and keep the failure record in your private vault so avd-swarm does not repeat the same change.

4. Harvest generalized lessons back to avd-second-brain ($0)

Run Get-VaultHarvest.ps1 to surface anonymized patterns from your vault and submit verified improvements to avd-ops or avd-second-brain via a kb-feedback issue.

More

Get-VaultHarvest.ps1 writes nothing and flags lines that resemble tenant-specific data so you can scrub 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/Get-VaultHarvest.ps1 -VaultPath ~/avd-private/vault
Linked from 4 pages