Cotal TypeScript packages
    Preparing search index...

    Interface OpenAuthAuthorityPlaneOptions

    Inputs to the sealed authority-plane composition.

    interface OpenAuthAuthorityPlaneOptions {
        chatSweepMs?: number;
        dataAccount: { pub: string; signingSeed: string };
        dir: string;
        eventPayloadsWithheld?: boolean;
        identityRoot: string;
        identityStore?: SecretStore;
        interactiveManagerSelection?: "local-primary";
        issuerSessionTtlSeconds?: number;
        localManager?: () => ManagerInstanceIdentity | undefined;
        log: (line: string) => void;
        nativeIssuancePruneMs?: number;
        probeEvictor?: EvictPrincipal;
        probePlaneDeath?: (
            kill: { ledger: () => Promise<void>; records: () => Promise<void> },
        ) => void;
        probePlaneOracle?: PlaneLivenessOracle;
        probeServiceHost?: {
            discovery?: (
                d: { kill: () => Promise<void>; registry: LifecycleRegistry },
            ) => void | Promise<void>;
            effect?: (
                effect: ServiceHostEffect,
                scope: ServiceHostEffectScope,
            ) => void | Promise<void>;
        };
        registry?: RegistryService;
        registryCredentialTtlSeconds?: number;
        registryStore?: SecretStore;
        runCancelLimits?: RunCancelLimits;
        server: string;
        serviceEndpoints?: {
            callerPayload?: ServiceCallerPayloadBootstrap;
            startup: NonNullable<
                | { kind: "normal" }
                | { kind: "restore"; restoreId: string }
                | undefined,
            >;
        };
        sessionCalloutTimeoutMs?: number;
        space: string;
        standingRenewableTtlSeconds?: number;
    }

    Hierarchy (View Summary)

    Index
    chatSweepMs?: number

    How often one bounded chat-session sweep pass runs (default 60 s).

    dataAccount: { pub: string; signingSeed: string }
    dir: string

    The provider state dir — the file-ledger connect arm reads it fresh per connect.

    eventPayloadsWithheld?: boolean

    Trusted space restriction applied to every native payload publish grant.

    identityRoot: string

    The root whose space segment keeps the plane's restart identity: a CLI composition's workspace root. Never derived from dir, which for the CLI sits inside the .cotal/auth an operator copies to another root. With identityStore, the state dir an earlier release kept it under.

    identityStore?: SecretStore

    A hosted context's injected store, which then keeps the restart identity with the other auth secret kinds: its serve seed is a private key.

    interactiveManagerSelection?: "local-primary"
    issuerSessionTtlSeconds?: number

    Bounded trusted-host-only TTL of the held issuer session's credential, 5..300 seconds (default the issuer profile's five minutes).

    localManager?: () => ManagerInstanceIdentity | undefined

    The composition's local manager instance, read per selection. The plane never resolves a workspace root itself: the CLI wrapper passes its root's persisted identity, and a hosted context passes none, so only remote manager gates can be candidates. Absent means none.

    log: (line: string) => void
    nativeIssuancePruneMs?: number

    Delay between completed native-issuance cleanup walks (default 60 s). Startup reads at most one historical row, then continues in bounded background batches.

    probeEvictor?: EvictPrincipal

    SMOKE-ONLY eviction override for the barrier executor's boot resume. Production compositions never set this: the real capability is the delivery daemon's ctl.delivery-admin rail (makeDeliveryAdminEvictor).

    probePlaneDeath?: (
        kill: { ledger: () => Promise<void>; records: () => Promise<void> },
    ) => void

    SMOKE-ONLY scanner-death injector: receives kill switches for the two plane-owned scanner connections so a test can force the mid-life fencing path (a non-reconnecting connection has no natural failure to inject). Production compositions never set this.

    probePlaneOracle?: PlaneLivenessOracle

    SMOKE-ONLY plane-liveness override for the plane claim's stale-reclaim adjudication. Production compositions never set this: the real oracle is the delivery daemon's ctl.delivery-admin rail (makeDeliveryAdminPlaneOracle).

    probeServiceHost?: {
        discovery?: (
            d: { kill: () => Promise<void>; registry: LifecycleRegistry },
        ) => void | Promise<void>;
        effect?: (
            effect: ServiceHostEffect,
            scope: ServiceHostEffectScope,
        ) => void | Promise<void>;
    }

    SMOKE-ONLY service host hooks: the discovery registry with a kill switch for its connection, and each effect after it opens and before the engine uses it. Production compositions never set this.

    registry?: RegistryService

    Default off. The composition root supplies the registry data plane; auth retains its authority.

    registryCredentialTtlSeconds?: number

    Trusted-host only, 5..900 seconds. The native credential source owns renewal.

    registryStore?: SecretStore

    Required with registry. Explicit on both CLI and hosted paths; no ambient store is discovered.

    runCancelLimits?: RunCancelLimits

    Process-lifetime cancellation custody quotas. No eviction or automatic restart on exhaustion.

    server: string
    serviceEndpoints?: {
        callerPayload?: ServiceCallerPayloadBootstrap;
        startup: NonNullable<
            { kind: "normal" }
            | { kind: "restore"; restoreId: string }
            | undefined,
        >;
    }

    Default off. Present: the plane also opens the service endpoint host over its own plane claim hold, account and actor ledger. startup is required and only normal is supported; a restore or a missing startup refuses the whole open. Absent: no engine, no discovery connection and no admission write. callerPayload explicitly enables actual standalone-broker payload bootstrap from fresh host-only VARZ observer credentials; omission never enables positive caller issuance.

    sessionCalloutTimeoutMs?: number

    Maximum callout response window for retaining newly ended connection evidence.

    space: string
    standingRenewableTtlSeconds?: number

    Bounded trusted-host-only standing renewable credential TTL option for rehearsal (default 24h).