Authoritative artefacts your repository explainable resolution

Resolve authority before you compose.

A CLI runtime that deterministically resolves the authoritative artefacts of a design system — built for AI clients, not powered by AI.

Why resolution exists

AI can already read your repository. It can't tell what's authoritative.

An AI agent can already find every file with "button" in the name. What it can't do is tell which one is the real Button, which doc is current, or which component was deprecated last quarter.

That authority used to live only in the people who built the system. When project understanding lives in memory instead of the repository, every request guesses instead of resolving.

Resolve Instead of Guess

Without ds-runtime

Search
Search
Search
Pick one

Every request searches and guesses.

With ds-runtime

Search
Authoritative Match
Trust

Every request resolves to what's authoritative.

Read the concept paper →
Plan → Resolve → Compose

Planning and composition happen outside the runtime.

Engineer or AI agent Plan
ds-runtime Resolve
AI agent Compose

ds-runtime owns exactly one stage.

How resolution works

Deterministic steps. No guessing.

Discovery
Every artefact in the repository is catalogued.
Resolution
Candidates are narrowed to the one authoritative match.
Verification
Relationships between artefacts are checked, not assumed.
Explanation
The reasoning behind a match is exposed on request.
Failure
When nothing is authoritative, the runtime says so instead of guessing.
Proof

ds-runtime doesn't replace your design system. It becomes the map to it.

ds-runtime resolve Button
✓ authoritative
ds-runtime resolve Card
✓ authoritative
ds-runtime resolve Badge
✗ no authoritative artefact found

Actual output shape from ds-runtime. No embeddings, no semantic guessing — refusing to invent a component is a feature, not a failure.

Quick start

Install once, then resolve your first component.

# install once
npm install -D ds-runtime

# run from your design system
npx ds-runtime resolve Button
✓ authoritative

npx ds-runtime explain Button
npx ds-runtime doctor

resolve returns the authoritative implementation, tokens, stories, docs, and tests. explain shows why.

Once you've validated the CLI path, connect a compatible agent with ds-runtime mcp --root .

Product boundaries

ds-runtime resolves authority so humans and AI build from the same repository.

Like a compiler resolving symbols or a linker resolving references, ds-runtime makes an engineering constraint explicit — authoritative resolution — so agents stop guessing which artefact to trust.

Resolves

  • Authoritative artefacts
  • Provenance and reasoning
  • Repository validation

Does not

  • Generate code
  • Plan interfaces
  • Compose interfaces
  • Infer intent
  • Guess
Status

Pre-1.0. CLI-first. MCP support experimental. Not yet on public npm.
Proving the contract holds matters more than expanding what the tool does.