Repository navigation
Open
Labels
Description
Describe the feature
Stream a task's progress into its Linear agent session. Today (#991) a session shows the acknowledgement, "Started coding task", the PR link, a "still working" keep-alive at most every 10 minutes, and the final result. Everything in between is silent, so a 10–20 minute run looks idle. ADR-018 lists progress streaming as the planned next step.
Proposed solution
Map the events the platform and agent already write onto session activities, for session tasks only and with the flag on:
| Event | Activity |
|---|---|
admission_queued |
ephemeral thought: "Queued: …" (and "Still queued (N min so far)") |
session_started |
ephemeral thought: starting an isolated sandbox |
hydration_complete |
action: gathered the issue context |
agent_turn with text |
thought: the agent's own message (clipped) |
agent_tool_call |
ephemeral action, the "currently doing" line: "Reading src/app.ts", "Running npm test", "Searching …" |
agent_milestone nudge_acknowledged |
thought: picked up your message |
agent_milestone attachments_downloaded |
action: read the issue attachments |
- Readable tool lines: the workspace prefix and a leading
cd /workspace/…;are stripped, and the tool input preview (a Python repr) is read field by field. - Volume: tool calls superseded later in the same fan-out batch are skipped; persistent activities per task are capped.
- Queue heartbeat: the admission reconciler re-emits
admission_queuedwithwaited_severy 15 minutes for a task still queued, so a queued session doesn't go stale (ADR-018's known gap). - Approval prompts stay out of scope (their Linear surface is fix(linear): approval notices and approve/deny replies on Linear issues #1014's).
Use case
The delegator can see what the agent is doing without opening logs, and a queued or long-running session keeps showing life. Measured on a test deployment with a version of this: about 34 Linear API calls for a 13-minute run, far below the 5,000/h limit.
Acknowledgements
- I may be able to implement this feature
- This might be a breaking change
Activity
isadeks commentedon Nov 20, 2026
Starting implementation.
feat(linear): stream task progress into the agent session (#1066)
feat(linear): approval requests in the agent session, and redact what…