generated-scene: add scheduled monitoring runtime and helper lifecycle hardening
This commit is contained in:
392
tests/fixtures/generated_scene/p1_family_manifest.json
vendored
Normal file
392
tests/fixtures/generated_scene/p1_family_manifest.json
vendored
Normal file
@@ -0,0 +1,392 @@
|
||||
{
|
||||
"families": [
|
||||
{
|
||||
"id": "g2-multi-mode-lineloss-family",
|
||||
"group": "G2",
|
||||
"familyName": "G2 multi-mode lineloss family",
|
||||
"representativeFixtureDir": "tests/fixtures/generated_scene/multi_mode",
|
||||
"representativeSceneId": "p1-g2-multi-mode-report",
|
||||
"representativeSceneName": "P1 G2 multi-mode report",
|
||||
"expectedArchetype": "multi_mode_request",
|
||||
"requiredGateNames": [
|
||||
"bootstrap_resolved",
|
||||
"request_contract_complete",
|
||||
"response_contract_complete",
|
||||
"workflow_contract_complete",
|
||||
"runtime_contract_compatible"
|
||||
],
|
||||
"requiredEvidenceTypes": [
|
||||
"bootstrap_candidate",
|
||||
"endpoint_candidate",
|
||||
"request_template_candidate",
|
||||
"response_path_candidate",
|
||||
"workflow_candidate"
|
||||
],
|
||||
"batchExpansionFixtures": [
|
||||
{
|
||||
"fixtureDir": "tests/fixtures/generated_scene/g2_weekly_single_mode",
|
||||
"sceneId": "p1-g2-weekly-single-mode-report",
|
||||
"sceneName": "P1 G2 weekly single mode report",
|
||||
"assertions": {
|
||||
"requiredDefaultMode": "week"
|
||||
}
|
||||
},
|
||||
{
|
||||
"fixtureDir": "tests/fixtures/generated_scene/g2_mixed_linked_workflow",
|
||||
"sceneId": "p1-g2-mixed-linked-workflow-report",
|
||||
"sceneName": "P1 G2 mixed linked workflow report",
|
||||
"assertions": {
|
||||
"requiredDefaultMode": "primary"
|
||||
}
|
||||
},
|
||||
{
|
||||
"fixtureDir": "tests/fixtures/generated_scene/g2_comparison_crosscheck",
|
||||
"sceneId": "p1-g2-comparison-crosscheck-report",
|
||||
"sceneName": "P1 G2 comparison crosscheck report",
|
||||
"assertions": {
|
||||
"requiredDefaultMode": "comparison"
|
||||
}
|
||||
},
|
||||
{
|
||||
"fixtureDir": "tests/fixtures/generated_scene/g2_diagnosis_drilldown",
|
||||
"sceneId": "p1-g2-diagnosis-drilldown-report",
|
||||
"sceneName": "P1 G2 diagnosis drilldown report",
|
||||
"assertions": {
|
||||
"requiredDefaultMode": "diagnosis"
|
||||
}
|
||||
},
|
||||
{
|
||||
"fixtureDir": "tests/fixtures/generated_scene/g2_prediction_compute",
|
||||
"sceneId": "p1-g2-prediction-compute-report",
|
||||
"sceneName": "P1 G2 prediction compute report",
|
||||
"assertions": {
|
||||
"requiredDefaultMode": "prediction"
|
||||
}
|
||||
}
|
||||
],
|
||||
"batchCandidateAsset": "tests/fixtures/generated_scene/g2_candidate_batch_2026-04-18.json",
|
||||
"successRateSummary": "6/6 representative plus five expansion migrations passed",
|
||||
"failureTaxonomy": [
|
||||
"request_mode_param",
|
||||
"workflow_transform",
|
||||
"bootstrap_target"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "g1-single-request-report-family",
|
||||
"group": "G1",
|
||||
"familyName": "G1 single-request report family",
|
||||
"representativeFixtureDir": "tests/fixtures/generated_scene/single_request_table",
|
||||
"representativeSceneId": "p1-g1-single-request-report",
|
||||
"representativeSceneName": "P1 G1 single-request report",
|
||||
"expectedArchetype": "single_request_table",
|
||||
"requiredGateNames": [
|
||||
"bootstrap_resolved",
|
||||
"request_contract_complete",
|
||||
"response_contract_complete",
|
||||
"workflow_contract_complete",
|
||||
"runtime_contract_compatible"
|
||||
],
|
||||
"requiredEvidenceTypes": [
|
||||
"bootstrap_candidate",
|
||||
"endpoint_candidate",
|
||||
"request_template_candidate",
|
||||
"response_path_candidate"
|
||||
],
|
||||
"successRateSummary": "1/1 representative migration passed",
|
||||
"failureTaxonomy": [
|
||||
"request_endpoint",
|
||||
"response_path",
|
||||
"workflow_steps"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "g1e-light-enrichment-family",
|
||||
"group": "G1",
|
||||
"familyName": "G1-E light enrichment report family",
|
||||
"representativeFixtureDir": "tests/fixtures/generated_scene/g1e_light_enrichment",
|
||||
"representativeSceneId": "p1-g1e-light-enrichment-report",
|
||||
"representativeSceneName": "P1 G1-E light enrichment report",
|
||||
"expectedArchetype": "single_request_enrichment",
|
||||
"requiredGateNames": [
|
||||
"bootstrap_resolved",
|
||||
"request_contract_complete",
|
||||
"response_contract_complete",
|
||||
"workflow_contract_complete",
|
||||
"runtime_contract_compatible",
|
||||
"main_request_resolved",
|
||||
"enrichment_requests_resolved",
|
||||
"merge_plan_resolved",
|
||||
"g1e_scope_compatible"
|
||||
],
|
||||
"requiredEvidenceTypes": [
|
||||
"bootstrap_candidate",
|
||||
"endpoint_candidate",
|
||||
"main_request_candidate",
|
||||
"enrichment_request_candidate",
|
||||
"merge_plan_candidate",
|
||||
"workflow_candidate"
|
||||
],
|
||||
"expansionFixtureDir": "tests/fixtures/generated_scene/g1e_light_enrichment_expansion",
|
||||
"expansionSceneId": "p1-g1e-light-enrichment-expansion-report",
|
||||
"expansionSceneName": "P1 G1-E light enrichment expansion report",
|
||||
"expansionAssertions": {
|
||||
"requiredMainRequest": "getWkorderAll",
|
||||
"requiredEnrichmentRequest": "queryMeterInfo",
|
||||
"requiredMergeJoinKey": "wkOrderNo",
|
||||
"requiredMergeAggregateRule": "group_by:countyCodeName",
|
||||
"requiredOutputColumn": "meterCapacityThisMonth"
|
||||
},
|
||||
"batchExpansionFixtures": [
|
||||
{
|
||||
"fixtureDir": "tests/fixtures/generated_scene/g1e_light_enrichment_additional",
|
||||
"sceneId": "p1-g1e-light-enrichment-additional-report",
|
||||
"sceneName": "P1 G1-E light enrichment additional report",
|
||||
"assertions": {
|
||||
"requiredMainRequest": "getWkorderAll",
|
||||
"requiredEnrichmentRequest": "queryBusAcpt",
|
||||
"requiredMergeJoinKey": "wkOrderNo",
|
||||
"requiredMergeAggregateRule": "group_by:countyCodeName",
|
||||
"requiredOutputColumn": "batchCapacityThisMonth"
|
||||
}
|
||||
}
|
||||
],
|
||||
"batchCandidateAsset": "tests/fixtures/generated_scene/g1e_candidate_batch_2026-04-18.json",
|
||||
"successRateSummary": "3/3 representative plus two expansion migrations passed",
|
||||
"failureTaxonomy": [
|
||||
"g1e_main_request_missing",
|
||||
"g1e_enrichment_requests_incomplete",
|
||||
"g1e_merge_plan_incomplete",
|
||||
"g1e_scope"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "g3-paginated-enrichment-family",
|
||||
"group": "G3",
|
||||
"familyName": "G3 paginated enrichment family",
|
||||
"representativeFixtureDir": "tests/fixtures/generated_scene/paginated_enrichment",
|
||||
"representativeSceneId": "p1-g3-paginated-report",
|
||||
"representativeSceneName": "P1 G3 paginated report",
|
||||
"expectedArchetype": "paginated_enrichment",
|
||||
"requiredGateNames": [
|
||||
"bootstrap_resolved",
|
||||
"request_contract_complete",
|
||||
"response_contract_complete",
|
||||
"workflow_contract_complete",
|
||||
"runtime_contract_compatible"
|
||||
],
|
||||
"requiredEvidenceTypes": [
|
||||
"bootstrap_candidate",
|
||||
"endpoint_candidate",
|
||||
"response_path_candidate",
|
||||
"workflow_candidate"
|
||||
],
|
||||
"expansionFixtureDir": "tests/fixtures/generated_scene/paginated_enrichment_expansion",
|
||||
"expansionSceneId": "p1-g3-paginated-expansion-report",
|
||||
"expansionSceneName": "P1 G3 paginated expansion report",
|
||||
"expansionAssertions": {
|
||||
"expectedPaginationField": "pageNum",
|
||||
"requiredJoinKey": "ticketNo",
|
||||
"requiredAggregateRule": "aggregate:riskLevel"
|
||||
},
|
||||
"batchExpansionFixtures": [
|
||||
{
|
||||
"fixtureDir": "tests/fixtures/generated_scene/paginated_enrichment_expansion_workorder",
|
||||
"sceneId": "p1-g3-paginated-expansion-workorder-report",
|
||||
"sceneName": "P1 G3 paginated expansion workorder report",
|
||||
"assertions": {
|
||||
"expectedPaginationField": "pageNo",
|
||||
"requiredJoinKey": "workOrderNo",
|
||||
"requiredAggregateRule": "aggregate:sourceType"
|
||||
}
|
||||
},
|
||||
{
|
||||
"fixtureDir": "tests/fixtures/generated_scene/paginated_enrichment_expansion_orderno",
|
||||
"sceneId": "p1-g3-paginated-expansion-orderno-report",
|
||||
"sceneName": "P1 G3 paginated expansion orderno report",
|
||||
"assertions": {
|
||||
"expectedPaginationField": "page",
|
||||
"requiredJoinKey": "orderNo",
|
||||
"requiredAggregateRule": "aggregate:sourceType"
|
||||
}
|
||||
},
|
||||
{
|
||||
"fixtureDir": "tests/fixtures/generated_scene/paginated_enrichment_expansion_source_distribution",
|
||||
"sceneId": "p1-g3-paginated-expansion-source-distribution-report",
|
||||
"sceneName": "P1 G3 paginated expansion source distribution report",
|
||||
"assertions": {
|
||||
"expectedPaginationField": "pageNum",
|
||||
"requiredJoinKey": "ticketNo",
|
||||
"requiredAggregateRule": "aggregate:sourceType"
|
||||
}
|
||||
},
|
||||
{
|
||||
"fixtureDir": "tests/fixtures/generated_scene/paginated_enrichment_expansion_service_risk",
|
||||
"sceneId": "p1-g3-paginated-expansion-service-risk-report",
|
||||
"sceneName": "P1 G3 paginated expansion service risk report",
|
||||
"assertions": {
|
||||
"expectedPaginationField": "pageNo",
|
||||
"requiredJoinKey": "ticketNo",
|
||||
"requiredAggregateRule": "aggregate:riskLevel"
|
||||
}
|
||||
},
|
||||
{
|
||||
"fixtureDir": "tests/fixtures/generated_scene/paginated_enrichment_expansion_timeout_warning",
|
||||
"sceneId": "p1-g3-paginated-expansion-timeout-warning-report",
|
||||
"sceneName": "P1 G3 paginated expansion timeout warning report",
|
||||
"assertions": {
|
||||
"expectedPaginationField": "pageNum",
|
||||
"requiredJoinKey": "ticketNo",
|
||||
"requiredAggregateRule": "aggregate:riskLevel"
|
||||
}
|
||||
},
|
||||
{
|
||||
"fixtureDir": "tests/fixtures/generated_scene/paginated_enrichment_expansion_device_monitor_weekly",
|
||||
"sceneId": "p1-g3-paginated-expansion-device-monitor-weekly-report",
|
||||
"sceneName": "P1 G3 paginated expansion device monitor weekly report",
|
||||
"assertions": {
|
||||
"expectedPaginationField": "pageNo",
|
||||
"requiredJoinKey": "ticketNo",
|
||||
"requiredAggregateRule": "aggregate:sourceType"
|
||||
}
|
||||
},
|
||||
{
|
||||
"fixtureDir": "tests/fixtures/generated_scene/paginated_enrichment_expansion_customer_satisfaction",
|
||||
"sceneId": "p1-g3-paginated-expansion-customer-satisfaction-report",
|
||||
"sceneName": "P1 G3 paginated expansion customer satisfaction report",
|
||||
"assertions": {
|
||||
"expectedPaginationField": "page",
|
||||
"requiredJoinKey": "ticketNo",
|
||||
"requiredAggregateRule": "aggregate:sourceType"
|
||||
}
|
||||
},
|
||||
{
|
||||
"fixtureDir": "tests/fixtures/generated_scene/paginated_enrichment_expansion_repair_return",
|
||||
"sceneId": "p1-g3-paginated-expansion-repair-return-report",
|
||||
"sceneName": "P1 G3 paginated expansion repair return report",
|
||||
"assertions": {
|
||||
"expectedPaginationField": "pageNum",
|
||||
"requiredJoinKey": "ticketNo",
|
||||
"requiredAggregateRule": "aggregate:riskLevel"
|
||||
}
|
||||
},
|
||||
{
|
||||
"fixtureDir": "tests/fixtures/generated_scene/paginated_enrichment_expansion_repair_daily_control",
|
||||
"sceneId": "p1-g3-paginated-expansion-repair-daily-control-report",
|
||||
"sceneName": "P1 G3 paginated expansion repair daily control report",
|
||||
"assertions": {
|
||||
"expectedPaginationField": "pageNo",
|
||||
"requiredJoinKey": "ticketNo",
|
||||
"requiredAggregateRule": "aggregate:riskLevel"
|
||||
}
|
||||
},
|
||||
{
|
||||
"fixtureDir": "tests/fixtures/generated_scene/paginated_enrichment_expansion_business_stats",
|
||||
"sceneId": "p1-g3-paginated-expansion-business-stats-report",
|
||||
"sceneName": "P1 G3 paginated expansion business stats report",
|
||||
"assertions": {
|
||||
"expectedPaginationField": "page",
|
||||
"requiredJoinKey": "ticketNo",
|
||||
"requiredAggregateRule": "aggregate:sourceType"
|
||||
}
|
||||
}
|
||||
],
|
||||
"batchCandidateAsset": "tests/fixtures/generated_scene/g3_candidate_batch_2026-04-18.json",
|
||||
"successRateSummary": "11/11 representative plus ten expansion migrations passed",
|
||||
"failureTaxonomy": [
|
||||
"paginate_step",
|
||||
"secondary_request",
|
||||
"post_process",
|
||||
"response_path",
|
||||
"join_key_missing"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "g6-host-bridge-workflow-family",
|
||||
"group": "G6",
|
||||
"familyName": "G6 host bridge workflow family",
|
||||
"representativeFixtureDir": "tests/fixtures/generated_scene/g6_host_bridge_workflow",
|
||||
"representativeSceneId": "p1-g6-host-bridge-workflow",
|
||||
"representativeSceneName": "P1 G6 host bridge workflow",
|
||||
"expectedArchetype": "host_bridge_workflow",
|
||||
"requiredGateNames": [
|
||||
"bootstrap_resolved",
|
||||
"request_contract_complete",
|
||||
"response_contract_complete",
|
||||
"workflow_contract_complete",
|
||||
"runtime_contract_compatible",
|
||||
"g6_host_bridge_detected",
|
||||
"g6_fail_closed"
|
||||
],
|
||||
"requiredEvidenceTypes": [
|
||||
"bootstrap_candidate",
|
||||
"localhost_dependency_candidate",
|
||||
"workflow_candidate"
|
||||
],
|
||||
"successRateSummary": "1/1 representative migration passed",
|
||||
"failureTaxonomy": [
|
||||
"g6_host_bridge_actions",
|
||||
"g6_runtime_contract",
|
||||
"g6_fail_closed"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "g7-multi-endpoint-inventory-family",
|
||||
"group": "G7",
|
||||
"familyName": "G7 multi-endpoint inventory family",
|
||||
"representativeFixtureDir": "tests/fixtures/generated_scene/g7_multi_endpoint_inventory",
|
||||
"representativeSceneId": "p1-g7-multi-endpoint-inventory",
|
||||
"representativeSceneName": "P1 G7 multi-endpoint inventory",
|
||||
"expectedArchetype": "multi_endpoint_inventory",
|
||||
"requiredGateNames": [
|
||||
"bootstrap_resolved",
|
||||
"request_contract_complete",
|
||||
"response_contract_complete",
|
||||
"workflow_contract_complete",
|
||||
"runtime_contract_compatible",
|
||||
"g7_inventory_endpoints_detected",
|
||||
"g7_fail_closed"
|
||||
],
|
||||
"requiredEvidenceTypes": [
|
||||
"bootstrap_candidate",
|
||||
"endpoint_candidate",
|
||||
"workflow_candidate"
|
||||
],
|
||||
"successRateSummary": "1/1 representative migration passed",
|
||||
"failureTaxonomy": [
|
||||
"g7_inventory_endpoints",
|
||||
"g7_inventory_contract",
|
||||
"g7_fail_closed"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "g8-local-doc-pipeline-family",
|
||||
"group": "G8",
|
||||
"familyName": "G8 local document pipeline family",
|
||||
"representativeFixtureDir": "tests/fixtures/generated_scene/g8_local_doc_pipeline",
|
||||
"representativeSceneId": "p1-g8-local-doc-pipeline",
|
||||
"representativeSceneName": "P1 G8 local document pipeline",
|
||||
"expectedArchetype": "local_doc_pipeline",
|
||||
"requiredGateNames": [
|
||||
"bootstrap_resolved",
|
||||
"request_contract_complete",
|
||||
"response_contract_complete",
|
||||
"workflow_contract_complete",
|
||||
"runtime_contract_compatible",
|
||||
"g8_local_doc_pipeline_detected",
|
||||
"g8_fail_closed"
|
||||
],
|
||||
"requiredEvidenceTypes": [
|
||||
"bootstrap_candidate",
|
||||
"localhost_dependency_candidate",
|
||||
"workflow_candidate"
|
||||
],
|
||||
"successRateSummary": "1/1 representative migration passed",
|
||||
"failureTaxonomy": [
|
||||
"g8_local_doc_pipeline_actions",
|
||||
"g8_local_doc_pipeline_contract",
|
||||
"g8_fail_closed"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user