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

#183 quality: models and additionalFiles paths resolve relative to different directories

Opened by bixu · 4/29/2026· Shipped 4/29/2026

In a manifest inside a subdirectory (e.g. extensions/models/adversarial/manifest.yaml), the two manifest keys resolve paths differently:

  • 'models' paths resolve relative to the manifest's PARENT directory (extensions/models/)
  • 'additionalFiles' paths resolve relative to the manifest's OWN directory (extensions/models/adversarial/)

This means a single manifest requires two different path conventions for its two main keys. Discovered while restructuring an extension to the per-directory layout (like systeminit/swamp-extensions uses) in order to get README.md and LICENSE.txt to land at the archive root for the quality rubric checks.

Repro: place manifest.yaml inside extensions/models/adversarial/ with models: [adversarial/reviewer.ts] and additionalFiles: [README.md]. The models resolve correctly while additionalFiles resolves to the manifest's own dir.

Expected: both keys resolve relative to the same base (ideally the manifest's own directory, which is the intuitive expectation).

02Bog Flow
OPENTRIAGEDIN PROGRESSSHIPPED+ 1 MOREASSIGNED+ 5 MOREREVIEW+ 3 MOREPR_MERGEDSHIPPED

Shipped

4/29/2026, 8:35:49 PM

Click a lifecycle step above to view its details.

03Sludge Pulse
stack72 assigned stack724/29/2026, 7:32:54 PM

Sign in to post a ripple.