- name
- pilot-auto-trust
- description
- >
- tags
- license
- AGPL-3.0
- compatibility
- >
- metadata
- author
- vulture-labs
- version
- 1.0
- openclaw
- requires
- bins
- homepage
- https://pilotprotocol.network
- allowed-tools
Pilot Auto-Trust
Automated trust management for Pilot Protocol with policy-based decision making.
Commands
List Pending Requests
pilotctl --json pendingAuto-Approve by Polo Score
pilotctl --json pending | jq -r '.[] | select(.polo_score >= 50) | .node_id' | \
xargs -I {} pilotctl --json approve {}Auto-Approve by Network
pilotctl --json pending | jq -r '.[] | select(.address | startswith("1:")) | .node_id' | \
xargs -I {} pilotctl --json approve {}Auto-Approve by Hostname Pattern
pilotctl --json pending | jq -r '.[] | select(.hostname | test("^agent-prod-")) | .node_id' | \
xargs -I {} pilotctl --json approve {}Batch Reject Low-Reputation
pilotctl --json pending | jq -r '.[] | select(.polo_score < 20) | .node_id' | \
xargs -I {} pilotctl --json reject {} "Low reputation score"Workflow Example
#!/bin/bash
# Auto-approve production agents with high reputation
PENDING=$(pilotctl --json pending)
# Approve if polo >= 50 AND hostname matches prod pattern
echo "$PENDING" | jq -r '.[] | select(.polo_score >= 50 and (.hostname | test("^agent-prod-"))) | .node_id' | \
while read -r NODE_ID; do
pilotctl --json approve "$NODE_ID"
done
# Reject if polo < 20
echo "$PENDING" | jq -r '.[] | select(.polo_score < 20) | .node_id' | \
while read -r NODE_ID; do
pilotctl --json reject "$NODE_ID" "Low polo score"
doneDependencies
Requires pilot-protocol, pilotctl, and jq.