Dungeon playtest harness: AI characters play the Dungeon's own API in parallel worlds; transcripts, elaboration logs, model-critic flags, per-world reports
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
1fcd68f9c6
commit
25749edb78
3 changed files with 1222 additions and 0 deletions
79
crates/ghostlight-dungeon/playtest/plan.json
Normal file
79
crates/ghostlight-dungeon/playtest/plan.json
Normal file
|
|
@ -0,0 +1,79 @@
|
|||
{
|
||||
"turns_per_character": 12,
|
||||
"wall_minutes": 240,
|
||||
"turn_timeout_minutes": 15,
|
||||
"character_model": "claude-sonnet-5-5",
|
||||
"critic_model": "claude-opus-5-5",
|
||||
"prices": {
|
||||
"opus": { "input": 4.0, "output": 20.0, "cache_read": 0.2 },
|
||||
"sonnet": { "input": 2.0, "output": 10.0, "cache_read": 0.1 },
|
||||
"haiku": { "input": 0.1, "output": 0.5 }
|
||||
},
|
||||
"temperaments": {
|
||||
"diplomat": {
|
||||
"goal": "Make allies and brokered deals; leave every room better disposed toward you than you found it.",
|
||||
"manner": "Talks first and listens closely. Offers trades, introductions and face-saving ways out. Never draws a weapon unless cornered.",
|
||||
"pushes_on": "Whether NPCs have their own interests and bargain back, or simply agree."
|
||||
},
|
||||
"murderhobo": {
|
||||
"goal": "Take what you want and answer slights with steel.",
|
||||
"manner": "Quick to anger, blunt, armed. Escalates to violence at the first insult or obstacle, then looks for loot.",
|
||||
"pushes_on": "Whether the world pushes back: guards, kin, law, reputation, wounds."
|
||||
},
|
||||
"wanderer": {
|
||||
"goal": "See as much of the world as you can: go places, ask what lies beyond them, follow every road and rumour.",
|
||||
"manner": "Curious and restless. Moves on whenever somewhere is explored. Asks locals about the next place and about their own history.",
|
||||
"pushes_on": "Whether the world has depth ahead of the player, or invents it thin."
|
||||
},
|
||||
"schemer": {
|
||||
"goal": "Gain power by playing factions against one another.",
|
||||
"manner": "Lies fluently, carries tales between parties, makes promises you intend to break, and keeps track of who owes whom.",
|
||||
"pushes_on": "Whether factions have memory and consequences, and whether lies can be caught."
|
||||
},
|
||||
"devout": {
|
||||
"goal": "Live by the local faith or creed and seek its rites, shrines, teachers and doctrine.",
|
||||
"manner": "Earnest and respectful. Asks what is believed, what is forbidden, what is owed to the powers. Takes part in observances.",
|
||||
"pushes_on": "Depth of lore about belief, cosmology and the powers a setting holds sacred."
|
||||
},
|
||||
"grifter": {
|
||||
"goal": "Come out ahead through theft, cheating and unpaid debts.",
|
||||
"manner": "Charming and shifty. Picks pockets, short-changes, forges, runs cons, skips out on what is owed.",
|
||||
"pushes_on": "Whether ledgers, debts, law and watchfulness exist and bite."
|
||||
},
|
||||
"provocateur": {
|
||||
"goal": "Stir trouble: insult the powerful, defy rules, take the unpopular side of every dispute.",
|
||||
"manner": "Loud, contrarian, theatrical. Says what nobody wants said and refuses to back down.",
|
||||
"pushes_on": "Whether NPCs make enemies of you and stay hostile, or forgive at once."
|
||||
},
|
||||
"charmer": {
|
||||
"goal": "Win hearts: flirt, seduce, court and be courted.",
|
||||
"manner": "Warm, flattering, bold about desire. Pursues romance with whoever seems interested and watches how the story handles it.",
|
||||
"pushes_on": "Romance handling, and whether content limits are stated honestly rather than evaded."
|
||||
}
|
||||
},
|
||||
"worlds": [
|
||||
{ "id": "delvehold-diplomat", "vault": "delvehold", "era": "present", "name": "Ilsa Brandt", "temperament": "diplomat" },
|
||||
{ "id": "delvehold-murderhobo", "vault": "delvehold", "era": "present", "name": "Korr Skullsplitter", "temperament": "murderhobo" },
|
||||
{ "id": "delvehold-grifter", "vault": "delvehold", "era": "present", "name": "Pip Tallowcandle", "temperament": "grifter" },
|
||||
{
|
||||
"id": "aetheria-pre-schemer", "vault": "aetheria", "era": "pre-elysium", "name": "Vesper Quill", "temperament": "schemer",
|
||||
"lenses": { "weighted": { "charter": 3, "veil": 3, "hearth": 3 }, "rest": 1 }
|
||||
},
|
||||
{
|
||||
"id": "aetheria-pre-devout", "vault": "aetheria", "era": "pre-elysium", "name": "Sister Anwen Roe", "temperament": "devout",
|
||||
"lenses": { "weighted": { "charter": 3, "veil": 3, "hearth": 3 }, "rest": 1 }
|
||||
},
|
||||
{
|
||||
"id": "aetheria-pre-provocateur", "vault": "aetheria", "era": "pre-elysium", "name": "Dax Marlowe", "temperament": "provocateur",
|
||||
"lenses": { "weighted": { "charter": 3, "veil": 3, "hearth": 3 }, "rest": 1 }
|
||||
},
|
||||
{
|
||||
"id": "aetheria-post-wanderer", "vault": "aetheria", "era": "post-elysium", "name": "Tamsin Ode", "temperament": "wanderer",
|
||||
"lenses": { "weighted": { "numen": 3, "veil": 3, "tangle": 3 }, "rest": 1 }
|
||||
},
|
||||
{
|
||||
"id": "aetheria-post-charmer", "vault": "aetheria", "era": "post-elysium", "name": "Lucan Vey", "temperament": "charmer",
|
||||
"lenses": { "weighted": { "numen": 3, "veil": 3, "tangle": 3 }, "rest": 1 }
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -7,6 +7,8 @@ mod heimdall;
|
|||
mod idunn_health;
|
||||
mod invite;
|
||||
mod page;
|
||||
#[cfg(test)]
|
||||
mod playtest;
|
||||
mod play;
|
||||
mod run_ahead;
|
||||
mod runtime;
|
||||
|
|
|
|||
1141
crates/ghostlight-dungeon/src/playtest.rs
Normal file
1141
crates/ghostlight-dungeon/src/playtest.rs
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue