Repository navigation
[3658 by Claude Opus 5.5] PR title status slot: write the review score as ❶–❿ (solid circled digits) instead of the thin circled digits - #3661
Conversation
…t shows a title, so the new digit only appears in GitHub's title text. No app screen changes. Summary New and updated PR titles now write the review score as solid circled digits ❶–❿ (U+2776–U+277F), for example `⚠️ ❻ [3475 by …]` and `✅❽ …`. Titles with either older style (①–⑩ or ➀–➉) are still recognised, and get the new digit on their next update. All the tests I ran pass, apart from the one API test file noted below that can't exit cleanly. Code (`packages/shared/src/prTitleStatusSlot.ts`) - `CIRCLED_ONE` is now `0x2776`. - `PR_TITLE_STATUS_SLOT_PATTERN` now accepts all three ranges: `[\u2460-\u2469\u2776-\u277F\u2780-\u2789]`. Non-ASCII characters stay escaped for the desktop renderer, and the comments say why each older range is still read. - Every other reader already goes through this shared pattern or `stripStatusSlot`: the UI's task and PR list title cleaning, the dashboard work titles, and core's PR status titles. So none of them needed their own change. Only their comments showing example slots were updated. Docs (`docs/docs/features/pr-status.md`): the examples use the new digits, and the page says titles with either older style are rewritten and never show two scores. Tests - The shared tests check that scores 1–10 map to U+2776–U+277F, one score character each. - For every score in all three ranges, beside⚠️ , ⚠ and ✅, titles are read, stripped and rewritten with the new digit. - A score beside 🔨, a score with no emoji, and two stacked score characters are not treated as a slot. Epic titles such as `✅ 7/7` and `◕ 6/7` come out unchanged. - The issue's `◕ 5/7` example is wrong: 5 of 7 is under three quarters, which the existing rules show as `◑`. The test uses `◑ 5/7` and `◕ 6/7` instead. - The three UI test files that strip the slot now include titles with the older digits. - Tests that expected the old digit in written titles now expect the new one. Results - Shared: 109 passed. - UI (vitest, 3 files): 52 passed. - Core: `pullRequestStatusTitle` 26 passed. - Root: `prTaskTitleHelpers` 34, `autoMergeOperations` 5 and `checkRunHandler` 146 passed. - API: all 18 tests in `mcpMergePreconditions` passed, but the run doesn't exit by itself and was stopped by the timeout after the last test. The old digits now appear only in the shared reader pattern, its tests, the UI tests for older titles, and the docs sentence that explains them. `CHANGELOG.md` still shows `✅⑧` in an old entry; I left that history as it was.
|
/ultrafix goal=8 max=6 |
|
🔄 Ultrafix loop started (goal: 8/10, max cycles: 6) First action:
|
|
✅ AI Code Review Complete requested by @propr-ultrafix Posted 1 review: |
🔍 AI Code Review — codex:gpt-6-astraOverall EvaluationThe PR correctly switches written review scores to ❶–❿ while retaining compatibility with both older ranges. The implementation is focused and merge-ready within scope, conditional on the two pending checks completing successfully. ✅ Backward-compatible parsing — The shared pattern accepts all three digit ranges, preserving title stripping, replacement, webhook classification, and merge-title cleanup. ✅ Focused regression coverage — Tests cover scores 1–10, legacy-title migration, warning variation selectors, and unchanged epic progress rendering. This review used static analysis of the supplied diff and context; no commands or tests were run. Merge blockersNo merge blockers. SuggestionsThese are optional follow-ups and are not sent to S1: 🟢 Correct the legacy digit exampleIn ScoreThe change is narrowly scoped, preserves compatibility, and includes thorough coverage of the changed behavior. No verified code blockers or current-head check failures remain; two checks are pending. Score: 9/10 🤖 Review Details
Copy and edit to choose records from this review: 🤖 Review by ProPR |
AI Implementation Summary
Closes #3658
Branch:
3658/claude-opus-5-5-pr-title-status-slot-writ-20261117-0911-pbcCommits: ✅ Changes committed (809e577)
AI Processing Completed
Execution Details:
Summary:
Previews are skipped: ProPR's own UI removes the status slot before it shows a title, so the new digit only appears in GitHub's title text. No app screen changes.
Summary
New and updated PR titles now write the review score as solid circled digits ❶–❿ (U+2776–U+277F), for example
⚠️❻ [3475 by …]and✅❽ …. Titles with either older style (①–⑩ or ➀–➉) are still recognised, and get the new digit on their next update. All the tests I ran pass, apart from the one API test file noted below that can't exit cleanly.Code (
packages/shared/src/prTitleStatusSlot.ts)CIRCLED_ONEis now0x2776.PR_TITLE_STATUS_SLOT_PATTERNnow accepts all three ranges:[\u2460-\u2469\u2776-\u277F\u2780-\u2789]. Non-ASCII characters stay escaped for the desktop renderer, and the comments say why each older range is still read.stripStatusSlot: the UI's task and PR list title cleaning, the dashboard work titles, and core's PR status titles. So none of them needed their own change. Only their comments showing example slots were updated.Docs (
docs/docs/features/pr-status.md): the examples use the new digits, and the page says titles with either older style are rewritten and never show two scores.Tests
✅ 7/7and◕ 6/7come out unchanged.◕ 5/7example is wrong: 5 of 7 is under three quarters, which the existing rules show as◑. The test uses◑ 5/7and◕ 6/7instead.Results
pullRequestStatusTitle26 passed.prTaskTitleHelpers34,autoMergeOperations5 andcheckRunHandler146 passed.mcpMergePreconditionspassed, but the run doesn't exit by itself and was stopped by the timeout after the last test.The old digits now appear only in the shared reader pattern, its tests, the UI tests for older titles, and the docs sentence that explains them.
CHANGELOG.mdstill shows✅⑧in an old entry; I left that history as it was.Review digest
Risk-tiered paths
packages/shared/src/prTitleStatusSlot.ts(+12/−10)propr-ui/src/components/Dashboard/workTitle.ts(+1/−1)propr-ui/src/components/TaskList/utils.tsx(+1/−1)propr-ui/src/components/headerUtils.ts(+1/−1)docs/docs/features/pr-status.md(+4/−4)packages/api/test/mcpMergePreconditions.test.ts(+1/−1)packages/core/test/pullRequestStatusTitle.test.ts(+22/−22)packages/shared/test/prTitleStatusSlot.test.ts(+46/−22)propr-ui/src/components/Dashboard/workTitle.test.ts(+1/−1)propr-ui/src/components/TaskList/rowModel.test.ts(+1/−1)propr-ui/src/components/TaskList/utils.statusSlot.test.ts(+1/−1)test/autoMergeOperations.test.ts(+1/−1)test/checkRunHandler.test.ts(+1/−1)test/prTaskTitleHelpers.test.ts(+2/−2)Validation evidence
Diff size: 14 files changed, +95/−69 lines
Detailed Logs:
341270b5-9fd3-43c7-8131-18ca26e8c265Log files stored at:
/usr/src/app/logs/executions/issue-3658-2026-11-17T09-32-35-822Z-conversation.json/usr/src/app/logs/executions/issue-3658-2026-11-17T09-32-35-822Z-output.txtLatest Conversation Messages
This PR was created automatically by ProPR after processing issue #3658.
💡 Need changes?
Comment on this PR to request refinements — the AI agent monitors comments and will update the implementation based on your feedback. Keep iterating until you're satisfied!