Skip to content

Taskbase — Needs attention: Analysis of Past Items

An analysis of the items the Needs attention page showed in its first week, made for request

849 (task #850). It records what each item showed, how the person resolved it — on the page or

somewhere else — and which problems recur, and proposes presentation and response-flow changes for every item type. Decision task #852 chooses which of them task #853 builds; task #851 builds the always-visible pull request link.

How the page works today: Attention: Notices and the "Needs attention" Page.


Method and limits

  • Window. The page shipped on 2026-10-05. The sample covers 2026-10-05 to 2026-10-12, the page's whole life. Run history starts on 2026-09-27, so the analysis cannot look further back. Items from before the page existed are left out: a person could only resolve them on the board or in Gitea.
  • Sources (read-only). GET /api/attention (open items and those resolved in the last 24 h), the run history of every organization (GET /api/organizations/{id}/runs, 1,392 runs, with digests), tasks, task links and comments, and the state of every pull request involved, from Gitea.
  • Reconstruction. Resolved events are listed for 24 h only and deleted after 30 days, and the analysis had no database access. Older items were therefore rebuilt from the run that raised them, using the rules in FinishRun and recordFinishEvents: a failed or cancelled run not requeued automatically, a blocked verdict, changes_requested in the last round, or an implementation run without a PR in a reviewed project. Questions were rebuilt from the digest's open_questions when the task waited afterwards. Decision items come from tasks with a decision, and blocking items from person tasks that agent tasks depends_on. Lost runs that were requeued within a minute were left out, as were review runs whose changes_requested verdict requeued the task automatically.
  • Telling in-flow from manual. The page's Send and requeue posts a comment and requeues within seconds. Decide posts a comment starting with **Decision:**. Both leave traces that were counted as in flow. Requeue, Requeue on and Close task leave the same trace as the same action on the board, so they are counted as in app. A pull request merged by a person in Gitea, an answer written into the task on the board, or a decision closed without an answer is counted as outside.
  • Not covered. No runner.offline, runner.adapter_held or runner.update_failed event, and no review_out_of_date or review_persona reason, occurred in the visible window, so they cannot be sampled. The proposals for them follow from the task findings only.

The items

53 items: 38 raised by runs, 8 decisions and 7 person tasks blocking agent work. "PR link" means the link the item's detail page showed: from the event payload, else the task's latest implementation run (the fallback in store_pg.go).

Resolution classes: A in flow — Send and requeue, or Decide. B in app — Requeue, Requeue on, reassign or Close, on the page or the board. C manual work outside, then an in-app action. D outside the page entirely. E cleared by itself. F still open.

# Item Task What the page showed How it was resolved Class
1 no_pull_request #393 Phone usability check on a real iPhone "Finished without a pull request"; the agent says it cannot do it person did the check on a phone, closed the task C
2 no_pull_request #397 Model picker fix asks "Accept #399's proposal … or …?"; #399 named, not shown closed with no comment; decided on #399 D
3 no_pull_request #400 Default model per persona stopped: "waits until #399 has been accepted" requeued 1 h 44 min later on another model B
4 no_pull_request #373 macOS CI job (agent-runner) stopped: "depends on #341" (a person's install task) requeued 4.5 h later, once #341 was done B
5 no_pull_request #449 Decide: effectiveness indicator the agent refused to pick; no options shown "please present the options for me" → Send and requeue, then "I choose option A" → Send and requeue A
6 no_pull_request #490 ADR-0006 amendment no PR link — the PR is platform#166; asks "Whether Taskbase links platform PR #166 to task #490" dunk merged platform#166 in Gitea; task closed the same minute D
7 no_pull_request #518 Add commands (botyard-control) stopped: cannot build until #514 lands requeued 3 min later B
8 no_pull_request #539 Shared HTTP transport (botyard-runner) "out of scope for the junior-developer role" requeued 10 min later on a larger model B
9 no_pull_request #588 Cross-border rail (europehub) stopped: waits on #587 requeued 2 min later B
10 no_pull_request #773 Renormalize CRLF files (europehub) asks "Will the owner approve the line-ending-only normalization?" approval written into the task, no comment; requeued D
11 no_pull_request #773 (second run) asks the same question again same D
12 unclaimable #773 "No runner can take it"; still shows the approval question from item 11 cleared 7 h later when a runner took the review; no person action visible E
13 no_pull_request #786 Diagram crossings asks "Which option for #786: 1 (…), 2 (…), 3 (…)" — the options exist only in that text choice written into the task on the board; requeued 7 h later, no comment D
14 no_pull_request #809 Danish pilot prices (europehub) blocked on human evidence from #811 requeued 29 min later B
15 no_pull_request #810 Investigate agent sessions no PR link — the PR is platform#225; asks "Does Taskbase or Gitea close taskbase #298 when platform PR #225 merges?" dunk merged platform#225 in Gitea D
16 review_rounds_exhausted #385 Dialog semantics (round 3) PR link (fallback); a technical question dunk merged PR #151 in Gitea D
17 review_blocked #554 Vitest tests (botyard-control) PR link (fallback); "code correct, couldn't merge: unrelated CI failure" requeued 7 min later B
18 review_blocked #513 Package catalogue sync PR link; "Someone must re-run Actions run 59 in the Gitea UI" — run not linked CI re-run in Gitea, then requeued C
19 review_blocked #552 Bot detail log link PR link; "When will the pending Gitea CI jobs run?" requeued 6.5 h later B
20 review_blocked #751 C++ bot template PR link; "Merge once #763 (a person tags a release) and #765 … are done" person tagged the release (#763), then requeued C
21 review_blocked #751 (next round) PR link; "After #769 adds BOTKIT_CPP_TOKEN, re-run PR #11 CI" person added the secret (#769), then requeued C
22 review_blocked #838 Fleet summary links PR link (fallback); "Re-run CI run 302 on head 2161764; once green approve and merge PR #132" open: needs a CI re-run in Gitea F
23 run_failed (review) #532 Write-only bot secrets PR link; "agent exited with exit status 143 after 4s" requeued 4.8 h later B
24 run_failed (review) #596 Aggregators (europehub) PR link; "fork/exec C:\…\claude.exe: Filnavnet eller filtypenavnet er for langt" "just change the file name" → Send and requeue A
25 run_failed #663 Nordic browser check PR link; the summary starts "Task #663 is delivered for review" although the run failed "Fix it" → Send and requeue A
26 run_failed #847 Busabout evidence PR link; "agent exited with exit status 1 after 15m9s" requeued 11 min later B
27 run_cancelled #407 Isolate Postgres tests cancelled by a person while "PR is open. Waiting on CI" closed 8 min later B
28–34 usage_limit_exhausted ×7 #623 #624 #625 #645 #646 #655 #670 (europehub) seven items raised in the same minute, each "Usage-limit retries exhausted"; the cause is "session window of codex at 94% … paused" — one runner subscription six closed together a day later, #655 requeued B ×7
35 task.question #381 Deploy mobile UI after an approved, merged review: "Prod rollout … not yet verified" cleared when the task closed E
36 task.question #391 Compressed UI assets after a merged review: "Has anyone run the dev check …?" cleared when the task closed E
37 task.question #421 Automatic prod promotion "MATTERMOST_WEBHOOK_URL secret must be added by a person" secret added in Gitea; "The key is added" sent from Taskbase C
38 task.question #659 FR/IT/ES browser check (round 3) "After the conflict is resolved, verify merged aggregate counts …" "Solve the conflict" → Send and requeue A
39–42 decision_needed #683 #726 #734 #617 question and options Decide (**Decision:** comment) A ×4
43 decision_needed #559 One signing key? question and 2 options answer set in the board dialog — no decision comment D
44 decision_needed #812 Interactive agent sessions question and 6 options closed without an answer the minute dunk merged the ADR PR platform#225 D
45–46 decision_needed #843 #845 question and options open F ×2
47–50 blocking_agent_work #416–#419 Windows runner setup "Blocking agent work: #361 waits on it" — four items, one chain manual installation, then closed C ×4
51 blocking_agent_work #341 macOS Gitea Actions runner "Blocking agent work: #373 waits on it" manual installation, then closed C
52 blocking_agent_work #442 Mac mini to 2 slots "Blocking agent work: #443 waits on it" set on the Runners page, then closed C
53 blocking_agent_work #825 Tag agent-runner v0.5.16 "Blocking agent work: #823 waits on it" open F

Resolution counts

Class Items Share of 53
A — in flow (Send and requeue, Decide) 8 15 %
B — in app (Requeue, Requeue on, reassign, Close; page or board) 18 34 %
C — manual work outside, then an in-app action 11 21 %
D — outside the page entirely 9 17 %
E — cleared by itself 3 6 %
F — still open 4 8 %

Of the 46 items a person resolved, 26 (57 %) were resolved in Taskbase. 20 (43 %) needed the person to act somewhere else. Of those, 11 were real-world work that no page can do (installing, tagging, re-running CI, adding a secret). The other 9 went outside because the page offered no fitting action or showed too little:

  • 3 pull requests merged by hand in Gitea: two had no PR link on the page, one had used up its review rounds.
  • 4 answers written into the task on the board instead of answering on the page: the question hid a choice in free text, or the item was a decision (#559).
  • 2 decided elsewhere and closed without recording the answer (#397, #812).

Problems found

# Problem Items Count
P1 The headline does not say why the agent stopped: every no_pull_request item was something else — waiting on another task (#400, #373, #518, #588, #809, #773 ×2), needs a decision (#449, #786), PR in another repository (#490, #810), out of scope for the persona (#539), cannot be done by an agent (#393), nothing to change (#397) 1–11, 13–15 14 of 14
P2 References without context: the question or detail names #123, PR #n, a CI run or a commit with no link or title, so the person must look them up elsewhere 2–4, 6, 7, 9, 13–15, 18, 20–22 13
P3 Real errors or follow-up notes shown as the only context: raw exit codes or OS messages (#532, #596, #847), a summary that contradicts the outcome (#663), a subscription throttle shown as a task problem (7 usage-limit items) 23–26, 28–34 11
P4 Action needed in Gitea that the page neither offers nor links: merge the PR, re-run CI, add a secret 6, 15, 16, 18, 21, 22, 37 7
P5 One cause, many items: one subscription hold raised 7 items in a minute; one setup chain raised 4 28–34, 47–50 11 items, 2 causes
P6 A choice hidden in free text, so the page's one-tap answers do not apply and the person answered on the board or needed an extra round 5, 10, 11, 13 4
P7 Waiting on another task handled by stopping the run, so a person had to watch the dependency and requeue by hand — the claim already holds tasks with an open depends_on link 3, 4, 7, 9, 14 5
P8 A decision answered or closed without its answer recorded on the task 2, 43, 44 3
P9 Not a question: notes left after a merged review shown as "The agent has a question", and a question from an earlier run shown under an unrelated reason (#773's approval question under "No runner can take it") 12, 35, 36 3
P10 Pull request link missing on an item about a pull request 6, 15 2
  • Every review item in the window had a link, but only through the fallback. None of the 9 review items (review_blocked, review_rounds_exhausted, failed review runs) had pr_url in its payload. Review runs report a URL only when their summary happens to contain one, so the payload is empty and the link comes from the task's latest implementation run. That fallback worked every time: all 600+ review runs since 2026-09-27 had an implementation run with a PR.
  • The two items without a link had their PR in another repository (#490 → Skatzi/platform #166, #810 → Skatzi/platform #225; both Taskbase tasks writing an ADR in platform). The cause is in agent-runner, not in the attention API. lastPRURL (internal/adapter/adapter.go) keeps only PR URLs in the task's own repository (claim.Repo), so the run reports pr_url empty. The task then parks as no_pull_request ("Finished without a pull request") with no link, and the fallback finds nothing because no run of the task has a pr_url. The PR URL was in the run summary both times, and the person merged the PR by hand in Gitea. This analysis task meets the same fate: its own PR is in Skatzi/platform.
  • Where the link appears. It is shown only on the detail page, at the bottom under "Last run". The list row has none, and the Mattermost notice never carries a PR link.
  • PR numbers in the text are never links ("merge PR #132", "re-run CI run 302"), even when the item's own link points somewhere else or is missing.

What the texts lack

Measured against what a person needs to act from the item alone:

Missing Where it hurt Items
What the task is: only the title is shown, never the goal or description short or project-specific titles (#397 "Model picker fix", europehub research tasks) most
Why it stopped, in words that match the case P1, P3 25
What is being asked as a choice the page can answer P6 4
What the referenced things are (#n, PRs, CI runs) P2 13
What the agent already did (a PR opened, a decision task created, follow-ups filed) #810 and #490 opened PRs; #449 put options on the task; the summary shows its first 3 lines only 4

Proposals

Each proposal names the findings it answers. The recommended set comes first.

  1. A context header on every task item (P2, P9, "what the task is"): the task title with its project, the first sentence of its goal, and What the agent did — the last run's first lines, with every PR it opened. The question follows, and the action that resolves it comes first. #n, PR #n and CI run references become links with the task title on hover; on a phone they expand inline. A run's question is shown only under the event of that run.
  2. The PR link at the top, in the list row and in the Mattermost notice (P10, P4). Task #851 owns this. The cross-repository cause needs agent-runner to report PRs in any repository of the organization, and Taskbase to treat any of them as "has a PR"; a follow-up task in agent-runner covers that. When no URL exists, the item says so.
  3. Name the real stop reason (P1, P7). Split no_pull_request by what the run reports, so "Finished without a pull request" is only shown when no other reason applies:
  4. Waiting on #n: the agent names the blocking task. The action is Requeue when #n is done, which adds a depends_on link and requeues, so the claim holds the task until the predecessor is done and no one has to watch it (5 items).
  5. Needs your decision: options as one-tap answers (see 4).
  6. PR in another repository: link it, and offer Merged — close task.
  7. Out of scope for this persona: offer Assign to with the persona picker first.
  8. Needs a person: offer I did it — requeue and Close.

This needs a structured stop report from the agent (a field in the finish report or digest: kind, task ids, options, PR URLs) rather than parsing summaries. That changes the runner–API contract, so ADR-0010 (and ADR-0006 for the report) should be amended. 4. One-tap answers for agent questions (P6): when the agent's question carries options, show them as buttons like a decision's, followed by Answer and requeue. The answer is posted as the same comment, so the next run reads it (4 items went to the board or took an extra round).

Per item type

Item type Change Findings
Review blocked / rounds exhausted Lead with the PR link and the reviewer's reason. Offer Open PR, Open CI run (when the text names one), Requeue review, and Merged it myself — close task. Make "re-run CI" a link, not text P4 (7 review items; 4 needed Gitea)
Run failed / cancelled / lost Translate known runner errors (exit 143 = killed or timed out, fork/exec = runner environment, exit 1 after N minutes) into one plain line naming the runner. When the runner is at fault, offer Requeue on another runner. When the summary contradicts the outcome (#663), show the outcome first P3
Usage-limit / runner-restart retries exhausted Do not raise one item per task for one subscription hold: raise one item per runner subscription, listing its tasks, with Requeue all (or requeue them automatically at reset, as usage-limit runs already do before the cap) P5 (7 items, 1 cause)
No pull request Replaced by the stop reasons in proposal 3 P1 (14 of 14 misnamed)
Agent question Raise it only while the task truly waits for a person. Notes left after an approved and merged review are not questions; show them as a note on the task, not an item. One-tap answers (proposal 4) P9, P6
Unclaimable Name the missing label or adapter, and whether a runner offering it is only offline; offer Edit required labels inline. Show only the question of the run that raised the item items 12, P9
Decision needed Keep the flow: 4 of 6 resolved decisions used it. When closing a decision from the page or the board, ask for the answer, so the answer is never lost (#559, #812) P8
Blocking agent work Group a chain (#416 → #419 → #361) into one item showing the chain. Offer Done next to the step, not only Close task P5 (4 items, 1 chain)
Runner offline / adapter held / update failed None occurred in the window. Apply the context header (runner, last seen, affected queued tasks) and link the runner's card, as today —

Alternatives considered

  • Presentation only (header, links, plain errors). This is cheap and has no contract change, but leaves the 5 dependency requeues, 4 board answers and 7 duplicate usage items as they are.
  • Flow only (one-tap answers, requeue-when-done, grouping). This fixes the manual detours but not the "what is this about" confusion, which dunk reported first.
  • Parsing run summaries for stop reasons instead of a structured report. Rejected: the summaries vary by model and language (#596's error was in Danish), and a misread reason would mislead more than "Finished without a pull request" does.

Follow-ups

  • Task #851 (PR link) has a comment with the cross-repository cause.
  • A follow-up task in the agent-runner project: report pull requests opened in any repository of the organization, not only the task's own.
  • Decision #852 carries these findings and the options built from the proposals; task #853 builds the chosen set.
  • If the structured stop report (proposal 3) is chosen, amend ADR-0010 and ADR-0006 before building it.