Files
self/specs
Justin Hernandez d5001eef8d Add RN SDK test app harness and update spec validation scope (#1798)
* fill gps

* pr feedback

* add easy demo install script, sort package.json files

* get app running

* fix ios running

* rename app

* fix pipeline issues

* pr feedback

* fix pipelines

* fix

* update
2026-03-02 19:52:23 -08:00
..

Self SDK — Spec System

Table of contents for the spec folder. Start here.

What This Is

A three-tier spec system designed for parallel AI agent execution:

  1. Project Overview — architecture, contracts, cross-workstream dependencies
  2. Workstream Overviews — orientation for each person/scope (what you own, context, status)
  3. Implementation Specs — exact code changes, I/O examples, token-budgeted chunks

Specs double as AI agent prompts. Written in second person, sized for single context windows, with validation commands after every chunk.

Meta-Framework

File Purpose When to Read
SPEC-GUIDE.md How to write specs (generic, portable to any project) Before writing or reviewing any spec
TEMPLATES.md Copy-paste templates for all three tiers When creating a new spec
PROJECT-RULES.md Project-specific rules and guardrails Before starting any implementation work

Project-Level Specs

File Purpose When to Read
SDK-OVERVIEW.md Architecture, bridge protocol, module table, decision matrix, glossary First. Always.
WAVE-PLAN.md Dependency-ordered execution plan for parallel agent work When planning which chunks to execute next
KMP-STATUS.md At-a-glance SDK completion percentages (web + KMP) When you need quick status only

Workstream Specs

Each workstream has two files: OVERVIEW.md (stable orientation) and SPEC.md (living implementation details).

Workstream Overview Implementation Spec Status
Person 1 — WebView UI + Bridge OVERVIEW SPEC 28/29 done, 1 pending (dynamic proving config)
Person 2 — Native Shells (KMP + Swift) OVERVIEW SPEC 27/28 done, 1 pending (KMP test app validation)
Person 3 — Integrations OVERVIEW MiniPay Spec 26/26 done
Person 4 — SDK Core OVERVIEW SPEC 23/25 done, 2 pending (adapter dedup, crypto)
Person 5 — RN SDK OVERVIEW SPEC 21/23 done, 2 pending (wallet integration, npm)

Reading Order

New to the project?

  1. This README
  2. SDK-OVERVIEW.md — understand the architecture
  3. Your workstream's OVERVIEW.md — understand what you own
  4. Your workstream's SPEC.md — understand what to build

Starting a work session?

  1. WAVE-PLAN.md — find the next available chunk
  2. Your workstream's SPEC.md — read the chunk, check status
  3. PROJECT-RULES.md — refresh on guardrails

Writing a new spec?

  1. SPEC-GUIDE.md — how to write specs
  2. TEMPLATES.md — copy-paste the right template
  3. PROJECT-RULES.md — project-specific constraints