docs(spec): 0gkit essentials roadmap — 12 SPs across 4 phases - #2
Merged
Conversation
…fault 0G starting point Phase 1 (front door): create-0g-app + 0g dev local stack — symbiotic CRA moment. Phase 2 (foundation): 0gkit-wallet, 0gkit-contracts, 0gkit-testing — kill raw privateKey, hand-written ABIs, untestable apps. Phase 3 (second-day wins): indexer, cost estimator/dry-run, full template set (chat/storage/ai-agent/tee-api/nft-with-storage). Phase 4 (moat): error taxonomy w/ docs URLs, durable jobs, OTel, CI/CD templates + community polish. Each sub-project lists Goal · Why this matters · Package · Public surface · Depends on · Success criteria · Value shipped. Strict sequential execution within and across phases (SP1+SP2 co-ship; SP9 can run in parallel with SP6-8). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
DECISIONS.md (new) — locks D1-D10: D5 create-0g-app (primary) + create-0gkit-app (shim) D6 filesystem CAS for 0g dev storage mock D7 RSC-first wallet (Next.js 16 default) D8 memory-default jobs backend; sqlite for prod D9 flat SCREAMING_SNAKE error codes D10 no mainnet timing dependency SP2 plan (0g dev local stack) — 15 TDD-shaped tasks: package bootstrap, anvil detect+spawn, HD accounts, storage/compute/DA mocks (Node http + fs CAS + OAI shape + sha256 digest), state file, orchestrator, `local` network preset, `0g dev` CLI (start/stop/status/ reset/fund), conformance test (real StorageClient vs mock = same shape), CI anvil install, docs + changeset. SP1 plan (create-0g-app) — 13 TDD-shaped tasks: package bootstrap with tsup banner shebang, template catalogue + giget fetcher (pinned ref), pm detection from npm_config_user_agent, .env writer per network, git init helper, ANSI helper + next-step banner, clack interactive prompts w/ name validation (rejects ../ etc.), full run() orchestrator, e2e smoke, create-0gkit-app shim, CI smoke job, docs + README + changeset. Both ship together as Phase 1. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Phase ordering (strict): SP1+SP2 co-ship → SP3–5 foundation → SP6–8 second-day wins → SP9–12 moat → cut 1.0.0. SP9 (error taxonomy) is the only one allowed to run in parallel with another phase.
Every SP carries an explicit Value Shipped line; every plan task has exact files, failing-test-first code, expected command output, and a commit message.
Test plan
🤖 Generated with Claude Code