Expand description
Artifact inspection (decided.services.inspect): classify one document and
report its structure, or aggregate types across a directory.
Section names are stored normalized (e.g. "success metrics"); the
renderers format them (.title() for humans, snake_case for JSON).
Decision metadata (status, category, supersedes) is attached only
for decisions; relationships are spec-driven and exclude supersedes
(the documented v0.4.2/ADR-007 top-level-scalar exception).
Structs§
- Directory
Inspection - Aggregated inspection across a directory of Markdown files.
- File
Inspection - One file’s result inside a directory inspection.
- Inspection
Result - Typed single-file inspection result (
InspectionResult).
Functions§
- build_
inspection build_inspection(product)— classify, then attach decision metadata and relationships.- inspect_
directory inspect_directory(directory, recursive)— walk, classify, aggregate.