Skip to content

v1.3.0 — Discoverability: env, schema enum values, docs_optional

Choose a tag to compare

@daniel-pittman daniel-pittman released this 28 May 21:05
1cdf706

v1.3.0

Three introspection features so an agent or operator can discover the active setup and valid inputs without reading config files.

Features

  • env command (and librarian_env MCP tool) — prints each resolved data-home path (home, activities, files, ledger, schema, root, artifacts, memory_dir), which LIBRARIAN_* variable set it (or home/derived/default), and whether it exists. --json supported. Read-only; paths are local to the machine.
  • schema enumerates enum values — every enum field's allowed values are listed: plain enums inline, dependent enums as a per-parent map (e.g. category → subcategory), in both text and --json. No more reading schema.yaml to learn valid subcategory values.
  • docs_optional field — an entry that legitimately has no artifact can set docs_optional: true to suppress its NO DOCS validation warning, so genuine gaps stand out. Settable on create and via update-field <id> docs_optional true, written as a real YAML boolean, honored by validate. A shared strict bool parser keeps create and update-field in agreement and rejects typos.

Quality

  • 212-test suite green on Python 3.10 / 3.11 / 3.12; ruff lint + format clean.
  • Reviewed across two Claude code-review rounds + security-review.

Full changelog: v1.2.0...v1.3.0