Sites 0.2.0: signed desired state and deployer API #4

Merged
oliver.maklott merged 1 commit from phase-5 into main 2026-11-20 11:20:39 +01:00

Phase 5 of the Sites plan.

  • Desired state per target (spec "Soll-Zustand"): live and frozen sites with host, manifest, access (bcrypt hashes; oidc audiences from the folder's claim space, empty outside one), noindex, capabilities. Ed25519 over the canonical payload, base64url. The serial grows only on a content or key change; the last 10 states are kept.
  • Rebuilt on every served change (publish, approve, rollback, takedown, credentials, targets saved) and for all targets at startup.
  • Deployer routes with the target's bearer token: long-poll desired, manifests/<sha>, objects/<sha> (only when a kept state refers to them; drafts and pending versions never).
  • Tests: signature verifies, unchanged rebuild keeps the serial, a change wakes a waiting poll, pending manifests 404, tokens per target.

🤖 Generated with Claude Code

Phase 5 of the Sites plan. - Desired state per target (spec "Soll-Zustand"): live and frozen sites with host, manifest, access (bcrypt hashes; oidc audiences from the folder's claim space, empty outside one), noindex, capabilities. Ed25519 over the canonical payload, base64url. The serial grows only on a content or key change; the last 10 states are kept. - Rebuilt on every served change (publish, approve, rollback, takedown, credentials, targets saved) and for all targets at startup. - Deployer routes with the target's bearer token: long-poll `desired`, `manifests/<sha>`, `objects/<sha>` (only when a kept state refers to them; drafts and pending versions never). - Tests: signature verifies, unchanged rebuild keeps the serial, a change wakes a waiting poll, pending manifests 404, tokens per target. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Phase 5: signed desired state per target and the deployer API. Release 0.2.0.
All checks were successful
Publish / dev-image (pull_request) Successful in 1s
Publish / test (pull_request) Successful in 38s
Publish / pack-and-publish (pull_request) Has been skipped
a0438332fd
- Desired state (spec "Soll-Zustand"): live and frozen sites with host, manifest, access (bcrypt hashes; oidc audiences from the folder's claim space, empty outside one), noindex, capabilities; Ed25519 over the canonical payload, base64url; serial grows only on a content or key change; the last 10 states kept.
- Rebuilt on every served change (publish, approve, rollback, takedown, credentials, targets saved) and for all targets at startup.
- Deployer routes with the target's bearer token: long-poll desired (wake in process, store re-read every 2 s for other instances), manifests and objects only when a kept state refers to them.

Co-Authored-By: Claude Opus 5.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
limedoc-plugins/sites!4
No description provided.