Skip to content

docs(legal): say which Linear tickets agents reach and how they move - #88

Merged
kalaspuff merged 2 commits into
mainfrom
fctl/485-it-should-be-possible-to-add-multiple-li
Oct 29, 2026
Merged

kalaspuff merged 2 commits into
mainfrom
fctl/485-it-should-be-possible-to-add-multiple-li

Conversation

@fctl-sh

@fctl-sh fctl-sh Bot commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

Summary

The privacy policy's Linear entry now says what fctl does there as it works today: it moves a ticket on through its team's workflow as its session works (to In Progress, In Review and Done, as the project lets it), which it has done since hyperstructure/fctl#322, rather than only to its first started state. It also says agents reach "the tickets their project takes from Linear" instead of "the tickets of their project's team", which stays true once a project can take tickets from several teams (hyperstructure/fctl#331), so this can merge before, with or after that pull request. What fctl stores and who receives it don't change; updated moves to today.

fctl session

@fctl-sh

This comment has been minimized.

Comment thread legal/privacy.md Resolved
@fctl-sh fctl-sh Bot changed the title docs(legal): say projects take tickets from several Linear teams docs(legal): say which Linear tickets agents reach and how fctl moves them Oct 29, 2026
@fctl-sh fctl-sh Bot changed the title docs(legal): say which Linear tickets agents reach and how fctl moves them docs(legal): say which Linear tickets agents reach and how they move Oct 29, 2026
kalaspuff pushed a commit to hyperstructure/fctl that referenced this pull request Oct 29, 2026
## Summary

A project whose tracker is Linear now takes tickets from one team or
several of its Linear workspace (at most 20), each of all its issues or
of one of its Linear projects. Delegating an issue of any of them to
fctl, or mentioning fctl on one, starts a session of the project.
Agents' `fctl ticket` calls list and view the tickets of all of them,
file new ones in the first team unless they name another (`fctl ticket
create --in DES`; a sub-ticket goes to its parent's team), and take each
ticket's states and labels from its own team, saying which team when one
lacks what they asked for.

- **Tickets tab:** the team and "Issues of" selects became a list of
teams, each with its own "Issues of". A team added since the last save
is marked New, one taken off stays struck through with Undo until you
save, and with several teams a line under the list chooses where agents
file new tickets (that team goes first). The ticket-state switches name
the states each team's workflow has ("In Review or Code review").
Viewers see the teams as saved, and the workspace's Linear tab shows
every team a project takes.
- **CLI:** `fctl projects set --linear-team ENG,DES`, and
`--linear-project` takes `DES:Website` (or a name that only one of the
teams has, or `DES:all`), repeatable.
- **Compatibility:** the first team stays in today's `LinearTickets`
fields and the others go in a new optional `more_teams`, so older hosts,
CLIs and control planes read a project of several teams as one of its
first team. An update that leaves `more_teams` out keeps the stored
teams, so an older CLI or a tab opened before the deploy can't drop
them; `[]` clears them. Saving asks Linear only about teams that
changed. ADR 0065
(`docs/adr/0065-projects-take-tickets-from-several-linear-teams.md`)
records the design.

I verified it with new unit tests (domain, CLI, web) and `cargo xtask
check`. I also ran it end to end in `cargo xtask dev` with the Linear
stand-in: delegating DES-1 started a Playground session and moved the
issue to In Progress; agent calls listed both teams' tickets, filed
tickets in each team (by `--in`, by parent, by default), refused a
ticket outside a team's Linear project, and named the team for a missing
label or state; settings updates sent as an older client and as a newer
one behaved as described. `cargo xtask linear check` confirms that
Linear's schema takes the new queries (`or` filters, `teams(filter: {
id: { in } })`).

This touches the same functions as #328 (`tickets.rs`, the Tickets tab,
`check_linear`), so whichever of the two merges second needs `main`
merged in. A matching sentence in fctl.sh's privacy policy changes in:

- hyperstructure/fctl-site#88

## Screenshots

At 0beb37e, from `cargo xtask dev` with the Linear stand-in's Acme
workspace, 1280 px wide unless noted.

One team, as most projects have, before and after:

| Before | After |
|---|---|
| ![Before: the Team and Issues of selects,
dark](https://app.fctl.sh/api/v1/published/g1GDt4u54hNRg3eoIKGnetckl27DZwIj744phJWIoJb/before-one-dark.png)
| ![After: a list with one team and Add a team,
dark](https://app.fctl.sh/api/v1/published/2a6xyftnsxz3i6NPFRxe1CriswKFYdG3mjxWlwRtUnZ/after-one-dark.png)
|
| ![Before: the Team and Issues of selects,
light](https://app.fctl.sh/api/v1/published/SFRSTYjGCVGOTk58VC7MvCYULcGZU9Fbrh1RGqUWSt5/before-one-light.png)
| ![After: a list with one team and Add a team,
light](https://app.fctl.sh/api/v1/published/uzDrnrrofEtqIZWtm8j10UHZs9HGlalCwciLGcbmPZF/after-one-light.png)
|

Two teams, Design narrowed to its Brand refresh project, with where
agents file new tickets:

![After: Engineering and Design in the list,
light](https://app.fctl.sh/api/v1/published/iwauXpHktEKfHLFwsEVKuOlzslqyecKFOeroBM4F42I/after-two-light.png)

Editing before a save: Platform added (New), Design taken off (Undo),
and the states Platform's workflow adds ("Code review"):

![After: an edit in progress,
dark](https://app.fctl.sh/api/v1/published/eaf7cPtuqX1thAWgSArLTGnimp1Aol7DcJRQS8yliUn/after-edit-dark.png)

The Add a team list, and a phone at 390 px:

| Adding a team | Phone |
|---|---|
| ![After: the Add a team list open,
dark](https://app.fctl.sh/api/v1/published/ne3Tv4EYS8fgjnlDrocPjumeLn1OdSdZBvAwStviNWQ/after-add-dark.png)
| ![After: two teams at 390 px,
dark](https://app.fctl.sh/api/v1/published/Mx4wpQJjIIKmg3gKOasQJAuDPMA7XNiKmKXxeFLI1rg/after-two-dark-390.png)
|

## Worth confirming

- **Decision:** the switches that move tickets (In Progress, In Review,
Done) and the explore label stay one per project, for all its teams;
each move goes to the ticket's own team's states. A team whose Linear
GitHub integration moves tickets differently would need a project of its
own.
- **Decision:** agents file new tickets in the first team unless they
pass `--in`; the Tickets tab's "Agents file new tickets in" makes the
chosen team the first.
- **Decision:** a project's teams all come from its one Linear
workspace, each team once (one Linear project per team at most), and at
most 20 teams.
- **Decision:** an older client that changes a project's team keeps its
other teams (less the one it makes first) rather than replacing them
all.

[fctl session](https://app.fctl.sh/s/ses_01M63YR66H5WGRSBA13X57VW9B)

---------

Co-authored-by: fctl-sh[bot] <fctl-sh[bot]@users.noreply.github.com>
@kalaspuff
kalaspuff merged commit ab024d9 into main Oct 29, 2026
4 of 6 checks passed
@kalaspuff
kalaspuff deleted the fctl/485-it-should-be-possible-to-add-multiple-li branch October 29, 2026 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant