Created
May 19, 2026 13:57
-
-
Save evrardjp/ff4ed962da9f850d53b70814f8757c5e to your computer and use it in GitHub Desktop.
Fun with swamp! Data is hard to find in the mellow marsh
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
| ● The extensions aren't in upstream_extensions.json yet, but the error says they're already in .swamp/pulled-extensions/. Let me check. | |
| Listed 2 directories (ctrl+o to expand) | |
| ● The extension was already partially pulled before (you'd pushed and pulled before our conversation). It's in .swamp/pulled-extensions/ but not tracked in upstream_extensions.json — inconsistent state. Let me clean it up and re-pull. | |
| ● Bash(swamp extension rm @evrardjp/local-libvirt --json 2>&1 && swamp extension rm @evrardjp/openbao-configurator --json 2>&1) | |
| ⎿ Error: Exit code 1 | |
| { | |
| "error": "Extension @evrardjp/local-libvirt is not installed." | |
| } | |
| ● It's not in the registry but the files are there. Let me manually remove the stale directory and then pull cleanly. | |
| /var/home/evrardjp/git/evrardjp/local-infra/.swamp/data/@evrardjp/local-libvirt/vm/c27c7cbf-3998-4313-95ec-41c6fd3f9167/report-swamp-method-summary/1/metadata.yaml | |
| /var/home/evrardjp/git/evrardjp/local-infra/.swamp/data/@evrardjp/local-libvirt/vm/c27c7cbf-3998-4313-95ec-41c6fd3f9167/report-swamp-method-summary/1/raw | |
| /var/home/evrardjp/git/evrardjp/local-infra/.swamp/data/@evrardjp/local-libvirt/vm/c27c7cbf-3998-4313-95ec-41c6fd3f9167/report-swamp-method-summary/2/metadata.yaml | |
| /var/home/evrardjp/git/evrardjp/local-infra/.swamp/data/@evrardjp/local-libvirt/vm/c27c7cbf-3998-4313-95ec-41c6fd3f9167/report-swamp-method-summary/2/raw | |
| /var/home/evrardjp/git/evrardjp/local-infra/.swamp/data/@evrardjp/local-libvirt/vm/c27c7cbf-3998-4313-95ec-41c6fd3f9167/report-swamp-method-summary-json/1/metadata.yaml | |
| /var/home/evrardjp/git/evrardjp/local-infra/.swamp/data/@evrardjp/local-libvirt/vm/c27c7cbf-3998-4313-95ec-41c6fd3f9167/report-swamp-method-summary-json/1/raw | |
| /var/home/evrardjp/git/evrardjp/local-infra/.swamp/data/@evrardjp/local-libvirt/vm/c27c7cbf-3998-4313-95ec-41c6fd3f9167/report-swamp-method-summary-json/2/metadata.yaml | |
| /var/home/evrardjp/git/evrardjp/local-infra/.swamp/data/@evrardjp/local-libvirt/vm/c27c7cbf-3998-4313-95ec-41c6fd3f9167/report-swamp-method-summary-json/2/raw | |
| /var/home/evrardjp/git/evrardjp/local-infra/.swamp/data/@evrardjp/local-libvirt/vm/c27c7cbf-3998-4313-95ec-41c6fd3f9167/report-swamp-method-summary-json/latest | |
| /var/home/evrardjp/git/evrardjp/local-infra/.swamp/data/@evrardjp/local-libvirt/vm/c27c7cbf-3998-4313-95ec-41c6fd3f9167/report-swamp-method-summary/latest | |
| /var/home/evrardjp/git/evrardjp/local-infra/.swamp/data/@evrardjp/local-libvirt/vm/c27c7cbf-3998-4313-95ec-41c6fd3f9167/vault/1/metadata.yaml | |
| /var/home/evrardjp/git/evrardjp/local-infra/.swamp/data/@evrardjp/local-libvirt/vm/c27c7cbf-3998-4313-95ec-41c6fd3f9167/vault/1/raw | |
| /var/home/evrardjp/git/evrardjp/local-infra/.swamp/data/@evrardjp/local-libvirt/vm/c27c7cbf-3998-4313-95ec-41c6fd3f9167/vault/2/metadata.yaml | |
| /var/home/evrardjp/git/evrardjp/local-infra/.swamp/data/@evrardjp/local-libvirt/vm/c27c7cbf-3998-4313-95ec-41c6fd3f9167/vault/2/raw | |
| /var/home/evrardjp/git/evrardjp/local-infra/.swamp/data/@evrardjp/local-libvirt/vm/c27c7cbf-3998-4313-95ec-41c6fd3 | |
| ● Bash(find /var/home/evrardjp/git/evrardjp/local-infra/.swamp -type f -name "*.json" | grep -v pulled-extensions | grep -v cache | grep -v audit | sort) | |
| ⎿ (No output) | |
| ● Bash(find /var/home/evrardjp/git/evrardjp/local-infra/.swamp -maxdepth 2 -type f | grep -v pulled-extensions | grep -v bundles | grep -v cache | grep -v audit | sort) | |
| ⎿ /var/home/evrardjp/git/evrardjp/local-infra/.swamp/data/_catalog.db | |
| /var/home/evrardjp/git/evrardjp/local-infra/.swamp/data/_catalog.db-shm | |
| /var/home/evrardjp/git/evrardjp/local-infra/.swamp/data/_catalog.db-wal | |
| /var/home/evrardjp/git/evrardjp/local-infra/.swamp/_extension_catalog.db | |
| /var/home/evrardjp/git/evrardjp/local-infra/.swamp/_extension_catalog.db-shm | |
| /var/home/evrardjp/git/evrardjp/local-infra/.swamp/_extension_catalog.db-wal | |
| /var/home/evrardjp/git/evrardjp/local-infra/.swamp/workflows-evaluated/workflow-77e2730a-fe69-4911-85bd-1926eeb39e04.yaml | |
| 03:52 PM claude-sonnet-4-6 | |
| ● There's an _extension_catalog.db — that's where the stale @local/local-infra registration lives. Let me inspect it. | |
| ● Bash(sqlite3 /var/home/evrardjp/git/evrardjp/local-infra/.swamp/_extension_catalog.db ".tables") | |
| ⎿ Tool use rejected | |
| 03:53 PM claude-sonnet-4-6 | |
| ● Good call. The cleanest fix is to preserve the model data, wipe the corrupted swamp state, re-init, and re-pull everything fresh. Here's the plan: | |
| 1. Back up .swamp/data/ (your model instances and their data) | |
| 2. Delete .swamp/ entirely | |
| 3. swamp repo init again | |
| 4. Restore .swamp/data/ | |
| 5. Re-pull all 4 extensions: @rjeschmi/vm, @webframp/hashicorp-vault, @evrardjp/local-libvirt, @evrardjp/openbao-configurator | |
| The _extension_catalog.db will be rebuilt cleanly from the fresh pulls. Shall I proceed? | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment