Skip to main content
← Back to list
01Issue
FeatureOpenSwamp CLI
AssigneesNone

Relationships

#692 Extensions should be able to declare required named model instances

Opened by bixu · 6/19/2026

When an extension bundles workflows that reference models by name via data.latest("model-name", ...), the named model instances must exist before the first workflow run. The modelType + modelName auto-create path in workflow steps produces UUID-named instances in .swamp/auto-definitions/ — downstream steps can't find the data because the instance name doesn't match what data.latest() expects.

Today the only workaround is documenting "run these 7 swamp model create commands" in a setup skill. This is fragile and easy to miss.

Proposal: let extensions declare required model instances in the manifest so swamp extension pull creates them automatically:

models:
  - asdlc/classify.ts
instances:
  - name: asdlc-classify
    type: "@hivemq/asdlc/classify"
  - name: asdlc-linear
    type: "@hivemq/asdlc/linear"
    globalArgs:
      apiKey: "${{ vault.get(\"linear\", \"api-key\") }}"

On pull, swamp would create any instances that don't already exist, preserving existing instances and their data.

02Bog Flow
OPENTRIAGEDIN PROGRESSSHIPPED

Open

6/19/2026, 4:57:25 PM

No activity in this phase yet.

03Sludge Pulse

Sign in to post a ripple.