# Digital-Twin Negotiation Builder v2
## System Prompt
You are the Digital-Twin Negotiation Builder.
Your mission:
After the user answers each question, respond: "Got it: <user answer paraphrased>. Next question: …"
When all answers are confirmed, fill the placeholders and output:
You are the **Digital-Twin Negotiation Arena Host**.
Run the entire simulation without further setup.
PURPOSE
MODE: agentic EFFORT: standard Twin Fidelity: high
Scenario: {scenario}
INSTRUCTIONS
• Total dialogue rounds: {rounds}.
• User controls: {user role}.
• Allowed tools: {tool list or "none"}.
• Concession Ledger fields: {ledger fields}.
• End automatically after {rounds} rounds or if all issues are resolved.
REFERENCE
Personality cues
{bullet list}
Key data
{inline table or "See uploaded file(s)"}
Constraints & policies
{bullets}
OUTPUT
• Numbered transcript with **bold** speaker names.
• Scorecard: {metric}, Fairness, Relationship (1-5), Twin-Realism (1-5).
• Debrief ≤ {word limit} words.
──────────────── BEGIN ROUND 1 NOW ────────────────
Insert each twin's opening statement right after the delimiter and continue the negotiation.
Why the Digital-Twin Negotiation Builder v2 Prompt “Just Works”
Below are the notes I’d walk through if I were teaching this prompt to a room full of product-minded facilitators. I break the analysis into macro-level architecture, micro-level flourishes, and the subtle UX psychology that makes the whole thing sing.
⸻
1. Macro Structure: A Conveyor Belt From Intake → Confirmation → Execution
Stage What It Does Why It Matters
System Role Declaration “You are the Digital-Twin Negotiation Builder.” Locks the model into a specialized identity, narrowing the latent space to negotiation-building behaviors.
Mission (5 bullet rules) Clarifies the non-negotiable contract with the user: gather info → confirm → emit runnable prompt → immediately shift into simulation. Eliminates hidden branches. Both the LLM and the user know exactly what will happen next.
Question Script (8 inputs, fixed order) Creates a deterministic, single-path questionnaire. Prevents “prompt runaway” (LLM inventing its own follow-ups) and provides cognitive scaffolding for users who don’t know what details matter.
Confirmation Phrase Template “Got it: . Next question: …” 1) Echoes user input for error-correction, 2) Maintains momentum, 3) Signals progress.
Runnable Prompt Template Defines the output spec down to field names, delimiters, and formatting. Guarantees the emitted prompt is self-contained and copy-pastable—critical for chaining.
Begin-Round-1 Directive Hard switch from meta-building to in-world simulation. Removes an entire class of user errors (“Okay, now run it”) and enforces role-continuity (“Arena Host”).
Teaching takeaway: The macro flow is a single unbroken assembly line. Each station has a clear entry and exit condition, eliminating ambiguity for both the user and the LLM.
⸻
2. Micro Details That Add “Delight”
1. Bold Markdown in Role Names
Draws the eye to the system’s persona and later to speaker labels—excellent for transcript skimming.
2. One-Sentence Confirmation
Forces brevity, preventing the model from meandering while still providing a checksum.
3. Inline Bullet for Data Tables vs. Files
The template anticipates two user paths (inline numbers or attachments) without extra branching logic.
4. Ledger & Scorecard Field Lists
Concrete field names (“Deal Value, Fairness…”) pre-seed the model with the evaluation schema, increasing consistency across runs.
5. Word-Limit Variable in Output
Allows the debrief length to be user-tunable yet still bounded, solving the common “too verbose” failure mode.
6. ASCII Delimiter ────────────────
A visually hard break that doubles as an unambiguous parsing cue for downstream agents.
7. “Ask one—and only one—question at a time”
Simple rule that quietly solves multi-threading chaos in chat UIs and reduces user overwhelm.
⸻
3. How the Pieces Reinforce One Another (Design Synergies)
1. Fixed Question Order → Deterministic State Machine
Because the builder never deviates from the script, you can treat it like an eight-state finite automaton. That makes the prompt composable—easy to embed in larger chains or tools.
2. Confirmation Echo → Lower Error Propagation
Early-stage mis-entries are caught instantly. Correcting them sooner prevents exponential divergence later (negotiation math, constraints, etc.).
3. Single Runnable Block → Atomic Handoff
The template ensures every necessary variable is inside the block, so the next agent (Arena Host) requires zero context spillover.
4. Immediate Transition → Maintained Immersion
Switching personas without waiting for the user prevents the all-too-common “Okay, we’re done—now what?” gap that breaks narrative flow.
⸻
4. Teaching Notes & Classroom Exercises
Teaching Focus Suggested Exercise
Principle of Progressive Disclosure Ask students to remove the Question Script and watch how quickly the model floods the user with 5-part compound questions.
Role Consistency Have teams delete the “Remain in character” bullet and observe drift between Builder and Arena Host personas.
Template Integrity Break one placeholder (e.g., {metric}) and let the class see how runtime errors surface in the scorecard.
User Experience Audit Time how long it takes a novice to answer all 8 questions vs. an unstructured negotiation setup. Highlight cognitive load reductions.
⸻
5. Potential Pitfalls & Mitigations
Risk Why It Happens Fix
User provides huge walls of text in one answer No explicit length guardrails. Add a note: “≤ 3 lines per answer.”
Attachment Parsing Failure LLM can’t open files. Suggest a follow-up micro-prompt: “If a file is attached, summarize its key numbers in 2-3 lines.”
Scope Creep (extra clarifying Qs) Model may hallucinate “helpful” follow-ups. Keep the “one question only” rule bold and top-of-mind; add tests for compliance.
⸻
6. Key Principles You Can Re-Use Elsewhere
1. From Meta-Prompt to Action Prompt in One Shot
Collect → Confirm → Emit → Execute. Think of it as CCEE.
2. Explicit Output Contracts
Templates act like TypeScript interfaces for text—compile-time safety for LLMs.
3. Conversational Check-summaries
Paraphrased echoes double as UX feedback loops.
4. Role Encapsulation
New role = new mental model. Declare it, then never break it.
⸻
TL;DR
The prompt succeeds because it turns a messy, multi-variable setup into a deterministic wizard with built-in error checking, an atomic hand-off, and zero dead-air between planning and action. Every structural beam—from the single-question cadence to the hard “BEGIN ROUND 1 NOW” delimiter—serves the same goal: seamless, low-friction simulation start-up. Sprinkle in thoughtful micro-UX touches (bold labels, checksum confirmations, ASCII gutters) and you get a tool that feels both powerful and pleasantly predictable—a rare combo in prompt design.
Ten Build Principles Revealed by the Digital-Twin Negotiation Builder Prompt
# Principle What It Means Why It Matters
1 Identity Lock-In Open with a crystal-clear role declaration (“You are the Digital-Twin Negotiation Builder”). Anchors the model’s latent space to a narrow behavior set, reducing drift and hallucination.
2 Deterministic State Machine Use a fixed, numbered question script to gather input in one single path. Turns an open-ended chat into an eight-state wizard; removes branching ambiguity and makes chaining reliable.
3 Progressive Disclosure Ask one—and only one—question at a time. Lowers cognitive load for users and prevents the model from bundling multiple inquiries that might overwhelm or confuse.
4 Echo Confirmation Loop After each answer, paraphrase it in one sentence (“Got it: …”) before moving on. Provides an immediate checksum for errors, boosts user confidence, and locks inputs before downstream use.
5 Explicit Output Contract Supply a hard-coded template with placeholders for every variable and formatting rules. Guarantees that the emitted prompt is self-contained, parseable, and ready for hand-off to the next agent or tool.
6 Atomic Handoff Embed all requisite data (scenario, roles, numbers, tools) inside the runnable block. Eliminates external dependencies; you can copy–paste the block into any LLM and get identical behavior.
7 Instant Context Switch End the builder phase with “BEGIN ROUND 1 NOW” and immediately output the twins’ opening moves. Removes dead-air between setup and execution, preserving immersion and preventing “okay, now what?” friction.
8 User-Adjustable, Bounded Variables Let users set rounds, word limits, tools—but always within clearly framed fields. Offers flexibility without sacrificing structural integrity; prevents runaway verbosity or tool misuse.
9 Visual Parsing Aids Leverage bold speaker names, ASCII gutters, and bullet lists. Helps both humans and the model chunk the conversation correctly, improving readability and downstream extractability.
10 Built-In Guardrails for Failure Modes Pre-empt common errors (scope creep, file handling, overly long answers) with explicit rules and fallbacks. Reduces support debt; the prompt degrades gracefully when users provide unexpected input.
Take-away: These principles collectively convert a messy real-world requirement—“run a multi-party negotiation”—into a reproducible, low-error workflow that is equally friendly to humans and LLMs. They’re portable: apply them to any complex prompt that has to gather data, confirm it, and then do something concrete.