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

swamp repo upgrade deletes extension model source files

Opened by bixu Β· 4/24/2026Β· Shipped 4/24/2026

Description

Running swamp repo upgrade in a repository containing a published extension deleted the extension model source files from the working tree without warning.

Steps to Reproduce

  1. Have a swamp repository with a custom extension model in extensions/models/ (e.g. launchd_daemon.ts and supporting _lib/ files)
  2. Run swamp repo upgrade
  3. Observe that extension model .ts files are deleted from the working tree (shown as deleted: in git status)

Expected Behavior

swamp repo upgrade should only update swamp-managed scaffolding (CLAUDE.md, .swamp.yaml, etc.) and leave user-authored extension source files untouched.

Actual Behavior

The following files were deleted from extensions/models/:

  • launchd_daemon.ts (the extension model entrypoint)
  • _lib/launchctl.ts
  • _lib/plist.ts
  • _lib/vendor.ts

Files were recoverable via git restore since they were committed, but the upgrade gave no warning before deleting them.

Environment

  • swamp version: 20260424.000956.0-sha.25668e08
  • OS: macOS 26.4.1
  • Shell: zsh
02Bog Flow
βœ“OPENβœ“TRIAGEDβœ“IN PROGRESSβœ“SHIPPED+ 1 MOREASSIGNED+ 11 MOREREVIEW+ 5 MOREPR_MERGEDSHIPPED

Shipped

4/24/2026, 7:51:01 PM

Click a lifecycle step above to view its details.

03Sludge Pulse
stack72 assigned stack724/24/2026, 1:52:56 PM

Sign in to post a ripple.