How do I stop an AI-written repeatable dialogue menu from trapping the viewer after all topics are used?
This is an original fictional text-planning workflow. AISwapLab Chat can analyze a supplied menu draft, but it does not run an interactive story or guarantee exhaustive state coverage. The external ink reference distinguishes once-only choices, repeatable sticky choices and fallback behavior when no displayed option remains. This guide uses those concepts to plan a conversation’s exit coverage, not to add a new interactive feature to AISwapLab video generation.
What to do next
- 01
Inventory topic availability and consequences
Keep the original script and list every topic with its entry condition, repeat policy and resulting state change. Record an exit separately from informational topics. Distinguish a topic that may be asked once from one that can be repeated without changing the fictional situation. Do not rely on a label such as More questions to explain how the conversation eventually ends. Mark conditions that can be false at entry and conditions changed by another topic, because those differences affect which options remain reachable.
- 02
Construct the exhausted and unavailable cases
On paper, consume every one-use topic while keeping conditional topics unavailable, then inspect the resulting menu. Repeat the exercise after any topic that changes another option’s availability. Choose an explicit author-approved exit or ending where needed. If the design intentionally waits for another event, state that dependency and how the viewer reaches it. A silent automatic fallback can be valid narrative flow, but it should not imply that the viewer agreed to a new commitment merely because no topics remain.
- 03
Rehearse short paths and repeated paths separately
Read a path that leaves immediately, one that asks a single topic and one that exhausts the available questions. Test a deliberately repeated topic for useful acknowledgment or a bounded response rather than an accidental loop of identical exposition. Keep a route table naming the exit reached by each proposed state. An external prototype must later verify actual runtime availability and termination; a model’s confident assertion that there are no dead ends is not a substitute for examining the reachable conditions and paths.
A concrete example
Illustrative original fixture: a fictional rehearsal partner offers questions about the entrance cue and the closing pose. Both are one-use topics. A third topic requires a prop that the viewer has not collected, so it cannot appear. After the first two questions are used, the plan needs an explicit exit or intentional ending. Proposed prompt: “Enumerate the supplied menu’s reachable exhausted states. Identify missing exits without inventing new choices, state changes or a runtime test.” A separate local metadata check on November 21, 2026 enumerated four reachable topic-subset states: one had no exit in the bad fixture and none did in the repaired fixture. This bounded check used manually declared states, not an Ink runtime, an unbounded-loop proof or a language-model run.
Original branching-script planning worksheet
| Contract | Proposed proof | Reject when |
|---|---|---|
| Coverage | Consume all one-use available topics | Unavailable topics are assumed to provide an exit |
| Ending | Record explicit author-approved continuation | Fallback invents an unchosen commitment |
Before you call it ready
- Record availability, repeat policy and state changes per topic.
- Test exhaustion while conditional topics are unavailable.
- Inspect immediate exit, partial inquiry and repeated-topic paths.
When to stop or choose another method
Stop when a reachable state has no intended continuation or when a loop depends on a state change the script never establishes. Resolve the conversation structure before producing branch assets. This bounded paper review is not a proof that an external runtime has been tested.
