Skip to content

Label automation runs "Automation" in the task list and drop the "Agent:" title prefix - #3533

Merged
integry merged 2 commits into
mainfrom
fix/automation-task-chip
Nov 13, 2026
Merged

integry merged 2 commits into
mainfrom
fix/automation-task-chip

Conversation

@integry

@integry integry commented Nov 13, 2026

Copy link
Copy Markdown
Owner

Summary

In the task list, every automation run showed #agent-ru as its reference chip (the first eight characters of its task id, agent-run-<run id>-<phase>), and its title started with a redundant Agent: .

  • The chip now reads Automation (the tooltip still carries the full task id).
  • The task title is the automation's name, with no prefix.
  • Rows recorded before this change have the Agent: prefix stripped when displayed.

Changes

  • ReferenceChips.tsx: new TaskIdChip, used by both the desktop row and the mobile card.
  • workTitle.ts: Agent: is treated as a title prefix, like New Issue: and Follow-up:.
  • processAgentRunJob.ts: the run's title no longer includes the prefix.

Test plan

  • npm run typecheck, root lint and propr-ui lint at zero warnings
  • Task list and dashboard component tests (new cases for the chip and the legacy prefix)
  • test/processAgentRunJob.test.ts

🤖 Generated with Claude Code

proprdev and others added 2 commits November 13, 2026 10:52
… the "Agent:" title prefix

A run's task id is agent-run-<run id>-<phase>, so the id chip showed
"#agent-ru" on every automation row. The chip now reads "Automation".
The task title is the automation's name; titles recorded with the old
"Agent: " prefix are shown without it.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
@integry integry added the AI label Nov 13, 2026
@integry

integry commented Nov 13, 2026

Copy link
Copy Markdown
Owner Author

/review

@propr-dev

propr-dev Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

✅ AI Code Review Complete requested by @integry

Posted 1 review:

View Task Details

@propr-dev

propr-dev Bot commented Nov 13, 2026

Copy link
Copy Markdown
Contributor

🔍 AI Code Review — codex:gpt-6-astra

Overall Evaluation

The PR implements the requested display cleanup with small, focused changes. It is ready to merge within scope, conditional on the pending Validate Changes check completing successfully.

✅ Shared chip rendering — Desktop rows and mobile cards reach the same TaskIdChip, preserving PR/issue precedence and the full automation task ID in the tooltip.

✅ Consistent title creation — Report and action tasks both inherit the unprefixed automation name through agentRunIssueRef; legacy titles are cleaned at display time.

The supplied check status reports 18 passed, no failures, and one pending. Review was static; no commands were run.

Merge blockers

No merge blockers.

Suggestions

These are optional follow-ups and are not sent to /fix.

S1: 🟢 Cover the primary chip path

The new chip test exercises TaskReferenceChips, while desktop rows and mobile cards use TaskPrimaryChip. An optional regression test covering report/action IDs and PR/issue precedence through TaskPrimaryChip would protect the actual rendering path. The shared implementation is correct by inspection, so this is not required for merge.

Score

The implementation meets the stated objective, with focused tests and no verified regression. Current checks are favorable, with validation still pending.

Score: 9/10


🤖 Review Details

  • Model: GPT-6 Astra
  • Time: 27s
  • Tokens: 38,663 (38,202 in / 461 out)
  • Cost: $0.30

View Task


💡 Next step: Comment /fix to address every F# merge blocker, /fix all for every pending blocker and suggestion, or name records explicitly, as in /fix F3 S5.
F# and S# IDs increment across review comments and remain permanent, so selectors such as /fix F3 F5 stay unambiguous across cycles. S# suggestions stay optional: they are implemented only when you name them or request /fix all, and they never relax a merge blocker.

Copy and edit to choose records from this review:

/fix S1

🤖 Review by ProPR

@integry
integry merged commit c732e0e into main Nov 13, 2026
47 checks passed
@integry
integry deleted the fix/automation-task-chip branch November 13, 2026 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants