Files
interactive-story/planning/reports/REUSE-MATRIX.md
T

65 lines
3.0 KiB
Markdown

# Reuse Matrix
**Historical status:** Phase 0A matrix. Some ratings were corrected by Phase 0B; use the v1 technical design and ADRs for current decisions.
**Date:** 2026-09-01
Legend:
- **KEEP** — candidate implementation is close to target.
- **MODIFY** — strong implementation but needs adaptation.
- **REFERENCE** — borrow pattern/idea; do not make it the ownership center.
- **BUILD** — target capability is substantially absent.
| Capability | AI-DnD | Open Dungeon | ai-adventure | Best current source |
|---|---|---|---|---|
| Browser storyteller UI | **MODIFY/KEEP** | **KEEP** | BUILD | Open Dungeon |
| Ollama text adapter | **KEEP** | **KEEP** | MODIFY | AI-DnD/Open Dungeon |
| SQLite local persistence | **KEEP** | MODIFY | **KEEP** | AI-DnD / ai-adventure |
| Immutable turn parentage | **KEEP** | BUILD | **KEEP** | AI-DnD |
| Alternate takes | **KEEP** | BUILD | MODIFY | AI-DnD |
| Named checkpoints | MODIFY | BUILD | **KEEP** | ai-adventure |
| Branch restore | **KEEP** | BUILD | **KEEP** | AI-DnD / ai-adventure |
| Complete tree export | **KEEP** | BUILD | MODIFY | AI-DnD |
| Exact prompt inspection | **KEEP** | BUILD/MODIFY | audit-oriented | AI-DnD |
| Recent-history budgeting | **KEEP** | **KEEP** | **KEEP** | AI-DnD |
| Rolling summaries | **KEEP** | **KEEP** | **KEEP** | all |
| Semantic old-story retrieval | **KEEP/MODIFY** | BUILD | BUILD/MODIFY | AI-DnD |
| Lexical local lore | MODIFY | BUILD | **KEEP** | ai-adventure |
| Lore/story cards | **KEEP/MODIFY** | BUILD | MODIFY | AI-DnD |
| Canon/Reference/Inspiration authority tiers | BUILD | BUILD | MODIFY | Chronicler/IFF concepts |
| Generic narrative state | MODIFY | BUILD | MODIFY | ai-adventure pattern |
| Model-proposes/app-validates | **KEEP but RPG-shaped** | BUILD | **KEEP** | ai-adventure |
| Atomic state + turn commit | VERIFY | VERIFY | **KEEP** | ai-adventure |
| Local-only privacy posture | MODIFY | MODIFY | **KEEP** | ai-adventure |
| Local image generation | BUILD | **KEEP** | BUILD | Open Dungeon |
| Provider-neutral media | BUILD | MODIFY | BUILD | Gamentic reference |
| Scene/visual continuity | BUILD | **KEEP/MODIFY** | BUILD | Open Dungeon |
| Large automated test base | **KEEP** | BUILD/VERIFY | **KEEP/VERIFY** | AI-DnD |
| Genre-neutral core | MODIFY | **MODIFY/KEEP** | MODIFY | IFF/story-state concepts |
## Cross-project architecture we should aim for
Use one primary fork, not a stitched codebase.
Preferred composition of ideas:
```text
AI-DnD production base
+ ai-adventure trust/commit/privacy rules
+ Open Dungeon scene/media UX
+ Chronicler memory-authority tiers
+ IFF Story Bible authority/validation
+ Gamentic media-provider abstraction
```
If AI-DnD strip-down proves too invasive, invert the first line:
```text
Open Dungeon production base
+ new AI-DnD-style immutable story tree
+ ai-adventure event/commit discipline
+ local memory/document retrieval
```
That fallback is viable, but static analysis suggests it recreates more hard correctness work.