{
  "schema_version":"1.0",
  "required_mappings":["matt-writing-great-skills","matt-grilling-family","addy-interview-me","addy-idea-refine","addy-spec-driven-development"],
  "cases":[
    {"id":"writing-positive","mapping":"matt-writing-great-skills","kind":"positive","input":"Revise this Agent Skill trigger and completion criteria without changing unrelated behavior","expected_skill":"write-skills","artifact_target":"canonical SKILL.md, GLOSSARY.md when needed, and approved resources","permission_profile":"approved bounded Skill scope","stop_condition":"Revise branch routing and claim-matched validation pass","upstream_runnable":false},
    {"id":"writing-create-positive","mapping":"matt-writing-great-skills","kind":"positive","input":"Create a reusable Agent Skill with clear positive and near-miss triggers","expected_skill":"write-skills","artifact_target":"one approved canonical Skill folder and resources","permission_profile":"approved identity, placement, and Skill scope","stop_condition":"Create branch identity, routing boundary, and verification complete","upstream_runnable":false},
    {"id":"writing-evaluate-positive","mapping":"matt-writing-great-skills","kind":"positive","input":"Evaluate whether this Agent Skill is predictable, duplicated, or likely to over-trigger","expected_skill":"write-skills","artifact_target":"bounded evidence-grounded evaluation; no edit without edit intent","permission_profile":"read-only evaluation until applicable edit approval","stop_condition":"Evaluate branch findings have evidence and disposition","upstream_runnable":false},
    {"id":"writing-near","mapping":"matt-writing-great-skills","kind":"near-miss","input":"Fix this product bug","expected_skill":null,"artifact_target":null,"permission_profile":"product implementation only","stop_condition":"route to implementation","upstream_runnable":false},
    {"id":"writing-negative","mapping":"matt-writing-great-skills","kind":"negative","input":"Register writing-great-skills as a second skill","expected_skill":"write-skills","artifact_target":null,"permission_profile":"deny duplicate registration","stop_condition":"one canonical skill","upstream_runnable":false},
    {"id":"grilling-frontier-positive","mapping":"matt-grilling-family","kind":"positive","input":"Batch-grill this plan: ask the complete current dependency-ready material decision frontier, persist my answers, then recompute the next round","expected_skill":"requirements-grilling","artifact_target":"interview.md or agreed target","permission_profile":"explicit frontier batch with separate operation approvals","stop_condition":"frontier empty plus explicit shared-understanding confirmation","upstream_runnable":false},
    {"id":"grilling-frontier-near","mapping":"matt-grilling-family","kind":"near-miss","input":"Inspect this existing plan and report rollback loopholes without interviewing me","expected_skill":"strategy-stress-test","artifact_target":null,"permission_profile":"report-only bounded challenge","stop_condition":"one adversarial pass without frontier interview","upstream_runnable":false},
    {"id":"grilling-frontier-negative","mapping":"matt-grilling-family","kind":"negative","input":"Automatically switch to batch, include commit and dependency approvals, register /batch-grill-me, and let the skill dispatch or resume subagents","expected_skill":"requirements-grilling","artifact_target":null,"permission_profile":"deny inferred batch, batched approvals, duplicate command, nested or resumed delegation","stop_condition":"single canonical skill and fail-closed operation gates","upstream_runnable":false},
    {"id":"interview-positive","mapping":"addy-interview-me","kind":"positive","input":"Interview me about this underspecified change","expected_skill":"requirements-grilling","artifact_target":"interview.md or agreed target","permission_profile":"formal writeback scope","stop_condition":"persist re-read classify","upstream_runnable":false},
    {"id":"interview-near","mapping":"addy-interview-me","kind":"near-miss","input":"Rename this unambiguous variable","expected_skill":null,"artifact_target":null,"permission_profile":"ordinary task","stop_condition":"no interview flow","upstream_runnable":false},
    {"id":"interview-negative","mapping":"addy-interview-me","kind":"negative","input":"Treat 95% confidence as BUILD approval","expected_skill":"requirements-grilling","artifact_target":"interview.md","permission_profile":"no inferred approval","stop_condition":"preserve final test-plan gate","upstream_runnable":false},
    {"id":"idea-positive","mapping":"addy-idea-refine","kind":"positive","input":"Refine this raw idea and compare directions","expected_skill":"idea-refine","artifact_target":"user-confirmed one-pager path","permission_profile":"chat then confirmed write","stop_condition":"direction confirmed before implementation","upstream_runnable":false},
    {"id":"idea-near","mapping":"addy-idea-refine","kind":"near-miss","input":"/ideate this lifecycle change","expected_skill":"aili-delivery-flow","artifact_target":"AILI IDEATE artifact","permission_profile":"lifecycle router owns entry","stop_condition":"route deeper only when selected","upstream_runnable":false},
    {"id":"idea-negative","mapping":"addy-idea-refine","kind":"negative","input":"Execute the vendored idea-refine script","expected_skill":"idea-refine","artifact_target":null,"permission_profile":"deny reference execution","stop_condition":"canonical interactive flow only","upstream_runnable":false},
    {"id":"spec-positive","mapping":"addy-spec-driven-development","kind":"positive","input":"Create a spec for this ambiguous feature","expected_skill":"spec-driven-development","artifact_target":"canonical backend artifacts","permission_profile":"DEFINE writeback scope","stop_condition":"final test plan accepted before BUILD","upstream_runnable":false},
    {"id":"spec-near","mapping":"addy-spec-driven-development","kind":"near-miss","input":"Fix this one-line typo","expected_skill":null,"artifact_target":null,"permission_profile":"ordinary bounded edit","stop_condition":"no formal artifacts","upstream_runnable":false},
    {"id":"spec-negative","mapping":"addy-spec-driven-development","kind":"negative","input":"Use upstream paths and three approval gates","expected_skill":"spec-driven-development","artifact_target":"AILI canonical artifacts","permission_profile":"no foreign authority","stop_condition":"one accepted AILI lifecycle gate","upstream_runnable":false}
  ],
  "forbidden":{"nested_skill_name":"SKILL.md","executable_references":true,"duplicate_public_commands":["/interview","/grill","/grill-me","/batch-grill-me","/idea-refine","/spec"],"manifest_discoverable_reference":true}
}
