luplo.core.checks.rules.missing_rationale

Flag decisions without a meaningful rationale.

A decision item with no rationale — or a rationale so short it is effectively placeholder text — is a future self waiting to ask “why did we do this?” and having no answer.

Attributes

Functions

check(→ list[luplo.core.checks.types.Finding])

Module Contents

luplo.core.checks.rules.missing_rationale.NAME = 'missing_rationale'
luplo.core.checks.rules.missing_rationale.DEFAULT_SEVERITY = 'error'
luplo.core.checks.rules.missing_rationale.DESCRIPTION = 'Decision items must carry a rationale of at least 20 characters.'
luplo.core.checks.rules.missing_rationale.MIN_LENGTH = 20
async luplo.core.checks.rules.missing_rationale.check(conn: psycopg.AsyncConnection[Any], project_id: str) list[luplo.core.checks.types.Finding]
luplo.core.checks.rules.missing_rationale.RULE