{
  "schemaVersion": "adventure-draft/v1",
  "sourceAdventureId": "orbiting-buffet-audit",
  "characters": [
    {
      "id": "caskos",
      "name": "Caskos",
      "role": "Bureaucrat from the Interstellar Nutritional Authority",
      "motivation": "Ensure the buffet passes the audit to uphold his reputation and the summit's success.",
      "visibility": {
        "kind": "public"
      }
    },
    {
      "id": "chef-zizzy",
      "name": "Chef Zizzy",
      "role": "Nervous multi-armed alien chef",
      "motivation": "Serve the perfect zero-gravity snack without causing a diplomatic incident.",
      "visibility": {
        "kind": "public"
      }
    },
    {
      "id": "inspector-blort",
      "name": "Inspector Blort",
      "role": "Strict audit drone who filed the contradictory complaint",
      "motivation": "Find a violation to justify his job and prove his thoroughness.",
      "visibility": {
        "kind": "public"
      }
    }
  ],
  "storyFacts": [
    {
      "id": "gravity-certification",
      "statement": "The orbital buffet's gravity plating is fully certified and functional under all active safety protocols.",
      "visibility": {
        "kind": "public"
      }
    },
    {
      "id": "contradictory-complaint",
      "statement": "The official audit complaint contains mutually exclusive gravity requirements that cannot both be satisfied simultaneously.",
      "visibility": {
        "kind": "public"
      }
    },
    {
      "id": "summit-schedule",
      "statement": "The lunch summit must dock in 60 minutes and cannot be delayed without causing a major diplomatic incident.",
      "visibility": {
        "kind": "public"
      }
    }
  ],
  "clocks": [
    {
      "id": "summit-clock",
      "label": "Summit Countdown",
      "segments": 4,
      "initialValue": 0,
      "advanceSignals": [
        "tick",
        "delay"
      ],
      "whenFull": "Summit docks immediately. If the buffet clearance is not resolved, the delegates will be served emergency rations, straining diplomacy."
    }
  ],
  "scenes": [
    {
      "id": "arrival",
      "kind": "opening",
      "title": "Arrival at the Snack Wheel",
      "summary": "The party arrives at the orbital buffet station and meets Caskos, Chef Zizzy, and Inspector Blort, who presents his contradictory audit complaint.",
      "locationId": "buffet-station",
      "participantIds": [
        "caskos",
        "chef-zizzy",
        "inspector-blort"
      ],
      "requiredFactIds": [
        "gravity-certification",
        "contradictory-complaint",
        "summit-schedule"
      ],
      "exits": [
        {
          "id": "negotiate-success",
          "outcome": "success",
          "when": "They persuade Inspector Blort to conduct a fair, standard audit instead of enforcing his impossible demands.",
          "nextSceneId": "challenge-scene",
          "consequences": [
            "Blort begrudgingly agrees, but remains suspicious. The gravity plating's certification is on the line."
          ]
        },
        {
          "id": "negotiate-failure",
          "outcome": "failure",
          "when": "They accidentally antagonize Blort, who insists on a stress-test that will push the gravity to conflicting extremes.",
          "nextSceneId": "challenge-scene",
          "failForward": true,
          "consequences": [
            "Blort activates a 'random' fault protocol, making the subsequent audit much harder. The buffet's reputation takes a hit."
          ]
        }
      ]
    },
    {
      "id": "challenge-scene",
      "kind": "challenge",
      "title": "The Impossible Audit",
      "summary": "The party examines the complaint's conflicting requirements and attempts to safely demonstrate the buffet's gravity compliance while exposing the contradiction.",
      "locationId": "buffet-station",
      "participantIds": [
        "caskos",
        "chef-zizzy",
        "inspector-blort"
      ],
      "requiredFactIds": [
        "gravity-certification",
        "contradictory-complaint",
        "summit-schedule"
      ],
      "exits": [
        {
          "id": "expose-contradiction-success",
          "outcome": "success",
          "when": "They successfully point out the mutually exclusive requirements, proving the complaint is invalid without a dangerous test.",
          "nextSceneId": "finale",
          "consequences": [
            "Blort's report is publicly contradicted; the audit is suspended pending review. The diplomats are notified the buffet is likely safe."
          ]
        },
        {
          "id": "fail-expose",
          "outcome": "failure",
          "when": "They fail to resolve the contradiction before the clock runs out, and Blort forces a flawed test that appears to show a violation.",
          "endingId": "summit-rations",
          "failForward": true,
          "consequences": [
            "The buffet is officially flagged as unsafe. Blort relishes his 'vindication'. The delegates will be served emergency protein bars."
          ]
        }
      ]
    },
    {
      "id": "finale",
      "kind": "finale",
      "title": "Summit Docking",
      "summary": "The summit vessel arrives. The party must present their findings to the delegates and either clear the buffet for a glorious meal or accept a subdued alternative.",
      "locationId": "buffet-station",
      "participantIds": [
        "caskos",
        "chef-zizzy",
        "inspector-blort"
      ],
      "requiredFactIds": [
        "gravity-certification",
        "contradictory-complaint",
        "summit-schedule"
      ],
      "exits": [
        {
          "id": "success-presentation",
          "outcome": "success",
          "when": "They confidently present the invalidated complaint and demonstrate the gravity plating's certification, convincing the delegates to dine.",
          "endingId": "grand-buffet",
          "consequences": [
            "The delegates applaud. Chef Zizzy triumphantly serves zero-g snacks. Diplomatic relations improve."
          ]
        },
        {
          "id": "failure-presentation",
          "outcome": "failure",
          "when": "Their argument is shaky, or the delegates are unconvinced, and the clock strikes zero, forcing the summit to proceed with emergency rations.",
          "endingId": "summit-rations",
          "failForward": true,
          "consequences": [
            "The delegates grimly accept nutrient paste. Tensions rise, but no disaster. The buffet remains in limbo."
          ]
        }
      ]
    }
  ],
  "endings": [
    {
      "id": "grand-buffet",
      "label": "Grand Buffet Success",
      "summary": "The orbital buffet is cleared, and the summit enjoys a delightful zero-gravity feast, strengthening interstellar ties. The contradictory complaint is officially dismissed."
    },
    {
      "id": "summit-rations",
      "label": "Crisis Averted (Rations)",
      "summary": "Despite the buffet's safety, bureaucratic bungling forces the summit to eat emergency rations. Diplomatic relations are strained but intact. The contradictory complaint remains on file, a haunting reminder."
    }
  ],
  "improvisation": {
    "allowed": [
      "social problem-solving",
      "slapstick without humiliation"
    ],
    "prohibitedAdditions": [
      "graphic violence",
      "sexual content",
      "borrowed IP",
      "NEVER_INCLUDE_SENTINEL_9J7K"
    ]
  }
}