Function: suggest()

August 8, 2026 ยท View on GitHub

@plures/praxis


@plures/praxis / index / suggest

Function: suggest()

suggest(finding, type): Suggestion

Defined in: packages/praxis-core/src/decision-ledger/suggestions.ts:26

Generate a suggestion for any type of finding.

Parameters

finding

DeadRule | UnreachableState | ShadowedRule | Contradiction | Gap | ContractCoverageGap

The finding to generate a suggestion for

type

FindingType

The type of finding, used to dispatch to the appropriate suggestion generator

Returns

Suggestion

A Suggestion with a message, action, and priority