You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Published store 0.4.2 needs core changes that core 0.4.2 does not have #346
bugSomething isn't workingextensionInvolves an extension or companion package (store, ui, auth, admin)importantHigh-priority work selected for near-term focus
Found while writing the first-publish runbook (see docs/FIRST-NPM-PUBLISH.md).
@jimhoyd/[email protected] was published from main at 7972185, which includes the --allow-public-write scaffold contract (#343) and the unordered --with contract (#342). The published @jimhoyd/[email protected] predates both (no allowPublicWrite in its dist), yet the store peers on >=0.4.2 <0.5.0.
Reproduced in an empty directory with the published packages installed:
urlcode init site --with store refuses and tells the user to pass --allow-public-write.
urlcode init site --with store --allow-public-write fails with Unknown option; use --help. A user cannot get a no-auth store scaffold at all.
urlcode init site --with ui,auth,store (published ui, auth, store, core 0.4.2) scaffolds a site (README, app, data, host.mjs, operator-service.mjs, ui). Not verified beyond scaffolding.
Fix: release core 0.4.3 with #342 and #343 through the pipeline, and raise the store peer floor to that core in the next store release, so an older core cannot be paired with a store that assumes the new scaffold contract. Consider a rule that a package's peer floor must include every core API it uses.
Cleanup scope for the release fix: update the stale first-store-publication guidance in the same release/follow-up. Current main still says “until release wiring lands (#323), init --with store is not yet available from npm” in docs/AI-AUTHORING.md, docs/RECIPES.md, docs/STORE.md, llms.txt, llms-full.txt, and the recipes/store-crud README/metadata; VERSION-ALIGNMENT also says first publication is pending.
The wording must not simply flip to “available” while core 0.4.2 remains incompatible. Once the core/store peer-floor repair is published and verified from an empty consumer, update those sources to name the compatible install path and regenerate llms/full recipe output. That keeps agents from either hand-writing a store unnecessarily or installing the currently broken pair.
Guard merged in #355: scripts/peer-api.ts records the first core release of each scaffold field and the extension authoring API, and release-prepare and the tag workflow's publish preflight refuse a package whose core peer floor lacks an API it uses; release:peers no longer crashes for the store, and packages/store/CHANGELOG.md exists. Not fixed yet: the store peer floor is still >=0.4.2 and the published store 0.4.2 still reads the old request field, so the actual fix is a coordinated release. The plan in #355 recommends one all-package 0.4.3 release (core, ui, auth, admin, store; peer floor raised by release-prepare once core 0.4.3 is in the checkout). Decisions needed: all five together or split; tag @jimhoyd/[email protected] at 7972185 (needs the maintainer identity) or relax the missing-tag assertion for the hand-published first version. Nothing was released. Keeping this open.
Resolved by the 0.4.6 release: all five packages were published together and verified as an installed consumer set, and the store's core peer floor is now >=0.4.6 <0.5.0, so a store can no longer be paired with a core that lacks the scaffold contract it uses (guarded by scripts/peer-api.ts from #355, exempting core in #370). Along the way the release found and fixed three release-path failures, in #363 (git ownership in the candidate container), #370 (the guard held core to a floor) and #372 (the pattern input bound), plus #376 (starter commit identity). Core 0.4.7 followed as a core-only release.
bugSomething isn't workingextensionInvolves an extension or companion package (store, ui, auth, admin)importantHigh-priority work selected for near-term focus
Activity
jimhoyd commentedon Sep 20, 2026
Progress: an agent has started on this; a PR will be linked here when it opens.
jimhoyd commentedon Sep 20, 2026
Cleanup scope for the release fix: update the stale first-store-publication guidance in the same release/follow-up. Current
mainstill says “until release wiring lands (#323), init --with store is not yet available from npm” indocs/AI-AUTHORING.md,docs/RECIPES.md,docs/STORE.md,llms.txt,llms-full.txt, and therecipes/store-crudREADME/metadata; VERSION-ALIGNMENT also says first publication is pending.The wording must not simply flip to “available” while core 0.4.2 remains incompatible. Once the core/store peer-floor repair is published and verified from an empty consumer, update those sources to name the compatible install path and regenerate llms/full recipe output. That keeps agents from either hand-writing a store unnecessarily or installing the currently broken pair.
Document publishing a new npm package for the first time; fix stale s…
Refuse a package release whose core peer floor lacks an API it uses; …
Follow the --ack acknowledgement contract in the peer-floor guard, st…
Refuse a package release whose core peer floor lacks an API it uses; …
Follow the --ack acknowledgement contract in the peer-floor guard, st…
Refuse a release whose core peer floor lacks an API it uses; fix stor…
jimhoyd commentedon Sep 21, 2026
Guard merged in #355: scripts/peer-api.ts records the first core release of each scaffold field and the extension authoring API, and release-prepare and the tag workflow's publish preflight refuse a package whose core peer floor lacks an API it uses; release:peers no longer crashes for the store, and packages/store/CHANGELOG.md exists. Not fixed yet: the store peer floor is still >=0.4.2 and the published store 0.4.2 still reads the old request field, so the actual fix is a coordinated release. The plan in #355 recommends one all-package 0.4.3 release (core, ui, auth, admin, store; peer floor raised by release-prepare once core 0.4.3 is in the checkout). Decisions needed: all five together or split; tag @jimhoyd/[email protected] at 7972185 (needs the maintainer identity) or relax the missing-tag assertion for the hand-published first version. Nothing was released. Keeping this open.
Accept recorded hand-published versions without a release tag (refs #346
jimhoyd commentedon Sep 21, 2026
Resolved by the 0.4.6 release: all five packages were published together and verified as an installed consumer set, and the store's core peer floor is now >=0.4.6 <0.5.0, so a store can no longer be paired with a core that lacks the scaffold contract it uses (guarded by scripts/peer-api.ts from #355, exempting core in #370). Along the way the release found and fixed three release-path failures, in #363 (git ownership in the candidate container), #370 (the guard held core to a floor) and #372 (the pattern input bound), plus #376 (starter commit identity). Core 0.4.7 followed as a core-only release.