Integrate koni-docs standard#5000
Open
saltict wants to merge 29 commits into
Open
Conversation
Brainstorming output for ai-development branch. Covers scope decomposition (1 of 3 sub-tasks), file inventory, content shape, execution workflow, risks, and out-of-scope items deferred to sub-task 2 (docs content) and sub-task 3 (issue migration).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Author
|
🚀 Deployed on https://pr-5000--sw-web-runner.netlify.app |
Adapted from multica-ai/andrej-karpathy-skills CLAUDE.md. Adds 4 rules (Think Before Coding, Simplicity First, Surgical Changes, Goal-Driven Execution) at the top so AI agents see them before project-specific context. Existing sections renumbered 1-10 -> 2-11; no content changes.
… and remove logo image
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
WAVE 4/5 subgraphs reused ids W4/W5 as node ids, breaking the Mermaid render. Rename the nodes to W4N/W5N and update the wave classDef list. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Phase 3 header read "Bitcoin, Cardano, Multi-chain Ecosystem" but its entries (D26-D30) are all swap/XCM scope decisions: cancel dynamic swap pairs, cancel 1inch, stay on ParaSpell, migrate ParaSpell v1, remove the Crowdloans tab. Retitle to "Swap/XCM Consolidation & Feature Pruning" so the phase name matches the decisions it groups. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Phase 2 header said "Earning, Swap, and Multi-chain Expansion" but it has no swap decision (those are Phase 3) and omitted D21 Texterify (i18n) and D22 Meld (fiat on-ramp). Retitle to "Earning Rebrand, XCM Bridge, i18n & Fiat Tooling" so the name covers D20-D25. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Intake-B only flagged explicitly-worded decisions, so major integrations (BTC, TON, Cardano, Bittensor, proxy, multisig) had 0 CONTEXT entries despite being large feature areas — while trivial items like the Crowdloans removal were captured. Per the koni-docs definition (an architecture or scope decision / "why we picked X over Y"), mined the real architecture/scope decisions for those areas from issues/PRs/ comments and merged them with the existing 30. Result: 30 -> 59 decisions, renumbered D1-D59 chronologically, re-bucketed into 5 phases with content-accurate titles. New-decision versions resolved from the CHANGELOG issue->version map. All bodies preserved verbatim. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The AD table only had infra decisions (storage, ChainService, MV3, keyring, monorepo, XCM toggle, fork). The major chain integrations (Bitcoin, TON, Cardano, Bittensor) and account models (unified, proxy, multisig) had no AD entry despite being core architecture — the same gap just fixed in CONTEXT. Add AD-11..AD-19, each cross-referencing the CONTEXT decision(s) and source issues. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…eparators The decision-mining agents had emitted area group headers (## TON, ## Multisig Decisions) inside their files; the merge swept them into the output, and every phase boundary carried a doubled --- (decision trailer + phase leader). Strip the stray ## headers (keeping only ## Phase) and collapse adjacent --- separators. Decision bodies and D1-D59 unchanged. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
8-section brief from vision-and-strategy + product-history. Persona uses the 4 positioning-inferred personas (marked pending product validation); Success Criteria marked pending product input (no KPIs in source corpus). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Functional + Non-Functional Requirements tables and the Epics & User Stories index (one epic per approved taxonomy area, EPIC-1..EPIC-19). FRs resolved shipped-vs-planned per spec resolution rule (79 shipped / 11 planned). Epic story rows left for Stream B. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…gap) G1 re-review surfaced 24 history entries under provisional area `token-management` (ERC-20/PSP-22 import, enable/disable, display order) with no FR owner. Folded into chain-management per the split-by-service rule (AssetRegistry lives in ChainService) and added FR-91 (shipped) to the chain-management epic (EPIC-4). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Recovered six shipped decisions under-represented in the issue-derived history (landed as backend/proxy work): D60 backend fee-params + FeeService, D61 non-native fee via assetConversion on Asset Hub, D62 Coinbase secure-init, D63 KyberSwap slippage/Degen adaptation, D64 XCM source/delivery fee model, D65 WalletConnect Connection (pair+session) model. All cross-checked to real GitHub issues. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…s code) Adds a "Runtime lifecycle & service coordination" subsection (4-state MV3 lifecycle, heartbeat, EventService wait-promises/lazy-batch, 3-service transaction subsystem) and AD-20 (MV3 lifecycle), AD-21 (per-ecosystem RequestService handlers), AD-22 (EarningService pool-handler tree), AD-23 (web-runner-cron static-data caching). Every symbol cross-checked against packages/extension-base + extension-koni source. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
MV3 RAM-vs-responsiveness cost (35), Chrome permission-increase auto-disable (36), WalletConnect dashboard registration (37), WASM/native-lib mobile web-runner gating via Cardano break (38), static-content publish param validation (39), chain-connector (Dedot) parallel-stack + per-chain gating (40). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…ports Section 7: SubWallet-ChainList (Vite+Nx build migration, version/patch release flow, required Strapi fields), Static-Content publish discipline, web-runner update checklist, i18n text→key pipeline, and subwallet:// QA deep links. Reference renumbered to §8. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…a ranking - Success Criteria: add public traction metrics (live Chrome Web Store figures as of 2026-06, v1.3.80) as point-in-time proxies, plus candidate KPI directions; keep "internal KPIs pending product input" - Who This Serves: correct Primary/Secondary to co-primary — Polkadot persona is the anchor by public branding, multi-chain DeFi is the growth direction (verified against Chrome Web Store listing title) - Scope: note the 200+ vs 150+ networks count discrepancy across SubWallet's own pages Co-Authored-By: Claude Opus 4.8 (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
koni-docsskill fromKoniverse/Koni-Skillsinto the monorepo (skills-lock.json+.agents/skills/koni-docs/).AGENTS.md(canonical AI agent guide — single source of truth for Cursor / Gemini / Codex CLI / Claude Code).CLAUDE.md(thin pointer to AGENTS.md + Koni-Docs Integration YAML block + Active Context).VERSIONfile (1.3.79, synced with rootpackage.json)..active-context.example.md(per-developer Pattern B template); gitignore.active-context.md.This is sub-task 1 of 3 on the
ai-developmentumbrella. Out of scope (separate PRs to follow):docs/content (BRIEF / PRD / ARCHITECTURE / CONTEXT / LESSONS / SETUP / sprints / CHANGELOG).Spec & plan
docs/superpowers/specs/2026-06-02-koni-docs-integration-design.mddocs/superpowers/plans/2026-06-02-koni-docs-integration-sub-task-1.mdTest plan
npx skills experimental_installreproduces.agents/skills/koni-docs/fromskills-lock.json(round-trip MATCH, byte-for-byte identical).active-context.mdis gitignored (git check-ignoreconfirms rule at.gitignore:49)<MONOREPO_TABLE_ROWS>,<TODO>,XXX-FIXME,fill in→ no matches)yarn install --immutablesucceeds (~10 s, lockfile unchanged)yarn koni-dev-build-ts(TypeScript build) succeeds## Koni-Docs Integrationblock parses as valid YAML with expected fields (plugins: [],docs_path: docs/,active_sprint: <TBD-after-sub-task-2>,version_file: VERSION)package.json(fixed in commit76ff80b6f0— original draft had 4 fabricatedwebpack:*aliases; replaced with real script namesbuild:ui,watch-dev,webapp:dev,webapp:build, plus 2 newweb-runnerrows)Known deferred items
docs/CHANGELOG.md.packages/*use version1.3.79-1(with-1monorepo internal suffix);VERSIONuses1.3.79(root). Reconciliation deferred to sub-task 2.active_sprint:inCLAUDE.mdis<TBD-after-sub-task-2>— no active sprint until sub-task 2 starts one.yarn run lintOOMs locally on the implementing machine due to a pre-existing heap limit; this is unrelated to this PR (CI is expected to run lint successfully).Brainstorming + plan trail
Implementation followed the Superpowers brainstorming → writing-plans → subagent-driven-development flow. Spec + plan files are committed in
docs/superpowers/. Every task went through two-stage review (spec compliance → code quality) before its commit was accepted. The only review iteration was Task 6 → fix commit76ff80b6f0(Section 4 fabricated commands).🤖 Generated with Claude Code