Use this skill to scan a proposal, identify gaps, and repair only the missing parts.
result=0.json
{
"proposalAddress": "0x...",
"repair": [
"activate-missing",
"risklp-missing",
"submit-result-missing",
"claim-pending"
],
"riskLpPerCondition": "optional",
"forcedResultForPending": "yes|no|optional"
}
Step 1: Scan all proposal conditions and classify gaps.
Step 2: Report detections by repair class:
activateMissingriskLpMissingresultMissingclaimPendingStep 3: Build the smallest possible repair plan.
Step 4: Execute only the requested repair modules.
Step 5: Re-scan and return the final report.
json
{
"ok": true,
"proposalAddress": "0x...",
"detected": {
"activateMissing": 0,
"riskLpMissing": 0,
"resultMissing": 0,
"claimPending": 0
},
"repaired": {
"activate": 0,
"riskLp": 0,
"result": 0,
"claim": 0
},
"txHashes": [],
"failed": [],
"warnings": []
}
Failure:
json
{
"ok": false,
"stage": "scan|repair|confirm",
"error": "reason",
"retryable": true
}
scripts/pbft-activate-and-add-risklp.mjsscripts/pbft-submit-all-condition-results.mjsscripts/pbft-submit-real-results-ba0c-resolved-only.mjsscripts/pbft-submit-remaining-no-ba0c.mjsscripts/pbft-claim-rewards-profile-method.mjs