Skip to content

API Reference parrot.sdd.scripts.procedure_probes

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

parrot.sdd.scripts.procedure_probes

View source

Probe registry and scope resolution for the procedure graph (FEAT-891). No main().

Alias LOCAL_PROBES

Re-exported from parrot.sdd.scripts.procedure_advice.LOCAL_PROBES.

Attribute PROBE_COSTS

Type: dict[str, ProbeCost]

Alias ProbeCheck

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

Alias ProbeCost

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

Attribute REMOTE_PROBES

Alias SddConfigError

Re-exported from parrot.sdd.config.SddConfigError.

Class SddProbeRunner

ProbeRunner over a checkout using the shared local and remote probes.

Parameter Type Default Description
checkout Path Repository checkout root or a path inside it.
timeout int 5 Maximum seconds allowed for each remote subprocess.

Method SddProbeRunner.cost

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

cost(probe: str) -> ProbeCost | None

Parameter Type Default Description
probe str

Returns: ProbeCost | None

Method SddProbeRunner.run

Apply one check with the shared procedure-advice semantics.

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

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

Returns: bool | None

Alias apply_check

Re-exported from parrot.sdd.scripts.procedure_advice.apply_check.

Alias checkout_root

Re-exported from parrot.sdd.scripts.procedure_advice.checkout_root.

Alias current_branch

Re-exported from parrot.sdd.scripts.procedure_advice.current_branch.

Alias feature_index

Re-exported from parrot.sdd.scripts.procedure_advice.feature_index.

Alias load_sdd_config

Re-exported from parrot.sdd.config.load_sdd_config.

Function scope_for

Resolve feature, task, and branch scope from explicit values and checkout state.

scope_for(checkout: Path, *, feature: str | None = None, task: str | None = None) -> dict[str, str]

Parameter Type Default Description
checkout Path Repository checkout root or a path inside it.
feature str | None None Explicit feature slug or FEAT-N identifier.
task str | None None Explicit TASK-N identifier.

Returns: dict[str, str] — Known scope values, omitting keys that could not be resolved.

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