a2a-Market-Stake-Freeze
/install a2a-market-stake-freeze
\r \r
a2a-Market Stake Freeze\r
\r Build the rule engine shell for stake lock lifecycle in A2A transactions.\r \r Current status: registration-first scaffold with explicit policy points.\r \r
Scope\r
- Lock stake when node accepts an intent or enters negotiation.\r
- Release or slash stake based on final outcome and policy.\r
- Keep stake decisions auditable for dispute resolution.\r \r
Suggested Project Layout\r
app/domain/rules/stake_rules.py\rapp/application/services/stake_service.py\rapp/infrastructure/db/stake_repository.py\rapp/infrastructure/tasks/stake_timeout_worker.py\r \r
Minimum Contracts (MVP P0)\r
freeze_stake(node_id, intent_id, amount)returns lock record.\rrelease_stake(lock_id, reason)closes lock and restores available stake.\rslash_stake(lock_id, reason, evidence)applies penalty and emits incident log.\revaluate_timeout_locks(now_ts)handles automatic release/slash decisions.\r \r
Policy Baseline\r
- Lock amount should be deterministic from intent risk tier.\r
- Slashing requires evidence payload and policy version.\r
- Timeout defaults to release unless explicit breach condition is met.\r \r
Events\r
- Emit
NEGOTIATION_STARTEDwhen stake lock is confirmed.\r - Emit risk/stake incident events for policy engine and logging.\r \r
Implementation Backlog\r
- Add dynamic stake multipliers by market volatility.\r
- Add external arbitration hook for manual dispute outcomes.\r \r
Runtime Implementation\r
- Status: implemented in local runtime package.\r
- Primary code paths:\r
runtime/src/domain/stake-policy.js\r- Validation: covered by
runtime/testsandnpm testinruntime/.\r
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install a2a-market-stake-freeze - After installation, invoke the skill by name or use
/a2a-market-stake-freeze - Provide required inputs per the skill's parameter spec and get structured output
What is a2a-Market-Stake-Freeze?
Provide stake freeze and release rules for participants during negotiation and order execution. Use when implementing stake locking policy, slashing triggers... It is an AI Agent Skill for Claude Code / OpenClaw, with 221 downloads so far.
How do I install a2a-Market-Stake-Freeze?
Run "/install a2a-market-stake-freeze" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is a2a-Market-Stake-Freeze free?
Yes, a2a-Market-Stake-Freeze is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does a2a-Market-Stake-Freeze support?
a2a-Market-Stake-Freeze is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created a2a-Market-Stake-Freeze?
It is built and maintained by luoqianchenguni-max (@luoqianchenguni-max); the current version is v0.2.0.