Trellis

An illustrative walkthrough

One question. More of the story.

A customer-profile change is the starting point. Follow the connected code, data and decision context, then see how a team manages its setup.

Ask

Start with a question.

What does this customer-profile change affect? Trellis connects it to the code, the decision, the data and the work item behind it.

Explore

Follow the connections.

Follow the route into the code it calls, see which procedure in the connected database writes the history table, and read the decision behind the behavior.

What depends on this?

Code relationships

API route

PATCH /customers/:id

calls ↓

Function

updateCustomer()

customer-service / profile.ts

calls ↓

Function

saveProfile()

Function

recordChange()

Source: customer-service / profile.ts

What writes the history table?

SQL → data

Procedure

record_change

writes to ↓

Table

customer_history

customer_id
Which customer
previous_value
The earlier value
changed_at
When it changed

Source: customer database · record_change

Why was it built this way?

Supporting decision

Decision record 014

Keep a change history.

Customers need to see what changed in their account and when.

Implication for this change

Review whether the new update flow still records the previous value.

Source: docs / decisions / 014-profile-history.md

Adopt

Bring the team onto a shared setup.

Coming soon: an admin saves the team’s settings once in the Trellis console. Each installation picks them up and reports the version it holds.

Configuration version12

  • Install A reports 12Up to date
  • Install B reports 12Up to date
  • Install C reports 11Behind
  • Install D last seen 9 days agoNot heard from

Explore Managed Configuration

Interactive walkthrough with synthetic examples.

On your own code

Try it on your own code.

Join the waitlist. When your account is ready, connect a repository and ask the same kind of question about your own work.

The platform

The platform behind the walkthrough.

  • Code Intelligence

    Explore symbols, callers and routes, then follow the connection to the documents and decisions that reference them.

  • Data Relationships

    Trace how views, procedures and triggers in a connected database read and write tables and columns, alongside the code in the same investigation.

  • Managed Configuration

    Coming soon: publish your team’s settings once and see which installations have picked them up.

Your question

Imagine it with your own question.

The walkthrough uses synthetic examples. Try Trellis on your own question, or tell us what your team wants to ask.