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

Relationships

#886 swamp serve writes grant model files to ./models/swamp/grant/ instead of .swamp/

Opened by shelson · 6/29/2026· Shipped 6/29/2026

When running swamp serve in an orchestrator repository and adjusting grants, grant model files are written to ./models/swamp/grant/. This was noticed via git status showing untracked files in that directory.

Raised in Discord and was asked to ticket it, as the consensus suggestion is that these files should live under .swamp/ rather than ./models/swamp/grant/, keeping them out of the user's source tree.

Steps to Reproduce

  1. Run swamp serve in a repository that uses grants.
  2. Adjust grants or similar configuration.
  3. Run git status — observe untracked files under ./models/swamp/grant/.

Expected Behavior

Grant-related files generated by swamp serve should be written to .swamp/ (or another location that is clearly internal/managed), not to ./models/swamp/grant/ which sits in the user's source tree and shows up as untracked in version control.

Actual Behavior

Files appear under ./models/swamp/grant/, mixing swamp-managed state with user-authored model definitions.

Additional Context

Not familiar enough with the implications of these files yet to comment definitively on the correct location, but happy to test, reproduce, and provide further details if needed.

02Bog Flow
OPENTRIAGEDIN PROGRESSSHIPPED+ 1 MOREASSIGNED+ 5 MOREREVIEW+ 5 MOREPR_MERGED+ 1 MORECONTRIBUTOR_NOTIFIED

Shipped

6/29/2026, 2:55:00 PM

Click a lifecycle step above to view its details.

03Sludge Pulse
stack72 assigned stack726/29/2026, 2:06:35 PM
Editable. Press Enter to edit.

stack72 commented 6/29/2026, 2:55:08 PM

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