Commit Graph
10 Commits
Author SHA1 Message Date
gitprovandClaude Opus 4.8 9c496bfe19 Seed phone + merit nodes (and NPC contacts) via the graph seeder
authorGraph now seeds merit nodes' awards_flag and phone-node terminals
bound to an NPC (npc key -> npc_id, the callee dialed); authorMystery seeds
cast phone_number/email. Importer types updated so mystery.json can carry
these, matching how Glass Harbour is seeded — the Barricelli graph can now
be authored as data.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-22 17:49:09 +02:00
gitprov cea0d56cb9 Add Scene 7 claim report workflow 2026-08-22 17:02:30 +02:00
gitprov a7f99a2a39 Implement Scene 7 evidence goal flow 2026-08-22 16:02:42 +02:00
gitprov 94ccbfd1b9 Adding migrations and lot of work. Starting work on the demo scope 2026-08-22 14:53:23 +02:00
gitprovandClaude Opus 4.8 f10d7584d2 Importer: set asset mime type from file extension
Uploaded manifest assets previously became application/octet-stream because the
Blob carried no type, so images/audio/pdf didn't display or thumbnail correctly.
Derive the mime from the extension. (Existing deduplicated assets keep their old
mime; only fresh uploads are affected.)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-18 19:12:53 +02:00
gitprovandClaude Opus 4.8 ddb3a386f0 Add story-graph narrative system (campaigns, editors, runtime)
Introduce the narrative layer as a directed story-flow graph: an authored
campaign a player walks node by node, replacing the interim slot/chapter model.

Schema (migrations 015-021):
- mysteries, global NPC templates + named poses, per-user playthroughs
- story_nodes, terminals, utterances (the flow graph and dialogue trees)
- clean cutover: retire slot cutscenes/chapters/seen_dialogue

Runtime:
- New Game creates a playthrough bound to the JWT identity (dev test-user fallback)
- advance() walks the graph cutscene -> dialogue -> level -> ..., auto-skipping gates
- branching dialogue: player choices route out through node terminals

Admin authoring:
- NPC editor: upload named poses to the gupi MinIO bucket
- mystery graph editor: vertical node canvas, wiring, entrypoint, delete-by-click
- dialogue crafter: utterance tree, Tab to add child, 1/2 speaker, undo

Content authored via the manifest importer / admin panel and seeded for Glass
Harbour. MinIO added to the dev stack; dev container runs in development mode.

Also includes a folder-widget simplification (removes open/close) and a
resolveUserId auth helper.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-18 15:37:46 +02:00
gitprov 0237da74cf Adding working board 2026-08-17 09:24:53 +02:00
gitprov 8f1f5a8743 Gate admin menu and authoring with shared JWT 2026-08-15 09:29:08 +02:00
gitprov 45c7c6a292 feat: add configurable timeline range 2026-08-14 15:40:54 +02:00
gitprov b284275e98 feat: author first playable mystery 2026-08-14 15:02:00 +02:00