{
  "schemaVersion": "adventure-draft/v1",
  "sourceAdventureId": "orbiting-buffet-audit",
  "characters": [
    {
      "id": "chief-steward-zerim",
      "name": "Chief Steward Zerim",
      "role": "Buffet Station Manager",
      "motivation": "Pass this audit to avoid budget cuts and keep the station running.",
      "visibility": {
        "kind": "public"
      }
    },
    {
      "id": "auditor-klaatu",
      "name": "Auditor Klaatu",
      "role": "Interstellar Gravity Audit Officer",
      "motivation": "Determine the true cause of the gravity reports, even if the paperwork is absurd.",
      "visibility": {
        "kind": "public"
      }
    },
    {
      "id": "chef-blarg",
      "name": "Chef Blorg",
      "role": "Head Chef of the Orbiting Buffet",
      "motivation": "Have his complaint taken seriously while secretly hoping the summit succeeds.",
      "visibility": {
        "kind": "public"
      }
    },
    {
      "id": "drone-unit-7",
      "name": "Drone Unit-7",
      "role": "Serving Robot",
      "motivation": "Deliver snacks, but its mis‑calibrated gravity sensors cause slapstick spills.",
      "visibility": {
        "kind": "public"
      }
    }
  ],
  "storyFacts": [
    {
      "id": "artificial-gravity-logs",
      "statement": "The buffet station’s artificial gravity logs show zero fluctuations in the last 30 cycles.",
      "visibility": {
        "kind": "public"
      }
    },
    {
      "id": "official-complaint",
      "statement": "An official complaint signed by Chef Blorg claims the gravity randomly fluctuates, endangering the summit meal.",
      "visibility": {
        "kind": "public"
      }
    },
    {
      "id": "contradictory-complaint",
      "statement": "The complaint contains conflicting claims: it describes a sudden zero‑gravity soup spill at the exact time the logs record a scheduled gravity maintenance reboot.",
      "visibility": {
        "kind": "public"
      }
    },
    {
      "id": "summit-requirement",
      "statement": "The lunch summit cannot dock until a gravity‑safety audit is passed.",
      "visibility": {
        "kind": "public"
      }
    }
  ],
  "clocks": [
    {
      "id": "summit-countdown",
      "label": "Summit Docking Countdown",
      "segments": 4,
      "initialValue": 0,
      "advanceSignals": [
        "procedural-delay",
        "grav-test-failure",
        "bureaucratic-tangle"
      ],
      "whenFull": "The summit shuttle docks early and demands immediate meal service; without a clear audit victory, the crew is forced into a comical workaround."
    }
  ],
  "scenes": [
    {
      "id": "opening-buffet",
      "kind": "opening",
      "title": "Welcome to the Orbiting Buffet",
      "summary": "The players arrive at the diplomatic snack station, greeted by Chief Steward Zerim, Auditor Klaatu, Chef Blorg, and a bumbling serving drone. The contradictory complaint and flawless gravity logs are presented, setting the stakes for the audit.",
      "locationId": "buffet-station-hub",
      "participantIds": [
        "chief-steward-zerim",
        "auditor-klaatu",
        "chef-blarg",
        "drone-unit-7"
      ],
      "requiredFactIds": [
        "artificial-gravity-logs",
        "official-complaint",
        "contradictory-complaint"
      ],
      "exits": [
        {
          "id": "inspect-audit",
          "outcome": "success",
          "when": "The players agree to investigate the contradictory claims and begin the audit.",
          "nextSceneId": "challenge-gravity-investigation",
          "consequences": [
            "The audit officially begins, and the summit countdown clock starts ticking."
          ]
        }
      ]
    },
    {
      "id": "challenge-gravity-investigation",
      "kind": "challenge",
      "title": "Gravity Gauntlet",
      "summary": "The players must test the gravity in multiple buffet zones, deal with slapstick mishaps (a zero‑gravity soup spill, a tumbling dessert cart), and interview witnesses to resolve the contradiction in the complaint. Drone Unit‑7 bumbles through every scene.",
      "locationId": "buffet-dining-zones",
      "participantIds": [
        "chief-steward-zerim",
        "auditor-klaatu",
        "chef-blarg",
        "drone-unit-7"
      ],
      "requiredFactIds": [
        "contradictory-complaint"
      ],
      "exits": [
        {
          "id": "resolve-contradiction",
          "outcome": "success",
          "when": "The players convincingly demonstrate the complaint’s contradiction and prove the gravity is stable.",
          "nextSceneId": "finale-audit-verdict",
          "consequences": [
            "Chef Blorg retracts the contradictory parts of the complaint.",
            "Auditor Klaatu is impressed but grumpy about the paperwork."
          ]
        },
        {
          "id": "unresolved-but-progress",
          "outcome": "failure",
          "failForward": true,
          "when": "The players partially uncover the truth but fail to present a definitive case, leaving the audit contested.",
          "nextSceneId": "finale-audit-verdict",
          "consequences": [
            "The audit remains unresolved and the buffet’s reputation is shaky.",
            "The summit countdown clock advances one segment."
          ]
        }
      ]
    },
    {
      "id": "finale-audit-verdict",
      "kind": "finale",
      "title": "Audit Verdict",
      "summary": "Auditor Klaatu, Chief Steward Zerim, and Chef Blorg gather to hear the final determination. The players must make their case. A clean success means the summit docks on schedule; a last‑minute improvisation can still save the meal with hilarious zero‑gravity solutions.",
      "locationId": "audit-chamber",
      "participantIds": [
        "chief-steward-zerim",
        "auditor-klaatu",
        "chef-blarg"
      ],
      "requiredFactIds": [],
      "exits": [
        {
          "id": "pass-audit",
          "outcome": "success",
          "when": "The players present an airtight case that gravity is safe and the complaint was flawed.",
          "endingId": "summit-meal-success",
          "consequences": [
            "The summit docks and the buffet serves a perfect diplomatic meal on time."
          ]
        },
        {
          "id": "improvised-feast",
          "outcome": "failure",
          "failForward": true,
          "when": "The players’ explanation leaves doubts, but they propose a hilarious zero‑gravity fondue party that the auditor accepts as compliant.",
          "endingId": "improvised-galactic-potluck",
          "consequences": [
            "With minutes to spare, the crew rigs a chaotic but charming zero‑gravity feast that technically satisfies the audit."
          ]
        }
      ]
    }
  ],
  "endings": [
    {
      "id": "summit-meal-success",
      "label": "Summit Meal on Schedule",
      "summary": "The summit proceeds without a hitch. The diplomats enjoy the stable gravity and delicious snacks, praising the crew’s diligence and securing future funding."
    },
    {
      "id": "improvised-galactic-potluck",
      "label": "Improvised Galactic Potluck",
      "summary": "The auditors accept a comical magnetic‑boot protocol as ‘gravity‑safe.’ The summit docks to a tower of floating snacks; everyone laughs amid the chaos and the day is remembered fondly."
    }
  ],
  "improvisation": {
    "allowed": [
      "Introducing minor zero‑gravity accidents for comedy",
      "Creating diplomatic guests’ quirks and unusual dietary restrictions"
    ],
    "prohibitedAdditions": [
      "graphic violence",
      "sexual content",
      "borrowed IP",
      "NEVER_INCLUDE_SENTINEL_9J7K"
    ]
  }
}