From 266aab0d677bab35a8256c3808c567404ec17da4 Mon Sep 17 00:00:00 2001 From: Saurabh Jain Date: Fri, 10 Jul 2026 01:52:45 +0200 Subject: [PATCH] chore(contract): bump OpenAPI spec pin to community v9.6.1 Refresh tests/fixtures/wire-shape-baseline.json from the community spec revision f910aa3d (v7.4.x era) to ac1b7cd8 (v9.6.1, current origin/main of getaxonflow/axonflow). Regenerated via scripts/wire_shape/refresh.py against a detached checkout of docs/api at the target SHA. Validator green (83 class/schema pairs), mvn test fully green (1312 tests, 0 failures). Highlights: - MCPCheckInputResponse drift entry drops entirely: the v9.6.1 spec now declares redacted, redacted_statement and redaction_evaluated (Decision Mode PEP contract). - MCPCheckOutputResponse keeps an acknowledged sdk_only redaction_evaluated with a note: the platform emits it since enterprise #2865/#2866; the spec declaration rides the v9.7.0 community sync. - intra_file_duplicates now empty (orchestrator-api.yaml PolicyMatch duplicate fixed upstream). - Decision Mode types now registered: DecideRequest, DecideResponse, DecisionCallerIdentity, DecisionTarget, ObligationFulfillment (registered_types 79 -> 83). - Many stale drift entries drop as satisfied by the newer spec; new spec-side additions recorded mechanically. No SDK source changes. Baseline + pin only. Refs: getaxonflow/axonflow-enterprise#2861 Signed-off-by: Saurabh Jain --- tests/fixtures/wire-shape-baseline.json | 193 ++++++++++-------------- 1 file changed, 77 insertions(+), 116 deletions(-) diff --git a/tests/fixtures/wire-shape-baseline.json b/tests/fixtures/wire-shape-baseline.json index c55bf83..4c9bbcc 100644 --- a/tests/fixtures/wire-shape-baseline.json +++ b/tests/fixtures/wire-shape-baseline.json @@ -46,6 +46,56 @@ "window_start" ] }, + "ConformityAssessment": { + "agent-api.yaml": [ + "approved_at", + "approved_by", + "checks", + "completed_at", + "created_at", + "description", + "findings", + "id", + "name", + "org_id", + "overall_score", + "recommendations", + "rejected_by", + "rejection_reason", + "risk_category", + "started_at", + "status", + "type", + "updated_at" + ], + "orchestrator-api.yaml": [ + "approved_at", + "approved_by", + "assessment_date", + "assessors", + "created_at", + "created_by", + "evidence", + "findings", + "id", + "org_id", + "recommendations", + "rejected_at", + "rejected_by", + "rejection_reason", + "requirements", + "risk_category", + "risk_mitigation", + "status", + "submitted_at", + "submitted_by", + "system_id", + "system_name", + "updated_at", + "valid_until", + "version" + ] + }, "CreatePolicyRequest": { "orchestrator-api.yaml": [ "action", @@ -94,6 +144,7 @@ "HealthResponse": { "agent-api.yaml": [ "capabilities", + "plugin_compatibility", "sdk_compatibility", "service", "status", @@ -177,45 +228,25 @@ ] } }, - "intra_file_duplicates": { - "orchestrator-api.yaml": { - "PolicyMatch": 2 - } - }, - "openapi_specs_sha": "f910aa3d6caaa22d6968d98a541689fb158c54eb", + "intra_file_duplicates": {}, + "openapi_specs_sha": "ac1b7cd879cd4143b1205fa697b9686e2f8f6024", "per_type_drift": { "AuditLogEntry": { "sdk_only": [ "data_residency", - "metadata", - "model", - "policy_violations", "transfer_basis" ], "spec_only": [] }, - "AuditSearchRequest": { - "sdk_only": [ - "decision_id", - "offset", - "override_id", - "policy_name" - ], - "spec_only": [] - }, "Budget": { - "sdk_only": [ - "enabled" - ], + "sdk_only": [], "spec_only": [ "org_id", "tenant_id" ] }, "CancelPlanResponse": { - "sdk_only": [ - "message" - ], + "sdk_only": [], "spec_only": [ "success" ] @@ -223,7 +254,6 @@ "ClientRequest": { "sdk_only": [ "llm_provider", - "media", "model" ], "spec_only": [ @@ -231,10 +261,7 @@ ] }, "ClientResponse": { - "sdk_only": [ - "budget_info", - "media_analysis" - ], + "sdk_only": [], "spec_only": [ "metadata" ] @@ -249,23 +276,24 @@ ] }, "CreateStaticPolicyRequest": { - "sdk_only": [ - "organization_id" - ], + "sdk_only": [], "spec_only": [ "priority", "tags" ] }, "CreateWorkflowResponse": { - "sdk_only": [ - "created_at", - "source" - ], + "sdk_only": [], "spec_only": [ "started_at" ] }, + "DecideResponse": { + "sdk_only": [ + "error" + ], + "spec_only": [] + }, "DecisionExplanation": { "sdk_only": [ "context", @@ -283,18 +311,6 @@ ], "spec_only": [] }, - "DynamicPolicy": { - "sdk_only": [ - "category", - "created_at", - "organization_id", - "priority", - "tier", - "type", - "updated_at" - ], - "spec_only": [] - }, "DynamicPolicyMatch": { "sdk_only": [ "reason" @@ -314,22 +330,11 @@ ] }, "ExecutionSnapshot": { - "sdk_only": [ - "approval_required", - "approved_at", - "approved_by" - ], + "sdk_only": [], "spec_only": [ "retry_count" ] }, - "ExecutionSummary": { - "sdk_only": [ - "input_summary", - "output_summary" - ], - "spec_only": [] - }, "ExfiltrationCheckInfo": { "sdk_only": [ "within_limits" @@ -377,14 +382,6 @@ "user_token" ] }, - "MCPCheckInputResponse": { - "sdk_only": [ - "redacted", - "redacted_statement", - "redaction_evaluated" - ], - "spec_only": [] - }, "MCPCheckOutputRequest": { "sdk_only": [], "spec_only": [ @@ -395,17 +392,12 @@ ] }, "MCPCheckOutputResponse": { + "_note": "Acknowledged: platform emits redaction_evaluated on check-output since axonflow-enterprise #2865/#2866 (2026-07-09); the spec declaration rides the v9.7.0 community sync. Flip this out on the next spec-pin bump.", "sdk_only": [ "redaction_evaluated" ], "spec_only": [] }, - "MarkStepCompletedRequest": { - "sdk_only": [ - "metadata" - ], - "spec_only": [] - }, "PaginationMeta": { "sdk_only": [ "pageSize", @@ -438,11 +430,7 @@ }, "PlanResponse": { "sdk_only": [ - "complexity", - "domain", - "estimated_duration", - "parallel", - "status" + "estimated_duration" ], "spec_only": [ "error", @@ -502,16 +490,10 @@ ] }, "ResumePlanResponse": { - "sdk_only": [ - "approved", - "message", - "next_step", - "next_step_name", - "total_steps", - "workflow_id" - ], + "sdk_only": [], "spec_only": [ - "result" + "result", + "step_result" ] }, "StaticPolicy": { @@ -542,22 +524,12 @@ ] }, "UpdateStaticPolicyRequest": { - "sdk_only": [ - "category" - ], + "sdk_only": [], "spec_only": [ "priority", "tags" ] }, - "UsageBreakdown": { - "sdk_only": [ - "period", - "period_end", - "period_start" - ], - "spec_only": [] - }, "UsageBreakdownItem": { "sdk_only": [], "spec_only": [ @@ -565,9 +537,7 @@ ] }, "UsageRecord": { - "sdk_only": [ - "timestamp" - ], + "sdk_only": [], "spec_only": [ "created_at", "error_message", @@ -579,25 +549,11 @@ "workflow_id" ] }, - "UsageSummary": { - "sdk_only": [ - "period" - ], - "spec_only": [] - }, "WorkflowStatusResponse": { "sdk_only": [], "spec_only": [ "metadata" ] - }, - "WorkflowStepInfo": { - "sdk_only": [ - "approved_by", - "completed_at", - "decision_reason" - ], - "spec_only": [] } }, "registered_types": [ @@ -620,7 +576,11 @@ "CreateWebhookRequest", "CreateWorkflowRequest", "CreateWorkflowResponse", + "DecideRequest", + "DecideResponse", + "DecisionCallerIdentity", "DecisionExplanation", + "DecisionTarget", "DynamicPolicy", "DynamicPolicyInfo", "DynamicPolicyMatch", @@ -641,6 +601,7 @@ "MediaGovernanceConfig", "MediaGovernanceStatus", "ModelPricing", + "ObligationFulfillment", "PaginationMeta", "PendingApproval", "PendingApprovalsResponse",