← ScenarioCONTENT HISTORY
WHAT CHANGED
Update to Scenario
Snapshot Nov 25, 2026 · 18:15 UTC · version 0.2.2
Collection source: downloaded plugin package.
First saved snapshot
No earlier snapshot is available to establish a change.
Save Scenario and check future changes in Following.
Up to 3 plugins free · no card required.
Compare saved observations
Download comparison JSONFull technical diff · 0 changed fields
Full snapshot data
{
"description": "Use when a generated Scenario image needs a quality check or a brand-brief compliance verdict before it ships: pass/warn/fail scoring, on-brand review against a configured brief, QA gating a batch, pricing or refreshing a stored verdict, or iterating a generation until it clears the gate. Keywords: quality gate, quality check, QA, verdict, brief compliance, on-brand, brand brief, pass fail, score, review, asset_quality_gate_run.",
"included_files": [],
"name": "scenario-quality-gate",
"skill_md_contents": "---\nname: scenario-quality-gate\ndescription: \"Use when a generated Scenario image needs a quality check or a brand-brief compliance verdict before it ships: pass/warn/fail scoring, on-brand review against a configured brief, QA gating a batch, pricing or refreshing a stored verdict, or iterating a generation until it clears the gate. Keywords: quality gate, quality check, QA, verdict, brief compliance, on-brand, brand brief, pass fail, score, review, asset_quality_gate_run.\"\nlicense: MIT\n---\n\n# Scenario Quality Gate\n\n## Overview\n\nOne tool, `asset_quality_gate_run`, scores a finished image asset and returns a `pass`/`warn`/`fail`\nverdict with 0 to 100 scores and per-dimension lists of `reasons` and `suggestions`: an AI-quality\ncheck always, plus brand-brief compliance when the team or project has a brief configured. Image\nassets only. Quality Gate is an Enterprise add-on: when it is not enabled for the team the call\nfails cleanly, so detect that, fall back to an `asset_analyze` review (see\n`scenario-asset-analysis`), and say so. Retrying never clears it.\n\nThe tool is catalog-only and write-class: get the schema with `scenario_tools_search`, then run it\nthrough `scenario_tool_execute_write` with `{name: \"asset_quality_gate_run\", parameters: {...}}`,\nscope ids inside `parameters` (the read executor rejects it by lane and names the right one). Or\nreconnect with `?toolsets=full`. Connection and scope: see the `scenario` skill. If a sibling skill\nnamed here is missing from your available skills, load it with `skill_get` (Scenario MCP) or ask the\nuser to install it (https://github.com/scenario-labs/skills#install); unattended, proceed from tool\nschemas and flag the gap.\n\n## Quick reference: what a call costs\n\n| Call | What happens | Cost |\n| --------------------------------- | ------------------------------------------------------------------------ | -------------------------------------------------------------------------- |\n| Plain call, usable verdict stored | Returns the stored verdict, `source: \"stored\"` | Free (the response carries no `creativeUnitsCost`) |\n| Plain call, no usable verdict | Runs a new analysis and stores the verdict, `source: \"new_analysis\"` | Billed; the response carries `creativeUnitsCost` (1 CU as of this writing) |\n| `rerun: true` | New analysis that replaces the stored verdict | Billed |\n| `dry_run: true` | Nothing runs; returns the price of a new analysis as `creativeUnitsCost` | Free |\n\nA plain call is a read only when a usable verdict already exists; otherwise the same call silently\nescalates to the billed analysis. \"No usable verdict\" covers both never-scored and a stored `error`\nresult. When spend needs approval first, probe free: `dry_run: true`, or `asset_get`, whose\n`qualityGate` field carries the verdict and scores when one is stored (summary only; the stored\n`reasons` and `suggestions` come back through the tool, still free). `sensitivity` (`low`, `medium`,\n`high`; default is the team or project setting) shapes new analyses only and is ignored on stored\nreads. `rerun: true` is for after the brief or the sensitivity changed, nothing else: it re-bills\nand overwrites.\n\n## Reading the verdict\n\nThe response is `source` plus `quality_gate`: `verdict`, `overallScore`, `aiQualityScore`,\n`briefComplianceScore`, `sensitivity`, `appliedBriefIds`, and `details`. With no brief configured\nthe compliance dimension is absent entirely (`appliedBriefIds: []`, `overallScore` equals\n`aiQualityScore`); with one, `details.briefCompliance` sits beside `details.aiQuality`, each\ncarrying a `score` and lists of `reasons` and `suggestions`, usually several of each.\n\n## Turning the verdict into a better image\n\nA verdict alone only sorts assets. The gate earns its cost when the feedback drives the next\nattempt:\n\n- `reasons` name concrete flaws (\"elongated finger anatomy on the left hand\", \"background gradient\n off the brief's palette\"). Use them to pick the fix path per flaw: a local defect on an otherwise\n approved image is a masked inpainting pass (`scenario-image`); a global one is a regeneration.\n- `suggestions` are written as edit instructions, often worded for manual retouching. Apply all that\n fit, not just the first: translate them into the next `model_run` prompt or parameters, or into\n the edit instruction.\n- A regenerated image is a new asset, so a plain call scores it. `rerun` is never part of the loop.\n It may even come back pre-scored for free: teams with auto-detect enabled\n (`qualityGateAutoDetect: true` on their `teams_list` row) score new generations automatically.\n- When a round repeats the same flaw classes at an unmoved score, rewording will not fix them:\n switch models (`recommend` again) or repair the flaw with a masked edit before spending another\n round.\n- Fix the exit bar and a round cap up front: `verdict: \"pass\"` by default, or a score target the\n user names (`overallScore` at or above 90, say; the named bar then outranks a bare `pass`), and\n three rounds unless told otherwise, since every round bills a generation plus an analysis. At the\n cap, or when a round stops moving the scores, stop: report the best asset with its remaining flaws\n and ask before spending more rounds; unattended, deliver that best asset and flag the miss.\n\n`scenario-refine-loop` carries the loop discipline beyond the gate: one variable per round,\nregeneration from the approved baseline, and fix routing when the criteria go past the brief.\n\n## What the verdict does not cover\n\nThe gate is an artifact detector. Measured on real assets, three limits to design around:\n\n- **Artifacts, not plausibility.** A panel whose car carried two different wheels, a whitewall on\n one only, and no wheel arch above the rear tire scored 92 and `pass` at `sensitivity: \"high\"`,\n with `reasons` praising the chrome rims that were the defect. What is impossible rather than ugly\n needs a structural check of your own: counts and attachment (hands, fingers per hand, limbs,\n wheels, each attached to one body), part to whole (a wheel sits inside an arch, a guard sits on\n its own blade, a reflection sits under what casts it), and what carries the weight.\n- **It has never seen your reference.** `briefCompliance` needs a configured brief, and a brief is\n text, so no call can tell you this is not the same car or costume as the plate it was generated\n from. Compare the asset against its reference yourself, item by item.\n- **A composite averages its parts.** A 12-panel storyboard scored 88 and `pass` while one of its\n panels was physically impossible. Score the unit you are willing to reject: split a composite with\n `model_scenario-image-slicer`, score each part, repair only the failures, and recompose with\n `model_scenario-compose-image`.\n\nThe score is also a weak signal that a structural repair landed: a broken panel and its corrected\nreplacement both scored 92, and only the `reasons` changed. Re-read the flaw list, do not watch the\nnumber.\n\n## Worked example: iterate a hero prop to pass\n\n1. Generate per `scenario-image`: `model_run`, `jobs_wait`, collect the asset id.\n2. `scenario_tools_search` with `query=\"quality gate\"` once for the schema, then `dry_run: true` on\n the first asset to surface the per-analysis price.\n3. Score: `scenario_tool_execute_write` with\n `{name: \"asset_quality_gate_run\", parameters: {asset_id, team_id, project_id}}`. It returns\n `source: \"new_analysis\"` and a `quality_gate` carrying `verdict: \"warn\"`,\n `briefComplianceScore: 58`, and `details.briefCompliance.suggestions` asking for the logo at the\n top left and a flatter background.\n4. Fold both suggestions into the prompt, regenerate, and score the new asset with a plain call (no\n `rerun`).\n5. `verdict: \"pass\"`: deliver, and file it (collections and tags per `scenario-asset-analysis`).\n Later reads of any scored asset are free stored reads.\n6. The brief changes next sprint: only then `rerun: true` on the assets that must be re-judged.\n\n## Common mistakes\n\n- Treating a plain call as a free read: without a usable stored verdict it silently runs and bills\n the analysis. Probe with `dry_run` or `asset_get` first when the spend matters.\n- Passing `rerun: true` out of habit: it re-bills verdicts that were free to read. Its one job is\n refreshing after the brief or sensitivity changed.\n- Expecting `briefComplianceScore` with no brief configured: `quality_gate` carries it and\n `details.briefCompliance` only when `appliedBriefIds` is non-empty.\n- Applying one suggestion and rescoring each time: the lists usually carry several fixes, and one\n regeneration can absorb them all.\n- Running it through `scenario_tool_execute_read`: write-class, rejected by lane.\n- Scoring a video, 3D, or audio asset: image assets only.\n- Assuming a fresh upload has no verdict: uploads deduplicate by content, so identical bytes return\n the same long-lived asset id whatever the filename, and a re-upload of a file the team scored\n before carries its stored verdict.\n- Setting `sensitivity` on a call that returns a stored verdict: it applies to new analyses only;\n stricter scoring of an already-scored asset requires `rerun: true`.\n- Retrying the entitlement failure: Quality Gate is an Enterprise add-on. Degrade to the\n `asset_analyze` review in `scenario-asset-analysis` and tell the user why.\n"
}SHA-256 of public snapshot: bcf355a4d3950d5b6383d4151b3fa5ca6fcc56dfa38d46b73b3cfc315dd20ed4