Install
openclaw skills install a2a-market-stake-freezeProvide stake freeze and release rules for participants during negotiation and order execution. Use when implementing stake locking policy, slashing triggers, and stake lifecycle integration with orders.
openclaw skills install a2a-market-stake-freezeBuild the rule engine shell for stake lock lifecycle in A2A transactions.
Current status: registration-first scaffold with explicit policy points.
app/domain/rules/stake_rules.pyapp/application/services/stake_service.pyapp/infrastructure/db/stake_repository.pyapp/infrastructure/tasks/stake_timeout_worker.pyfreeze_stake(node_id, intent_id, amount) returns lock record.release_stake(lock_id, reason) closes lock and restores available stake.slash_stake(lock_id, reason, evidence) applies penalty and emits incident log.evaluate_timeout_locks(now_ts) handles automatic release/slash decisions.NEGOTIATION_STARTED when stake lock is confirmed.runtime/src/domain/stake-policy.jsruntime/tests and npm test in runtime/.