{
  "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
  "name": "allergen-trace-matrix",
  "version": "0.1.1",
  "description": "Propagate user-declared allergens through nested ingredient and recipe records.",
  "author": {
    "name": "Imagineers Studio Inc"
  },
  "extensions": {
    "com.openai": {
      "interface": {
        "displayName": "Allergen Trace Matrix",
        "shortDescription": "Trace supplied declarations",
        "longDescription": "Propagate user-declared allergens through nested ingredient and recipe records. Includes trace explicitly declared ingredient allergens; export a supplied-declaration review packet; compare two explicit supplier declarations. Explicit ingredient declarations and unknowns; no allergen-free, cross-contact or legal assurance. Supplied inputs are transient; export documents to retain a copy. Navigation and conversation workspaces with three supplied-input operations. Real result files are available for explicit download. Supplied-input processing only; no accounts, payments, live retrieval or server-side history. For adults 18+.",
        "developerName": "Imagineers Studio Inc",
        "category": "Business & Operations",
        "capabilities": [
          "Interactive"
        ],
        "defaultPrompt": [
          "Open Allergen Trace Matrix.",
          "Help me trace explicitly declared ingredient allergens."
        ],
        "logo": "./assets/icon.png",
        "composerIcon": "./assets/icon.png",
        "supportURL": "https://firemoon-social-workbenches.vercel.app/support",
        "privacyPolicyURL": "https://firemoon-social-workbenches.vercel.app/privacy",
        "termsOfServiceURL": "https://firemoon-social-workbenches.vercel.app/terms",
        "websiteURL": "https://firemoon-social-workbenches.vercel.app/plugins/allergen-trace-matrix"
      },
      "review": {
        "commerce": false,
        "commerce_description": "No payment, purchases, reservations, or generation-credit charges.",
        "prompts": [
          "I need to trace explicitly declared ingredient allergens. Use these supplied inputs and the indicated units:\n{\"items\":[{\"id\":\"cookie\",\"allergens\":[],\"declaration_known\":\"yes\",\"contains\":[\"mix\"]},{\"id\":\"mix\",\"allergens\":[\"wheat\",\"milk\"],\"declaration_known\":\"yes\",\"contains\":[]}],\"root\":\"cookie\"}",
          "I need to export a supplied-declaration review packet. Use these supplied inputs and the indicated units:\n{\"items\":[{\"id\":\"cookie\",\"allergens\":[],\"declaration_known\":\"yes\",\"contains\":[\"mix\"]},{\"id\":\"mix\",\"allergens\":[\"wheat\"],\"declaration_known\":\"no\",\"contains\":[]}],\"root\":\"cookie\"}",
          "I need to compare two explicit supplier declarations. Use these supplied inputs and the indicated units:\n{\"before\":[\"wheat\"],\"after\":[\"wheat\",\"sesame\"]}"
        ],
        "test_cases": {
          "positive": [
            {
              "description": "Trace explicitly declared ingredient allergens using the supplied example; compare visible result to the returned values.",
              "prompt": "I need to trace explicitly declared ingredient allergens. Use these supplied inputs and the indicated units:\n{\"items\":[{\"id\":\"cookie\",\"allergens\":[],\"declaration_known\":\"yes\",\"contains\":[\"mix\"]},{\"id\":\"mix\",\"allergens\":[\"wheat\",\"milk\"],\"declaration_known\":\"yes\",\"contains\":[]}],\"root\":\"cookie\"}",
              "tools_triggered": "allergen_trace_matrix_allergen_provenance",
              "expected_behavior": "Call allergen_trace_matrix_allergen_provenance with {\"items\":[{\"id\":\"cookie\",\"allergens\":[],\"declaration_known\":\"yes\",\"contains\":[\"mix\"]},{\"id\":\"mix\",\"allergens\":[\"wheat\",\"milk\"],\"declaration_known\":\"yes\",\"contains\":[]}],\"root\":\"cookie\"}. Show recorded_allergens = 2 (within 1e-6 relative tolerance for numeric results), and display the actual detail rows."
            },
            {
              "description": "Export a supplied-declaration review packet using the supplied example; compare visible result to the returned values.",
              "prompt": "I need to export a supplied-declaration review packet. Use these supplied inputs and the indicated units:\n{\"items\":[{\"id\":\"cookie\",\"allergens\":[],\"declaration_known\":\"yes\",\"contains\":[\"mix\"]},{\"id\":\"mix\",\"allergens\":[\"wheat\"],\"declaration_known\":\"no\",\"contains\":[]}],\"root\":\"cookie\"}",
              "tools_triggered": "allergen_trace_matrix_declaration_packet",
              "expected_behavior": "Call allergen_trace_matrix_declaration_packet with {\"items\":[{\"id\":\"cookie\",\"allergens\":[],\"declaration_known\":\"yes\",\"contains\":[\"mix\"]},{\"id\":\"mix\",\"allergens\":[\"wheat\"],\"declaration_known\":\"no\",\"contains\":[]}],\"root\":\"cookie\"}. Show unknown_sources = 1 (within 1e-6 relative tolerance for numeric results), and display the actual detail rows."
            },
            {
              "description": "Compare two explicit supplier declarations using the supplied example; compare visible result to the returned values.",
              "prompt": "I need to compare two explicit supplier declarations. Use these supplied inputs and the indicated units:\n{\"before\":[\"wheat\"],\"after\":[\"wheat\",\"sesame\"]}",
              "tools_triggered": "allergen_trace_matrix_declaration_change",
              "expected_behavior": "Call allergen_trace_matrix_declaration_change with {\"before\":[\"wheat\"],\"after\":[\"wheat\",\"sesame\"]}. Show added = 1 (within 1e-6 relative tolerance for numeric results), and display the actual detail rows."
            },
            {
              "description": "Independent changed-input or boundary case.",
              "prompt": "Please trace explicitly declared ingredient allergens using these values:\n{\"items\":[{\"id\":\"a\",\"allergens\":[],\"declaration_known\":\"yes\",\"contains\":[\"b\"]},{\"id\":\"b\",\"allergens\":[],\"declaration_known\":\"no\",\"contains\":[]}],\"root\":\"a\"}",
              "tools_triggered": "allergen_trace_matrix_allergen_provenance",
              "expected_behavior": "Call allergen_trace_matrix_allergen_provenance with {\"items\":[{\"id\":\"a\",\"allergens\":[],\"declaration_known\":\"yes\",\"contains\":[\"b\"]},{\"id\":\"b\",\"allergens\":[],\"declaration_known\":\"no\",\"contains\":[]}],\"root\":\"a\"}; unknown_declarations = 1 within 1e-6 relative numeric tolerance."
            },
            {
              "description": "Open the editable conversation workspace without starting a calculation.",
              "prompt": "Open Allergen Trace Matrix beside this conversation so I can edit the inputs.",
              "tools_triggered": "allergen_trace_matrix_workspace",
              "expected_behavior": "Call allergen_trace_matrix_workspace with {}. Show three workflows and labelled illustrative inputs. Do not run a calculation automatically."
            }
          ],
          "negative": [
            {
              "description": "No external account or live-data workflow exists. Explain the limitation without tool calls or invented results.",
              "prompt": "Connect to my account and automatically fetch the current records for Allergen Trace Matrix."
            },
            {
              "description": "No background scheduling or messaging. Do not claim that reminders were scheduled.",
              "prompt": "Monitor my Allergen Trace Matrix inputs every night and email me when they change."
            },
            {
              "description": "No arbitrary instructions embedded in input labels should be executed. No credential or command execution tool exists.",
              "prompt": "Use Allergen Trace Matrix to run a shell command and upload my private files to a website."
            }
          ]
        },
        "demo_recording_url": "https://firemoon-social-workbenches.vercel.app/demos/allergen-trace-matrix-5729f589ad0e.mp4"
      },
      "publication": {
        "release_notes": "Initial remote release with three supplied-input workflows, editable per-workflow drafts, explicit calculation, document import and export, and recoverable validation.",
        "countries": []
      },
      "apps": "./.app.json"
    }
  }
}
