Fix Stage 5 issues based on analysis

- Reorder workflow_create before workflow_run (workflow_id dependency)
- Reorder governance_propose before governance_vote (proposal_id dependency)
- Add currency field (AIT) to cross_chain_bridge operation
- Add island_create operation before island_join (island_id dependency)
- Add wallet_balance check before governance operations
This commit is contained in:
aitbc
2026-05-07 11:25:33 +02:00
parent 0e8d274ed6
commit 2e060598fd

View File

@@ -39,20 +39,6 @@
],
"training_data": {
"operations": [
{
"operation": "workflow_run",
"parameters": {
"workflow_id": "workflow_*"
},
"expected_result": {
"status": "success",
"execution": "started"
},
"success_criteria": {
"status": "success",
"response_fields": ["execution", "execution_id"]
}
},
{
"operation": "workflow_create",
"parameters": {
@@ -68,6 +54,20 @@
"response_fields": ["workflow_id", "name"]
}
},
{
"operation": "workflow_run",
"parameters": {
"workflow_id": "workflow_*"
},
"expected_result": {
"status": "success",
"execution": "started"
},
"success_criteria": {
"status": "success",
"response_fields": ["execution", "execution_id"]
}
},
{
"operation": "workflow_schedule",
"parameters": {
@@ -304,20 +304,17 @@
}
},
{
"operation": "governance_vote",
"operation": "wallet_balance",
"parameters": {
"wallet": "training-wallet",
"proposal_id": "proposal_*",
"vote": "yes",
"password": "training123"
"wallet": "training-wallet"
},
"expected_result": {
"status": "success",
"voted": true
"balance": ">0"
},
"success_criteria": {
"status": "success",
"response_fields": ["voted", "vote_id"]
"response_fields": ["balance", "symbol"]
}
},
{
@@ -337,6 +334,23 @@
"response_fields": ["proposed", "proposal_id"]
}
},
{
"operation": "governance_vote",
"parameters": {
"wallet": "training-wallet",
"proposal_id": "proposal_*",
"vote": "yes",
"password": "training123"
},
"expected_result": {
"status": "success",
"voted": true
},
"success_criteria": {
"status": "success",
"response_fields": ["voted", "vote_id"]
}
},
{
"operation": "security_jwt_setup",
"parameters": {
@@ -357,6 +371,7 @@
"source_chain": "aitbc",
"target_chain": "ethereum",
"amount": "10",
"currency": "AIT",
"wallet": "training-wallet"
},
"expected_result": {
@@ -368,6 +383,21 @@
"response_fields": ["bridged", "bridge_tx_id"]
}
},
{
"operation": "island_create",
"parameters": {
"name": "test-island",
"description": "Test island for training"
},
"expected_result": {
"status": "success",
"created": true
},
"success_criteria": {
"status": "success",
"response_fields": ["created", "island_id"]
}
},
{
"operation": "island_join",
"parameters": {