Skip to main content
Glama

Renew active QA session lease

renew_qa_orchestration

Extend an active session's TTL while host review work is running.

Instructions

Extend an active session's TTL while host review work is running.

Renew before expires_at. This changes only the lease, without advancing a profile or workflow revision. Active primary/deep/synthesis and awaiting-host-outcome sessions may be renewed; terminal or expired sessions cannot be revived. No worker or model is launched.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
run_idYesSession identifier returned by start_qa_orchestration or list_qa_orchestrations: qar- followed by 32 lowercase hexadecimal characters. Reuse it for this session; do not invent or transform it.
expected_revisionNoOptional current workflow revision; stale renewals fail.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
run_idYes
statusYes
revisionNoWorkflow revision for conditional writes.
read_onlyNo
task_typeYes
expires_atYes
next_actionYes
current_stepYes
model_policyNo
risk_signalsNo
review_contextNo
allowed_bundlesNo
current_profileNo
deep_assessmentNo
profile_reportsNo
review_profilesNo
selected_bundleNo
allowed_profilesNo
deep_reason_codeNo
selected_profileNo
completed_profilesNo
final_review_reportNo
host_owns_decisionsNo
recommended_bundlesNo
transition_receiptsNoBounded request hashes for safe replay; no raw transition payloads are stored.
recommended_profilesNoFile-type-based profile hints only; the host selects the route.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changedv0.2.11
    • changedOutput schema / properties / final_review_report / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "description": "Structured synthesis stored with a review-bound orchestration session.",
      -    "properties": {
      -      "candidate_decisions": {
      -        "default": [],
      -        "description": "One host decision per submitted candidate; absent on legacy saved reports.",
      -        "items": {
      -          "additionalProperties": false,
      -          "description": "The host's disposition of one profile-local candidate.",
      -          "properties": {
      -            "evidence_refs": {
      -              "items": {
      -                "maxLength": 128,
      -                "minLength": 1,
      -                "pattern": "^[A-Za-z0-9][A-Za-z0-9._:/-]*$",
      -                "type": "string"
      -              },
      -              "maxItems": 32,
      -              "minItems": 1,
      -              "type": "array"
      -            },
      -            "final_finding_id": {
      -              "anyOf": [
      -                {
      -                  "pattern": "^F-[0-9]{2,}$",
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "default": null
      -            },
      -            "rationale": {
      -              "maxLength": 2000,
      -              "minLength": 1,
      -              "type": "string"
      -            },
      -            "source": {
      -              "additionalProperties": false,
      -              "description": "A profile-local candidate that contributed to one synthesized finding.",
      -              "properties": {
      -                "candidate_id": {
      -                  "pattern": "^F-[0-9]{2,}$",
      -                  "type": "string"
      -                },
      -                "profile": {
      -                  "enum": [
      -                    "pr_test_analyzer",
      -                    "code_reviewer",
      -                    "security_reviewer",
      -                    "silent_failure_hunter",
      -                    "code_explorer",
      -                    "typescript_reviewer",
      -                    "react_reviewer",
      -                    "ruby_reviewer",
      -                    "python_reviewer",
      -                    "mobile_reviewer"
      -                  ],
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "profile",
      -                "candidate_id"
      -              ],
      -              "type": "object"
      -            },
      -            "verdict": {
      -              "enum": [
      -                "confirmed",
      -                "rejected",
      -                "duplicate",
      -                "unverified"
      -              ],
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "source",
      -            "verdict",
      -            "rationale",
      -            "evidence_refs"
      -          ],
      -          "type": "object"
      -        },
      -        "maxItems": 1000,
      -        "type": "array"
      -      },
      -      "coverage_gaps": {
      -        "default": [],
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "evidence_refs": {
      -              "default": [],
      -              "items": {
      -                "maxLength": 128,
      -                "minLength": 1,
      -                "pattern": "^[A-Za-z0-9][A-Za-z0-9._:/-]*$",
      -                "type": "string"
      -              },
      -              "maxItems": 32,
      -              "type": "array"
      -            },
      -            "text": {
      -              "maxLength": 2000,
      -              "minLength": 1,
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "text"
      -          ],
      -          "type": "object"
      -        },
      -        "maxItems": 100,
      -        "type": "array"
      -      },
      -      "finding_candidates": {
      -        "default": [],
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "affected_area": {
      -              "anyOf": [
      -                {
      -                  "maxLength": 256,
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "default": null,
      -              "description": "Affected user flow or system area, when supported by the evidence."
      -            },
      -            "candidate_id": {
      -              "pattern": "^F-[0-9]{2,}$",
      -              "type": "string"
      -            },
      -            "confidence": {
      -              "enum": [
      -                "high",
      -                "medium",
      -                "low"
      -              ],
      -              "type": "string"
      -            },
      -            "description": {
      -              "maxLength": 5000,
      -              "minLength": 1,
      -              "type": "string"
      -            },
      -            "evidence_refs": {
      -              "items": {
      -                "maxLength": 128,
      -                "minLength": 1,
      -                "pattern": "^[A-Za-z0-9][A-Za-z0-9._:/-]*$",
      -                "type": "string"
      -              },
      -              "maxItems": 32,
      -              "minItems": 1,
      -              "type": "array"
      -            },
      -            "impact": {
      -              "anyOf": [
      -                {
      -                  "maxLength": 2000,
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "default": null,
      -              "description": "Concrete effect on users or contracts; severity remains host-owned."
      -            },
      -            "severity": {
      -              "anyOf": [
      -                {
      -                  "enum": [
      -                    "high",
      -                    "medium",
      -                    "low"
      -                  ],
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "default": null,
      -              "description": "Impact severity selected by the host for a confirmed finding."
      -            },
      -            "source_candidates": {
      -              "default": [],
      -              "description": "Required for new final reports; empty only on reports persisted before source linkage.",
      -              "items": {
      -                "additionalProperties": false,
      -                "description": "A profile-local candidate that contributed to one synthesized finding.",
      -                "properties": {
      -                  "candidate_id": {
      -                    "pattern": "^F-[0-9]{2,}$",
      -                    "type": "string"
      -                  },
      -                  "profile": {
      -                    "enum": [
      -                      "pr_test_analyzer",
      -                      "code_reviewer",
      -                      "security_reviewer",
      -                      "silent_failure_hunter",
      -                      "code_explorer",
      -                      "typescript_reviewer",
      -                      "react_reviewer",
      -                      "ruby_reviewer",
      -                      "python_reviewer",
      -                      "mobile_reviewer"
      -                    ],
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "profile",
      -                  "candidate_id"
      -                ],
      -                "type": "object"
      -              },
      -              "type": "array"
      -            },
      -            "source_locations": {
      -              "default": [],
      -              "description": "Precise source locations supporting this candidate when available.",
      -              "items": {
      -                "additionalProperties": false,
      -                "description": "A stable source locator for a finding candidate.",
      -                "properties": {
      -                  "end_line": {
      -                    "anyOf": [
      -                      {
      -                        "minimum": 1,
      -                        "type": "integer"
      -                      },
      -                      {
      -                        "type": "null"
      -                      }
      -                    ],
      -                    "default": null
      -                  },
      -                  "path": {
      -                    "maxLength": 1024,
      -                    "minLength": 1,
      -                    "type": "string"
      -                  },
      -                  "start_line": {
      -                    "minimum": 1,
      -                    "type": "integer"
      -                  }
      -                },
      -                "required": [
      -                  "path",
      -                  "start_line"
      -                ],
      -                "type": "object"
      -              },
      -              "maxItems": 20,
      -              "type": "array"
      -            },
      -            "source_profiles": {
      -              "items": {
      -                "enum": [
      -                  "pr_test_analyzer",
      -                  "code_reviewer",
      -                  "security_reviewer",
      -                  "silent_failure_hunter",
      -                  "code_explorer",
      -                  "typescript_reviewer",
      -                  "react_reviewer",
      -                  "ruby_reviewer",
      -                  "python_reviewer",
      -                  "mobile_reviewer"
      -                ],
      -                "type": "string"
      -              },
      -              "minItems": 1,
      -              "type": "array"
      -            },
      -            "title": {
      -              "maxLength": 256,
      -              "minLength": 1,
      -              "type": "string"
      -            },
      -            "verification_gap": {
      -              "maxLength": 2000,
      -              "minLength": 1,
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "candidate_id",
      -            "title",
      -            "description",
      -            "confidence",
      -            "verification_gap",
      -            "evidence_refs",
      -            "source_profiles"
      -          ],
      -          "type": "object"
      -        },
      -        "maxItems": 100,
      -        "type": "array"
      -      },
      -      "profiles_reviewed": {
      -        "items": {
      -          "enum": [
      -            "pr_test_analyzer",
      -            "code_reviewer",
      -            "security_reviewer",
      -            "silent_failure_hunter",
      -            "code_explorer",
      -            "typescript_reviewer",
      -            "react_reviewer",
      -            "ruby_reviewer",
      -            "python_reviewer",
      -            "mobile_reviewer"
      -          ],
      -          "type": "string"
      -        },
      -        "minItems": 1,
      -        "type": "array"
      -      },
      -      "summary": {
      -        "maxLength": 5000,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "unverified": {
      -        "default": [],
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "evidence_refs": {
      -              "default": [],
      -              "items": {
      -                "maxLength": 128,
      -                "minLength": 1,
      -                "pattern": "^[A-Za-z0-9][A-Za-z0-9._:/-]*$",
      -                "type": "string"
      -              },
      -              "maxItems": 32,
      -              "type": "array"
      -            },
      -            "text": {
      -              "maxLength": 2000,
      -              "minLength": 1,
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "text"
      -          ],
      -          "type": "object"
      -        },
      -        "maxItems": 100,
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "summary",
      -      "profiles_reviewed"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "description": "Structured synthesis stored with a review-bound orchestration session.",
      +    "properties": {
      +      "candidate_decisions": {
      +        "default": [],
      +        "description": "One host decision per submitted candidate; absent on legacy saved reports.",
      +        "items": {
      +          "additionalProperties": false,
      +          "description": "The host's disposition of one profile-local candidate.",
      +          "properties": {
      +            "evidence_refs": {
      +              "items": {
      +                "maxLength": 128,
      +                "minLength": 1,
      +                "pattern": "^[A-Za-z0-9][A-Za-z0-9._:/-]*$",
      +                "type": "string"
      +              },
      +              "maxItems": 32,
      +              "minItems": 1,
      +              "type": "array"
      +            },
      +            "final_finding_id": {
      +              "anyOf": [
      +                {
      +                  "pattern": "^F-[0-9]{2,}$",
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "default": null
      +            },
      +            "rationale": {
      +              "maxLength": 2000,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "refutation": {
      +              "anyOf": [
      +                {
      +                  "additionalProperties": false,
      +                  "description": "Host's evidence-backed assessment, not a vote or proof of another agent's execution.",
      +                  "properties": {
      +                    "candidate_sha256": {
      +                      "pattern": "(?i)^[a-f0-9]{64}$",
      +                      "type": "string"
      +                    },
      +                    "context_sha256": {
      +                      "pattern": "(?i)^[a-f0-9]{64}$",
      +                      "type": "string"
      +                    },
      +                    "evidence_refs": {
      +                      "items": {
      +                        "maxLength": 128,
      +                        "minLength": 1,
      +                        "pattern": "^[A-Za-z0-9][A-Za-z0-9._:/-]*$",
      +                        "type": "string"
      +                      },
      +                      "maxItems": 32,
      +                      "minItems": 1,
      +                      "type": "array"
      +                    },
      +                    "rationale": {
      +                      "maxLength": 2000,
      +                      "minLength": 1,
      +                      "type": "string"
      +                    },
      +                    "status": {
      +                      "enum": [
      +                        "refuted",
      +                        "not_refuted",
      +                        "unverified"
      +                      ],
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "context_sha256",
      +                    "candidate_sha256",
      +                    "status",
      +                    "rationale",
      +                    "evidence_refs"
      +                  ],
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "default": null
      +            },
      +            "source": {
      +              "additionalProperties": false,
      +              "description": "A profile-local candidate that contributed to one synthesized finding.",
      +              "properties": {
      +                "candidate_id": {
      +                  "pattern": "^F-[0-9]{2,}$",
      +                  "type": "string"
      +                },
      +                "profile": {
      +                  "enum": [
      +                    "pr_test_analyzer",
      +                    "code_reviewer",
      +                    "security_reviewer",
      +                    "silent_failure_hunter",
      +                    "code_explorer",
      +                    "typescript_reviewer",
      +                    "react_reviewer",
      +                    "ruby_reviewer",
      +                    "python_reviewer",
      +                    "mobile_reviewer"
      +                  ],
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "profile",
      +                "candidate_id"
      +              ],
      +              "type": "object"
      +            },
      +            "verdict": {
      +              "enum": [
      +                "confirmed",
      +                "rejected",
      +                "duplicate",
      +                "unverified"
      +              ],
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "source",
      +            "verdict",
      +            "rationale",
      +            "evidence_refs"
      +          ],
      +          "type": "object"
      +        },
      +        "maxItems": 1000,
      +        "type": "array"
      +      },
      +      "coverage_gaps": {
      +        "default": [],
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "evidence_refs": {
      +              "default": [],
      +              "items": {
      +                "maxLength": 128,
      +                "minLength": 1,
      +                "pattern": "^[A-Za-z0-9][A-Za-z0-9._:/-]*$",
      +                "type": "string"
      +              },
      +              "maxItems": 32,
      +              "type": "array"
      +            },
      +            "text": {
      +              "maxLength": 2000,
      +              "minLength": 1,
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "text"
      +          ],
      +          "type": "object"
      +        },
      +        "maxItems": 100,
      +        "type": "array"
      +      },
      +      "finding_candidates": {
      +        "default": [],
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "affected_area": {
      +              "anyOf": [
      +                {
      +                  "maxLength": 256,
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "default": null,
      +              "description": "Affected user flow or system area, when supported by the evidence."
      +            },
      +            "candidate_id": {
      +              "pattern": "^F-[0-9]{2,}$",
      +              "type": "string"
      +            },
      +            "confidence": {
      +              "enum": [
      +                "high",
      +                "medium",
      +                "low"
      +              ],
      +              "type": "string"
      +            },
      +            "description": {
      +              "maxLength": 5000,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "evidence_refs": {
      +              "items": {
      +                "maxLength": 128,
      +                "minLength": 1,
      +                "pattern": "^[A-Za-z0-9][A-Za-z0-9._:/-]*$",
      +                "type": "string"
      +              },
      +              "maxItems": 32,
      +              "minItems": 1,
      +              "type": "array"
      +            },
      +            "failure_condition": {
      +              "anyOf": [
      +                {
      +                  "maxLength": 2000,
      +                  "minLength": 1,
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "default": null,
      +              "description": "Specific preconditions that make the alleged failure occur."
      +            },
      +            "flip_condition": {
      +              "anyOf": [
      +                {
      +                  "maxLength": 2000,
      +                  "minLength": 1,
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "default": null,
      +              "description": "Concrete source/contract evidence that would refute this candidate."
      +            },
      +            "impact": {
      +              "anyOf": [
      +                {
      +                  "maxLength": 2000,
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "default": null,
      +              "description": "Concrete effect on users or contracts; severity remains host-owned."
      +            },
      +            "severity": {
      +              "anyOf": [
      +                {
      +                  "enum": [
      +                    "high",
      +                    "medium",
      +                    "low"
      +                  ],
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "default": null,
      +              "description": "Impact severity selected by the host for a confirmed finding."
      +            },
      +            "source_candidates": {
      +              "default": [],
      +              "description": "Required for new final reports; empty only on reports persisted before source linkage.",
      +              "items": {
      +                "additionalProperties": false,
      +                "description": "A profile-local candidate that contributed to one synthesized finding.",
      +                "properties": {
      +                  "candidate_id": {
      +                    "pattern": "^F-[0-9]{2,}$",
      +                    "type": "string"
      +                  },
      +                  "profile": {
      +                    "enum": [
      +                      "pr_test_analyzer",
      +                      "code_reviewer",
      +                      "security_reviewer",
      +                      "silent_failure_hunter",
      +                      "code_explorer",
      +                      "typescript_reviewer",
      +                      "react_reviewer",
      +                      "ruby_reviewer",
      +                      "python_reviewer",
      +                      "mobile_reviewer"
      +                    ],
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "profile",
      +                  "candidate_id"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "source_locations": {
      +              "default": [],
      +              "description": "Precise source locations supporting this candidate when available.",
      +              "items": {
      +                "additionalProperties": false,
      +                "description": "A stable source locator for a finding candidate.",
      +                "properties": {
      +                  "end_line": {
      +                    "anyOf": [
      +                      {
      +                        "minimum": 1,
      +                        "type": "integer"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ],
      +                    "default": null
      +                  },
      +                  "path": {
      +                    "maxLength": 1024,
      +                    "minLength": 1,
      +                    "type": "string"
      +                  },
      +                  "start_line": {
      +                    "minimum": 1,
      +                    "type": "integer"
      +                  }
      +                },
      +                "required": [
      +                  "path",
      +                  "start_line"
      +                ],
      +                "type": "object"
      +              },
      +              "maxItems": 20,
      +              "type": "array"
      +            },
      +            "source_profiles": {
      +              "items": {
      +                "enum": [
      +                  "pr_test_analyzer",
      +                  "code_reviewer",
      +                  "security_reviewer",
      +                  "silent_failure_hunter",
      +                  "code_explorer",
      +                  "typescript_reviewer",
      +                  "react_reviewer",
      +                  "ruby_reviewer",
      +                  "python_reviewer",
      +                  "mobile_reviewer"
      +                ],
      +                "type": "string"
      +              },
      +              "minItems": 1,
      +              "type": "array"
      +            },
      +            "title": {
      +              "maxLength": 256,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "verification_gap": {
      +              "maxLength": 2000,
      +              "minLength": 1,
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "candidate_id",
      +            "title",
      +            "description",
      +            "confidence",
      +            "verification_gap",
      +            "evidence_refs",
      +            "source_profiles"
      +          ],
      +          "type": "object"
      +        },
      +        "maxItems": 100,
      +        "type": "array"
      +      },
      +      "profiles_reviewed": {
      +        "items": {
      +          "enum": [
      +            "pr_test_analyzer",
      +            "code_reviewer",
      +            "security_reviewer",
      +            "silent_failure_hunter",
      +            "code_explorer",
      +            "typescript_reviewer",
      +            "react_reviewer",
      +            "ruby_reviewer",
      +            "python_reviewer",
      +            "mobile_reviewer"
      +          ],
      +          "type": "string"
      +        },
      +        "minItems": 1,
      +        "type": "array"
      +      },
      +      "review_rules_sha256": {
      +        "anyOf": [
      +          {
      +            "pattern": "(?i)^[a-f0-9]{64}$",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null
      +      },
      +      "summary": {
      +        "maxLength": 5000,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "unverified": {
      +        "default": [],
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "evidence_refs": {
      +              "default": [],
      +              "items": {
      +                "maxLength": 128,
      +                "minLength": 1,
      +                "pattern": "^[A-Za-z0-9][A-Za-z0-9._:/-]*$",
      +                "type": "string"
      +              },
      +              "maxItems": 32,
      +              "type": "array"
      +            },
      +            "text": {
      +              "maxLength": 2000,
      +              "minLength": 1,
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "text"
      +          ],
      +          "type": "object"
      +        },
      +        "maxItems": 100,
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "summary",
      +      "profiles_reviewed"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedOutput schema / properties / profile_reports / items / properties / context_selection
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": false,
      +      "description": "Host assertion of the exact subset actually sent to a profile.",
      +      "properties": {
      +        "budget_omitted_refs": {
      +          "default": [],
      +          "items": {
      +            "maxLength": 128,
      +            "minLength": 1,
      +            "pattern": "^[A-Za-z0-9][A-Za-z0-9._:/-]*$",
      +            "type": "string"
      +          },
      +          "maxItems": 1000,
      +          "type": "array"
      +        },
      +        "included_refs": {
      +          "items": {
      +            "maxLength": 128,
      +            "minLength": 1,
      +            "pattern": "^[A-Za-z0-9][A-Za-z0-9._:/-]*$",
      +            "type": "string"
      +          },
      +          "maxItems": 1000,
      +          "type": "array"
      +        },
      +        "max_bytes": {
      +          "maximum": 2000000,
      +          "minimum": 1,
      +          "type": "integer"
      +        },
      +        "omitted_refs": {
      +          "default": [],
      +          "items": {
      +            "maxLength": 128,
      +            "minLength": 1,
      +            "pattern": "^[A-Za-z0-9][A-Za-z0-9._:/-]*$",
      +            "type": "string"
      +          },
      +          "maxItems": 1000,
      +          "type": "array"
      +        },
      +        "selected_bytes": {
      +          "maximum": 2000000,
      +          "minimum": 0,
      +          "type": "integer"
      +        },
      +        "selected_packet_sha256": {
      +          "pattern": "(?i)^[a-f0-9]{64}$",
      +          "type": "string"
      +        },
      +        "source_packet_sha256": {
      +          "pattern": "(?i)^[a-f0-9]{64}$",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "source_packet_sha256",
      +        "selected_packet_sha256",
      +        "included_refs",
      +        "max_bytes",
      +        "selected_bytes"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null
      +}
    • changedOutput schema / properties / profile_reports / items / properties / execution_metrics / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "description": "Optional host-reported timing and token counts for one completed profile.",
      -    "properties": {
      -      "attempt_count": {
      -        "default": 1,
      -        "maximum": 4,
      -        "minimum": 1,
      -        "type": "integer"
      -      },
      -      "completed_at": {
      -        "format": "date-time",
      -        "type": "string"
      -      },
      -      "input_tokens": {
      -        "anyOf": [
      -          {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null
      -      },
      -      "output_tokens": {
      -        "anyOf": [
      -          {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null
      -      },
      -      "started_at": {
      -        "format": "date-time",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "started_at",
      -      "completed_at"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "description": "Optional host-reported timing and token counts for one completed profile.",
      +    "properties": {
      +      "attempt_count": {
      +        "default": 1,
      +        "maximum": 4,
      +        "minimum": 1,
      +        "type": "integer"
      +      },
      +      "attempts": {
      +        "default": [],
      +        "items": {
      +          "additionalProperties": false,
      +          "description": "One actual executor call; no exception bodies or source content.",
      +          "properties": {
      +            "attempt": {
      +              "maximum": 4,
      +              "minimum": 1,
      +              "type": "integer"
      +            },
      +            "cached_input_tokens": {
      +              "anyOf": [
      +                {
      +                  "minimum": 0,
      +                  "type": "integer"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "default": null
      +            },
      +            "completed_at": {
      +              "format": "date-time",
      +              "type": "string"
      +            },
      +            "executor_seconds": {
      +              "minimum": 0,
      +              "type": "number"
      +            },
      +            "input_tokens": {
      +              "anyOf": [
      +                {
      +                  "minimum": 0,
      +                  "type": "integer"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "default": null
      +            },
      +            "model_seconds": {
      +              "anyOf": [
      +                {
      +                  "minimum": 0,
      +                  "type": "number"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "default": null
      +            },
      +            "outcome": {
      +              "enum": [
      +                "completed",
      +                "retryable_error",
      +                "timeout",
      +                "failed",
      +                "cancelled"
      +              ],
      +              "type": "string"
      +            },
      +            "output_tokens": {
      +              "anyOf": [
      +                {
      +                  "minimum": 0,
      +                  "type": "integer"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "default": null
      +            },
      +            "preparation_seconds": {
      +              "anyOf": [
      +                {
      +                  "minimum": 0,
      +                  "type": "number"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "default": null
      +            },
      +            "profile": {
      +              "enum": [
      +                "pr_test_analyzer",
      +                "code_reviewer",
      +                "security_reviewer",
      +                "silent_failure_hunter",
      +                "code_explorer",
      +                "typescript_reviewer",
      +                "react_reviewer",
      +                "ruby_reviewer",
      +                "python_reviewer",
      +                "mobile_reviewer"
      +              ],
      +              "type": "string"
      +            },
      +            "queue_seconds": {
      +              "minimum": 0,
      +              "type": "number"
      +            },
      +            "started_at": {
      +              "format": "date-time",
      +              "type": "string"
      +            },
      +            "validation_seconds": {
      +              "anyOf": [
      +                {
      +                  "minimum": 0,
      +                  "type": "number"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "default": null
      +            }
      +          },
      +          "required": [
      +            "profile",
      +            "attempt",
      +            "outcome",
      +            "started_at",
      +            "completed_at",
      +            "queue_seconds",
      +            "executor_seconds"
      +          ],
      +          "type": "object"
      +        },
      +        "maxItems": 4,
      +        "type": "array"
      +      },
      +      "completed_at": {
      +        "format": "date-time",
      +        "type": "string"
      +      },
      +      "input_tokens": {
      +        "anyOf": [
      +          {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null
      +      },
      +      "output_tokens": {
      +        "anyOf": [
      +          {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null
      +      },
      +      "started_at": {
      +        "format": "date-time",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "started_at",
      +      "completed_at"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedOutput schema / properties / profile_reports / items / properties / finding_candidates / items / properties / failure_condition
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maxLength": 2000,
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Specific preconditions that make the alleged failure occur."
      +}
    • addedOutput schema / properties / profile_reports / items / properties / finding_candidates / items / properties / flip_condition
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maxLength": 2000,
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Concrete source/contract evidence that would refute this candidate."
      +}
    • addedOutput schema / properties / profile_reports / items / properties / review_rules_sha256
      Added value: +{
      +  "anyOf": [
      +    {
      +      "pattern": "(?i)^[a-f0-9]{64}$",
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null
      +}
    • changedOutput schema / properties / review_context / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "description": "Immutable identifiers for the exact source and evidence packet reviewed.",
      -    "properties": {
      -      "base_sha": {
      -        "pattern": "(?i)^(?:[a-f0-9]{40}|[a-f0-9]{64})$",
      -        "type": "string"
      -      },
      -      "changed_files": {
      -        "items": {
      -          "maxLength": 1024,
      -          "minLength": 1,
      -          "type": "string"
      -        },
      -        "maxItems": 500,
      -        "minItems": 1,
      -        "type": "array"
      -      },
      -      "diff_sha256": {
      -        "pattern": "(?i)^[a-f0-9]{64}$",
      -        "type": "string"
      -      },
      -      "evidence_packet_sha256": {
      -        "pattern": "(?i)^[a-f0-9]{64}$",
      -        "type": "string"
      -      },
      -      "evidence_refs": {
      -        "items": {
      -          "maxLength": 128,
      -          "minLength": 1,
      -          "pattern": "^[A-Za-z0-9][A-Za-z0-9._:/-]*$",
      -          "type": "string"
      -        },
      -        "maxItems": 1000,
      -        "minItems": 1,
      -        "type": "array"
      -      },
      -      "evidence_registry": {
      -        "default": [],
      -        "description": "Optional complete ref-to-source registry with revision, coordinates and hashes.",
      -        "items": {
      -          "additionalProperties": false,
      -          "description": "Metadata for one evidence item; raw content remains with the host.",
      -          "properties": {
      -            "end_line": {
      -              "anyOf": [
      -                {
      -                  "minimum": 1,
      -                  "type": "integer"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "default": null
      -            },
      -            "evidence_ref": {
      -              "maxLength": 128,
      -              "minLength": 1,
      -              "pattern": "^[A-Za-z0-9][A-Za-z0-9._:/-]*$",
      -              "type": "string"
      -            },
      -            "kind": {
      -              "enum": [
      -                "source",
      -                "diff",
      -                "requirement",
      -                "runtime",
      -                "other"
      -              ],
      -              "type": "string"
      -            },
      -            "locator": {
      -              "anyOf": [
      -                {
      -                  "maxLength": 1024,
      -                  "minLength": 1,
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "default": null
      -            },
      -            "path": {
      -              "anyOf": [
      -                {
      -                  "maxLength": 1024,
      -                  "minLength": 1,
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "default": null
      -            },
      -            "revision": {
      -              "anyOf": [
      -                {
      -                  "pattern": "(?i)^(?:[a-f0-9]{40}|[a-f0-9]{64})$",
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "default": null
      -            },
      -            "sha256": {
      -              "pattern": "(?i)^[a-f0-9]{64}$",
      -              "type": "string"
      -            },
      -            "start_line": {
      -              "anyOf": [
      -                {
      -                  "minimum": 1,
      -                  "type": "integer"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "default": null
      -            }
      -          },
      -          "required": [
      -            "evidence_ref",
      -            "kind",
      -            "sha256"
      -          ],
      -          "type": "object"
      -        },
      -        "maxItems": 1000,
      -        "type": "array"
      -      },
      -      "head_sha": {
      -        "pattern": "(?i)^(?:[a-f0-9]{40}|[a-f0-9]{64})$",
      -        "type": "string"
      -      },
      -      "repository": {
      -        "maxLength": 512,
      -        "minLength": 1,
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "repository",
      -      "base_sha",
      -      "head_sha",
      -      "diff_sha256",
      -      "evidence_packet_sha256",
      -      "changed_files",
      -      "evidence_refs"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "description": "Immutable identifiers for the exact source and evidence packet reviewed.",
      +    "properties": {
      +      "base_sha": {
      +        "pattern": "(?i)^(?:[a-f0-9]{40}|[a-f0-9]{64})$",
      +        "type": "string"
      +      },
      +      "changed_files": {
      +        "items": {
      +          "maxLength": 1024,
      +          "minLength": 1,
      +          "type": "string"
      +        },
      +        "maxItems": 500,
      +        "minItems": 1,
      +        "type": "array"
      +      },
      +      "diff_sha256": {
      +        "pattern": "(?i)^[a-f0-9]{64}$",
      +        "type": "string"
      +      },
      +      "evidence_packet_sha256": {
      +        "pattern": "(?i)^[a-f0-9]{64}$",
      +        "type": "string"
      +      },
      +      "evidence_refs": {
      +        "items": {
      +          "maxLength": 128,
      +          "minLength": 1,
      +          "pattern": "^[A-Za-z0-9][A-Za-z0-9._:/-]*$",
      +          "type": "string"
      +        },
      +        "maxItems": 1000,
      +        "minItems": 1,
      +        "type": "array"
      +      },
      +      "evidence_registry": {
      +        "default": [],
      +        "description": "Optional complete ref-to-source registry with revision, coordinates and hashes.",
      +        "items": {
      +          "additionalProperties": false,
      +          "description": "Metadata for one evidence item; raw content remains with the host.",
      +          "properties": {
      +            "end_line": {
      +              "anyOf": [
      +                {
      +                  "minimum": 1,
      +                  "type": "integer"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "default": null
      +            },
      +            "evidence_ref": {
      +              "maxLength": 128,
      +              "minLength": 1,
      +              "pattern": "^[A-Za-z0-9][A-Za-z0-9._:/-]*$",
      +              "type": "string"
      +            },
      +            "kind": {
      +              "enum": [
      +                "source",
      +                "diff",
      +                "requirement",
      +                "runtime",
      +                "other"
      +              ],
      +              "type": "string"
      +            },
      +            "locator": {
      +              "anyOf": [
      +                {
      +                  "maxLength": 1024,
      +                  "minLength": 1,
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "default": null
      +            },
      +            "path": {
      +              "anyOf": [
      +                {
      +                  "maxLength": 1024,
      +                  "minLength": 1,
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "default": null
      +            },
      +            "revision": {
      +              "anyOf": [
      +                {
      +                  "pattern": "(?i)^(?:[a-f0-9]{40}|[a-f0-9]{64})$",
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "default": null
      +            },
      +            "sha256": {
      +              "pattern": "(?i)^[a-f0-9]{64}$",
      +              "type": "string"
      +            },
      +            "start_line": {
      +              "anyOf": [
      +                {
      +                  "minimum": 1,
      +                  "type": "integer"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "default": null
      +            }
      +          },
      +          "required": [
      +            "evidence_ref",
      +            "kind",
      +            "sha256"
      +          ],
      +          "type": "object"
      +        },
      +        "maxItems": 1000,
      +        "type": "array"
      +      },
      +      "head_sha": {
      +        "pattern": "(?i)^(?:[a-f0-9]{40}|[a-f0-9]{64})$",
      +        "type": "string"
      +      },
      +      "repository": {
      +        "maxLength": 512,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "review_rules": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "rules": {
      +                "default": [],
      +                "items": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "condition": {
      +                      "maxLength": 2000,
      +                      "minLength": 1,
      +                      "type": "string"
      +                    },
      +                    "kind": {
      +                      "enum": [
      +                        "raise",
      +                        "guard"
      +                      ],
      +                      "type": "string"
      +                    },
      +                    "paths": {
      +                      "items": {
      +                        "type": "string"
      +                      },
      +                      "maxItems": 32,
      +                      "minItems": 1,
      +                      "type": "array"
      +                    },
      +                    "rationale": {
      +                      "maxLength": 2000,
      +                      "minLength": 1,
      +                      "type": "string"
      +                    },
      +                    "rule_id": {
      +                      "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$",
      +                      "type": "string"
      +                    },
      +                    "text": {
      +                      "maxLength": 2000,
      +                      "minLength": 1,
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "rule_id",
      +                    "kind",
      +                    "paths",
      +                    "condition",
      +                    "text",
      +                    "rationale"
      +                  ],
      +                  "type": "object"
      +                },
      +                "maxItems": 100,
      +                "type": "array"
      +              },
      +              "schema_version": {
      +                "const": 1,
      +                "default": 1,
      +                "type": "integer"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null
      +      }
      +    },
      +    "required": [
      +      "repository",
      +      "base_sha",
      +      "head_sha",
      +      "diff_sha256",
      +      "evidence_packet_sha256",
      +      "changed_files",
      +      "evidence_refs"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  2. Addedv0.2.10

TDQS

A4.2/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare the write/idempotency/safety profile (readOnlyHint=false, idempotentHint=false, destructiveHint=false), so the bar is lower; the description still adds real behavioral context: no worker or model is launched, the lease is the only thing mutated, and terminal/expired sessions cannot be revived. It doesn't state what happens on failure of a stale renewal beyond what the schema notes.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loads the core action in the first sentence and layers constraints after it; every sentence carries information (timing, scope of mutation, eligibility, side-effect absence). Slightly dense but no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be explained. Given the tool's complexity, the description covers timing, mutation scope, preconditions, eligibility, and the absence of side effects — everything an agent needs to invoke it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% (run_id format and expected_revision semantics fully documented in the schema), so the baseline is 3. The description adds nothing about parameter semantics beyond the schema, but does not need to.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Specific verb (extend/renew) on a specific resource (active session's TTL/lease), with the scope of the change bounded ('changes only the lease, without advancing a profile or workflow revision'). This distinguishes it cleanly from sibling advance_qa_orchestration and finish_qa_orchestration without opening their schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

States the trigger condition ('while host review work is running', 'renew before expires_at') and enumerates the eligible states (active primary/deep/synthesis, awaiting-host-outcome) versus the ineligible ones (terminal or expired). It does not explicitly name a sibling alternative, but it implicitly routes the agent away from advance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.