Trellis
SIDRE LABS  ·  OPEN SOURCE · DEV TOOLING

Trellis.

A repo standard for governable vibe coding.

An agent-independent repository standard that keeps AI-generated software understandable, testable and maintainable as it grows — it brings memory, decisions, boundaries and evidence into your repo, so AI-assisted projects can grow without losing control.

Apache-2.0 · @sidrelabs/trellis Claude Code · Codex · Copilot · Cursor · Windsurf · Gemini
01  /  What it is

Generating code is easy. Keeping it under control is not.

Spec-driven tools tell an agent what to build. Trellis preserves why it was built that way, how each piece is verified, how much it may grow, and when it must be reconsidered.

01

Capability contracts

Every meaningful behaviour has a machine-checkable input/output contract with real examples — executable specs, not prose.

Contracts
02

Evidence graph

Source → Decision → Capability. Every claim traces back to the source and the ADR that justify it, validated in CI.

Evidence
03

Capability budgets

Technical and semantic limits — files, lines, dependencies, responsibilities — enforced, so the codebase can’t quietly sprawl.

Budgets
04

Model policy

Declare which models may author code. A degraded fallback model is caught and blocked before it can merge.

New
02  /  Trelliscope · the viewer

Trellis keeps the why. Trelliscope lets you see it.

A companion tool that draws your repository’s evidence graph as one self-contained page. One command, no server, opens offline.

The standard

Trellis

The rules you adopt in your repo — contracts, decisions, budgets, evidence. Runs in CI.

The viewer

Trelliscope

An optional tool that turns that same evidence into a graph you can explore. It only reads; it never changes your code.

Hover

any node to trace its links — everything else dims.

Click

to inspect a node: its claim, source and the decisions that govern it.

Offline

one self-contained HTML file — no server, no network, no telemetry.

$ npx @sidrelabs/trelliscope → trelliscope.html · open in any browser trelliscope repo
03  /  Get started

Three ways in. Same governed result.

Zero-touch · ⭐

One prompt

Paste a single line into your agent — no files, no wizard:

Fetch https://raw.githubusercontent.com/e-onux/trellis/main/INSTALL.md and follow it.
Agent-native

One curl

Drop the bootstrap manifesto in and let the agent scaffold:

curl -o TRELLIS.md https://raw.githubusercontent.com/e-onux/trellis/main/TRELLIS.md
CI-friendly

The CLI

Deterministic scaffold and audit for pipelines:

npx @sidrelabs/trellis init --preset standard