AttestoMCP.Server.Tasks (attesto_mcp_server v0.8.0)

Copy Markdown View Source

Disabled task-profile boundary.

The dated task profiles are intentionally unavailable until a host supplies a durable store and the complete profile contract. Keeping this supervised no-op process preserves the server's supervision topology while ensuring that no in-memory task state can be enabled accidentally.

Summary

Functions

Returns {:error, :tasks_disabled}; task cancellation is unavailable.

Returns a specification to start this module under a supervisor.

Returns {:error, :tasks_disabled}; no task profile is advertised.

Returns {:error, :tasks_disabled}; task lookup is unavailable.

Starts the supervised disabled task boundary.

Returns {:error, :tasks_disabled}; task updates are unavailable.

Functions

cancel(pid, id, owner, tenant \\ nil)

@spec cancel(pid(), term(), term(), term()) :: {:error, :tasks_disabled}

Returns {:error, :tasks_disabled}; task cancellation is unavailable.

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

create(pid, era, owner, data, tenant \\ nil)

@spec create(pid(), String.t(), term(), map(), term()) :: {:error, :tasks_disabled}

Returns {:error, :tasks_disabled}; no task profile is advertised.

get(pid, id, owner, tenant \\ nil)

@spec get(pid(), term(), term(), term()) :: {:error, :tasks_disabled}

Returns {:error, :tasks_disabled}; task lookup is unavailable.

start_link(opts \\ [])

@spec start_link(keyword()) :: GenServer.on_start()

Starts the supervised disabled task boundary.

update(pid, id, owner, attrs, tenant \\ nil)

@spec update(pid(), term(), term(), map(), term()) :: {:error, :tasks_disabled}

Returns {:error, :tasks_disabled}; task updates are unavailable.