Fix Stage 3 issues based on Hermes feedback

- Add stage4_marketplace_economics to depends_on (AI operations need GPU listings from marketplace)
- Make ai_training_agent operation optional (gpu_listing may not exist)
- Add resource_depends field to training_schema.json for cross-stage resource dependencies
- Add ai_jobs check after ai_submit to verify job appears in listing
- Add finetune_status polling after finetune_submit for job monitoring
This commit is contained in:
aitbc
2026-05-07 11:01:20 +02:00
parent b648be1510
commit d5a479ed12
2 changed files with 30 additions and 3 deletions

View File

@@ -4,7 +4,7 @@
"difficulty": "intermediate",
"estimated_time_minutes": 60,
"skill_level": "practitioner",
"depends_on": ["stage2_operations_mastery"],
"depends_on": ["stage2_operations_mastery", "stage4_marketplace_economics"],
"skills": [
"ai_job_submission",
"task_management",
@@ -45,7 +45,8 @@
"success_criteria": {
"status": "success",
"response_fields": ["training", "training_id"]
}
},
"optional": true
},
{
"operation": "ai_power_advertiser",
@@ -102,6 +103,20 @@
}
}
},
{
"operation": "ai_jobs",
"parameters": {
"coordinator_url": "http://localhost:9001"
},
"expected_result": {
"status": "success",
"jobs": "[]"
},
"success_criteria": {
"status": "success",
"response_fields": ["jobs"]
}
},
{
"operation": "ai_status",
"parameters": {
@@ -154,7 +169,7 @@
},
"expected_result": {
"status": "success",
"finetune_status": "training|completed"
"finetune_status": "pending|running|completed"
},
"success_criteria": {
"status": "success",

View File

@@ -37,6 +37,18 @@
"description": "Stage dependencies - stages that must be completed before this stage. The training system should verify that prerequisite stages have been mastered (passing score met) before allowing a dependent stage to begin.",
"items": {"type": "string"}
},
"resource_depends": {
"type": "array",
"description": "Resource dependencies - specific resources or conditions that must exist before this stage can begin. Examples: GPU listings on marketplace, specific wallet balances, registered agents.",
"items": {
"type": "object",
"properties": {
"resource": {"type": "string", "description": "Resource type (e.g., gpu_listing, wallet_balance, agent)"},
"condition": {"type": "string", "description": "Required condition (e.g., >0, exists, active)"},
"stage": {"type": "string", "description": "Stage that provides this resource (optional, for cross-stage dependencies)"}
}
}
},
"difficulty": {
"type": "string",
"description": "Difficulty level of this training stage",