Skip to main content
← Back to list
01Issue
BugShippedSwamp CLITeam
Assigneesstack72

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

  1. swamp extension pull @webframp/pass
  2. swamp vault create @webframp/pass shrug
  3. swamp 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

02Bog Flow
OPENTRIAGEDIN PROGRESSSHIPPED+ 1 MOREASSIGNED+ 2 MOREREVIEW+ 4 MOREPR_MERGED+ 1 MORECONTRIBUTOR_NOTIFIED

Shipped

7/17/2026, 6:20:46 PM

Click a lifecycle step above to view its details.

03Sludge Pulse
stack72 assigned stack727/17/2026, 5:47:14 PM
Editable. Press Enter to edit.

stack72 commented 7/17/2026, 6:22:16 PM

Thanks @kneel for reporting this! The fix has been merged and a release is on its way. We appreciate your contribution to swamp.

Sign in to post a ripple.