Repository navigation
[3940 by GPT-6.2 Sol] Agent summaries link to /home/node/workspace paths (404 on GitHub); rewrite to PR-head blob links - #3943
Conversation
Implemented #3940. Task summaries, follow-up comments, and review digests now link workspace files to the exact GitHub commit, including fork PR heads. Line numbers and ranges become GitHub anchors, filenames with spaces or encoded characters are handled, and outside-workspace links render as inline code. Agent prompts now ask for repository-relative file citations. Type checking and 471 tests passed, and a Chromium preview verified the rendered follow-up summary. ProPR-Agent: codex/gpt-6.2-sol
|
/review |
|
✅ AI Code Review Complete requested by @integry Posted 1 review: |
🔍 AI Code Review — codex:gpt-6-astraOverall EvaluationThis PR centralizes workspace citation rewriting and integrates it across publication paths. It needs a localized correctness fix before merge. ✅ Fork-aware citations — Review publication passes the reviewed head SHA and head repository to the rewriter, with a focused test covering fork URLs. ✅ Published commit tracking — Issue publication now propagates the push result’s commit hash, including successful salvage retries. ✅ Markdown-aware handling — The parser preserves code examples and images, and tests cover encoded filenames, workspace containment, and reference-style citations. The supplied current-head status reports 23 passed checks and no failed or pending checks. This review used static analysis only; no commands were run. Merge blockersEvery finding below was introduced by this PR and must be resolved before merging. F1: 🔴 Preserve fragments in workspace citations
SuggestionsThese are optional follow-ups and are not sent to S1: 🟢 Clarify relative citation behaviorThe new prompt guidance requests repository-relative inline code, but the rewriter deliberately leaves inline code unchanged. Clarifying that this format produces readable text rather than clickable commit links would make the intended behavior easier to understand. This is optional because the supplied scope does not explicitly require converting inline-code citations. ScoreThe implementation has useful shared handling and passing checks, but a standard fragment-bearing citation is rewritten into a broken GitHub destination. The correction is localized. Score: 6/10 🤖 Review Details
Copy and edit to choose records from this review: 🤖 Review by ProPR |
|
/fix F1 |
|
✅ Applied the requested follow-up changes in commit 3e14b05
Summary of ChangesFixed F1 in PR #3943. Workspace citations now preserve line fragments such as Regression coverage includes PR summaries, review digests, follow-up completion comments, and review comments. All eight targeted test suites and TypeScript type checking passed. Review digestRisk-tiered paths
Diff size: 5 files changed, +32/−10 lines 🤖 Implementation Details
Undo Changes • View Task Execution 💡 ProPR Slash Commands
🤖 Generated by ProPR |
Fixed F1 in PR #3943. Workspace citations now preserve line fragments such as `#L7-L9` in GitHub links, while `%23` remains part of the filename. Regression coverage includes PR summaries, review digests, follow-up completion comments, and review comments. All eight targeted test suites and TypeScript type checking passed. PR: #3943 Comment by: @integry (ID: 7296676765) Model: GPT-6.2 Sol ProPR-Agent: codex/gpt-6.2-sol
|
/review |
|
✅ AI Code Review Complete requested by @integry Posted 1 review: |
🔍 AI Code Review — codex:gpt-6-astraOverall EvaluationReady to merge within the reviewed scope. The PR centralizes workspace-link conversion and carries repository identity and commit information through publication paths. ✅ Commit-pinned citations — Review publication uses the reviewed head and fork repository; implementation publication adopts the SHA returned by the push, including successful salvage retries. ✅ Markdown-aware rewriting — The parser preserves code examples and images while converting workspace citations and degrading unavailable local targets to inline code. ✅ Focused coverage — Added tests cover encoded filenames, line anchors, custom worktree roots, fork reviews, and summary/template/digest publication. This assessment is based on static review of the supplied code. No commands were run. Current-head checks report 23 passed, 18 skipped, and no failures. Merge blockersNo merge blockers. SuggestionsThese are optional follow-ups and are not sent to S2: 🟢 Test post-push SHA propagationAdd a focused regression test where ScoreThe implementation addresses the objective with a shared helper, appropriate publication context, and focused tests. No merge-blocking regression was established, and current checks are passing. Score: 9/10 🤖 Review Details
Copy and edit to choose records from this review: 🤖 Review by ProPR |
AI Implementation Summary
Closes #3940
Branch:
3940/gpt-6.2-sol-agent-summaries-link-to-h-20261130-2329-3qdCommits: ✅ Changes committed (abef467)
AI Processing Completed
Execution Details:
Summary:
Implemented #3940. Task summaries, follow-up comments, and review digests now link workspace files to the exact GitHub commit, including fork PR heads. Line numbers and ranges become GitHub anchors, filenames with spaces or encoded characters are handled, and outside-workspace links render as inline code.
Agent prompts now ask for repository-relative file citations. Type checking and 471 tests passed, and a Chromium preview verified the rendered follow-up summary.
Review digest
Risk-tiered paths
packages/core/src/agents/runtime/agentRunSpec.ts(+2/−1)packages/core/src/claude/prompts/promptGenerator.ts(+2/−1)packages/core/src/goals.ts(+2/−0)packages/core/src/utils/github/logFiles.ts(+6/−3)packages/core/src/workflow/reviewDigestMarkdown.ts(+8/−6)packages/shared/src/agentSummary.ts(added, +145/−0)packages/shared/src/index.ts(+1/−0)src/jobs/followupHandoffMessages.ts(+6/−2)src/jobs/goalPullRequestCompletion.ts(+9/−3)src/jobs/issueJobHelpers.ts(+4/−3)src/jobs/issueJobPostProcessing.ts(+2/−1)src/jobs/issueJobPush.ts(+4/−4)src/jobs/mergeConflictAgentRunner.ts(+1/−0)src/jobs/mergeConflictHelpers.ts(+4/−2)src/jobs/prCommentJobUtils.ts(+2/−1)src/jobs/prCommentPostExecution.ts(+5/−0)src/jobs/prCommentReviewJob.ts(+2/−1)src/jobs/prCompletionComment.ts(+5/−2)src/jobs/prGitTarget.ts(+10/−4)src/jobs/prPublication.ts(+1/−0)src/jobs/prReviewRunner.ts(+7/−3)src/jobs/processGoalJob.ts(+1/−1)src/jobs/reviewPromptBuilder.ts(+2/−1)test/agentSummaryWorkspaceLinks.test.ts(added, +68/−0)test/prCompletionCommentVisualPreview.test.ts(+3/−0)test/prReviewRunnerBudget.test.ts(+18/−1)test/reviewDigestPublication.test.ts(+16/−0)Diff size: 27 files changed, +336/−40 lines
View task for the run's logs and conversation.
This PR was created automatically by ProPR after processing issue #3940.
💡 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!
Visual preview
Follow-up summary file citations
The rendered follow-up comment links repository files to the published commit and displays the outside-workspace test log as inline code.
Original unavailable: managed storage is unavailable or the upload has expired.