Skip to main content
← Back to list
01Issue
FeatureShippedSwamp CLI
Assigneesstack72

Relationships

#1286 Running "swamp workflow run ..." in a subdir of the swamp repo fails

Opened by svendowideit · 7/20/2026· Shipped 7/20/2026

Problem Statement

Running "swamp workflow run" and "swamp data get" and presumably others, from a subdir of your swamp repo

results in { "error": "Not a swamp repository: /home/[REDACTED]/src/swamp-project/workflows. To initialize a new repository, run 'swamp repo init', or specify an existing repository with 'swamp --repo-dir /path/to/repo'." }

i had forgotten i was in a sub dir, and was thinking git-like thoughts.

I suspect having a user run "swamp repo init" (oh, or an agent?) to solve the problem when they're in an existing swamp repos subdir might cause pain

Proposed Solution

Ideally, like git, swamp might just work - presumably by traversing up the dir-tree like git does.

Alternatives Considered

yeah, like maybe I shouldn't be quite so forgetful, or be more ... careful

Additional Context

User is an idiot, but you'll have lots more of those eventually.

02Bog Flow
OPENTRIAGEDIN PROGRESSSHIPPED+ 1 MOREASSIGNED+ 5 MOREFINDINGS+ 4 MOREPR_MERGED+ 1 MORECONTRIBUTOR_NOTIFIED

Shipped

7/20/2026, 2:09:09 PM

Click a lifecycle step above to view its details.

03Sludge Pulse
stack72 assigned stack727/20/2026, 1:02:00 PM
Editable. Press Enter to edit.

stack72 commented 7/20/2026, 2:09:21 PM

Thanks @svendowideit 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.