Approve Submission (Admin)
Manually promote an in_review partner submission to approved (HG operators only). Re-runs Stage-1 lint then materializes via the shared materializer so manual-approve cannot drift from auto-approve. Records manuallyApprovedByUserId + optional note for audit. Requires an HG super-admin user; partner-org admins are rejected with forbidden_super_admin.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
submissionId Required | string | - | UUID of the in-review partner submission to promote to approved. |
note | string | - | Optional operator note explaining why this submission was manually approved (e.g., context for advisory-mode override). Stored on the submission row for audit. |
Use Cases
- Manually promote an in_review submission to approved (HG operators only)
- Override advisory mode to publish a submission the AI gate parked for manual review
Example Usage
Approve with an operator note
{
"tool": "admin_approve_submission",
"arguments": {
"submissionId": "3f7c2b1a-9d4e-4c2a-8b1f-0a1b2c3d4e5f",
"note": "Verified sample output; advisory-mode override."
}
}
Response Format
| Field | Type | Description |
|---|---|---|
status | string | |
submissionId | string | UUID of the approved submission. |
publishedBlueprintId | string | UUID of the materialized agent_blueprints row now live in the catalog. |