2.1
Decisions get re-litigated.
Nothing in the repo said you chose 72 hours, so the agent picked 24.
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/trussPaste into Claude Code. The spec is public, so this works today.
npx truss.md initOn npm today. Adds truss.md and a truss/ folder.
truss init is on npm.CHG-0142 · Invite teammates by link — carries 6 docs
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
links PRD-0142 · RES-0107 · SUP-2291 · supersedes DEC-0031
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
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
trackerENG-2291
Fix invites
No description.
CHG-0142this change
Invite teammates by link
truss/
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
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”
What agents miss
2.1
Nothing in the repo said you chose 72 hours, so the agent picked 24.
2.2
Nine interviews in a tool the agent never thought to query.
2.3
Eleven tickets say the link expired. The PR says “Fixes invites.”
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.
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
---
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
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.
connected to truss · 7 tools · acme/app
truss.context({ change: "CHG-0142" })Conflict DEC-0031 says 72h. RES-0107 F3 and 12 tickets say 72h kills Friday invites. Implementing per the decision; flagging the conflict.
edit src/invites/expiry.ts (+18 −4)truss.propose_decision({supersedes: "DEC-0031",title: "Invite links expire in 7 days",carries: ["RES-0107#F3", "SUP-2291"]})truss.update({id: "PRD-0142",patch: "acceptance[2]: expires after 7 days (pending DEC-0036)"})truss.check()git commit -m "invites: 7d expiry (CHG-0142)"Ready for review in PR #3183 files · 1 code, 2 docs
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 linetruss 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.
Three lines carry a trace. Pick one.
▸ 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
Compression (magenta): decisions and PRDs hold the shape.
Tension (cyan): research and support pull it toward what’s true.
6 hops5 linked docs
Owns src/invites/**. The capability this line belongs to, and what it does today.
truss/features/FEAT-0012-team-invites.md
The commit that wrote this line names it. Branch feat/invite-links, PR #318.
truss/changes/CHG-0142-invite-links.md
AC2: the link expires after 7 days (was 72h, see DEC-0036).
truss/prds/PRD-0142-team-invites.md
Supersedes DEC-0031 (72 hours). Accepted by @marcus in review.
truss/decisions/DEC-0036-invite-links-7d.md
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
+11 similar tickets · first seen 2026-09-02
truss/support/SUP-2291-link-expired.md
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
truss checkA 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
Frontmatter validates against the schema for its type.
Every typed link resolves, and only to the types it may link to.
A user-facing change that edits a feature’s code updates that feature’s doc.
Every change carries a PRD or a bug.
Every problem cites its evidence. Decisions too, if you turn it on.
Checks truss check
4 of 5 checks passed
expiry.ts changed (72h → 7d), but the Team invites feature doc still says 72 hours. Update it in this PR.
1 check failing
Merging is blocked.
Illustrative. Your CI runs truss check; your code host shows the result.
Drift
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.
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.
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.
Follow a doc
Pick a doc to see it in each detail.
See why a PR exists before you read a line.
truss trace src/invites/expiry.ts:14
A typed bundle of docs per change, not your whole wiki in a prompt.
truss.context({ change: "CHG-0142" })
Write in markdown, save or propose (a PR underneath), and see which code acted on each decision.
truss check
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.
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.
Claude Code today, through skills and hooks that read the docs before an edit and check them after. More agents to follow.
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.
No. It’s files in your repo with a schema. No boards, no reader seats.
Yes. It’s markdown. Open it in your editor, your code host or the PR.
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.
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.
Only small decisions, and the doc records that an agent made them. Every other decision, and every PRD and plan, needs a person.
In the repo, with a pseudonym and a role in place of a name. The recording stays in your research tool.
The spec is public today. The tooling is onboarding a few AI-native teams. Leave your email.