What the agent does
This is for a business software company, say one that sells payroll and time tracking to small employers, whose product and engineering work runs in Linear: eight or nine teams, thirty-odd projects in progress at any time, each with a lead and a target date that sales and support have already repeated to customers. Every Monday the head of product runs a review of the projects that are in trouble. Finding them means opening each project, comparing its target date with how much is left, and reading the last project update to see whether the lead has said anything. An agent does that reading before the meeting and hands over a short list.
Someone with access to every team connects Linear once with POST /me/connections {"type": "app", "name": "linear"} and opens the authorize_url while signed in to the Rush console. Linear's sign-in for Rush asks for the read and write scopes, so the prompt tells the agent to read only: it never creates, edits or comments on an issue, a project or a project update. Linear's MCP server, which the run reaches through that connection, has tools for issues, projects and comments.
On a run the agent lists the workspace's projects whose status is in the In Progress category and, for each, reads the target date, the lead, the teams, the progress and the most recent project update with its health (On track, At risk or Off track) and its date. It then lists the project's open issues to count how many are still to do, how many are in progress, and how many have been open for more than two cycles without moving. Linear's docs describe these updates as the lead's own report of status, challenges and next steps, so the agent quotes the update rather than summarizing the lead's words in its own.
A project goes on the list when any of these hold: its target date has passed and it is not completed; its target date is within the next 21 days and more than 40 percent of its issues are still open; its last update says At risk or Off track; or it has had no update for 14 days. For each one the agent writes the reason in one line, the numbers behind it, and the sentence from the last update that explains it, if there is one. Projects with no target date are listed separately, because a date nobody set cannot slip but also cannot be promised.
Start it with one API call
POST https://api.phoenix.so/o/{org}/sessions with this body:
{
"agent": "claude",
"input": "Monday project review for our Linear workspace. Today is 2026-11-23, time zone America/Chicago. Read only: never create, edit or comment on any issue, project or project update. 1) List every project whose status is in the In Progress category. 2) For each, read: name, teams, lead, target date, progress, and the latest project update (health, date, author, text). 3) List each project's open issues and count: not started, in progress, and in progress for more than 28 days. 4) Flag a project if: its target date is before today; or its target date is within 21 days and more than 40% of its issues are open; or its latest update health is At risk or Off track; or its latest update is more than 14 days old or missing. 5) Write projects.md with three sections: Flagged (target date passed first, then soonest target date), each with name, lead, target date, days to target, open and total issues, latest health and date, the reason in one line, and the one sentence from the latest update that best explains the status, quoted; No target date (name and lead); On track (one line each). Do not guess a new date for any project.",
"connections": [
"linear"
]
}- Get an API key. In the console, open Settings, then API keys, and create a key for your org. Send it in the Authorization header as a Bearer token.
- Send the request. POST the body in request.json to https://api.phoenix.so/o/{org}/sessions. The run starts in its own cloud sandbox.
- Read what came back. Follow the run on its live stream or wait for the run.completed webhook, then read the result and its trajectory.
What comes back
What comes back is projects.md among the session's files, and the same list is the session's result, which anyone in the Project can open from the run's record before the meeting. The flagged section is short by design: a project whose lead posted an honest At risk update last Thursday is listed with that sentence, and one that is behind with no update for three weeks is listed with "no update since 2026-10-30" instead.
What the head of product checks before the meeting: that each flagged project's open-issue count is real scope and not a pile of nice-to-haves that should move to a later project, and that a passed target date is not simply one nobody updated after the work shipped. The agent never proposes a new date. Moving a date, cutting scope or asking a lead for an update are decisions for the people in the room, and the list is there so those conversations start with the facts already gathered.
Run it on every Monday before the product review
In the console, a Project automation with a schedule trigger, cron 0 7 * * 1 and timezone America/Chicago, runs a saved agent whose connections name linear with this prompt. The saved prompt says "today" rather than a fixed date, so the same instructions work every week, and the run is finished well before a 10:00 meeting.
Before a quarterly planning session, the head of product can start the same saved agent from the console with "target dates in the next 90 days" in place of 21, to see every project that is likely to carry over.
The use case this job follows, with its automation and trigger: Produce a report or file, no repo.
Why run it on Rush?
The Linear sign-in stays in Rush's connection, held for the person who made it, so the agent reads every team's projects without anyone pasting an API key into a script on a laptop that may be closed on Monday morning. Each run has its own computer, and the run's record shows every project and issue list it read, so when a lead asks why their project was flagged, the answer is in that session.
A script could compare target dates, but it would not read a lead's update and pick the sentence that explains the delay, and it would need maintaining every time the team changes its workflow states. Each Monday's run is recorded with its cost, and a second agent for the support team, listing projects whose target dates customers have been told, can run beside it on the same connection.
Frequently asked questions
Why count open issues rather than use Linear's progress figure alone?
Progress tells you how much of the scope is done, but not whether the remaining work is moving. Counting issues that have been in progress for more than 28 days shows where work is stuck, which is usually the reason a date slips.
Can the agent post a reminder to the project lead in Linear?
The prompt forbids it, even though Rush's Linear sign-in can write. When a workspace admin sets update reminders, Linear sends them to the leads of projects in progress; this list is for the people reviewing all projects at once.
What if our teams use different workflow states?
The agent reads each project's status category, which Linear keeps the same across teams, and each issue's state type (unstarted, started, completed) rather than the state's name, so a team that calls its states something unusual is still counted correctly.
Does it see private teams?
It sees what the person who connected Linear can see. Connect with an account that is a member of every team whose projects you want reviewed, or accept that private teams are left out.