{"openapi":"3.1.0","info":{"title":"TracePoint Authorize API","version":"1.1.0-local","description":"Local product API for Operational Change Authorization. Core contract 1.1.0-local. External identity, tenancy, durable persistence, monitoring, availability, and production service commitments are deployment specific."},"servers":[{"url":"/api/reference/v1","description":"Same-origin local product environment API"}],"tags":[{"name":"Product environment"},{"name":"Decision authorization"},{"name":"Evidence and recovery"}],"paths":{"/state":{"get":{"tags":["Product environment"],"summary":"Read the current isolated product state","responses":{"200":{"description":"Current product state","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductState"}}}},"429":{"description":"Request rate limit reached","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}}},"/evaluate":{"post":{"tags":["Decision authorization"],"summary":"Evaluate a proposed operational change","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationalChangeRequest"}}}},"responses":{"200":{"description":"ALLOW, DENY, or ESCALATE workflow result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DecisionWorkflowResult"}}}},"400":{"description":"Request validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}},"401":{"description":"Identity or actor authorization failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthorizationError"}}}},"404":{"description":"Resource not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}},"409":{"description":"Request conflicts with current decision state","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConflictError"}}}},"429":{"description":"Request rate limit reached","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}}},"/decisions/{id}/review":{"post":{"tags":["Decision authorization"],"summary":"Resolve a pending accountable review","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewRequest"}}}},"responses":{"200":{"description":"Updated decision workflow result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DecisionWorkflowResult"}}}},"400":{"description":"Request validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}},"401":{"description":"Identity or actor authorization failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthorizationError"}}}},"404":{"description":"Resource not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}},"409":{"description":"Request conflicts with current decision state","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConflictError"}}}},"429":{"description":"Request rate limit reached","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}}},"/authorizations/{id}/execute":{"post":{"tags":["Decision authorization"],"summary":"Execute after action-bound authorization verification","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationalChangeRequest"}}}},"responses":{"200":{"description":"Decision workflow result with Action Receipt and Recovery Context","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DecisionWorkflowResult"}}}},"400":{"description":"Request validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}},"401":{"description":"Identity or actor authorization failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthorizationError"}}}},"404":{"description":"Resource not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}},"409":{"description":"Request conflicts with current decision state","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConflictError"}}}},"429":{"description":"Request rate limit reached","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}}},"/receipts/{id}/reverse":{"post":{"tags":["Evidence and recovery"],"summary":"Roll back the bounded operational change","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Decision workflow result with updated receipt and recovery context","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DecisionWorkflowResult"}}}},"400":{"description":"Request validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}},"401":{"description":"Identity or actor authorization failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthorizationError"}}}},"404":{"description":"Resource not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}},"409":{"description":"Request conflicts with current decision state","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConflictError"}}}},"429":{"description":"Request rate limit reached","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}}}}}},"components":{"schemas":{"actor_identity_reference":{"$schema":"https://json-schema.org/draft/2020-12/schema","title":"TracePoint Actor Identity Reference","type":"object","additionalProperties":false,"required":["id","provider","issuer","externalSubject","actorType","organizationReference","environment","status","assuranceContext","createdAt","revokedAt"],"properties":{"id":{"type":"string","minLength":1},"provider":{"type":"string","minLength":1},"issuer":{"type":"string","minLength":1},"externalSubject":{"type":"string","minLength":1},"displayName":{"type":"string","minLength":1},"actorType":{"enum":["AI_AGENT","WORKFLOW_AGENT","SERVICE"]},"organizationReference":{"type":"string","minLength":1},"environment":{"const":"local"},"status":{"enum":["ACTIVE","REVOKED"]},"assuranceContext":{"type":"string","minLength":1},"createdAt":{"type":"string","format":"date-time"},"revokedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]}},"$id":"https://usetracepoint.ai/schemas/actor-identity-reference.schema.json"},"accountable_principal":{"$schema":"https://json-schema.org/draft/2020-12/schema","title":"TracePoint Accountable Principal","type":"object","additionalProperties":false,"required":["id","organization","businessFunction","accountableRole","resolvedSubjectReference","status"],"properties":{"id":{"type":"string","minLength":1},"organization":{"type":"string","minLength":1},"businessFunction":{"type":"string","minLength":1},"accountableRole":{"type":"string","minLength":1},"resolvedSubjectReference":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"displayName":{"type":"string","minLength":1},"status":{"enum":["ACTIVE","INACTIVE"]}},"$id":"https://usetracepoint.ai/schemas/accountable-principal.schema.json"},"authority_envelope":{"$schema":"https://json-schema.org/draft/2020-12/schema","title":"TracePoint Authority Envelope","type":"object","additionalProperties":false,"required":["id","version","actorIdentityReferenceId","accountablePrincipalId","authoritySource","permittedActions","resourceScopes","purposeScopes","constraints","policyReferences","reviewRules","validFrom","validUntil","status","versionHistoryReference"],"properties":{"id":{"type":"string","minLength":1},"version":{"type":"string","minLength":1},"actorIdentityReferenceId":{"type":"string","minLength":1},"accountablePrincipalId":{"type":"string","minLength":1},"authoritySource":{"type":"string","minLength":1},"permittedActions":{"type":"array","minItems":1,"items":{"type":"string","minLength":1}},"resourceScopes":{"type":"array","minItems":1,"items":{"type":"string","minLength":1}},"purposeScopes":{"type":"array","minItems":1,"items":{"type":"string","minLength":1}},"constraints":{"type":"object","additionalProperties":true},"policyReferences":{"type":"array","minItems":1,"items":{"type":"string","minLength":1}},"reviewRules":{"type":"array","items":{"type":"string","minLength":1}},"validFrom":{"type":"string","format":"date-time"},"validUntil":{"type":"string","format":"date-time"},"permittedEnvironments":{"type":"array","minItems":1,"items":{"type":"string","minLength":1}},"onwardDelegationAllowed":{"type":"boolean"},"maximumDelegationDepth":{"type":"integer","minimum":0},"status":{"enum":["ACTIVE","EXPIRED","REVOKED"]},"revokedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"versionHistoryReference":{"type":"string","minLength":1},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"$id":"https://usetracepoint.ai/schemas/authority-envelope.schema.json"},"action_descriptor":{"$schema":"https://json-schema.org/draft/2020-12/schema","title":"TracePoint Action Descriptor","type":"object","additionalProperties":false,"required":["id","actorIdentityReferenceId","accountablePrincipalId","actionType","targetResource","declaredPurpose","requestedOutcome","context","idempotencyKey","requestedAt","controlPackReference"],"properties":{"id":{"type":"string","minLength":1},"actorIdentityReferenceId":{"type":"string","minLength":1},"accountablePrincipalId":{"type":"string","minLength":1},"actionType":{"type":"string","minLength":1},"targetResource":{"type":"string","minLength":1},"declaredPurpose":{"type":"string","minLength":1},"requestedOutcome":{"type":"string","minLength":1},"context":{"type":"object","additionalProperties":true},"idempotencyKey":{"type":"string","minLength":6,"maxLength":120},"requestedAt":{"type":"string","format":"date-time"},"controlPackReference":{"type":"string","minLength":1}},"$id":"https://usetracepoint.ai/schemas/action-descriptor.schema.json"},"policy_evaluation":{"$schema":"https://json-schema.org/draft/2020-12/schema","title":"TracePoint Policy Evaluation","type":"object","additionalProperties":false,"required":["actionDescriptorId","authorityEnvelopeId","authorityEnvelopeVersion","policyReferences","evaluatedInputs","signals","disposition","reasonCodes"],"properties":{"actionDescriptorId":{"type":"string","minLength":1},"authorityEnvelopeId":{"type":"string","minLength":1},"authorityEnvelopeVersion":{"type":"string","minLength":1},"policyReferences":{"type":"array","minItems":1,"items":{"type":"object","additionalProperties":true}},"evaluatedInputs":{"type":"object","additionalProperties":true},"signals":{"type":"array","items":{"type":"string","minLength":1}},"disposition":{"enum":["ALLOW","DENY","ESCALATE"]},"reasonCodes":{"type":"array","minItems":1,"items":{"type":"string","minLength":1}}},"$id":"https://usetracepoint.ai/schemas/policy-evaluation.schema.json"},"decision_record":{"$schema":"https://json-schema.org/draft/2020-12/schema","title":"TracePoint Decision Record","type":"object","additionalProperties":false,"required":["id","actionDescriptorId","actorIdentityReferenceId","authorityEnvelopeId","authorityEnvelopeVersion","policyReferences","evaluatedInputs","signals","disposition","state","reasonCodes","accountablePrincipalId","humanReviewRequired","createdAt","resolvedAt"],"properties":{"id":{"type":"string","minLength":1},"actionDescriptorId":{"type":"string","minLength":1},"actorIdentityReferenceId":{"type":"string","minLength":1},"authorityEnvelopeId":{"type":"string","minLength":1},"authorityEnvelopeVersion":{"type":"string","minLength":1},"policyReferences":{"type":"array","minItems":1,"items":{"type":"object","additionalProperties":true}},"evaluatedInputs":{"type":"object","additionalProperties":true},"signals":{"type":"array","items":{"type":"string","minLength":1}},"disposition":{"enum":["ALLOW","DENY","ESCALATE"]},"state":{"type":"string","minLength":1},"reasonCodes":{"type":"array","minItems":1,"items":{"type":"string","minLength":1}},"accountablePrincipalId":{"type":"string","minLength":1},"humanReviewRequired":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"resolvedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]}},"$id":"https://usetracepoint.ai/schemas/decision-record.schema.json"},"human_approval":{"$schema":"https://json-schema.org/draft/2020-12/schema","title":"TracePoint Human Approval","type":"object","additionalProperties":false,"required":["id","decisionRecordId","assignedRole","assignedSubjectReference","status","comment","expiresAt","decidedAt"],"properties":{"id":{"type":"string","minLength":1},"decisionRecordId":{"type":"string","minLength":1},"assignedRole":{"type":"string","minLength":1},"assignedSubjectReference":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"status":{"enum":["PENDING","APPROVED","DENIED","EXPIRED"]},"comment":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"expiresAt":{"type":"string","format":"date-time"},"decidedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]}},"$id":"https://usetracepoint.ai/schemas/human-approval.schema.json"},"decision_authorization":{"$schema":"https://json-schema.org/draft/2020-12/schema","title":"TracePoint Decision Authorization","type":"object","additionalProperties":false,"required":["id","profileVersion","issuer","audience","decisionRecordId","actorIdentityReferenceId","accountablePrincipalId","authorityEnvelopeId","authorityEnvelopeVersion","actionDescriptorId","actionFingerprint","targetResource","allowedOperation","policyReferences","issuedAt","notBefore","expiresAt","nonce","consumedAt","revokedAt","status","verificationMethod"],"properties":{"id":{"type":"string","minLength":1},"profileVersion":{"type":"string","minLength":1},"issuer":{"type":"string","minLength":1},"audience":{"type":"string","minLength":1},"decisionRecordId":{"type":"string","minLength":1},"actorIdentityReferenceId":{"type":"string","minLength":1},"accountablePrincipalId":{"type":"string","minLength":1},"authorityEnvelopeId":{"type":"string","minLength":1},"authorityEnvelopeVersion":{"type":"string","minLength":1},"actionDescriptorId":{"type":"string","minLength":1},"actionFingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"},"targetResource":{"type":"string","minLength":1},"allowedOperation":{"type":"string","minLength":1},"policyReferences":{"type":"array","minItems":1,"items":{"type":"object","additionalProperties":true}},"issuedAt":{"type":"string","format":"date-time"},"notBefore":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"},"nonce":{"type":"string","minLength":1},"consumedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"revokedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"status":{"enum":["ACTIVE","CONSUMED","EXPIRED","REVOKED"]},"verificationMethod":{"const":"LOCAL_OPAQUE_SINGLE_USE"}},"$id":"https://usetracepoint.ai/schemas/decision-authorization.schema.json"},"action_receipt":{"$schema":"https://json-schema.org/draft/2020-12/schema","title":"TracePoint Action Receipt","type":"object","additionalProperties":false,"required":["id","decisionAuthorizationId","decisionRecordId","connectorIdentity","targetSystem","externalReference","actionFingerprint","executionStatus","resultingState","executedAt","recoveryContextId","reconciliationStatus","verificationMethod"],"properties":{"id":{"type":"string","minLength":1},"decisionAuthorizationId":{"type":"string","minLength":1},"decisionRecordId":{"type":"string","minLength":1},"connectorIdentity":{"type":"string","minLength":1},"targetSystem":{"type":"string","minLength":1},"externalReference":{"type":"string","minLength":1},"actionFingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"},"executionStatus":{"enum":["EXECUTED","REFUSED","UNCERTAIN","REVERSED","COMPENSATED"]},"resultingState":{"type":"object","additionalProperties":true},"executedAt":{"type":"string","format":"date-time"},"recoveryContextId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"reconciliationStatus":{"enum":["NOT_REQUIRED","REQUIRED","RECONCILED"]},"verificationMethod":{"const":"LOCAL_CONNECTOR_VERIFICATION"}},"$id":"https://usetracepoint.ai/schemas/action-receipt.schema.json"},"recovery_context":{"$schema":"https://json-schema.org/draft/2020-12/schema","title":"TracePoint Recovery Context","type":"object","additionalProperties":false,"required":["id","decisionRecordId","actionReceiptId","recoveryMode","reversibleUntil","rollbackReference","reconciliationRequired","status"],"properties":{"id":{"type":"string","minLength":1},"decisionRecordId":{"type":"string","minLength":1},"actionReceiptId":{"type":"string","minLength":1},"recoveryMode":{"const":"LOCAL_CHANGE_ROLLBACK"},"reversibleUntil":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"rollbackReference":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"reconciliationRequired":{"type":"boolean"},"status":{"enum":["AVAILABLE","IN_PROGRESS","COMPLETED","EXPIRED","NOT_AVAILABLE"]}},"$id":"https://usetracepoint.ai/schemas/recovery-context.schema.json"},"operational_change_action":{"$schema":"https://json-schema.org/draft/2020-12/schema","title":"TracePoint Operational Change Action Profile","type":"object","additionalProperties":false,"required":["actionDescriptor","targetService","environment","changeType","changeScopePercent","sourceEnvironment","destinationEnvironment","businessPurpose","changeReason","recoveryPlaybookReference","rollbackPlanReference"],"properties":{"actionDescriptor":{"$ref":"https://usetracepoint.ai/schemas/action-descriptor.schema.json"},"targetService":{"type":"string","minLength":1},"environment":{"const":"production"},"changeType":{"const":"TRAFFIC_SHIFT"},"changeScopePercent":{"type":"number","exclusiveMinimum":0,"maximum":100},"sourceEnvironment":{"type":"string","minLength":1},"destinationEnvironment":{"type":"string","minLength":1},"businessPurpose":{"type":"string","minLength":1},"changeReason":{"type":"string","minLength":1},"recoveryPlaybookReference":{"type":"string","minLength":1},"rollbackPlanReference":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]}},"$id":"https://usetracepoint.ai/schemas/operational-change-action.schema.json"},"ValidationError":{"type":"object","additionalProperties":false,"required":["error","reasonCode"],"properties":{"error":{"type":"string"},"reasonCode":{"const":"INVALID_REQUEST"},"fields":{"type":"object","additionalProperties":{"type":"string"}}}},"AuthorizationError":{"type":"object","additionalProperties":false,"required":["error","reasonCode"],"properties":{"error":{"type":"string"},"reasonCode":{"enum":["IDENTITY_VERIFICATION_FAILED","ACTOR_NOT_AUTHORIZED"]}}},"ConflictError":{"type":"object","additionalProperties":false,"required":["error","reasonCode"],"properties":{"error":{"type":"string"},"reasonCode":{"enum":["INVALID_STATE","AUTHORIZATION_ALREADY_CONSUMED","AUTHORIZATION_REVOKED","AUTHORIZATION_EXPIRED","ACTION_MISMATCH"]}}},"NotFoundError":{"type":"object","additionalProperties":false,"required":["error","reasonCode"],"properties":{"error":{"type":"string"},"reasonCode":{"const":"NOT_FOUND"}}},"RateLimitError":{"type":"object","additionalProperties":false,"required":["error","reasonCode"],"properties":{"error":{"type":"string"},"reasonCode":{"const":"RATE_LIMITED"}}},"ReviewRequest":{"type":"object","additionalProperties":false,"required":["outcome"],"properties":{"outcome":{"enum":["APPROVED","DENIED"]},"comment":{"type":"string","maxLength":1000}}},"OperationalChangeRequest":{"type":"object","additionalProperties":false,"required":["identityAssertion","actorIdentityReferenceId","actionType","targetService","targetResource","environment","changeType","changeScopePercent","sourceEnvironment","destinationEnvironment","declaredPurpose","changeReason","recoveryPlaybookReference","rollbackPlanReference","requestedOutcome","idempotencyKey"],"properties":{"identityAssertion":{"type":"object","additionalProperties":false,"required":["issuer","subject","organizationReference","actorType","audience","assuranceContext","authenticatedAt","expiresAt","signature"],"properties":{"issuer":{"type":"string"},"subject":{"type":"string"},"organizationReference":{"type":"string"},"actorType":{"enum":["AI_AGENT","WORKFLOW_AGENT","SERVICE"]},"audience":{"const":"tracepoint-authorize-local"},"assuranceContext":{"type":"string"},"authenticatedAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"},"signature":{"type":"string"}}},"actorIdentityReferenceId":{"type":"string"},"actionType":{"const":"PRODUCTION_CONFIGURATION_CHANGE"},"targetService":{"type":"string"},"targetResource":{"type":"string"},"environment":{"const":"production"},"changeType":{"const":"TRAFFIC_SHIFT"},"changeScopePercent":{"type":"number","exclusiveMinimum":0,"maximum":100},"sourceEnvironment":{"type":"string"},"destinationEnvironment":{"type":"string"},"declaredPurpose":{"type":"string"},"changeReason":{"type":"string"},"recoveryPlaybookReference":{"type":"string"},"rollbackPlanReference":{"anyOf":[{"type":"string"},{"type":"null"}]},"requestedOutcome":{"const":"APPLY_CONTROLLED_SERVICE_CHANGE"},"idempotencyKey":{"type":"string","minLength":6,"maxLength":120}}},"EvidenceEvent":{"type":"object","additionalProperties":false,"required":["id","decisionRecordId","state","label","occurredAt"],"properties":{"id":{"type":"string"},"decisionRecordId":{"type":"string"},"state":{"type":"string"},"label":{"type":"string"},"occurredAt":{"type":"string","format":"date-time"}}},"DecisionWorkflowResult":{"type":"object","additionalProperties":false,"required":["action","decision","approval","authorization","receipt","recoveryContext","evidence","duplicate"],"properties":{"action":{"$ref":"#/components/schemas/operational_change_action"},"decision":{"$ref":"#/components/schemas/decision_record"},"approval":{"anyOf":[{"$ref":"#/components/schemas/human_approval"},{"type":"null"}]},"authorization":{"anyOf":[{"$ref":"#/components/schemas/decision_authorization"},{"type":"null"}]},"receipt":{"anyOf":[{"$ref":"#/components/schemas/action_receipt"},{"type":"null"}]},"recoveryContext":{"anyOf":[{"$ref":"#/components/schemas/recovery_context"},{"type":"null"}]},"evidence":{"type":"array","items":{"$ref":"#/components/schemas/EvidenceEvent"}},"duplicate":{"type":"boolean"}}},"ProductPolicy":{"type":"object","additionalProperties":false,"required":["id","version","name","controlPackReference","status","applicableActionTypes","ruleDefinitions","effectiveFrom","effectiveUntil"],"properties":{"id":{"type":"string"},"version":{"type":"string"},"name":{"type":"string"},"controlPackReference":{"type":"string"},"status":{"const":"ACTIVE"},"applicableActionTypes":{"type":"array","items":{"const":"PRODUCTION_CONFIGURATION_CHANGE"}},"ruleDefinitions":{"type":"object","additionalProperties":false,"required":["maximumAutomaticChangePercent","maximumDelegatedChangePercent","permittedPurposes","approvedDestinations","approvedPlaybooks","rollbackRequired","authorizationTtlSeconds","approvalTtlSeconds"],"properties":{"maximumAutomaticChangePercent":{"type":"number"},"maximumDelegatedChangePercent":{"type":"number"},"permittedPurposes":{"type":"array","items":{"type":"string"}},"approvedDestinations":{"type":"array","items":{"type":"string"}},"approvedPlaybooks":{"type":"array","items":{"type":"string"}},"rollbackRequired":{"const":true},"authorizationTtlSeconds":{"type":"integer"},"approvalTtlSeconds":{"type":"integer"}}},"effectiveFrom":{"type":"string","format":"date-time"},"effectiveUntil":{"type":"string","format":"date-time"}}},"ProductState":{"type":"object","additionalProperties":false,"required":["mode","storage","enforcement","coreContractVersion","controlPackVersion","agent","principal","envelope","envelopeHistory","policy","latest","ledger"],"properties":{"mode":{"const":"LOCAL_PRODUCT_ENVIRONMENT"},"storage":{"const":"EPHEMERAL_PER_SESSION_PROCESS_MEMORY"},"enforcement":{"const":"LOCAL_CONNECTOR_ONLY"},"coreContractVersion":{"type":"string"},"controlPackVersion":{"type":"string"},"agent":{"$ref":"#/components/schemas/actor_identity_reference"},"principal":{"$ref":"#/components/schemas/accountable_principal"},"envelope":{"$ref":"#/components/schemas/authority_envelope"},"envelopeHistory":{"type":"array","items":{"$ref":"#/components/schemas/authority_envelope"}},"policy":{"$ref":"#/components/schemas/ProductPolicy"},"latest":{"anyOf":[{"$ref":"#/components/schemas/DecisionWorkflowResult"},{"type":"null"}]},"ledger":{"type":"array","items":{"$ref":"#/components/schemas/action_receipt"}}}}}},"x-tracepoint-availability":"Local product environment. External enforcement and production controls require a configured deployment."}