43 lines
1.1 KiB
JSON
43 lines
1.1 KiB
JSON
{
|
|
"name": "self-healing-gitops",
|
|
"version": "1.0.0",
|
|
"mode": "codex-driven-ci",
|
|
"description": "Defines how Codex + CI loop detects failures, generates repair plan, and re-runs validation.",
|
|
"workflow": {
|
|
"trigger": ["push", "pull_request"],
|
|
"validation_script": "scripts/validate-gitops-platform-ui.sh",
|
|
"failure_handling": {
|
|
"create_failure_report": true,
|
|
"report_path": "reports/codex/failure.json",
|
|
"notify": "codex-gpt",
|
|
"auto_repair": false,
|
|
"require_human_or_gpt_review": true
|
|
},
|
|
"success_handling": {
|
|
"allow_merge_candidate": true,
|
|
"propose_baseline_update": "V1R1C5"
|
|
}
|
|
},
|
|
"self_healing_loop": {
|
|
"steps": [
|
|
"run_validation",
|
|
"collect_failures",
|
|
"send_to_gpt",
|
|
"apply_patch_to_branch",
|
|
"rerun_validation",
|
|
"repeat_until_pass"
|
|
],
|
|
"max_iterations": 5,
|
|
"stop_conditions": [
|
|
"PASS",
|
|
"critical_security_failure",
|
|
"manual_override"
|
|
]
|
|
},
|
|
"constraints": {
|
|
"no_main_write": true,
|
|
"no_secret_exposure": true,
|
|
"approval_required_for_release": true
|
|
}
|
|
}
|