Relationships
#1224 vault edit resolves wrong path (.swamp/vault/ instead of repo-root vaults/)
Opened by kneel · 7/17/2026· Shipped 7/17/2026
swamp vault edit <name> fails with a 'file not found' error because it looks for the vault config at the wrong path. Every other vault command (get, describe, search) resolves the vault to vaults/<type>/<id>.yaml (plural, repo root), but vault edit looks under .swamp/vault/<type>/<id>.yaml (singular, inside .swamp/), which does not exist.
Repro
swamp extension pull @webframp/passswamp vault create @webframp/pass shrugswamp vault edit shrug
Actual
fatal error Error: "Vault configuration file not found: /home/[REDACTED]/dev/swamp/.swamp/vault/@webframp/pass/32987a7b-f304-4be3-bdb6-283b7f2f747e.yaml"Expected
vault edit opens the real file. swamp vault get shrug --json correctly reports:
"storagePath": "vaults/@webframp/pass/32987a7b-f304-4be3-bdb6-283b7f2f747e.yaml"So get/describe/search all resolve the file fine — only vault edit uses the wrong base path (.swamp/vault/ vs repo-root vaults/, and singular vs plural).
Workaround
Edit the YAML at vaults/<type>/<id>.yaml directly.
Environment
swamp 20260716.194319.0-sha.df9fc306, linux-x86_64
Shipped
Click a lifecycle step above to view its details.