Future: Define input adapter architecture
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 5
- Forks
- 1
- Avg merge
- 1h 3m
- Merged PRs (30d)
- 3
Description
Context
Arnis is useful as an example of a clean data-to-world pipeline. The relevant lesson for CraftDAG is not to copy OSM generation, but to make input sources modular.
Idea
Define a future adapter architecture where different inputs can eventually produce CraftDAG documents or VoxelPlans:
Prompt / template config → CraftDAG
Existing .schem → VoxelPlan
Future sketch/image input → CraftDAG or VoxelPlan
Future structure library → CraftDAG templates
Design principle
CraftDAG core should remain deterministic and small. Input adapters should live around the core and should not pollute schema/compiler responsibilities.
Suggested design
Possible package boundaries:
@craftdag/adapter-template@craftdag/adapter-schematic@craftdag/adapter-llm@craftdag/adapter-sketchlater
Each adapter should expose a clear output contract:
- produce
CraftDagDocument, or - produce
VoxelPlandirectly when semantic recovery is unavailable
Non-goals
- Do not add OSM/geographic generation now.
- Do not make adapter architecture block the current MinePilot MVP.
- Do not let adapters bypass validation when producing CraftDAG.
Acceptance criteria for a design doc
- A short
docs/ADAPTERS.mdexists. - It explains input adapter boundaries.
- It explains when an adapter should output CraftDAG vs VoxelPlan.
- It lists first candidate adapter: schematic-to-VoxelPlan.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the issue's proposed adapter boundaries and the repository's CraftDAG and VoxelPlan pipeline. Create docs/ADAPTERS.md covering adapter boundaries, when to output CraftDAG versus VoxelPlan, and the schematic-to-VoxelPlan adapter as the first candidate. Done means all three topics are documented without adding OSM generation or blocking the MinePilot MVP.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- compilers, documentation
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100