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

#303 Accept and display binaries field from extension push metadata

Opened by stack72 · 5/9/2026· Shipped 5/9/2026

Problem

swamp CLI PR for Lab #264 adds a binaries manifest field that lets extensions declare executable host helpers (shell scripts, extensionless binaries). The CLI now sends a binaries: string[] field in the push metadata JSON to /api/v1/extensions/push and /api/v1/extensions/confirm. If the API rejects unknown fields, pushes with binaries declared will fail.

Proposed Solution

API changes

  1. Accept binaries field on push endpoints — both /api/v1/extensions/push (initiate) and /api/v1/extensions/confirm should accept an optional binaries: string[] field in the JSON payload without rejecting it.
  2. Store the binaries list on the extension version record so it can be returned in registry responses and used for display.
  3. Return binaries in extension metadata — when the registry returns extension info (e.g. for search, list, or detail pages), include the binaries array if non-empty.

UI changes

  1. Extension page warning badge — when an extension version has a non-empty binaries list, display a visible warning on the extension page: "This extension includes executable binaries — inspect before use" with the list of binary file paths.
  2. Search/list indicator — optionally surface a small indicator in extension search results when an extension ships binaries, so users can see at a glance before clicking through.

Context

  • Lab #264 — CLI-side implementation (binaries manifest field, safety analyzer exemption, pull-time warning, executable bit preservation)
  • Lab #262 — shell-shim declarations (depends on binaries being shippable first)
  • The CLI-side PR is ready but blocked on swamp-club accepting the binaries metadata field
02Bog Flow
OPENTRIAGEDIN PROGRESSSHIPPED+ 1 MOREASSIGNED+ 7 MOREREVIEW+ 3 MOREPR_MERGEDSHIPPED

Shipped

5/9/2026, 9:23:13 PM

Click a lifecycle step above to view its details.

03Sludge Pulse
stack72 assigned stack725/9/2026, 8:43:13 PM

Sign in to post a ripple.