Files
aios/plans/AIOS-V2R1C2-UNIFIED-PORTAL-TAKEOVER.json
T

149 lines
5.2 KiB
JSON

{
"schema_version": "aios.execution-plan.v2",
"plan_id": "AIOS-V2R1C2-UNIFIED-PORTAL-TAKEOVER-20260722",
"source_branch": "patch/codex/AIOS-V2R1C2-UNIFIED-PORTAL-TAKEOVER-20260722",
"source_oid": "ENV:AIOS_RELEASE_SOURCE_OID",
"target_version": "V2R1C2",
"release_gate_policy": "all_required_stages",
"metadata": {
"owner": "AIOS-Control-Plane",
"purpose": "Legal ChatGPT supervisor takeover for the isolated Unified Portal candidate",
"executor_protocol": "aios.executor.v1",
"owner_notification_channel": "wechat-simulation",
"owner_notification_target_ref": "AIOS_OWNER_WECHAT_TARGET_REF",
"production_baseline": "V2R1C1",
"candidate_port": 18921,
"production_port": 18920,
"production_mutation_allowed": false,
"release_tag_creation_allowed": false,
"simulation_required": true
},
"stages": [
{
"stage_id": "chatgpt-supervisor-candidate-deploy",
"task_id": "OPENCLAW-TASK-V2R1C2-UNIFIED-PORTAL-DEPLOY",
"executor_type": "chatgpt-supervisor",
"role": "candidate_deployment_supervisor",
"depends_on": [],
"steps": [
"verify_exact_source_oid_and_clean_worktree",
"verify_owner_provenance_and_tenant_boundary",
"compile_and_test_candidate",
"deploy_isolated_candidate_on_18921",
"run_offline_and_online_acceptance",
"run_simulated_wechat_acceptance",
"run_restart_recovery_and_rollback_drill",
"publish_hashed_evidence_and_gate_report"
],
"required_evidence": [
"source_oid_attestation",
"provenance_positive_path",
"provenance_negative_matrix",
"wechat_simulated_transcript",
"wechat_simulated_receipts",
"provenance_replay_test",
"tenant_isolation",
"provider_identity_test",
"compile_report",
"unit_test_report",
"candidate_regression_report",
"acceptance_offline",
"acceptance_online",
"service_status",
"health_check",
"api_smoke",
"ui_smoke",
"role_matrix",
"restart_recovery",
"rollback_drill",
"production_health_before",
"production_health_after",
"final_execution_snapshot",
"final_gate_report"
],
"notification_events": ["STARTED", "SUCCEEDED", "FAILED"],
"owner_notification_ref": "AIOS_OWNER_WECHAT_TARGET_REF",
"start_deadline_seconds": 900,
"heartbeat_timeout_seconds": 360,
"required": true,
"metadata": {
"runtime": "chatgpt-supervisor",
"candidate_service": "aios-v2r1c2-portal.service",
"candidate_url": "http://127.0.0.1:18921",
"production_url": "http://127.0.0.1:18920",
"production_service_must_remain_untouched": true,
"wechat_transport": "mock-or-sandbox",
"real_user_impersonated": false
}
},
{
"stage_id": "hermes-runtime-validation",
"task_id": "AIOS-V2R1C2-HERMES-RUNTIME-VALIDATION-20260722",
"executor_type": "hermes",
"role": "runtime_validation_operator",
"depends_on": ["chatgpt-supervisor-candidate-deploy"],
"steps": [
"validate_hermes_health_and_worker_identity",
"validate_queue_claim_and_completion",
"validate_lease_heartbeat_and_timeout_recovery",
"validate_restart_recovery_and_duplicate_delivery_safety",
"reconcile_runtime_evidence_with_candidate_audit"
],
"required_evidence": [
"hermes_health",
"queue_claim_completion",
"lease_heartbeat",
"timeout_recovery",
"restart_recovery",
"duplicate_delivery_safety",
"runtime_evidence_reconciliation"
],
"notification_events": ["STARTED", "SUCCEEDED", "FAILED"],
"owner_notification_ref": "AIOS_OWNER_WECHAT_TARGET_REF",
"start_deadline_seconds": 900,
"heartbeat_timeout_seconds": 360,
"required": true,
"metadata": {
"runtime": "hermes",
"candidate_url": "http://127.0.0.1:18921"
}
},
{
"stage_id": "codex-release-review",
"task_id": "AIOS-V2R1C2-CODEX-RELEASE-REVIEW-20260722",
"executor_type": "codex",
"role": "release_evidence_reviewer",
"depends_on": [
"chatgpt-supervisor-candidate-deploy",
"hermes-runtime-validation"
],
"steps": [
"review_source_diff_and_architecture_invariants",
"review_test_and_runtime_evidence_hashes",
"review_security_tenant_and_role_boundaries",
"review_documentation_traceability_and_rollback_readiness",
"produce_release_recommendation_without_creating_tag"
],
"required_evidence": [
"source_diff_review",
"test_evidence_review",
"runtime_evidence_review",
"security_boundary_review",
"documentation_traceability_review",
"rollback_readiness_review",
"release_recommendation"
],
"notification_events": ["STARTED", "SUCCEEDED", "FAILED"],
"owner_notification_ref": "AIOS_OWNER_WECHAT_TARGET_REF",
"start_deadline_seconds": 900,
"heartbeat_timeout_seconds": 360,
"required": true,
"metadata": {
"runtime": "codex",
"tag_creation_allowed": false,
"owner_approval_required": true
}
}
]
}