Category: Orchestration
Skill Level: advanced
Stability: stable
Description
Combine independent agent votes under an explicit voting rule, quorum, tie-break policy, and evidence boundary.
When to Use
Use when multiple independent assessments are available and a consensus mechanism is justified.
Inputs / Outputs / Failure Modes
| Area |
Contract |
| Inputs |
Workflow state, role/agent context, task constraints, trigger or decision criteria, and execution bounds. |
| Outputs |
Deterministic orchestration decision/action plus state and evidence needed for downstream work. |
| Failure modes |
Stale state, ambiguous ownership, race conditions, duplicate execution, or missing recovery path. |
Procedure
- Establish workflow state, ownership, boundaries, and acceptance criteria.
- Validate the inputs or trigger before changing workflow state.
- Execute only the declared orchestration operation.
- Record resulting state, evidence, and unresolved conditions.
- Apply explicit recovery or escalation behavior when the workflow cannot continue safely.
Runnable Example
task = {"capability": "consensus-voting", "validated": True}
assert task["validated"]
result = {"status": "orchestration_step", "capability": task["capability"]}
print(result)
Failure Modes
- Ambiguous agent ownership or workflow state.
- Stale or conflicting state.
- Duplicate, concurrent, or non-idempotent execution.
- Missing authorization or recovery path.
- Completion reported without verifiable postconditions.
Orchestration Boundary
Consensus is not proof of correctness; preserve dissent, voter independence, and underlying evidence.
Evidence
Canonical repository skill: this file. Structural conformance is defined by the repository schema, validation workflows, Agent Skills contract, and security gates. Orchestration decisions must preserve state, ownership, and material evidence.
Related
- 15-orchestration
- input-guardrails
- output-guardrails
1---2name: consensus-voting3description: Combine independent agent votes under an explicit voting rule, quorum, tie-break policy, and evidence boundary.4metadata:5 source: https://skillmd.com/skills/samotech/consensus-voting6 upstream: skills/15-orchestration/consensus-voting.md7 category: 15-orchestration8---910**Category:** Orchestration11**Skill Level:** `advanced`12**Stability:** stable1314## Description15Combine independent agent votes under an explicit voting rule, quorum, tie-break policy, and evidence boundary.1617## When to Use18Use when multiple independent assessments are available and a consensus mechanism is justified.1920## Inputs / Outputs / Failure Modes21| Area | Contract |22|---|---|23| Inputs | Workflow state, role/agent context, task constraints, trigger or decision criteria, and execution bounds. |24| Outputs | Deterministic orchestration decision/action plus state and evidence needed for downstream work. |25| Failure modes | Stale state, ambiguous ownership, race conditions, duplicate execution, or missing recovery path. |2627## Procedure281. Establish workflow state, ownership, boundaries, and acceptance criteria.292. Validate the inputs or trigger before changing workflow state.303. Execute only the declared orchestration operation.314. Record resulting state, evidence, and unresolved conditions.325. Apply explicit recovery or escalation behavior when the workflow cannot continue safely.3334## Runnable Example35```python36task = {"capability": "consensus-voting", "validated": True}37assert task["validated"]38result = {"status": "orchestration_step", "capability": task["capability"]}39print(result)40```4142## Failure Modes43- Ambiguous agent ownership or workflow state.44- Stale or conflicting state.45- Duplicate, concurrent, or non-idempotent execution.46- Missing authorization or recovery path.47- Completion reported without verifiable postconditions.4849## Orchestration Boundary50Consensus is not proof of correctness; preserve dissent, voter independence, and underlying evidence.5152## Evidence53Canonical repository skill: this file. Structural conformance is defined by the repository schema, validation workflows, Agent Skills contract, and security gates. Orchestration decisions must preserve state, ownership, and material evidence.5455## Related56- 15-orchestration57- input-guardrails58- output-guardrails