Skip to content

docs(DX-2): ADOPTING.md — the 12-step adoption journey#27

Merged
ryandmonk merged 1 commit into
mainfrom
docs/dx2-adoption-guide
Jul 22, 2026
Merged

docs(DX-2): ADOPTING.md — the 12-step adoption journey#27
ryandmonk merged 1 commit into
mainfrom
docs/dx2-adoption-guide

Conversation

@ryandmonk

Copy link
Copy Markdown
Contributor

DX-2 (The Adoption Guide) — main deliverable, per the accepted RFC (§2, §6 DX-2).

  • ADOPTING.md: the complete journey "I have an existing design system → locally validated dspack contract", 12 steps in three phases, every step labeled 🤖 Automated / 👀 Human review of machine output / ⚖️ Explicit design decision — with no unlabeled gaps.
  • Worked example: the shadcn contract's own git history (c918aa644f02e2805732c "the pattern's prose becomes law" → f405fce) illustrates governance authoring as prose-first, law-second.
  • Scope honesty: documents the current mechanics only — validate via a dspack checkout's examples/ dir (standalone validate --file flagged as a known roadmap gap), snapshot overwrite semantics ("commit, then enrich; don't regenerate over enrichments"), emit-profile authoring deferred to dspack-emit's guide. No dspack-export behavior changes, no bootstrap-boundary changes (DX-3 territory).
  • Verified by execution (RFC verification protocol): the guide was walked end to end from clean checkouts — fresh export snapshot → v0.4 relabel → governance authored per the guide → npm run validate green in a fresh dspack clone → served by published ds-mcp (whenToUse queryable) → dspack-gen context compiled (example appears in fewshot) → dspack-gen lint on a violating surface exits 2 with the authored rule's rationale verbatim. Three clarifications the walkthrough surfaced (output filename source, per-block id conventions, minimal example skeleton) are folded into the guide.

Companion PRs: emit-profile guide in dspack-emit; one-line README link-ins in ds-mcp / dspack-gen / dspack-export.

🤖 Generated with Claude Code

…beled

The complete path from an existing code design system to a locally
validated contract, with each step labeled Automated / Human review /
Design decision, the shadcn contract's git history as the worked example
for governance authoring (prose first, law second), and honest notes on
current mechanics (validate-in-a-checkout, snapshot overwrite semantics).
Verified by executing the guide end to end from clean checkouts; the
clarifications that run surfaced (output naming, id conventions, the
minimal example skeleton) are folded in. README links the guide from the
charter block.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 22, 2026 18:57

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new end-to-end adoption guide for taking an existing design system to a locally validated dspack contract, and links that guide from the main README to improve discoverability.

Changes:

  • Introduces ADOPTING.md describing a 12-step, three-phase adoption journey (snapshot → governance → validate/use) with worked examples and command walkthroughs.
  • Adds a prominent README pointer to the new adoption guide.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
README.md Adds a direct link to the new adoption guide for existing design systems.
ADOPTING.md New comprehensive adoption guide documenting snapshot extraction, governance authoring, validation, and downstream usage.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread ADOPTING.md
Comment on lines +28 to +32
| # | Step | Mode |
|---|------|------|
| 1 | [Extract a snapshot from your codebase](#step-1--extract-a-snapshot) | 🤖 Automated |
| 2 | [Set the version to the current spec](#step-2--set-the-version) | 🤖 Automated |
| 3 | [Review the snapshot against reality](#step-3--review-the-snapshot) | 👀 Human review |
@ryandmonk
ryandmonk merged commit 0f57de2 into main Jul 22, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants