Relationships
#4996 stagecraft: a write publishes to a separate-extension tracker on a local v3 repository with no serve
Opened by skunk-ape · 11/22/2026· Shipped 11/22/2026
Problem
Since #4916, every stagecraft write publishes to the work item's tracker. Trackers stagecraft ships publish in-process through context.runModel. Trackers written as separate extensions (#3274) publish through a child swamp process instead, because runModel refuses another extension's model unless the caller's manifest lists it or both share a collective, and the publisher's rounds call the tracker's own operate.
On a local v3 datastore with no swamp serve, that child process can't take the writer lease the write already holds, so the write doesn't publish. It says so, and the driver has to run @swamp/stagecraft/publish by hand. This gap was accepted in #4916 while v3 was opt-in. v3 is about to become swamp's default datastore format, which would make the manual publish step the normal case again for every separate-extension tracker.
Proposed
A write on a local v3 repository with no serve publishes to a separate-extension tracker, as it does for the shipped trackers, with the same bounds #4983 added (an overall limit and a per-request limit) and the same failure handling (the write is recorded and exits 0; the next publish carries on).
Done when
- A write bound to a separate-extension tracker publishes on a local v3 repository with no serve, and on v2, and through a serve, with workers unchanged or better.
- The publish after a write is bounded the same way as for the shipped trackers.
- The
@swamp/stagecraft/publishsweep still works for every tracker kind. - DESIGN's accepted-gap note and REFERENCE's publishing lines are updated, and the skill no longer tells drivers to publish by hand in this case.
Shipped
Click a lifecycle step above to view its details.
Sign in to post a ripple.