changedInput schema / properties / event / oneOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "at": {
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
- "type": "string"
- },
- "brief": {
- "additionalProperties": false,
- "properties": {
- "ambition": {
- "additionalProperties": false,
- "properties": {
- "chosen": {
- "maximum": 3,
- "minimum": 1,
- "type": "integer"
- },
- "goal_beyond": {
- "maxLength": 500,
- "type": "string"
- },
- "judge": {
- "maxLength": 500,
- "type": "string"
- },
- "rungs": {
- "items": {
- "maxLength": 500,
- "type": "string"
- },
- "maxItems": 3,
- "minItems": 3,
- "type": "array"
- }
- },
- "required": [
- "goal_beyond",
- "rungs",
- "chosen",
- "judge"
- ],
- "type": [
- "object",
- "null"
- ]
- },
- "answers": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "answer": {
- "maxLength": 2000,
- "type": "string"
- },
- "question": {
- "maxLength": 500,
- "type": "string"
- }
- },
- "required": [
- "question",
- "answer"
- ],
- "type": "object"
- },
- "maxItems": 40,
- "type": [
- "array",
- "null"
- ]
- },
- "assets": {
- "items": {
- "maxLength": 500,
- "type": "string"
- },
- "maxItems": 30,
- "type": [
- "array",
- "null"
- ]
- },
- "connections": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "access": {
- "enum": [
- "read",
- "draft",
- "live"
- ],
- "type": "string"
- },
- "name": {
- "maxLength": 200,
- "type": "string"
- },
- "status": {
- "enum": [
- "connected",
- "available",
- "missing"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "access",
- "status"
- ],
- "type": "object"
- },
- "maxItems": 30,
- "type": [
- "array",
- "null"
- ]
- },
- "data_home": {
- "maxLength": 300,
- "type": "string"
- },
- "deadline": {
- "maxLength": 200,
- "type": [
- "string",
- "null"
- ]
- },
- "decides": {
- "maxLength": 300,
- "type": "string"
- },
- "deliverable": {
- "maxLength": 600,
- "type": "string"
- },
- "done": {
- "items": {
- "maxLength": 500,
- "type": "string"
- },
- "maxItems": 20,
- "minItems": 1,
- "type": "array"
- },
- "guardrails": {
- "items": {
- "maxLength": 500,
- "type": "string"
- },
- "maxItems": 15,
- "type": [
- "array",
- "null"
- ]
- },
- "limits": {
- "items": {
- "maxLength": 500,
- "type": "string"
- },
- "maxItems": 20,
- "type": [
- "array",
- "null"
- ]
- },
- "metric": {
- "additionalProperties": false,
- "properties": {
- "baseline": {
- "type": [
- "number",
- "null"
- ]
- },
- "baseline_source": {
- "enum": [
- "reported",
- "verified",
- "unknown"
- ],
- "type": "string"
- },
- "direction": {
- "enum": [
- "decrease",
- "increase",
- "reach"
- ],
- "type": "string"
- },
- "name": {
- "maxLength": 200,
- "type": "string"
- },
- "target": {
- "type": [
- "number",
- "null"
- ]
- },
- "unit": {
- "maxLength": 60,
- "type": "string"
- }
- },
- "required": [
- "name",
- "direction",
- "unit",
- "baseline_source"
- ],
- "type": [
- "object",
- "null"
- ]
- },
- "outcome": {
- "maxLength": 1000,
- "type": "string"
- },
- "technical_level": {
- "maxLength": 300,
- "type": [
- "string",
- "null"
- ]
- },
- "unknowns": {
- "items": {
- "maxLength": 500,
- "type": "string"
- },
- "maxItems": 20,
- "type": [
- "array",
- "null"
- ]
- }
- },
- "required": [
- "outcome",
- "deliverable",
- "done",
- "data_home",
- "decides"
- ],
- "type": "object"
- },
- "type": {
- "const": "brief"
- }
- },
- "required": [
- "type",
- "brief"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "at": {
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
- "type": "string"
- },
- "plan": {
- "additionalProperties": false,
- "properties": {
- "capabilities": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "access": {
- "enum": [
- "read",
- "draft",
- "live"
- ],
- "type": "string"
- },
- "id": {
- "pattern": "^[a-z0-9][a-z0-9-]{0,79}$",
- "type": "string"
- },
- "name": {
- "maxLength": 200,
- "type": "string"
- },
- "via": {
- "enum": [
- "mcp",
- "api_key",
- "file",
- "browser",
- "owner"
- ],
- "type": "string"
- },
- "why": {
- "maxLength": 500,
- "type": "string"
- }
- },
- "required": [
- "id",
- "access",
- "via",
- "name",
- "why"
- ],
- "type": "object"
- },
- "maxItems": 25,
- "type": [
- "array",
- "null"
- ]
- },
- "data": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "alternative": {
- "maxLength": 600,
- "type": [
- "string",
- "null"
- ]
- },
- "fields": {
- "items": {
- "maxLength": 200,
- "type": "string"
- },
- "maxItems": 30,
- "type": [
- "array",
- "null"
- ]
- },
- "id": {
- "pattern": "^[a-z0-9][a-z0-9-]{0,79}$",
- "type": "string"
- },
- "name": {
- "maxLength": 200,
- "type": "string"
- },
- "required_for": {
- "items": {
- "pattern": "^[a-z0-9][a-z0-9-]{0,79}$",
- "type": "string"
- },
- "maxItems": 40,
- "type": [
- "array",
- "null"
- ]
- },
- "routes": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "how": {
- "maxLength": 600,
- "type": "string"
- },
- "kind": {
- "enum": [
- "MCP",
- "CSV",
- "FILE",
- "URL",
- "ASK"
- ],
- "type": "string"
- }
- },
- "required": [
- "kind",
- "how"
- ],
- "type": "object"
- },
- "maxItems": 6,
- "minItems": 1,
- "type": "array"
- },
- "why": {
- "maxLength": 600,
- "type": "string"
- }
- },
- "required": [
- "id",
- "name",
- "why",
- "routes"
- ],
- "type": "object"
- },
- "maxItems": 20,
- "type": [
- "array",
- "null"
- ]
- },
- "dropped": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "reason": {
- "maxLength": 500,
- "type": "string"
- },
- "step": {
- "pattern": "^[a-z0-9][a-z0-9-]{0,79}$",
- "type": "string"
- }
- },
- "required": [
- "step",
- "reason"
- ],
- "type": "object"
- },
- "maxItems": 30,
- "type": [
- "array",
- "null"
- ]
- },
- "hypotheses": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "confirm_if": {
- "maxLength": 500,
- "type": "string"
- },
- "fix_stage": {
- "pattern": "^[a-z0-9][a-z0-9-]{0,79}$",
- "type": "string"
- },
- "id": {
- "pattern": "^[a-z0-9][a-z0-9-]{0,79}$",
- "type": "string"
- },
- "refute_if": {
- "maxLength": 500,
- "type": "string"
- },
- "statement": {
- "maxLength": 400,
- "type": "string"
- },
- "test": {
- "maxLength": 800,
- "type": "string"
- }
- },
- "required": [
- "id",
- "statement",
- "test",
- "confirm_if",
- "refute_if",
- "fix_stage"
- ],
- "type": "object"
- },
- "maxItems": 30,
- "type": [
- "array",
- "null"
- ]
- },
- "measurement": {
- "additionalProperties": false,
- "properties": {
- "min_volume": {
- "maxLength": 300,
- "type": "string"
- },
- "stop_rule": {
- "maxLength": 500,
- "type": "string"
- },
- "window": {
- "maxLength": 300,
- "type": "string"
- }
- },
- "required": [
- "window",
- "min_volume",
- "stop_rule"
- ],
- "type": [
- "object",
- "null"
- ]
- },
- "name": {
- "maxLength": 160,
- "type": "string"
- },
- "stages": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "checks": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "id": {
- "pattern": "^[a-z0-9][a-z0-9-]{0,79}$",
- "type": "string"
- },
- "name": {
- "maxLength": 500,
- "type": "string"
- },
- "required": {
- "type": [
- "boolean",
- "null"
- ]
- }
- },
- "required": [
- "id",
- "name"
- ],
- "type": "object"
- },
- "maxItems": 12,
- "type": [
- "array",
- "null"
- ]
- },
- "data": {
- "items": {
- "pattern": "^[a-z0-9][a-z0-9-]{0,79}$",
- "type": "string"
- },
- "maxItems": 40,
- "type": [
- "array",
- "null"
- ]
- },
- "depends_on": {
- "items": {
- "pattern": "^[a-z0-9][a-z0-9-]{0,79}$",
- "type": "string"
- },
- "maxItems": 40,
- "type": [
- "array",
- "null"
- ]
- },
- "from_steps": {
- "items": {
- "pattern": "^[a-z0-9][a-z0-9-]{0,79}$",
- "type": "string"
- },
- "maxItems": 10,
- "type": [
- "array",
- "null"
- ]
- },
- "gate": {
- "enum": [
- "none",
- "review",
- "approve",
- "approve_each_action"
- ],
- "type": "string"
- },
- "goal": {
- "maxLength": 1500,
- "type": "string"
- },
- "id": {
- "pattern": "^[a-z0-9][a-z0-9-]{0,79}$",
- "type": "string"
- },
- "kind": {
- "enum": [
- "intake",
- "context",
- "evidence",
- "integrity",
- "diagnosis",
- "options",
- "decision",
- "production",
- "execution",
- "measurement",
- "learning"
- ],
- "type": "string"
- },
- "name": {
- "maxLength": 120,
- "type": "string"
- },
- "needs": {
- "items": {
- "pattern": "^[a-z0-9][a-z0-9-]{0,79}$",
- "type": "string"
- },
- "maxItems": 40,
- "type": [
- "array",
- "null"
- ]
- },
- "optional_when": {
- "maxLength": 500,
- "type": [
- "string",
- "null"
- ]
- },
- "outputs": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "count": {
- "maximum": 1000,
- "minimum": 1,
- "type": [
- "integer",
- "null"
- ]
- },
- "format": {
- "maxLength": 40,
- "type": "string"
- },
- "id": {
- "pattern": "^[a-z0-9][a-z0-9-]{0,79}$",
- "type": "string"
- },
- "name": {
- "maxLength": 250,
- "type": "string"
- },
- "path": {
- "maxLength": 200,
- "type": "string"
- }
- },
- "required": [
- "id",
- "name",
- "format",
- "path"
- ],
- "type": "object"
- },
- "maxItems": 12,
- "type": [
- "array",
- "null"
- ]
- },
- "owner": {
- "additionalProperties": false,
- "description": "One of: role (a find_specialist id) or gap (the expert you needed when none fits).",
- "properties": {
- "gap": {
- "maxLength": 500,
- "type": [
- "string",
- "null"
- ]
- },
- "role": {
- "pattern": "^[a-z0-9][a-z0-9-]{0,79}$",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [],
- "type": "object"
- },
- "reviewers": {
- "items": {
- "pattern": "^[a-z0-9][a-z0-9-]{0,79}$",
- "type": "string"
- },
- "maxItems": 6,
- "type": [
- "array",
- "null"
- ]
- },
- "support": {
- "items": {
- "pattern": "^[a-z0-9][a-z0-9-]{0,79}$",
- "type": "string"
- },
- "maxItems": 8,
- "type": [
- "array",
- "null"
- ]
- },
- "uses": {
- "items": {
- "pattern": "^[a-z0-9][a-z0-9-]{0,119}$",
- "type": "string"
- },
- "maxItems": 20,
- "type": [
- "array",
- "null"
- ]
- }
- },
- "required": [
- "id",
- "kind",
- "name",
- "goal",
- "owner",
- "gate"
- ],
- "type": "object"
- },
- "maxItems": 30,
- "minItems": 1,
- "type": "array"
- }
- },
- "required": [
- "name",
- "stages"
- ],
- "type": "object"
- },
- "research": {
- "additionalProperties": false,
- "properties": {
- "approach": {
- "maxLength": 3000,
- "type": "string"
- },
- "pitfalls": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "sources": {
- "items": {
- "pattern": "^[a-z0-9][a-z0-9-]{0,79}$",
- "type": "string"
- },
- "maxItems": 10,
- "minItems": 1,
- "type": "array"
- },
- "text": {
- "maxLength": 500,
- "type": "string"
- }
- },
- "required": [
- "text",
- "sources"
- ],
- "type": "object"
- },
- "maxItems": 20,
- "type": [
- "array",
- "null"
- ]
- },
- "sources": {
- "items": {
- "additionalProperties": false,
- "description": "web: full https link and date; catalogue: an item id; memory or owner: where it came from.",
- "properties": {
- "date": {
- "pattern": "^\\d{4}-\\d{2}(-\\d{2})?$",
- "type": [
- "string",
- "null"
- ]
- },
- "id": {
- "pattern": "^[a-z0-9][a-z0-9-]{0,79}$",
- "type": "string"
- },
- "kind": {
- "enum": [
- "web",
- "catalogue",
- "memory",
- "owner"
- ],
- "type": "string"
- },
- "note": {
- "maxLength": 500,
- "type": [
- "string",
- "null"
- ]
- },
- "ref": {
- "maxLength": 600,
- "type": "string"
- },
- "title": {
- "maxLength": 300,
- "type": "string"
- }
- },
- "required": [
- "id",
- "kind",
- "title",
- "ref"
- ],
- "type": "object"
- },
- "maxItems": 40,
- "minItems": 2,
- "type": "array"
- },
- "steps": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "id": {
- "pattern": "^[a-z0-9][a-z0-9-]{0,79}$",
- "type": "string"
- },
- "name": {
- "maxLength": 200,
- "type": "string"
- },
- "sources": {
- "items": {
- "pattern": "^[a-z0-9][a-z0-9-]{0,79}$",
- "type": "string"
- },
- "maxItems": 10,
- "minItems": 1,
- "type": "array"
- },
- "why": {
- "maxLength": 800,
- "type": "string"
- }
- },
- "required": [
- "id",
- "name",
- "why",
- "sources"
- ],
- "type": "object"
- },
- "maxItems": 30,
- "minItems": 1,
- "type": "array"
- }
- },
- "required": [
- "approach",
- "sources",
- "steps"
- ],
- "type": "object"
- },
- "type": {
- "const": "plan"
- }
- },
- "required": [
- "type",
- "research",
- "plan"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "at": {
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
- "type": "string"
- },
- "by": {
- "description": "\"owner\", only after the owner actually said so.",
- "type": "string"
- },
- "decision": {
- "enum": [
- "APPROVED",
- "CHANGES_REQUESTED"
- ],
- "type": "string"
- },
- "note": {
- "maxLength": 2000,
- "type": "string"
- },
- "type": {
- "const": "approve_plan"
- }
- },
- "required": [
- "type",
- "decision",
- "by"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "at": {
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
- "type": "string"
- },
- "data_id": {
- "pattern": "^[a-z0-9][a-z0-9-]{0,79}$",
- "type": "string"
- },
- "note": {
- "maxLength": 1000,
- "type": "string"
- },
- "status": {
- "enum": [
- "AVAILABLE",
- "MISSING"
- ],
- "type": "string"
- },
- "type": {
- "const": "data"
- }
- },
- "required": [
- "type",
- "data_id",
- "status"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "at": {
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
- "type": "string"
- },
- "native_tools": {
- "items": {
- "type": "object"
- },
- "maxItems": 30,
- "type": "array"
- },
- "stage_id": {
- "pattern": "^[a-z0-9][a-z0-9-]{0,79}$",
- "type": "string"
- },
- "type": {
- "const": "start"
- }
- },
- "required": [
- "type",
- "stage_id"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "at": {
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
- "type": "string"
- },
- "checks": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "id": {
- "pattern": "^[a-z0-9][a-z0-9-]{0,79}$",
- "type": "string"
- },
- "note": {
- "maxLength": 1000,
- "type": "string"
- },
- "result": {
- "enum": [
- "PASS",
- "FAIL",
- "NOT_RUN"
- ],
- "type": "string"
- }
- },
- "required": [
- "id",
- "result"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "landing_page_delivery": {
- "additionalProperties": false,
- "description": "Current-source page report. Full schema: GET /api/v1/schemas/ai-blocks-landing-page-delivery/1.json. Read it before completion.",
- "properties": {
- "artifacts": {
- "items": {
- "type": "object"
- },
- "maxItems": 1000,
- "type": "array"
- },
- "mode": {
- "enum": [
- "LAUNCHABLE_SITE",
- "DESIGN_REFERENCE"
- ],
- "type": "string"
- },
- "schema": {
- "const": "ai-blocks-landing-page-delivery/1"
- }
- },
- "required": [
- "schema",
- "mode",
- "artifacts"
- ],
- "type": "object"
- },
- "native_tools": {
- "items": {
- "type": "object"
- },
- "maxItems": 30,
- "type": "array"
- },
- "outputs": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "id": {
- "pattern": "^[a-z0-9][a-z0-9-]{0,79}$",
- "type": "string"
- },
- "path": {
- "maxLength": 240,
- "type": "string"
- },
- "sha256": {
- "pattern": "^[a-f0-9]{64}$",
- "type": "string"
- }
- },
- "required": [
- "id"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "production_artifacts": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "container_sha256": {
- "pattern": "^[a-f0-9]{64}$",
- "type": "string"
- },
- "kind": {
- "maxLength": 120,
- "type": "string"
- },
- "modality": {
- "enum": [
- "interactive",
- "image",
- "text",
- "doc",
- "data"
- ],
- "type": "string"
- },
- "output_id": {
- "pattern": "^[a-z0-9][a-z0-9-]{0,79}$",
- "type": "string"
- },
- "path": {
- "maxLength": 240,
- "type": "string"
- },
- "sha256": {
- "pattern": "^[a-f0-9]{64}$",
- "type": "string"
- },
- "slot_id": {
- "pattern": "^[a-z0-9][a-z0-9-]{0,79}$",
- "type": "string"
- }
- },
- "required": [
- "slot_id",
- "path",
- "sha256",
- "modality"
- ],
- "type": "object"
- },
- "maxItems": 1000,
- "type": "array"
- },
- "source_trace": {
- "description": "Read GET /api/v1/schemas/ai-blocks-source-trace/1.json. Selected methods need complete pinned source reads and separate execution receipts.",
- "type": "object"
- },
- "stage_id": {
- "pattern": "^[a-z0-9][a-z0-9-]{0,79}$",
- "type": "string"
- },
- "summary": {
- "maxLength": 2000,
- "type": "string"
- },
- "type": {
- "const": "complete"
- },
- "visual_delivery": {
- "additionalProperties": false,
- "description": "Static-ad report. Full schema: GET /api/v1/schemas/ai-blocks-visual-delivery/1.json. Read it before completion. Current image hashes, renderer receipt, independent reviewer and brand/product/claim/format inspection are required.",
- "properties": {
- "items": {
- "items": {
- "type": "object"
- },
- "maxItems": 1000,
- "minItems": 1,
- "type": "array"
- },
- "receipt": {
- "maxLength": 2000,
- "minLength": 1,
- "type": "string"
- },
- "references": {
- "items": {
- "maxLength": 2000,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 30,
- "minItems": 1,
- "type": "array"
- },
- "renderer": {
- "maxLength": 2000,
- "minLength": 1,
- "type": "string"
- },
- "reviewer_id": {
- "maxLength": 2000,
- "minLength": 1,
- "type": "string"
- },
- "schema": {
- "const": "ai-blocks-visual-delivery/1"
- }
- },
- "required": [
- "schema",
- "renderer",
- "receipt",
- "reviewer_id",
- "references",
- "items"
- ],
- "type": "object"
- },
- "work_context": {
- "additionalProperties": false,
- "description": "Existing-work context and observed comparison. Full schema: GET /api/v1/schemas/ai-blocks-work-context/1.json. Required for substantive IMPROVE or ASSESS production, with CURRENT baseline, preservation, source-backed changes and current-hash comparison.results.",
- "properties": {
- "changes": {
- "items": {
- "type": "object"
- },
- "maxItems": 30,
- "type": "array"
- },
- "comparison": {
- "type": "object"
- },
- "mode": {
- "enum": [
- "CREATE",
- "IMPROVE",
- "ASSESS"
- ]
- },
- "preserve": {
- "items": {
- "type": "object"
- },
- "maxItems": 50,
- "type": "array"
- },
- "schema": {
- "const": "ai-blocks-work-context/1"
- },
- "scope_reason": {
- "maxLength": 2000,
- "minLength": 1,
- "type": "string"
- },
- "sources": {
- "items": {
- "type": "object"
- },
- "maxItems": 30,
- "type": "array"
- }
- },
- "required": [
- "schema",
- "mode",
- "sources",
- "preserve",
- "changes",
- "comparison"
- ],
- "type": "object"
- }
- },
- "required": [
- "type",
- "stage_id",
- "outputs",
- "checks"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "at": {
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
- "type": "string"
- },
- "by": {
- "description": "\"owner\", only after the owner actually said so.",
- "type": "string"
- },
- "decision": {
- "enum": [
- "APPROVED",
- "CHANGES_REQUESTED"
- ],
- "type": "string"
- },
- "note": {
- "maxLength": 2000,
- "type": "string"
- },
- "stage_id": {
- "pattern": "^[a-z0-9][a-z0-9-]{0,79}$",
- "type": "string"
- },
- "type": {
- "const": "approve"
- }
- },
- "required": [
- "type",
- "stage_id",
- "decision",
- "by"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "at": {
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
- "type": "string"
- },
- "reason": {
- "maxLength": 1000,
- "type": "string"
- },
- "stage_id": {
- "pattern": "^[a-z0-9][a-z0-9-]{0,79}$",
- "type": "string"
- },
- "type": {
- "const": "skip"
- }
- },
- "required": [
- "type",
- "stage_id",
- "reason"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "at": {
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
- "type": "string"
- },
- "reason": {
- "maxLength": 1000,
- "type": "string"
- },
- "stage_id": {
- "pattern": "^[a-z0-9][a-z0-9-]{0,79}$",
- "type": "string"
- },
- "type": {
- "const": "block"
- }
- },
- "required": [
- "type",
- "stage_id",
- "reason"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "at": {
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
- "type": "string"
- },
- "stage_id": {
- "pattern": "^[a-z0-9][a-z0-9-]{0,79}$",
- "type": "string"
- },
- "type": {
- "const": "reopen"
- }
- },
- "required": [
- "type",
- "stage_id"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "at": {
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
- "type": "string"
- },
- "by": {
- "description": "\"owner\", only after the owner actually said so.",
- "type": "string"
- },
- "level": {
- "maximum": 3,
- "minimum": 0,
- "type": "integer"
- },
- "note": {
- "maxLength": 1000,
- "type": "string"
- },
- "type": {
- "const": "autonomy"
- }
- },
- "required": [
- "type",
- "level",
- "by"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "at": {
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
- "type": "string"
- },
- "note": {
- "maxLength": 1000,
- "type": "string"
- },
- "type": {
- "const": "next_round"
- }
- },
- "required": [
- "type"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "at": {
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ },
+ "brief": {
+ "additionalProperties": false,
+ "properties": {
+ "ambition": {
+ "additionalProperties": false,
+ "properties": {
+ "chosen": {
+ "maximum": 3,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "goal_beyond": {
+ "maxLength": 500,
+ "type": "string"
+ },
+ "judge": {
+ "maxLength": 500,
+ "type": "string"
+ },
+ "rungs": {
+ "items": {
+ "maxLength": 500,
+ "type": "string"
+ },
+ "maxItems": 3,
+ "minItems": 3,
+ "type": "array"
+ }
+ },
+ "required": [
+ "goal_beyond",
+ "rungs",
+ "chosen",
+ "judge"
+ ],
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "answers": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "answer": {
+ "maxLength": 2000,
+ "type": "string"
+ },
+ "question": {
+ "maxLength": 500,
+ "type": "string"
+ }
+ },
+ "required": [
+ "question",
+ "answer"
+ ],
+ "type": "object"
+ },
+ "maxItems": 40,
+ "type": [
+ "array",
+ "null"
+ ]
+ },
+ "assets": {
+ "items": {
+ "maxLength": 500,
+ "type": "string"
+ },
+ "maxItems": 30,
+ "type": [
+ "array",
+ "null"
+ ]
+ },
+ "connections": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "access": {
+ "enum": [
+ "read",
+ "draft",
+ "live"
+ ],
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 200,
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "connected",
+ "available",
+ "missing"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "access",
+ "status"
+ ],
+ "type": "object"
+ },
+ "maxItems": 30,
+ "type": [
+ "array",
+ "null"
+ ]
+ },
+ "data_home": {
+ "maxLength": 300,
+ "type": "string"
+ },
+ "deadline": {
+ "maxLength": 200,
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "decides": {
+ "maxLength": 300,
+ "type": "string"
+ },
+ "deliverable": {
+ "maxLength": 600,
+ "type": "string"
+ },
+ "done": {
+ "items": {
+ "maxLength": 500,
+ "type": "string"
+ },
+ "maxItems": 20,
+ "minItems": 1,
+ "type": "array"
+ },
+ "guardrails": {
+ "items": {
+ "maxLength": 500,
+ "type": "string"
+ },
+ "maxItems": 15,
+ "type": [
+ "array",
+ "null"
+ ]
+ },
+ "limits": {
+ "items": {
+ "maxLength": 500,
+ "type": "string"
+ },
+ "maxItems": 20,
+ "type": [
+ "array",
+ "null"
+ ]
+ },
+ "metric": {
+ "additionalProperties": false,
+ "properties": {
+ "baseline": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "baseline_source": {
+ "enum": [
+ "reported",
+ "verified",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ "direction": {
+ "enum": [
+ "decrease",
+ "increase",
+ "reach"
+ ],
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 200,
+ "type": "string"
+ },
+ "target": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "unit": {
+ "maxLength": 60,
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "direction",
+ "unit",
+ "baseline_source"
+ ],
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "outcome": {
+ "maxLength": 1000,
+ "type": "string"
+ },
+ "technical_level": {
+ "maxLength": 300,
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "unknowns": {
+ "items": {
+ "maxLength": 500,
+ "type": "string"
+ },
+ "maxItems": 20,
+ "type": [
+ "array",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "outcome",
+ "deliverable",
+ "done",
+ "data_home",
+ "decides"
+ ],
+ "type": "object"
+ },
+ "type": {
+ "const": "brief"
+ }
+ },
+ "required": [
+ "type",
+ "brief"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "at": {
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ },
+ "plan": {
+ "additionalProperties": false,
+ "properties": {
+ "capabilities": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "access": {
+ "enum": [
+ "read",
+ "draft",
+ "live"
+ ],
+ "type": "string"
+ },
+ "id": {
+ "pattern": "^[a-z0-9][a-z0-9-]{0,79}$",
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 200,
+ "type": "string"
+ },
+ "via": {
+ "enum": [
+ "mcp",
+ "api_key",
+ "file",
+ "browser",
+ "owner"
+ ],
+ "type": "string"
+ },
+ "why": {
+ "maxLength": 500,
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "access",
+ "via",
+ "name",
+ "why"
+ ],
+ "type": "object"
+ },
+ "maxItems": 25,
+ "type": [
+ "array",
+ "null"
+ ]
+ },
+ "data": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "alternative": {
+ "maxLength": 600,
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "fields": {
+ "items": {
+ "maxLength": 200,
+ "type": "string"
+ },
+ "maxItems": 30,
+ "type": [
+ "array",
+ "null"
+ ]
+ },
+ "id": {
+ "pattern": "^[a-z0-9][a-z0-9-]{0,79}$",
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 200,
+ "type": "string"
+ },
+ "required_for": {
+ "items": {
+ "pattern": "^[a-z0-9][a-z0-9-]{0,79}$",
+ "type": "string"
+ },
+ "maxItems": 40,
+ "type": [
+ "array",
+ "null"
+ ]
+ },
+ "routes": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "how": {
+ "maxLength": 600,
+ "type": "string"
+ },
+ "kind": {
+ "enum": [
+ "MCP",
+ "CSV",
+ "FILE",
+ "URL",
+ "ASK"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "how"
+ ],
+ "type": "object"
+ },
+ "maxItems": 6,
+ "minItems": 1,
+ "type": "array"
+ },
+ "why": {
+ "maxLength": 600,
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "why",
+ "routes"
+ ],
+ "type": "object"
+ },
+ "maxItems": 20,
+ "type": [
+ "array",
+ "null"
+ ]
+ },
+ "dropped": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "reason": {
+ "maxLength": 500,
+ "type": "string"
+ },
+ "step": {
+ "pattern": "^[a-z0-9][a-z0-9-]{0,79}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "step",
+ "reason"
+ ],
+ "type": "object"
+ },
+ "maxItems": 30,
+ "type": [
+ "array",
+ "null"
+ ]
+ },
+ "hypotheses": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "confirm_if": {
+ "maxLength": 500,
+ "type": "string"
+ },
+ "fix_stage": {
+ "pattern": "^[a-z0-9][a-z0-9-]{0,79}$",
+ "type": "string"
+ },
+ "id": {
+ "pattern": "^[a-z0-9][a-z0-9-]{0,79}$",
+ "type": "string"
+ },
+ "refute_if": {
+ "maxLength": 500,
+ "type": "string"
+ },
+ "statement": {
+ "maxLength": 400,
+ "type": "string"
+ },
+ "test": {
+ "maxLength": 800,
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "statement",
+ "test",
+ "confirm_if",
+ "refute_if",
+ "fix_stage"
+ ],
+ "type": "object"
+ },
+ "maxItems": 30,
+ "type": [
+ "array",
+ "null"
+ ]
+ },
+ "measurement": {
+ "additionalProperties": false,
+ "properties": {
+ "min_volume": {
+ "maxLength": 300,
+ "type": "string"
+ },
+ "stop_rule": {
+ "maxLength": 500,
+ "type": "string"
+ },
+ "window": {
+ "maxLength": 300,
+ "type": "string"
+ }
+ },
+ "required": [
+ "window",
+ "min_volume",
+ "stop_rule"
+ ],
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "name": {
+ "maxLength": 160,
+ "type": "string"
+ },
+ "stages": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "checks": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "pattern": "^[a-z0-9][a-z0-9-]{0,79}$",
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 500,
+ "type": "string"
+ },
+ "required": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "name"
+ ],
+ "type": "object"
+ },
+ "maxItems": 12,
+ "type": [
+ "array",
+ "null"
+ ]
+ },
+ "data": {
+ "items": {
+ "pattern": "^[a-z0-9][a-z0-9-]{0,79}$",
+ "type": "string"
+ },
+ "maxItems": 40,
+ "type": [
+ "array",
+ "null"
+ ]
+ },
+ "depends_on": {
+ "items": {
+ "pattern": "^[a-z0-9][a-z0-9-]{0,79}$",
+ "type": "string"
+ },
+ "maxItems": 40,
+ "type": [
+ "array",
+ "null"
+ ]
+ },
+ "from_steps": {
+ "items": {
+ "pattern": "^[a-z0-9][a-z0-9-]{0,79}$",
+ "type": "string"
+ },
+ "maxItems": 10,
+ "type": [
+ "array",
+ "null"
+ ]
+ },
+ "gate": {
+ "enum": [
+ "none",
+ "review",
+ "approve",
+ "approve_each_action"
+ ],
+ "type": "string"
+ },
+ "goal": {
+ "maxLength": 1500,
+ "type": "string"
+ },
+ "id": {
+ "pattern": "^[a-z0-9][a-z0-9-]{0,79}$",
+ "type": "string"
+ },
+ "kind": {
+ "enum": [
+ "intake",
+ "context",
+ "evidence",
+ "integrity",
+ "diagnosis",
+ "options",
+ "decision",
+ "production",
+ "execution",
+ "measurement",
+ "learning"
+ ],
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 120,
+ "type": "string"
+ },
+ "needs": {
+ "items": {
+ "pattern": "^[a-z0-9][a-z0-9-]{0,79}$",
+ "type": "string"
+ },
+ "maxItems": 40,
+ "type": [
+ "array",
+ "null"
+ ]
+ },
+ "optional_when": {
+ "maxLength": 500,
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "outputs": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "count": {
+ "maximum": 1000,
+ "minimum": 1,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "format": {
+ "maxLength": 40,
+ "type": "string"
+ },
+ "id": {
+ "pattern": "^[a-z0-9][a-z0-9-]{0,79}$",
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 250,
+ "type": "string"
+ },
+ "path": {
+ "maxLength": 200,
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "format",
+ "path"
+ ],
+ "type": "object"
+ },
+ "maxItems": 12,
+ "type": [
+ "array",
+ "null"
+ ]
+ },
+ "owner": {
+ "additionalProperties": false,
+ "description": "One of: role (a find_specialist id) or gap (the expert you needed when none fits).",
+ "properties": {
+ "gap": {
+ "maxLength": 500,
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "role": {
+ "pattern": "^[a-z0-9][a-z0-9-]{0,79}$",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [],
+ "type": "object"
+ },
+ "reviewers": {
+ "items": {
+ "pattern": "^[a-z0-9][a-z0-9-]{0,79}$",
+ "type": "string"
+ },
+ "maxItems": 6,
+ "type": [
+ "array",
+ "null"
+ ]
+ },
+ "support": {
+ "items": {
+ "pattern": "^[a-z0-9][a-z0-9-]{0,79}$",
+ "type": "string"
+ },
+ "maxItems": 8,
+ "type": [
+ "array",
+ "null"
+ ]
+ },
+ "uses": {
+ "items": {
+ "pattern": "^[a-z0-9][a-z0-9-]{0,119}$",
+ "type": "string"
+ },
+ "maxItems": 20,
+ "type": [
+ "array",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "kind",
+ "name",
+ "goal",
+ "owner",
+ "gate"
+ ],
+ "type": "object"
+ },
+ "maxItems": 30,
+ "minItems": 1,
+ "type": "array"
+ }
+ },
+ "required": [
+ "name",
+ "stages"
+ ],
+ "type": "object"
+ },
+ "research": {
+ "additionalProperties": false,
+ "properties": {
+ "approach": {
+ "maxLength": 3000,
+ "type": "string"
+ },
+ "pitfalls": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "sources": {
+ "items": {
+ "pattern": "^[a-z0-9][a-z0-9-]{0,79}$",
+ "type": "string"
+ },
+ "maxItems": 10,
+ "minItems": 1,
+ "type": "array"
+ },
+ "text": {
+ "maxLength": 500,
+ "type": "string"
+ }
+ },
+ "required": [
+ "text",
+ "sources"
+ ],
+ "type": "object"
+ },
+ "maxItems": 20,
+ "type": [
+ "array",
+ "null"
+ ]
+ },
+ "sources": {
+ "items": {
+ "additionalProperties": false,
+ "description": "web: full https link and date; catalogue: an item id; memory or owner: where it came from.",
+ "properties": {
+ "date": {
+ "pattern": "^\\d{4}-\\d{2}(-\\d{2})?$",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "id": {
+ "pattern": "^[a-z0-9][a-z0-9-]{0,79}$",
+ "type": "string"
+ },
+ "kind": {
+ "enum": [
+ "web",
+ "catalogue",
+ "memory",
+ "owner"
+ ],
+ "type": "string"
+ },
+ "note": {
+ "maxLength": 500,
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "ref": {
+ "maxLength": 600,
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 300,
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "kind",
+ "title",
+ "ref"
+ ],
+ "type": "object"
+ },
+ "maxItems": 40,
+ "minItems": 2,
+ "type": "array"
+ },
+ "steps": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "pattern": "^[a-z0-9][a-z0-9-]{0,79}$",
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 200,
+ "type": "string"
+ },
+ "sources": {
+ "items": {
+ "pattern": "^[a-z0-9][a-z0-9-]{0,79}$",
+ "type": "string"
+ },
+ "maxItems": 10,
+ "minItems": 1,
+ "type": "array"
+ },
+ "why": {
+ "maxLength": 800,
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "why",
+ "sources"
+ ],
+ "type": "object"
+ },
+ "maxItems": 30,
+ "minItems": 1,
+ "type": "array"
+ }
+ },
+ "required": [
+ "approach",
+ "sources",
+ "steps"
+ ],
+ "type": "object"
+ },
+ "type": {
+ "const": "plan"
+ }
+ },
+ "required": [
+ "type",
+ "research",
+ "plan"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "at": {
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ },
+ "by": {
+ "description": "\"owner\", only after the owner actually said so.",
+ "type": "string"
+ },
+ "decision": {
+ "enum": [
+ "APPROVED",
+ "CHANGES_REQUESTED"
+ ],
+ "type": "string"
+ },
+ "note": {
+ "maxLength": 2000,
+ "type": "string"
+ },
+ "type": {
+ "const": "approve_plan"
+ }
+ },
+ "required": [
+ "type",
+ "decision",
+ "by"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "at": {
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ },
+ "data_id": {
+ "pattern": "^[a-z0-9][a-z0-9-]{0,79}$",
+ "type": "string"
+ },
+ "note": {
+ "maxLength": 1000,
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "AVAILABLE",
+ "MISSING"
+ ],
+ "type": "string"
+ },
+ "type": {
+ "const": "data"
+ }
+ },
+ "required": [
+ "type",
+ "data_id",
+ "status"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "at": {
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ },
+ "native_tools": {
+ "items": {
+ "type": "object"
+ },
+ "maxItems": 30,
+ "type": "array"
+ },
+ "stage_id": {
+ "pattern": "^[a-z0-9][a-z0-9-]{0,79}$",
+ "type": "string"
+ },
+ "type": {
+ "const": "start"
+ }
+ },
+ "required": [
+ "type",
+ "stage_id"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "at": {
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ },
+ "checks": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "pattern": "^[a-z0-9][a-z0-9-]{0,79}$",
+ "type": "string"
+ },
+ "note": {
+ "maxLength": 1000,
+ "type": "string"
+ },
+ "result": {
+ "enum": [
+ "PASS",
+ "FAIL",
+ "NOT_RUN"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "result"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "landing_page_delivery": {
+ "additionalProperties": false,
+ "description": "Current-source page report. Full schema: GET /api/v1/schemas/ai-blocks-landing-page-delivery/1.json. Read it before completion.",
+ "properties": {
+ "artifacts": {
+ "items": {
+ "type": "object"
+ },
+ "maxItems": 1000,
+ "type": "array"
+ },
+ "mode": {
+ "enum": [
+ "LAUNCHABLE_SITE",
+ "DESIGN_REFERENCE"
+ ],
+ "type": "string"
+ },
+ "schema": {
+ "const": "ai-blocks-landing-page-delivery/1"
+ }
+ },
+ "required": [
+ "schema",
+ "mode",
+ "artifacts"
+ ],
+ "type": "object"
+ },
+ "native_tools": {
+ "items": {
+ "type": "object"
+ },
+ "maxItems": 30,
+ "type": "array"
+ },
+ "outputs": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "pattern": "^[a-z0-9][a-z0-9-]{0,79}$",
+ "type": "string"
+ },
+ "path": {
+ "maxLength": 240,
+ "type": "string"
+ },
+ "sha256": {
+ "pattern": "^[a-f0-9]{64}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "production_artifacts": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "container_sha256": {
+ "pattern": "^[a-f0-9]{64}$",
+ "type": "string"
+ },
+ "kind": {
+ "maxLength": 120,
+ "type": "string"
+ },
+ "modality": {
+ "enum": [
+ "interactive",
+ "image",
+ "text",
+ "doc",
+ "data"
+ ],
+ "type": "string"
+ },
+ "output_id": {
+ "pattern": "^[a-z0-9][a-z0-9-]{0,79}$",
+ "type": "string"
+ },
+ "path": {
+ "maxLength": 240,
+ "type": "string"
+ },
+ "sha256": {
+ "pattern": "^[a-f0-9]{64}$",
+ "type": "string"
+ },
+ "slot_id": {
+ "pattern": "^[a-z0-9][a-z0-9-]{0,79}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "slot_id",
+ "path",
+ "sha256",
+ "modality"
+ ],
+ "type": "object"
+ },
+ "maxItems": 1000,
+ "type": "array"
+ },
+ "source_trace": {
+ "description": "Read GET /api/v1/schemas/ai-blocks-source-trace/1.json. Selected methods need complete pinned source reads and separate execution receipts.",
+ "type": "object"
+ },
+ "stage_id": {
+ "pattern": "^[a-z0-9][a-z0-9-]{0,79}$",
+ "type": "string"
+ },
+ "summary": {
+ "maxLength": 2000,
+ "type": "string"
+ },
+ "type": {
+ "const": "complete"
+ },
+ "visual_delivery": {
+ "additionalProperties": false,
+ "description": "Static-ad report. Full schema: GET /api/v1/schemas/ai-blocks-visual-delivery/1.json. Read it before completion. Current image hashes, renderer receipt, independent reviewer and brand/product/claim/format inspection are required.",
+ "properties": {
+ "items": {
+ "items": {
+ "type": "object"
+ },
+ "maxItems": 1000,
+ "minItems": 1,
+ "type": "array"
+ },
+ "receipt": {
+ "maxLength": 2000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "references": {
+ "items": {
+ "maxLength": 2000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 30,
+ "minItems": 1,
+ "type": "array"
+ },
+ "renderer": {
+ "maxLength": 2000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "reviewer_id": {
+ "maxLength": 2000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "schema": {
+ "const": "ai-blocks-visual-delivery/1"
+ }
+ },
+ "required": [
+ "schema",
+ "renderer",
+ "receipt",
+ "reviewer_id",
+ "references",
+ "items"
+ ],
+ "type": "object"
+ },
+ "work_context": {
+ "additionalProperties": false,
+ "description": "Existing-work report. Read the full strict schema before completion: GET /api/v1/schemas/ai-blocks-work-context/1.json. Changes or explicit unchanged-artifact retention require CURRENT evidence and current-hash comparisons.",
+ "properties": {
+ "changes": {
+ "items": {
+ "type": "object"
+ },
+ "maxItems": 30,
+ "type": "array"
+ },
+ "comparison": {
+ "type": "object"
+ },
+ "mode": {
+ "enum": [
+ "CREATE",
+ "IMPROVE",
+ "ASSESS"
+ ]
+ },
+ "preserve": {
+ "items": {
+ "type": "object"
+ },
+ "maxItems": 50,
+ "type": "array"
+ },
+ "retention": {
+ "type": "object"
+ },
+ "schema": {
+ "const": "ai-blocks-work-context/1"
+ },
+ "scope_reason": {
+ "maxLength": 2000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "sources": {
+ "items": {
+ "type": "object"
+ },
+ "maxItems": 30,
+ "type": "array"
+ }
+ },
+ "required": [
+ "schema",
+ "mode",
+ "sources",
+ "preserve",
+ "changes",
+ "comparison"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "type",
+ "stage_id",
+ "outputs",
+ "checks"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "at": {
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ },
+ "by": {
+ "description": "\"owner\", only after the owner actually said so.",
+ "type": "string"
+ },
+ "decision": {
+ "enum": [
+ "APPROVED",
+ "CHANGES_REQUESTED"
+ ],
+ "type": "string"
+ },
+ "note": {
+ "maxLength": 2000,
+ "type": "string"
+ },
+ "stage_id": {
+ "pattern": "^[a-z0-9][a-z0-9-]{0,79}$",
+ "type": "string"
+ },
+ "type": {
+ "const": "approve"
+ }
+ },
+ "required": [
+ "type",
+ "stage_id",
+ "decision",
+ "by"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "at": {
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ },
+ "reason": {
+ "maxLength": 1000,
+ "type": "string"
+ },
+ "stage_id": {
+ "pattern": "^[a-z0-9][a-z0-9-]{0,79}$",
+ "type": "string"
+ },
+ "type": {
+ "const": "skip"
+ }
+ },
+ "required": [
+ "type",
+ "stage_id",
+ "reason"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "at": {
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ },
+ "reason": {
+ "maxLength": 1000,
+ "type": "string"
+ },
+ "stage_id": {
+ "pattern": "^[a-z0-9][a-z0-9-]{0,79}$",
+ "type": "string"
+ },
+ "type": {
+ "const": "block"
+ }
+ },
+ "required": [
+ "type",
+ "stage_id",
+ "reason"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "at": {
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ },
+ "stage_id": {
+ "pattern": "^[a-z0-9][a-z0-9-]{0,79}$",
+ "type": "string"
+ },
+ "type": {
+ "const": "reopen"
+ }
+ },
+ "required": [
+ "type",
+ "stage_id"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "at": {
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ },
+ "by": {
+ "description": "\"owner\", only after the owner actually said so.",
+ "type": "string"
+ },
+ "level": {
+ "maximum": 3,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "note": {
+ "maxLength": 1000,
+ "type": "string"
+ },
+ "type": {
+ "const": "autonomy"
+ }
+ },
+ "required": [
+ "type",
+ "level",
+ "by"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "at": {
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ },
+ "note": {
+ "maxLength": 1000,
+ "type": "string"
+ },
+ "type": {
+ "const": "next_round"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ }
+]