You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
refactor: group native chat image transcript preparation - #35301
Colocate image transcript markers and message preparation under the shared native-chat transcript directory. Move the existing marker contract tests with their owner and update all 25 callers to concrete implementation paths.
Preserve marker regular expressions, quoted file references, paste/ANSI normalization, command surfacing order, queued-image behavior and caller bodies. Rename the shard timing key while retaining 51.
Validation: the complete local changed gate (27 checks), five typecheck projects, seven focused mobile suites (107 tests), two independent source audits and hosted CI passed. The original refactor-audit prospective merge gate passes against refreshed main.
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review.
Walkthrough
Import paths for native-chat transcript utilities now point to the transcript subdirectory across mobile, main-process, renderer, and shared code. Imports within the transcript modules and their test were adjusted to resolve from the new location. The CI timing key for one test now includes the transcript directory; its recorded duration is unchanged.
Priority: Low
Merge Risk: Minimal · up to 241c9
The refactor is mergeable with no identified behavioral or operational risk.
Pre-merge checks: 4 · 1
Failed checks: 1 warning
Check name
Status
Explanation
Resolution
Description check
The PR description states what changed (colocating image transcript markers and message preparation under the shared native-chat transcript directory, moving the marker contract tests, updating 25 cal…
Add the missing template sections: an ELI5 summary in plain language; a What Changed section covering the before and after mechanism; a Why section explaining the problem and why this layout beats alternatives; a Linked Issue entry (Fixes #…
Passed checks: 4 passed
Check name
Status
Explanation
Title check
The title clearly summarizes the main change: grouping native chat image transcript preparation under the shared native-chat transcript directory.
Docstring Coverage
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
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
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 28 files. (1 skipped: 1 unsupported.)
Full details: Description check
Explanation
The PR description states what changed (colocating image transcript markers and message preparation under the shared native-chat transcript directory, moving the marker contract tests, updating 25 callers, renaming the shard timing key while keeping 51) and gives a validation summary. It does not follow the repository template: the ELI5, Why, Linked Issue, Visual Proof, Testing checkboxes, AI Disclosure, Review, Agent skill upstream boundary, Notes, and Checklist sections are absent. The Linked Issue section is required for outside contributors and is missing. The description also lacks a user-facing before/after and a rationale for the approach over alternatives. Because the core content is present but several required sections are missing, the description is not mostly complete.
Resolution
Add the missing template sections: an ELI5 summary in plain language; a What Changed section covering the before and after mechanism; a Why section explaining the problem and why this layout beats alternatives; a Linked Issue entry (Fixes #<issue>), which is required if the author is an outside contributor; a Visual Proof entry, or N/A with a reason, since the change moves modules and does not alter UI; Testing steps with the platforms actually tested and the manual-testing and automated-test checkboxes marked; an AI Disclosure section if the author is not a StablyAI team member; the Agent skill upstream boundary checkbox; a Notes section confirming security, cross-platform, Remote SSH, Mobile, backward compatibility, and performance review; and the Checklist items.
Finishing Touches
📝 Generate docstrings
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Colocate image transcript markers and message preparation under the shared native-chat transcript directory. Move the existing marker contract tests with their owner and update all 25 callers to concrete implementation paths.
Preserve marker regular expressions, quoted file references, paste/ANSI normalization, command surfacing order, queued-image behavior and caller bodies. Rename the shard timing key while retaining 51.
Validation: the complete local changed gate (27 checks), five typecheck projects, seven focused mobile suites (107 tests), two independent source audits and hosted CI passed. The original refactor-audit prospective merge gate passes against refreshed main.