Skip to content

API Reference parrot.sdd.techwiki.check

github-actions[bot] edited this page Dec 2, 2026 · 4 revisions

parrot.sdd.techwiki.check

View source

Documentation-chapter check for parrot sdd techwiki check.

Class DocsDecision

Result of the documentation check.

Parameter Type Default Description
policy str
status str
present list[str] list()
missing list[str] list()
empty list[str] list()
reason_codes list[str] list()

Fields:

Field Type Default Description
policy str
status str
present list[str] field(default_factory=list)
missing list[str] field(default_factory=list)
empty list[str] field(default_factory=list)
reason_codes list[str] field(default_factory=list)

Function evaluate_docs

Evaluate the documentation state for a spec.

The result is advisory: no status ever blocks closeout.

evaluate_docs(policy: str, pages: list[str], api_modules: list[str], root: Path) -> DocsDecision

Parameter Type Default Description
policy str Resolved policy string.
pages list[str] List of declared wiki page paths.
api_modules list[str] List of dotted module names.
root Path Repository root.

Returns: DocsDecision — DocsDecision with status and reason codes.

Attribute logger

Function resolve_docs_policy

Return (policy, pages, api_modules) from the spec's docs: frontmatter.

Absent docs key → ("unset", [], []). Malformed → ("invalid", [], []). Mirrors resolve_policy in check_e2e_closeout.py: split on '---', yaml.safe_load, never coerced.

resolve_docs_policy(spec_path: Path) -> tuple[str, list[str], list[str]]

Parameter Type Default Description
spec_path Path Path to the spec file.

Returns: tuple[str, list[str], list[str]] — Tuple of (policy, pages list, api_modules list).

Architecture

Clients

Bots & Agents

Memory

Knowledge

Tools & Toolkits

Flows

Experts

Skills

Stores & Loaders

MCP & A2A

Server & APIs

Integrations

Outputs & A2UI

Prompts

Security

Operations

Migration

SDD Tooling

LLM Wiki

Deployment

Decisions

API Reference

Clone this wiki locally