Testing a lean Amplifier config in a disposable twin
Amplifier · In Practice
A full-foundation session on this machine balloons on open — and you can't safely slim the global install to fix it.
First, how big is "before you type a word"?
Local audit notes record open-time bloat directly: bloated opening prompts, a constant sub-agent prompt, and heavy laptop sessions.
So why not just trim the global install and be done?
The obvious fix — hand-editing the global config — is exactly the one you can't afford. Break it, and you break every session that follows.
You need a safe place to experiment. That's what the next tool is for.
A thin, shipping bundle whose second headline Example Use is verbatim: "try out a lean Amplifier configuration with my custom bundle composed in, without messing with my global Amplifier."
Its safety comes from one hard rule about your files.
The setup-digital-twin agent copies your working tree to a throwaway clone and pushes that to Gitea, under a hard rule to never mutate the source.
Then the snapshot runs somewhere isolated and disposable.
The clone launches inside an isolated Digital Twin Universe container that installs as if pulling from upstream — then hands back an explicit teardown command.
Now you have a safe sandbox. What can you prove inside it?
amplifier-digital-twin destroy <id> tears it all downComposed and measured inside the throwaway twin — input 20,122 + cache_write 25,329 = 45,451 — with the global install never touched.
And proving the next lean config stays cheap.
Re-run the validator and amplifier-digital-twin update <id> — no destroy-and-relaunch, no local commit — all within the repo-documented per-run wall time.
Prove a lean config safely and cheaply, then decide whether it's permanent.
Repos: microsoft/amplifier-bundle-amplifier-tester (created 2026-04-14, last pushed 2026-07-09, 12 merged PRs); microsoft/amplifier-module-provider-anthropic; local my-amplifier / .amplifier lean-audit artifacts.
Research performed:
sed -n '8,12p' README.mdsed -n '3p' README.md + awareness contextsed -n '205,250p' agents/setup-digital-twin.md; README line 86grep -n 'destroy' agents/setup-digital-twin.mdsed -n '11,19p' lean-audit-handoff.md; REDESIGN-NOTES.md; my-amplifier-lean.mdhooks-token-warning/_logic.py & tests/test_logic.pycat bundle.md; README line 38.amplifier/evaluations/01-.../README.md:122 & run.sh lines 51, 90git log --all; gh pr list --state mergedGaps: The "105k→53k" before/after in the original story is fabricated (zero grep hits); verified figures are 200K–600K before (bloated) and 45,451 after (audited lean). The ~15–30 min is eval-harness wall time, not a measured end-user session. No artifact links the 45,451 measurement specifically to an amplifier-tester DTU run. The DTU runtime is Incus, not Docker.
Primary contributors: David Koleczek (7 merged PRs + initial bundle); Brian Krabach (PR #9 v0.1.1, PR #11, Opus 4.7 provider support); Salil Das (PR #1).