Design report save

Tool ID: design_report_save

Purpose and availability

Build only: freeze a combined design report against exact draft, selected receipts and campaign runs. Preserves old versions; not engineering approval. Export through study_handover_export.

Before invocation

Inspect the current definition and exact version/project binding before invoking. Required fields, enums, bounds and consent fields below are authoritative. Omit no required input and do not invent unavailable values.

Exact input schema

{
  "additionalProperties": false,
  "properties": {
    "definition": {
      "additionalProperties": false,
      "properties": {
        "author": {
          "maxLength": 160,
          "type": "string"
        },
        "campaigns": {
          "items": {
            "pattern": "^[a-f0-9]{32}$",
            "type": "string"
          },
          "maxItems": 16,
          "type": "array",
          "uniqueItems": true
        },
        "commentary": {
          "maxLength": 16384,
          "type": "string"
        },
        "comparisons": {
          "items": {
            "additionalProperties": false,
            "properties": {
              "after_position": {
                "maximum": 127,
                "minimum": 0,
                "type": "integer"
              },
              "before_position": {
                "maximum": 127,
                "minimum": 0,
                "type": "integer"
              },
              "receipts": {
                "items": {
                  "pattern": "^[a-f0-9]{64}$",
                  "type": "string"
                },
                "maxItems": 2,
                "minItems": 2,
                "type": "array"
              },
              "run_id": {
                "pattern": "^[a-f0-9]{32}$",
                "type": "string"
              }
            },
            "required": [
              "run_id",
              "before_position",
              "after_position"
            ],
            "type": "object"
          },
          "maxItems": 16,
          "type": "array",
          "uniqueItems": true
        },
        "diagrams": {
          "items": {
            "maxLength": 128,
            "type": "string"
          },
          "maxItems": 4,
          "type": "array",
          "uniqueItems": true
        },
        "id": {
          "pattern": "^[a-zA-Z0-9_-]{1,120}$",
          "type": "string"
        },
        "locale": {
          "enum": [
            "en",
            "fr",
            "es",
            "de",
            "pt"
          ]
        },
        "plot_views": {
          "items": {
            "additionalProperties": false,
            "properties": {
              "id": {
                "pattern": "^[a-f0-9]{32}$",
                "type": "string"
              },
              "receipt": {
                "pattern": "^[a-f0-9]{64}$",
                "type": "string"
              },
              "version": {
                "minimum": 1,
                "type": "integer"
              }
            },
            "required": [
              "receipt",
              "id",
              "version"
            ],
            "type": "object"
          },
          "maxItems": 8,
          "type": "array",
          "uniqueItems": true
        },
        "prepared_for": {
          "maxLength": 160,
          "type": "string"
        },
        "receipts": {
          "items": {
            "pattern": "^[a-f0-9]{64}$",
            "type": "string"
          },
          "maxItems": 32,
          "type": "array",
          "uniqueItems": true
        },
        "sections": {
          "items": {
            "enum": [
              "equipment",
              "designs",
              "campaigns",
              "sources",
              "findings",
              "diagrams",
              "plots"
            ]
          },
          "maxItems": 7,
          "type": "array",
          "uniqueItems": true
        },
        "title": {
          "maxLength": 160,
          "minLength": 1,
          "type": "string"
        }
      },
      "required": [
        "id",
        "title",
        "receipts",
        "campaigns",
        "diagrams",
        "sections"
      ],
      "type": "object"
    },
    "expected_artifact": {
      "pattern": "^[a-f0-9]{64}$",
      "type": "string"
    },
    "expected_version": {
      "pattern": "^[a-f0-9]{64}$",
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "definition",
    "expected_artifact",
    "expected_version"
  ],
  "type": "object"
}

Results, errors and safety

Inspect the structured result and retained IDs/artifacts. Errors, unsupported profiles, missing data and cancellation remain explicit. A successful call grants no human engineering approval. Do not retry inference automatically. See Workflows, History and Project tools.