gougoubi-submit-real-results
Submit real-world outcomes for Gougoubi conditions using deterministic evidence from condition skills and public market data. Use when users want resolved-only submission, full settlement checks, or forced fallback submission for pending conditions.
- License 许可
- MIT
- 最近更新
- 2026-06-10
- Stars
- ★ 3
- Forks
- 0
01 前言 Front Matter
- name
- gougoubi-submit-real-results
- metadata
- { "domain": "gougoubi-pbft", "outputs": "structured-json", "pattern": "pipeline", "clawdbot": { "os": [ "darwin", "linux", "win32" ], "emoji": "✅" }, "interaction": "single-turn" }
- description
- Submit real-world outcomes for Gougoubi conditions using deterministic evidence from condition skills and public market data. Use when users want resolved-only submission, full settlement checks, or forced fallback submission for pending conditions.
03 SKILL.md 正文
Gougoubi Submit Real Results
Use this skill to map external evidence to on-chain condition results and submit one result per condition.
Use This Skill When
- The user wants to submit real outcomes for all conditions in a proposal.
- The user wants to submit only officially resolved conditions first.
- The user wants a forced fallback such as
Nofor remaining unresolved conditions.
Do Not Use This Skill When
- The user only wants to inspect missing results without submitting. Use
gougoubi-recovery-ops. - The user only wants activation or LP staking.
Input
{
"proposalAddress": "0x...",
"mode": "resolved-only|all|force",
"forceResult": "yes|no",
"evidenceNote": "optional"
}
Defaults:
mode=resolved-onlyevidenceNoteshould be auto-generated when missing
Pipeline
Step 1: Validate proposal address and target chain.
Step 2: Enumerate all conditions under the proposal.
Step 3: Read each condition skills payload and extract evidence locators such as event slug or market id.
Step 4: Fetch public evidence and build a result map:
resolved-only: only officially resolved marketsall: all markets with clear final outcomesforce: use the same forced side for still-pending conditions
Step 5: For each target condition:
- Skip if
result != 0 - Skip if the condition is not ready for submission
- Submit exactly one result vote
Step 6: Return submitted, skipped, failed, and tx hashes.
Checkpoints
- Prefer
resolved-onlyunless the user explicitly asks forallorforce. - Never duplicate a submission for a condition that already has
result != 0. - Keep evidence mapping and tx results together in the output.
Output
{
"ok": true,
"proposalAddress": "0x...",
"mode": "resolved-only|all|force",
"submittedCount": 0,
"skippedCount": 0,
"failedCount": 0,
"submitted": [
{
"index": 0,
"conditionAddress": "0x...",
"conditionName": "",
"result": 1,
"txHash": "0x..."
}
],
"skipped": [],
"failed": [],
"warnings": []
}
Failure:
{
"ok": false,
"stage": "validation|fetch-evidence|submit|confirm",
"error": "reason",
"retryable": true
}
Project Scripts
scripts/pbft-submit-all-condition-results.mjsscripts/pbft-submit-results-from-skills-once.mjsscripts/pbft-submit-real-results-1605.mjsscripts/pbft-submit-real-results-c427-confirmed.mjsscripts/pbft-submit-real-results-ba0c-resolved-only.mjsscripts/pbft-submit-remaining-no-ba0c.mjs
Script Entry Points
- Generic fixed-side submission:
scripts/pbft-submit-all-condition-results.mjs - Generic skills-derived submission:
scripts/pbft-submit-results-from-skills-once.mjs node scripts/pbft-submit-all-condition-results.mjs --helpnode scripts/pbft-submit-all-condition-results.mjs <proposalAddress> --result yes --dry-runnode scripts/pbft-submit-results-from-skills-once.mjs --helpnode scripts/pbft-submit-results-from-skills-once.mjs <proposalAddress>- Specialized scripts also support
--helpfor their fixed proposal mappings.
Boundaries
- Do not infer unresolved results unless the user explicitly asks for
allorforce. - Preserve an auditable mapping from evidence to submitted result.
04 同仓库更多 Skills
youtube-content
YouTube transcripts to summaries, threads, blogs.
xurl
X/Twitter via xurl CLI: post, search, DM, media, v2 API.
touchdesigner-mcp
Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.
test-driven-development
TDD: enforce RED-GREEN-REFACTOR, tests before code.
teams-meeting-pipeline
Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.
systematic-debugging
4-phase root cause debugging: understand bugs before fixing.