Skip to content

API Reference parrot.knowledge.wiki.procedure.resolver

github-actions[bot] edited this page Dec 2, 2026 · 1 revision

parrot.knowledge.wiki.procedure.resolver

View source

Deterministic next resolution over a procedure graph (FEAT-891). No LLM, no history.

Alias ProbeCheck

Re-exported from parrot.knowledge.wiki.procedure.models.ProbeCheck.

Alias ProbeCost

Re-exported from parrot.knowledge.wiki.procedure.models.ProbeCost.

Alias ProbeResult

Re-exported from parrot.knowledge.wiki.procedure.models.ProbeResult.

Class ProbeRunner

Evaluates named probes for a scope.

Method ProbeRunner.cost

Return the cost class of a registered probe, or None when unknown.

cost(probe: str) -> ProbeCost | None

Parameter Type Default Description
probe str

Returns: ProbeCost | None

Method ProbeRunner.run

Return whether the check holds, or None when it cannot be decided.

run(check: ProbeCheck, scope: Mapping[str, str]) -> bool | None

Parameter Type Default Description
check ProbeCheck
scope Mapping[str, str]

Returns: bool | None

Alias ProcedureSpec

Re-exported from parrot.knowledge.wiki.procedure.models.ProcedureSpec.

Alias Resolution

Re-exported from parrot.knowledge.wiki.procedure.models.Resolution.

Alias ResolvedProcedure

Re-exported from parrot.knowledge.wiki.procedure.models.ResolvedProcedure.

Function resolve

Resolve the not-done procedures whose required procedures are complete.

resolve(specs: Sequence[ProcedureSpec], scope: Mapping[str, str], runner: ProbeRunner, *, allow_remote: bool = True, stale: bool = False) -> Resolution

Parameter Type Default Description
specs Sequence[ProcedureSpec] Procedure nodes to resolve.
scope Mapping[str, str] Feature, task, and branch values available to probes.
runner ProbeRunner Probe implementation for the current checkout.
allow_remote bool True Whether probes classified as remote may run.
stale bool False Whether the procedure index used for this resolution is stale.

Returns: Resolution — A deterministic resolution ordered with mandatory procedures first.

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