Story: AI-First Holochain App Development Kit #5
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Story: AI-First Holochain App Development Kit
Goal
Create a Holochain AI Instruction Layer so that:
This story exists to remove Holochain friction for AI and make development as productive as NEAR.
Core Idea
We do not ask the AI to “figure out Holochain”.
Instead, we:
The repo becomes an AI scaffold, not just a codebase.
Requirements
1. AI Instruction File (Mandatory)
File:
AI_INSTRUCTIONS.mdThis file is written for an AI, not for humans.
It must include:
Mental model of Holochain in <1 page
Clear mapping:
Explicit do / don’t rules
Canonical patterns (copy-pasteable)
The AI must never guess structure.
2. Curated Holochain Knowledge (Local)
Directory:
docs/holochain/Requirements:
Extract only what is needed to build apps:
No links to random blog posts
No deep theory
Prefer short excerpts over full docs
Goal: zero web browsing required by the AI.
3. Golden App Template (Reference)
Directory:
examples/golden_app/Must include:
This is the ground truth the AI imitates.
4. Prompt-Driven App Generation
We define canonical prompts that must work.
Example prompt:
Requirements
AI must know:
No manual restructuring afterward
5. Explicit Best Practices (Hard Rules)
The AI instructions must enforce:
Violations = failure.
6. AI-Friendly Error Strategy
Requirements:
Validation errors must be:
This is critical for AI iteration.
7. Automation & Scripts
The repo must expose one obvious path:
AI must be able to reason about:
Success Criteria
This story is done when:
An AI agent can:
The generated app:
Explicit Comparison Goal (Hidden but Intentional)
This setup allows a fair comparison:
Still working on the plan, however as demonstrated by #4, Claude Opus does not have a lot of friction to implement a (basic) holochain app when running in planning mode then moving to coding. There it was only mentioned to use the system holochain binaries (so don't use nix), which could potentially be a source of friction. Afterwards development appeared to be smooth, with some minor hold ups when it needed to verify and correct library call signatures