Repository navigation
Open
Labels
area: runtimeCaddy and privileged controller runtime behavior.enhancementNew feature or requestsecurityPublic security hardening or remediation; disclose vulnerabilities privately.
Milestone
Description
Phase: 4 | Priority: P0
Create the generic broker that lets official apps extend control-plane functions while platform retains final authority.
Scope
- Register providers by app/generation/capability and expose only negotiated typed operations.
- Support the v1 domain profiles for DNS challenges, external identity, owned-host discovery, load-balancer contributions and CrowdSec integration.
- Validate and persist approved engine contributions with ownership/revision checks and a recoverable last-good runtime state.
- Expose narrow privileged adapters, including Docker observation and log consumption; apps do not get controller/Caddy master access.
Dependencies
These are implementation prerequisites; app-to-app delivery gates do not create runtime dependencies.
Acceptance criteria
- Registration is inactive until its generation is promoted and is revoked/fenced on drain or replacement.
- Unauthorized provider claims, callback substitution, cross-app resource writes and conflicting/stale engine contributions are rejected.
- DNS jobs retain core order/key authority and defined present/check/cleanup retry/cancellation semantics.
- External identity results cannot mint sessions, link accounts or assign roles without platform-owned transaction and policy checks.
- Existing balancing/security behavior is preserved across app-management restarts; app failure has an explicit domain outcome.
- Native engine capability changes are preflighted and visible; unsupported modules cannot be dynamically injected or silently disable protection.
Planning baseline: Beta 4.
This issue schedules future work; backlog creation does not implement or deploy it.
Use focused project checks and short integration/recovery tests. Endurance runs belong to release preparation. Normal PRs need no additional documentation files or screenshot commits unless requested.
Metadata
Metadata
Assignees
Labels
area: runtimeCaddy and privileged controller runtime behavior.enhancementNew feature or requestsecurityPublic security hardening or remediation; disclose vulnerabilities privately.
Activity
feat(apps): authorize provider registrations per generation (#558)
RentnerKev commentedon Nov 26, 2026
Progress update. This issue stays open.
Merged
load-balancerandcrowdsecproviders must require the engine capability that applies them. Otherwise the release isincompatibleeverywhere: catalog, install, launch and the upgrade preview.providers.db.test.ts) covers preparing, granted, replaced-grant, superseded and revoked states.privileged_web_socket_serves_generation_scoped_uicovers a newer generation withdrawing the older one while a call is in flight.closing_a_generation_withdraws_its_provider_endpointcovers a stop.privileged_signed_lifecycleinvokes the fixture app's provider after a manager restart.rejects_unregistered_and_invalid_invocations_before_contacting_peers,invokes_only_granted_providers_and_releases_only_matching_results,provider_results_must_answer_their_invocation). Engine contributions are open; they come with the load-balancer and CrowdSec provider PRs.engine_providers_require_the_engine_capability_that_applies_themandengine_capability_changes_are_preflighted_for_engine_providers. That PR also documents the fixed module set and why apps have no access to the Caddy admin socket.Remaining
provider_dependencies_unknownmarker with dependency-aware removal checks, and add certificate and pool dependencies as their providers land. Today the marker blocks removal of every provider app until someone clears it by hand.