fix(celilo-module): declare the public_web major the fleet provides #4

Merged
forgejo-admin merged 1 commit from fix/capability-major-public-web-4 into main 2026-09-23 12:11:44 +00:00

caddy serves public_web@4.0.0; this module declared 3.1.0, so celilo refused every deploy at validation with major_mismatch_lower, before the hook ran:

✗ Error: Capability version mismatch: cannot deploy 'peterbanka-org'.
  public_web: requires 3.1.0, but 'caddy' provides 4.0.0

That is why peterbanka-org could not be redeployed to pick up the celilo#880 companion fix — www.peterbanka.org still has no internal split-horizon record, while www.bna-yard-sale.org and www.celilo.computer were backfilled successfully once their consumers redeployed.

The major is one contract change: publishStaticSite no longer takes sourceDir and derives the web root from the module's own site/dist. defaultDistDir here is already <module root>/site/dist, so dropping the argument changes nothing about where the site comes from. Only the declaration and the call were stale.

Bundled @celilo/capabilities moves to ^5.1.1 so the hooks run the copy carrying the contract they now declare.

Verified: installed capabilities 5.1.1; tsc --noEmit --skipLibCheck exit 0 against it. This module ships no hook tests, so the typecheck is the only gate available here — worth knowing.

Part of celilo#1361 (bead ce-ngwn), which covers four consumers still pinned to the old contract. tango-nexus is fixed and merged; dj-incarnadine-org still needs locating.

caddy serves `public_web@4.0.0`; this module declared `3.1.0`, so celilo refused every deploy at validation with `major_mismatch_lower`, **before the hook ran**: ``` ✗ Error: Capability version mismatch: cannot deploy 'peterbanka-org'. public_web: requires 3.1.0, but 'caddy' provides 4.0.0 ``` That is why peterbanka-org could not be redeployed to pick up the celilo#880 companion fix — `www.peterbanka.org` still has no internal split-horizon record, while `www.bna-yard-sale.org` and `www.celilo.computer` were backfilled successfully once their consumers redeployed. The major is one contract change: `publishStaticSite` no longer takes `sourceDir` and derives the web root from the module's own `site/dist`. `defaultDistDir` here is **already** `<module root>/site/dist`, so dropping the argument changes nothing about where the site comes from. Only the declaration and the call were stale. Bundled `@celilo/capabilities` moves to `^5.1.1` so the hooks run the copy carrying the contract they now declare. **Verified:** installed capabilities `5.1.1`; `tsc --noEmit --skipLibCheck` exit 0 against it. This module ships no hook tests, so the typecheck is the only gate available here — worth knowing. Part of celilo#1361 (bead `ce-ngwn`), which covers four consumers still pinned to the old contract. tango-nexus is fixed and merged; dj-incarnadine-org still needs locating.
caddy serves public_web@4.0.0; this module declared 3.1.0, so celilo refused
every deploy at validation with major_mismatch_lower, before the hook ran.
That is why peterbanka-org could not be redeployed to pick up the celilo#880
companion fix — www.peterbanka.org still has no internal split-horizon record.

The major is one contract change: publishStaticSite no longer takes sourceDir
and derives the web root from the module's own site/dist. defaultDistDir here
is already <module root>/site/dist, so dropping the argument changes nothing
about where the site comes from. Only the declaration and the call were stale.

Bundled @celilo/capabilities moves to ^5.1.1 so the hooks run the copy that
carries the contract they now declare. Verified: installed 5.1.1, tsc --noEmit
exit 0 against it.

Part of celilo#1361 (bead ce-ngwn).

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
celilo/homepage!4
No description provided.