Skip to content

Commit 4ef94ab

Browse files
committed
docs(daemon): clarify optional lease composition hooks
1 parent 73f6cf1 commit 4ef94ab

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎packages/daemon/src/server/http/daemon-runtime-deps.ts‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ import type { RequestRouterDeps } from '../request-router.ts';
2121
* runtimes, host diagnostics, credential fingerprinting, resource cleanup, the platform lifecycle
2222
* owners, and the request-router inputs that name them. The server owns the paths, the policy, and
2323
* the session store, and asks the root for the rest through a `composeDeps` factory — the process
24-
* root's implementation is `src/daemon-composition.ts` (ADR 0019). All members are required: a
25-
* daemon process either receives the root's composition or cannot start, and a test passes the
26-
* same factory, so the production assembly is the one every runtime test boots.
24+
* root's implementation is `src/daemon-composition.ts` (ADR 0019). The factory is required for
25+
* daemon startup and runtime tests. `leaseLifecycleProvider` and `recoverExpiredLease` are
26+
* optional hooks, supplied only when a provider supports them.
2727
*/
2828
export type DaemonRuntimeDeps = Readonly<{
2929
ownedProcessRecords: OwnedProcessRecordStore;

0 commit comments

Comments
 (0)