Skip to content

refactor(shared): colocate native chat turn row attribution - #35425

Merged
nwparker merged 1 commit into
mainfrom
module-organization/pr141-turn-placement
Oct 29, 2026
Merged

nwparker merged 1 commit into
mainfrom
module-organization/pr141-turn-placement

Conversation

@nwparker

@nwparker nwparker commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor
Files Added Deleted Net
Test 0 0 0 0
Prod 2 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​4 $\color{#cf222e}{\Huge{\mathbf{−}}}$​4 0

Colocate turn-row attribution with the shared native-chat transcript modules and update its sole turn-membership caller to the concrete owner path.

Preserve the generic attribution function, original map identity, derived tool-row handling and ambiguous journal-position behavior.

Validation: commit hooks passed. Independent source audits, the focused shared suites, five typecheck projects, all planned static checks and required hosted CI are pending.

@greptile-apps

greptile-apps Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[Low impact] The PR appears safe to merge.

Summary

Moves nativeChatTurnRowAttribution into the shared native-chat transcript folder and updates its sole caller.

  • Turn-row attribution now lives with native-chat transcript code.

Reviews (2) · Last reviewed commit: "refactor(shared): colocate native chat t..." · Reviewed by Greptile

@coderabbitai

coderabbitai Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Important

Review skipped

Review was skipped as selected files did not have any reviewable changes.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 8c8d5628-2031-44ea-9216-71b9460759ca
Commits

Reviewing files that changed from the base of the PR and between a316be7 and 55104f7.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

No actionable comments were generated in the recent review.

Recent review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 19cdf83b-7124-45a1-9930-670a7477e06b
Commits

Reviewing files that changed from the base of the PR and between 8761934 and a316be7.

Files selected for processing: 2
  • src/shared/native-chat-turn-membership.ts
  • src/shared/native-chat/transcript/native-chat-turn-row-attribution.ts

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 4 remain after this review.

Walkthrough

Updated imports for native chat turn attribution. The changes point to the transcript directory and parent directories. No runtime logic changed.

Priority: Low

Merge Risk: Minimal · previous review a316b

This import-only change is ready to merge with no identified current-head risk.

Pre-merge checks: Passed 4 · Failed 1

Failed Failed checks: 1 warning

Check name Status Explanation Resolution
Description check Warning The description gives a concise change summary and states validation status, but it omits most required template sections, including ELI5, Why, Linked Issue, Visual Proof, Testing details, Review, Not… Complete the required description sections. Add the ELI5 explanation, detailed What Changed and Why sections, a linked issue, Visual Proof with N/A and a reason if applicable, testing steps and platform coverage, AI Disclosure if applicable…
Passed Passed checks: 4 passed
Check name Status Explanation
Title check Passed The title clearly identifies the main change: colocating native chat turn-row attribution in the shared module area. It is concise and specific.
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 2 files.

Full details: Description check

Explanation

The description gives a concise change summary and states validation status, but it omits most required template sections, including ELI5, Why, Linked Issue, Visual Proof, Testing details, Review, Notes, and Checklist confirmations.

Resolution

Complete the required description sections. Add the ELI5 explanation, detailed What Changed and Why sections, a linked issue, Visual Proof with N/A and a reason if applicable, testing steps and platform coverage, AI Disclosure if applicable, Review, Agent skill upstream boundary, Notes, and completed Checklist items.

Finishing Touches: 💡 1
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🛠️ Fix failing CI checks: 💡
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@nwparker
nwparker force-pushed the module-organization/pr141-turn-placement branch from a316be7 to 55104f7 Compare October 28, 2026 23:49
@nwparker
nwparker merged commit be78042 into main Oct 29, 2026
49 of 50 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant