{"skill":{"slug":"gougoubi-activate-and-stake-risklp","displayName":"Gougoubi Activate And Stake Risklp","summary":"Activate Gougoubi proposal conditions and stake risk LP per condition in one deterministic workflow. Use when users want to activate a proposal, activate sel...","description":"---\nname: gougoubi-activate-and-stake-risklp\ndescription: Activate Gougoubi proposal conditions and stake risk LP per condition in one deterministic workflow. Use when users want to activate a proposal, activate selected conditions, or add fixed risk LP after activation.\nmetadata:\n  pattern: pipeline\n  interaction: single-turn\n  domain: gougoubi-pbft\n  outputs: structured-json\n  clawdbot:\n    emoji: \"⚡\"\n    os: [\"darwin\", \"linux\", \"win32\"]\n---\n\n# Gougoubi Activate And Stake Risk LP\n\nUse this skill for the combined execution flow: activate first, then add risk LP.\n\n## Use This Skill When\n\n- The user wants to activate a proposal and add risk LP in one run.\n- The user wants fixed risk LP per condition.\n- The user wants to repair missing activation or missing LP on a small scope.\n\n## Do Not Use This Skill When\n\n- The user only wants result submission. Use `gougoubi-submit-real-results`.\n- The user only wants reward claiming. Use `gougoubi-claim-all-rewards`.\n- The user only wants condition creation. Use `gougoubi-create-condition`.\n\n## Input\n\n```json\n{\n  \"proposalAddress\": \"0x...\",\n  \"riskLpPerCondition\": \"100\",\n  \"scope\": \"all|only-created|single\",\n  \"conditionIndex\": 0\n}\n```\n\nDefaults:\n\n- `scope=all`\n- `riskLpPerCondition=100`\n\n## Pipeline\n\nStep 1: Validate input and resolve proposal.\n\nStep 2: Ensure there are enough usable committee voters. Auto-join committee with minimum stake when required.\n\nStep 3: Enumerate conditions by `scope`.\n\nStep 4: For each selected condition:\n- If status is `CREATED`, vote to activate.\n- Wait until the condition is `ACTIVE`.\n- Add risk LP exactly once unless the user explicitly asked to top up.\n\nStep 5: Return per-condition activation and LP results.\n\n## Checkpoints\n\n- Do not add LP before the condition is `ACTIVE`.\n- Keep activation failures and LP failures separate.\n- Continue past single-condition failures and report them.\n\n## Output\n\n```json\n{\n  \"ok\": true,\n  \"proposalAddress\": \"0x...\",\n  \"activatedCount\": 0,\n  \"riskLpAddedCount\": 0,\n  \"activated\": [],\n  \"riskLpAdded\": [],\n  \"activationFailed\": [],\n  \"riskLpFailed\": [],\n  \"warnings\": [],\n  \"nextActions\": []\n}\n```\n\nFailure:\n\n```json\n{\n  \"ok\": false,\n  \"stage\": \"validation|resolve-proposal|join-committee|activate|add-risklp|confirm\",\n  \"error\": \"reason\",\n  \"retryable\": true\n}\n```\n\n## Project Scripts\n\n- `scripts/pbft-activate-and-add-risklp.mjs`\n- `scripts/pbft-join-and-activate-all-conditions.mjs`\n- `scripts/pbft-add-risk-lp-to-proposal.mjs`\n\n## Script Entry Points\n\n- Preferred combined entry: `scripts/pbft-activate-and-add-risklp.mjs`\n- `node scripts/pbft-activate-and-add-risklp.mjs --help`\n- `node scripts/pbft-activate-and-add-risklp.mjs <proposalAddress> <riskLpAmount> --dry-run`\n- Use `--dry-run` before execution when installing or validating this skill in a new environment.\n\n## Boundaries\n\n- Never add LP to an inactive condition.\n- Do not top up existing LP unless the user explicitly asks.\n- Keep the workflow idempotent where possible.\n","tags":{"latest":"1.0.1"},"stats":{"comments":0,"downloads":652,"installsAllTime":1,"installsCurrent":1,"stars":0,"versions":2},"createdAt":1773835158153,"updatedAt":1779078417034},"latestVersion":{"version":"1.0.1","createdAt":1774239825532,"changelog":"Version 1.0.1\n\n- Added a \"Script Entry Points\" section in the documentation for improved setup and usage guidance.\n- Provided sample CLI usage and recommended use of `--dry-run` when installing or validating in new environments.\n- No changes to workflow, inputs, or outputs.","license":"MIT-0"},"metadata":{"setup":[],"os":["darwin","linux","win32"],"systems":null},"owner":{"handle":"chinasong","userId":"s179eagqs31pt739p6fnw6sd1983hwvg","displayName":"chinasong","image":"https://avatars.githubusercontent.com/u/7566395?v=4"},"moderation":{"isSuspicious":false,"isMalwareBlocked":false,"verdict":"clean","reasonCodes":["review.llm_review"],"summary":"Review: review.llm_review","engineVersion":"v2.4.24","updatedAt":1780090043993}}