Syntropy.SourceTool.Librarian (syntropy v0.1.0)

Copy Markdown

Read-only subprocess adapter for Librarian evidence expansion.

The adapter treats Librarian as an external CLI contract. It writes a bounded request file, runs librarian evidence, caps stdout, validates the schema, and returns decoded JSON with string keys.

Summary

Types

request()

@type request() :: map()

source_tool()

@type source_tool() :: map()

Functions

expand(source_tool, request)

@spec expand(source_tool(), request()) :: {:ok, map()} | {:error, map()}