Sheet 1 of 9. Overview

Docs reimagined
for AI-native teams. Written for agents, readable by humans.

Truss keeps your docs as typed markdown in the repo. Agents read them before they edit, and record what they decide.

For small teams of product builders.

Set up truss/ in this repo. Spec: github.com/TrussMD/truss

Paste into Claude Code. The spec is public, so this works today.

npx truss.md init

On npm today. Adds truss.md and a truss/ folder.

  • Spec 0.1 is public: CC BY 4.0 and Apache-2.0.
  • truss init is on npm.
  • Checks, agent plugin and CI: early access.
An 8-panel Pratt truss carrying fourteen changes Eighteen docs sit on the joints: PRDs and decisions on the top chord, research and support on the bottom. Fourteen change arrows land on the top chord. Select a change to light the docs it carries. CHG-0139Roles v2 migration CHG-0140 CHG-0142Invite links CHG-0141 CHG-0143 CHG-0146Audit export API CHG-0144 CHG-0145 CHG-0147 CHG-0148 CHG-0149 CHG-0150 CHG-0151SSO enforcement CHG-0152

CHG-0142 · Invite teammates by link — carries 6 docs

PRD-0142Team invites by linkDEC-0036Invite links expire in 7 daysDEC-0034Invites are single-use per personRES-0107Invite friction: 9 interviewsSUP-2291Invite link says expired, I just sent itSUP-2304Contractor can't join before Monday

Tab into the drawing←→ stepEnter toggles a change or pins a docEsc clear

Doc cardHover or focus a nodeTap a node or chip

DEC-0036Decisionaccepted

Invite links expire in 7 days

truss/decisions/DEC-0036-invite-links-7d.md

  • PRD
  • Decision
  • Research
  • Support

Compression (magenta): decisions and PRDs hold the shape.

Tension (cyan): research and support pull it toward what's true.

Arrow: a change landing on the repo.

Illustrative · sample repo acme/app

How it holds together: every change carries its why.
Fig. 1Truss · Rev CScale1:1Zones—Supportmain
Sheet 2 of 9. The gap

Context next to the code, not spread across five tools.

Your wiki and tracker can be wired to your agent now. That is still five connections, five schemas and five subscriptions, and the agent only knows what it thought to fetch. Truss docs are files in the repo: read with the code, no tool call, nothing extra to pay for.

Five tools, five connections.Plain files, read with the code.

An idea

Invite teammates by link

@priya, product

IDEA-0012open

Invite teammates by link

One link, no email needed

truss/ideas/IDEA-0012-invite-by-link.md

A problem

Links die over weekends

9 admin interviews

PROB-0007open

Links die over weekends

Batch invites on Fridays

truss/problems/PROB-0007-weekend-expiry.md

A bug

“Invite link expired”

11 tickets, first seen Sep 2

BUG-0031open

Invite link expired

11 tickets, first seen Sep 2

truss/bugs/BUG-0031-invite-link-expired.md

acme/app · feat/invite-links

feat: invite links (#318)

Fixes invites.

Carries 6 docs

Docs 06

trackerENG-2291

Fix invites

No description.

CHG-0142this change

Invite teammates by link

truss/changes/CHG-0142-invite-links.md

wikilast edited Mar 4

Invites v2 spec

TODO: expiry?

PRD-0142approved

Team invites by link

AC2: link expires after 7 days

truss/prds/PRD-0142-team-invites.md

chat · #eng-growthJul 14

@marcuswe said 72h, right?

DEC-0036accepted

Invite links expire in 7 days

supersedes DEC-0031 · 72 hours

DEC-0034accepted

Invites are single-use per person

notes0 links from code

Invite friction, 9 interviews

RES-0107published

Invite friction: 9 interviews

F3: 72h links die over the weekend

inbox · support×11

Invite link says expired, I just sent it

first seen Sep 2

SUP-2291+11 similar

“Invite link says expired, I just sent it”

SUP-2304open

“Contractor can’t join before Monday”

Five tools, nothing in the repo links them to the change.Typed links, in the repo.
Fig. 2Illustrative StateTodayWith Truss ScaleN.T.S.

What agents miss

2.1

Decisions get re-litigated.

Nothing in the repo said you chose 72 hours, so the agent picked 24.

2.2

Research goes unread.

Nine interviews in a tool the agent never thought to query.

2.3

Support knows first.

Eleven tickets say the link expired. The PR says “Fixes invites.”

Sheet 3 of 9. The spec

The spec is public. Use it today.

Draft 0.1 is on GitHub under an open licence. Write docs to it by hand, or point your agent at it. The tooling comes to early-access teams first.

The spec

Public.

Eleven doc types, a JSON Schema for each, typed links, IDs, a worked example and a conformance suite. Yours to build on.

Read spec 0.1 on GitHub

CC BY 4.0 text · Apache-2.0 schemas, example and conformance suite

The tooling

Early access.

truss check, the Claude Code plugin and checks in CI. truss init is on npm today; for the rest we’re onboarding a few AI-native teams, one call at a time.

Request access

Free for early-access teams

Either way, your docs are plain markdown in your repo. No lock-in.
Fig.3 · Terms PartsA · B SpecDraft 0.1
Sheet 4 of 9. The format

Plain markdown. Typed frontmatter. In the repo.

Every doc declares a type, and every type has a schema. Agents can trust the shape before they read the prose.

truss/prds/PRD-0142-team-invites.md markdown

truss/prds/PRD-0142-team-invites.md

---
type: prd
id: PRD-0142
title: Team invites by link
status: aproved
date: 2026-08-12
owner: "@priya"
approved_by: "@priya"
carries:
  - IDEA-0012
  - PROB-0007
  - FEAT-0012
  - DEC-0036
  - DEC-0034
---

**Goal.** Add a teammate with one link, no email needed.
**Non-goals.** Bulk import. Public join links.

## Acceptance
**AC1.** An admin generates a link scoped to a role.
**AC2.** Links expire after 7 days (was 72h, DEC-0036).
**AC3.** Revoking a link takes effect immediately.
**AC4.** Every join is audit-logged.

truss/decisions/DEC-0036-invite-links-7d.md

---
type: decision
id: DEC-0036
title: Invite links expire in 7 days
status: accepted
date: 2026-08-04
accepted_by: "@marcus"
supersedes: DEC-0031
carries:
  - RES-0107#F3
  - SUP-2291
---

## Context
72h links die over the weekend. 7 of 9 admins re-sent
an invite at least once (RES-0107 F3).

## Decision
Links expire after 7 days. Admins can revoke any link.

## Consequences
Adds revocation (PRD-0142 AC3). Supersedes DEC-0031.

truss/research/RES-0107-invite-friction.md

---
type: research
id: RES-0107
title: "Invite friction: 9 customer interviews"
status: published
date: 2026-08-19
method: interviews
---

## Method
Nine interviews with workspace admins, July to August.

## Findings
**F1.** Admins often invite before they have the email.
**F2.** Contractors need access for days, not months.
**F3.** Admins invite in batches on Fridays. 72h links die
over the weekend. 7 of 9 re-sent an invite at least once.

truss/support/SUP-2291-link-expired.md

---
type: support
id: SUP-2291
title: "Invite link says expired, I just sent it"
status: open
date: 2026-09-14
first_seen: 2026-09-02
source: intercom
count: 12
tickets:
  - intercom:2291
  - intercom:2297
---

## What customers say
> Invite link says expired, I just sent it.
> Sent Friday at 4pm. Contractor opened it Monday.

## How reports vary
- 12 tickets since 2026-09-02, most on a Monday.
- Matches RES-0107 F3. Cited by CHG-0142.

truss/changes/CHG-0142-invite-links.md

---
type: change
id: CHG-0142
title: Invite teammates by link
status: open
date: 2026-08-14
kind: add
user_facing: true
branch: feat/invite-links
pr: 318
carries:
  - PRD-0142
  - DEC-0036
  - DEC-0034
  - RES-0107
  - SUP-2291
  - SUP-2304
---

## Summary
Role-scoped invite links with a 7-day expiry, immediate
revocation and audit logging. Touches `src/invites/`.

## Release note
Invite teammates with a link that lasts 7 days.

PRD-0142status "aproved" is not one of draft | in-review | approved | shipped | dropped | superseded

Notes

Eleven types · five open in the viewer

  • problemA customer or business problem, articulated.
  • ideaA solution thought of first, before any problem.
  • bugWe intended x. The software did y.
  • prdWhat you are building, with numbered criteria for done.
  • changeThe unit of work. It carries the docs behind it.
  • featureWhat one capability does today. It owns code paths.
  • planHow a piece of work will be done, written before doing it.
  • decisionA choice and its reasons. A new one supersedes the old.
  • researchWhat you learned, in numbered findings a decision can cite.
  • interviewOne conversation with a customer, under a pseudonym.
  • supportOne topic customers keep raising, from any number of tickets.
Sheet 5 of 9. Agents

Agents read before they write. Then they write back.

Your agent pulls the docs a change carries before it edits. When code and docs disagree, it proposes a decision and patches the doc in the same PR.

agent · acme/app · feat/invite-links

connected to truss · 7 tools · acme/app

  1. truss.context({ change: "CHG-0142" })
    PRD-0142 approved AC2 still says 72h
    DEC-0031 accepted 72 hours
    DEC-0034 accepted single-use per person
    RES-0107 published 9 customer interviews
    SUP-2291 open +11 similar tickets
    SUP-2304 open contractor can’t join before Monday
  2. Conflict DEC-0031 says 72h. RES-0107 F3 and 12 tickets say 72h kills Friday invites. Implementing per the decision; flagging the conflict.

  3. edit src/invites/expiry.ts (+18 −4)
  4. truss.propose_decision({supersedes: "DEC-0031",title: "Invite links expire in 7 days",carries: ["RES-0107#F3", "SUP-2291"]})
    DEC-0036 proposed → truss/decisions/DEC-0036-invite-links-7d.md
  5. truss.update({id: "PRD-0142",patch: "acceptance[2]: expires after 7 days (pending DEC-0036)"})
    PRD-0142 patched acceptance[2] · +1 −1
  6. truss.check()
    ✓ 8 docs valid · 21 links resolve
  7. git commit -m "invites: 7d expiry (CHG-0142)"
    3 files: 1 code, 2 docs

    Ready for review in PR #3183 files · 1 code, 2 docs

    • codesrc/invites/expiry.ts+18 −4
    • doctruss/decisions/DEC-0036-invite-links-7d.mdnew
    • doctruss/prds/PRD-0142-team-invites.md+1 −1
Fig. 5Agent transcript StatusIllustrative RevDEC-0031DEC-0036 supersedes DEC-0031

Seven toolsnumbered by the step that calls them

Read

Write

Verify

Pick a tool to jump to its call in the transcript.

Humans review the docs in the same PR as the code.

Trace a line
Sheet 6 of 9. Provenance

Every line has a reason. Ask for it.

truss trace follows a line of code to its feature, to the change that wrote it, and on through typed links to the PRD, decision, research and tickets behind it. Agents call it as a tool before they “fix” anything.

src/invites/expiry.tstypescript · lines 14–30
export async function closeInvite(link: InviteLink) {
}
export async function join(linkId: Id, userId: Id) {
}
export function isLive(link: InviteLink) {
return Date.now() - link.createdAt < INVITE_TTL_MS;
}
export function expiresAt(link: InviteLink) {
return new Date(link.createdAt + INVITE_TTL_MS);
}

Three lines carry a trace. Pick one.

agent · the same trace, as a tooltruss
▸ truss.trace({ file: "src/invites/expiry.ts", line: 14 })
↳ FEAT-0012paths
↳ CHG-0142commit
↳ PRD-0142 AC2implements
↳ DEC-0036rests on
↳ RES-0107 F3cites
↳ SUP-2291 +11cites
agentSeven days is deliberate. DEC-0036 replaced 72 hours after RES-0107 F3 and 12 tickets. Leaving it alone.▸ truss.trace({ file: "src/invites/expiry.ts", line: 17 })
↳ FEAT-0012paths
↳ CHG-0142commit
↳ PRD-0142 AC3implements
↳ DEC-0036rests on
↳ RES-0107 F3cites
↳ SUP-2304cites
agentRevocation is required: PRD-0142 AC3, added by DEC-0036. Keeping it immediate.▸ truss.trace({ file: "src/invites/expiry.ts", line: 21 })
↳ FEAT-0012paths
↳ CHG-0142commit
↳ PRD-0142 AC4implements
↳ DEC-0038rests on
↳ RES-0112cites
↳ SUP-2322cites
agentAudit events are append-only (DEC-0038) and AC4 wants every join logged. The call stays.

Key

  • Feature
  • Change
  • PRD
  • Decision
  • Research
  • Support

Compression (magenta): decisions and PRDs hold the shape.

Tension (cyan): research and support pull it toward what’s true.

truss trace src/invites/expiry.ts:14

6 hops5 linked docs

  1. Link: paths
    FEAT-0012live

    Team invites

    Owns src/invites/**. The capability this line belongs to, and what it does today.

    truss/features/FEAT-0012-team-invites.md

  2. Link: commit
    CHG-0142open

    Invite teammates by link

    The commit that wrote this line names it. Branch feat/invite-links, PR #318.

    truss/changes/CHG-0142-invite-links.md

  3. Link: implements
    PRD-0142AC2approved

    Team invites by link

    AC2: the link expires after 7 days (was 72h, see DEC-0036).

    truss/prds/PRD-0142-team-invites.md

  4. Link: rests on
    DEC-0036accepted

    Invite links expire in 7 days

    Supersedes DEC-0031 (72 hours). Accepted by @marcus in review.

    truss/decisions/DEC-0036-invite-links-7d.md

  5. Link: cites
    RES-0107F3published

    Invite friction: 9 customer interviews

    Admins invite in batches on Fridays, and 72h links die over the weekend. 7 of 9 re-sent invites at least once.

    truss/research/RES-0107-invite-friction.md

  6. Link: cites
    SUP-2291open

    Invite link says expired, I just sent it

    +11 similar tickets · first seen 2026-09-02

    truss/support/SUP-2291-link-expired.md

Six hops from a line of code to a customer’s words.
Fig. 6Trace · Rev C Scale1 line : 1 reason Load pathexpiry.ts:14

Sheet 7 of 9. Guardrails

Docs fail CI like code.

truss check runs in CI. It validates schemas, resolves links, and flags a change that alters behaviour without updating its doc.

One line in your pipeline

  1. lint
  2. test
  3. truss check
truss check

A failing check exits non-zero, like a failing test. Spec 0.1 has four required checks and seven policy checks; five are shown here. Each policy check warns or blocks, as you set it in truss.md.

Schedule of checks

  1. 7.1
    schema

    Frontmatter validates against the schema for its type.

    Passing
  2. 7.2
    links

    Every typed link resolves, and only to the types it may link to.

    Passing
  3. 7.3
    freshness

    A user-facing change that edits a feature’s code updates that feature’s doc.

    Failing
  4. 7.4
    coverage

    Every change carries a PRD or a bug.

    Passing
  5. 7.5
    evidence

    Every problem cites its evidence. Decisions too, if you turn it on.

    Passing

feat: invite links #318

in review

feat/invite-links into main opened by agent CHG-0142

Checks truss check

4 of 5 checks passed

  • Passed: Frontmatter valid 42 docs
  • Passed: Links resolve 118 links
  • Failed: Feature doc not updated src/invites/expiry.ts

    expiry.ts changed (72h → 7d), but the Team invites feature doc still says 72 hours. Update it in this PR.

    one commit, reviewed in this PR With the feature doc updated, this row passes and the pull request can merge.
  • Passed: Change carries a PRD CHG-0142 carries PRD-0142
  • Passed: Decisions cite evidence DEC-0036 cites RES-0107 SUP-2291

1 check failing

Merging is blocked.

Illustrative. Your CI runs truss check; your code host shows the result.

Fig.7 · PR #318 ScaleNTS RevA

Drift

From your change

You change behaviour and a doc still says otherwise. Truss surfaces it in your session, so the fix lands in the same PR, and truss check catches what you missed.

From outside

Support tickets, meeting notes, analytics and chat are never in git. Agents and connectors turn tickets into support docs, one per topic. Open, one-shot, with your own API key; Cloud runs them continuously.

With no session

Evidence arrives while nobody is working. Cloud records it, marks the decision it contradicts as contested, and lets the next session deal with it. Mostly silent. A bot PR only when nothing touches the area for weeks.

Sheet 8 of 9. Fit

Agents first. Humans welcome.

Follow a doc

Pick a doc to see it in each detail.

DetailA · Joint Scale1:2

Engineers.

See why a PR exists before you read a line.

truss trace src/invites/expiry.ts:14

DetailB · Bundle ScaleNTS

Agents.

A typed bundle of docs per change, not your whole wiki in a prompt.

truss.context({ change: "CHG-0142" })

DetailC · Trace Scale1:1

Whoever owns product.

Write in markdown, save or propose (a PR underneath), and see which code acted on each decision.

truss check

General notes

Questions

Still curious?

Ask us below
Do we have to leave our wiki or tracker?

No, you can keep them. We highly recommend keeping all your product docs together, beside the code. It also saves you paying for several tools.

What does “typed” mean?

Every doc declares one of eleven types, such as prd, decision, research, support or change. Each type has a schema, and truss check enforces it. You choose which types your repo uses.

Which agents work with it?

Claude Code today, through skills and hooks that read the docs before an edit and check them after. More agents to follow.

Won’t the docs rot?

Not silently. A user-facing change must update its feature doc. truss check warns by default, and fails the PR once you turn that on. Agents do the updating; humans review the diff.

Is this another wiki?

No. It’s files in your repo with a schema. No boards, no reader seats.

Can humans read it?

Yes. It’s markdown. Open it in your editor, your code host or the PR.

Is it open source?

The spec is. Draft 0.1 is on GitHub: CC BY 4.0 for the text, Apache-2.0 for the schemas, the example and the conformance suite. truss init is on npm. The rest of the CLI, the plugin and the app are closed and in early access.

Can we use it without the tooling?

Yes. Add a truss.md at the repo root and write docs under truss/, by hand or with your agent. The spec says exactly what goes where. The tooling adds truss check, trace and context on top.

Can an agent approve its own work?

Only small decisions, and the doc records that an agent made them. Every other decision, and every PRD and plan, needs a person.

Where do customer interviews go?

In the repo, with a pseudonym and a role in place of a name. The recording stays in your research tool.

Sheet 9 of 9. Access

Give your agents the docs.

The spec is public today. The tooling is onboarding a few AI-native teams. Leave your email.

Request early access

One email when your spot opens. Nothing else.