Add onboarding guides, interactive explorer, and spec template - #677
Open
chongkan wants to merge 10 commits into
Open
Add onboarding guides, interactive explorer, and spec template#677chongkan wants to merge 10 commits into
chongkan wants to merge 10 commits into
Conversation
chongkan
requested review from
KDean-Dolphin,
MizukiSonoko,
Steffytan,
adam-burns,
ajile-in,
apuchitnis,
gatemezing,
genaris,
msporny,
ottomorac,
rajivrajani,
stenreijers,
swcurran and
wip-abramson
as code owners
March 13, 2026 12:09
Implements all 5 suggestions from w3c#676: 1. ONBOARDING.md — step-by-step "New Method Author Guide" mapping the full journey from DID Core to registration, clarifying what each ecosystem resource provides (catalog vs evaluation vs conformance vs standardization) 2. REPO-MAP.md — comprehensive map of 40+ repositories across W3C, W3C-CCG, and DIF with supersession chains and current status 3. NAMING.md — descriptive method naming convention to improve developer clarity and reduce IP/trademark conflicts 4. data/cross-references.json — structured links between W3C requirements, rubric criteria, test suite sections, and registry directories 5. README.md — updated with clearer language distinguishing registration from evaluation/conformance/standardization, repository structure table, and links to all new resources Signed-off-by: Eduardo Chongkan <e.chongkan@gmail.com>
Interactive HTML dashboard (explorer.html):
- Registry tab: browse methods with requirements coverage, search/filter
- Self-Assessment tab: 4-step guided form
Step 1: Select use case (18 W3C use cases by category)
Step 2: Mark 22 requirements as covered/partial/uncovered with
explanations — live overlap detection against existing methods
Step 3: Method info with naming convention check and collision detection
Step 4: Review + generate JSON for PR submission
- Requirements Matrix tab: cross-reference coverage across methods
- Real-time overlap alerts suggest contributing to existing methods
or extending them via CODEX composability pattern
Data files (all name-based IDs, no sequential numbering):
- data/use-cases.json: 18 use cases with categories, actors, tags
- data/requirements.json: 22 requirements with tiers, questions
- data/method-template.json: blank template for new submissions
- data/examples/web.json: did:web fully assessed (reference example)
CI validation (tooling/validate-extended.js):
- Validates extended fields when present (non-breaking for existing)
- Name collision detection with auto-suffix suggestion
- Branded name warning (heuristic)
- Category, use case ID, requirement status validation
- Overlap detection against other methods with extended data
- Core requirement gap warnings
Addresses w3c#676 suggestions 1-5.
Signed-off-by: Eduardo Chongkan <e.chongkan@gmail.com>
specs/TEMPLATE.md — standardized 14-section spec template:
8 required (abstract, use case, syntax, DID doc, CRUD, security,
privacy, references) + 3 recommended (trust model, interop,
rationale) + 3 optional (metadata, implementation, W3C coverage)
specs/README.md — template documentation with:
- Top 10 best-documented methods as reference examples
(did:sns, did:web, did:webvh, did:key, did:peer, did:dht,
did:ethr, did:ion, did:pkh, did:jwk)
- Directory structure guide (single-file vs multi-section)
- Markdown vs HTML/ReSpec comparison table
ONBOARDING.md — updated Step 4 and Step 8:
- Step 4: specs must be Markdown, hosted in specs/<method>/
- Step 8: use the Self-Assessment Form to generate JSON,
PR must include both methods/*.json and specs/<method>/spec.md
- specification field points to in-repo Markdown file
- Added spec template and best-documented methods to resources
Signed-off-by: Eduardo Chongkan <e.chongkan@gmail.com>
- Catalogue tab is now default (first tab), Ecosystem second - L3 renamed from "Accepted" to "Under Review" (PR review state) - Maturity filter uses exact match instead of >= threshold - Default catalogue sort: top 5 by stars, rest by reqPct then stage - Stat cards toggle on/off with highlight + "Clear" button for filters - Requirements Matrix: grade column (A+/A/B/C/D/F) + gaps column - Matrix method headers: click name for detail, click header to sort - Ecosystem gap analysis: underserved use cases, weak requirements, regional coverage, stage distribution, opportunity heatmap matrix - Use cases data: added audience arrays for filtering Signed-off-by: Eduardo Chongkan <e.chongkan@gmail.com>
- Add schema-did-method.jsonld: 6 methods (web, webvh, key, sns, ethr, peer) typed as schema:SoftwareApplication with CRUD as schema:Action subtypes, anchor instruments, extends/calls composition relationships - Add schema-taxonomy-comparison.md: side-by-side vs Hernan's Clusters model - Fix opportunity matrix: counts now scoped to relevant methods (≥50% use case coverage) instead of all L1+ methods globally. Empty cells for non-required requirements. Added Relevant + Gaps summary columns. Signed-off-by: Eduardo Chongkan <e.chongkan@gmail.com>
Signed-off-by: Eduardo Chongkan <e.chongkan@gmail.com>
Signed-off-by: Eduardo Chongkan <e.chongkan@gmail.com>
reqTechs R-keys in methods-registry.json use a different numbering than requirements.json (e.g., registry R15 = "Post-quantum" but requirements.json R15 = "Service Endpoint Support"). Fix by: - Show req.description from requirements.json as primary text - Remove approach/techs display from reqTechs (unreliable keys) - Remove partial (P) indicator from global matrix (same issue) - Show clear "Gap: not covered" for unmet requirements Signed-off-by: Eduardo Chongkan <e.chongkan@gmail.com>
- Overlap section: one row per shared requirement with methods comma-separated - Removed "You add" language from overlap cards - Review tab overlap: single-line comma-separated method list - Use case gaps: replaced noisy "188 partial" with best partial coverage % Signed-off-by: Eduardo Chongkan <e.chongkan@gmail.com>
chongkan
force-pushed
the
onboarding-guide
branch
from
March 14, 2026 06:09
01efd23 to
a8b14f3
Compare
Persists all form state (use case, assessments, inputs, spec links, current step) to localStorage. Restore button with saved date appears in the context bar when prior progress exists. Signed-off-by: Eduardo Chongkan <e.chongkan@gmail.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
ONBOARDING.md— 10-step journey from "I want to create a DID method" to registered + reviewed, with links to every repo, spec, and process involvedREPO-MAP.md— Ecosystem repository map across W3C, W3C-CCG, and DIF (40+ repos with status, supersession chains)specs/TEMPLATE.md— Standardized 14-section Markdown template for method specifications (8 required, 3 recommended, 3 optional)specs/README.md— Top 10 best-documented methods as reference examples, why Markdown over HTML/ReSpecexplorer.html— Interactive single-file tool with 4 tabs: Catalogue (225 methods, filters, sorting), Ecosystem (gap analysis, maturity ladder, opportunity heatmap), Self-Assessment (4-step wizard with overlap detection), Requirements Matrix (grades, gaps)data/— Structured JSON:methods-registry.json(225 methods),use-cases.json(18 use cases),requirements.json(22 requirements with tiers)Live Preview
https://chongkan.github.io/did-extensions/explorer.html
Motivation
Addresses #676 — new method authors face fragmented documentation across 40+ repos and frequently mistake registration for certification. These guides consolidate the ecosystem into a clear path and the explorer makes the catalogue actionable.
Then for the Ecosystem Tab, the motivation is to help contributors, existing method maintainers and new comers, get an idea of what has already been build, how they built it, te be able to map the spec and requirements to the technologies and architectures used yo resolve those by others.
This is Use Case coverage stats by All the Methods

Requirements Coverage, again across all methods
For Self Assessment, the form helps with properly mapping the new Did Method to existing paths, OR, allows to add a new use case, This is important in order to have future methods included in the stats, without having to manually adapt the basic legacy json and manually extract its data IF it contain any data. -- Some methods in the registry currently barely have information on the spec .
The form helps with assessing the requirements, maps and with providing pertaining information needed for the rest of the community to understand what the other methods do, how they do it etc.
The Overlap detection is for identifying other methods that cover specific requirements, both for evaluating possible reusability or for checking out how they do it.
Finally, for existing methods. it helps them identify gaps and areas of improvement.
I think it also helos the Working Group identify those gaps as well for the entire catalogue. e.g. identify what use cases are lacking coverage or effort and which are over covered etc.
Test plan
explorer.htmlloads and all 4 tabs render correctlytooling/validate-extended.jspasses on all data files