# See what else is changing before your change collides with it.

Many agents and people change one repository at once. A forge that shows each pull request alone lets them collide. Sailfork reads all of them together.

[Read the docs](https://sailfork.com/docs/inflight) [Create an account](https://sailfork.com/sign-up)

\#431 Rework session token refresh

risk 54

- sensitive_paths

  +25

  touches auth (2 files)

- symbol_churn

  +9

  0 removed, 2 re-signed, 3 changed definitions

- collisions

  +20

  collides by name with 2 other in-flight changes

A score to order attention, not a verdict. Each point has a reason you can read.

## Two changes that merge cleanly can still break each other.

Sailfork flags it when another change removes or re-signs a name yours uses on a line you added or edited, or the reverse. It reads definitions, so nothing is built.

[How collisions are found](https://sailfork.com/docs/inflight)

Collisions for #431

sailfork inflight collisions

- Calls refresh_session(token) on a line it added

  broken_by

  session.rs:88 with caisson c-9f2k removes the old signature

- Re-signs charge(amount) that #437 calls on a line it edited

  breaks

  cart.rs:41 with #437 Apply store credit

Nothing was built. These are likely breaks, not proven ones.

\#431 against everything else in flight

sailfork inflight conflicts

- \#437 Apply store credit

  src/cart.rs, src/totals.rs

  conflicts

- caisson c-9f2k

  src/session.rs

  conflicts

- \#440 Add shipping rates

  merges clean

Integration build: #431 with #437

Ran on a merge commit of the two, with no secrets. Counted as a break because both are green alone and so is main.

## Conflicts are computed whenever a branch moves.

Each change is merged against every other open pull request and live caisson in the background, with the files that conflict. Push workflows marked # sailfork: integration can then build a merge commit of a pair, with no secrets.

[Conflicts and integration builds](https://sailfork.com/docs/inflight)

## An agent says what it will change before it starts.

Ask which open pull requests and live caissons already edit a symbol or its callers. Then declare the symbols you mean to change, and the other holders are told. A conflict is a reason to talk, not a lock.

[Caisson intents](https://sailfork.com/docs/inflight)

Caisson c-4m1x intends

caisson intend

- refresh_session

  Leased by caisson c-9f2k, which already changes it. The other holder was notified.

- SessionStore::revoke

  Changed by #431 already.

- token_ttl

  Nobody else has it.

Nothing is refused. A conflict is a reason to talk, not a lock.

## Before an agent starts, from the terminal

Find who else is on the code, declare the symbols, then read the risk and the collisions.

\~/acme/shop

```
~/acme/shop $ sailfork inflight touching refresh_session
caisson c-9f2k changes refresh_session
#437 Apply store credit calls refresh_session
~/acme/shop $ sailfork caisson intend c-4m1x refresh_session SessionStore::revoke token_ttl
refresh_session: leased by caisson c-9f2k
SessionStore::revoke: changed by #431
token_ttl: nobody else
~/acme/shop $ sailfork inflight risk --pull 431
risk 54
+25 sensitive_paths: touches auth (2 files)
+9 symbol_churn: 0 removed, 2 re-signed, 3 changed definitions
+20 collisions: collides by name with 2 other in-flight changes
~/acme/shop $ sailfork inflight collisions --pull 431
broken_by caisson c-9f2k: re-signs refresh_session, used at session.rs:88
breaks #437: re-signs charge, used at cart.rs:41
~/acme/shop $ 
```

## Limits

- Sensitive paths add 25 points per name touched, up to 50. A repository replaces the defaults with up to 64 names in .sailfork/risk-paths, read from the pull request's base.
- Symbol churn adds 3 per removed or re-signed definition and 1 per other changed definition, up to 30.
- Collisions add 10 per other in-flight change, up to 30. A change that is only verified renames takes off 40.
- The score never goes below 0 and has no upper bound. It is read from your view, so paths you cannot read do not count, and complete: false means a factor could not be read in time.
- Touching looks at the newest 100 pull requests and the 100 most recently active caissons.
- A caisson declares up to 50 symbols to change.
- Integration builds run one pair at a time per repository, at most one run every 30 minutes.

## Questions

###

Open pull requests and live caissons. Uncommitted edits in a caisson count, so work shows up before anyone pushes it.

###

No. It is a heuristic to order attention, not a verdict. The merge queue shows it for waiting entries without changing their order, and the signed attestation of the merge records it.

###

Not necessarily. A collision means another change removes or re-signs a name yours uses, or the reverse. Nothing is built, so it is a likely break, not a proven one. An integration build, which you opt into by marking a push workflow with # sailfork: integration, runs a merge commit of two changes to find out.

###

No. Intents are a soft lease while the caisson is live. Nothing is refused. The other holder is notified once per symbol, and edits report the leases they cross.

###

The In flight tab of a repository shows a board and symbol search, and a pull request page shows its in-flight panel and risk. The same data is in the CLI, the MCP server and the REST API, and public repositories are readable signed out.
