changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$defs": {
+ "s0": {
+ "additionalProperties": {},
+ "properties": {
+ "canonical": {
+ "type": "string"
+ },
+ "diagnostic": {
+ "$ref": "#/$defs/s2"
+ },
+ "read": {
+ "$ref": "#/$defs/s5"
+ },
+ "schemaVersion": {
+ "const": 1,
+ "type": "number"
+ },
+ "security": {
+ "$ref": "#/$defs/s4"
+ },
+ "service": {
+ "const": "Remnant",
+ "type": "string"
+ },
+ "write": {
+ "$ref": "#/$defs/s1"
+ }
+ },
+ "required": [
+ "schemaVersion",
+ "service",
+ "canonical",
+ "read",
+ "write",
+ "diagnostic",
+ "security"
+ ],
+ "type": "object"
+ },
+ "s1": {
+ "additionalProperties": {},
+ "properties": {
+ "available": {
+ "type": "boolean"
+ },
+ "hosted": {
+ "$ref": "#/$defs/s7"
+ },
+ "local": {
+ "$ref": "#/$defs/s6"
+ },
+ "paused": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "available",
+ "paused",
+ "hosted",
+ "local"
+ ],
+ "type": "object"
+ },
+ "s2": {
+ "additionalProperties": {},
+ "properties": {
+ "authenticated_connection": {
+ "$ref": "#/$defs/sc"
+ },
+ "current_access": {
+ "enum": [
+ "read_only",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ "selected_identity": {
+ "$ref": "#/$defs/sc"
+ },
+ "write_scope": {
+ "$ref": "#/$defs/sc"
+ }
+ },
+ "required": [
+ "current_access",
+ "selected_identity",
+ "authenticated_connection",
+ "write_scope"
+ ],
+ "type": "object"
+ },
+ "s3": {
+ "additionalProperties": {},
+ "properties": {
+ "confidenceIsTruth": {
+ "$ref": "#/$defs/sd"
+ },
+ "contentIsUntrustedData": {
+ "$ref": "#/$defs/se"
+ },
+ "guidance": {
+ "type": "string"
+ },
+ "reportedOutcomesAreVerifiedExecution": {
+ "$ref": "#/$defs/sd"
+ }
+ },
+ "required": [
+ "confidenceIsTruth",
+ "reportedOutcomesAreVerifiedExecution",
+ "contentIsUntrustedData",
+ "guidance"
+ ],
+ "type": "object"
+ },
+ "s4": {
+ "additionalProperties": {},
+ "properties": {
+ "public_read_can_write": {
+ "$ref": "#/$defs/sd"
+ },
+ "secrets_in_discovery": {
+ "$ref": "#/$defs/sd"
+ },
+ "silent_registration": {
+ "$ref": "#/$defs/sd"
+ }
+ },
+ "required": [
+ "secrets_in_discovery",
+ "public_read_can_write",
+ "silent_registration"
+ ],
+ "type": "object"
+ },
+ "s5": {
+ "additionalProperties": {},
+ "properties": {
+ "anonymous": {
+ "$ref": "#/$defs/se"
+ },
+ "available": {
+ "type": "boolean"
+ },
+ "mcp": {
+ "type": "string"
+ },
+ "persistent_write": {
+ "$ref": "#/$defs/sd"
+ }
+ },
+ "required": [
+ "available",
+ "anonymous",
+ "persistent_write",
+ "mcp"
+ ],
+ "type": "object"
+ },
+ "s6": {
+ "additionalProperties": {},
+ "properties": {
+ "available": {
+ "type": "boolean"
+ },
+ "mcp": {
+ "type": "string"
+ },
+ "model_visible_registration_allowed": {
+ "$ref": "#/$defs/sd"
+ }
+ },
+ "required": [
+ "available",
+ "mcp",
+ "model_visible_registration_allowed"
+ ],
+ "type": "object"
+ },
+ "s7": {
+ "additionalProperties": {},
+ "properties": {
+ "available": {
+ "type": "boolean"
+ },
+ "credentials_visible_to_model": {
+ "$ref": "#/$defs/sd"
+ },
+ "mcp": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "available",
+ "mcp",
+ "credentials_visible_to_model"
+ ],
+ "type": "object"
+ },
+ "s8": {
+ "allOf": [
+ {
+ "$ref": "#/$defs/s9"
+ }
+ ]
+ },
+ "s9": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "sa": {
+ "allOf": [
+ {
+ "$ref": "#/$defs/sb"
+ }
+ ]
+ },
+ "sb": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "sc": {
+ "const": "unknown",
+ "type": "string"
+ },
+ "sd": {
+ "const": false,
+ "type": "boolean"
+ },
+ "se": {
+ "const": true,
+ "type": "boolean"
+ }
+ },
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "additionalProperties": {},
+ "anyOf": [
+ {
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "properties": {
+ "discovery": {
+ "$ref": "#/$defs/s0"
+ },
+ "evidenceSummary": {
+ "additionalProperties": {},
+ "properties": {
+ "confidence": {
+ "type": "number"
+ },
+ "confidenceState": {
+ "type": "string"
+ },
+ "contradictions": {
+ "$ref": "#/$defs/s9"
+ },
+ "corroborations": {
+ "$ref": "#/$defs/s9"
+ },
+ "declaredEvidenceItems": {
+ "$ref": "#/$defs/s9"
+ },
+ "failedUses": {
+ "$ref": "#/$defs/s9"
+ },
+ "independentReports": {
+ "$ref": "#/$defs/s9"
+ },
+ "lastConfirmedAt": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "sourceCount": {
+ "$ref": "#/$defs/s9"
+ },
+ "successfulUses": {
+ "$ref": "#/$defs/s9"
+ },
+ "uncertainty": {
+ "type": "string"
+ },
+ "updatedAt": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "independentReports",
+ "successfulUses",
+ "failedUses",
+ "corroborations",
+ "contradictions",
+ "sourceCount",
+ "declaredEvidenceItems",
+ "confidence",
+ "confidenceState",
+ "updatedAt",
+ "lastConfirmedAt",
+ "uncertainty"
+ ],
+ "type": "object"
+ },
+ "memory": {
+ "additionalProperties": {},
+ "properties": {
+ "appliesTo": {
+ "$ref": "#/$defs/sa"
+ },
+ "conditions": {
+ "$ref": "#/$defs/sb"
+ },
+ "contentAccess": {
+ "const": "public_full",
+ "type": "string"
+ },
+ "contentTruncated": {
+ "type": "boolean"
+ },
+ "domain": {
+ "type": "string"
+ },
+ "evidenceItems": {
+ "$ref": "#/$defs/sa"
+ },
+ "failedApproaches": {
+ "$ref": "#/$defs/sa"
+ },
+ "id": {
+ "pattern": "^mem_[A-Za-z0-9_-]+$",
+ "type": "string"
+ },
+ "insight": {
+ "type": "string"
+ },
+ "problem": {
+ "type": "string"
+ },
+ "provenance": {
+ "additionalProperties": {},
+ "properties": {
+ "authorPublicId": {
+ "pattern": "^agt_[A-Za-z0-9_-]+$",
+ "type": "string"
+ },
+ "declared": {
+ "type": "boolean"
+ },
+ "origin": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "origin",
+ "type",
+ "declared",
+ "authorPublicId"
+ ],
+ "type": "object"
+ },
+ "publication": {
+ "additionalProperties": {},
+ "properties": {
+ "evidenceStatus": {
+ "type": "string"
+ },
+ "explicitPublication": {
+ "$ref": "#/$defs/se"
+ },
+ "origin": {
+ "type": "string"
+ },
+ "publishedAt": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "origin",
+ "publishedAt",
+ "explicitPublication",
+ "evidenceStatus"
+ ],
+ "type": "object"
+ },
+ "sourceUrls": {
+ "$ref": "#/$defs/sa"
+ },
+ "successfulApproach": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "title": {
+ "type": "string"
+ },
+ "validation": {
+ "additionalProperties": {},
+ "properties": {
+ "counts": {
+ "additionalProperties": {},
+ "properties": {
+ "contradict": {
+ "$ref": "#/$defs/s9"
+ },
+ "corroborate": {
+ "$ref": "#/$defs/s9"
+ },
+ "not_useful": {
+ "$ref": "#/$defs/s9"
+ },
+ "used_successfully": {
+ "$ref": "#/$defs/s9"
+ },
+ "used_unsuccessfully": {
+ "$ref": "#/$defs/s9"
+ },
+ "useful": {
+ "$ref": "#/$defs/s9"
+ }
+ },
+ "required": [
+ "corroborate",
+ "contradict",
+ "useful",
+ "not_useful",
+ "used_successfully",
+ "used_unsuccessfully"
+ ],
+ "type": "object"
+ },
+ "credibleValidators": {
+ "$ref": "#/$defs/s9"
+ },
+ "independentValidators": {
+ "$ref": "#/$defs/s9"
+ },
+ "state": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "state",
+ "independentValidators",
+ "credibleValidators",
+ "counts"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "id",
+ "title",
+ "domain",
+ "problem",
+ "insight",
+ "conditions",
+ "contentTruncated",
+ "contentAccess",
+ "provenance"
+ ],
+ "type": "object"
+ },
+ "status": {
+ "const": "result",
+ "type": "string"
+ },
+ "trustContract": {
+ "$ref": "#/$defs/s3"
+ },
+ "whyThisIsInteresting": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "memory",
+ "evidenceSummary",
+ "whyThisIsInteresting",
+ "trustContract",
+ "discovery"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": {},
+ "properties": {
+ "availableDomains": {
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "domain": {
+ "type": "string"
+ },
+ "publicMemories": {
+ "$ref": "#/$defs/s9"
+ },
+ "withoutIndependentEvidence": {
+ "$ref": "#/$defs/s9"
+ }
+ },
+ "required": [
+ "domain",
+ "publicMemories",
+ "withoutIndependentEvidence"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "discovery": {
+ "$ref": "#/$defs/s0"
+ },
+ "memory": {
+ "type": "null"
+ },
+ "message": {
+ "type": "string"
+ },
+ "status": {
+ "const": "no_result",
+ "type": "string"
+ },
+ "trustContract": {
+ "$ref": "#/$defs/s3"
+ }
+ },
+ "required": [
+ "status",
+ "memory",
+ "availableDomains",
+ "message",
+ "trustContract",
+ "discovery"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ {
+ "additionalProperties": {},
+ "properties": {
+ "category": {
+ "enum": [
+ "authentication",
+ "authorization",
+ "validation",
+ "rate_limit",
+ "conflict",
+ "not_found",
+ "payment",
+ "server"
+ ],
+ "type": "string"
+ },
+ "code": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "details": {
+ "additionalProperties": {},
+ "properties": {
+ "currentVersion": {
+ "$ref": "#/$defs/s8"
+ },
+ "keyId": {
+ "allOf": [
+ {
+ "type": "string"
+ }
+ ]
+ },
+ "memoryId": {
+ "allOf": [
+ {
+ "type": "string"
+ }
+ ]
+ },
+ "publicId": {
+ "allOf": [
+ {
+ "type": "string"
+ }
+ ]
+ },
+ "retryAfter": {
+ "$ref": "#/$defs/s8"
+ }
+ },
+ "type": "object"
+ },
+ "error": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "recommendedAction": {
+ "allOf": [
+ {
+ "type": "string"
+ }
+ ]
+ },
+ "retryAfter": {
+ "$ref": "#/$defs/s8"
+ },
+ "retryable": {
+ "type": "boolean"
+ },
+ "status": {
+ "maximum": 599,
+ "minimum": 400,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "status",
+ "code",
+ "error",
+ "category",
+ "retryable"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": {},
+ "properties": {
+ "code": {
+ "enum": [
+ "UPSTREAM_RATE_LIMITED",
+ "UPSTREAM_UNAVAILABLE",
+ "UPSTREAM_ACCESS_DENIED",
+ "UPSTREAM_INVALID_PARAMS",
+ "UPSTREAM_INVALID_RESPONSE",
+ "UPSTREAM_TIMEOUT",
+ "REQUEST_CANCELLED",
+ "UPSTREAM_CATALOG_CHANGED",
+ "UPSTREAM_REDIRECT_REFUSED",
+ "BRIDGE_BUSY"
+ ],
+ "type": "string"
+ },
+ "httpStatus": {
+ "maximum": 599,
+ "minimum": 100,
+ "type": "integer"
+ },
+ "message": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "retryAfterSeconds": {
+ "maximum": 3600,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "rpcCode": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "code",
+ "message"
+ ],
+ "type": "object"
+ }
+ ],
+ "properties": {},
+ "type": "object"
+}