feat: add daily manual price review workflow

This commit is contained in:
Wyndham ARR
2026-08-06 22:40:18 +08:00
parent aae3d8e1db
commit ca3e8e18fa
77 changed files with 7750 additions and 602 deletions

View File

@@ -0,0 +1,56 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://arr.local/schemas/arr-direct-legacy-structured-result-v3.json",
"title": "Retired ARR direct-MCP structured result v3",
"description": "Read-only compatibility contract for the retired direct-MCP success route. It intentionally has no manual-review fields or review-required status.",
"type": "object",
"additionalProperties": false,
"required": [
"result_schema_version",
"status",
"activation_eligible",
"ingestion_mode",
"business_date",
"processor_version",
"rule_set_sha256",
"source_rows",
"removed_by_rate_code",
"removed_as_duplicates",
"output_rows",
"outcome_counts",
"channels",
"artifacts",
"records",
"errors"
],
"properties": {
"result_schema_version": { "type": "string", "const": "3.0" },
"status": { "type": "string", "const": "success" },
"activation_eligible": { "type": "boolean", "const": true },
"ingestion_mode": { "type": "string", "const": "opera_xml" },
"business_date": { "type": "string", "format": "date" },
"processor_version": { "type": "string", "const": "3.0.0" },
"rule_set_sha256": { "$ref": "#/$defs/sha256" },
"source_rows": { "type": "integer", "minimum": 0 },
"removed_by_rate_code": { "type": "integer", "minimum": 0 },
"removed_as_duplicates": { "type": "integer", "minimum": 0 },
"output_rows": { "type": "integer", "minimum": 0 },
"outcome_counts": { "type": "object" },
"channels": { "type": "array", "items": { "$ref": "#/$defs/channel" } },
"artifacts": { "type": "object" },
"records": { "type": "array", "items": { "type": "object" } },
"errors": { "type": "array", "maxItems": 0 }
},
"$defs": {
"sha256": { "type": "string", "pattern": "^[0-9a-f]{64}$" },
"channel": {
"type": "object",
"additionalProperties": false,
"required": ["worksheet", "rows"],
"properties": {
"worksheet": { "type": "string", "minLength": 1 },
"rows": { "type": "integer", "minimum": 0 }
}
}
}
}

View File

@@ -28,7 +28,7 @@
"payload": {
"allOf": [
{
"$ref": "../../arr-opera-daily-ingest/references/structured-result.schema.json"
"$ref": "arr-direct-legacy-structured-result-v3.schema.json"
},
{
"properties": {